PageSourceSearch

https://www.farmacianeusmartinez.cat/assets/templates/common/js/vendor.min.js?v=2026092902

js farmacianeusmartinez.cat collected 2026-10-04 22:14:59 UTC 656,997 bytes, 63 lines download raw bytes

1window.Modernizr=function(n,h,c){function d(t,e){return typeof t===e}function p(t,e){for(var i in t){i=t[i];if(!~(""+i).indexOf("-")&&o[i]!==c)return"pfx"!=e||i}return!1}function t(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),s=(t+" "+g.join(n+" ")+n).split(" ");if(d(e,"string")||void 0===e)return p(s,e);var a,o=(t+" "+v.join(n+" ")+n).split(" "),r=e,l=i;for(a in o){var u=r[o[a]];if(u!==c)return!1===l?o[a]:d(u,"function")?u.bind(l||r):u}return!1}function s(t,e,i,n){var s,a,o,r=h.createElement("div"),l=h.body,u=l||h.createElement("body");if(parseInt(i,10))for(;i--;)(a=h.createElement("div")).id=n?n[i]:m+(i+1),r.appendChild(a);return s=["&#173;",'<style id="s',m,'">',t,"</style>"].join(""),r.id=m,(l?r:u).innerHTML+=s,u.appendChild(r),l||(u.style.background="",u.style.overflow="hidden",o=f.style.overflow,f.style.overflow="hidden",f.appendChild(u)),s=e(r,t),l?r.parentNode.removeChild(r):(u.parentNode.removeChild(u),f.style.overflow=o),!!s}var e,i,a={},f=h.documentElement,m="modernizr",o=h.createElement(m).style,r=" -webkit- -moz- -o- -ms- ".split(" "),l="Webkit Moz O ms",g=l.split(" "),v=l.toLowerCase().split(" "),u={},y=[],_=y.slice,b={}.hasOwnProperty,w=void 0!==b&&void 0!==b.call?function(t,e){return b.call(t,e)}:function(t,e){return e in t&&void 0===t.constructor.prototype[e]};for(i in Function.prototype.bind||(Function.prototype.bind=function(i){var n=this;if("function"!=typeof n)throw new TypeError;var s=_.call(arguments,1),a=function(){var t,e;return this instanceof a?((t=function(){}).prototype=n.prototype,t=new t,e=n.apply(t,s.concat(_.call(arguments))),Object(e)===e?e:t):n.apply(i,s.concat(_.call(arguments)))};return a}),u.touch=function(){var e;return"ontouchstart"in n||n.DocumentTouch&&h instanceof DocumentTouch?e=!0:s(["@media (",r.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){e=9===t.offsetTop}),e},u.csstransitions=function(){return t("transition")},u)w(u,i)&&(e=i.toLowerCase(),a[e]=u[i](),y.push((a[e]?"":"no-")+e));a.addTest=function(t,e){if("object"==typeof t)for(var i in t)w(t,i)&&a.addTest(i,t[i]);else{if(t=t.toLowerCase(),a[t]!==c)return a;e="function"==typeof e?e():e,f.className+=" "+(e?"":"no-")+t,a[t]=e}return a},o.cssText="";var x=h;function T(){var t=L.elements;return"string"==typeof t?t.split(" "):t}function k(t){var e=M[t[P]];return e||(e={},O++,t[P]=O,M[O]=e),e}function C(t,e,i){return e=e||x,D?e.createElement(t):!(e=(i=i||k(e)).cache[t]?i.cache[t].cloneNode():R.test(t)?(i.cache[t]=i.createElem(t)).cloneNode():i.createElem(t)).canHaveChildren||E.test(t)||e.tagUrn?e:i.frag.appendChild(e)}function I(t){var e,i,n,s,a=k(t=t||x);return!L.shivCSS||S||a.hasCSS||(a.hasCSS=(n=(s=t).createElement("p"),s=s.getElementsByTagName("head")[0]||s.documentElement,n.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>",!!s.insertBefore(n.lastChild,s.firstChild))),D||(e=t,(i=a).cache||(i.cache={},i.createElem=e.createElement,i.createFrag=e.createDocumentFragment,i.frag=i.createFrag()),e.createElement=function(t){return L.shivMethods?C(t,e,i):i.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+T().join().replace(/[\w\-]+/g,function(t){return i.createElem(t),i.frag.createElement(t),'c("'+t+'")'})+");return n}")(L,i.frag)),t}var S,D,A,l=this.html5||{},E=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,R=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,P="_html5shiv",O=0,M={};try{var N=x.createElement("a");N.innerHTML="<xyz></xyz>",S="hidden"in N,D=1==N.childNodes.length||(x.createElement("a"),void 0===(A=x.createDocumentFragment()).cloneNode)||void 0===A.createDocumentFragment||void 0===A.createElement}catch(t){D=S=!0}var L={elements:l.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==l.shivCSS,supportsUnknownElements:D,shivMethods:!1!==l.shivMethods,t
1ype:"default",shivDocument:I,createElement:C,createDocumentFragment:function(t,e){if(t=t||x,D)return t.createDocumentFragment();for(var i=(e=e||k(t)).frag.cloneNode(),n=0,s=T(),a=s.length;n<a;n++)i.createElement(s[n]);return i}};return this.html5=L,I(x),a._version="2.8.3",a._prefixes=r,a._domPrefixes=v,a._cssomPrefixes=g,a.mq=function(t){var e,i=n.matchMedia||n.msMatchMedia;return i?i(t)&&i(t).matches||!1:(s("@media "+t+" { #"+m+" { position: absolute; } }",function(t){e="absolute"==(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),e)},a.testProp=function(t){return p([t])},a.testAllProps=t,a.testStyles=s,f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+y.join(" ")),a}(this,this.document),function(t,p){function c(t){return"[object Function]"==s.call(t)}function f(t){return"string"==typeof t}function d(){}function m(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function g(){var t=_.shift();b=1,t?t.t?v(function(){("c"==t.t?I.injectCss:I.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),g()):b=0}function e(t,e,i,n,s){return b=0,e=e||"j",f(t)?(o="c"==e?k:T,r=t,e=e,l=this.i++,i=i,n=n,s=s||I.errorTimeout,u=p.createElement(o),c=h=0,d={t:e,s:r,e:i,a:n,x:s},1===C[r]&&(c=1,C[r]=[]),"object"==o?u.data=r:(u.src=r,u.type=o),u.width=u.height="0",u.onerror=u.onload=u.onreadystatechange=function(){a.call(this,c)},_.splice(l,0,d),"img"!=o&&(c||2===C[r]?(x.insertBefore(u,w?null:y),v(a,s)):C[r].push(u))):(_.splice(this.i++,0,t),1==_.length&&g()),this;function a(t){if(!h&&m(u.readyState)&&(d.r=h=1,b||g(),u.onload=u.onreadystatechange=null,t))for(var e in"img"!=o&&v(function(){x.removeChild(u)},50),C[r])C[r].hasOwnProperty(e)&&C[r][e].onload()}var o,r,l,u,h,c,d}function r(){var t=I;return t.loader={load:e,i:0},t}var i,n=p.documentElement,v=t.setTimeout,y=p.getElementsByTagName("script")[0],s={}.toString,_=[],b=0,a="MozAppearance"in n.style,w=a&&!!p.createRange().compareNode,x=w?n:y.parentNode,n=t.opera&&"[object Opera]"==s.call(t.opera),n=!!p.attachEvent&&!n,T=a?"object":n?"script":"img",k=n?"script":T,o=Array.isArray||function(t){return"[object Array]"==s.call(t)},l=[],C={},u={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}},I=function(t){function h(t,e,i,n,s){var a=function(t){for(var e,i,t=t.split("!"),n=l.length,s=t.pop(),a=t.length,s={url:s,origUrl:s,prefixes:t},o=0;o<a;o++)i=t[o].split("="),(e=u[i.shift()])&&(s=e(s,i));for(o=0;o<n;o++)s=l[o](s);return s}(t),o=a.autoCallback;a.url.split(".").pop().split("?").shift(),a.bypass||(e=e&&(c(e)?e:e[t]||e[n]||e[t.split("/").pop().split("?")[0]]),a.instead?a.instead(t,e,i,n,s):(C[a.url]?a.noexec=!0:C[a.url]=1,i.load(a.url,a.forceCSS||!a.forceJS&&"css"==a.url.split(".").pop().split("?").shift()?"c":void 0,a.noexec,a.attrs,a.timeout),(c(e)||c(o))&&i.load(function(){r(),e&&e(a.origUrl,s,n),o&&o(a.origUrl,s,n),C[a.url]=2})))}function e(t,e){function i(i,t){if(i){if(f(i))h(i,r=t?r:function(){var t=[].slice.call(arguments);l.apply(this,t),u()},e,0,a);else if(Object(i)===i)for(s in n=function(){var t,e=0;for(t in i)i.hasOwnProperty(t)&&e++;return e}(),i)i.hasOwnProperty(s)&&(t||--n||(c(r)?r=function(){var t=[].slice.call(arguments);l.apply(this,t),u()}:r[s]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),u()}}(l[s])),h(i[s],r,e,s,a))}else t||u()}var n,s,a=!!t.test,o=t.load||t.both,r=t.callback||d,l=r,u=t.complete||d;i(a?t.yep:t.nope,!!o),o&&i(o)}var i,n,s=this.yepnope.loader;if(f(t))h(t,0,s,0);else if(o(t))for(i=0;i<t.length;i++)f(n=t[i])?h(n,0,s,0):o(n)?I(n):Object(n)===n&&e(n,s);else Object(t)===t&&e(t,s)};I.addPrefix=function(t,e){u[t]=e},I.addFilter=function(t){l.push(t)},I.errorTimeout=1e4,null==p.readyState&&p.addEventListener&&(p.readyState="loading",p.addEventListener("DOMContentLoaded",i=function(){p.removeEventListener("DOMContentLoaded",i,0),p.readyState="complete"},0)),t.yepnope=r(),t.yepnope.executeStack=g,t.yepnope.injectJs=function(t,e,i,n,s,a){var o,r,l=p.createElement("script"),n=n||I.errorTimeout;for(r in l.src=t,i)l.setAttribute(r,i[r]);e=a?g:e||d,l.onreadystatechange=l.onload=function(){!o&&m(l.readyState)&&(o=1,e(),l.onload=l.onreadystatechange=null)},v(function(){o||e(o=1)},n),s?l.onload():y.parentNode.insertBefore(l,y)}
vendor: 13,642 bytes, lines 1-26
1,t.yepnope.injectCss=function(t,e,i,n,s,a){var o,e=a?g:e||d;for(o in(n=p.createElement("link")).href=t,n.rel="stylesheet",n.type="text/css",i)n.setAttribute(o,i[o]);s||(y.parentNode.insertBefore(n,y),v(e,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},
2/*!
3 * jQuery JavaScript Library v2.2.3
4 * http://jquery.com/
5 *
6 * Includes Sizzle.js
7 * http://sizzlejs.com/
8 *
9 * Copyright jQuery Foundation and other contributors
10 * Released under the MIT license
11 * http://jquery.org/license
12 *
13 * Date: 2016-04-05T19:26Z
14 */
15function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(w,L){function R(t,e){return e.toUpperCase()}var t=[],x=w.document,h=t.slice,z=t.concat,H=t.push,s=t.indexOf,F={},j=F.toString,f=F.hasOwnProperty,m={},jQuery=function(t,e){return new jQuery.fn.init(t,e)},W=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,q=/^-ms-/,B=/-([\da-z])/gi;function U(t){var e=!!t&&"length"in t&&t.length,i=jQuery.type(t);return"function"!==i&&!jQuery.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}function n(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&jQuery(t).is(i))break;n.push(t)}return n}function Y(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}jQuery.fn=jQuery.prototype={jquery:"2.2.3",constructor:jQuery,selector:"",length:0,toArray:function(){return h.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:h.call(this)},pushStack:function(t){t=jQuery.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t){return jQuery.each(this,t)},map:function(i){return this.pushStack(jQuery.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:H,sort:t.sort,splice:t.splice},jQuery.extend=jQuery.fn.extend=function(){var t,e,i,n,s,a=arguments[0]||{},o=1,r=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[o]||{},o++),"object"==typeof a||jQuery.isFunction(a)||(a={}),o===r&&(a=this,o--);o<r;o++)if(null!=(t=arguments[o]))for(e in t)s=a[e],a!==(i=t[e])&&(l&&i&&(jQuery.isPlainObject(i)||(n=jQuery.isArray(i)))?(s=n?(n=!1,s&&jQuery.isArray(s)?s:[]):s&&jQuery.isPlainObject(s)?s:{},a[e]=jQuery.extend(l,s,i)):void 0!==i&&(a[e]=i));return a},jQuery.extend({expando:"jQuery"+("2.2.3"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===jQuery.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!jQuery.isArray(t)&&0<=e-parseFloat(e)+1},isPlainObject:function(t){if("object"!==jQuery.type(t)||t.nodeType||jQuery.isWindow(t))return!1;if(t.constructor&&!f.call(t,"constructor")&&!f.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(var e in t);return void 0===e||f.call(t,e)},isEmptyObject:function(t){for(var e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?F[j.call(t)]||"object":typeof t},globalEval:function(t){var e,i=eval;(t=jQuery.trim(t))&&(1===t.indexOf("use strict")?((e=x.createElement("script")).text=t,x.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(q,"ms-").replace(B,R)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,n=0;if(U(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(W,"")},makeArray:function(t,e){e=e||[];return null!=t&&(U(Object(t))?jQuery.merge(e,"string"==typeof t?[t]:t):H.call(e,t)),e},inArray:function(t,e,i){return null==e?-1:s.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,a=t.length,o=!i;s<a;s++)!e(t[s],s)!=o&&n.push(t[s]);return n},map:function(t,e,i){var n,s,a=0,o=[];if(U(t))for(n=t.length;a<n;a++)null!=(s=e(t[a],a,i))&&o.push(s);else for(a in t)null!=(s=e(t[a],a,i))&&o.push(s);return z.apply([],o)},guid:1,proxy:function(t,e){var i,n;if("string"==typeof e&&(n=t[e],e=t,t=n),jQuery.isFunction(t))return i=h.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(h.call(arguments)))}).guid=t.guid=t.guid||jQuery.guid++,n},now:Date.now,support:m}),"function"==typeof Symbol&&(jQuery.fn[Symbol.iterator]=t[Symbol.iterator]),jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){F["[object "+e+"]"]=e.toLowerCase()});var t=
16/*!
17 * Sizzle CSS Selector Engine v2.2.1
18 * http://sizzlejs.com/
19 *
20 * Copyright jQuery Foundation and other contributors
21 * Released under the MIT license
22 * http://jquery.org/license
23 *
24 * Date: 2015-10-17
25 */
26function(R){function c(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function z(){T()}function b(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1}var t,f,w,a,H,m,F,j,x,l,u,T,k,e,C,g,n,s,v,I="sizzle"+ +new Date,y=R.document,S=0,W=0,q=ht(),B=ht(),D=ht(),U=function(t,e){return t===e&&(u=!0),0},Y={}.hasOwnProperty,i=[],V=i.pop,X=i.push,A=i.push,G=i.slice,K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",o="[\\x20\\t\\r\\n\\f]",r="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Q="\\["+o+"*("+r+")(?:"+o+"*([*^$|!~]?=)"+o+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+r+"))|)"+o+"*\\]",Z=":("+r+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Q+")*)|.*)\\)|)",J=new RegExp(o+"+","g"),E=new RegExp("^"+o+"+|((?:^|[^\\\\])(?:\\\\.)*)"+o+"+$","g"),tt=new RegExp("^"+o+"*,"+o+"*"),et=new RegExp("^"+o+"*([>+~]|"+o+")"+o+"*"),it=new RegExp("="+o+"*([^\\]'\"]*?)"+o+"*\\]","g"),nt=new RegExp(Z),st=new RegExp("^"+r+"$"),d={ID:new RegExp("^#("+r+")"),CLASS:new RegExp("^\\.("+r+")"),TAG:new RegExp("^("+r+"|[*])"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+o+"*(even|odd|(([+-]|)(\\d*)n|)"+o+"*(?:([+-]|)"+o+"*(\\d+)|))"+o+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+o+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+o+"*((?:-\\d)?\\d*)"+o+"*\\)|)(?=[^-]|$)","i")},at=/^(?:input|select|textarea|button)$/i,ot=/^h\d$/i,h=/^[^{]+\{\s*\[native \w/,rt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,lt=/[+~]/,ut=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+o+"?|("+o+")|.)","ig");try{A.apply(i=G.call(y.childNodes),y.childNodes),i[y.childNodes.length].nodeType}catch(t){A={apply:i.length?function(t,e){X.apply(t,G.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function P(t,e,i,n){var s,a,o,r,l,u,h,c,d=e&&e.ownerDocument,p=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return i;if(!n&&((e?e.ownerDocument||e:y)!==k&&T(e),e=e||k,C)){if(11!==p&&(u=rt.exec(t)))if(s=u[1]){if(9===p){if(!(o=e.getElementById(s)))return i;if(o.id===s)return i.push(o),i}else if(d&&(o=d.getElementById(s))&&v(e,o)&&o.id===s)return i.push(o),i}else{if(u[2])return A.apply(i,e.getElementsByTagName(t)),i;if((s=u[3])&&f.getElementsByClassName&&e.getElementsByClassName)return A.apply(i,e.getElementsByClassName(s)),i}if(f.qsa&&!D[t+" "]&&(!g||!g.test(t))){if(1!==p)d=e,c=t;else if("object"!==e.nodeName.toLowerCase()){for((r=e.getAttribute("id"))?r=r.replace(ut,"\\$&"):e.setAttribute("id",r=I),a=(h=m(t)).length,l=st.test(r)?"#"+r:"[id='"+r+"']";a--;)h[a]=l+" "+N(h[a]);c=h.join(","),d=lt.test(t)&&pt(e.parentNode)||e}if(c)try{return A.apply(i,d.querySelectorAll(c)),i}catch(t){}finally{r===I&&e.removeAttribute("id")}}}return j(t.replace(E,"$1"),e,i,n)}function ht(){var i=[];function n(t,e){return i.push(t+" ")>w.cacheLength&&delete n[i.shift()],n[t+" "]=e}return n}function O(t){return t[I]=!0,t}function _(t){var e=k.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function ct(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function M(o){return O(function(a){return a=+a,O(function(t,e){for(var i,n=o([],t.length,a),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function pt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=P.support={},H=P.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},T=P.setDocument=function(t){var t=t?t.ownerDocument||t:y;return t!==k&&9===t.nodeType&&t.documentElement&&(e=(k=t).documentElement,C=!H(k),(t=k.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",z,!1):t.attachEvent&&t.attachEvent("onunload",z)),f.attributes=_(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=_(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=h.test(k.getElementsByClassName),f.getById=_(function(t){return e.appendChild(t).id=I,!k.getElementsByName||!k.getElementsByName(I).length}),f.getById?(w.find.ID=function(t,e){if(void 0!==e.getElementById&&C)return(e=e.getElementById(t))?[e]:[]},w.filter.ID=function(t){var e=t.replace(p,c);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(p,c);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}}),w.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,a=e.getElementsByTagName(t);if("*"!==t)return a;for(;i=a[s++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},n=[],g=[],(f.qsa=h.test(k.querySelectorAll))&&(_(function(t){e.appendChild(t).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+o+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+o+"*(?:value|"+K+")"),t.querySelectorAll("[id~="+I+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+I+"+*").length||g.push(".#.+[+~]")}),_(function(t){var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+o+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=h.test(s=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.msMatchesSelector))&&_(function(t){f.disconnectedMatch=s.call(t,"div"),s.call(t,"[s!='']:x"),n.push("!=",Z)}),g=g.length&&new RegExp(g.join("|")),n=n.length&&new RegExp(n.join("|")),t=h.test(e.compareDocumentPosition),v=t||h.test(e.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=t?function(t,e){var i;return t===e?(u=!0,0):!t.compareDocumentPosition-!e.compareDocumentPosition||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===i?t===k||t.ownerDocument===y&&v(y,t)?-1:e===k||e.ownerDocument===y&&v(y,e)?1:l?b(l,t)-b(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return u=!0,0;var i,n=0,s=t.parentNode,a=e.parentNode,o=[t],r=[e];if(!s||!a)return t===k?-1:e===k?1:s?-1:a?1:l?b(l,t)-b(l,e):0;if(s===a)return dt(t,e);for(i=t;i=i.parentNode;)o.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;o[n]===r[n];)n++;return n?dt(o[n],r[n]):o[n]===y?-1:r[n]===y?1:0}),k},P.matches=function(t,e){return P(t,null,null,e)},P.matchesSelector=function(t,e){if((t.ownerDocument||t)!==k&&T(t),e=e.replace(it,"='$1']"),f.matchesSelector&&C&&!D[e+" "]&&(!n||!n.test(e))&&(!g||!g.test(e)))try{var i=s.call(t,e);if(i||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0<P(e,k,null,[t]).length},P.contains=function(t,e){return(t.ownerDocument||t)!==k&&T(t),v(t,e)},P.attr=function(t,e){(t.ownerDocument||t)!==k&&T(t);var i=w.attrHandle[e.toLowerCase()],i=i&&Y.call(w.attrHandle,e.toLowerCase())?i(t,e,!C):void 0;return void 0!==i?i:f.attributes||!C?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},P.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},P.uniqueSort=function(t){var e,i=[],n=0,s=0;if(u=!f.detectDuplicates,l=!f.sortStable&&t.slice(0),t.sort(U),u){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return l=null,t},a=P.getText=function(t){var e,i="",n=0,s=t.nodeType;
vendor: 2,448 bytes, line 26
26if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=a(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=a(e);return i},(w=P.selectors={cacheLength:50,createPseudo:O,match:d,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(p,c),t[3]=(t[3]||t[4]||t[5]||"").replace(p,c),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||P.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&P.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return d.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&nt.test(i)&&(e=(e=m(i,!0))&&i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(p,c).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+o+")"+t+"("+o+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=P.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(J," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),_="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,a,o,r,l,u=v!=y?"nextSibling":"previousSibling",h=t.parentNode,c=_&&t.nodeName.toLowerCase(),d=!i&&!_,p=!1;if(h){if(v){for(;u;){for(o=t;o=o[u];)if(_?o.nodeName.toLowerCase()===c:1===o.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?h.firstChild:h.lastChild],y&&d){for(p=(r=(n=(s=(a=(o=h)[I]||(o[I]={}))[o.uniqueID]||(a[o.uniqueID]={}))[f]||[])[0]===S&&n[1])&&n[2],o=r&&h.childNodes[r];o=++r&&o&&o[u]||(p=r=0,l.pop());)if(1===o.nodeType&&++p&&o===t){s[f]=[S,r,p];break}}else if(!1===(p=d?r=(n=(s=(a=(o=t)[I]||(o[I]={}))[o.uniqueID]||(a[o.uniqueID]={}))[f]||[])[0]===S&&n[1]:p))for(;
vendor: 13,519 bytes, line 26
26(o=++r&&o&&o[u]||(p=r=0,l.pop()))&&((_?o.nodeName.toLowerCase()!==c:1!==o.nodeType)||!++p||(d&&((s=(a=o[I]||(o[I]={}))[o.uniqueID]||(a[o.uniqueID]={}))[f]=[S,p]),o!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,a){var e,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||P.error("unsupported pseudo: "+t);return o[I]?o(a):1<o.length?(e=[t,t,"",a],w.setFilters.hasOwnProperty(t.toLowerCase())?O(function(t,e){for(var i,n=o(t,a),s=n.length;s--;)t[i=b(t,n[s])]=!(e[i]=n[s])}):function(t){return o(t,0,e)}):o}},pseudos:{not:O(function(t){var n=[],s=[],r=F(t.replace(E,"$1"));return r[I]?O(function(t,e,i,n){for(var s,a=r(t,null,n,[]),o=t.length;o--;)(s=a[o])&&(t[o]=!(e[o]=s))}):function(t,e,i){return n[0]=t,r(n,null,i,s),n[0]=null,!s.pop()}}),has:O(function(e){return function(t){return 0<P(e,t).length}}),contains:O(function(e){return e=e.replace(p,c),function(t){return-1<(t.textContent||t.innerText||a(t)).indexOf(e)}}),lang:O(function(i){return st.test(i||"")||P.error("unsupported lang: "+i),i=i.replace(p,c).toLowerCase(),function(t){var e;do{if(e=C?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=R.location&&R.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===e},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return ot.test(t.nodeName)},input:function(t){return at.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:M(function(){return[0]}),last:M(function(t,e){return[e-1]}),eq:M(function(t,e,i){return[i<0?i+e:i]}),even:M(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:M(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:M(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:M(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=function(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}(t);function ft(){}function N(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function mt(o,t,e){var r=t.dir,l=e&&"parentNode"===r,u=W++;return t.first?function(t,e,i){for(;t=t[r];)if(1===t.nodeType||l)return o(t,e,i)}:function(t,e,i){var n,s,a=[S,u];if(i){for(;t=t[r];)if((1===t.nodeType||l)&&o(t,e,i))return!0}else for(;t=t[r];)if(1===t.nodeType||l){if((n=(s=(s=t[I]||(t[I]={}))[t.uniqueID]||(s[t.uniqueID]={}))[r])&&n[0]===S&&n[1]===u)return a[2]=n[2];if((s[r]=a)[2]=o(t,e,i))return!0}}}function gt(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function L(t,e,i,n,s){for(var a,o=[],r=0,l=t.length,u=null!=e;r<l;r++)!(a=t[r])||i&&!i(a,n,s)||(o.push(a),u&&e.push(r));return o}return ft.prototype=w.filters=w.pseudos,w.setFilters=new ft,m=P.tokenize=function(t,e){var i,n,s,a,o,r,l,u=B[t+" "];if(u)return e?0:u.slice(0);for(o=t,r=[],l=w.preFilter;o;){for(a in i&&!(n=tt.exec(o))||(n&&(o=o.slice(n[0].length)||o),r.push(s=[])),i=!1,(n=et.exec(o))&&(i=n.shift(),s.push({value:i,type:n[0].replace(E," ")}),o=o.slice(i.length)),w.filter)!(n=d[a].exec(o))||l[a]&&!(n=l[a](n))||(i=n.shift(),s.push({value:i,type:a,matches:n}),o=o.slice(i.length));if(!i)break}return e?o.length:o?P.error(t):B(t,r).slice(0)},F=P.compile=function(t,e){var i,g,v,y,_,n=[],s=[],a=D[t+" "];if(!a){for(i=(e=e||m(t)).length;i--;)((a=function t(e){for(var n,i,s,a=e.length,o=w.relative[e[0].type],r=o||w.relative[" "],l=o?1:0,u=mt(function(t){return t===n},r,!0),h=mt(function(t){return-1<b(n,t)},r,!0),c=[function(t,e,i){t=!o&&(i||e!==x)||((n=e).nodeType?u:h)(t,e,i);return n=null,t}];l<a;l++)if(i=w.relative[e[l].type])c=[mt(gt(c),i)];else{if((i=w.filter[e[l].type].apply(null,e[l].matches))[I]){for(s=++l;s<a&&!w.relative[e[s].type];s++);return function t(p,f,m,g,v,e){return g&&!g[I]&&(g=t(g)),v&&!v[I]&&(v=t(v,e)),O(function(t,e,i,n){var s,a,o,r=[],l=[],u=e.length,h=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)P(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),c=!p||!t&&f?h:L(h,r,p,i,n),d=m?v||(t?p:u||g)?[]:e:c;if(m&&m(c,d,i,n),g)for(s=L(d,l),g(s,[],i,n),a=s.length;a--;)(o=s[a])&&(d[l[a]]=!(c[l[a]]=o));if(t){if(v||p){if(v){for(s=[],a=d.length;a--;)(o=d[a])&&s.push(c[a]=o);v(null,d=[],s,n)}for(a=d.length;a--;)(o=d[a])&&-1<(s=v?b(t,o):r[a])&&(t[s]=!(e[s]=o))}}else d=L(d===e?d.splice(u,d.length):d),v?v(null,e,d,n):A.apply(e,d)})}(1<l&&gt(c),1<l&&N(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(E,"$1"),i,l<s&&t(e.slice(l,s)),s<a&&t(e=e.slice(s)),s<a&&N(e))}c.push(i)}return gt(c)}(e[i]))[I]?n:s).push(a);(a=D(t,(g=s,y=0<(v=n).length,_=0<g.length,y?O(o):o))).selector=t}function o(t,e,i,n,s){var a,o,r,l=0,u="0",h=t&&[],c=[],d=x,p=t||_&&w.find.TAG("*",s),f=S+=null==d?1:Math.random()||.1,m=p.length;for(s&&(x=e===k||e||s);u!==m&&null!=(a=p[u]);u++){if(_&&a){for(o=0,e||a.ownerDocument===k||(T(a),i=!C);r=g[o++];)if(r(a,e||k,i)){n.push(a);break}s&&(S=f)}y&&((a=!r&&a)&&l--,t)&&h.push(a)}if(l+=u,y&&u!==l){for(o=0;r=v[o++];)r(h,c,e,i);if(t){if(0<l)for(;u--;)h[u]||c[u]||(c[u]=V.call(n));c=L(c)}A.apply(n,c),s&&!t&&0<c.length&&1<l+v.length&&P.uniqueSort(n)}return s&&(S=f,x=d),h}return a},j=P.select=function(t,e,i,n){var s,a,o,r,l,u="function"==typeof t&&t,h=!n&&m(t=u.selector||t);if(i=i||[],1===h.length){if(2<(a=h[0]=h[0].slice(0)).length&&"ID"===(o=a[0]).type&&f.getById&&9===e.nodeType&&C&&w.relative[a[1].type]){if(!(e=(w.find.ID(o.matches[0].replace(p,c),e)||[])[0]))return i;u&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(s=d.needsContext.test(t)?0:a.length;s--&&(o=a[s],!w.relative[r=o.type]);)if((l=w.find[r])&&(n=l(o.matches[0].replace(p,c),lt.test(a[0].type)&&pt(e.parentNode)||e))){if(a.splice(s,1),t=n.length&&N(a))break;return A.apply(i,n),i}}return(u||F(t,h))(n,e,!C,i,!e||lt.test(t)&&pt(e.parentNode)||e),i},f.sortStable=I.split("").sort(U).join("")===I,f.detectDuplicates=!!u,T(),f.sortDetached=_(function(t){return 1&t.compareDocumentPosition(k.createElement("div"))}),_(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&_(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),_(function(t){return null==t.getAttribute("disabled")})||ct(K,function(t,e,i){if(!i)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),P}(w),V=(jQuery.find=t,jQuery.expr=t.selectors,jQuery.expr[":"]=jQuery.expr.pseudos,jQuery.uniqueSort=jQuery.unique=t.uniqueSort,jQuery.text=t.getText,jQuery.isXMLDoc=t.isXML,jQuery.contains=t.contains,jQuery.expr.match.needsContext),X=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,G=/^.[^:#\[\.,]*$/;function K(t,i,n){if(jQuery.isFunction(i))return jQuery.grep(t,function(t,e){return!!i.call(t,e,t)!==n});if(i.nodeType)return jQuery.grep(t,function(t){return t===i!==n});if("string"==typeof i){if(G.test(i))return jQuery.filter(i,t,n);i=jQuery.filter(i,t)}return jQuery.grep(t,function(t){return-1<s.call(i,t)!==n})}jQuery.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?jQuery.find.matchesSelector(n,t)?[n]:[]:jQuery.find.matches(t,jQuery.grep(e,function(t){return 1===t.nodeType}))},jQuery.fn.extend({find:function(t){var e,i=this.length,n=[],s=this;if("string"!=typeof t)return this.pushStack(jQuery(t).filter(function(){for(e=0;e<i;e++)if(jQuery.contains(s[e],this))return!0}));for(e=0;e<i;e++)jQuery.find(t,s[e],n);return(n=this.pushStack(1<i?jQuery.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(K(this,t||[],!1))},not:function(t){return this.pushStack(K(this,t||[],!0))},is:function(t){return!!K(this,"string"==typeof t&&V.test(t)?jQuery(t):t||[],!1).length}});var Q,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,J=((jQuery.fn.init=function(t,e,i){if(t){if(i=i||Q,"string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):jQuery.isFunction(t)?void 0!==i.ready?i.ready(t):t(jQuery):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),jQuery.makeArray(t,this));if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:Z.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof jQuery?e[0]:e,jQuery.merge(this,jQuery.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),X.test(n[1])&&jQuery.isPlainObject(e))for(var n in e)jQuery.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n])}else(i=x.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=x,this.selector=t}return this}).prototype=jQuery.fn,Q=jQuery(x),/^(?:parents|prev(?:Until|All))/),tt={children:!0,contents:!0,next:!0,prev:!0};function et(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}jQuery.fn.extend({has:function(t){var e=jQuery(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(jQuery.contains(this,e[t]))return!0})},closest:function(t,e){for(var i,n=0,s=this.length,a=[],o=V.test(t)||"string"!=typeof t?jQuery(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&jQuery.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(1<a.length?jQuery.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?s.call(jQuery(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),jQuery.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return n(t,"parentNode")},parentsUntil:function(t,e,i){return n(t,"parentNode",i)},next:function(t){return et(t,"nextSibling")},prev:function(t){return et(t,"previousSibling")},nextAll:function(t){return n(t,"nextSibling")},prevAll:function(t){return n(t,"previousSibling")},nextUntil:function(t,e,i){return n(t,"nextSibling",i)},prevUntil:function(t,e,i){return n(t,"previousSibling",i)},siblings:function(t){return Y((t.parentNode||{}).firstChild,t)},children:function(t){return Y(t.firstChild)},contents:function(t){return t.contentDocument||jQuery.merge([],t.childNodes)}},function(n,s){jQuery.fn[n]=function(t,e){var i=jQuery.map(this,s,t);return(e="Until"!==n.slice(-5)?t:e)&&"string"==typeof e&&(i=jQuery.filter(e,i)),1<this.length&&(tt[n]||jQuery.uniqueSort(i),J.test(n))&&i.reverse(),this.pushStack(i)}});var it,T=/\S+/g;function nt(){x.removeEventListener("DOMContentLoaded",nt),w.removeEventListener("load",nt),jQuery.ready()}function c(t,e,i,n,s,a,o){var r=0,l=t.length,u=null==i;if("object"===jQuery.type(i))for(r in s=!0,i)c(t,e,r,i[r],!0,a,o);else if(void 0!==n&&(s=!0,jQuery.isFunction(n)||(o=!0),e=u?o?(e.call(t,n),null):(u=e,function(t,e,i){return u.call(jQuery(t),i)}):e))for(;r<l;r++)e(t[r],i,o?n:n.call(t[r],r,e(t[r],i)));return s?t:u?e.call(t):l?e(t[0],i):a}function g(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function e(){this.expando=jQuery.expando+e.uid++}jQuery.Callbacks=function(n){var t,i;function s(){for(r=n.once,o=a=!0;u.length;h=-1)for(e=u.shift();++h<l.length;)!1===l[h].apply(e[0],e[1])&&n.stopOnFalse&&(h=l.length,e=!1);n.memory||(e=!1),a=!1,r&&(l=e?[]:"")}n="string"==typeof n?(t=n,i={},jQuery.each(t.match(T)||[],function(t,e){i[e]=!0}),i):jQuery.extend({},n);var a,e,o,r,l=[],u=[],h=-1,c={add:function(){return l&&(e&&!a&&(h=l.length-1,u.push(e)),function i(t){jQuery.each(t,function(t,e){jQuery.isFunction(e)?n.unique&&c.has(e)||l.push(e):e&&e.length&&"string"!==jQuery.type(e)&&i(e)})}(arguments),e)&&!a&&s(),this},remove:function(){return jQuery.each(arguments,function(t,e){for(var i;-1<(i=jQuery.inArray(e,l,i));)l.splice(i,1),i<=h&&h--}),this},has:function(t){return t?-1<jQuery.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return r=u=[],l=e="",this},disabled:function(){return!l},lock:function(){return r=u=[],e||(l=e=""),this},locked:function(){return!!r},fireWith:function(t,e){return r||(e=[t,(e=e||[]).slice?e.slice():e],u.push(e),a)||s(),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},jQuery.extend({Deferred:function(t){var a=[["resolve","done",jQuery.Callbacks("once memory"),"resolved"],["reject","fail",jQuery.Callbacks("once memory"),"rejected"],["notify","progress",jQuery.Callbacks("memory")]],s="pe
26nding",o={state:function(){return s},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var s=arguments;return jQuery.Deferred(function(n){jQuery.each(a,function(t,e){var i=jQuery.isFunction(s[t])&&s[t];r[e[1]](function(){var t=i&&i.apply(this,arguments);t&&jQuery.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this===o?n.promise():this,i?[t]:arguments)})}),s=null}).promise()},promise:function(t){return null!=t?jQuery.extend(t,o):o}},r={};return o.pipe=o.then,jQuery.each(a,function(t,e){var i=e[2],n=e[3];o[e[1]]=i.add,n&&i.add(function(){s=n},a[1^t][2].disable,a[2][2].lock),r[e[0]]=function(){return r[e[0]+"With"](this===r?o:this,arguments),this},r[e[0]+"With"]=i.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(t){function e(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?h.call(arguments):t,n===s?u.notifyWith(i,n):--l||u.resolveWith(i,n)}}var s,i,n,a=0,o=h.call(arguments),r=o.length,l=1!==r||t&&jQuery.isFunction(t.promise)?r:0,u=1===l?t:jQuery.Deferred();if(1<r)for(s=new Array(r),i=new Array(r),n=new Array(r);a<r;a++)o[a]&&jQuery.isFunction(o[a].promise)?o[a].promise().progress(e(a,i,s)).done(e(a,n,o)).fail(u.reject):--l;return l||u.resolveWith(n,o),u.promise()}}),jQuery.fn.ready=function(t){return jQuery.ready.promise().done(t),this},jQuery.extend({isReady:!1,readyWait:1,holdReady:function(t){t?jQuery.readyWait++:jQuery.ready(!0)},ready:function(t){(!0===t?--jQuery.readyWait:jQuery.isReady)||(jQuery.isReady=!0)!==t&&0<--jQuery.readyWait||(it.resolveWith(x,[jQuery]),jQuery.fn.triggerHandler&&(jQuery(x).triggerHandler("ready"),jQuery(x).off("ready")))}}),jQuery.ready.promise=function(t){return it||(it=jQuery.Deferred(),"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?w.setTimeout(jQuery.ready):(x.addEventListener("DOMContentLoaded",nt),w.addEventListener("load",nt))),it.promise(t)},jQuery.ready.promise(),e.uid=1,e.prototype={register:function(t,e){e=e||{};return t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){var e;return g(t)?((e=t[this.expando])||(e={},g(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e):{}},set:function(t,e,i){var n,s=this.cache(t);if("string"==typeof e)s[e]=i;else for(n in e)s[n]=e[n];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,i){var n;return void 0===e||e&&"string"==typeof e&&void 0===i?void 0!==(n=this.get(t,e))?n:this.get(t,jQuery.camelCase(e)):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n,s,a=t[this.expando];if(void 0!==a){if(void 0===e)this.register(t);else{i=(n=jQuery.isArray(e)?e.concat(e.map(jQuery.camelCase)):(s=jQuery.camelCase(e),e in a?[e,s]:(n=s)in a?[n]:n.match(T)||[])).length;for(;i--;)delete a[n[i]]}void 0!==e&&!jQuery.isEmptyObject(a)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!jQuery.isEmptyObject(t)}};var v=new e,l=new e,st=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,at=/[A-Z]/g;function ot(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(at,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:st.test(i)?jQuery.parseJSON(i):i)}catch(t){}l.set(t,e,i)}else i=void 0;return i}function y(t,e){return"none"===jQuery.css(t=e||t,"display")||!jQuery.contains(t.ownerDocument,t)}jQuery.extend({hasData:function(t){return l.hasData(t)||v.hasData(t)}
vendor: 20,154 bytes, line 26
26,data:function(t,e,i){return l.access(t,e,i)},removeData:function(t,e){l.remove(t,e)},_data:function(t,e,i){return v.access(t,e,i)},_removeData:function(t,e){v.remove(t,e)}}),jQuery.fn.extend({data:function(n,t){var e,i,s,a=this[0],o=a&&a.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){l.set(this,n)}):c(this,function(e){var t,i;if(a&&void 0===e)return void 0!==(t=l.get(a,n)||l.get(a,n.replace(at,"-$&").toLowerCase()))||(i=jQuery.camelCase(n),void 0!==(t=l.get(a,i)))||void 0!==(t=ot(a,i,void 0))?t:void 0;i=jQuery.camelCase(n),this.each(function(){var t=l.get(this,i);l.set(this,i,e),-1<n.indexOf("-")&&void 0!==t&&l.set(this,n,e)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=l.get(a),1===a.nodeType)&&!v.get(a,"hasDataAttrs")){for(e=o.length;e--;)o[e]&&0===(i=o[e].name).indexOf("data-")&&(i=jQuery.camelCase(i.slice(5)),ot(a,i,s[i]));v.set(a,"hasDataAttrs",!0)}return s},removeData:function(t){return this.each(function(){l.remove(this,t)})}}),jQuery.extend({queue:function(t,e,i){var n;if(t)return n=v.get(t,e=(e||"fx")+"queue"),i&&(!n||jQuery.isArray(i)?n=v.access(t,e,jQuery.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=jQuery.queue(t,e),n=i.length,s=i.shift(),a=jQuery._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete a.stop,s.call(t,function(){jQuery.dequeue(t,e)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return v.get(t,i)||v.access(t,i,{empty:jQuery.Callbacks("once memory").add(function(){v.remove(t,[e+"queue",i])})})}}),jQuery.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?jQuery.queue(this[0],e):void 0===i?this:this.each(function(){var t=jQuery.queue(this,e,i);jQuery._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&jQuery.dequeue(this,e)})},dequeue:function(t){return this.each(function(){jQuery.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--s||a.resolveWith(o,[o])}var n,s=1,a=jQuery.Deferred(),o=this,r=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)(n=v.get(o[r],t+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),a.promise(e)}});var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,d=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),r=["Top","Right","Bottom","Left"];function rt(t,e,i,n){var s,a=1,o=20,r=n?function(){return n.cur()}:function(){return jQuery.css(t,e,"")},l=r(),u=i&&i[3]||(jQuery.cssNumber[e]?"":"px"),h=(jQuery.cssNumber[e]||"px"!==u&&+l)&&d.exec(jQuery.css(t,e));if(h&&h[3]!==u)for(u=u||h[3],i=i||[],h=+l||1;h/=a=a||".5",jQuery.style(t,e,h+u),a!==(a=r()/l)&&1!==a&&--o;);return i&&(h=+h||+l||0,s=i[1]?h+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=u,n.start=h,n.end=s),s}var lt=/^(?:checkbox|radio)$/i,ut=/<([\w:-]+)/,ht=/^$|\/(?:java|ecma)script/i,_={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function b(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&jQuery.nodeName(t,e)?jQuery.merge([t],i):i}function ct(t,e){for(var i=0,n=t.length;i<n;i++)v.set(t[i],"globalEval",!e||v.get(e[i],"globalEval"))}_.optgroup=_.option,_.tbody=_.tfoot=_.colgroup=_.caption=_.thead,_.th=_.td;var dt=/<|&#?\w+;/;function pt(t,e,i,n,s){for(var a,o,r,l,u,h=e.createDocumentFragment(),c=[],d=0,p=t.length;d<p;d++)if((a=t[d])||0===a)if("object"===jQuery.type(a))jQuery.merge(c,a.nodeType?[a]:a);else if(dt.test(a)){for(o=o||h.appendChild(e.createElement("div")),r=(ut.exec(a)||["",""])[1].toLowerCase(),r=_[r]||_._default,o.innerHTML=r[1]+jQuery.htmlPrefilter(a)+r[2],u=r[0];u--;)o=o.lastChild;jQuery.merge(c,o.childNodes),(o=h.firstChild).textContent=""}else c.push(e.createTextNode(a));for(h.textContent="",d=0;a=c[d++];)if(n&&-1<jQuery.inArray(a,n))s&&s.push(a);else if(l=jQuery.contains(a.ownerDocument,a),o=b(h.appendChild(a),"script"),l&&ct(o),i)for(u=0;a=o[u++];)ht.test(a.type||"")&&i.push(a);return h}A=x.createDocumentFragment().appendChild(x.createElement("div")),(D=x.createElement("input")).setAttribute("type","radio"),D.setAttribute("checked","checked"),D.setAttribute("name","t"),A.appendChild(D),m.checkClone=A.cloneNode(!0).cloneNode(!0).lastChild.checked,A.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!A.cloneNode(!0).lastChild.defaultValue;var ft=/^key/,mt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,gt=/^([^.]*)(?:\.(.+)|)/;function vt(){return!0}function u(){return!1}function yt(){try{return x.activeElement}catch(t){}}function _t(t,e,i,n,s,a){var o,r;if("object"==typeof e){for(r in"string"!=typeof i&&(n=n||i,i=void 0),e)_t(t,r,i,n,e[r],a);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=u;else if(!s)return t;return 1===a&&(o=s,(s=function(t){return jQuery().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=jQuery.guid++)),t.each(function(){jQuery.event.add(this,e,s,n,i)})}jQuery.event={global:{},add:function(e,t,i,n,s){var a,o,r,l,u,h,c,d,p,f=v.get(e);if(f)for(i.handler&&(i=(a=i).handler,s=a.selector),i.guid||(i.guid=jQuery.guid++),r=(r=f.events)||(f.events={}),o=f.handle||(f.handle=function(t){return void 0!==jQuery&&jQuery.event.triggered!==t.type?jQuery.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(T)||[""]).length;l--;)c=p=(d=gt.exec(t[l])||[])[1],d=(d[2]||"").split(".").sort(),c&&(u=jQuery.event.special[c]||{},c=(s?u.delegateType:u.bindType)||c,u=jQuery.event.special[c]||{},p=jQuery.extend({type:c,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&jQuery.expr.match.needsContext.test(s),namespace:d.join(".")},a),(h=r[c])||((h=r[c]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,d,o))||e.addEventListener&&e.addEventListener(c,o),u.add&&(u.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),s?h.splice(h.delegateCount++,0,p):h.push(p),jQuery.event.global[c]=!0)},remove:function(t,e,i,n,s){var a,o,r,l,u,h,c,d,p,f,m,g=v.hasData(t)&&v.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(T)||[""]).length;u--;)if(p=m=(r=gt.exec(e[u])||[])[1],f=(r[2]||"").split(".").sort(),p){for(c=jQuery.event.special[p]||{},d=l[p=(n?c.delegateType:c.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)h=d[a],!s&&m!==h.origType||i&&i.guid!==h.guid||r&&!r.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(d.splice(a,1),h.selector&&d.delegateCount--,c.remove&&c.remove.call(t,h));o&&!d.length&&(c.teardown&&!1!==c.teardown.call(t,f,g.handle)||jQuery.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)jQuery.event.remove(t,p+e[u],i,n,!0);jQuery.isEmptyObject(l)&&v.remove(t,"handle events")}},dispatch:function(t){t=jQuery.event.fix(t);var e,i,n,s,a,o=h.call(arguments),r=(v.get(this,"events")||{})[t.type]||[],l=jQuery.event.special[t.type]||{};if((o[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(a=jQuery.event.handlers.call(this,t,r),e=0;(n=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(s.namespace)||(t.handleObj=s,t.data=s.data,void 0!==(s=((jQuery.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,o))&&!1===(t.result=s)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,a,o=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(n=[],i=0;i<r;i++)void 0===n[s=(a=e[i]).selector+" "]&&(n[s]=a.needsContext?-1<jQuery(s,this).index(l):jQuery.find(s,this,null,[l]).length),n[s]&&n.push(a);n.length&&o.push({elem:l,handlers:n})}return r<e.length&&o.push({elem:this,handlers:e.slice(r)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s=e.button;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||x).documentElement,n=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},fix:function(t){if(t[jQuery.expando])return t;var e,i,n,s=t.type,a=t,o=this.fixHooks[s];for(o||(this.fixHooks[s]=o=mt.test(s)?this.mouseHooks:ft.test(s)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new jQuery.Event(a),e=n.length;e--;)t[i=n[e]]=a[i];return t.target||(t.target=x),3===t.target.nodeType&&(t.target=t.target.parentNode),o.filter?o.filter(t,a):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==yt()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===yt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&jQuery.nodeName(this,"input"))return this.click(),!1},_default:function(t){return jQuery.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},jQuery.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},jQuery.Event=function(t,e){if(!(this instanceof jQuery.Event))return new jQuery.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?vt:u):this.type=t,e&&jQuery.extend(this,e),this.timeStamp=t&&t.timeStamp||jQuery.now(),this[jQuery.expando]=!0},jQuery.Event.prototype={constructor:jQuery.Event,isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=vt,t&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=vt,t&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=vt,t&&t.stopImmediatePropagation(),this.stopPropagation()}},jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){jQuery.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||jQuery.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),jQuery.fn.extend({on:function(t,e,i,n){return _t(this,t,e,i,n)},one:function(t,e,i,n){return _t(this,t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)n=t.handleObj,jQuery(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=u),this.each(function(){jQuery.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s])}return this}});var bt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wt=/<script|<style|<link/i,xt=/checked\s*(?:[^=]|=\s*.checked.)/i,Tt=/^true\/(.*)/,kt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ct(t,e){return jQuery.nodeName(t,"table")&&jQuery.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function It(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function St(t){var e=Tt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Dt(t,e){var i,n,s,a,o,r;if(1===e.nodeType){if(v.hasData(t)&&(a=v.access(t),o=v.set(e,a),r=a.events))for(s in delete o.handle,o.events={},r)for(i=0,n=r[s].length;i<n;i++)jQuery.event.add(e,s,r[s][i]);l.hasData(t)&&(a=l.access(t),o=jQuery.extend({},a),l.set(e,o))}}function k(i,n,s,a){n=z.apply([],n);var t,e,o,r,l,u,h=0,c=i.length,d=c-1,p=n[0],f=jQuery.isFunction(p);if(f||1<c&&"string"==typeof p&&!m.checkClone&&xt.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),k(e,n,s,a)});if(c&&(e=(t=pt(n,i[0].ownerDocument,!1,i,a)).firstChild,1===t.childNodes.length&&(t=e),e||a)){for(r=(o=jQuery.map(b(t,"script"),It)).length;h<c;h++)l=t,h!==d&&(l=jQuery.clone(l,!0,!0),r)&&jQuery.merge(o,b(l,"script")),s.call(i[h],l,h);if(r)for(u=o[o.length-1].ownerDocument,jQuery.map(o,St),h=0;h<r;h++)l=o[h],ht.test(l.type||"")&&!v.access(l,"globalEval")&&jQuery.contains(u,l)&&(l.src?jQuery._evalUrl&&jQuery._evalUrl(l.src):jQuery.globalEval(l.textContent.replace(kt,"")))}return i}function At(t,e,i){for(var n,s=e?jQuery.filter(e,t):t,a=0;null!=(n=s[a]);a++)i||1!==n.nodeType||jQuery.cleanData(b(n)),n.parentNode&&(i&&jQuery.contains(n.ownerDocument,n)&&ct(b(n,"script")),n.parentNode.removeChild(n));return t}jQuery.extend({htmlPrefilter:function(t){return t.replace(bt,"<$1></$2>")},clone:function(t,e,i){var n,s,a,o,r,l,u,h=t.cloneNode(!0),c=jQuery.contains(t.ownerDocument,t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||jQuery.isXMLDoc(t)))for(o=b(h),n=0,s=(a=b(t)).length;n<s;n++)r=a[n],"input"===(u=(l=o[n]).nodeName.toLowerCase())&&lt.test(r.type)?l.checked=r.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=r.defaultValue);if(e)if(i)for(a=a||b(t),o=o||b(h),n=0,s=a.length;n<s;n++)Dt(a[n],o[n]);else Dt(t,h);return 0<(o=b(h,"script")).length&&ct(o,!c&&b(t,"script")),h},cleanData:function(t){for(var e,i,n,s=jQuery.event.special,a=0;void 0!==(i=t[a]);a++)if(g(i)){if(e=i[v.expando]){if(e.events)for(n in e.events)s[n]?jQuery.event.remove(i,n):jQuery.removeEvent(i,n,e.handle);i[v.expando]=void 0}i[l.expando]&&(i[l.expando]=void 0)}}}),jQuery.fn.extend({domManip:k,detach:function(t){return At(this,t,!0)},remove:function(t){return At(this,t)},text:function(t){return c(this,function(t){return void 0===t?jQuery.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return k(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ct(this,t).appendChild(t)})},prepend:function(){return k(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=Ct(this,t)).insertBefore(t,e.firstChild)})},before:function(){return k(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return k(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(jQuery.cleanData(b(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return jQuery.clone(this,t,e)})},html:function(t){return c(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!wt.test(t)&&!_[(ut.exec(t)||["",""])[1].toLowerCase()]){t=jQuery.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(jQuery.cleanData(b(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return k(this,arguments,function(t){var e=this.parentNode;jQuery.inArray(this,i)<0&&(jQuery.cleanData(b(this)),e)&&e.replaceChild(t,this)},i)}}),jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){jQuery.fn[t]=function(t){for(var e,i=[],n=jQuery(t),s=n.length-1,a=0;a<=s;a++)e=a===s?this:this.clone(!0),jQuery(n[a])[o](e),H.apply(i,e.get());return this.pushStack(i)}});var Et,Pt={HTML:"block",BODY:"block"};function Ot(t,e){t=jQuery(e.createElement(t)).appendTo(e.body),e=jQuery.css(t[0],"display");return t.detach(),e}function Mt(t){var e=x,i=Pt[t];return i||("none"!==(i=Ot(t,e))&&i||((e=(Et=(Et||jQuery("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),i=Ot(t,e),Et.detach()),Pt[t]=i),i}function Nt(t){var e=t.ownerDocument.defaultView;return(e=e&&e.opener?e:w).getComputedStyle(t)}function Lt(t,e,i,n){var s,a={};for(s in e)a[s]=t.style[s],t.style[s]=e[s];for(s in i=i.apply(t,n||[]),e)t.style[s]=a[s];return i}var Rt,i,zt,Ht,a,o,Ft=/^margin/,jt=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),p=x.documentElement;function $t(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",o.innerHTML="",p.appendChild(a);var t=w.getComputedStyle(o);Rt="1%"!==t.top,Ht="2px"===t.marginLeft,i="4px"===t.width,o.style.marginRight="50%",zt="4px"===t.marginRight,p.removeChild(a)}function C(t,e,i){var n,s,a=t.style;return""!==(s=(i=i||Nt(t))?i.getPropertyValue(e)||i[e]:void 0)&&void 0!==s||jQuery.contains(t.ownerDocument,t)||(s=jQuery.style(t,e)),i&&!m.pixelMarginRight()&&jt.test(s)&&Ft.test(e)&&(t=a.width,e=a.minWidth,n=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=t,a.minWidth=e,a.maxWidth=n),void 0!==s?s+"":s}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}a=x.createElement("div"),(o=x.createElement("div")).style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===o.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(o),jQuery.extend(m,{pixelPosition:function(){return $t(),Rt},boxSizingReliable:function(){return null==i&&$t(),i},pixelMarginRight:function(){return null==i&&$t(),zt},reliableMarginLeft:function(){return null==i&&$t(),Ht},reliableMarginRight:function(){var t,e=o.appendChild(x.createElement("div"));return e.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",o.style.width="1px",p.appendChild(a),t=!parseFloat(w.getComputedStyle(e).marginRight),p.removeChild(a),o.removeChild(e),t}}));var qt=/^(none|table(?!-c[ea]).+)/,Bt={position:"absolute",visibility:"hidden",display:"block"},Ut={letterSpacing:"0",fontWeight:"400"},Yt=["Webkit","O","Moz","ms"],Vt=x.createElement("div").style;function Xt(t){if(t in Vt)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=Yt.length;i--;)if((t=Yt[i]+e)in Vt)return t}function Gt(t,e,i){var n=d.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function Kt(t,e,i,n,s){for(var a=i===(n?"border":"content")?4:"width"===e?1:0,o=0;a<4;a+=2)"margin"===i&&(o+=jQuery.css(t,i+r[a],!0,s)),n?("content"===i&&(o-=jQuery.css(t,"padding"+r[a],!0,s)),"margin"!==i&&(o-=jQuery.css(t,"border"+r[a]+"Width",!0,s))):(o+=jQuery.css(t,"padding"+r[a],!0,s),"padding"!==i&&(o+=jQuery.css(t,"border"+r[a]+"Width",!0,s)));return o}function Qt(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,a=Nt(t),o="border-box"===jQuery.css(t,"boxSizing",!1,a);if((s=x.msFullscreenElement&&w.top!==w&&t.getClientRects().length?Math.round(100*t.getBoundingClientRect()[e]):s)<=0||null==s){if(((s=C(t,e,a))<0||null==s)&&(s=t.style[e]),jt.test(s))return s;n=o&&(m.boxSizingReliable()||s===t.style[e]),s=parseFloat(s)||0}return s+Kt(t,e,i||(o?"border":"content"),n,a)+"px"}function Zt(t,e){for(var i,n,s,a=[],o=0,r=t.length;o<r;o++)(n=t[o]).style&&(a[o]=v.get(n,"olddisplay"),i=n.style.display,e?(a[o]||"none"!==i||(n.style.display=""),""===n.style.display&&y(n)&&(a[o]=v.access(n,"olddisplay",Mt(n.nodeName)))):(s=y(n),"none"===i&&s||v.set(n,"olddisplay",s?i:jQuery.css(n,"dis
26play"))));for(o=0;o<r;o++)!(n=t[o]).style||e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?a[o]||"":"none");return t}function I(t,e,i,n,s){return new I.prototype.init(t,e,i,n,s)}jQuery.extend({cssHooks:{opacity:{get:function(t,e){if(e)return""===(e=C(t,"opacity"))?"1":e}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,a,o,r=jQuery.camelCase(e),l=t.style;if(e=jQuery.cssProps[r]||(jQuery.cssProps[r]=Xt(r)||r),o=jQuery.cssHooks[e]||jQuery.cssHooks[r],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(t,!1,n))?s:l[e];"string"==(a=typeof i)&&(s=d.exec(i))&&s[1]&&(i=rt(t,e,s),a="number"),null==i||i!=i||("number"===a&&(i+=s&&s[3]||(jQuery.cssNumber[r]?"":"px")),m.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n)))||(l[e]=i)}},css:function(t,e,i,n){var s,a=jQuery.camelCase(e);return e=jQuery.cssProps[a]||(jQuery.cssProps[a]=Xt(a)||a),"normal"===(s=void 0===(s=(a=jQuery.cssHooks[e]||jQuery.cssHooks[a])&&"get"in a?a.get(t,!0,i):s)?C(t,e,n):s)&&e in Ut&&(s=Ut[e]),(""===i||i)&&(a=parseFloat(s),!0===i||isFinite(a))?a||0:s}}),jQuery.each(["height","width"],function(t,s){jQuery.cssHooks[s]={get:function(t,e,i){if(e)return qt.test(jQuery.css(t,"display"))&&0===t.offsetWidth?Lt(t,Bt,function(){return Qt(t,s,i)}):Qt(t,s,i)},set:function(t,e,i){var n=i&&Nt(t),i=i&&Kt(t,s,i,"border-box"===jQuery.css(t,"boxSizing",!1,n),n);return i&&(n=d.exec(e))&&"px"!==(n[3]||"px")&&(t.style[s]=e,e=jQuery.css(t,s)),Gt(0,e,i)}}}),jQuery.cssHooks.marginLeft=Wt(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(C(t,"marginLeft"))||t.getBoundingClientRect().left-Lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),jQuery.cssHooks.marginRight=Wt(m.reliableMarginRight,function(t,e){if(e)return Lt(t,{display:"inline-block"},C,[t,"marginRight"])}),jQuery.each({margin:"",padding:"",border:"Width"},function(s,a){jQuery.cssHooks[s+a]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+r[e]+a]=n[e]||n[e-2]||n[0];return i}},Ft.test(s)||(jQuery.cssHooks[s+a].set=Gt)}),jQuery.fn.extend({css:function(t,e){return c(this,function(t,e,i){var n,s,a={},o=0;if(jQuery.isArray(e)){for(n=Nt(t),s=e.length;o<s;o++)a[e[o]]=jQuery.css(t,e[o],!1,n);return a}return void 0!==i?jQuery.style(t,e,i):jQuery.css(t,e)},t,e,1<arguments.length)},show:function(){return Zt(this,!0)},hide:function(){return Zt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){y(this)?jQuery(this).show():jQuery(this).hide()})}}),((jQuery.Tween=I).prototype={constructor:I,init:function(t,e,i,n,s,a){this.elem=t,this.prop=i,this.easing=s||jQuery.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=a||(jQuery.cssNumber[i]?"":"px")},cur:function(){var t=I.propHooks[this.prop];return(t&&t.get?t:I.propHooks._default).get(this)},run:function(t){var e,i=I.propHooks[this.prop];return this.options.duration?this.pos=e=jQuery.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:I.propHooks._default).set(this),this}}).init.prototype=I.prototype,(I.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=jQuery.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){jQuery.fx.step[t.prop]?jQuery.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[jQuery.cssProps[t.prop]]&&!jQuery.cssHooks[t.prop]?t.elem[t.prop]=t.now:jQuery.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=I.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},jQuery.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},jQuery.fx=I.prototype.init,jQuery.fx.step={};var S,Jt,D,A,te=/^(?:toggle|show|hide)$/,ee=/queueHooks$/;function ie(){return w.setTimeout(function(){S=void 0}),S=jQuery.now()}function ne(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)s["margin"+(i=r[n])]=s["padding"+i]=t;return e&&(s.opacity=s.width=t),s}function se(t,e,i){for(var n,s=(E.tweeners[e]||[]).concat(E.tweeners["*"]),a=0,o=s.length;a<o;a++)if(n=s[a].call(i,e,t))return n}
vendor: 25,018 bytes, line 26
26function E(s,t,e){var i,a,n,o,r,l,u,h=0,c=E.prefilters.length,d=jQuery.Deferred().always(function(){delete p.elem}),p=function(){if(a)return!1;for(var t=S||ie(),t=Math.max(0,f.startTime+f.duration-t),e=1-(t/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(e);return d.notifyWith(s,[f,e,t]),e<1&&n?t:(d.resolveWith(s,[f]),!1)},f=d.promise({elem:s,props:jQuery.extend({},t),opts:jQuery.extend(!0,{specialEasing:{},easing:jQuery.easing._default},e),originalProperties:t,originalOptions:e,startTime:S||ie(),duration:e.duration,tweens:[],createTween:function(t,e){e=jQuery.Tween(s,f.opts,t,e,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(e),e},stop:function(t){var e=0,i=t?f.tweens.length:0;if(!a){for(a=!0;e<i;e++)f.tweens[e].run(1);t?(d.notifyWith(s,[f,1,0]),d.resolveWith(s,[f,t])):d.rejectWith(s,[f,t])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(n in g)if(r=v[o=jQuery.camelCase(n)],l=g[n],jQuery.isArray(l)&&(r=l[1],l=g[n]=l[0]),n!==o&&(g[o]=l,delete g[n]),(u=jQuery.cssHooks[o])&&"expand"in u)for(n in l=u.expand(l),delete g[o],l)n in g||(g[n]=l[n],v[n]=r);else v[o]=r;for(;h<c;h++)if(i=E.prefilters[h].call(f,s,m,f.opts))return jQuery.isFunction(i.stop)&&(jQuery._queueHooks(f.elem,f.opts.queue).stop=jQuery.proxy(i.stop,i)),i;return jQuery.map(m,se,f),jQuery.isFunction(f.opts.start)&&f.opts.start.call(s,f),jQuery.fx.timer(jQuery.extend(p,{elem:s,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}jQuery.Animation=jQuery.extend(E,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return rt(i.elem,t,d.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,s=(t=jQuery.isFunction(t)?(e=t,["*"]):t.match(T)).length;n<s;n++)i=t[n],E.tweeners[i]=E.tweeners[i]||[],E.tweeners[i].unshift(e)},prefilters:[function(e,t,i){var n,s,a,o,r,l,u,h=this,c={},d=e.style,p=e.nodeType&&y(e),f=v.get(e,"fxshow");for(n in i.queue||(null==(r=jQuery._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,jQuery.queue(e,"fx").length||r.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(u=jQuery.css(e,"display"))?v.get(e,"olddisplay")||Mt(e.nodeName):u))&&"none"===jQuery.css(e,"float")&&(d.display="inline-block"),i.overflow&&(d.overflow="hidden",h.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),t)if(s=t[n],te.exec(s)){if(delete t[n],a=a||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||void 0===f[n])continue;p=!0}c[n]=f&&f[n]||jQuery.style(e,n)}else u=void 0;if(jQuery.isEmptyObject(c))"inline"===("none"===u?Mt(e.nodeName):u)&&(d.display=u);else for(n in f?"hidden"in f&&(p=f.hidden):f=v.access(e,"fxshow",{}),a&&(f.hidden=!p),p?jQuery(e).show():h.done(function(){jQuery(e).hide()}),h.done(function(){for(var t in v.remove(e,"fxshow"),c)jQuery.style(e,t,c[t])}),c)o=se(p?f[n]:0,n,h),n in f||(f[n]=o.start,p&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}],prefilter:function(t,e){e?E.prefilters.unshift(t):E.prefilters.push(t)}}),jQuery.speed=function(t,e,i){var n=t&&"object"==typeof t?jQuery.extend({},t):{complete:i||!i&&e||jQuery.isFunction(t)&&t,duration:t,easing:i&&e||e&&!jQuery.isFunction(e)&&e};return n.duration=jQuery.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in jQuery.fx.speeds?jQuery.fx.speeds[n.duration]:jQuery.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){jQuery.isFunction(n.old)&&n.old.call(this),n.queue&&jQuery.dequeue(this,n.queue)},n},jQuery.fn.extend({fadeTo:function(t,e,i,n){return this.filter(y).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){function s(){var t=E(this,jQuery.extend({},e),o);(a||v.get(this,"finish"))&&t.stop(!0)}var a=jQuery.isEmptyObject(e),o=jQuery.speed(t,i,n);return s.finish=s,a||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(s,t,a){function o(t){var e=t.stop;delete t.stop,e(a)}return"string"!=typeof s&&(a=t,t=s,s=void 0),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=jQuery.timers,n=v.get(this);if(e)n[e]&&n[e].stop&&o(n[e]);else for(e in n)n[e]&&n[e].stop&&ee.test(e)&&o(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(a),t=!1,i.splice(e,1));!t&&a||jQuery.dequeue(this,s)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=v.get(this),i=e[o+"queue"],n=e[o+"queueHooks"],s=jQuery.timers,a=i?i.length:0;for(e.finish=!0,jQuery.queue(this,o,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===o&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),jQuery.each(["toggle","show","hide"],function(t,n){var s=jQuery.fn[n];jQuery.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(ne(n,!0),t,e,i)}}),jQuery.each({slideDown:ne("show"),slideUp:ne("hide"),slideToggle:ne("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){jQuery.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),jQuery.timers=[],jQuery.fx.tick=function(){var t,e=0,i=jQuery.timers;for(S=jQuery.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||jQuery.fx.stop(),S=void 0},jQuery.fx.timer=function(t){jQuery.timers.push(t),t()?jQuery.fx.start():jQuery.timers.pop()},jQuery.fx.interval=13,jQuery.fx.start=function(){Jt=Jt||w.setInterval(jQuery.fx.tick,jQuery.fx.interval)},jQuery.fx.stop=function(){w.clearInterval(Jt),Jt=null},jQuery.fx.speeds={slow:600,fast:200,_default:400},jQuery.fn.delay=function(n,t){return n=jQuery.fx&&jQuery.fx.speeds[n]||n,this.queue(t=t||"fx",function(t,e){var i=w.setTimeout(t,n);e.stop=function(){w.clearTimeout(i)}})},D=x.createElement("input"),t=(A=x.createElement("select")).appendChild(x.createElement("option")),D.type="checkbox",m.checkOn=""!==D.value,m.optSelected=t.selected,A.disabled=!0,m.optDisabled=!t.disabled,(D=x.createElement("input")).value="t",D.type="radio",m.radioValue="t"===D.value;var ae,P=jQuery.expr.attrHandle,oe=(jQuery.fn.extend({attr:function(t,e){return c(this,jQuery.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){jQuery.removeAttr(this,t)})}}),jQuery.extend({attr:function(t,e,i){var n,s,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?jQuery.prop(t,e,i):(1===a&&jQuery.isXMLDoc(t)||(e=e.toLowerCase(),s=jQuery.attrHooks[e]||(jQuery.expr.match.bool.test(e)?ae:void 0)),void 0!==i?null===i?void jQuery.removeAttr(t,e):s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:(t.setAttribute(e,i+""),i):s&&"get"in s&&null!==(n=s.get(t,e))||null!=(n=jQuery.find.attr(t,e))?n:void 0)},attrHooks:{type:{set:function(t,e){var i;if(!m.radioValue&&"radio"===e&&jQuery.nodeName(t,"input"))return i=t.value,t.setAttribute("type",e),i&&(t.value=i),e}}},removeAttr:function(t,e){var i,n,s=0,a=e&&e.match(T);if(a&&1===t.nodeType)for(;i=a[s++];)n=jQuery.propFix[i]||i,jQuery.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)}}),ae={set:function(t,e,i){return!1===e?jQuery.removeAttr(t,i):t.setAttribute(i,i),i}},jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),function(t,e){var a=P[e]||jQuery.find.attr;P[e]=function(t,e,i){var n,s;return i||(s=P[e],P[e]=n,n=null!=a(t,e,i)?e.toLowerCase():null,P[e]=s),n}}),/^(?:input|select|textarea|button)$/i),re=/^(?:a|area)$/i,le=(jQuery.fn.extend({prop:function(t,e){return c(this,jQuery.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[jQuery.propFix[t]||t]})}}),jQuery.extend({prop:function(t,e,i){var n,s,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&jQuery.isXMLDoc(t)||(e=jQuery.propFix[e]||e,s=jQuery.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=jQuery.find.attr(t,"tabindex");return e?parseInt(e,10):oe.test(t.nodeName)||re.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(jQuery.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex}}),jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){jQuery.propFix[this.toLowerCase()]=this}),/[\t\r\n\f]/g);function O(t){return t.getAttribute&&t.getAttribute("class")||""}jQuery.fn.extend({addClass:function(e){var t,i,n,s,a,o,r=0;if(jQuery.isFunction(e))return this.each(function(t){jQuery(this).addClass(e.call(this,t,O(this)))});if("string"==typeof e&&e)for(t=e.match(T)||[];i=this[r++];)if(o=O(i),n=1===i.nodeType&&(" "+o+" ").replace(le," ")){for(a=0;s=t[a++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");o!==(o=jQuery.trim(n))&&i.setAttribute("class",o)}return this},removeClass:function(e){var t,i,n,s,a,o,r=0;if(jQuery.isFunction(e))return this.each(function(t){jQuery(this).removeClass(e.call(this,t,O(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(T)||[];i=this[r++];)if(o=O(i),n=1===i.nodeType&&(" "+o+" ").replace(le," ")){for(a=0;s=t[a++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");o!==(o=jQuery.trim(n))&&i.setAttribute("class",o)}return this},toggleClass:function(s,e){var a=typeof s;return"boolean"==typeof e&&"string"==a?e?this.addClass(s):this.removeClass(s):jQuery.isFunction(s)?this.each(function(t){jQuery(this).toggleClass(s.call(this,t,O(this),e),e)}):this.each(function(){var t,e,i,n;if("string"==a)for(e=0,i=jQuery(this),n=s.match(T)||[];t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==s&&"boolean"!=a||((t=O(this))&&v.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==s&&v.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+O(e)+" ").replace(le," ").indexOf(n))return!0;return!1}});var ue=/\r/g,he=/[\x20\t\r\n\f]+/g,ce=(jQuery.fn.extend({val:function(e){var i,t,n,s=this[0];return arguments.length?(n=jQuery.isFunction(e),this.each(function(t){1!==this.nodeType||(null==(t=n?e.call(this,t,jQuery(this).val()):e)?t="":"number"==typeof t?t+="":jQuery.isArray(t)&&(t=jQuery.map(t,function(t){return null==t?"":t+""})),(i=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value"))||(this.value=t)})):s?(i=jQuery.valHooks[s.type]||jQuery.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(s,"value"))?t:"string"==typeof(t=s.value)?t.replace(ue,""):null==t?"":t:void 0}}),jQuery.extend({valHooks:{option:{get:function(t){var e=jQuery.find.attr(t,"value");return null!=e?e:jQuery.trim(jQuery.text(t)).replace(he," ")}},select:{get:function(t){for(var e,i=t.options,n=t.selectedIndex,s="select-one"===t.type||n<0,a=s?null:[],o=s?n+1:i.length,r=n<0?o:s?n:0;r<o;r++)if(((e=i[r]).selected||r===n)&&(m.optDisabled?!e.disabled:null===e.getAttribute("disabled"))&&(!e.parentNode.disabled||!jQuery.nodeName(e.parentNode,"optgroup"))){if(e=jQuery(e).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var i,n,s=t.options,a=jQuery.makeArray(e),o=s.length;o--;)((n=s[o]).selected=-1<jQuery.inArray(jQuery.valHooks.option.get(n),a))&&(i=!0);return i||(t.selectedIndex=-1),a}}}}),jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={set:function(t,e){if(jQuery.isArray(e))return t.checked=-1<jQuery.inArray(jQuery(t).val(),e)}},m.checkOn||(jQuery.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),/^(?:focusinfocus|focusoutblur)$/),M=(jQuery.extend(jQuery.event,{trigger:function(t,e,i,n){var s,a,o,r,l,u,h=[i||x],c=f.call(t,"type")?t.type:t,d=f.call(t,"namespace")?t.namespace.split("."):[],p=a=i=i||x;if(3!==i.nodeType&&8!==i.nodeType&&!ce.test(c+jQuery.event.triggered)&&(-1<c.indexOf(".")&&(c=(d=c.split(".")).shift(),d.sort()),r=c.indexOf(":")<0&&"on"+c,(t=t[jQuery.expando]?t:new jQuery.Event(c,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:jQuery.makeArray(e,[t]),u=jQuery.event.special[c]||{},n||!u.trigger||!1!==u.trigger.apply(i,e))){if(!n&&!u.noBubble&&!jQuery.isWindow(i)){for(o=u.delegateType||c,ce.test(o+c)||(p=p.parentNode);p;p=p.parentNode)h.push(p),a=p;a===(i.ownerDocument||x)&&h.push(a.defaultView||a.parentWindow||w)}for(s=0;(p=h[s++])&&!t.isPropagationStopped();)t.type=1<s?o:u.bindType||c,(l=(v.get(p,"events")||{})[t.type]&&v.get(p,"handle"))&&l.apply(p,e),(l=r&&p[r])&&l.apply&&g(p)&&(t.result=l.apply(p,e),!1===t.result)&&t.preventDefault();return t.type=c,n||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),e)||!g(i)||r&&jQuery.isFunction(i[c])&&!jQuery.isWindow(i)&&((a=i[r])&&(i[r]=null),i[jQuery.event.triggered=c](),jQuery.event.triggered=void 0,a)&&(i[r]=a),t.result}},simulate:function(t,e,i){t=jQuery.extend(new jQuery.Event,i,{type:t,isSimulated:!0});jQuery.event.trigger(t,null,e),t.isDefaultPrevented()&&i.preventDefault()}}),jQuery.fn.extend({trigger:function(t,e){return this.each(function(){jQuery.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return jQuery.event.trigger(t,e,i,!0)}}),jQuery.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,i){jQuery.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),jQuery.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),m.focusin="onfocusin"in w,m.focusin||jQuery.each({focus:"focusin",blur:"focusout"},function(i,n){function s(t){jQuery.event.simulate(n,t.target,jQuery.event.fix(t))}jQuery.event.special[n]={setup:function(){var t=this.ownerDocument||this,e=v.access(t,n);e||t.addEventListener(i,s,!0),v.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=v.access(t,n)-1;e?v.access(t,n,e):(t.removeEventListener(i,s,!0),v.remove(t,n))}}}),w.location),de=jQuery.now(),pe=/\?/,fe=(jQuery.parseJSON=function(t){return JSON.parse(t+"")},jQuery.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new w.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||jQuery.error("Invalid XML: "+t),e},/#.*$/),me=/([?&])_=[^&]*/,ge=/^(.*?):[ \t]*([^\r\n]*)$/gm,ve=/^(?:GET|HEAD)$/,ye=/^\/\//,_e={},be={},we="*/".concat("*"),xe=x.createElement("a");function Te(a){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(T)||[];if(jQuery.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(a[i]=a[i]||[]).unshift(e)):(a[i]=a[i]||[]).push(e)}}function ke(e,n,s,a){var o={},r=e===be;function l(t){var i;return o[t]=!0,jQuery.each(e[t]||[],function(t,e){e=e(n,s,a);return"string"!=typeof e||r||o[e]?r?!(i=e):void 0:(n.dataTypes.unshift(e),l(e),!1)}),i}return l(n.dataTypes[0])||!o["*"]&&l("*")}function Ce(t,e){var i,n,s=jQuery.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n=n||{})[i]=e[i]);return n&&jQuery.extend(!0,t,n),t}xe.href=M.href,jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:M.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(M.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":we,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":jQuery.parseJSON,"text xml":jQuery.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ce(Ce(t,jQuery.ajaxSettings),e):Ce(jQuery.ajaxSettings,t)},ajaxPrefilter:Te(_e),ajaxTransport:Te(be),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var l,u,h,i,c,d,n,p=jQuery.ajaxSetup({},e=e||{}),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?jQuery(f):jQuery.event,g=jQuery.Deferred(),v=jQuery.Callbacks("once memory"),y=p.statusCode||{},s={},a={},_=0,o="canceled",b={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!i)for(i={};e=ge.exec(h);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?h:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return _||(t=a[i]=a[i]||t,s[t]=e),this},overrideMimeType:function(t){return _||(p.mimeType=t),this},statusCode:function(t){if(t)if(_<2)for(var e in t)y[e]=[y[e],t[e]];else b.always(t[b.status]);return this},abort:function(t){t=t||o;return l&&l.abort(t),r(0,t),this}};if(g.promise(b).complete=v.add,b.success=b.done,b.error=b.fail,p.url=((t||p.url||M.href)+"").replace(fe,"").replace(ye,M.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=jQuery.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain){t=x.createElement("a");try{t.href=p.url,t.href=t.href,p.crossDomain=xe.protocol+"//"+xe.host!=t.protocol+"//"+t.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=jQuery.param(p.data,p.traditional)),ke(_e,p,e,b),2!==_){for(n in(d=jQuery.event&&p.global)&&0==jQuery.active++&&jQuery.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!ve.test(p.type),u=p.url,p.hasContent||(p.data&&(u=p.url+=(pe.test(u)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=me.test(u)?u.replace(me,"$1_="+de++):u+(pe.test(u)?"&":"?")+"_="+de++)),p.ifModified&&(jQuery.lastModified[u]&&b.setRequestHeader("If-Modified-Since",jQuery.lastModified[u]),jQuery.etag[u])&&b.setRequestHeader("If-None-Match",jQuery.etag[u]),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&b.setRequestHeader("Content-Type",p.contentType),b.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+we+"; q=0.01":""):p.accepts["*"]),p.headers)b.setRequestHeader(n,p.headers[n]);if(p.beforeSend&&(!1===p.beforeSend.call(f,b,p)||2===_))return b.abort();for(n in o="abort",{success:1,error:1,complete:1})b[n](p[n]);if(l=ke(be,p,e,b)){if(b.readyState=1,d&&m.trigger("ajaxSend",[b,p]),2===_)return b;p.async&&0<p.timeout&&(c=w.setTimeout(function(){b.abort("timeout")},p.timeout));try{_=1,l.send(s,r)}catch(t){if(!(_<2))throw t;r(-1,t)}}else r(-1,"No Transport")}return b;function r(t,e,i,n){var s,a,o,r=e;2!==_&&(_=2,c&&w.clearTimeout(c),l=void 0,h=n||"",b.readyState=0<t?4:0,n=200<=t&&t<300||304===t,i&&(o=function(t,e,i){for(var n,s,a,o,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in r)if(r[s]&&r[s].test(n)){l.unshift(s);break}if(l[0]in i)a=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){a=s;break}o=o||s}a=a||o}if(a)return a!==l[0]&&l.unshift(a),i[a]}(p,b,i)),o=function(t,e,i,n){var s,a,o,r,l,u={},h=t.dataTypes.slice();if(h[1])for(o in t.converters)u[o.toLowerCase()]=t.converters[o];for(a=h.shift();a;)if(t.responseFields[a]&&(i[t.responseFields[a]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=h.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(s in u)if((r=s.split(" "))[1]===a&&(o=u[l+" "+r[0]]||u["* "+r[0]])){!0===o?o=u[s]:!0!==u[s]&&(a=r[0],h.unshift(r[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}(p,o,b,n),n?(p.ifModified&&((i=b.getResponseHeader("Last-Modified"))&&(jQuery.lastModified[u]=i),i=b.getResponseHeader("etag"))&&(jQuery.etag[u]=i),204===t||"HEAD"===p.type?r="nocontent":304===t?r="notmodified":(r=o.state,s=o.data,n=!(a=o.error))):(a=r,!t&&r||(r="error",t<0&&(t=0))),b.status=t,b.statusText=(e||r)+"",n?g.resolveWith(f,[s,r,b]):g.rejectWith(f,[b,r,a]),b.statusCode(y),y=void 0,d&&m.trigger(n?"ajaxSuccess":"ajaxError",[b,p,n?s:a]),v.fireWith(f,[b,r]),d)&&(m.trigger("ajaxComplete",[b,p]),--jQuery.active||jQuery.event.trigger("ajaxStop"))}},getJSON:function(t,e,i){return jQuery.get(t,e,i,"json")},getScript:function(t,e){return jQuery.get(t,void 0,e,"script")}}),jQuery.each(["get","post"],function(t,s){jQuery[s]=function(t,e,i,n){return jQuery.isFunction(e)&&(n=n||i,i=e,e=void 0),jQuery.ajax(jQuery.extend({url:t,type:s,dataType:n,data:e,success:i},jQuery.isPlainObject(t)&&t))}}),jQuery._evalUrl=function(t){return jQuery.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},jQuery.fn.extend({wrapAll:function(e){var t;return jQuery.isFunction(e)?this.each(function(t){jQuery(this).wrapAll(e.call(this,t))}):(this[0]&&(t=jQuery(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(i){return jQuery.isFunction(i)?this.each(function(t){jQuery(this).wrapInner(i.call(this,t))}):this.each(function(){var t=jQuery(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=jQuery.isFunction(e);return this.each(function(t){jQuery(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){jQuery.nodeName(this,"body")||jQuery(this).replaceWith(this.childNodes)}).end()}}),jQuery.expr.filters.hidden=function(t){return!jQuery.expr.filters.visible(t)},jQuery.expr.filters.visible=function(t){return 0<t.offsetWidth||0<t.offsetHeight||0<t.getClientRects().length};var Ie=/%20/g,Se=/\[\]$/,De=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i,Pe=(jQuery.param=function(t,e){function i(t,e){e=jQuery.isFunction(e)?e():null==e?"":e,s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var n,s=[];if(void 0===e&&(e=jQuery.ajaxSettings&&jQuery.ajaxSettings.traditional),jQuery.isArray(t)||t.jquery&&!jQuery.isPlainObject(t))jQuery.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,s,a){if(jQuery.isArray(t))jQuery.each(t,function(t,e){s||Se.test(n)?a(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,s,a)});else if(s||"object"!==jQuery.type(t))a(n,t);else for(var e in t)i(n+"["+e+"]",t[e],s,a)}(n,t[n],e,i);return s.join("&").replace(Ie,"+")},jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=jQuery.prop(this,"elements");return t?jQuery.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!jQuery(this).is(":disabled")&&Ee.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!lt.test(t))}).map(function(t,e){var i=jQuery(this).val();return null==i?null:jQuery.isArray(i)?jQuery.map(i,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:i.replace(De,"\r\n")}}).get()}}),jQuery.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(t){}},{0:200,1223:204}),N=jQuery.ajaxSettings.xhr(),Oe=(m.cors=!!N&&"withCredentials"in N,m.ajax=N=!!N,jQuery.ajaxTransport(function(s){var a,o;if(m.cors||N&&!s.crossDomain)return{send:function(t,e){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);a=function(t){return function(){a&&(a=o=n.onload=n.onerror=n.onabort=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(Pe[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=a(),o=n.onerror=a("error"),void 0!==n.onabort?n.onabort=o:n.onreadystatechange=function(){4===n.readyState&&w.setTimeout(function(){a&&o()})},a=a("abort");try{n.send(s.hasContent&&s.data||null)}catch(t){if(a)throw t}},abort:function(){a&&a()}}}),jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return jQuery.globalEval(t),t}}}),jQuery.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),jQuery.ajaxTransport("script",function(i){var n,s;if(i.crossDomain)return{send:function(t,e){n=jQuery("<script>
26").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),x.head.appendChild(n[0])},abort:function(){s&&s()}}}),[]),Me=/(=)\?(?=&|$)|\?\?/,Ne=(jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Oe.pop()||jQuery.expando+"_"+de++;return this[t]=!0,t}}),jQuery.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,a,o=!1!==t.jsonp&&(Me.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Me.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=jQuery.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Me,"$1"+n):!1!==t.jsonp&&(t.url+=(pe.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return a||jQuery.error(n+" was not called"),a[0]},t.dataTypes[0]="json",s=w[n],w[n]=function(){a=arguments},i.always(function(){void 0===s?jQuery(w).removeProp(n):w[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,Oe.push(n)),a&&jQuery.isFunction(s)&&s(a[0]),a=s=void 0}),"script"}),jQuery.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||x;var n=X.exec(t),i=!i&&[];return n?[e.createElement(n[1])]:(n=pt([t],e,i),i&&i.length&&jQuery(i).remove(),jQuery.merge([],n.childNodes))},jQuery.fn.load);function Le(t){return jQuery.isWindow(t)?t:9===t.nodeType&&t.defaultView}jQuery.fn.load=function(t,e,i){var n,s,a,o,r;return"string"!=typeof t&&Ne?Ne.apply(this,arguments):(o=this,-1<(r=t.indexOf(" "))&&(n=jQuery.trim(t.slice(r)),t=t.slice(0,r)),jQuery.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<o.length&&jQuery.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){a=arguments,o.html(n?jQuery("<div>").append(jQuery.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,a||[t.responseText,e,t])})}),this)},jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){jQuery.fn[e]=function(t){return this.on(e,t)}}),jQuery.expr.filters.animated=function(e){return jQuery.grep(jQuery.timers,function(t){return e===t.elem}).length},jQuery.offset={setOffset:function(t,e,i){var n,s,a,o,r=jQuery.css(t,"position"),l=jQuery(t),u={};"static"===r&&(t.style.position="relative"),a=l.offset(),n=jQuery.css(t,"top"),o=jQuery.css(t,"left"),r=("absolute"===r||"fixed"===r)&&-1<(n+o).indexOf("auto")?(s=(r=l.position()).top,r.left):(s=parseFloat(n)||0,parseFloat(o)||0),null!=(e=jQuery.isFunction(e)?e.call(t,i,jQuery.extend({},a)):e).top&&(u.top=e.top-a.top+s),null!=e.left&&(u.left=e.left-a.left+r),"using"in e?e.using.call(t,u):l.css(u)}},jQuery.fn.extend({offset:function(e){var t,i,n,s;return arguments.length?void 0===e?this:this.each(function(t){jQuery.offset.setOffset(this,e,t)}):(n={top:0,left:0},(s=(i=this[0])&&i.ownerDocument)?(t=s.documentElement,jQuery.contains(t,i)?(n=i.getBoundingClientRect(),i=Le(s),{top:n.top+i.pageYOffset-t.clientTop,left:n.left+i.pageXOffset-t.clientLeft}):n):void 0)},position:function(){var t,e,i,n;if(this[0])return i=this[0],n={top:0,left:0},"fixed"===jQuery.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),(n=jQuery.nodeName(t[0],"html")?n:t.offset()).top+=jQuery.css(t[0],"borderTopWidth",!0),n.left+=jQuery.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-jQuery.css(i,"marginTop",!0),left:e.left-n.left-jQuery.css(i,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===jQuery.css(t,"position");)t=t.offsetParent;return t||p})}}),jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var a="pageYOffset"===s;jQuery.fn[e]=function(t){return c(this,function(t,e,i){var n=Le(t);if(void 0===i)return n?n[s]:t[e];n?n.scrollTo(a?n.pageXOffset:i,a?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),jQuery.each(["top","left"],function(t,i){jQuery.cssHooks[i]=Wt(m.pixelPosition,function(t,e){if(e)return e=C(t,i),jt.test(e)?jQuery(t).position()[i]+"px":e})}),jQuery.each({Height:"height",Width:"width"},function(a,o){jQuery.each({padding:"inner"+a,content:o,"":"outer"+a},function(n,t){jQuery.fn[t]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");
vendor: 6,273 bytes, lines 26-31
26return c(this,function(t,e,i){var n;return jQuery.isWindow(t)?t.document.documentElement["client"+a]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+a],n["scroll"+a],t.body["offset"+a],n["offset"+a],n["client"+a])):void 0===i?jQuery.css(t,e,s):jQuery.style(t,e,i,s)},o,i?t:void 0,i,null)}})}),jQuery.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},size:function(){return this.length}}),jQuery.fn.andSelf=jQuery.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return jQuery});var Re=w.jQuery,ze=w.$;return jQuery.noConflict=function(t){return w.$===jQuery&&(w.$=ze),t&&w.jQuery===jQuery&&(w.jQuery=Re),jQuery},L||(w.jQuery=w.$=jQuery),jQuery}),
27/*! jQuery UI - v1.12.1 - 2018-06-15
28* http://jqueryui.com
29* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/resizable.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/selectmenu.js, widgets/slider.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
30* Copyright jQuery Foundation and other contributors; Licensed MIT */
31function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},x.extend(this._defaults,this.regional[""]),this.regional.en=x.extend(!0,{},this.regional[""]),this.regional["en-US"]=x.extend(!0,{},this.regional.en),this.dpDiv=i(x("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",e,function(){x(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",e,a)}function a(){x.datepicker._isDisabledDatepicker((g.inline?g.dpDiv.parent():g.input)[0])||(x(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),x(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).addClass("ui-datepicker-next-hover"))}function l(t,e){for(var i in x.extend(t,e),e)null==e[i]&&(t[i]=e[i])}function e(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}x.ui=x.ui||{},x.ui.version="1.12.1";var n,s,o,r,T,k,u,h,C,I,c,S,d,p=0,f=Array.prototype.slice;function D(t,e,i){return[parseFloat(t[0])*(c.test(t[0])?e/100:1),parseFloat(t[1])*(c.test(t[1])?i/100:1)]}function A(t,e){return parseInt(x.css(t,e),10)||0}x.cleanData=(d=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)try{(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove")}catch(t){}d(t)}),x.widget=function(t,i,e){var n,s,a,o={},r=t.split(".")[0],l=r+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),x.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr[":"][l.toLowerCase()]=function(t){return!!x.data(t,l)},x[r]=x[r]||{},n=x[r][t],s=x[r][t]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new s(t,e)},x.extend(s,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(a=new i).options=x.widget.extend({},a.options),x.each(e,function(e,n){return x.isFunction(n)?void(o[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=a,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}):void(o[e]=n);function s(){return i.prototype[e].apply(this,arguments)}function a(t){return i.prototype[e].apply(this,t)}}),s.prototype=x.widget.extend(a,{widgetEventPrefix:n&&a.widgetEventPrefix||t},o,{constructor:s,namespace:r,widgetName:t,widgetFullName:l}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,s,e._proto)}),delete n._childConstructors):i._childConstructors.push(s),x.widget.bridge(t,s),s}
vendor: 4,232 bytes, line 31
31,x.widget.extend=function(t){for(var e,i,n=f.call(arguments,1),s=0,a=n.length;s<a;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&void 0!==i&&(t[e]=x.isPlainObject(i)?x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):i);return t},x.widget.bridge=function(a,e){var o=e.prototype.widgetFullName||a;x.fn[a]=function(i){var t="string"==typeof i,n=f.call(arguments,1),s=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,o);return"instance"===i?(s=e,!1):e?x.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:x.error("no such method '"+i+"' for "+a+" widget instance"):x.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,o);t?(t.option(i||{}),t._init&&t._init()):x.data(this,o,new e(i,this))})),s}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=p++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,a=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(a={},t=(i=t.split(".")).shift(),i.length){for(n=a[t]=x.widget.extend({},this.options[t]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=e}return this._setOptions(a),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){function t(t,e){for(var i,n=0;t.length>n;n++)i=o.classesElementLookup[t[n]]||x(),i=s.add?x(x.unique(i.get().concat(s.element.get()))):x(i.not(s.element).get()),o.classesElementLookup[t[n]]=i,a.push(t[n]),e&&s.classes[t[n]]&&a.push(s.classes[t[n]])}var a=[],o=this;return s=x.extend({element:this.element,classes:this.options.classes||{}},s),this._on(s.element,{remove:"_untrackClassesElement"}),s.keys&&t(s.keys.match(/\S+/g)||[],!0),s.extra&&t(s.extra.match(/\S+/g)||[]),a.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))})}
vendor: 40,902 bytes, line 31
31,_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var s="string"==typeof t||null===t,e={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(s,a,t){var o,r=this;"boolean"!=typeof s&&(t=a,a=s,s=!1),t?(a=o=x(a),this.bindings=this.bindings.add(a)):(t=a,a=this.element,o=this.widget()),x.each(t,function(t,e){function i(){return s||!0!==r.options.disabled&&!x(this).hasClass("ui-state-disabled")?("string"==typeof e?r[e]:e).apply(r,arguments):void 0}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+r.eventNamespace,t=t[2];t?o.on(n,t,i):a.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,s,a=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(x.isFunction(a)&&!1===a.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(a,o){x.Widget.prototype["_"+a]=function(e,t,i){var n=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||o:a,s=!x.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),s&&x.effects&&x.effects.effect[n]?e[a](t):n!==a&&e[n]?e[n](t.duration,t.easing,i):e.queue(function(t){x(this)[a](),i&&i.call(e[0]),t()})}}),x.widget,T=Math.max,k=Math.abs,u=/left|center|right/,h=/top|center|bottom/,C=/[\+\-]\d+(\.[\d]+)?%?/,I=/^\w+/,c=/%$/,S=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==r?r:(i=(e=x("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),r=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=x.isWindow(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:i||n?{left:0,top:0}:x(t).offset(),scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(c){if(!c||!c.of)return S.apply(this,arguments);c=x.extend({},c);var d,p,f,m,g,t,v=x(c.of),y=x.position.getWithinInfo(c.within),_=x.position.getScrollInfo(y),b=(c.collision||"flip").split(" "),w={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:x.isWindow(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()};return v[0].preventDefault&&(c.at="left top"),p=e.width,f=e.height,g=x.extend({},m=e.offset),x.each(["my","at"],function(){var t,e,i=(c[this]||"").split(" ");(i=1===i.length?u.test(i[0])?i.concat(["center"]):h.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=u.test(i[0])?i[0]:"center",i[1]=h.test(i[1])?i[1]:"center",t=C.exec(i[0]),e=C.exec(i[1]),w[this]=[t?t[0]:0,e?e[0]:0],c[this]=[I.exec(i[0])[0],I.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===c.at[0]?g.left+=p:"center"===c.at[0]&&(g.left+=p/2),"bottom"===c.at[1]?g.top+=f:"center"===c.at[1]&&(g.top+=f/2),d=D(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,t,o=x(this),r=o.outerWidth(),l=o.outerHeight(),e=A(this,"marginLeft"),n=A(this,"marginTop"),s=r+e+A(this,"marginRight")+_.width,a=l+n+A(this,"marginBottom")+_.height,u=x.extend({},g),h=D(w.my,o.outerWidth(),o.outerHeight());"right"===c.my[0]?u.left-=r:"center"===c.my[0]&&(u.left-=r/2),"bottom"===c.my[1]?u.top-=l:"center"===c.my[1]&&(u.top-=l/2),u.left+=h[0],u.top+=h[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](u,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:a,offset:[d[0]+h[0],d[1]+h[1]],my:c.my,at:c.at,within:y,elem:o})}),c.using&&(t=function(t){var e=m.left-u.left,i=e+p-r,n=m.top-u.top,s=n+f-l,a={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:o,left:u.left,top:u.top,width:r,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<r&&p>k(e+i)&&(a.horizontal="center"),f<l&&f>k(n+s)&&(a.vertical="middle"),a.important=T(k(e),k(i))>T(k(n),k(s))?"horizontal":"vertical",c.using.call(this,t,a)}),o.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,a=t.left-e.collisionPosition.marginLeft,o=s-a,r=a+e.collisionWidth-n-s;e.collisionWidth>n?0<o&&r<=0?(i=t.left+o+e.collisionWidth-n-s,t.left+=o-i):t.left=!(0<r&&o<=0)&&r<o?s+n-e.collisionWidth:s:0<o?t.left+=o:0<r?t.left-=r:t.left=T(t.left-a,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,s=e.within.height,a=t.top-e.collisionPosition.marginTop,o=n-a,r=a+e.collisionHeight-s-n;e.collisionHeight>s?0<o&&r<=0?(i=t.top+o+e.collisionHeight-s-n,t.top+=o-i):t.top=!(0<r&&o<=0)&&r<o?n+s-e.collisionHeight:n:0<o?t.top+=o:0<r?t.top-=r:t.top=T(t.top-a,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,s=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,a=t.left-e.collisionPosition.marginLeft,o=a-i,a=a+e.collisionWidth-s-i,r="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,l="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,u=-2*e.offset[0];o<0?((s=t.left+r+l+u+e.collisionWidth-s-n)<0||k(o)>s)&&(t.left+=r+l+u):0<a&&(0<(n=t.left-e.collisionPosition.marginLeft+r+l+u-i)||a>k(n))&&(t.left+=r+l+u)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,s=i.height,i=i.isWindow?i.scrollTop:i.offset.top,a=t.top-e.collisionPosition.marginTop,o=a-i,a=a+e.collisionHeight-s-i,r="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,l="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,u=-2*e.offset[1];o<0?((s=t.top+r+l+u+e.collisionHeight-s-n)<0||k(o)>s)&&(t.top+=r+l+u):0<a&&(0<(n=t.top-e.collisionPosition.marginTop+r+l+u-i)||a>k(n))&&(t.top+=r+l+u)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.position,x.extend(x.expr[":"],{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),x.fn.extend({disableSelection:(o="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(o+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),x.ui.focusable=function(t,e){var i,n,s,a=t.nodeName.toLowerCase();return"area"===a?(s=(i=t.parentNode).name,!(!t.href||!s||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+s+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(a)?(n=!t.disabled)&&(s=x(t).closest("fieldset")[0])&&(n=!s.disabled):n="a"===a&&t.href||e,n&&x(t).is(":visible")&&function(t){for(var e=t.css("visibility");"inherit"===e;)e=(t=t.parent()).css("visibility");return"hidden"!==e}(x(t)))},x.extend(x.expr[":"],{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.ui.focusable,x.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element.form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},x.ui.escapeSelector=(s=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(s,"\\$1")}),x.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.ui.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},x.extend(x.expr[":"],{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),x.fn.extend({uniqueId:(n=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}),x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var m,g,v,y=!1,_=(x(document).on("mouseup",function(){y=!1}),x.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(t){return!0===x.data(t.target,e.widgetName+".preventClickEvent")?(x.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){var e,i,n;if(!y)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),i=1===(this._mouseDownEvent=t).which,n=!("string"!=typeof(e=this).options.cancel||!t.target.nodeName)&&x(t.target).closest(this.options.cancel).length,i&&!n&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?t.preventDefault():(!0===x.data(t.target,this.widgetName+".preventClickEvent")&&x.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),y=!0)),!0},_mouseMove:function(t){if(this._mouseMoved){if(x.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&x.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,y=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),x.ui.plugin={add:function(t,e,i){var n,s=x.ui[t].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var s,a=t.plugins[e];if(a&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;a.length>s;s++)t.options[a[s][0]]&&a[s][1].apply(t.element,i)}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},x.widget("ui.draggable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<x(t.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(t),!this.handle)||(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=x(this);return x("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=x.ui.safeActiveElement(this.document[0]);x(t.target).closest(e).length||x.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),x.ui.ddmanager&&(x.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===x(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),x.ui.ddmanager&&!e.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),x.ui.ddmanager&&x.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp(new x.Event("mouseup",t)),!1;this.position=e.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",x.ui.ddmanager&&x.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,i=!1;return x.ui.ddmanager&&!this.options.dropBehaviour&&(i=x.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||x.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?x(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),x.ui.ddmanager&&x.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),x.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new x.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!x(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,i=x.isFunction(e.helper),t=i?x(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i&&t[0]===this.element[0]&&this._setPositionRelative(),t[0]===this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=x.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&x.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t,e;return"relative"!==this.cssPosition?{top:0,left:0}:(t=this.element.position(),e=this._isRootNode(this.scrollParent[0]),{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e=this.options,i=this.document[0];return this.relativeContainer=null,e.containment?"window"===e.containment?void(this.containment=[x(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,x(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,x(window).scrollLeft()+x(window).width()-this.helperProportions.width-this.margins.left,x(window).scrollTop()+(x(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===e.containment?void(this.containment=[0,0,x(i).width()-this.helperProportions.width-this.margins.left,(x(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):e.containment.constructor===Array?void(this.containment=e.containment):("parent"===e.containment&&(e.containment=this.helper[0].parentNode),void((e=(i=x(e.containment))[0])&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i))):void(this.containment=null)},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"===t?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*t,left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*t}},_generatePosition:function(t,e){var i,n=this.options,s=this._isRootNode(this.scrollParent[0]),a=t.pageX,o=t.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(o=e&&(this.containment&&(i=this.relativeContainer?(e=this.relativeContainer.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.left<i[0]&&(a=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(o=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(a=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3])&&(o=i[3]+this.offset.click.top),n.grid&&(e=n.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,o=!i||e-this.offset.click.top>=i[1]||e-this.offset.click.top>i[3]?e:e-this.offset.click.top>=i[1]?e-n.grid[1]:e+n.grid[1],t=n.grid[0]?this.originalPageX+Math.round((a-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,a=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-n.grid[0]:t+n.grid[0]),"y"===n.axis&&(a=this.originalPageX),"x"===n.axis)?this.originalPageY:o)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,i){return i=i||this._uiHash(),x.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),x.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),x.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,i){var n=x.extend({},t,{item:i.element});i.sortables=[],x(i.options.connectToSortable).each(function(){var t=x(this).sortable("instance");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,n))})},stop:function(e,t,i){var n=x.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,x.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,n))})},drag:function(i,n,s){x.each(s.sortables,function(){var t=!1,e=this;e.positionAbs=s.positionAbs,e.helperProportions=s.helperProportions,e.offset.click=s.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,x.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,t=(this===e||!this._intersectsWith(this.containerCache)||!x.contains(e.element[0],this.element[0]))&&t})),t?(e.isOver||(e.isOver=1,s._parent=n.helper.parent(),e.currentItem=n.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return n.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=s.offset.click.top,e.offset.click.left=s.offset.click.left,e.offset.parent.left-=s.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=s.offset.parent.top-e.offset.parent.top,s._trigger("toSortable",i),s.dropped=e.element,x.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,e.fromOutside=s),e.currentItem&&(e._mouseDrag(i),n.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),n.helper.appendTo(s._parent),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,x.each(s.sortables,function(){this.refreshPositions()}))})}}),x.ui.plugin.add("draggable","cursor",{start:function(t,e,i){var n=x("body"),i=i.options;n.css("cursor")&&(i._cursor=n.css("cursor")),n.css("cursor",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&x("body").css("cursor",i._cursor)}}),x.ui.plugin.add("draggable","opacity",{start:function(t,e,i){e=x(e.helper),i=i.options;e.css("opacity")&&(i._opacity=e.css("opacity")),e.css("opacity",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&x(e.helper).css("opacity",i._opacity)}}),x.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var n=i.options,s=!1,a=i.scrollParentNotHidden[0],o=i.document[0];a!==o&&"HTML"!==a.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+a.offsetHeight-t.pageY<n.scrollSensitivity?a.scrollTop=s=a.scrollTop+n.scrollSpeed:t.pageY-i.overflowOffset.top<n.scrollSensitivity&&(a.scrollTop=s=a.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+a.offsetWidth-t.pageX<n.scrollSensitivity?a.scrollLeft=s=a.scrollLeft+n.scrollSpeed:t.pageX-i.overflowOffset.left<n.scrollSensitivity&&(a.scrollLeft=s=a.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(t.pageY-x(o).scrollTop()<n.scrollSensitivity?s=x(o).scrollTop(x(o).scrollTop()-n.scrollSpeed):x(window).height()-(t.pageY-x(o).scrollTop())<n.scrollSensitivity&&(s=x(o).scrollTop(x(o).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(t.pageX-x(o).scrollLeft()<n.scrollSensitivity?s=x(o).scrollLeft(x(o).scrollLeft()-n.scrollSpeed):x(window).width()-(t.pageX-x(o).scrollLeft())<n.scrollSensitivity&&(s=x(o).scrollLeft(x(o).scrollLeft()+n.scrollSpeed)))),!1!==s&&x.ui.ddmanager&&!n.dropBehaviour&&x.ui.ddmanager.prepareOffsets(i,t)}}),x.ui.plugin.add("draggable","snap",{start:function(t,e,i){var n=i.options;i.snapElements=[],x(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var t=x(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e,i){for(var n,s,a,o,r,l,u,h,c,d=i.options,p=d.snapTolerance,f=e.offset.left,m=f+i.helperProportions.width,g=e.offset.top,v=g+i.helperProportions.height,y=i.snapElements.length-1;0<=y;y--)l=(r=i.snapElements[y].left-i.margins.left)+i.snapElements[y].width,h=(u=i.snapElements[y].top-i.margins.top)+i.snapElements[y].height,m<r-p||l+p<f||v<u-p||h+p<g||!x.contains(i.snapElements[y].item.ownerDocument,i.snapElements[y].item)?(i.snapElements[y].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,x.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=!1):("inner"!==d.snapMode&&(n=p>=Math.abs(u-v),s=p>=Math.abs(h-g),a=p>=Math.abs(r-m),o=p>=Math.abs(l-f),n&&(e.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),s&&(e.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),a&&(e.position.left=i._convertPositionTo("relative",{top:0,left:r-i.helperProportions.width}).left),o)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),c=n||s||a||o,"outer"!==d.snapMode&&(n=p>=Math.abs(u-g),s=p>=Math.abs(h-v),a=p>=Math.abs(r-f),o=p>=Math.abs(l-m),n&&(e.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),s&&(e.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),a&&(e.position.left=i._convertPositionTo("relative",{top:0,left:r}).left),o)&&(e.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),!i.snapElements[y].snapping&&(n||s||a||o||c)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,x.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=n||s||a||o||c)}}),x.ui.plugin.add("draggable","stack",{start:function(t,e,i){var n,i=i.options,i=x.makeArray(x(i.stack)).sort(function(t,e){return(parseInt(x(t).css("zIndex"),10)||0)-(parseInt(x(e).css("zIndex"),10)||0)});i.length&&(n=parseInt(x(i[0]).css("zIndex"),10)||0,x(i).each(function(t){x(this).css("zIndex",n+t)}),this.css("zIndex",n+i.length))}}),x.ui.plugin.add("draggable","zIndex",{start:function(t,e,i){e=x(e.helper),i=i.options;e.css("zIndex")&&(i._zIndex=e.css("zIndex")),e.css("zIndex",i.zIndex)},stop:function(t,e,i){i=i.options;i._zIndex&&x(e.helper).css("zIndex",i._zIndex)}}),x.ui.draggable,x.widget("ui.resizable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(t,e){var i;return"hidden"!==x(t).css("overflow")&&(0<t[e=e&&"left"===e?"scrollLeft":"scrollTop"]||(t[e]=1,i=0<t[e],t[e]=0,i))},_create:function(){var t,e=this.options,i=this;this._addClass("ui-resizable"),x.extend(this,{_aspectRatio:!!e.aspectRatio,aspectRatio:e.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:e.helper||e.ghost||e.animate?e.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(x("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&x(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){function t(t){x(t).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()}var e;return this._mouseDestroy(),this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){"handles"===(this._super(t,e),t)&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var t,e,i,n,s,a=this.options,o=this;if(this.handles=a.handles||(x(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=x(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;i.length>e;e++)n="ui-resizable-"+(t=x.trim(i[e])),s=x("<div>"),this._addClass(s,"ui-resizable-handle "+n),s.css({zIndex:a.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.append(s);this._renderAxis=function(t){var e,i,n;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=x(this.handles[e]),this._on(this.handles[e],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=x(this.handles[e],this.element),n=/sw|ne|nw|se|n|s/.test(e)?n.outerHeight():n.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(s=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=s&&s[1]?s[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var e,i,n=!1;for(e in this.handles)i=x(this.handles[e])[0],i!==t.target&&!x.contains(i,t.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var e,i,n=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),n.containment&&(e+=x(n.containment).scrollLeft()||0,i+=x(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=x(".ui-resizable-"+this.axis).css("cursor"),x("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,n=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(i=i.apply(this,[t,n,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),x.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,n,s=this.options,a=this;return this._helper&&(i=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:a.sizeDiff.height,e=e?0:a.sizeDiff.width,e={width:a.helper.width()-e,height:a.helper.height()-i},i=parseFloat(a.element.css("left"))+(a.position.left-a.originalPosition.left)||null,n=parseFloat(a.element.css("top"))+(a.position.top-a.originalPosition.top)||null,s.animate||this.element.css(x.extend(e,{top:n,left:i})),a.helper.height(a.size.height),a.helper.width(a.size.width),this._helper)&&!s.animate&&this._proportionallyResize(),x("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n,s=this.options,s={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(t=s.minHeight*this.aspectRatio,i=s.minWidth/this.aspectRatio,e=s.maxHeight*this.aspectRatio,n=s.maxWidth/this.aspectRatio,s.minWidth<t&&(s.minWidth=t),s.minHeight<i&&(s.minHeight=i),e<s.maxWidth&&(s.maxWidth=e),n<s.maxHeight)&&(s.maxHeight=n),this._vBoundaries=s},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 5,779 bytes, line 31
31=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,a=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,u=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return a&&(t.width=e.minWidth),o&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),a&&u&&(t.left=r-e.minWidth),n&&u&&(t.left=r-e.maxWidth),o&&i&&(t.top=l-e.minHeight),s&&i&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||x("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return x.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return x.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return x.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return x.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){x.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),x.ui.plugin.add("resizable","animate",{stop:function(e){var i=x(this).resizable("instance"),t=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),a=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,s=s?0:i.sizeDiff.width,s={width:i.size.width-s,height:i.size.height-a},a=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(x.extend(s,o&&a?{top:o,left:a}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&x(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),x.ui.plugin.add("resizable","containment",{start:function(){var i,n,t,e,s=x(this).resizable("instance"),a=s.options,o=s.element,a=a.containment,o=a instanceof x?a.get(0):/parent/.test(a)?o.parent().get(0):a;o&&(s.containerElement=x(o),/document/.test(a)||a===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:x(document),left:0,top:0,width:x(document).width(),height:x(document).height()||document.body.parentNode.scrollHeight}):(i=x(o),n=[],x(["Top","Right","Left","Bottom"]).each(function(t,e){n[t]=s._num(i.css("padding"+e))}),s.containerOffset=i.offset(),s.containerPosition=i.position(),s.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},a=s.containerOffset,e=s.containerSize.height,t=s.containerSize.width,t=s._hasScroll(o,"left")?o.scrollWidth:t,e=s._hasScroll(o)?o.scrollHeight:e,s.parentData={element:o,left:a.left,top:a.top,width:t,height:e}))},resize:function(t){var e=x(this).resizable("instance"),i=e.options,n=e.containerOffset,s=e.position,t=e._aspectRatio||t.shiftKey,a={top:0,left:0},o=e.containerElement,r=!0;o[0]!==document&&/static/.test(o.css("position"))&&(a=n),s.left<(e._helper?n.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-n.left:e.position.left-a.left),t&&(e.size.height=e.size.width/e.aspectRatio,r=!1),e.position.left
vendor: 12,606 bytes, line 31
31=i.helper?n.left:0),s.top<(e._helper?n.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-n.top:e.position.top),t&&(e.size.width=e.size.height*e.aspectRatio,r=!1),e.position.top=e._helper?n.top:0),o=e.containerElement.get(0)===e.element.parent().get(0),i=/relative|absolute/.test(e.containerElement.css("position")),o&&i?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),s=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-a.left:e.offset.left-n.left)),o=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-a.top:e.offset.top-n.top)),s+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-s,t)&&(e.size.height=e.size.width/e.aspectRatio,r=!1),o+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-o,t)&&(e.size.width=e.size.height*e.aspectRatio,r=!1),r||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=x(this).resizable("instance"),e=t.options,i=t.containerOffset,n=t.containerPosition,s=t.containerElement,a=x(t.helper),o=a.offset(),r=a.outerWidth()-t.sizeDiff.width,a=a.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(s.css("position"))&&x(this).css({left:o.left-n.left-i.left,width:r,height:a}),t._helper&&!e.animate&&/static/.test(s.css("position"))&&x(this).css({left:o.left-n.left-i.left,width:r,height:a})}}),x.ui.plugin.add("resizable","alsoResize",{start:function(){var t=x(this).resizable("instance").options;x(t.alsoResize).each(function(){var t=x(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=x(this).resizable("instance"),n=e.options,s=e.originalSize,a=e.originalPosition,o={height:e.size.height-s.height||0,width:e.size.width-s.width||0,top:e.position.top-a.top||0,left:e.position.left-a.left||0};x(n.alsoResize).each(function(){var t=x(this),n=x(this).data("ui-resizable-alsoresize"),s={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];x.each(e,function(t,e){var i=(n[e]||0)+(o[e]||0);i&&0<=i&&(s[e]=i||null)}),t.css(s)})},stop:function(){x(this).removeData("ui-resizable-alsoresize")}}),x.ui.plugin.add("resizable","ghost",{start:function(){var t=x(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==x.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=x(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=x(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),x.ui.plugin.add("resizable","grid",{resize:function(){var t,e=x(this).resizable("instance"),i=e.options,n=e.size,s=e.originalSize,a=e.originalPosition,o=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=r[0]||1,u=r[1]||1,h=Math.round((n.width-s.width)/l)*l,n=Math.round((n.height-s.height)/u)*u,c=s.width+h,d=s.height+n,p=i.maxWidth&&c>i.maxWidth,f=i.maxHeight&&d>i.maxHeight,m=i.minWidth&&i.minWidth>c,g=i.minHeight&&i.minHeight>d;i.grid=r,m&&(c+=l),g&&(d+=u),p&&(c-=l),f&&(d-=u),/^(se|s|e)$/.test(o)?(e.size.width=c,e.size.height=d):/^(ne)$/.test(o)?(e.size.width=c,e.size.height=d,e.position.top=a.top-n):/^(sw)$/.test(o)?(e.size.width=c,e.size.height=d,e.position.left=a.left-h):((d-u<=0||c-l<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0<d-u?(e.size.height=d,e.position.top=a.top-n):(d=u-t.height,e.size.height=d,e.position.top=a.top+s.height-d),0<c-l?(e.size.width=c,e.position.left=a.left-h):(c=l-t.width,e.size.width=c,e.position.left=a.left+s.width-c))}}),x.ui.resizable,x.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=x(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():x()}},_createIcons:function(){var t,e=this.options.icons;e&&(t=x("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+e.header),t.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,e.header)._addClass(t,null,e.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?void this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),void("icons"===t&&(this._destroyIcons(),e)&&this._createIcons()))},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=x.ui.keyCode,i=this.headers.length,n=this.headers.index(t.target),s=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:s=this.headers[(n+1)%i];break;case e.LEFT:case e.UP:s=this.headers[(n-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:s=this.headers[0];break;case e.END:s=this.headers[i-1]}s&&(x(t.target).attr("tabIndex",-1),x(s).attr("tabIndex",0),x(s).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===x.ui.keyCode.UP&&t.ctrlKey&&x(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=x()):!1===t.active?this._activate(0):this.active.length&&!x.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=x()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var i,t=this.options,e=t.heightStyle,n=this.element.parent();this.active=this._findActive(t.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var t=x(this),e=t.uniqueId().attr("id"),i=t.next(),n=i.uniqueId().attr("id");t.attr("aria-controls",n),i.attr("aria-labelledby",e)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=n.height(),this.element.siblings(":visible").each(function(){var t=x(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=x(this).outerHeight(!0)}),this.headers.next().each(function(){x(this).height(Math.max(0,i-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){var t=x(this).is(":visible");t||x(this).show(),i=Math.max(i,x(this).css("height","").height()),t||x(this).hide()}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):x()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&x.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,n=x(t.currentTarget),s=n[0]===i[0],a=s&&e.collapsible,o=a?x():n.next(),r=i.next(),r={oldHeader:i,oldPanel:r,newHeader:a?x():n,newPanel:o};t.preventDefault(),s&&!e.collapsible||!1===this._trigger("beforeActivate",t,r)||(e.active=!a&&this.headers.index(n),this.active=s?x():n,this._toggle(r),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),e.icons&&(o=i.children(".ui-accordion-header-icon"),this._removeClass(o,null,e.icons.activeHeader)._addClass(o,null,e.icons.header)),s)||(this._removeClass(n,"ui-accordion-header-collapsed")._addClass(n,"ui-accordion-header-active","ui-state-active"),e.icons&&(t=n.children(".ui-accordion-header-icon"),this._removeClass(t,null,e.icons.header)._addClass(t,null,e.icons.activeHeader)),this._addClass(n.next(),"ui-accordion-content-active"))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),e.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):e.length&&this.headers.filter(function(){return 0===parseInt(x(this).attr("tabIndex"),10)}).attr("tabIndex",-1),e.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,i,e){function n(){a._toggleComplete(e)}var s,a=this,o=0,r=t.css("box-sizing"),l=t.length&&(!i.length||t.index()<i.index()),u=this.options.animate||{},l=l&&u.down||u,h=(h="string"==typeof l?l:h)||l.easing||u.easing,c=(c="number"==typeof l?l:c)||l.duration||u.duration;return i.length?t.length?(s=t.show().outerHeight(),i.animate(this.hideProps,{duration:c,easing:h,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:c,easing:h,complete:n,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?"content-box"===r&&(o+=e.now):"content"!==a.options.heightStyle&&(e.now=Math.round(s-i.outerHeight()-o),o=0)}})):i.animate(this.hideProps,c,h,n):t.animate(this.showProps,c,h,n)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),x.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"}
vendor: 6,792 bytes, line 31
31,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":function(t){var e,i;this.previousFilter||(e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i)))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,n,s=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",n=s=!1,i=96<=t.keyCode&&t.keyCode<=105?""+(t.keyCode-96):String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?n=!0:i=e+i,e=this._filterMenuItems(i),(e=n&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}s&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,n=this,s=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+s),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);n._isDivider(t)&&n._addClass(t,"ui-menu-divider","ui-widget-content")}),e=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(e,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,n;this._hasScroll()&&(e=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-e-i,i=this.activeMenu.scrollTop(),n=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):n<e+t&&this.activeMenu.scrollTop(i+e-n+t))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=x.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:x(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this._removeClass(t.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=t},this.delay)},_close:function(t){(t=t||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
31se")},_closeOnDocumentClick:function(t){return!x(t.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;(n=this.active?"first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0):n)&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[e]()),this.focus(i,n)},nextPage:function(t){var e,i,n;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=x(this)).offset().top-i-n<0}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(t)},previousPage:function(t){var e,i,n;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=x(this)).offset().top-i+n}),this.focus(t,e)):this.focus(t,this.activeMenu.find(this.options.items).first()))):void this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||x(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)},_filterMenuItems:function(t){var t=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),e=RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return e.test(x.trim(x(this).children(".ui-menu-item-wrapper").text()))})}}),x.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,n,s,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:n=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault();else if(!n){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){return s?(s=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=x("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==x.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(t,e){var i;return this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent)&&/^mouse/.test(t.originalEvent.type)?(this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)})):(i=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:i}
vendor: 11,363 bytes, line 31
31)&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value),void((e=e.item.attr("aria-label")||i.value)&&x.trim(e).length&&(this.liveRegion.children().hide(),x("<div>").text(e).appendTo(this.liveRegion))))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_initSource:function(){var i,n,s=this;x.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,e){s.xhr&&s.xhr.abort(),s.xhr=x.ajax({url:n,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return x.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t=t&&this._normalize(t),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:x.map(t,function(t){return"string"==typeof t?{label:t,value:t}:x.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(x.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var n=this;x.each(t,function(t,e){n._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return x("<li>").append(x("<div>").text(e.label)).appendTo(t)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){var e;return!!t.length&&("inherit"===(e=t.prop("contentEditable"))?this._isContentEditable(t.parent()):"true"===e)}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),x("<div>").text(e).appendTo(this.liveRegion))}}),x.ui.autocomplete,/ui-corner-([a-z]){2,6}/g);x.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var a=this,o=[];x.each(this.options.items,function(n,t){var e,s;return t?"controlgroupLabel"===n?((e=a.element.find(t)).each(function(){var t=x(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),a._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),void(o=o.concat(e.get()))):void(x.fn[n]&&(s=a["_"+n+"Options"]?a["_"+n+"Options"]("middle"):{classes:{}},a.element.find(t).each(function(){var t=x(this),e=t[n]("instance"),i=x.widget.extend({},s);"button"===n&&t.parent(".ui-spinner").length||((e=e||t[n]()[n]("instance"))&&(i.classes=a._resolveClassesValues(i.classes,e)),t[n](i),i=t[n]("widget"),x.data(i[0],"ui-controlgroup-data",e||t[n]("instance")),o.push(i[0]))}))):void 0}),this.childWidgets=x(x.unique(o)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=x(this).data("ui-controlgroup-data");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var s={};return x.each(i,function(t){var e=n.options.classes[t]||"",e=x.trim(e.replace(_,""));s[t]=(e+" "+i[t]).replace(/\s+/g," ")}),s},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?void this._callChildMethod(e?"disable":"enable"):void this.refresh()},refresh:function(){var s,a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),s=this.childWidgets,(s=this.options.onlyVisible?s.filter(":visible"):s).length&&(x.each(["first","last"],function(t,e){var i,n=s[e]().data("ui-controlgroup-data");n&&a["_"+n.widgetName+"Options"]?((i=a["_"+n.widgetName+"Options"](1===s.length?"only":e)).classes=a._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):a._updateCornerClass(s[e](),e)}),this._callChildMethod("refresh"))}}),x.widget("ui.checkboxradio",[x.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,e=this,i=this._super()||{};return this._readType(),t=this.element.labels(),this.label=x(t[t.length-1]),this.label.length||x.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){e.originalLabel+=3===this.nodeType?x(this).text():this.outerHTML}),this.originalLabel&&(i.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(i.disabled=t),i},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon)&&this._addClass(this.icon,null,"ui-state-hover"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();
vendor: 1,435 bytes, line 31
31this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||x.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,e="input[name='"+x.ui.escapeSelector(t)+"']";return t?(this.form.length?x(this.form[0].elements).filter(e):x(e).filter(function(){return 0===x(this).form().length})).not(this.element):x([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each(function(){var t=x(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){return"label"!==t||e?(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e)):void this.refresh()):void 0},_updateIcon:function(t){var e="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=x("<span>"),this.iconSpace=x("<span> </span>
31"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(e+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):e+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",e),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),(t=this.iconSpace?t.not(this.iconSpace[0]):t).remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),x.ui.checkboxradio,x.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===x.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,e){var t="iconPosition"!==t,i=t?this.options.iconPosition:e,n="top"===i||"bottom"===i;this.icon?t&&this._removeClass(this.icon,null,this.options.icon):(this.icon=x("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),t&&this._addClass(this.icon,null,e),this._attachIcon(i),n?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 25,830 bytes, line 31
31pace||(this.iconSpace=x("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(i))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=(void 0===t.showLabel?this.options:t).showLabel,i=(void 0===t.icon?this.options:t).icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace)&&this.iconSpace.remove()),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e)&&this.element.blur()},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==x.uiBackCompat&&(x.widget("ui.button",x.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){return"text"===t?void this._super("showLabel",e):("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),void this._superApply(arguments))}}),x.fn.button=(m=x.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?m.apply(this,arguments):(x.ui.checkboxradio||x.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),x.fn.buttonset=function(){return x.ui.controlgroup||x.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),x.ui.button,x.extend(x.ui,{datepicker:{version:"1.12.1"}}),x.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return l(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,n=t.nodeName.toLowerCase(),s="div"===n||"span"===n;t.id||(this.uuid+=1,t.id="dp"+this.uuid),(i=this._newInst(x(t),s)).settings=x.extend({},e||{}),"input"===n?this._connectDatepicker(t,i):s&&this._inlineDatepicker(t,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(x("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=x(t);e.append=x([]),e.trigger=x([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(e),x.data(t,"datepicker",e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,n=this._get(e,"appendText"),s=this._get(e,"isRTL");e.append&&e.append.remove(),n&&(e.append=x("<span class='"+this._appendClass+"'>"+n+"</span>"),t[s?"before":"after"](e.append)),t.off("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(n=this._get(e,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(n=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=x(this._get(e,"buttonImageOnly")?x("<img/>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):x("<button type='button'></button>").addClass(this._triggerClass).html(i?x("<img/>").attr({src:i,alt:n,title:n}):n)),t[s?"before":"after"](e.trigger),e.trigger.on("click",function(){return x.datepicker._datepickerShowing&&x.datepicker._lastInput===t[0]?x.datepicker._hideDatepicker():(x.datepicker._datepickerShowing&&x.datepicker._lastInput!==t[0]&&x.datepicker._hideDatepicker(),x.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,n,s,a,o;this._get(t,"autoSize")&&!t.inline&&(a=new Date(2009,11,20),(o=this._get(t,"dateFormat")).match(/[DM]/)&&(a.setMonth((e=function(t){for(s=n=i=0;t.length>s;s++)t[s].length>i&&(i=t[s].length,n=s);return n})(this._get(t,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(e(this._get(t,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),t.input.attr("size",this._formatDate(t,a).length))},_inlineDatepicker:function(t,e){var i=x(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),x.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,n,s){var a,o=this._dialogInst;return o||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=x("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),x("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},x.data(this._dialogInput[0],"datepicker",o)),l(o.settings,n||{}),e=e&&e.constructor===Date?this._formatDate(o,e):e,this._dialogInput.val(e),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(a=document.documentElement.clientWidth,n=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+e,n/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),x.blockUI&&x.blockUI(this.dpDiv),x.data(this._dialogInput[0],"datepicker",o),this},_destroyDatepicker:function(t){var e,i=x(t),n=x.data(t,"datepicker");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),x.removeData(t,"datepicker"),"input"===e?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty(),g===n)&&(g=null)},_enableDatepicker:function(e){var t,i=x(e),n=x.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=x.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i=x(e),n=x.data(e,"datepicker");i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=x.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(t)for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return x.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var n,s,a,o,r=this._getInst(t);return 2===arguments.length&&"string"==typeof e?"defaults"===e?x.extend({},x.datepicker._defaults):r?"all"===e?x.extend({},r.settings):this._get(r,e):null:(n=e||{},"string"==typeof e&&((n={})[e]=i),void(r&&(this._curInst===r&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),a=this._getMinMaxDate(r,"min"),o=this._getMinMaxDate(r,"max"),l(r.settings,n),null!==a&&void 0!==n.dateFormat&&void 0===n.minDate&&(r.settings.minDate=this._formatDate(r,a)),null!==o&&void 0!==n.dateFormat&&void 0===n.maxDate&&(r.settings.maxDate=this._formatDate(r,o)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(x(t),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r))))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){t=this._getInst(t);t&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){t=this._getInst(t);t&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){t=this._getInst(t);return t&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e,i,n=x.datepicker._getInst(t.target),s=!0,a=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,x.datepicker._datepickerShowing)switch(t.keyCode){case 9:x.datepicker._hideDatepicker(),s=!1;break;case 13:return(i=x("td."+x.datepicker._dayOverClass+":not(."+x.datepicker._currentClass+")",n.dpDiv))[0]&&x.datepicker._selectDay(t.target,n.selectedMonth,n.selectedYear,i[0]),(i=x.datepicker._get(n,"onSelect"))?(e=x.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[e,n])):x.datepicker._hideDatepicker(),!1;case 27:x.datepicker._hideDatepicker();break;case 33:x.datepicker._adjustDate(t.target,t.ctrlKey?-x.datepicker._get(n,"stepBigMonths"):-x.datepicker._get(n,"stepMonths"),"M");break;case 34:x.datepicker._adjustDate(t.target,t.ctrlKey?+x.datepicker._get(n,"stepBigMonths"):+x.datepicker._get(n,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&x.datepicker._clearDate(t.target),s=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&x.datepicker._gotoToday(t.target),s=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,a?1:-1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&x.datepicker._adjustDate(t.target,t.ctrlKey?-x.datepicker._get(n,"stepBigMonths"):-x.datepicker._get(n,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,-7,"D"),s=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,a?-1:1,"D"),s=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&x.datepicker._adjustDate(t.target,t.ctrlKey?+x.datepicker._get(n,"stepBigMonths"):+x.datepicker._get(n,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&x.datepicker._adjustDate(t.target,7,"D"),s=t.ctrlKey||t.metaKey;break;default:s=!1}else 36===t.keyCode&&t.ctrlKey?x.datepicker._showDatepicker(this):s=!1;s&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i=x.datepicker._getInst(t.target);return x.datepicker._get(i,"constrainInput")?(i=x.datepicker._possibleChars(x.datepicker._get(i,"dateFormat")),e=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||e<" "||!i||-1<i.indexOf(e)):void 0},_doKeyUp:function(t){t=x.datepicker._getInst(t.target);if(t.input.val()!==t.lastVal)try{x.datepicker.parseDate(x.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,x.datepicker._getFormatConfig(t))&&(x.datepicker._setDateFromField(t),x.datepicker._updateAlternate(t),x.datepicker._updateDatepicker(t))}catch(t){}return!0},_showDatepicker:function(t){var e,i,n,s;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=x("input",t.parentNode)[0]),x.datepicker._isDisabledDatepicker(t)||x.datepicker._lastInput===t||(s=x.datepicker._getInst(t),x.datepicker._curInst&&x.datepicker._curInst!==s&&(x.datepicker._curInst.dpDiv.stop(!0,!0),s)&&x.datepicker._datepickerShowing&&x.datepicker._hideDatepicker(x.datepicker._curInst.input[0]),!1!==(i=(i=x.datepicker._get(s,"beforeShow"))?i.apply(t,[t,s]):{})&&(l(s.settings,i),s.lastVal=null,x.datepicker._lastInput=t,x.datepicker._setDateFromField(s),x.datepicker._inDialog&&(t.value=""),x.datepicker._pos||(x.datepicker._pos=x.datepicker._findPos(t),x.datepicker._pos[1]+=t.offsetHeight),e=!1,x(t).parents().each(function(){return!(e|="fixed"===x(this).css("position"))}),i={left:x.datepicker._pos[0],top:x.datepicker._pos[1]},x.datepicker._pos=null,s.dpDiv.empty(),s.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),x.datepicker._updateDatepicker(s),i=x.datepicker._checkOffset(s,i,e),s.dpDiv.css({position:x.datepicker._inDialog&&x.blockUI?"static":e?"fixed":"absolute",display:"none",left:i.left+"px",top:i.top+"px"}),s.inline||(i=x.datepicker._get(s,"showAnim"),n=x.datepicker._get(s,"duration"),s.dpDiv.css("z-index",function(t){for(var e;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(e=parseInt(t.css("zIndex"),10),!isNaN(e))&&0!==e)return e;t=t.parent()}return 0}(x(t))+1),x.datepicker._datepickerShowing=!0,x.effects&&x.effects.effect[i]?s.dpDiv.show(i,x.datepicker._get(s,"showOptions"),n):s.dpDiv[i||"show"](i?n:null),x.datepicker._shouldFocusInput(s)&&s.input.trigger("focus"),x.datepicker._curInst=s)))},_updateDatepicker:function(t){this.maxRows=4,(g=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var e,i=this._getNumberOfMonths(t),n=i[1],s=t.dpDiv.find("."+this._dayOverClass+" a");0<s.length&&a.apply(s.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===x.datepicker._curInst&&x.datepicker._datepickerShowing&&x.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(t,e,i){var n=t.dpDiv.outerWidth(),s=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:x(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:x(document).scrollTop());return e.left-=this._get(t,"isRTL")?n-a:0,e.left-=i&&e.left===t.input.offset().left?x(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+o?x(document).scrollTop():0,e.left-=Math.min(e.left,e.left+n>r&&n<r?Math.abs(e.left+n-r):0),e.top-=Math.min(e.top,e.top+s>l&&s<l?Math.abs(s+o):0),e},_findPos:function(t){for(var e=this._getInst(t),i=this._get(e,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||x.expr.filters.hidden(t));)t=t[i?"previousSibling":"nextSibling"];return[(e=x(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,n=this._curInst;!n||t&&n!==x.data(t,"datepicker")||this._datepickerShowing&&(t=this._get(n,"showAnim"),i=this._get(n,"duration"),e=function(){x.datepicker._tidyDialog(n)},x.effects&&(x.effects.effect[t]||x.effects[t])?n.dpDiv.hide(t,x.datepicker._get(n,"showOptions"),i,e):n.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?i:null,e),t||e(),this._datepickerShowing=!1,(i=this._get(n,"onClose"))&&i.apply(n.input?n.input[0]:null,[n.input?n.input.val():"",n]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),x.blockUI)&&(x.unblockUI(),x("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){var e;x.datepicker._curInst&&(t=x(t.target),e=x.datepicker._getInst(t[0]),!(t[0].id===x.datepicker._mainDivId||0!==t.parents("#"+x.datepicker._mainDivId).length||t.hasClass(x.datepicker.markerClassName)||t.closest("."+x.datepicker._triggerClass).length||!x.datepicker._datepickerShowing||x.datepicker._inDialog&&x.blockUI)||t.hasClass(x.datepicker.markerClassName)&&x.datepicker._curInst!==e)&&x.datepicker._hideDatepicker()},_adjustDate:function(t,e,i){var t=x(t),n=this._getInst(t[0]);this._isDisabledDatepicker(t[0])||(this._adjustInstDate(n,e+("M"===i?this._get(n,"showCurrentAtPos"):0),i),this._updateDatepicker(n))},_gotoToday:function(t){var e,t=x(t),i=this._getInst(t[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(e=new Date,i.selectedDay=e.getDate(),i.drawMonth=i.selectedMonth=e.getMonth(),i.drawYear=i.selectedYear=e.getFullYear()),this._notifyChange(i),this._adjustDate(t)},_selectMonthYear:function(t,e,i){var t=x(t),n=this._getInst(t[0]);n["selected"+("M"===i?"Month":"Year")]=n["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(t)},_selectDay:function(t,e,i,n){var s=x(t);x(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(s[0])||((s=this._getInst(s[0])).selectedDay=s.currentDay=x("a",n).html(),s.selectedMonth=s.currentMonth=e,s.selectedYear=s.currentYear=i,this._selectDate(t,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(t){t=x(t);this._selectDate(t,"")},_selectDate:function(t,e){var i,t=x(t),t=this._getInst(t[0]);e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t),(i=this._get(t,"onSelect"))?i.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var e,i,n=this._get(t,"altField");n&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),e=this._getDate(t),i=this.formatDate(i,e,this._getFormatConfig(t)),x(n).val(i))},noWeekends:function(t){t=t.getDay();return[0<t&&t<6,""]},iso8601Week:function(t){var e,t=new Date(t.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),e=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(e,s,t){if(null==e||null==s)throw"Invalid arguments";if(!(s="object"==typeof s?""+s:s+""))return null;function i(t){var e=_(t),e="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,t=RegExp("^\\d{"+("y"===t?e:1)+","+e+"}"),e=s.substring(l).match(t);if(e)return l+=e[0].length,parseInt(e[0],10);throw"Missing number at position "+l}function n(t,e,i){var n=-1,t=x.map(_(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(x.each(t,function(t,e){var i=e[1];return s.substr(l,i.length).toLowerCase()===i.toLowerCase()?(n=e[0],l+=i.length,!1):void 0}),-1!==n)return n+1;throw"Unknown name at position "+l}function a(){if(s.charAt(l)!==e.charAt(b))throw"Unexpected literal at position "+l;l++}for(var o,r,l=0,u=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof u?u:(new Date).getFullYear()%100+parseInt(u,10),h=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,c=(t?t.dayNames:null)||this._defaults.dayNames,d=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,p=(t?t.monthNames:null)||this._defaults.monthNames,f=-1,m=-1,g=-1,v=-1,y=!1,_=function(t){t=e.length>b+1&&e.charAt(b+1)===t;return t&&b++,t},b=0;e.length>b;b++)if(y)"'"!==e.charAt(b)||_("'")?a():y=!1;else switch(e.charAt(b)){case"d":g=i("d");break;case"D":n("D",h,c);break;case"o":v=i("o");break;case"m":m=i("m");break;case"M":m=n("M",d,p);break;case"y":f=i("y");break;case"@":f=(r=new Date(i("@"))).getFullYear(),m=r.getMonth()+1,g=r.getDate();break;case"!":f=(r=new Date((i("!")-this._ticksTo1970)/1e4)).getFullYear(),m=r.getMonth()+1,g=r.getDate();break;case"'":_("'")?a():y=!0;break;default:a()}if(s.length>l&&(t=s.substr(l),!/^\s+/.test(t)))throw"Extra/unparsed characters found in date: "+t;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=u?0:-100)),-1<v)for(m=1,g=v;!(g<=(o=this._getDaysInMonth(f,m-1)));)m++,g-=o;if((r=this._daylightSavingAdjust(new Date(f,m-1,g))).getFullYear()!==f||r.getMonth()+1!==m||r.getDate()!==g)throw"Invalid date";return r},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";function n(t,e,i){var n=""+e;if(h(t))for(;i>n.length;)n="0"+n;return n}function s(t,e,i,n){return(h(t)?n:i)[e]}var a,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,u=(i?i.monthNames:null)||this._defaults.monthNames,h=function(t){t=e.length>a+1&&e.charAt(a+1)===t;return t&&a++,t},c="",d=!1;if(t)for(a=0;e.length>a;a++)if(d)"'"!==e.charAt(a)||h("'")?c+=e.charAt(a):d=!1;else switch(e.charAt(a)){case"d":c+=n("d",t.getDate(),2);break;case"D":c+=s("D",t.getDay(),o,r);break;case"o":c+=n("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=n("m",t.getMonth()+1,2);break;case"M":c+=s("M",t.getMonth(),l,u);break;case"y":c+=h("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":c+=t.getTime();break;case"!":c+=1e4*t.getTime()+this._ticksTo1970;break;case"'":h("'")?c+="'":d=!0;break;default:c+=e.charAt(a)}return c},_possibleChars:function(e){function t(t){t=e.length>s+1&&e.charAt(s+1)===t;return t&&s++,t}for(var i="",n=!1,s=0;e.length>s;s++)if(n)"'"!==e.charAt(s)||t("'")?i+=e.charAt(s):n=!1;else switch(e.charAt(s)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":t("'")?i+="'":n=!0;break;default:i+=e.charAt(s)}return i},_get:function(t,e){return(void 0!==t.settings[e]?t.settings:this._defaults)[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,s=this._getDefaultDate(t),a=s,o=this._getFormatConfig(t);try{a=this.parseDate(i,n,o)||s}catch(t){n=e?"":n}t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),t.currentDay=n?a.getDate():0,t.currentMonth=n?a.getMonth():0,t.currentYear=n?a.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(r,t,e){var i,n=null==t||""===t?e:"string"==typeof t?function(t){try{return x.datepicker.parseDate(x.datepicker._get(r,"dateFormat"),t,x.datepicker._getFormatConfig(r))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?x.datepicker._getDate(r):null)||new Date,i=e.getFullYear(),n=e.getMonth(),s=e.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=a.exec(t);o;){switch(o[2]||"d"){case"d":case"D":s+=parseInt(o[1],10);break;case"w":case"W":s+=7*parseInt(o[1],10);break;case"m":case"M":n+=parseInt(o[1],10),s=Math.min(s,x.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(o[1],10),s=Math.min(s,x.datepicker._getDaysInMonth(i,n))}o=a.exec(t)}return new Date(i,n,s)}(t):"number"==typeof t?isNaN(t)?e:(n=t,(i=new Date).setDate(i.getDate()+n),i):new Date(t.getTime());return(n=n&&"Invalid Date"==""+n?e:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,a=t.selectedYear,e=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),s===t.selectedMonth&&a===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");
vendor: 5,714 bytes, line 31
31t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){x.datepicker._adjustDate(i,-e,"M")},next:function(){x.datepicker._adjustDate(i,+e,"M")},hide:function(){x.datepicker._hideDatepicker()},today:function(){x.datepicker._gotoToday(i)},selectDay:function(){return x.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return x.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return x.datepicker._selectMonthYear(i,this,"Y"),!1}};x(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,s,a,R,z,H,F,o,r,j,l,u,h,c,d,p,f,m,g,v,W,y,_,b,w,q,B,x,T,k,C=new Date,U=this._daylightSavingAdjust(new Date(C.getFullYear(),C.getMonth(),C.getDate())),I=this._get(t,"isRTL"),C=this._get(t,"showButtonPanel"),S=this._get(t,"hideIfNoPrevNext"),D=this._get(t,"navigationAsDateFormat"),A=this._getNumberOfMonths(t),E=this._get(t,"showCurrentAtPos"),P=this._get(t,"stepMonths"),$=1!==A[0]||1!==A[1],Y=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),O=this._getMinMaxDate(t,"min"),M=this._getMinMaxDate(t,"max"),N=t.drawMonth-E,L=t.drawYear;if(N<0&&(N+=12,L--),M)for(e=this._daylightSavingAdjust(new Date(M.getFullYear(),M.getMonth()-A[0]*A[1]+1,M.getDate())),e=O&&e<O?O:e;this._daylightSavingAdjust(new Date(L,N,1))>e;)--N<0&&(N=11,L--);for(t.drawMonth=N,t.drawYear=L,E=this._get(t,"prevText"),E=D?this.formatDate(E,this._daylightSavingAdjust(new Date(L,N-P,1)),this._getFormatConfig(t)):E,i=this._canAdjustMonth(t,-1,L,N)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+E+"'><span class='ui-icon ui-icon-circle-triangle-"+(I?"e":"w")+"'>"+E+"</span></a>":S?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+E+"'><span class='ui-icon ui-icon-circle-triangle-"+(I?"e":"w")+"'>"+E+"</span></a>",E=this._get(t,"nextText"),E=D?this.formatDate(E,this._daylightSavingAdjust(new Date(L,N+P,1)),this._getFormatConfig(t)):E,n=this._canAdjustMonth(t,1,L,N)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+E+"'><span class='ui-icon ui-icon-circle-triangle-"+(I?"w":"e")+"'>"+E+"</span></a>":S?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+E+"'><span class='ui-icon ui-icon-circle-triangle-"+(I?"w":"e")+"'>"+E+"</span></a>",P=this._get(t,"currentText"),S=this._get(t,"gotoCurrent")&&t.currentDay?Y:U,P=D?this.formatDate(P,S,this._getFormatConfig(t)):P,E=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",D=C?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(I?E:"")+(this._isInRange(t,S)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+P+"</button>":"")+(I?"":E)+"</div>":"",s=parseInt(this._get(t,"firstDay"),10),s=isNaN(s)?0:s,a=this._get(t,"showWeek"),R=this._get(t,"dayNames"),z=this._get(t,"dayNamesMin"),H=this._get(t,"monthNames"),F=this._get(t,"monthNamesShort"),o=this._get(t,"beforeShowDay"),r=this._get(t,"showOtherMonths"),j=this._get(t,"selectOtherMonths"),l=this._getDefaultDate(t),u="",c=0;A[0]>c;c++){for(d="",this.maxRows=4,p=0;A[1]>p;p++){if(f=this._daylightSavingAdjust(new Date(L,N,t.selectedDay)),m=" ui-corner-all",g="",$){if(g+="<div class='ui-datepicker-group",1<A[1])switch(p){case 0:g+=" ui-datepicker-group-first",m=" ui-corner-"+(I?"right":"left");break;case A[1]-1:g+=" ui-datepicker-group-last",m=" ui-corner-"+(I?"left":"right");break;default:g+=" ui-datepicker-group-middle",m=""}g+="'>"}for(g+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+m+"'>"+(/all|left/.test(m)&&0===c?I?n:i:"")+(/all|right/.test(m)&&0===c?I?i:n:"")+this._generateMonthYearHeader(t,N,L,O,M,0<c||0<p,H,F)+"</div><table class='ui-datepicker-calendar'><thead><tr>",v=a?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",h=0;h<7;h++)v+="<th scope='col'"+(5<=(h+s+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+R[W=(h+s)%7]+"'>"+z[W]+"</span></th>";for(g+=v+"</tr></thead><tbody>",_=this._getDaysInMonth(L,N),L===t.selectedYear&&N===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,_)),y=(this._getFirstDayOfMonth(L,N)-s+7)%7,_=Math.ceil((y+_)/7),b=$&&this.maxRows>_?this.maxRows:_,this.maxRows=b,w=this._daylightSavingAdjust(new Date(L,N,1-y)),q=0;q<b;q++){for(g+="<tr>",B=a?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(w)+"</td>":"",h=0;h<7;h++)x=o?o.apply(t.input?t.input[0]:null,[w]):[!0,""],k=(T=w.getMonth()!==N)&&!j||!x[0]||O&&w<O||M&&M<w,B+="<td class='"+(5<=(h+s+6)%7?" ui-datepicker-week-end":"")+(T?" ui-datepicker-other-month":"")+(w.getTime()===f.getTime()&&N===t.selectedMonth&&t._keyEvent||l.getTime()===w.getTime()&&l.getTime()===f.getTime()?" "+this._dayOverClass:"")+(k?" "+this._unselectableClass+" ui-state-disabled":"")+(T&&!r?"":" "+x[1]+(w.getTime()===Y.getTime()?" "+this._currentClass:"")+(w.getTime()===U.getTime()?" ui-datepicker-today":""))+"'"+(T&&!r||!x[2]?"":" title='"+x[2].replace(/'/g,"&#39;")+"'")+(k?"":" data-handler='selectDay' data-event='click' data-month='"+w.getMonth()+"' data-year='"+w.getFullYear()+"'")+">"+(T&&!r?"&#xa0;":k?"<span class='ui-state-default'>"+w.getDate()+"</span>":"<a class='ui-state-default"+(w.getTime()===U.getTime()?" ui-state-highlight":"")+(w.getTime()===Y.getTime()?" ui-state-active":"")+(T?" ui-priority-secondary":"")+"' href='#'>"+w.getDate()+"</a>")+"</td>
31",w.setDate(w.getDate()+1),w=this._daylightSavingAdjust(w);g+=B+"</tr>"}11<++N&&(N=0,L++),d+=g+="</tbody></table>"+($?"</div>"+(0<A[0]&&p===A[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}u+=d}return u+=D,t._keyEvent=!1,u},_generateMonthYearHeader:function(t,e,i,n,s,a,o,r){var l,u,h,c,d,p,f,m=this._get(t,"changeMonth"),g=this._get(t,"changeYear"),v=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(a||!m)_+="<span class='ui-datepicker-month'>"+o[e]+"</span>";else{for(l=n&&n.getFullYear()===i,u=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",h=0;h<12;h++)(!l||h>=n.getMonth())&&(!u||s.getMonth()>=h)&&(_+="<option value='"+h+"'"+(h===e?" selected='selected'":"")+">"+r[h]+"</option>");_+="</select>"}if(v||(y+=_+(!a&&m&&g?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",a||!g)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(o=this._get(t,"yearRange").split(":"),c=(new Date).getFullYear(),p=(d=function(t){t=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?c+parseInt(t,10):parseInt(t,10);return isNaN(t)?c:t})(o[0]),f=Math.max(p,d(o[1]||"")),p=n?Math.max(p,n.getFullYear()):p,f=s?Math.min(f,s.getFullYear()):f,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=f;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!a&&m&&g?"":"&#xa0;")+_),y+"</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),s=t.selectedMonth+("M"===i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),n=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,e)));t.selectedDay=n.getDate(),t.drawMonth=t.selectedMonth=n.getMonth(),t.drawYear=t.selectedYear=n.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),i=i&&e<i?i:e;return t&&t<i?t:i},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){t=this._get(t,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),i=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(t,i)},_isInRange:function(t,e){var i,n=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),a=null,o=null,t=this._get(t,"yearRange");return t&&(t=t.split(":"),i=(new Date).getFullYear(),a=parseInt(t[0],10),o=parseInt(t[1],10),t[0].match(/[+\-].*/)&&(a+=i),t[1].match(/[+\-].*/))&&(o+=i),(!n||e.getTime()>=n.getTime())&&(!s||e.getTime()<=s.getTime())&&(!a||e.getFullYear()>=a)&&(!o||o>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),x.fn.datepicker=function(t){if(!this.length)return this;x.datepicker.initialized||(x(document).on("mousedown",x.datepicker._checkExternalClick),x.datepicker.initialized=!0),0===x("#"+x.datepicker._mainDivId).length&&x("body").append(x.datepicker.dpDiv);
vendor: 15,544 bytes, line 31
31var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?x.datepicker["_"+t+"Datepicker"].apply(x.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?x.datepicker["_"+t+"Datepicker"].apply(x.datepicker,[this].concat(e)):x.datepicker._attachDatepicker(this,t)})},x.datepicker=new t,x.datepicker.initialized=!1,x.datepicker.uuid=(new Date).getTime(),x.datepicker.version="1.12.1",x.datepicker,x.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=x(this).css(t).offset().top;e<0&&x(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&x.fn.draggable&&this._makeDraggable(),this.options.resizable&&x.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?x(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:x.noop,enable:x.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||x.ui.safeBlur(x.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+x(this).css("z-index")}).get(),n=Math.max.apply(null,n);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=x(x.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;(t=(t=(t=(t=(t=t||this.element.find("[autofocus]")).length?t:this.element.find(":tabbable")).length?t:this.uiDialogButtonPane.find(":tabbable")).length?t:this.uiDialogTitlebarClose.filter(":tabbable")).length?t:this.uiDialog).eq(0).trigger("focus")},_keepFocus:function(t){function e(){var t=x.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||x.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=x("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){var e,i,n;this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===x.ui.keyCode.ESCAPE?(t.preventDefault(),this.close(t)):t.keyCode!==x.ui.keyCode.TAB||t.isDefaultPrevented()||(e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),n=e.filter(":last"),t.target!==n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){n.trigger("focus")}),t.preventDefault()):(this._delay(function(){i.trigger("focus")}),t.preventDefault()))},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=x("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){x(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=x("<button type='button'></button>").button({label:x("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=x("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=x("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=x("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,t=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),x.isEmptyObject(t)||x.isArray(t)&&!t.length?void this._removeClass(this.uiDialog,"ui-dialog-buttons"):(x.each(t,function(t,e){var i;e=x.isFunction(e)?{click:e,text:t}:e,e=x.extend({type:"button"},e),i=e.click,t={icon:e.icon,iconPosition:e.iconPosition,showLabel:e.showLabel,icons:e.icons,text:e.text},delete e.click,delete e.icon,delete e.iconPosition,delete e.showLabel,delete e.icons,"boolean"==typeof e.text&&delete e.text,x("<button></button>",e).button(t).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function s(t){return{position:t.position,offset:t.offset}}var a=this,o=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){a._addClass(x(this),"ui-dialog-dragging"),a._blockFrames(),a._trigger("dragStart",t,s(e))},drag:function(t,e){a._trigger("drag",t,s(e))},stop:function(t,e){var i=e.offset.left-a.document.scrollLeft(),n=e.offset.top-a.document.scrollTop();o.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:a.window},a._removeClass(x(this),"ui-dialog-dragging"),a._unblockFrames(),a._trigger("dragStop",t,s(e))}})},_makeResizable:function(){function s(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var a=this,o=this.options,t=o.resizable,e=this.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){a._addClass(x(this),"ui-dialog-resizing"),a._blockFrames(),a._trigger("resizeStart",t,s(e))},resize:function(t,e){a._trigger("resize",t,s(e))},stop:function(t,e){var i=a.uiDialog.offset(),n=i.left-a.document.scrollLeft(),i=i.top-a.document.scrollTop();o.height=a.uiDialog.height(),o.width=a.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:a.window},a._removeClass(x(this),"ui-dialog-resizing"),a._unblockFrames(),a._trigger("resizeStop",t,s(e))}}).css("position",e)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=x(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=x.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||this.document.data("ui-dialog-instances",t=[]),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,n=!1,s={};x.each(t,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(n=!0),t in i.resizableRelatedOptions&&(s[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,n=this.uiDialog;"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:x("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((i=n.is(":data(ui-draggable)"))&&!e&&n.draggable("destroy"),!i)&&e&&this._makeDraggable(),"position"===t&&this._position(),"resizable"===t&&((i=n.is(":data(ui-resizable)"))&&!e&&n.resizable("destroy"),i&&"string"==typeof e&&n.resizable("option","handles",e),i||!1===e||this._makeResizable()),"title"===t)&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title"))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=x(this);return x("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!x(t.target).closest(".ui-dialog").length||!!x(t.target).closest(".ui-datepicker").length},_createOverlay:function(){var e;this.options.modal&&(e=!0,this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=x("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var t;this.options.modal&&this.overlay&&((t=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!1!==x.uiBackCompat&&x.widget("ui.dialog",x.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),x.ui.dialog,x.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=x("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this.options.value:(this.options.value=this._constrainedValue(t),void this._refreshValue())},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(e.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=x("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),x.widget("ui.selectmenu",[x.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"}
vendor: 4,702 bytes, line 31
31,width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=x()},_drawButton:function(){var t,e=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=x("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=x("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e._rendered||e._refreshMenu()})},_drawMenu:function(){var i=this;this.menu=x("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=x("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,e){t.preventDefault(),i._setSelection(),i._select(e.item.data("ui-selectmenu-item"),t)},focus:function(t,e){e=e.item.data("ui-selectmenu-item");null!=i.focusIndex&&e.index!==i.focusIndex&&(i._trigger("focus",t,{item:e}),i.isOpen||i._select(e,t)),i.focusIndex=e.index,i.button.attr("aria-activedescendant",i.menuItems.eq(e.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(x.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var e=x("<span>");return this._setText(e,t.label),this._addClass(e,"ui-selectmenu-text"),e},_renderMenu:function(n,t){var s=this,a="";x.each(t,function(t,e){var i;e.optgroup!==a&&(i=x("<li>",{text:e.optgroup}),s._addClass(i,"ui-selectmenu-optgroup","ui-menu-divider"+(e.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),i.appendTo(n),a=e.optgroup),s._renderItemData(n,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(t,e){var i=x("<li>"),n=x("<div>",{title:e.element.attr("title")});return e.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(n,e.label),i.append(n).appendTo(t)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,n=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),n+=":not(.ui-state-disabled)"),(i="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](n).eq(-1):i[t+"All"](n).eq(0)).length&&this.menuInstance.focus(e,i)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")}
vendor: 4,329 bytes, line 31
31,_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&!x(t.target).closest(".ui-selectmenu-menu, #"+x.ui.escapeSelector(this.ids.button)).length&&this.close(t)}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(t){var e=!0;switch(t.keyCode){case x.ui.keyCode.TAB:case x.ui.keyCode.ESCAPE:this.close(t),e=!1;break;case x.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case x.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case x.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case x.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case x.ui.keyCode.LEFT:this._move("prev",t);break;case x.ui.keyCode.RIGHT:this._move("next",t);break;case x.ui.keyCode.HOME:case x.ui.keyCode.PAGE_UP:this._move("first",t);break;case x.ui.keyCode.END:case x.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),e=!1}e&&t.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){t=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(t,e){var i;"icons"===t&&(i=this.button.find("span.ui-icon"),this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)),this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return(t=(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))&&t[0]?t:this.element.closest(".ui-front, dialog")).length?t:this.document[0].body},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;return!1===t?void this.button.css("width",""):(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),void this.button.outerWidth(t))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(t){var i=this,n=[];t.each(function(t,e){n.push(i._parseOption(x(e),t))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),x.widget("ui.slider",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 4,683 bytes, line 31
31,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,e=this.options,i=this.element.find(".ui-slider-handle"),n=[],s=e.values&&e.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),t=i.length;t<s;t++)n.push("<span tabindex='0'></span>");this.handles=i.add(x(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(t){x(this).data("ui-slider-handle-index",t).attr("tabIndex",0)})},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:x.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=x("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==t.range&&"max"!==t.range||this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var i,n,s,a,e,o,r=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-r.values(t));(e<n||n===e&&(t===r._lastChangedValue||r.values(t)===l.min))&&(n=e,s=x(this),a=t)}),!1!==this._start(t,a))&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),e=s.offset(),o=!x(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=o?{left:0,top:0}:{left:t.pageX-e.left-s.width()/2,top:t.pageY-e.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,a,i),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},e=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,t=("horizontal"===this.orientation?(e=this.elementSize.width,t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/e;return(t=1<t?1:t)<0&&(t=0),"vertical"===this.orientation&&(t=1-t),e=this._valueMax()-this._valueMin(),t=this._valueMin()+t*e,this._trimAlignValue(t)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==e?e:this.values(t),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,s=this.value(),a=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),s=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(n,i):Math.max(n,i)),a[e]=i),i!==s&&!1!==this._trigger("slide",t,this._uiHash(e,i,a))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value(
vendor: 4,799 bytes, line 31
31)},values:function(t,e){var i,n,s;if(1<arguments.length)this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),this._change(null,t);else{if(!arguments.length)return this._values();if(!x.isArray(t))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,n=t,s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()}},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),x.isArray(this.options.values)&&(n=this.options.values.length),this._super(t,e),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(e),this.handles.css("horizontal"===e?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;i.length>n;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){var e,i;return this._valueMin()>=t?this._valueMin():t>=this._valueMax()?this._valueMax():(e=0<this.options.step?this.options.step:1,i=t-(t=(t-this._valueMin())%e),2*Math.abs(t)>=e&&(i+=0<t?e:-e),parseFloat(i.toFixed(5)))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var t=""+t,e=t.indexOf(".");return-1===e?0:t.length-e-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,t,n,s,a=this.options.range,o=this.options,r=this,l=!this._animateOff&&o.animate,u={};this._hasMultipleValues()?this.handles.each(function(t){i=(r.values(t)-r._valueMin())/(r._valueMax()-r._valueMin())*100,u["horizontal"===r.orientation?"left":"bottom"]=i+"%",x(this).stop(1,1)[l?"animate":"css"](u,o.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===t&&r.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},o.animate),1===t&&r.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:o.animate})):(0===t&&r.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},o.animate),1===t&&r.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:o.animate}))),e=i}):(t=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(t-n)/(s-n)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},o.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},o.animate))},_handleEvents:{keydown:function(t){var e,i,n,s=x(t.target).data("ui-slider-handle-index");switch(t.keyCode){case x.ui.keyCode.HOME:case x.ui.keyCode.END:case x.ui.keyCode.PAGE_UP:case x.ui.keyCode.PAGE_DOWN:case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(x(t.target),null,"ui-state-active"),!1===this._start(t,s)))return}switch(n=this.options.step,e=i=this._hasMultipleValues()?this.values(s):this.value(),t.keyCode){case x.ui.keyCode.HOME:i=this._valueMin();break;case x.ui.keyCode.END:i=this._valueMax();break;case x.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/this.numPages);break;
vendor: 1,429 bytes, line 31
31case x.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/this.numPages);break;case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+n);break;case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-n)}this._slide(t,s,i)},keyup:function(t){var e=x(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),this._removeClass(x(t.target),null,"ui-state-active"))}}}),x.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n=this._super(),s=this.element;return x.each(["min","max","step"],function(t,e){var i=s.attr(e);null!=i&&i.length&&(n[e]=i)}),n}
vendor: 16,711 bytes, line 31
31,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",t)))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){function e(){this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}var i=this.element[0]===x.ui.safeActiveElement(this.document[0])?this.previous:this.element.val();t.preventDefault(),e.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,e.call(this)}),!1!==this._start(t)&&this._repeat(null,x(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){return x(t.currentTarget).hasClass("ui-state-active")?!1!==this._start(t)&&void this._repeat(null,x(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var e=this.options,i=x.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?x.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var t=""+t,e=t.indexOf(".");return-1===e?0:t.length-e-1},_adjustValue:function(t){var e=this.options,i=null!==e.min?e.min:0;return t=i+Math.round((t-i)/e.step)*e.step,t=parseFloat(t.toFixed(this._precision())),null!==e.max&&t>e.max?e.max:null!==e.min&&e.min>t?e.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i;return"culture"===t||"numberFormat"===t?(i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i))):("max"!==t&&"min"!==t&&"step"!==t||"string"!=typeof e||(e=this._parse(e)),"icons"===t&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,e.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,e.down)),void this._super(t,e))},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:e(function(t){this._super(t)}),_parse:function(t){return""===(t="string"==typeof t&&""!==t?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t:t)||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?void e(this._value).call(this,t):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),!1!==x.uiBackCompat&&x.widget("ui.spinner",x.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),x.ui.spinner,x.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(v=/#.*$/,function(t){var e=t.href.replace(v,""),i=location.href.replace(v,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return 1<t.hash.length&&e===i}),_create:function(){var e=this,t=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,t.collapsible),this._processTabs(),t.active=this._initialActive(),x.isArray(t.disabled)&&(t.disabled=x.unique(t.disabled.concat(x.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(t.active):x(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,n=location.hash.substring(1);return!1!==(i=null===i&&(n&&this.tabs.each(function(t,e){return x(e).attr("aria-controls")===n?(i=t,!1):void 0}),null===(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)||-1===i)?!!this.tabs.length&&0:i)&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),i=!t&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):x()}},_tabKeydown:function(t){var e=x(x.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(e),n=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:i++;break;case x.ui.keyCode.UP:case x.ui.keyCode.LEFT:n=!1,i--;break;case x.ui.keyCode.END:i=this.anchors.length-1;break;case x.ui.keyCode.HOME:i=0;break;case x.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case x.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),t.ctrlKey||t.metaKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===x.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===x.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===x.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){for(var i=this.tabs.length-1;-1!==x.inArray(t=(t=i<t?0:t)<0?i:t,this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){return"active"===t?void this._activate(e):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),void("heightStyle"===t&&this._setupHeightStyle(e)))},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=x.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!x.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=x()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=x()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,t=this.tabs,e=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){x(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){x(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return x("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=x(),this.anchors.each(function(t,e){var i,n,s,a=x(e).uniqueId().attr("id"),o=x(e).closest("li"),r=o.attr("aria-controls");l._isLocal(e)?(s=(i=e.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(s=o.attr("aria-controls")||x({}).uniqueId()[0].id,(n=l.element.find(i="#"+s)).length||(n=l._createPanel(s)).insertAfter(l.panels[t-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),r&&o.data("ui-tabs-aria-controls",r),o.attr({"aria-controls":s,"aria-labelledby":a}),n.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),t&&(this._off(t.not(this.tabs)),this._off(e.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return x("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var e,i;for(x.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),i=0;e=this.tabs[i];i++)e=x(e),!0===t||-1!==x.inArray(i,t)?(e.attr("aria-disabled","true"),this._addClass(e,null,"ui-state-disabled")):(e.removeAttr("aria-disabled"),this._removeClass(e,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&x.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=x(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=x(this).outerHeight(!0)}),this.panels.each(function(){x(this).height(Math.max(0,i-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,x(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,n=x(t.currentTarget).closest("li"),s=n[0]===i[0],a=s&&e.collapsible,o=a?x():this._getPanelForTab(n),r=i.length?this._getPanelForTab(i):x(),i={oldTab:i,oldPanel:r,newTab:a?x():n,newPanel:o};t.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!a&&this.tabs.index(n),this.active=s?x():n,this.xhr&&this.xhr.abort(),r.length||o.length||x.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(n),t),this._toggle(t,i))},_toggle:function(t,e){function i(){s.running=!1,s._trigger("activate",t,e)}function n(){s._addClass(e.newTab.closest("li"),"ui-tabs-active","ui-state-active"),a.length&&s.options.show?s._show(a,s.options.show,i):(a.show(),i())}var s=this,a=e.newPanel,o=e.oldPanel;this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){s._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),n()}):(this._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),n()),o.attr("aria-hidden","true"),e.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),a.length&&o.length?e.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===x(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr("aria-hidden","false"),e.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t=(t=t.length?t:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(t){return!1===t?x():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+x.ui.escapeSelector(t)+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){x.data(this,"ui-tabs-destroy")?x(this).remove():x(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=x(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=void 0!==i&&(i=this._getIndex(i),x.isArray(t)?x.map(t,function(t){return t!==i?t:null}):x.map(this.tabs,function(t,e){return e!==i?e:null})),this._setOptionDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==x.inArray(t,e))return;
vendor: 4,751 bytes, line 31
31e=x.isArray(e)?x.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,n){function s(t,e){"abort"===e&&a.panels.stop(!1,!0),a._removeClass(i,"ui-tabs-loading"),o.removeAttr("aria-busy"),t===a.xhr&&delete a.xhr}t=this._getIndex(t);var a=this,i=this.tabs.eq(t),t=i.find(".ui-tabs-anchor"),o=this._getPanelForTab(i),r={tab:i,panel:o};this._isLocal(t[0])||(this.xhr=x.ajax(this._ajaxSettings(t,n,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.done(function(t,e,i){setTimeout(function(){o.html(t),a._trigger("load",n,r),s(i,e)},1)}).fail(function(t,e){setTimeout(function(){s(t,e)},1)})))},_ajaxSettings:function(t,i,n){var s=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,e){return s._trigger("beforeLoad",i,x.extend({jqXHR:t,ajaxSettings:e},n))}}},_getPanelForTab:function(t){t=x(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==x.uiBackCompat&&x.widget("ui.tabs",x.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),x.ui.tabs,x.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=x(this).attr("title")||"";return x("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,e){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(e),t.data("ui-tooltip-id",e).attr("aria-describedby",x.trim(i.join(" ")))},_removeDescribedBy:function(t){var e=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),e=x.inArray(e,i);-1!==e&&i.splice(e,1),t.removeData("ui-tooltip-id"),(i=x.trim(i.join(" ")))?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=x("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=x([])},_setOption:function(t,e){var i=this;this._super(t,e),"content"===t&&x.each(this.tooltips,function(t,e){i._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var n=this;x.each(this.tooltips,function(t,e){var i=x.Event("blur");i.target=i.currentTarget=e.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var t=x(this);return t.is("[title]")?t.data("ui-tooltip-title",t.attr("title")).removeAttr("title"):void 0}))},_enable:function(){this.disabledTitles.each(function(){var t=x(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=x([])},open:function(t){var i=this,e=x(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=x(this);e.data("ui-tooltip-open")&&((t=x.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._registerCloseHandlers(t,e),this._updateContent(e,t))},_updateContent:function(e,i){var t=this.options.content,n=this,s=i?i.type:null;return"string"==typeof t||t.nodeType||t.jquery?this._open(i,e,t):void((t=t.call(e[0],function(t){n._delay(function(){e.data("ui-tooltip-open")&&(i&&(i.type=s),this._open(i,e,t))})}))&&this._open(i,e,t))},_open:function(t,e,i){function n(t){r.of=t,s.is(":hidden")||s.position(r)}var s,a,o,r=x.extend({},this.options.position);i&&((o=this._find(e))?o.tooltip.find(".ui-tooltip-content").html(i):(e.is("[title]")&&(t&&"mouseover"===t.type?e.attr("title",""):e.removeAttr("title")),o=this._tooltip(e),s=o.tooltip,this._addDescribedBy(e,s.attr("id")),s.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(o=x("<div>").html(s.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:n}),n(t)):s.position(x.extend({of:e},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){s.is(":visible")&&(n(r.of),clearInterval(a))},x.fx.interval)),this._trigger("open",t,{tooltip:s}
31)))},_registerCloseHandlers:function(t,e){var i={keyup:function(t){t.keyCode===x.ui.keyCode.ESCAPE&&((t=x.Event(t)).currentTarget=e[0],this.close(t,!0))}};e[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(e).tooltip)}),t&&"mouseover"!==t.type||(i.mouseleave="close"),t&&"focusin"!==t.type||(i.focusout="close"),this._on(!0,e,i)},close:function(t){var e,i=this,n=x(t?t.currentTarget:this.element),s=this._find(n);return s?(e=s.tooltip,void(s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,e.stop(!0),this._hide(e,this.options.hide,function(){i._removeTooltip(x(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&x.each(this.parents,function(t,e){x(e.element).attr("title",e.title),delete i.parents[t]}),s.closing=!0,this._trigger("close",t,{tooltip:e}),s.hiding)||(s.closing=!1))):void n.removeData("ui-tooltip-open")},_tooltip:function(t){var e=x("<div>").attr("role","tooltip"),i=x("<div>").appendTo(e),n=e.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(e,"ui-tooltip","ui-widget ui-widget-content"),e.appendTo(this._appendTo(t)),this.tooltips[n]={element:t,tooltip:e}},_find:function(t){t=t.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){t=t.closest(".ui-front, dialog");return t.length?t:this.document[0].body},_destroy:function(){var n=this;x.each(this.tooltips,function(t,e){var i=x.Event("blur"),e=e.element;i.target=i.currentTarget=e[0],n.close(i,!0),x("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title")||e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==x.uiBackCompat&&x.widget("ui.tooltip",x.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),x.ui.tooltip});var $jscomp={scope:{},findInternal:function(t,e,i){for(var n=(t=t instanceof String?String(t):t).length,s=0;s<n;s++){var a=t[s];if(e.call(i,a,s,t))return{i:s,v:a}}return{i:-1,v:void 0}}},console;
32/*!
33 * Bootstrap v3.3.6 (http://getbootstrap.com)
34 * Copyright 2011-2015 Twitter, Inc.
35 * Licensed under the MIT license
36 */
37if($jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,i){if(i.get||i.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=i.value)},$jscomp.getGlobal=function(t){return"undefined"!=typeof window&&window===t||"undefined"==typeof global||null==global?t:global},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(t,e,i,n){if(e){for(i=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var s=t[n];s in i||(i[s]={}),i=i[s]}(e=e(n=i[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(i,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.find",function(t){return t||function(t,e){return $jscomp.findInternal(this,t,e).v}},"es6-impl","es3"),function(t,e,i){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(e||i)}(function(o){function r(u,_,b){var n,w={invalid:[],getCaret:function(){try{var t,e=0,i=u.get(0),n=document.selection,s=i.selectionStart;return n&&-1===navigator.appVersion.indexOf("MSIE 10")?((t=n.createRange()).moveStart("character",-w.val().length),e=t.text.length):!s&&"0"!==s||(e=s),e}catch(t){}},setCaret:function(t){try{var e,i;u.is(":focus")&&((i=u.get(0)).setSelectionRange?i.setSelectionRange(t,t):((e=i.createTextRange()).collapse(!0),e.moveEnd("character",t),e.moveStart("character",t),e.select()))}catch(t){}},events:function(){u.on("keydown.mask",function(t){u.data("mask-keycode",t.keyCode||t.which),u.data("mask-previus-value",u.val()),u.data("mask-previus-caret-pos",w.getCaret()),w.maskDigitPosMapOld=w.maskDigitPosMap}).on(o.jMaskGlobals.useInput?"input.mask":"keyup.mask",w.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){u.keydown().keyup()},100)}).on("change.mask",function(){u.data("changed",!0)}).on("blur.mask",function(){a===w.val()||u.data("changed")||u.trigger("change"),u.data("changed",!1)}).on("blur.mask",function(){a=w.val()}).on("focus.mask",function(t){!0===b.selectOnFocus&&o(t.target).select()}).on("focusout.mask",function(){b.clearIfNotMatch&&!n.test(w.val())&&w.val("")}
37)},getRegexMask:function(){for(var t,e,i,n,s=[],a=0;a<_.length;a++)(t=x.translation[_.charAt(a)])?(e=t.pattern.toString().replace(/.{1}$|^.{1}/g,""),i=t.optional,(t=t.recursive)?(s.push(_.charAt(a)),n={digit:_.charAt(a),pattern:e}):s.push(i||t?e+"?":e)):s.push(_.charAt(a).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));return s=s.join(""),n&&(s=s.replace(new RegExp("("+n.digit+"(.*"+n.digit+")?)"),"($1)?").replace(new RegExp(n.digit,"g"),n.pattern)),new RegExp(s)},destroyEvents:function(){u.off("input keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(t){var e=u.is("input")?"val":"text";return 0<arguments.length?(u[e]()!==t&&u[e](t),u):u[e]()},calculateCaretPosition:function(){var t=u.data("mask-previus-value")||"",e=w.getMasked(),i=w.getCaret();if(t!==e){for(var n=u.data("mask-previus-caret-pos")||0,e=e.length,s=t.length,a=t=0,o=0,r=0,l=i;l<e&&w.maskDigitPosMap[l];l++)a++;for(l=i-1;0<=l&&w.maskDigitPosMap[l];l--)t++;for(l=i-1;0<=l;l--)w.maskDigitPosMap[l]&&o++;for(l=n-1;0<=l;l--)w.maskDigitPosMapOld[l]&&r++;s<i?i=10*e:i<=n&&n!==s?w.maskDigitPosMapOld[i]||(n=i,w.maskDigitPosMap[i=i-(r-o)-t]&&(i=n)):n<i&&(i=i+(o-r)+a)}return i},behaviour:function(t){t=t||window.event,w.invalid=[];var e,i=u.data("mask-keycode");if(-1===o.inArray(i,x.byPassKeys))return i=w.getMasked(),e=w.getCaret(),setTimeout(function(){w.setCaret(w.calculateCaretPosition())},o.jMaskGlobals.keyStrokeCompensation),w.val(i),w.setCaret(e),w.callbacks(t)},getMasked:function(t,e){for(var i,n,s=[],a=void 0===e?w.val():e+"",o=0,r=_.length,l=0,u=a.length,h=1,c="push",d=-1,p=0,f=[],m=b.reverse?(c="unshift",h=-1,i=0,o=r-1,l=u-1,function(){return-1<o&&-1<l}):(i=r-1,function(){return o<r&&l<u});m();){var g=_.charAt(o),v=a.charAt(l),y=x.translation[g];y?(v.match(y.pattern)?(s[c](v),y.recursive&&(-1===d?d=o:o===i&&o!==d&&(o=d-h),i===d)&&(o-=h),o+=h):v===n?(p--,n=void 0):y.optional?(o+=h,l-=h):y.fallback?(s[c](y.fallback),o+=h,l-=h):w.invalid.push({p:l,v:v,e:y.pattern}),l+=h):(t||s[c](g),v===g?(f.push(l),l+=h):(n=g,f.push(l+p),p++),o+=h)}return a=_.charAt(i),r!==u+1||x.translation[a]||s.push(a),s=s.join(""),w.mapMaskdigitPositions(s,f,u),s},mapMaskdigitPositions:function(t,e,i){for(t=b.reverse?t.length-i:0,w.maskDigitPosMap={},i=0;i<e.length;i++)w.maskDigitPosMap[e[i]+t]=1},callbacks:function(t){function e(t,e,i){"function"==typeof b[t]&&e&&b[t].apply(this,i)}var i=w.val(),n=i!==a,s=[i,t,u,b];e("onChange",1==n,s),e("onKeyPress",1==n,s),e("onComplete",i.length===_.length,s),e("onInvalid",0<w.invalid.length,[i,t,u,w.invalid,b])}},x=(u=o(u),this),a=w.val();_="function"==typeof _?_(w.val(),void 0,u,b):_,x.mask=_,x.options=b,x.remove=function(){var t=w.getCaret();return x.options.placeholder&&u.removeAttr("placeholder"),u.data("mask-maxlength")&&u.removeAttr("maxlength"),w.destroyEvents(),w.val(x.getCleanVal()),w.setCaret(t),u},x.getCleanVal=function(){return w.getMasked(!0)},x.getMaskedVal=function(t){return w.getMasked(!1,t)},x.init=function(t){if(t=t||!1,b=b||{},x.clearIfNotMatch=o.jMaskGlobals.clearIfNotMatch,x.byPassKeys=o.jMaskGlobals.byPassKeys,x.translation=o.extend({},o.jMaskGlobals.translation,b.translation),x=o.extend(!0,{},x,b),n=w.getRegexMask(),t)w.events(),w.val(w.getMasked());else{b.placeholder&&u.attr("placeholder",b.placeholder),u.data("mask")&&u.attr("autocomplete","off");for(var e=!(t=0);t<_.length;t++){var i=x.translation[_.charAt(t)];if(i&&i.recursive){e=!1;break}}e&&u.attr("maxlength",_.length).data("mask-maxlength",!0),w.destroyEvents(),w.events(),t=w.getCaret(),w.val(w.getMasked()),w.setCaret(t)}},x.init(!u.is("input"))}function e(){var t=o(this),e={},i=t.attr("data-mask");if(t.attr("data-mask-reverse")&&(e.reverse=!0),t.attr("data-mask-clearifnotmatch")&&(e.clearIfNotMatch=!0),"true"===t.attr("data-mask-selectonfocus")&&(e.selectOnFocus=!0),l(t,i,e))return t.data("mask",new r(this,i,e))}function l(t,e,i){i=i||{};var n=o(t).data("mask"),s=JSON.stringify;t=o(t).val()||o(t).text();try{return"function"==typeof e&&(e=e(t)),"object"!=typeof n||s(n.options)!==s(i)||n.mask!==e}catch(t){}}o.maskWatchers={};var t=function(t){var e,i=document.createElement("div");return(e=(t="on"+t)in i)||(i.setAttribute(t,"return;"),e="function"==typeof i[t]),e};o.fn.mask=function(t,e){function i(){if(l(this,t,e))return o(this).data("mask",new r(this,t,e))}e=e||{};var n=this.selector,s=(a=o.jMaskGlobals).watchInterval,a=e.watchInputs||a.watchInputs;return o(this).each(i),n&&""!==n&&a&&(clearInterval(o.maskWatchers[n]),o.maskWatchers[n]=setInterval(function(){o(document).find(n).each(i)},s)),this},o.fn.masked=function(t){return this.data("mask").getMaskedVal(t)},o.fn.unmask=function(){return clearInterval(o.maskWatchers[this.selector]),delete o.maskWatchers[this.selector],this.each(function(){var t=o(this).data("mask");t&&t.remove().removeData("mask")})},o.fn.cleanVal=function(){return this.data("mask").getCleanVal()},o.applyDataMask=function(t){((t=t||o.jMaskGlobals.maskElements)instanceof o?t:o(t)).filter(o.jMaskGlobals.dataMaskAttr).each(e)},t={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&t("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}},o.jMaskGlobals=o.jMaskGlobals||{},(t=o.jMaskGlobals=o.extend(!0,{},t,o.jMaskGlobals)).dataMask&&o.applyDataMask(),setInterval(function(){o.jMaskGlobals.watchDataMask&&o.applyDataMask()},t.watchInterval)},window.jQuery,window.Zepto),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");if(function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||2<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(),function($){"use strict";$.fn.emulateTransitionEnd=function(t){var e=!1,i=this;return $(this).one("bsTransitionEnd",function(){e=!0}),setTimeout(function(){e||$(i).trigger($.support.transition.end)},t),this},$(function(){$.support.transition=function(){var t,e=document.createElement("bootstrap"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in i)if(void 0!==e.style[t])return{end:i[t]};return!1}(),$.support.transition&&($.event.special.bsTransitionEnd={bindType:$.supp
vendor: 4,926 bytes, line 37
37ort.transition.end,delegateType:$.support.transition.end,handle:function(t){if($(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function($){"use strict";function a(t){$(t).on("click",e,this.close)}var e='[data-dismiss="alert"]',t=(a.VERSION="3.3.6",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=$(this),i=(i=e.attr("data-target"))||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""),n=$(i);function s(){n.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(n=n.length?n:e.closest(".alert")).trigger(t=$.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),$.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s())},$.fn.alert);$.fn.alert=function(i){return this.each(function(){var t=$(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},$.fn.alert.Constructor=a,$.fn.alert.noConflict=function(){return $.fn.alert=t,this},$(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function($){"use strict";function n(t,e){this.$element=$(t),this.options=$.extend({},n.DEFAULTS,e),this.isLoading=!1}function i(i){return this.each(function(){var t=$(this),e=t.data("bs.button");e||t.data("bs.button",e=new n(this,"object"==typeof i&&i)),"toggle"==i?e.toggle():i&&e.setState(i)})}n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",s=i.data();t+="Text",null==s.resetText&&i.data("resetText",i[n]()),setTimeout($.proxy(function(){i[n]((null==s[t]?this.options:s)[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e))},this),0)},n.prototype.toggle=function(){var t,e=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==t.prop("type")&&(t.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),t.prop("checked",this.$element.hasClass("active")),e&&t.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var t=$.fn.button;$.fn.button=i,$.fn.button.Constructor=n,$.fn.button.noConflict=function(){return $.fn.button=t,this},$(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=$(t.target);e.hasClass("btn")||(e=e.closest(".btn")),i.call(e,"toggle"),$(t.target).is('input[type="radio"]')||$(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){$(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function($){"use strict";function u(t,e){this.$element=$(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",$.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",$.proxy(this.pause,this)).on("mouseleave.bs.carousel",$.proxy(this.cycle,this))}function s(s){return this.each(function(){var t=$(this),e=t.data("bs.carousel"),i=$.extend({},u.DEFAULTS,t.data(),"object"==typeof s&&s),n="string"==typeof s?s:i.slide;e||t.data("bs.carousel",e=new u(this,i)),"number"==typeof s?e.to(s):n?e[n]():i.interval&&e.pause().cycle()})}function t(t){var e,i=$(this),n=$(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));n.hasClass("carousel")&&(e=$.extend({},n.data(),i.data()),(i=i.attr("data-slide-to"))&&(e.interval=!1),s.call(n,e),i&&n.data("bs.carousel").to(i),t.preventDefault())}u.VERSION="3.3.6",u.TRANSITION_DURATION=600,u.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},u.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},u.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval($.proxy(this.next,this),this.options.interval)),this},u.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},u.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);return("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap?e:(e=(i+("prev"==t?-1:1))%this.$items.length,this.$items.eq(e))},u.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".
37item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},u.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&$.support.transition&&(this.$element.trigger($.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},u.prototype.next=function(){if(!this.sliding)return this.slide("next")},u.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},u.prototype.slide=function(t,e){var i,n,s,a=this.$element.find(".item.active"),o=e||this.getItemForDirection(t,a),e=this.interval,r="next"==t?"left":"right",l=this;return o.hasClass("active")?this.sliding=!1:(i=o[0],n=$.Event("slide.bs.carousel",{relatedTarget:i,direction:r}),this.$element.trigger(n),n.isDefaultPrevented()?void 0:(this.sliding=!0,e&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),n=$(this.$indicators.children()[this.getItemIndex(o)]))&&n.addClass("active"),s=$.Event("slid.bs.carousel",{relatedTarget:i,direction:r}),$.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),o[0].offsetWidth,a.addClass(r),o.addClass(r),a.one("bsTransitionEnd",function(){o.removeClass([t,r].join(" ")).addClass("active"),a.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(s)},0)}).emulateTransitionEnd(u.TRANSITION_DURATION)):(a.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(s)),e&&this.cycle(),this))};var e=$.fn.carousel;$.fn.carousel=s,$.fn.carousel.Constructor=u,$.fn.carousel.noConflict=function(){return $.fn.carousel=e,this},$(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),$(window).on("load",function(){$('[data-ride="carousel"]').each(function(){var t=$(this);s.call(t,t.data())})})}(jQuery),function($){"use strict";function s(t,e){this.$element=$(t),this.options=$.extend({},s.DEFAULTS,e),this.$trigger=$('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}function i(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return $(t)}function a(n){return this.each(function(){var t=$(this),e=t.data("bs.collapse"),i=$.extend({},s.DEFAULTS,t.data(),"object"==typeof n&&n);!e&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),e||t.data("bs.collapse",e=new s(this,i)),"string"==typeof n&&e[n]()})}s.VERSION="3.3.6",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(n=t.data("bs.collapse"))&&n.transitioning)){var e=$.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(a.call(t,"hide"),n||t.data("bs.collapse",null));var i=this.dimension(),e=(this.$element.removeClass("collapse").addClass("collapsing")[i](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[i](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!$.support.transition)return e.call(this);var n=$.camelCase(["scroll",i].join("-"));this.$element.one("bsTransitionEnd",$.proxy(e,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[i](this.$element[0][n])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=$.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var t=this.dimension(),e=(this.$element[t](this.$element[t]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!$.support.transition)return e.call(this);this.$element[t](0).one("bsTransitionEnd",$.proxy(e,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return $(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each($.proxy(function(t,e){e=$(e);this.addAriaAndCollapsedClass(i(e),e)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=$.fn.collapse;$.fn.collapse=a,$.fn.collapse.Constructor=s,$.fn.collapse.noConflict=function(){return $.fn.collapse=t,this},$(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=$
37(this),t=(e.attr("data-target")||t.preventDefault(),i(e)),e=t.data("bs.collapse")?"toggle":e.data();a.call(t,e)})}(jQuery),function($){"use strict";function n(t){$(t).on("click.bs.dropdown",this.toggle)}var s='[data-toggle="dropdown"]';function a(t){var e=t.attr("data-target"),e=(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))&&$(e);return e&&e.length?e:t.parent()}function o(n){n&&3===n.which||($(".dropdown-backdrop").remove(),$(s).each(function(){var t=$(this),e=a(t),i={relatedTarget:this};!e.hasClass("open")||n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&$.contains(e[0],n.target)||(e.trigger(n=$.Event("hide.bs.dropdown",i)),n.isDefaultPrevented())||(t.attr("aria-expanded","false"),e.removeClass("open").trigger($.Event("hidden.bs.dropdown",i)))}))}n.VERSION="3.3.6",n.prototype.toggle=function(t){var e=$(this);if(!e.is(".disabled, :disabled")){var i=a(e),n=i.hasClass("open");if(o(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&$(document.createElement("div")).addClass("dropdown-backdrop").insertAfter($(this)).on("click",o);n={relatedTarget:this};if(i.trigger(t=$.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger($.Event("shown.bs.dropdown",n))}return!1}},n.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=$
vendor: 9,129 bytes, line 37
37(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=a(e),n=i.hasClass("open");if(!n&&27!=t.which||n&&27==t.which)return 27==t.which&&i.find(s).trigger("focus"),e.trigger("click");n=i.find(".dropdown-menu li:not(.disabled):visible a");n.length&&(e=n.index(t.target),38==t.which&&0<e&&e--,40==t.which&&e<n.length-1&&e++,n.eq(e=~e?e:0).trigger("focus"))}}};var t=$.fn.dropdown;$.fn.dropdown=function(i){return this.each(function(){var t=$(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new n(this)),"string"==typeof i&&e[i].call(t)})},$.fn.dropdown.Constructor=n,$.fn.dropdown.noConflict=function(){return $.fn.dropdown=t,this},$(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,n.prototype.toggle).on("keydown.bs.dropdown.data-api",s,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function($){"use strict";function a(t,e){this.options=e,this.$body=$(document.body),this.$element=$(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,$.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function s(n,s){return this.each(function(){var t=$(this),e=t.data("bs.modal"),i=$.extend({},a.DEFAULTS,t.data(),"object"==typeof n&&n);e||t.data("bs.modal",e=new a(this,i)),"string"==typeof n?e[n](s):i.show&&e.show(s)})}a.VERSION="3.3.6",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},a.prototype.show=function(i){var n=this,t=$.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',$.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(t){$(t.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=$.support.transition&&n.$element.hasClass("fade"),e=(n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),t&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus(),$.Event("shown.bs.modal",{relatedTarget:i}));t?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(a.TRANSITION_DURATION):n.$element.trigger("focus").trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=$.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),$(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),$.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",$.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){$(document).off("focusin.bs.modal").on("focusin.bs.modal",$.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",$.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},a.prototype.resize=function(){this.isShown?$(window).on("resize.bs.modal",$.proxy(this.handleUpdate,this)):$(window).off("resize.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e,i=this,n=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=$.support.transition&&n,this.$backdrop=$(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",$.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n=function(){i.removeBackdrop(),t&&t()},$.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):n()):t&&t()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var t,e=(e=window.innerWidth)||(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left);this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},a.prototype.measureScrollbar=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",this.$body.append(t),t.offsetWidth-t.clientWidth);return this.$body[0].removeChild(t),e};var t=$.fn.modal;$.fn.modal=s,$.fn.modal.Constructor=a,$.fn.modal.noConflict=function(){return $.fn.modal=t,this},$(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=$(this),i=e.attr("href"),n=$(e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),i=n.data("bs.modal")?"toggle":$.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),s.call(n,i,this)})}(jQuery),function($){"use strict";function l(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}l.VERSION="3.3.6",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},l.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=$(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a,o=n[s];"click"==o?this.$element.on("click."+this.type,this.options.selector,$.proxy(this.toggle,this)):"manual"!=o&&(a="hover"==o?"mouseleave":"focusout",this.$element.on(("hover"==o?"mouseenter":"focusin")+"."+this.type,this.options.selector,$.proxy(this.enter,this)),this.$element.on(a+"."+this.type,this.options.selector,$.proxy(this.leave,this)))}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(t){return(t=$.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},l.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&$.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},l.prototype.enter=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),t instanceof $.Event&&(e.inState["focusin"==t.type?"focu
37s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),t instanceof $.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},l.prototype.show=function(){var e,t,i,n,s,a,o,r=$.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(r),s=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!r.isDefaultPrevented())&&s&&(r=(e=this).tip(),s=this.getUID(this.type),this.setContent(),r.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&r.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,(o=(t=/\s?auto?\s?/i).test(s))&&(s=s.replace(t,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),i=r[0].offsetWidth,n=r[0].offsetHeight,o&&(o=s,a=this.getPosition(this.$viewport),s="bottom"==s&&t.bottom+n>a.bottom?"top":"top"==s&&t.top-n<a.top?"bottom":"right"==s&&t.right+i>a.width?"left":"left"==s&&t.left-i<a.left?"right":s,r.removeClass(o).addClass(s)),a=this.getCalculatedOffset(s,t,i,n),this.applyPlacement(a,s),o=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},$.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o())},l.prototype.applyPlacement=function(t,e){var i=this.tip(),n=i[0].offsetWidth,s=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),o=parseInt(i.css("margin-left"),10),a=(isNaN(a)&&(a=0),isNaN(o)&&(o=0),t.top+=a,t.left+=o,$.offset.setOffset(i[0],$.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in"),i[0].offsetWidth),o=i[0].offsetHeight,r=("top"==e&&o!=s&&(t.top=t.top+s-o),this.getViewportAdjustedDelta(e,t,a,o)),e=(r.left?t.left+=r.left:t.top+=r.top,/top|bottom/.test(e)),n=e?2*r.left-n+a:2*r.top-s+o,a=e?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(n,i[0][a],e)},l.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(t){var e=this,i=$(this.$tip),n=$.Event("hide.bs."+this.type);function s(){"in"!=e.hoverState&&i.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(n),!n.isDefaultPrevented())return i.removeClass("in"),$.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,e=e.getBoundingClientRect(),n=(null==e.width&&(e=$.extend({},e,{width:e.right-e.left,height:e.bottom-e.top})),i?{top:0,left:0}:t.offset()),t={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},i=i?{width:$(window).width(),height:$(window).height()}:null;return $.extend({},e,t,i,n)}
vendor: 6,606 bytes, line 37
37,l.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,i,n){var s,a,o={top:0,left:0};return this.$viewport&&(s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport),/right|left/.test(t)?(t=e.top-s-a.scroll,n=e.top+s-a.scroll+n,t<a.top?o.top=a.top-t:n>a.top+a.height&&(o.top=a.top+a.height-n)):(t=e.left-s,n=e.left+s+i,t<a.left?o.left=a.left-t:n>a.right&&(o.left=a.left+a.width-n))),o},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},l.prototype.tip=function(){if(this.$tip||(this.$tip=$(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(t){var e=this;t&&!(e=$(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var t=$.fn.tooltip;$.fn.tooltip=function(n){return this.each(function(){var t=$(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.tooltip",e=new l(this,i)),"string"==typeof n&&e[n]())})},$.fn.tooltip.Constructor=l,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=t,this}}(jQuery),function($){"use strict";function s(t,e){this.init("popover",t,e)}if(!$.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.3.6",s.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=$.extend({},$.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=$.fn.popover;$.fn.popover=function(n){return this.each(function(){var t=$(this),e=t.data("bs.popover"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof n&&e[n]())})},$.fn.popover.Constructor=s,$.fn.popover.noConflict=function(){return $.fn.popover=t,this}}(jQuery),function($){"use strict";function n(t,e){this.$body=$(document.body),this.$scrollElement=$(t).is(document.body)?$(window):$(t),this.options=$.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",$.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=$(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new n(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}n.VERSION="3.3.6",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),$.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=$(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&$(t);return e&&e.length&&e.is(":visible")?[[e[i]().top+n,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),s=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=e)return o!=(t=a[a.length-1])&&this.activate(t);if(o&&e<s[0])return this.activeTarget=null,this.clear();for(t=s.length;t--;)o!=a[t]&&e>=s[t]&&(void 0===s[t+1]||e<s[t+1])&&this.activate(a[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=$(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},n.prototype.clear=function(){$(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=$.fn.scrollspy;$.fn.scrollspy=e,$.fn.scrollspy.Constructor=n,$.fn.scrollspy.noConflict=function(){return $.fn.scrollspy=t,this},$(window).on("load.bs.scrollspy.data-api",function(){$('[data-spy="scroll"]').each(function(){var t=$(this);e.call(t,t.data())})})}(jQuery),function($){"use strict";function o(t){this.element=$(t)}function e(i){return this.each(function(){var t=$(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new o(this)),"string"==typeof i&&e[i]()})}function t(t){t.preventDefault(),e.call($(this),"show")}o.VERSION="3.3.6",o.TRANSITION_DURATION=150,o.prototype.show=function(){var t,e,i,n=this.element,s=n.
37closest("ul:not(.dropdown-menu)"),a=(a=n.data("target"))||(a=n.attr("href"))&&a.replace(/.*(?=#[^\s]*$)/,"");n.parent("li").hasClass("active")||(t=s.find(".active:last a"),e=$.Event("hide.bs.tab",{relatedTarget:n[0]}),i=$.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),n.trigger(i),i.isDefaultPrevented())||e.isDefaultPrevented()||(i=$(a),this.activate(n.closest("li"),s),this.activate(i,i.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:n[0]}),n.trigger({type:"shown.bs.tab",relatedTarget:t[0]})}))},o.prototype.activate=function(t,e,i){var n=e.find("> .active"),s=i&&$.support.transition&&(n.length&&n.hasClass("fade")||!!e.find("> .fade").length);function a(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}n.length&&s?n.one("bsTransitionEnd",a).emulateTransitionEnd(o.TRANSITION_DURATION):a(),n.removeClass("in")};var i=$.fn.tab;$.fn.tab=e,$.fn.tab.Constructor=o,$.fn.tab.noConflict=function(){return $.fn.tab=i,this},$(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function($){"use strict";function o(t,e){this.options=$.extend({},o.DEFAULTS,e),this.$target=$(this.options.target).on("scroll.bs.affix.data-api",$.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",$.proxy(this.checkPositionWithEventLoop,this)),this.$element=$(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}function i(i){return this.each(function(){var t=$(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new o(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}o.VERSION="3.3.6",o.RESET="affix affix-top affix-bottom",o.DEFAULTS={offset:0,target:window},o.prototype.getState=function(t,e,i,n){var s,a=this.$target.scrollTop(),o=this.$element.offset(),r=this.$target.height();return null!=i&&"top"==this.affixed?a<i&&"top":"bottom"==this.affixed?null!=i?!(a+this.unpin<=o.top)&&"bottom":!(a+r<=t-n)&&"bottom":(o=(s=null==this.affixed)?a:o.top,null!=i&&a<=i?"top":null!=n&&t-n<=o+(s?r:e)&&"bottom")},o.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(o.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},o.prototype.checkPositionWithEventLoop=function(){setTimeout($.proxy(this.checkPosition,this),1)},o.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,n=e.bottom,s=Math.max($(document).height(),$(document.body).height()),e=("object"!=typeof e&&(n=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof n&&(n=e.bottom(this.$element)),this.get
37State(s,t,i,n));if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var i="affix"+(e?"-"+e:""),a=$.Event(i+".bs.affix");if(this.$element.trigger(a),a.isDefaultPrevented())return;this.affixed=e,this.unpin="bottom"==e?this.getPinnedOffset():null,this.$element.removeClass(o.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:s-t-n})}};var t=$.fn.affix;$.fn.affix=i,$.fn.affix.Constructor=o,$.fn.affix.noConflict=function(){return $.fn.affix=t,this},$(window).on("load",function(){$('[data-spy="affix"]').each(function(){var t=$(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery),function($){$.fn.appear=function(i,t){var d=$.extend({data:void 0,one:!0,accX:0,accY:0},t);return this.each(function(){var h,e,t,c=$(this);c.appeared=!1,i?(h=$(window),e=function(){var t,e,i,n,s,a,o,r,l,u;c.is(":visible")&&(t=h.scrollLeft(),e=h.scrollTop(),i=(n=c.offset()).left,n=n.top,s=d.accX,a=d.accY,o=c.height(),r=h.height(),l=c.width(),u=h.width(),e<=n+o+a)&&n<=e+r+a&&t<=i+l+s&&i<=t+u+s?c.appeared||c.trigger("appear",d.data):c.appeared=!1},t=function(){var t;c.appeared=!0,d.one&&(h.unbind("scroll",e),0<=(t=$.inArray(e,$.fn.appear.checks)))&&$.fn.appear.checks.splice(t,1),i.apply(this,arguments)},d.one?c.one("appear",d.data,t):c.bind("appear",d.data,t),h.scroll(e),$.fn.appear.checks.push(e),e()):c.trigger("appear",d.data)})},$.extend($.fn.appear,{checks:[],timeout:null,checkAll:function(){var t=$.fn.appear.checks.length;if(0<t)for(;t--;)$.fn.appear.checks[t]()},run:function(){$.fn.appear.timeout&&clearTimeout($.fn.appear.timeout),$.fn.appear.timeout=setTimeout($.fn.appear.checkAll,20)}}),$.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(t,e){var i=$.fn[e];i&&($.fn[e]=function(){var t=i.apply(this,arguments);return $.fn.appear.run(),t})})}(jQuery),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function($,r,l){var i={init:function(t,e){this.$elem=$(e),this.options=$.extend({},$.fn.owlCarousel.options,this.$elem.data(),t),this.userOptions=t,this.loadContent()},loadContent:function(){var t,n=this;"function"==typeof n.options.beforeInit&&n.options.beforeInit.apply(this,[n.$elem]),"string"==typeof n.options.jsonPath?(t=n.options.jsonPath,$.getJSON(t,function(t){var e,i="";if("function"==typeof n.options.jsonSuccess)n.options.jsonSuccess.apply(this,[t]);else{for(e in t.owl)t.owl.hasOwnProperty(e)&&(i+=t.owl[e].item);n.$elem.html(i)}n.logIn()})):n.logIn()},logIn:function(){var t=this;t.$elem.data("owl-originalStyles",t.$elem.attr("style")),t.$elem.data("owl-originalClasses",t.$elem.attr("class")),t.$elem.css({opacity:0}),t.orignalItems=t.options.items,t.checkBrowser(),t.wrapperWidth=0,t.checkVisible=null,t.setVars()},setVars:function(){var t=this;if(0===t.$elem.children().length)return!1;t.baseClass(),t.eventTypes(),t.$userItems=t.$elem.children(),t.itemsAmount=t.$userItems.length,t.wrapItems(),t.$owlItems=t.$elem.find(".owl-item"),t.$owlWrapper=t.$elem.find(".owl-wrapper"),t.playDirection="next",t.prevItem=0,t.prevArr=[0],t.currentItem=0,t.customEvents(),t.onStartup()},onStartup:function(){var t=this;t.updateItems(),t.calculateAll(),t.buildControls(),t.updateControls(),t.response(),t.moveEvents(),t.stopOnHover(),t.owlStatus(),!1!==t.options.transitionStyle&&t.transitionTypes(t.options.transitionStyle),!0===t.options.autoPlay&&(t.options.autoPlay=5e3),t.play(),t.$elem.find(".owl-wrapper").css("display","block"),t.$elem.is(":visible")?t.$elem.css("opacity",1):t.watchVisibility(),t.onstartup=!1,t.eachMoveUpdate(),"function"==typeof t.options.afterInit&&t.options.afterInit.apply(this,[t.$elem])},eachMoveUpdate:function(){!0===this.options.lazyLoad&&this.lazyLoad(),!0===this.options.autoHeight&&this.autoHeight(),this.onVisibleItems(),"function"==typeof this.options.afterAction&&this.options.afterAction.apply(this,[this.$elem])}
37,updateVars:function(){var t=this;"function"==typeof t.options.beforeUpdate&&t.options.beforeUpdate.apply(this,[t.$elem]),t.watchVisibility(),t.updateItems(),t.calculateAll(),t.updatePosition(),t.updateControls(),t.eachMoveUpdate(),"function"==typeof t.options.afterUpdate&&t.options.afterUpdate.apply(this,[t.$elem])},reload:function(){var t=this;r.setTimeout(function(){t.updateVars()},0)},watchVisibility:function(){var t=this;if(!1!==t.$elem.is(":visible"))return!1;t.$elem.css({opacity:0}),r.clearInterval(t.autoPlayInterval),r.clearInterval(t.checkVisible),t.checkVisible=r.setInterval(function(){t.$elem.is(":visible")&&(t.reload(),t.$elem.animate({opacity:1},200),r.clearInterval(t.checkVisible))},500)},wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>'),this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">'),this.wrapperOuter=this.$elem.find(".owl-wrapper-outer"),this.$elem.css("display","block")},baseClass:function(){var t=this.$elem.hasClass(this.options.baseClass),e=this.$elem.hasClass(this.options.theme);t||this.$elem.addClass(this.options.baseClass),e||this.$elem.addClass(this.options.theme)},updateItems:function(){var t,e,i=this;if(!1===i.options.responsive)return!1;if(!0===i.options.singleItem)return i.options.items=i.orignalItems=1,i.options.itemsCustom=!1,i.options.itemsDesktop=!1,i.options.itemsDesktopSmall=!1,i.options.itemsTablet=!1,i.options.itemsTabletSmall=!1,i.options.itemsMobile=!1;if((t=$(i.options.responsiveBaseWidth).width())>(i.options.itemsDesktop[0]||i.orignalItems)&&(i.options.items=i.orignalItems),!1!==i.options.itemsCustom)for(i.options.itemsCustom.sort(function(t,e){return t[0]-e[0]}),e=0;e<i.options.itemsCustom.length;e+=1)i.options.itemsCustom[e][0]<=t&&(i.options.items=i.options.itemsCustom[e][1]);else t<=i.options.itemsDesktop[0]&&!1!==i.options.itemsDesktop&&(i.options.items=i.options.itemsDesktop[1]),t<=i.options.itemsDesktopSmall[0]&&!1!==i.options.itemsDesktopSmall&&(i.options.items=i.options.itemsDesktopSmall[1]),t<=i.options.itemsTablet[0]&&!1!==i.options.itemsTablet&&(i.options.items=i.options.itemsTablet[1]),t<=i.options.itemsTabletSmall[0]&&!1!==i.options.itemsTabletSmall&&(i.options.items=i.options.itemsTabletSmall[1]),t<=i.options.itemsMobile[0]&&!1!==i.options.itemsMobile&&(i.options.items=i.options.itemsMobile[1]);i.options.items>i.itemsAmount&&!0===i.options.itemsScaleUp&&(i.options.items=i.itemsAmount)},response:function(){var t,e,i=this;if(!0!==i.options.responsive)return!1;e=$(r).width(),i.resizer=function(){$(r).width()!==e&&(!1!==i.options.autoPlay&&r.clearInterval(i.autoPlayInterval),r.clearTimeout(t),t=r.setTimeout(function(){e=$(r).width(),i.updateVars()},i.options.responsiveRefreshRate))},$(r).resize(i.resizer)},updatePosition:function(){this.jumpTo(this.currentItem),!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var i=this,n=0,s=i.itemsAmount-i.options.items;i.$owlItems.each(function(t){var e=$(this);e.css({width:i.itemWidth}).data("owl-item",Number(t)),t%i.options.items!=0&&t!==s||s<t||(n+=1),e.data("owl-roundPages",n)})},appendWrapperSizes:function(){var t=this.$owlItems.length*this.itemWidth;this.$owlWrapper.css({width:2*t,left:0}),this.appendItemsSizes()},calculateAll:function(){this.calculateWidth(),this.appendWrapperSizes(),this.loops(),this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/this.options.items)},max:function(){var t=this,e=-1*(t.itemsAmount*t.itemWidth-t.options.items*t.itemWidth);return t.options.items>t.itemsAmount?(t.maximumItem=0,t.maximumPixels=e=0):(t.maximumItem=t.itemsAmount-t.options.items,t.maximumPixels=e),e},min:function(){return 0},loops:function(){var t,e,i=0,n=0;for(this.positionsInArray=[0],this.pagesInArray=[],t=0;t<this.itemsAmount;t+=1)n+=this.itemWidth,this.positionsInArray.push(-n),!0===this.options.scrollPerPage&&(e=$(this.$owlItems[t]).data("owl-roundPages"))!==i&&(this.pagesInArray[i]=this.positionsInArray[t],i=e)},buildControls:function(){!0!==this.options.navigation&&!0!==this.options.pagination||(this.owlControls=$('<div class="owl-control
37s"/>').toggleClass("clickable",!this.browser.isTouch).appendTo(this.$elem)),!0===this.options.pagination&&this.buildPagination(),!0===this.options.navigation&&this.buildButtons()},buildButtons:function(){var e=this,t=$('<div class="owl-buttons"/>');e.owlControls.append(t),e.buttonPrev=$("<div/>",{class:"owl-prev",html:e.options.navigationText[0]||""}),e.buttonNext=$("<div/>",{class:"owl-next",html:e.options.navigationText[1]||""}),t.append(e.buttonPrev).append(e.buttonNext),t.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(t){t.preventDefault()}),t.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(t){t.preventDefault(),$(this).hasClass("owl-next")?e.next():e.prev()})},buildPagination:function(){var e=this;e.paginationWrapper=$('<div class="owl-pagination"/>'),e.owlControls.append(e.paginationWrapper),e.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(t){t.preventDefault(),Number($(this).data("owl-page"))!==e.currentItem&&e.goTo(Number($(this).data("owl-page")),!0)})},updatePagination:function(){var t,e,i,n,s,a,o=this;if(!1===o.options.pagination)return!1;for(o.paginationWrapper.html(""),e=o.itemsAmount-o.itemsAmount%o.options.items,n=t=0;n<o.itemsAmount;n+=1)n%o.options.items==0&&(t+=1,e===n&&(i=o.itemsAmount-o.options.items),s=$("<div/>",{class:"owl-page"}),a=$("<span></span>",{text:!0===o.options.paginationNumbers?t:"",class:!0===o.options.paginationNumbers?"owl-numbers":""}),s.append(a),s.data("owl-page",e===n?i:n),s.data("owl-roundPages",t),o.paginationWrapper.append(s));o.checkPagination()},checkPagination:function(){var t=this;if(!1===t.options.pagination)return!1;t.paginationWrapper.find(".owl-page").each(function(){$(this).data("owl-roundPages")===$(t.$owlItems[t.currentItem]).data("owl-roundPages")&&(t.paginationWrapper.find(".owl-page").removeClass("active"),$(this).addClass("active"))})},checkNavigation:function(){var t=this;if(!1===t.options.navigation)return!1;!1===t.options.rewindNav&&(0===t.currentItem&&0===t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.addClass("disabled")):0===t.currentItem&&0!==t.maximumItem?(t.buttonPrev.addClass("disabled"),t.buttonNext.removeClass("disabled")):t.currentItem===t.maximumItem?(t.buttonPrev.removeClass("disabled"),t.buttonNext.addClass("disabled")):0!==t.currentItem&&t.currentItem!==t.maximumItem&&(t.buttonPrev.removeClass("disabled"),t.buttonNext.removeClass("disabled")))},updateControls:function(){this.updatePagination(),this.checkNavigation(),this.owlControls&&(this.options.items>=this.itemsAmount?this.owlControls.hide():this.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(t){var e=this;if(e.isTransition)return!1;if(e.currentItem+=!0===e.options.scrollPerPage?e.options.items:1,e.currentItem>e.maximumItem+(!0===e.options.scrollPerPage?e.options.items-1:0)){if(!0!==e.options.rewindNav)return e.currentItem=e.maximumItem,!1;e.currentItem=0,t="rewind"}e.goTo(e.currentItem,t)},prev:function(t){var e=this;if(e.isTransition)return!1;if(!0===e.options.scrollPerPage&&0<e.currentItem&&e.currentItem<e.options.items?e.currentItem=0:e.currentItem-=!0===e.options.scrollPerPage?e.options.items:1,e.currentItem<0){if(!0!==e.options.rewindNav)return e.currentItem=0,!1;e.currentItem=e.maximumItem,t="rewind"}e.goTo(e.currentItem,t)},goTo:function(t,e,i){var n=this;return!n.isTransition&&("function"==typeof n.options.beforeMove&&n.options.beforeMove.apply(this,[n.$elem]),t>=n.maximumItem?t=n.maximumItem:t<=0&&(t=0),n.currentItem=n.owl.currentItem=t,!1!==n.options.transitionStyle&&"drag"!==i&&1===n.options.items&&!0===n.browser.support3d?(n.swapSpeed(0),!0===n.browser.support3d?n.transition3d(n.positionsInArray[t]):n.css2slide(n.positionsInArray[t],1),n.afterGo(),n.singleItemTransition(),!1):(i=n.positionsInArray[t],!0===n.browser.support3d?(!(n.isCss3Finish=!1)===e?(n.swapSpeed("paginationSpeed"),r.setTimeout(function(){n.isCss3Finish=!0},n.options.paginationSpeed)):"rewind"===e?(n.swapSpeed(n.options.rewindSpeed),r.setTimeout(function(){n.isCss3Finish=!0},n.options.rewindSpeed)):(n.swapSpeed("slideSpeed"),r.setTimeout(function(){n.isCss3Finish=!0},n.options.slideSpeed)),n.transition3d(i)):!0===e?n.css2slide(i,n.options.paginationSpeed):"rewind"===e?n.css2slide(i,n.options.rewindSpeed):n.css2slide(i,n.options.slideSpeed),void n.afterGo()))},jumpTo:function(t){var e=this;
37"function"==typeof e.options.beforeMove&&e.options.beforeMove.apply(this,[e.$elem]),t>=e.maximumItem||-1===t?t=e.maximumItem:t<=0&&(t=0),e.swapSpeed(0),!0===e.browser.support3d?e.transition3d(e.positionsInArray[t]):e.css2slide(e.positionsInArray[t],1),e.currentItem=e.owl.currentItem=t,e.afterGo()},afterGo:function(){var t=this;t.prevArr.push(t.currentItem),t.prevItem=t.owl.prevItem=t.prevArr[t.prevArr.length-2],t.prevArr.shift(0),t.prevItem!==t.currentItem&&(t.checkPagination(),t.checkNavigation(),t.eachMoveUpdate(),!1!==t.options.autoPlay)&&t.checkAp(),"function"==typeof t.options.afterMove&&t.prevItem!==t.currentItem&&t.options.afterMove.apply(this,[t.$elem])},stop:function(){this.apStatus="stop",r.clearInterval(this.autoPlayInterval)},checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var t=this;if(!(t.apStatus="play")===t.options.autoPlay)return!1;r.clearInterval(t.autoPlayInterval),t.autoPlayInterval=r.setInterval(function(){t.next(!0)},t.options.autoPlay)},swapSpeed:function(t){"slideSpeed"===t?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed"===t?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string"!=typeof t&&this.$owlWrapper.css(this.addCssSpeed(t))},addCssSpeed:function(t){return{"-webkit-transition":"all "+t+"ms ease","-moz-transition":"all "+t+"ms ease","-o-transition":"all "+t+"ms ease",transition:"all "+t+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(t){return{"-webkit-transform":"translate3d("+t+"px, 0px, 0px)","-moz-transform":"translate3d("+t+"px, 0px, 0px)","-o-transform":"translate3d("+t+"px, 0px, 0px)","-ms-transform":"translate3d("+t+"px, 0px, 0px)",transform:"translate3d("+t+"px, 0px,0px)"}},transition3d:function(t){this.$owlWrapper.css(this.doTranslate(t))},css2move:function(t){this.$owlWrapper.css({left:t})},css2slide:function(t,e){var i=this;i.isCssFinish=!1,i.$owlWrapper.stop(!0,!0).animate({left:t},{duration:e||i.options.slideSpeed,complete:function(){i.isCssFinish=!0}})},checkBrowser:function(){var t="translate3d(0px, 0px, 0px)",e=l.createElement("div");e.style.cssText="  -moz-transform:"+t+"; -ms-transform:"+t+"; -o-transform:"+t+"; -webkit-transform:"+t+"; transform:"+t,e=null!==(t=e.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g))&&1===t.length,t="ontouchstart"in r||r.navigator.msMaxTouchPoints,this.browser={support3d:e,isTouch:t}},moveEvents:function(){!1===this.options.mouseDrag&&!1===this.options.touchDrag||(this.gestures(),this.disabledEvents())},eventTypes:function(){var t=this,e=["s","e","x"];t.ev_types={},!0===t.options.mouseDrag&&!0===t.options.touchDrag?e=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]:!1===t.options.mouseDrag&&!0===t.options.touchDrag?e=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===t.options.mouseDrag&&!1===t.options.touchDrag&&(e=["mousedown.owl","mousemove.owl","mouseup.owl"]),t.ev_types.start=e[0],t.ev_types.move=e[1],t.ev_types.end=e[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",function(t){t.preventDefault()}),this.$elem.on("mousedown.disableTextSelect",function(t){return $(t.target).is("input, textarea, select, option")})},gestures:function(){var i=this,n={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};function s(t){return void 0!==t.touches?{x:t.touches[0].pageX,y:t.touches[0].pageY}:void 0===t.touches?void 0!==t.pageX?{x:t.pageX,y:t.pageY}:void 0===t.pageX?{x:t.clientX,y:t.clientY}:void 0:void 0}function a(t){"on"===t?($(l).on(i.ev_types.move,e),$(l).on(i.ev_types.end,o)):"off"===t&&($(l).off(i.ev_types.move),$(l).off(i.ev_types.end))}function e(t){var t=t.originalEvent||t||r.event;i.newPosX=s(t).x-n.offsetX,i.newPosY=s(t).y-n.offsetY,i.newRelativeX=i.newPosX-n.relativePos,"function"==typeof i.options.startDragging&&!0!==n.dragging&&0!==i.newRelativeX&&(n.dragging=!0,i.options.startDragging.apply(i,[i.$elem])),(8<i.newRelativeX||i.newRelativeX<-8)&&!0===i.browser.isTouch&&(void 0!==t.preventDefault?t.preventDefault():t.returnValue=!1,n.sliding=!0),(10<i.newPosY||i.newPosY<-10)&&!1===n.sliding&&$(l).off("touchmove.owl"),t=function(){return i.maximumPixels+i.newRelativeX/5},i.newPosX=Math.max(Math.min(i.newPosX,i.newRelativeX/5),t()),!0===i.browser.support3d?i.transition3d(i.newPosX):i.css2move(i.newPosX)}function o(t){var e,t=t.originalEvent||t||r.event;t.target=t.target||t.srcElement,!(n.dragging=!1)!==i.browser.isTouch&&i.$owlWrapper.removeClass("grabbing"),i.newRelativeX<0?i.dragDirection=i.owl.dragDirection="left":i.dragDirection=i.owl.dragDirection="right",0!==i.newRelativeX&&(e=i.getNewPosition(),i.goTo(e,!1,"drag"),n.targetElement===t.target)&&!0!==i.browser.isTouch&&($(t.target).on("click.disable",function(t){t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),$(t.target).off("click.disable")}),t=(e=$._data(t.target,"events").click).pop(),e.splice(0,0,t)),a("off")}i.isCssFinish=!0,i.$elem.on(i.ev_types.start,".owl-wrapper",function(t){var e,t=t.originalEvent||t||r.event;return 3!==t.which&&(i.itemsAmount<=i.options.items?void 0:!(!1===i.isCssFinish&&!i.options.dragBeforeAnimFinish||!1===i.isCss3Finish&&!i.options.dragBeforeAnimFinish)&&
37(!1!==i.options.autoPlay&&r.clearInterval(i.autoPlayInterval),!0===i.browser.isTouch||i.$owlWrapper.hasClass("grabbing")||i.$owlWrapper.addClass("grabbing"),i.newPosX=0,i.newRelativeX=0,$(this).css(i.removeTransition()),e=$(this).position(),n.relativePos=e.left,n.offsetX=s(t).x-e.left,n.offsetY=s(t).y-e.top,a("on"),n.sliding=!1,void(n.targetElement=t.target||t.srcElement)))})},getNewPosition:function(){var t=this.closestItem();return t>this.maximumItem?(this.currentItem=this.maximumItem,t=this.maximumItem):0<=this.newPosX&&(this.currentItem=t=0),t},closestItem:function(){var i=this,n=!0===i.options.scrollPerPage?i.pagesInArray:i.positionsInArray,s=i.newPosX,a=null;return $.each(n,function(t,e){s-i.itemWidth/20>n[t+1]&&s-i.itemWidth/20<e&&"left"===i.moveDirection()?(a=e,!0===i.options.scrollPerPage?i.currentItem=$.inArray(a,i.positionsInArray):i.currentItem=t):s+i.itemWidth/20<e&&s+i.itemWidth/20>(n[t+1]||n[t]-i.itemWidth)&&"right"===i.moveDirection()&&(!0===i.options.scrollPerPage?(a=n[t+1]||n[n.length-1],i.currentItem=$.inArray(a,i.positionsInArray)):(a=n[t+1],i.currentItem=t+1))}),i.currentItem},moveDirection:function(){var t;return this.newRelativeX<0?(t="right",this.playDirection="next"):(t="left",this.playDirection="prev"),t},customEvents:function(){var i=this;i.$elem.on("owl.next",function(){i.next()}),i.$elem.on("owl.prev",function(){i.prev()}),i.$elem.on("owl.play",function(t,e){i.options.autoPlay=e,i.play(),i.hoverStatus="play"}),i.$elem.on("owl.stop",function(){i.stop(),i.hoverStatus="stop"}),i.$elem.on("owl.goTo",function(t,e){i.goTo(e)}),i.$elem.on("owl.jumpTo",function(t,e){i.jumpTo(e)})},stopOnHover:function(){var t=this;!0===t.options.stopOnHover&&!0!==t.browser.isTouch&&!1!==t.options.autoPlay&&(t.$elem.on("mouseover",function(){t.stop()}),t.$elem.on("mouseout",function(){"stop"!==t.hoverStatus&&t.play()}))},lazyLoad:function(){var t,e,i,n;if(!1===this.options.lazyLoad)return!1;for(t=0;t<this.itemsAmount;t+=1)"loaded"!==(e=$(this.$owlItems[t])).data("owl-loaded")&&(i=e.data("owl-item"),"string"!=typeof(n=e.find(".lazyOwl")).data("src")?e.data("owl-loaded","loaded"):(void 0===e.data("owl-loaded")&&(n.hide(),e.addClass("loading").data("owl-loaded","checked")),(!0!==this.options.lazyFollow||i>=this.currentItem)&&i<this.currentItem+this.options.items&&n.length&&this.lazyPreload(e,n)))},lazyPreload:function(e,i){var n,s=this,a=0;"DIV"===i.prop("tagName")?(i.css("background-image","url("+i.data("src")+")"),n=!0):i[0].src=i.data("src"),function t(){a+=1,!s.completeImg(i.get(0))&&!0!==n&&a<=100?r.setTimeout(t,100):function(){e.data("owl-loaded","loaded").removeClass("loading"),i.removeAttr("data-src"),"fade"===s.options.lazyEffect?i.fadeIn(400):i.show(),"function"==typeof s.options.afterLazyLoad&&s.options.afterLazyLoad.apply(this,[s.$elem])}()}()},autoHeight:function(){var e,i=this,n=$(i.$owlItems[i.currentItem]).find("img");function s(){var t=$(i.$owlItems[i.currentItem]).height();i.wrapperOuter.css("height",t+"px"),i.wrapperOuter.hasClass("autoHeight")||r.setTimeout(function(){i.wrapperOuter.addClass("autoHeight")},0)}(void 0!==n.get(0)?(e=0,function t(){e+=1,i.completeImg(n.get(0))?s():e<=100?r.setTimeout(t,100):i.wrapperOuter.css("height","")}):s)()},completeImg:function(t){return!!t.complete&&(void 0===t.naturalWidth||0!==t.naturalWidth)},onVisibleItems:function(){var t,e=this;for(!0===e.options.addClassActive&&e.$owlItems.removeClass("active"),e.visibleItems=[],t=e.currentItem;t<e.currentItem+e.options.items;t+=1)e.visibleItems.push(t),!0===e.options.addClassActive&&$(e.$owlItems[t]).addClass("active");e.owl.visibleItems=e.visibleItems},transitionTypes:function(t){this.outClass="owl-"+t+"-out",this.inClass="owl-"+t+"-in"},singleItemTransition:function(){var t=this,e=t.outClass,i=t.inClass,n=t.$owlItems.eq(t.currentItem),s=t.$owlItems.eq(t.prevItem),a=Math.abs(t.positionsInArray[t.currentItem])+t.positionsInArray[t.prevItem],o=Math.abs(t.positionsInArray[t.currentItem])+t.itemWidth/2,r="webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend";t.isTransition=!0,t.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":o+"px","-moz-perspective-origin":o+"px","perspective-origin":o+"px"}),s.css({position:"relative",left:a+"px"}).addClass(e).on(r,function(){t.endPrev=!0,s.off(r),t.clearTransStyle(s,e)}),n.addClass(i).on(r,function(){t.endCurrent=!0,n.off(r),t.clearTransStyle(n,i)})},clearTransStyle:function(t,e){t.css({position:"",left:""}).removeClass(e),this.endPrev&&this.endCurrent&&(this.$owlWrapper.removeClass("owl-
37origin"),this.endPrev=!1,this.endCurrent=!1,this.isTransition=!1)},owlStatus:function(){var t=this;t.owl={userOptions:t.userOptions,baseElement:t.$elem,userItems:t.$userItems,owlItems:t.$owlItems,currentItem:t.currentItem,prevItem:t.prevItem,visibleItems:t.visibleItems,isTouch:t.browser.isTouch,browser:t.browser,dragDirection:t.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect"),$(l).off(".owl owl"),$(r).off("resize",this.resizer)},unWrap:function(){0!==this.$elem.children().length&&(this.$owlWrapper.unwrap(),this.$userItems.unwrap().unwrap(),this.owlControls)&&this.owlControls.remove(),this.clearEvents(),this.$elem.attr("style",this.$elem.data("owl-originalStyles")||"").attr("class",this.$elem.data("owl-originalClasses"))},destroy:function(){this.stop(),r.clearInterval(this.checkVisible),this.unWrap(),this.$elem.removeData()},reinit:function(t){t=$.extend({},this.userOptions,t);this.unWrap(),this.init(t,this.$elem)},addItem:function(t,e){return!!t&&(0===this.$elem.children().length?(this.$elem.append(t),this.setVars(),!1):(this.unWrap(),(e=void 0===e||-1===e?-1:e)>=this.$userItems.length||-1===e?this.$userItems.eq(-1).after(t):this.$userItems.eq(e).before(t),void this.setVars()))},removeItem:function(t){if(0===this.$elem.children().length)return!1;t=void 0===t||-1===t?-1:t,this.unWrap(),this.$userItems.eq(t).remove(),this.setVars()}};$.fn.owlCarousel=function(e){return this.each(function(){if(!0===$(this).data("owl-init"))return!1;$(this).data("owl-init",!0);var t=Object.create(i);t.init(e,this),$.data(this,"owlCarousel",t)})},$.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1,responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:r,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}}(jQuery,window,document),function($){var l=$(window),u=l.height();l.resize(function(){u=l.height()}),$.fn.parallax=function(n,s,t){var a,o,r=$(this);function e(){var i=l.scrollTop();r.each(function(){var t=$(this),e=t.offset().top;e+a(t)<i||i+u<e||r.css("backgroundPosition",n+" "+Math.round((o-i)*s)+"px")})}r.each(function(){o=r.offset().top}),a=t?function(t){return t.outerHeight(!0)}:function(t){return t.height()},(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===s)&&(s=.1),(arguments.length<3||null===t)&&(t=!0),l.bind("scroll",e).resize(e),e()}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function($){function t(){}function u(t,e){p.ev.on("mfp"+t+".mfp",e)}function h(t,e,i,n){var s=document.createElement("div");return s.className="mfp-"+t,i&&(s.innerHTML=i),n?e&&e.appendChild(s):(s=$(s),e&&s.appendTo(e)),s}function c(t,e){p.ev.triggerHandler("mfp"+t,e),p.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),p.st.callbacks[t])&&p.st.callbacks[t].apply(p,$.isArray(e)?e:[e])}function d(t){return t===i&&p.currTemplate.closeBtn||(p.currTemplate.closeBtn=$(p.st.closeMarkup.replace("%title%",p.st.tClose)),i=t),p.currTemplate.closeBtn}function a(){$.magnificPopup.instance||((p=new t).init(),$.magnificPopup.instance=p)}function o(){v&&(g.after(v.addClass(l)).detach(),v=null)}function s(){y&&$(document.body).removeClass(y)}function e(){s(),p.req&&p.req.abort()}var p,n,f,r,m,i,l,g,v,y,_,b="Close",w="BeforeClose",x="MarkupParse",T="mfp-ready",k="mfp-removing",C="mfp-prevent-close",I=!!window.jQuery,S=$(window),D=($.magnificPopup={instance:null,proto:t.prototype={constructor:t,init:function(){var t=navigator.appVersion;p.isLowIE=p.isIE8=document.all&&!document.addEventListener,p.isAndroid=/android/gi.test(t),p.isIOS=/iphone|ipad|ipod/gi.test(t),p.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),p.probablyMobile=p.isAndroid||p.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),f=$(document),p.popupsCache={}},open:function(t){if(!1===t.isObj){p.items=t.items.toArray(),p.index=0;for(var e,i=t.items,n=0;n<i.length;n++)if(((e=i[n]).parsed?e.el[0]:e)===t.el[0]){p.index=n;break}}else p.items=$.isArray(t.items)?t.items:[t.items],p.index=t.index||0;if(!p.isOpen){p.types=[],m="",t.mainEl&&t.mainEl.length?p.ev=t.mainEl.eq(0):p.ev=f,t.key?(p.popupsCache[t.key]||(p.popupsCache[t.key]={}),p.currTemplate=p.popupsCache[t.key]):p.currTemplate={},p.st=$.extend(!0,{},$.magnificPopup.defaults,t),p.fixedContentPos="auto"===p.st.fixedContentPos?!p.probablyMobile:p.st.fixedContentPos,p.st.modal&&(p.st.closeOnContentClick=!1,p.st.closeOnBgClick=!1,p.st.showCloseBtn=!1,p.st.enableEscapeKey=!1),p.bgOverlay||(p.bgOverlay=h("bg").on("click.mfp",function(){p.close()}),p.wrap=h("wrap").attr("tabindex",-1).on("click.mfp",function(t){p._checkIfClose(t.target)&&p.close()}),p.container=h("container",p.wrap)),p.contentContainer=h("content"),p.st.preloader&&(p.preloader=h("preloader",p.container,p.st.tLoading));for(var s=$.magnificPopup.modules,n=0;n<s.length;n++){var a=(a=s[n]).charAt(0).toUpperCase()+a.slice(1);p["init"+a].call(p)}c("BeforeOpen"),p.st.showCloseBtn&&(p.st.closeBtnInside?(u(x,function(t,e,
vendor: 14,821 bytes, line 37
37i,n){i.close_replaceWith=d(n.type)}),m+=" mfp-close-btn-in"):p.wrap.append(d())),p.st.alignTop&&(m+=" mfp-align-top"),p.fixedContentPos?p.wrap.css({overflow:p.st.overflowY,overflowX:"hidden",overflowY:p.st.overflowY}):p.wrap.css({top:S.scrollTop(),position:"absolute"}),!1!==p.st.fixedBgPos&&("auto"!==p.st.fixedBgPos||p.fixedContentPos)||p.bgOverlay.css({height:f.height(),position:"absolute"}),p.st.enableEscapeKey&&f.on("keyup.mfp",function(t){27===t.keyCode&&p.close()}),S.on("resize.mfp",function(){p.updateSize()}),p.st.closeOnContentClick||(m+=" mfp-auto-cursor"),m&&p.wrap.addClass(m);var o=p.wH=S.height(),r={},l=(p.fixedContentPos&&p._hasScrollBar(o)&&(l=p._getScrollbarSize())&&(r.marginRight=l),p.fixedContentPos&&(p.isIE7?$("body, html").css("overflow","hidden"):r.overflow="hidden"),p.st.mainClass);return p.isIE7&&(l+=" mfp-ie7"),l&&p._addClassToMFP(l),p.updateItemHTML(),c("BuildControls"),$("html").css(r),p.bgOverlay.add(p.wrap).prependTo(p.st.prependTo||$(document.body)),p._lastFocusedEl=document.activeElement,setTimeout(function(){p.content?(p._addClassToMFP(T),p._setFocus()):p.bgOverlay.addClass(T),f.on("focusin.mfp",p._onFocusIn)},16),p.isOpen=!0,p.updateSize(o),c("Open"),t}p.updateItemHTML()},close:function(){p.isOpen&&(c(w),p.isOpen=!1,p.st.removalDelay&&!p.isLowIE&&p.supportsTransition?(p._addClassToMFP(k),setTimeout(function(){p._close()},p.st.removalDelay)):p._close())},_close:function(){c(b);var t=k+" "+T+" ";p.bgOverlay.detach(),p.wrap.detach(),p.container.empty(),p.st.mainClass&&(t+=p.st.mainClass+" "),p._removeClassFromMFP(t),p.fixedContentPos&&(t={marginRight:""},p.isIE7?$("body, html").css("overflow",""):t.overflow="",$("html").css(t)),f.off("keyup.mfp focusin.mfp"),p.ev.off(".mfp"),p.wrap.attr("class","mfp-wrap").removeAttr("style"),p.bgOverlay.attr("class","mfp-bg"),p.container.attr("class","mfp-container"),!p.st.showCloseBtn||p.st.closeBtnInside&&!0!==p.currTemplate[p.currItem.type]||p.currTemplate.closeBtn&&p.currTemplate.closeBtn.detach(),p.st.autoFocusLast&&p._lastFocusedEl&&$(p._lastFocusedEl).focus(),p.currItem=null,p.content=null,p.currTemplate=null,p.prevHeight=0,c("AfterClose")},updateSize:function(t){var e;p.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,p.wrap.css("height",e),p.wH=e):p.wH=t||S.height(),p.fixedContentPos||p.wrap.css("height",p.wH),c("Resize")},updateItemHTML:function(){var t=p.items[p.index],e=(p.contentContainer.detach(),p.content&&p.content.detach(),(t=t.parsed?t:p.parseEl(p.index)).type),i=(c("BeforeChange",[p.currItem?p.currItem.type:"",e]),p.currItem=t,p.currTemplate[e]||(c("FirstMarkupParse",i=!!p.st[e]&&p.st[e].markup),p.currTemplate[e]=!i||$(i)),r&&r!==t.type&&p.container.removeClass("mfp-"+r+"-holder"),p["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,p.currTemplate[e]));p.appendContent(i,e),t.preloaded=!0,c("Change",t),r=t.type,p.container.prepend(p.contentContainer),c("AfterChange")},appendContent:function(t,e){(p.content=t)?p.st.showCloseBtn&&p.st.closeBtnInside&&!0===p.currTemplate[e]?p.content.find(".mfp-close").length||p.content.append(d()):p.content=t:p.content="",c("BeforeAppend"),p.container.addClass("mfp-"+e+"-holder"),p.contentContainer.append(p.content)},parseEl:function(t){var e,i=p.items[t];if((i=i.tagName?{el:$(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=p.types,s=0;s<n.length;s++)if(i.el.hasClass("mfp-"+n[s])){e=n[s];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||p.st.type||"inline",i.index=t,i.parsed=!0,p.items[t]=i,c("ElementParse",i),p.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,p._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:$.magnificPopup.defaults).midClick||!(2===t.which||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)){var n=(void 0!==i.disableOn?i:$.magnificPopup.defaults).disableOn;if(n)if($.isFunction(n)){if(!n.call(p))return!0}else if(S.width()<n)return!0;t.type&&(t.preventDefault(),p.isOpen)&&t.stopPropagation(),i.el=$(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),p.open(i)}},updateStatus:function(t,e){var i;p.preloader&&(n!==t&&p.container.removeClass("mfp-s-"+n),c("UpdateStatus",i={status:t,text:e=e||"loading"!==t?e:p.st.tLoading}),t=i.status,p.preloader.html(e=i.text),p.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),p.container.addClass("mfp-s-"+t),n=t)},_checkIfClose:function(t){if(!$(t).hasClass(C)){var e=p.st.closeOnContentClick,i=p.st.closeOnBgClick;if(e&&i)return!0;if(!p.content||$(t).hasClass("mfp-close")||p.preloader&&t===p.preloader[0])return!0;if(t===p.content[0]||$.contains(p.content[0],t)){if(e)return!0}else if(i&&$.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){p.bgOverlay.addClass(t),p.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),p.wrap.removeClass(t)},_hasScrollBar:function(t){return(p.isIE7?f.height():document.body.scrollHeight)>(t||S.height())},_setFocus:function(){(p.st.focus?p.content.find(p.st.focus).eq(0):p.wrap).focus()},_onFocusIn:function(t){if(t.target!==p.wrap[0]&&!$.contains(p.wrap[0],t.target))return p._setFocus(),!1},_parseMarkup:function(s,t,e){var a;e.data&&(t=$.extend(e.data,t)),c(x,[s,t,e]),$.each(t,function(t,e){if(void 0===e||!1===e)return!0;var i,n;1<(a=t.split("_")).length?0<(i=s.find(".mfp-"+a[0])).length&&("replaceWith"===(n=a[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith($("<img>").attr("src",e).attr("class",i.attr("class"))):i.attr(a[1],e)):s.find(".mfp-"+t).html(e)})},_getScrollbarSize:function(){var t;return void 0===p.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),p.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),p.scrollbarSize}},modules:[],open:function(t,e){return a(),(t=t?$.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return $.magnificPopup.instance&&$.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&($.magnificPopup.defaults[t]=e.options),$.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},$.fn.magnificPopup=function(t){a();var e,i,n,s=$(this);return"string"==typeof t?"open"===t?(e=I?s.data("magnificPopup"):s[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=e.items?e.items[i]:(n=s,(n=e.delegate?n.find(e.delegate):n).eq(i)),p._openClick({mfpEl:n},s,e)):p.isOpen&&p[t].apply(p,Array.prototype.slice.call(arguments,1)):(t=$.extend(!0,{},t),I?s.data("magnificPopup",t):s[0].magnificPopup=t,p.addGroup(s,t)),s},"inline"),A=($.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){p.types.push(D),u(b+"."+D,function(){o()})},getInline:function(t,e){var i,n,s;return o(),t.src?(i=p.st.inline,(n=$(t.src)).length?((s=n[0].parentNode)&&s.tagName&&(g||(l=i.hiddenClass,g=h(l),l="mfp-"+l),v=n.after(g).detach().removeClass(l)),p.updateStatus("ready")):(p.updateStatus("error",i.tNotFound),n=$("<div>")),t.inlineElement=n):(p.updateStatus("ready"),p._parseMarkup(e,{},t),e)}}}),"ajax");function E(t){var e;p.currTemplate[M]&&(e=p.currTemplate[M].find("iframe")).length&&(t||(e[0].src="//about:blank"),p.isIE8)&&e.css("display",t?"block":"none")}function P(t){var e=p.items.length;return e-1<t?t-e:t<0?e+t:t}function L(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}$.magnificPopup.registerModule(A,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){p.types.push(A),y=p.st.ajax.cursor,u(b+"."+A,e),u("BeforeChange.ajax",e)},getAjax:function(n){y&&$(document.body).addClass(y),p.updateStatus("loading");var t=$.extend({url:n.src,success:function(t,e,i){t={data:t,xhr:i};c("ParseAjax",t),p.appendContent($(t.data),A),n.finished=!0,s(),p._setFocus(),setTimeout(function(){p.wrap.addClass(T)},16),p.updateStatus("ready"),c("AjaxContentAdded")},error:function(){s(),n.finished=n.loadError=!0,p.updateStatus("error",p.st.ajax.tError.replace("%url%",n.src))}},p.st.ajax.settings);return p.req=$.ajax(t),""}}}),$.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=p.st.image,e=".image";p.types.push("image"),u("Open"+e,function(){"image"===p.currItem.type&&t.cursor&&$(document.body).addClass(t.cursor)}),u(b+e,function(){t.cursor&&$(document.body).removeClass(t.cursor),S.off("resize.mfp")}),u("Resize"+e,p.resizeImage),p.isLowIE&&u("AfterChange",p.resizeImage)},resizeImage:function(){var t,e=p.currItem;e&&e.img&&p.st.image.verticalFit&&(t=0,p.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",p.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,_&&clearInterval(_),t.isCheckingImgSize=!1,c("ImageHasSize",t),t.imgHidden)&&(p.content&&p.content.removeClass("mfp-loading"),t.imgHidden=!1)},findImageSize:function(i){var n=0,s=i.img[0];!function t(e){_&&clearInterval(_),_=setInterval(function(){0<s.naturalWidth?p._onImageHasSize(i):(200<n&&clearInterval(_),3==++n?t(10):40===n?t(50):100===n&&t(500))},e)}(1)},getImage:function(e,t){function i(){e&&(e.img.off(".mfploader"),e===p.currItem&&(p._onImageHasSize(e),p.updateStatus("error",a.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var n,s=0,a=p.st.image,o=t.find(".mfp-img");return o.length&&((n=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(n.alt=e.el.find("img").attr("alt")),e.img=$(n).on("load.mfploader",function t(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===p.currItem&&(p._onImageHasSize(e),p.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,c("ImageLoadComplete")):++s<200?setTimeout(t,100):i())}).on("error.mfploader",i),n.src=e.src,o.is("img")&&(e.img=e.img.clone()),0<(n=e.img[0]).naturalWidth?e.hasSize=!0:n.width||(e.hasSize=!1)),p._parseMarkup(t,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=p.st.image.titleSrc;if(e){if($.isFunction(e))return e.call(p,t);if(t.el)return t.el.attr(e)||""}return""}(e),img_replaceWith:e.img},e),p.resizeImage(),e.hasSize?(_&&clearInterval(_),e.loadError?(t.addClass("mfp-loading"),p.updateStatus("error",a.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),p.updateStatus("ready"))):(p.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),p.findImageSize(e))),t}}}),$.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,n,s,a,o=p.st.zoom;o.enabled&&p.supportsTransition&&(e=o.duration,i=function(t){var t=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),e="all "+o.duration/1e3+"s "+o.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=e,t.css(i),t},n=function(){p.content.css("visibility","visible")},u("BuildControls.zoom",function(){p._allowZoom()&&(clearTimeout(s),p.content.css("visibility","hidden"),(t=p._getItemToZoom())?((a=i(t)).css(p._getOffset()),p.wrap.append(a),s=setTimeout(function(){a.css(p._getOffset(!0)),s=setTimeout(function(){n(),setTimeout(function(){a.remove(),t=a=null,c("ZoomAnimationEnded")},16)},e)},16)):n())}),u(w+".zoom",function(){if(p._allowZoom()){if(clearTimeout(s),p.st.removalDelay=e,!t){if(!(t=p._getItemToZoom()))return;a=i(t)}a.css(p._getOffset(!0)),p.wrap.append(a),p.content.css("visibility","hidden"),setTimeout(function(){a.css(p._getOffset())},16)}}),u(b+".zoom",function(){p._allowZoom()&&(n(),a&&a.remove(),t=null)}))},_allowZoom:function(){return"image"===p.currItem.type},_getItemToZoom:function(){return!!p.currItem.hasSize&&p.currItem.img},_getOffset:function(t){var t=t?p.currItem.img:p.st.zoom.opener(p.currItem.el||p.currItem),e=t.offset(),i=parseInt(t.css("padding-top"),10),n=parseInt(t.css("padding-bottom"),10),t=(e.top-=$(window).scrollTop()-i,{width:t.width(),height:(I?t.innerHeight():t[0].offsetHeight)-n-i});return(O=void 0===O?void 0!==document.createElement("p").style.MozTransform:O)?t["-moz-transform"]=t.transform="translate("+e.left+"px,"+e.top+"px)":(t.left=e.left,t.top=e.top),t}}});var O,M="iframe",N=($.magnificPopup.registerModule(M,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){p.types.push(M),u("BeforeChange",function(t,e,i){e!==i&&(e===M?E():i===M&&E(!0))}),u(b+"."+M,function(){E()})},getIframe:function(t,e){var i=t.src,n=p.st.iframe,s=($.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(s[n.srcAction]=i),p._parseMarkup(e,s,t),p.updateStatus("ready"),e}}}),$.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var a=p.st.gallery,t=".mfp-gallery";if(p.direction=!0,!a||!a.enabled)return!1;m+=" mfp-gallery",u("Open"+t,function(){a.navigateByImgClick&&p.wrap.on("click"+t,".mfp-img",function(){if(1<p.items.length)return p.next(),!1}
37),f.on("keydown"+t,function(t){37===t.keyCode?p.prev():39===t.keyCode&&p.next()})}),u("UpdateStatus"+t,function(t,e){e.text&&(e.text=L(e.text,p.currItem.index,p.items.length))}),u(x+t,function(t,e,i,n){var s=p.items.length;i.counter=1<s?L(a.tCounter,n.index,s):""}),u("BuildControls"+t,function(){var t,e;1<p.items.length&&a.arrows&&!p.arrowLeft&&(e=a.arrowMarkup,t=p.arrowLeft=$(e.replace(/%title%/gi,a.tPrev).replace(/%dir%/gi,"left")).addClass(C),e=p.arrowRight=$(e.replace(/%title%/gi,a.tNext).replace(/%dir%/gi,"right")).addClass(C),t.click(function(){p.prev()}),e.click(function(){p.next()}),p.container.append(t.add(e)))}),u("Change"+t,function(){p._preloadTimeout&&clearTimeout(p._preloadTimeout),p._preloadTimeout=setTimeout(function(){p.preloadNearbyImages(),p._preloadTimeout=null},16)}),u(b+t,function(){f.off(t),p.wrap.off("click"+t),p.arrowRight=p.arrowLeft=null})},next:function(){p.direction=!0,p.index=P(p.index+1),p.updateItemHTML()},prev:function(){p.direction=!1,p.index=P(p.index-1),p.updateItemHTML()},goTo:function(t){p.direction=t>=p.index,p.index=t,p.updateItemHTML()},preloadNearbyImages:function(){for(var t=p.st.gallery.preload,e=Math.min(t[0],p.items.length),i=Math.min(t[1],p.items.length),n=1;n<=(p.direction?i:e);n++)p._preloadItem(p.index+n);for(n=1;n<=(p.direction?e:i);n++)p._preloadItem(p.index-n)},_preloadItem:function(t){var e;t=P(t),p.items[t].preloaded||(c("LazyLoad",e=(e=p.items[t]).parsed?e:p.parseEl(t)),"image"===e.type&&(e.img=$('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,c("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}}),"retina");$.magnificPopup.registerModule(N,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=p.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(u("ImageHasSize."+N,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),u("ElementParse."+N,function(t,e){e.src=i.replaceSrc(e,n)}))}}}),a()}),function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function(ot){var rt="left",lt="right",ut="down",ht="horizontal",ct="vertical",dt="move",pt="end",ft="cancel",mt="ontouchstart"in window,gt=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,vt=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,yt="TouchSwipe";function n(R,u){var t=mt||vt||!u.fallbackToMouseEvents,e=t?vt?gt?"MSPointerDown":"pointerdown":"touchstart":"mousedown",i=t?vt?gt?"MSPointerMove":"pointermove":"touchmove":"mousemove",n=t?vt?gt?"MSPointerUp":"pointerup":"touchend":"mouseup",s=t?null:"mouseleave",a=vt?gt?"MSPointerCancel":"pointercancel":"touchcancel",h=0,c=null,d=0,p=0,f=0,m=1,g=0,v=0,y=null,o=ot(R),_="start",b=0,w=null,r=0,x=0,l=0,T=0,k=0,C=null,I=null;try{o.bind(e,S),o.bind(a,A)}catch(t){ot.error("events not supported "+e+","+a+" on jQuery.swipe")}function S(t){var e,i,n;if(!0!==o.data(yt+"_intouch")&&!(0<ot(t.target).closest(u.excludedElements,o).length))return e=t.originalEvent||t,n=mt?e.touches[0]:e,_="start",mt?b=e.touches.length:t.preventDefault(),v=c=null,m=1,g=f=p=d=h=0,w=function(){for(var t=[],e=0;e<=5;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}(),(t={}).left=N(rt),t[lt]=N(lt),t.up=N("up"),t.down=N(ut),y=t,J(),!mt||b===u.fingers||"all"===u.fingers||O()?(et(0,n),r=L(),2==b&&(et(1,e.touches[1]),p=f=at(w[0].start,w[1].start)),(u.swipeStatus||u.pinchStatus)&&(i=E(e,_))):i=!1,!1===i?(E(e,_=ft),i):(u.hold&&(I=setTimeout(ot.proxy(function(){o.trigger("hold",[e.target]),u.hold&&(i=u.hold.call(o,e,e.target))},this),u.longTapThreshold)),M(!0),null)}function D(t){var e=t.originalEvent||t;if(_!==pt&&_!==ft&&!tt()){var i,n,s=it(mt?e.touches[0]:e);if(x=L(),mt&&(b=e.touches.length),u.hold&&clearTimeout(I),_=dt,2==b&&(0==p?(et(1,e.touches[1]),p=f=at(w[0].start,w[1].start)):(it(e.touches[1]),f=at(w[0].end,w[1].end),w[0].end,w[1].end,v=m<1?"out":"in"),m=(f/p*1).toFixed(2),g=Math.abs(p-f)),b===u.fingers||"all"===u.fingers||!mt||O()){a=s.start,r=s.end,n=a.x-r.x,r=r.y-a.y,r=Math.atan2(r,n);var a=n=(n=Math.round(180*r/Math.PI))<0?360-Math.abs(n):n,o=t,r=c=a<=45&&0<=a||a<=360&&315<=a?rt:135<=a&&a<=225?lt:45<a&&a<135?ut:"up";if("none"===u.allowPageScroll||O())o.preventDefault();else{var l="auto"===u.allowPageScroll;switch(r){case rt:(u.swipeLeft&&l||!l&&u.allowPageScroll!=ht)&&o.preventDefault();break;case lt:(u.swipeRight&&l||!l&&u.allowPageScroll!=ht)&&o.preventDefault();break;case"up":(u.swipeUp&&l||!l&&u.allowPageScroll!=ct)&&o.preventDefault();break;case ut:(u.swipeDown&&l||!l&&u.allowPageScroll!=ct)&&o.preventDefault()}}n=s.start,t=s.end,h=Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2))),d=st(),a=c,r=h,r=M
37ath.max(r,nt(a)),y[a].distance=r,(u.swipeStatus||u.pinchStatus)&&(i=E(e,_)),u.triggerOnTouchEnd&&!u.triggerOnTouchLeave||(t=!0,u.triggerOnTouchLeave&&(r={left:(a=(n=ot(n=this)).offset()).left,right:a.left+n.outerWidth(),top:a.top,bottom:a.top+n.outerHeight()},t=(a=s.end).x>r.left&&a.x<r.right&&a.y>r.top&&a.y<r.bottom),!u.triggerOnTouchEnd&&t?_=j(dt):u.triggerOnTouchLeave&&!t&&(_=j(pt)),_!=ft&&_!=pt)||E(e,_)}else E(e,_=ft);!1===i&&E(e,_=ft)}}function z(t){var e=t.originalEvent;return mt&&0<e.touches.length?(l=L(),T=event.touches.length+1,!0):(tt()&&(b=T),x=L(),d=st(),q()||!W()?E(e,_=ft):u.triggerOnTouchEnd||0==u.triggerOnTouchEnd&&_===dt?(t.preventDefault(),E(e,_=pt)):!u.triggerOnTouchEnd&&K()?P(e,_=pt,"tap"):_===dt&&E(e,_=ft),M(!1),null)}function A(){f=p=r=x=b=0,J(),M(!(m=1))}function H(t){t=t.originalEvent;u.triggerOnTouchLeave&&E(t,_=j(pt))}function F(){o.unbind(e,S),o.unbind(a,A),o.unbind(i,D),o.unbind(n,z),s&&o.unbind(s,H),M(!1)}function j(t){var e=t,i=B(),n=W(),s=q();return!i||s?e=ft:!n||t!=dt||u.triggerOnTouchEnd&&!u.triggerOnTouchLeave?!n&&t==pt&&u.triggerOnTouchLeave&&(e=ft):e=pt,e}function E(t,e){var i=void 0;return Y()&&V()||V()?i=P(t,e,"swipe"):(U()&&O()||O())&&!1!==i&&(i=P(t,e,"pinch")),Z()&&Q()&&!1!==i?i=P(t,e,"doubletap"):d>u.longTapThreshold&&h<10&&u.longTap&&!1!==i?i=P(t,e,"longtap"):1!==b&&mt||!(isNaN(h)||h<u.threshold)||!K()||!1===i||(i=P(t,e,"tap")),e===ft&&A(),e!==pt||mt&&0!=t.touches.length||A(),i}function P(t,e,i){var n=void 0;if("swipe"==i){if(o.trigger("swipeStatus",[e,c||null,h||0,d||0,b,w]),u.swipeStatus&&!1===(n=u.swipeStatus.call(o,t,e,c||null,h||0,d||0,b,w)))return!1;if(e==pt&&Y()){if(o.trigger("swipe",[c,h,d,b,w]),u.swipe&&!1===(n=u.swipe.call(o,t,c,h,d,b,w)))return!1;switch(c){case rt:o.trigger("swipeLeft",[c,h,d,b,w]),u.swipeLeft&&(n=u.swipeLeft.call(o,t,c,h,d,b,w));break;case lt:o.trigger("swipeRight",[c,h,d,b,w]),u.swipeRight&&(n=u.swipeRight.call(o,t,c,h,d,b,w));break;case"up":o.trigger("swipeUp",[c,h,d,b,w]),u.swipeUp&&(n=u.swipeUp.call(o,t,c,h,d,b,w));break;case ut:o.trigger("swipeDown",[c,h,d,b,w]),u.swipeDown&&(n=u.swipeDown.call(o,t,c,h,d,b,w))}}}if("pinch"==i){if(o.trigger("pinchStatus",[e,v||null,g||0,d||0,b,m,w]),u.pinchStatus&&!1===(n=u.pinchStatus.call(o,t,e,v||null,g||0,d||0,b,m,w)))return!1;if(e==pt&&U())switch(v){case"in":o.trigger("pinchIn",[v||null,g||0,d||0,b,m,w]),u.pinchIn&&(n=u.pinchIn.call(o,t,v||null,g||0,d||0,b,m,w));break;case"out":o.trigger("pinchOut",[v||null,g||0,d||0,b,m,w]),u.pinchOut&&(n=u.pinchOut.call(o,t,v||null,g||0,d||0,b,m,w))}}return"tap"==i?e!==ft&&e!==pt||(clearTimeout(C),clearTimeout(I),Q()&&!Z()?(k=L(),C=setTimeout(ot.proxy(function(){k=null,o.trigger("tap",[t.target]),u.tap&&(n=u.tap.call(o,t,t.target))},this),u.doubleTapThreshold)):(k=null,o.trigger("tap",[t.target]),u.tap&&(n=u.tap.call(o,t,t.target)))):"doubletap"==i?e!==ft&&e!==pt||(clearTimeout(C),k=null,o.trigger("doubletap",[t.target]),u.doubleTap&&(n=u.doubleTap.call(o,t,t.target))):"longtap"!=i||e!==ft&&e!==pt||(clearTimeout(C),k=null,o.trigger("longtap",[t.target]),u.longTap&&(n=u.longTap.call(o,t,t.target))),n}function W(){return null===u.threshold||h>=u.threshold}function q(){return null!==u.cancelThreshold&&null!==c&&nt(c)-h>=u.cancelThreshold}function B(){return!(u.maxTimeThreshold&&d>=u.maxTimeThreshold)}function U(){var t=X(),e=G(),i=null===u.pinchThreshold||g>=u.pinchThreshold;return t&&e&&i}function O(){return u.pinchStatus||u.pinchIn||u.pinchOut}function Y(){var t=B(),e=W(),i=X(),n=G();return!q()&&n&&i&&e&&t}function V(){return u.swipe||u.swipeStatus||u.swipeLeft||u.swipeRight||u.swipeUp||u.swipeDown}function X(){return b===u.fingers||"all"===u.fingers||!mt}function G(){return 0!==w[0].end.x}function K(){return u.tap}function Q(){return!!u.doubleTap}function Z(){var t;return null!=k&&(t=L(),Q())&&t-k<=u.doubleTapThreshold}function J(){T=l=0}function tt(){return!!(l&&L()-l<=u.fingerReleaseThreshold)}function M(t){!0===t?(o.bind(i,D),o.bind(n,z),s&&o.bind(s,H)):(o.unbind(i,D,!1),o.unbind(n,z,!1),s&&o.unbind(s,H,!1)),o.data(yt+"_intouch",!0===t)}function et(t,e){var i=void 0!==e.identifier?e.identifier:0;w[t].identifier=i,w[t].start.x=w[t].end.x=e.pageX||e.clientX,w[t].start.y=w[t].end.y=e.pageY||e.clientY,w[t]}function it(t){var e=function(t){for(var e=0;e<w.length;e++)if(w[e].identifier==t)return w[e]}(void 0!==t.identifier?t.identifier:0);return e.end.x=t.pageX||t.clientX,e.end.y=t.pageY||t.clientY,e}function nt(t){if(y[t])return y[t].distance}function N(t){return{direction:t,distance:0}}function st(){return x-r}function at(t,e){var i=Math.abs(t.x-e.x),t=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+t*t))}function L(){return(new Date).getTime()}this.enable=function(){return o.bind(e,S),o.bind(a,A),o},this.disable=function(){return F(),o},this.destroy=function(){return F(),o.data(yt,null),o},this.option=function(t,e){if(void 0!==u[t]){if(void 0===e)return u[t];u[t]=e}else ot.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}ot.fn.swipe=function(t){var e=ot(this),i=e.data(yt);if(i&&"string"==typeof t){if(i[t])return i[t].apply(this,Array.prototype.slice.call(arguments,1
37));ot.error("Method "+t+" does not exist on jQuery.swipe")}else if(!(i||"object"!=typeof t&&t))return function(i){return!i||void 0!==i.allowPageScroll||void 0===i.swipe&&void 0===i.swipeStatus||(i.allowPageScroll="none"),void 0!==i.click&&void 0===i.tap&&(i.tap=i.click),i=i||{},i=ot.extend({},ot.fn.swipe.defaults,i),this.each(function(){var t,e=ot(this);e.data(yt)||(t=new n(this,i),e.data(yt,t))})}.apply(this,arguments);return e},ot.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe"},ot.fn.swipe.phases={PHASE_START:"start",PHASE_MOVE:dt,PHASE_END:pt,PHASE_CANCEL:ft},ot.fn.swipe.directions={LEFT:rt,RIGHT:lt,UP:"up",DOWN:ut,IN:"in",OUT:"out"},ot.fn.swipe.pageScroll={NONE:"none",HORIZONTAL:ht,VERTICAL:ct,AUTO:"auto"},ot.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:"all"}}),void 0===console&&(console={},console.log=console.error=console.info=console.debug=console.warn=console.trace=console.dir=console.dirxml=console.group=console.groupEnd=console.time=console.timeEnd=console.assert=console.profile=console.groupCollapsed=function(){}),1==window.tplogs)try{console.groupCollapsed("ThemePunch GreenSocks Logs")}catch(e){}var oldgs=window.GreenSockGlobals,punchgs=(oldgs_queue=window._gsQueue,window.GreenSockGlobals={});if(1==window.tplogs)try{console.info("Build GreenSock SandBox for ThemePunch Plugins"),console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin")}catch(e){}
38/*!
39 * VERSION: 1.13.1
40 * DATE: 2014-07-22
41 * UPDATES AND DOCS AT: http://www.greensock.com
42 *
43 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
44 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
45 * Club GreenSock members, the software agreement that was issued with your membership.
46 * 
47 * @author: Jack Doyle, [email protected]
48 */
49!function(f){"use strict";var e,L,d=f.GreenSockGlobals=f.GreenSockGlobals||f;if(!d.TweenLite){var p,R=function(t){for(var e=t.split("."),i=d,n=0;e.length>n;n++)i[e[n]]=i=i[e[n]]||{};return i},c=R("com.greensock"),m=1e-10,z=function(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e},H=function(){},g=(e=Object.prototype.toString,L=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===L)}),v={},F=function(r,l,u,h){this.sc=v[r]?v[r].sc:[],(v[r]=this).gsClass=null,this.func=u;var c=[];this.check=function(t){for(var e,i,n,s,a=l.length,o=a;-1<--a;)(e=v[l[a]]||new F(l[a],[])).gsClass?(c[a]=e.gsClass,o--):t&&e.sc.push(this);if(0===o&&u)for(n=(i=("com.greensock."+r).split(".")).pop(),s=R(i.join("."))[n]=this.gsClass=u.apply(u,c),h&&(d[n]=s,"function"==typeof define&&define.amd?define((f.GreenSockAMDPath?f.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return s}):"TweenLite"===r&&"undefined"!=typeof module&&module.exports&&(module.exports=s)),a=0;this.sc.length>a;a++)this.sc[a].check()},this.check(!0)},n=f._gsDefine=function(t,e,i,n){return new F(t,e,i,n)},y=c._class=function(t,e,i){return e=e||function(){},n(t,[],function(){return e},i),e},j=(n.globals=d,[0,0,1,1]),_=[],h=y("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?j.concat(e):j},!0),b=h.map={},t=h.register=function(t,e,i,n){for(var s,a,o,r,l=e.split(","),u=l.length,h=(i||"easeIn,easeOut,easeInOut").split(",");-1<--u;)for(a=l[u],s=n?y("easing."+a,null,!0):c.easing[a]||{},o=h.length;-1<--o;)r=h[o],b[a+"."+r]=b[r+a]=s[r]=t.getRatio?t:t[r]||new t};for((N=h.prototype)._calcEnd=!1,N.getRatio=function(t){var e,i,n;return this._func?(this._params[0]=t,this._func.apply(null,this._params)):(n=1===(e=this._type)?1-t:2===e?t:t<.5?2*t:2*(1-t),1===(i=this._power)?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:t<.5?n/2:1-n/2)},s=(i=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--s;)N=i[s]+",Power"+s,t(new h(null,null,1,s),N,"easeOut",!0),t(new h(null,null,2,s),N,"easeIn"+(0===s?",easeNone":"")),t(new h(null,null,3,s),N,"easeInOut");b.linear=c.easing.Linear.easeIn,b.swing=c.easing.Quad.easeInOut;for(var i,W=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this}
49),w=((N=W.prototype).addEventListener=function(t,e,i,n,s){s=s||0;var a,o,r=this._listeners[t],l=0;for(null==r&&(this._listeners[t]=r=[]),o=r.length;-1<--o;)(a=r[o]).c===e&&a.s===i?r.splice(o,1):0===l&&s>a.pr&&(l=o+1);r.splice(l,0,{c:e,s:i,up:n,pr:s}),this!==C||p||C.wake()},N.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;-1<--i;)if(n[i].c===e)return void n.splice(i,1)},N.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(e=s.length,i=this._eventTarget;-1<--e;)(n=s[e]).up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i)},f.requestAnimationFrame),x=f.cancelAnimationFrame,T=Date.now||function(){return(new Date).getTime()},k=T(),s=(i=["ms","moz","webkit","o"]).length;-1<--s&&!w;)w=f[i[s]+"RequestAnimationFrame"],x=f[i[s]+"CancelAnimationFrame"]||f[i[s]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var n,s,a,o,r,l=this,u=T(),i=!1!==e&&w,h=500,c=33,d=function(t){var e,i=T()-k;h<i&&(u+=i-c),k+=i,l.time=(k-u)/1e3,i=l.time-r,(!n||0<i||!0===t)&&(l.frame++,r+=i+(o<=i?.004:o-i),e=!0),!0!==t&&(a=s(d)),e&&l.dispatchEvent("tick")};W.call(l),l.time=l.frame=0,l.tick=function(){d(!0)},l.lagSmoothing=function(t,e){h=t||1e10,c=Math.min(e,h,0)},l.sleep=function(){null!=a&&((i&&x?x:clearTimeout)(a),s=H,a=null,l===C)&&(p=!1)},l.wake=function(){null!==a?l.sleep():10<l.frame&&(k=T()-h+5),s=0===n?H:i&&w?w:function(t){return setTimeout(t,0|1e3*(r-l.time)+1)},l===C&&(p=!0),d(2)},l.fps=function(t){return arguments.length?(o=1/((n=t)||60),r=this.time+o,void l.wake()):n},l.useRAF=function(t){return arguments.length?(l.sleep(),i=t,void l.fps(n)):i},l.fps(t),setTimeout(function(){i&&(!a||l.frame<5)&&l.useRAF(!1)},1500)}),(N=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var r=y("core.Animation",function(t,e){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,P&&(p||C.wake(),(t=this.vars.useFrames?u:P).add(this,t._time),this.vars.paused)&&this.paused(!0)}),C=r.ticker=new c.Ticker,q=((N=r.prototype)._dirty=N._gc=N._initted=N._paused=!1,N._totalTime=N._time=0,N._rawPrevTime=-1,N._next=N._last=N._onUpdate=N._timeline=N.timeline=null,N._paused=!1,function(){p&&2e3<T()-k&&C.wake(),setTimeout(q,2e3)}),a=(q(),N.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},N.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},N.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},N.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},N.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},N.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},N.render=function(){},N.invalidate=function(){return this},N.isActive=function(){var t=this._timeline,e=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(t=t.rawTime())>=e&&e+this.totalDuration()/this._timeScale>t},N._enabled=function(t,e){return p||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},N._kill=function(){return this._enabled(!1,!1)},N.kill=function(t,e){return this._kill(t,e),this},N._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},N._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},N.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=g(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},N.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},N.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},N.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},N.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time}
49,N.totalTime=function(t,e,i){if(p||C.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(n<t&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(this.render(t,e,!1),!D.length)||O()}return this},N.progress=N.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},N.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline)&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay),this):this._startTime},N.timeScale=function(t){var e;return arguments.length?(t=t||m,this._timeline&&this._timeline.smoothChildTiming&&(e=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=e-(e-this._startTime)*this._timeScale/t),this._timeScale=t,this._uncache(!1)):this._timeScale},N.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},N.paused=function(t){var e,i,n;return arguments.length?(t!=this._paused&&this._timeline&&(p||t||C.wake(),n=(i=(e=this._timeline).rawTime())-this._pauseTime,!t&&e.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t)&&0!=n&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0),this._gc&&!t&&this._enabled(!0,!1),this):this._paused},y("core.SimpleTimeline",function(t){r.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0})),I=((N=a.prototype=new r).constructor=a,N.kill()._gc=!1,N._first=N._last=null,N._sortChildren=!1,N.add=N.insert=function(t,e){var i,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},N._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,this._timeline)&&this._uncache(!0),this},N.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},N.rawTime=function(){return p||C.wake(),this._totalTime},y("TweenLite",function(t,e,i){if(r.call(this,e,i),this.render=I.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&I.selector(t)||t;var n,s,a,i=t.jquery||t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType),o=this.vars.overwrite;if(this._overwrite=o=null==o?Y[I.defaultOverwrite]:"number"==typeof o?o>>0:Y[o],(i||t instanceof Array||t.push&&g(t))&&"number"!=typeof t[0])for(this._targets=a=z(t),this._propLookup=[],this._siblings=[],n=0;a.length>n;n++)(s=a[n])?"string"!=typeof s?s.length&&s!==f&&s[0]&&(s[0]===f||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(z(s))):(this._siblings[n]=$(s,this,!1),1===o&&1<this._siblings[n].length&&V(s,this,null,1,this._siblings[n])):"string"==typeof(a[n--]=I.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=$(t,this,!1),1===o&&1<this._siblings.length&&V(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-m,this.render(-this._delay))},!0)),S=function(t){return t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType)},D=((N=I.prototype=new r).constructor=I,N.kill()._gc=!1,N.ratio=0,N._firstPT=N._targets=N._overwrittenProps=N._startAt=null,N._notifyPluginsOfEnabled=N._lazy=!1,I.version="1.13.1",I.defaultEase=N._ease=new h(null,null,1,1),I.defaultOverwrite="auto",I.ticker=C,I.autoSleep=!0,I.lagSmoothing=function(t,e){C.lagSmoothing(t,e)},I.selector=f.$||f.jQuery||function(t){var e=f.$||f.jQuery;return e?(I.selector=e)(t):"undefined"==typeof document?t:document.querySelectorAll?document.querySelectorAll(t):document.getElementById("#"===t.charAt(0)?t.substr(1):t)},[]),A={},o=I._internals={isArray:g,isSelector:S,lazyTweens:D},E=I._plugins={},l=o.tweenLookup={},B=0,U=o.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},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},u=r._rootFramesTimeline=new a,P=r._rootTimeline=new a,O=o.lazyRender=function(){var t=D.length;for(A={};-1<--t;)(i=D[t])&&!1!==i._lazy&&(i.render(i._lazy,!1,!0),i._lazy=!1);D.length=0},$=(P._startTime=C.time,u._startTime=C.frame,P._active=u._active=!0,setTimeout(O,1),r._updateRoot=I.render=function(){var t,e,i;if(D.length&&O(),P.render((C.time-P._startTime)*P._timeScale,!1,!1),u.render((C.frame-u._startTime)*u._timeScale,!1,!1),D.length&&O(),!(C.frame%120)){for(i in l){for(t=(e=l[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete l[i]}if((!(i=P._first)||i._paused)&&I.autoSleep&&!u._first&&1===C._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||C.sleep()}}}
49,C.addEventListener("tick",r._updateRoot),function(t,e,i){var n,s,a=t._gsTweenID;if(l[a||(t._gsTweenID=a="t"+B++)]||(l[a]={target:t,tweens:[]}),e&&((n=l[a].tweens)[s=n.length]=e,i))for(;-1<--s;)n[s]===e&&n.splice(s,1);return l[a].tweens}),V=function(t,e,i,n,s){var a,o,r;if(1===n||4<=n){for(r=s.length,p=0;p<r;p++)if((o=s[p])!==e)o._gc||o._enabled(!1,!1)&&(a=!0);else if(5===n)break}else{for(var l,u=e._startTime+m,h=[],c=0,d=0===e._duration,p=s.length;-1<--p;)(o=s[p])===e||o._gc||o._paused||(o._timeline!==e._timeline?(l=l||X(e,0,d),0===X(o,l,d)&&(h[c++]=o)):u>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>u&&((d||!o._initted)&&u-o._startTime<=2e-10||(h[c++]=o)));for(p=c;-1<--p;)o=h[p],2===n&&o._kill(i,t)&&(a=!0),(2!==n||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(a=!0)}return a},X=function(t,e,i){for(var n=t._timeline,s=n._timeScale,a=t._startTime;n._timeline;){if(a+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(a/=s)?a-e:i&&a===e||!t._initted&&a-e<2e-10?m:(a+=t.totalDuration()/t._timeScale/s)>e+m?0:a-e-m},M=(N._init=function(){var t,e,i,n,s,a=this.vars,o=this._overwrittenProps,r=this._duration,l=!!a.immediateRender,u=a.ease;if(a.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=l&&!1!==a.lazy,s.startAt=s.delay=null,this._startAt=I.to(this.target,0,s),l)if(0<this._time)this._startAt=null;else if(0!==r)return}else if(a.runBackwards&&0!==r)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in i={},a)U[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==a.lazy,i.immediateRender=l,this._startAt=I.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(this._ease=u=u?u instanceof h?u:"function"==typeof u?new h(u,a.easeParams):b[u]||I.defaultEase:I.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;-1<--t;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o);if(e&&I._onPluginEvent("_onInitAllProps",this),o&&!this._firstPT&&"function"!=typeof this.target&&this._enabled(!1,!1),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},N._initProps=function(t,e,i,n){var s,a,o,r,l,u;if(null==t)return!1;if(A[t._gsTweenID]&&O(),!this.vars.css&&t.style&&t!==f&&t.nodeType&&E.css&&!1!==this.vars.autoCSS){var h,c=this.vars,d=t,p={};for(h in c)U[h]||h in d&&"transform"!==h&&"x"!==h&&"y"!==h&&"width"!==h&&"height"!==h&&"className"!==h&&"border"!==h||!(!E[h]||E[h]&&E[h]._autoCSS)||(p[h]=c[h],delete c[h]);c.css=p}for(s in this.vars){if(u=this.vars[s],U[s])u&&(u instanceof Array||u.push&&g(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[s]=u=this._swapSelfInParams(u,this));else if(E[s]&&(r=new E[s])._onInitTween(t,this.vars[s],this)){for(this._firstPT=l={_next:this._firstPT,t:r,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:r._priority},a=r._overwriteProps.length;-1<--a;)e[r._overwriteProps[a]]=this._firstPT;(r._priority||r._onInitAllProps)&&(o=!0),(r._onDisable||r._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=e[s]=l={_next:this._firstPT,t:t,p:s,f:"function"==typeof t[s],n:s,pg:!1,pr:0},l.s=l.f?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(t[s]),l.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-l.s||0;l&&l._next&&(l._next._prev=l)}
49return n&&this._kill(n,t)?this._initProps(t,e,i,n):1<this._overwrite&&this._firstPT&&1<i.length&&V(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(A[t._gsTweenID]=!0),o)},N.render=function(t,e,i){var n,s,a,o,r,l,u,h=this._time,c=this._duration,d=this._rawPrevTime;if(c<=t?(this._totalTime=this._time=c,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete"),0!==c||!this._initted&&this.vars.lazy&&!i||((0===(t=this._startTime===this._timeline._duration?0:t)||d<0||d===m)&&d!==t&&(i=!0,m<d)&&(s="onReverseComplete"),this._rawPrevTime=o=!e||t||d===t?t:m)):t<1e-7?(this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===c&&0<d&&d!==m)&&(s="onReverseComplete",n=this._reversed),t<0?(this._active=!1,0!==c||!this._initted&&this.vars.lazy&&!i||(0<=d&&(i=!0),this._rawPrevTime=o=!e||t||d===t?t:m)):this._initted||(i=!0)):(this._totalTime=this._time=t,this._easeType?(r=t/c,(1===(l=this._easeType)||3===l&&.5<=r)&&(r=1-r),3===l&&(r*=2),1===(u=this._easePower)?r*=r:2===u?r*=r*r:3===u?r*=r*r*r:4===u&&(r*=r*r*r*r),this.ratio=1===l?1-r:2===l?r:t/c<.5?r/2:1-r/2):this.ratio=this._ease.getRatio(t/c)),this._time!==h||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=h,this._rawPrevTime=d,D.push(this),void(this._lazy=t);this._time&&!n?this.ratio=this._ease.getRatio(this._time/c):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!==h&&0<=t&&(this._active=!0),0!==h||(this._startAt&&(0<=t?this._startAt.render(t,e,i):s=s||"_dummyGS"),!this.vars.onStart)||0===this._time&&0!==c||e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||_),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||this._time===h&&!n||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||_)),!s||this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||_),0!==c)||this._rawPrevTime!==m||o===m||(this._rawPrevTime=0)}},N._kill=function(t,e){if(null==(t="all"===t?null:t)&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);var i,n,s,a,o,r,l,u;if(e="string"!=typeof e?e||this._targets||this.target:I.selector(e)||e,(g(e)||S(e))&&"number"!=typeof e[0])for(i=e.length;-1<--i;)this._kill(t,e[i])&&(r=!0);else{if(this._targets){for(i=this._targets.length;-1<--i;)if(e===this._targets[i]){o=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){for(s in u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),l=t||o)(a=o[s])&&(a.pg&&a.t._kill(l)&&(r=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return r},N.invalidate=function(){return this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},N._enabled=function(t,e){if(p||C.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;-1<--i;)this._siblings[i]=$(n[i],this,!0);else this._siblings=$(this.target,this,!0)}return r.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)}
49,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,s){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:s,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,s,a;if(t="string"==typeof t&&I.selector(t)||t,(g(t)||S(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];-1<--i;)n=n.concat(I.getTweensOf(t[i],e));for(i=n.length;-1<--i;)for(a=n[i],s=i;-1<--s;)a===n[s]&&n.splice(i,1)}else for(i=(n=$(t).concat()).length;-1<--i;)(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),s=n.length;-1<--s;)n[s]._kill(i,t)},y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=M.prototype},!0)),N=M.prototype;if(M.version="1.10.1",M.API=2,N._firstPT=null,N._addTween=function(t,e,i,n,s,a){return null!=n&&(n="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=i={_next:this._firstPT,t:t,p:e,s:i,c:n,f:"function"==typeof t[e],n:s||e,r:a},i._next&&(i._next._prev=i),i):void 0},N.setRatio=function(t){for(var e,i=this._firstPT;i;)e=i.c*t+i.s,i.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},N._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)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},N._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},I._onPluginEvent=function(t,e){var i,n,s,a,o,r=e._firstPT;if("_onInitAllProps"===t){for(;r;){for(o=r._next,n=s;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:a)?r._prev._next=r:s=r,(r._next=n)?n._prev=r:a=r,r=o}r=e._firstPT=s}for(;r;)r.pg&&"function"==typeof r.t[t]&&r.t[t]()&&(i=!0),r=r._next;return i},M.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===M.API&&(E[(new t[e])._propName]=t[e]);return!0},n.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,a={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},o=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){M.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),r=o.prototype=new M(i);for(e in(r.constructor=o).API=t.API,a)"function"==typeof t[e]&&(r[a[e]]=t[e]);return o.version=t.version,M.activate([o]),o},i=f._gsQueue){for(s=0;i.length>s;s++)i[s]();for(N in v)v[N].func||f.console.log("GSAP encountered missing dependency: com.greensock."+N)}p=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window);
50/*!
51 * VERSION: 1.13.1
52 * DATE: 2014-07-22
53 * UPDATES AND DOCS AT: http://www.greensock.com
54 *
55 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
56 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
57 * Club GreenSock members, the software agreement that was issued with your membership.
58 * 
59 * @author: Jack Doyle, [email protected]
60 */
61var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,_gsScope=((_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(h,c,d){function p(t){c.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUp
vendor: 4,824 bytes, line 61
61date;var e,i,n=this.vars;for(i in n)e=n[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));g(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)}function f(t){var e,i={};for(e in t)i[e]=t[e];return i}function s(t,e,i,n){t._timeline.pause(t._startTime),e&&e.apply(n||t._timeline,i||_)}var t=d._internals,m=t.isSelector,g=t.isArray,v=t.lazyTweens,y=t.lazyRender,_=[],o=_gsScope._gsDefine.globals,t=p.prototype=new c;return p.version="1.13.1",t.constructor=p,t.kill()._gc=!1,t.to=function(t,e,i,n){var s=i.repeat&&o.TweenMax||d;return e?this.add(new s(t,e,i),n):this.set(t,i,n)},t.from=function(t,e,i,n){return this.add((i.repeat&&o.TweenMax||d).from(t,e,i),n)},t.fromTo=function(t,e,i,n,s){var a=n.repeat&&o.TweenMax||d;return e?this.add(a.fromTo(t,e,i,n),s):this.set(t,n,s)},t.staggerTo=function(t,e,i,n,s,a,o,r){var l,u=new p({onComplete:a,onCompleteParams:o,onCompleteScope:r,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=d.selector(t)||t),m(t)&&(t=function(t){for(var e=[],i=t.length,n=0;n!==i;e.push(t[n++]));return e}(t)),n=n||0,l=0;t.length>l;l++)i.startAt&&(i.startAt=f(i.startAt)),u.to(t[l],e,f(i),l*n);return this.add(u,s)},t.staggerFrom=function(t,e,i,n,s,a,o,r){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,a,o,r)},t.staggerFromTo=function(t,e,i,n,s,a,o,r,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,a,o,r,l)},t.call=function(t,e,i,n){return this.add(d.delayedCall(0,t,e,i),n)},t.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new d(t,0,e),i)},p.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,n,s=new p(t),t=s._timeline;for(null==e&&(e=!0),t._remove(s,!0),s._startTime=0,s._rawPrevTime=s._time=s._totalTime=t._time,i=t._first;i;)n=i._next,e&&i instanceof d&&i.target===i.vars.onComplete||s.add(i,i._startTime-i._delay),i=n;return t.add(s,0),s},t.add=function(t,e,i,n){var s,a,o,r,l,u;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof h)){if(t instanceof Array||t&&t.push&&g(t)){for(i=i||"normal",n=n||0,s=e,a=t.length,o=0;o<a;o++)g(r=t[o])&&(r=new p({tweens:r})),this.add(r,s),"string"!=typeof r&&"function"!=typeof r&&("sequence"===i?s=r._startTime+r.totalDuration()/r._timeScale:"start"===i&&(r._startTime-=r.delay())),s+=n;return this._uncache(!0)}if("string"==typeof t)return this.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=d.delayedCall(0,t)}if(c.prototype.add.call(this,t,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(u=(l=this).rawTime()>t._startTime;l._timeline;)u&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},t.remove=function(t){if(t instanceof h)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&g(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},t._remove=function(t,e){c.prototype._remove.call(this,t,e);t=this._last;return t?this._time>t._startTime+t._totalDuration/t._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},t.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},t.insert=t.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},t.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},t.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},t.addPause=function(t,e,i,n){return this.call(s,["{self}",e,i,n],this,t)},t.removeLabel=function(t){return delete this._labels[t],this},t.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},t._parseTimeOrLabel=function(t,e,i,n){var s;if(n instanceof h&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&g(n)))for(s=n.length;-1<--s;)n[s]instanceof h&&n[s].timeline===this&&this.remove(n[s]);if("string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=1<s?this._parseTimeOrLabel(t.substr(0,s-1),0,i):this.duration()}return Number(t)+e},t.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},t.stop=function(){return this.paused(!0)}
61,t.gotoAndPlay=function(t,e){return this.play(t,e)},t.gotoAndStop=function(t,e){return this.pause(t,e)},t.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,a,o,r,l=this._dirty?this.totalDuration():this._totalDuration,u=this._time,h=this._startTime,c=this._timeScale,d=this._paused;if(l<=t?(this._totalTime=this._time=l,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",0===this._duration&&(0===t||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(r=!0,1e-10<this._rawPrevTime)&&(o="onReverseComplete")),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=l+1e-4):t<1e-7?(((this._totalTime=this._time=0)!==u||0===this._duration&&1e-10!==this._rawPrevTime&&(0<this._rawPrevTime||t<0&&0<=this._rawPrevTime))&&(o="onReverseComplete",s=this._reversed),t<0?(this._active=!1,0<=this._rawPrevTime&&this._first&&(r=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=0,this._initted||(r=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==u&&this._first||i||r){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==u&&0<t&&(this._active=!0),0===u&&this.vars.onStart&&0!==this._time&&!e&&this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||_),this._time>=u)for(n=this._first;n&&(a=n._next,!this._paused||d);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;else for(n=this._last;n&&(a=n._prev,!this._paused||d);)(n._active||u>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=a;this._onUpdate&&!e&&(v.length&&y(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||_)),!o||this._gc||h!==this._startTime&&c===this._timeScale||!(0===this._time||l>=this.totalDuration())||(s&&(v.length&&y(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),e)||!this.vars[o]||this.vars[o].apply(this.vars[o+"Scope"]||this,this.vars[o+"Params"]||_)}},t._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof p&&t._hasPausedChild())return!0;t=t._next}return!1},t.getChildren=function(t,e,i,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)n>a._startTime||(a instanceof d?!1!==e&&(s[o++]=a):(!1!==i&&(s[o++]=a),!1!==t&&(o=(s=s.concat(a.getChildren(!0,e,i))).length))),a=a._next;return s},t.getTweensOf=function(t,e){var i,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),n=(i=d.getTweensOf(t)).length;-1<--n;)(i[n].timeline===this||e&&this._contains(i[n]))&&(a[o++]=i[n]);return s&&this._enabled(!1,!0),a},t._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},t.shiftChildren=function(t,e,i){i=i||0;for(var n,s=this._first,a=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in a)a[n]>=i&&(a[n]+=t);return this._uncache(!0)},t._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,s=!1;-1<--n;)i[n]._kill(t,e)&&(s=!0);return s},t.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},t.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},t._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return c.prototype._enabled.call(this,t,e)},t.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},t.totalDuration=function(t){if(arguments.length)return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this;if(this._dirty){for(var e,i,n=0,s=this._last,a=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>a&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):a=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),a=0),n<(i=s._startTime+s._totalDuration/s._timeScale)&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration},t.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===h._rootFramesTimeline},t.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";function t(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite}"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=t())}(),"undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),_gsScope=((_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){function t(t,e){var t=u("easing."+t,function(){},!0),i=t.prototype=new g;return i.constructor=t,i.getRatio=e,t}function e(t,e,i,n){e=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return h(e,t),e}function v(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}function i(t,e){var i=u("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),t=i.prototype=new g;return t.constructor=i,t.getRatio=e,t.config=function(t){return new i(t)},i}var n,s,a=_gsScope.GreenSockGlobals||_gsScope,o=a.com.greensock,r=2*Math.PI,l=Math.PI/2,u=o._class,h=g.register||function(){},o=e("Back",i("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),i("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),i("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)}
61)),c=u("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(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),d=c.prototype=new g;return d.constructor=c,d.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?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=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},c.ease=new c(.7,.7),d.config=c.config=function(t,e,i){return new c(t,e,i)},(d=(n=u("easing.SteppedEase",function(t){this._p1=1/(t=t||1),this._p2=t+1},!0)).prototype=new g).constructor=n,d.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},d.config=n.config=function(t){return new n(t)},(d=(s=u("easing.RoughEase",function(t){for(var e,i,n,s,a,o,r=(t=t||{}).taper||"none",l=[],u=0,h=0|(t.points||20),c=h,d=!1!==t.randomize,p=!0===t.clamp,f=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--c;)e=d?Math.random():1/h*c,i=f?f.getRatio(e):e,n="none"===r?m:"out"===r?(s=1-e)*s*m:"in"===r?e*e*m:.5*(s=e<.5?2*e:2*(1-e))*s*m,d?i+=Math.random()*n-.5*n:c%2?i+=.5*n:i-=.5*n,p&&(1<i?i=1:i<0&&(i=0)),l[u++]={x:e,y:i};for(l.sort(function(t,e){return t.x-e.x}),o=new v(1,1,null),c=h;-1<--c;)o=new v((a=l[c]).x,a.y,o);this._prev=new v(0,0,0!==o.t?o:o.next)},!0)).prototype=new g).constructor=s,d.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&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},d.config=function(t){return new s(t)},s.ease=new s,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?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})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(d=function(t,e,i){var n=u("easing."+t,function(t,e){this._p1=t||1,this._p2=e||i,this._p3=this._p2/r*(Math.asin(1/this._p1)||0)},!0),t=n.prototype=new g;return t.constructor=n,t.getRatio=e,t.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*r/this._p2)+1},.3),d("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*r/this._p2))},.3),d("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*r/this._p2):.5*this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*r/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*l)}),t("SineIn",function(t){return 1-Math.cos(t*l)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),h(a.SlowMo,"SlowMo","ease,"),h(s,"RoughEase","ease,"),h(n,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),"undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),_gsScope=((_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,d){function R(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=R.prototype.setRatio}var p,w,x,c,f={},t=R.prototype=new a("css");function o(t,e){return e.toUpperCase()}function r(t){return tt.test("string"==typeof t?t:(t.currentStyle||t.style).filter||"")?parseFloat(RegExp.$1)/100:1}function L(t){window.console&&console.log(t)}function T(t,e){var i,n,s=(e=e||S).style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;-1<--n&&void 0===s[i[n]+t];);return 0<=n?(ct="-"+(dt=3===n?"ms":i[n]).toLowerCase()+"-",dt+t):null}function m(t,e){var i,n={};if(e=e||g(t,null))if(i=e.length)for(;-1<--i;)n[e[i].replace(at,o)]=e.getPropertyValue(e[i]);else for(i in e)n[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===n[i]&&(n[i.replace(at,o)]=e[i]);return D||(n.opacity=r(t)),t=N(t,e,!1),n.rotation=t.rotation,n.skewX=t.skewX,n.scaleX=t.scaleX,n.scaleY=t.
61scaleY,n.x=t.x,n.y=t.y,W&&(n.z=t.z,n.rotationX=t.rotationX,n.rotationY=t.rotationY,n.scaleZ=t.scaleZ),n.filters&&delete n.filters,n}function $(t,e,i,n,s){var a,o,r,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(a=i[o])||s&&s[o])&&-1===o.indexOf("Origin")&&("number"==typeof a||"string"==typeof a)&&(l[o]="auto"!==a||"left"!==o&&"top"!==o?""!==a&&"auto"!==a&&"none"!==a||"string"!=typeof e[o]||""===e[o].replace(h,"")?a:0:pt(t,o),void 0!==u[o])&&(r=new yt(u,o,u[o],r));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:r}}function q(t,e){var i=(t=null!=t&&""!==t&&"auto"!==t&&"auto auto"!==t?t:"0 0").split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],t=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==t?t="0":"center"===t&&(t="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==t.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===t.charAt(1),e.ox=parseFloat(n.replace(h,"")),e.oy=parseFloat(t.replace(h,""))),n+" "+t+(2<i.length?" "+i[2]:"")}function B(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)}function v(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)}function y(t,e,i,n){var s,a=null==t?e:"number"==typeof t?t:(a=t.split("_"),s=Number(a[0].replace(h,""))*(-1===t.indexOf("rad")?1:H)-("="===t.charAt(1)?0:e),a.length&&(n&&(n[i]=e+s),-1!==t.indexOf("short")&&(s%=360)!=s%180&&(s=s<0?s+360:s-360),-1!==t.indexOf("_cw")&&s<0?s=(s+3599999999640)%360-360*(0|s/360):-1!==t.indexOf("ccw")&&0<s&&(s=(s-3599999999640)%360-360*(0|s/360))),e+s);return a<1e-6&&-1e-6<a?0:a}function l(t,e,i){return 0|255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+6*(i-e)*t:t<.5?i:3*t<2?e+6*(i-e)*(2/3-t):e)+.5}function U(t){var e,i,n,s,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),E[t]||("#"===t.charAt(0)?(4===t.length&&(t="#"+(e=t.charAt(1))+e+(i=t.charAt(2))+i+(n=t.charAt(3))+n),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):("hsl"===t.substr(0,3)?(t=t.match(C),n=Number(t[0])%360/360,s=Number(t[1])/100,e=2*(a=Number(t[2])/100)-(i=a<=.5?a*(1+s):a+s-a*s),3<t.length&&(t[3]=Number(t[3])),t[0]=l(n+1/3,e,i),t[1]=l(n,e,i),t[2]=l(n-1/3,e,i)):((t=t.match(C)||E.transparent)[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),3<t.length&&(t[3]=Number(t[3]))),t))):E.black}(t.constructor=R).version="1.13.0",R.API=2,R.defaultTransformPerspective=0,R.defaultSkewType="compensated",R.suffixMap={top:t="px",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var Y,u,V,X,G,k,e,K,C=/(?:\d|\-\d|\.\d|\-\.\d)+/g,Q=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,Z=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,h=/[^\d\-\.]/g,J=/(?:\d|\-|\+|=|#|\.)*/g,tt=/opacity *= *([^)]*)/i,et=/opacity:([^;]*)/i,it=/alpha\(opacity *=.+?\)/i,nt=/^(rgb|hsl)/,st=/([A-Z])/g,at=/-([a-z])/gi,ot=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,rt=/(?:Left|Right|Width)/i,lt=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,ut=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,z=Math.PI/180,H=180/Math.PI,_={},b=document,S=b.createElement("div"),ht=b.createElement("img"),i=R._internals={_specialProps:f},n=navigator.userAgent,D=(e=n.indexOf("Android"),K=b.createElement("div"),V=-1!==n.indexOf("Safari")&&-1===n.indexOf("Chrome")&&(-1===e||3<Number(n.substr(e+8,1))),G=V&&Number(n.substr(n.indexOf("Version/")+8,1))<6,X=-1!==n.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(n)&&(k=parseFloat(RegExp.$1)),K.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",!!(e=K.getElementsByTagName("a")[0])&&/^0.55/.test(e.style.opacity)),ct="",dt="",g=b.defaultView?b.defaultView.getComputedStyle:function(){},F=R.getStyle=function(t,e,i,n,s){var a;return D||"opacity"!==e?(!n&&t.style[e]?a=t.style[e]:(i=i||g(t))?a=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(st,"-$1").toLowerCase()):t.currentStyle&&(a=t.currentStyle[e]),null==s||a&&"none"!==a&&"auto"!==a&&"auto auto"!==a?a:s):r(t)}
61,A=i.convertToPixels=function(t,e,i,n,s){if("px"===n||!n)return i;if("auto"===n||!i)return 0;var a,o,r,l=rt.test(e),u=t,h=S.style,c=i<0;if(c&&(i=-i),"%"===n&&-1!==e.indexOf("border"))a=i/100*(l?t.clientWidth:t.clientHeight);else{if(h.cssText="border:0 solid red;position:"+F(t,"position")+";line-height:0;","%"!==n&&u.appendChild)h[l?"borderLeftWidth":"borderTopWidth"]=i+n;else{if(o=(u=t.parentNode||b.body)._gsCache,r=d.ticker.frame,o&&l&&o.time===r)return o.width*i/100;h[l?"width":"height"]=i+n}u.appendChild(S),a=parseFloat(S[l?"offsetWidth":"offsetHeight"]),u.removeChild(S),l&&"%"===n&&!1!==R.cacheWidths&&((o=u._gsCache=u._gsCache||{}).time=r,o.width=a/i*100),0!==a||s||(a=A(t,e,i,n,!0))}return c?-a:a},pt=i.calculateOffset=function(t,e,i){var n;return"absolute"!==F(t,"position",i)?0:(i=F(t,"margin"+(n="left"===e?"Left":"Top"),i),t["offset"+n]-(A(t,e,parseFloat(i),i.replace(J,""))||0))},ft={width:["Left","Right"],height:["Top","Bottom"]},mt=["marginLeft","marginRight","marginTop","marginBottom"],E={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]},P="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(t in E)P+="|"+t+"\\b";function gt(t,e,a,o){var r,l,u,h,c,d,p,f;return null==t?function(t){return t}:(l=e?(t.match(P)||[""])[0]:"",u=t.split(l).join("").match(Z)||[],h=t.substr(0,t.indexOf(u[0])),c=")"===t.charAt(t.length-1)?")":"",d=-1!==t.indexOf(" ")?" ":",",p=u.length,f=0<p?u[0].replace(C,""):"",p?r=e?function(t){var e,i,n,s;if("number"==typeof t)t+=f;else if(o&&I.test(t)){for(s=t.replace(I,"|").split("|"),n=0;s.length>n;n++)s[n]=r(s[n]);return s.join(",")}if(e=(t.match(P)||[l])[0],n=(i=t.split(e).join("").match(Z)||[]).length,p>n--)for(;p>++n;)i[n]=a?i[0|(n-1)/2]:u[n];return h+i.join(d)+d+e+c+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,n;if("number"==typeof t)t+=f;else if(o&&I.test(t)){for(i=t.replace(I,"|").split("|"),n=0;i.length>n;n++)i[n]=r(i[n]);return i.join(",")}if(n=(e=t.match(Z)||[]).length,p>n--)for(;p>++n;)e[n]=a?e[0|(n-1)/2]:u[n];return h+e.join(d)+c}:function(t){return t})}function vt(u){return u=u.split(","),function(t,e,i,n,s,a,o){var r,l=(e+"").split(" ");for(o={},r=0;r<4;r++)o[u[r]]=l[r]=l[r]||l[(r-1)/2>>0];return n.parse(t,o,s,a)}}function yt(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&((n._prev=this)._next=n)}var P=RegExp(P+")","gi"),O=(i._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,a=this.data,o=a.proxy,r=a.firstMPT;r;)e=o[r.v],r.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),r.t[r.p]=e,r=r._next;if(a.autoRotate&&(a.autoRotate.rotation=o.rotation),1===t)for(r=a.firstMPT;r;){if((i=r.t).type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)s+=i["xn"+n]+i["xs"+(n+1)];i.e=s}}else i.e=i.s+i.xs0;r=r._next}},i._parseToProxy=function(t,e,i,n,s,a){var o,r,l,u,h=n,c={},d={},p=i._transform,f=_;for(i._transform=null,_=e,n=t=i.parse(t,e,n,s),_=f,a&&(i._transform=p,h)&&(h._prev=null,h._prev)&&(h._prev._next=null);n&&n!==h;){if(n.type<=1&&(d[r=n.p]=n.s+n.c,c[r]=n.s,a||(u=new yt(n,"s",r,u,n.r),n.c=0),1===n.type))for(o=n.l;0<--o;)d[r=n.p+"_"+(l="xn"+o)]=n.data[l],c[r]=n[l],a||(u=new yt(n,l,r,u,n.rxp[l]));n=n._next}return{proxy:c,end:d,firstMPT:u,pt:t}},i.CSSPropTween=function(t,e,i,n,s,a,o,r,l,u,h){this.t=t,this.p=e,this.s=i,this.c=n,this.n=o||e,t instanceof O||c.push(this.n),this.r=r,this.type=a||0,l&&(this.pr=l,p=!0),this.b=void 0===u?i:u,this.e=void 0===h?i+n:h,s&&((this._next=s)._prev=this)}),_t=R.parseComplex=function(t,e,i,n,s,a,o,r,l,u){o=new O(t,e,0,0,o,u?2:1,null,!1,r,i=i||a||"",n),n+="";var h,c,d,p,f,m,g,v,y,_,b,w=i.split(", ").join(",").split(" "),x=n.split(", ").join(",").split(" "),T=w.length,k=!1!==Y;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(w=w.join(" ").replace(I,", ").split(" "),x=x.join(" ").replace(I,", ").split(" "),T=w.length),T!==x.length&&(T=(w=(a||"").split(" ")).length),o.plugin=l,o.setRatio=u,h=0;h<T;h++)if(p=w[h],f=x[h],(v=parseFloat(p))||0===v)o.appendXtra("",v,B(f,v),f.replace(Q,""),k&&-1!==f.indexOf("px"),!0);else if(s&&("#"===p.charAt(0)||E[p]||nt.test(p)))b=","===f.charAt(f.length-1)?"),":")",p=U(p),f=U(f),(v=6<p.length+f.length)&&!D&&0===f[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(x[h]).join("transparent")):(o.appendXtra((v=!!D&&v)?"rgba(":"rgb(",p[0],f[0]-p[0],",",!0,!0).appendXtra("",p[1],f[1]-p[
611],",",!0).appendXtra("",p[2],f[2]-p[2],v?",":b,!0),v&&(p=p.length<4?1:p[3],o.appendXtra("",p,(f.length<4?1:f[3])-p,b,!1)));else if(m=p.match(C)){if(!(g=f.match(Q))||g.length!==m.length)return o;for(c=d=0;m.length>c;c++)_=m[c],y=p.indexOf(_,d),o.appendXtra(p.substr(d,y-d),Number(_),B(g[c],_),"",k&&"px"===p.substr(y+_.length,2),0===c),d=y+_.length;o["xs"+o.l]+=p.substr(d)}else o["xs"+o.l]+=o.l?" "+p:p;if(-1!==n.indexOf("=")&&o.data){for(b=o.xs0+o.data.s,h=1;o.l>h;h++)b+=o["xs"+h]+o.data["xn"+h];o.e=b+o["xs"+h]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},M=9;for((t=O.prototype).l=t.pr=0;0<--M;)t["xn"+M]=0,t["xs"+M]="";function bt(t,e){this.p=(e=e||{}).prefix&&T(t)||t,(f[t]=f[this.p]=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}function wt(t){var e,i,n=this.data,s=-n.rotation*z,a=s+n.skewX*z,o=(0|Math.cos(s)*n.scaleX*1e5)/1e5,s=(0|Math.sin(s)*n.scaleX*1e5)/1e5,r=(0|Math.sin(a)*-n.scaleY*1e5)/1e5,a=(0|Math.cos(a)*n.scaleY*1e5)/1e5,l=this.t.style,u=this.t.currentStyle;if(u){i=s,s=-r,r=-i,e=u.filter,l.filter="";var h=this.t.offsetWidth,c=this.t.offsetHeight,d="absolute"!==u.position,p="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+s+", M21="+r+", M22="+a,f=n.x+h*n.xPercent/100,m=n.y+c*n.yPercent/100;if(null!=n.ox&&(f+=(_=(n.oxp?.01*h*n.ox:n.ox)-h/2)-(_*o+(b=(n.oyp?.01*c*n.oy:n.oy)-c/2)*s),m+=b-(_*r+b*a)),p+=d?", Dx="+((_=h/2)-(_*o+(b=c/2)*s)+f)+", Dy="+(b-(_*r+b*a)+m)+")":", sizingMethod='auto expand')",l.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(ut,p):p+" "+e,0!==t&&1!==t||1!=o||0!=s||0!=r||1!=a||d&&-1===p.indexOf("Dx=0, Dy=0")||tt.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&l.removeAttribute("filter"),!d){var g,v,y=k<8?1:-1,_=n.ieOffsetX||0,b=n.ieOffsetY||0;for(n.ieOffsetX=Math.round((h-((o<0?-o:o)*h+(s<0?-s:s)*c))/2+f),n.ieOffsetY=Math.round((c-((a<0?-a:a)*c+(r<0?-r:r)*h))/2+m),M=0;M<4;M++)v=(i=-1!==(v=u[g=mt[M]]).indexOf("px")?parseFloat(v):A(this.t,g,parseFloat(v),v.replace(J,""))||0)!==n[g]?M<2?-n.ieOffsetX:-n.ieOffsetY:M<2?_-n.ieOffsetX:b-n.ieOffsetY,l[g]=(n[g]=Math.round(i-v*(0===M||2===M?1:y)))+"px"}}}function xt(t){var e,i=this.t,n=i.filter||F(this.data,"filter"),t=0|this.s+this.c*t;(e=100==t?-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),!F(this.data,"filter")):(i.filter=n.replace(it,""),!0):e)||(this.xn1&&(i.filter=n=n||"alpha(opacity="+t+")"),-1===n.indexOf("pacity")?0==t&&this.xn1||(i.filter=n+" alpha(opacity="+t+")"):i.filter=n.replace(tt,"opacity="+t))}function Tt(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(st,"-$1").toLowerCase())):t.removeAttribute(e))}function kt(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:Tt(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)}function Ct(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,a=this.t.style,o=f.transform.parse;if("all"===this.e)s=!(a.cssText="");else for(n=(e=this.e.split(",")).length;-1<--n;)i=e[n],f[i]&&(f[i].parse===o?s=!0:i="transformOrigin"===i?Dt:f[i].p),Tt(a,i);s&&(Tt(a,j),this.t._gsTransform)&&delete this.t._gsTransform}}t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,n,s,a){var o=this,r=o.l;return o["xs"+r]+=a&&r?" "+t:t||"",i||0===r||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",0<r?(o.data["xn"+r]=e+i,o.rxp["xn"+r]=s,o["xn"+r]=e,o.plugin||(o.xfirst=new O(o,"xn"+r,e,i,o.xfirst||o,0,o.n,s,o.pr),o.xfirst.xs0=0)):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=s)):o["xs"+r]+=e+(n||""),o};var s=i._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,s=t.split(","),a=e.defaultValue;for(i=i||[a],n=0;s.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||a,new bt(s[n],e)}
61,It=((t=bt.prototype).parseComplex=function(t,e,i,n,s,a){var o,r,l,u,h,c=this.keyword;if(this.multi&&(I.test(i)||I.test(e)?(r=e.replace(I,"|").split("|"),l=i.replace(I,"|").split("|")):c&&(r=[e],l=[i])),l){for(u=(l.length>r.length?l:r).length,o=0;o<u;o++)e=r[o]=r[o]||this.dflt,i=l[o]=l[o]||this.dflt,c&&e.indexOf(c)!==(h=i.indexOf(c))&&((i=-1===h?l:r)[o]+=" "+c);e=r.join(", "),i=l.join(", ")}return _t(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,a)},t.parse=function(t,e,i,n,s,a){return this.parseComplex(t.style,this.format(F(t,this.p,x,!1,this.dflt)),this.format(e),s,a)},R.registerSpecialProp=function(t,o,r){s(t,{parser:function(t,e,i,n,s,a){s=new O(t,i,0,0,s,2,i,!1,r);return s.plugin=a,s.setRatio=o(t,e,n._tween,i),s},priority:r})},"scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(",")),j=T("transform"),St=ct+"transform",Dt=T("transformOrigin"),W=null!==T("perspective"),At=i.Transform=function(){this.skewY=0},N=i.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var s,a,o,r,l,u,h,c,d,p,f,m,g,v,y,_,b,w,x,T,k,$,C,I,S,D,A,E,P=i&&t._gsTransform||new At,O=P.scaleX<0,M=179.99,N=M*z,L=W&&(parseFloat(F(t,Dt,e,!1,"0 0 0").split(" ")[2])||P.zOrigin)||0;if(j?D=F(t,St,e,!0):t.currentStyle&&(D=(D=t.currentStyle.filter.match(lt))&&4===D.length?[D[0].substr(4),Number(D[2].substr(4)),Number(D[1].substr(4)),D[3].substr(4),P.x||0,P.y||0].join(","):""),D&&"none"!==D&&"matrix(1, 0, 0, 1, 0, 0)"!==D){for(a=(s=(D||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[]).length;-1<--a;)o=Number(s[a]),s[a]=(r=o-(o|=0))?(0|1e5*r+(r<0?-.5:.5))/1e5+o:o;for(a in 16===s.length?(D=s[8],l=s[9],u=s[10],h=s[12],c=s[13],d=s[14],P.zOrigin&&(h=D*(d=-P.zOrigin)-s[12],c=l*d-s[13],d=u*d+P.zOrigin-s[14]),i&&!n&&null!=P.rotationX||(y=s[0],_=s[1],b=s[2],S=s[3],w=s[4],x=s[5],T=s[6],I=s[7],k=s[11],C=($=Math.atan2(T,u))<-N||N<$,P.rotationX=$*H,$&&(A=w*(f=Math.cos(-$))+D*(m=Math.sin(-$)),p=x*f+l*m,E=T*f+u*m,D=w*-m+D*f,l=x*-m+l*f,u=T*-m+u*f,k=I*-m+k*f,w=A,x=p,T=E),$=Math.atan2(D,y),P.rotationY=$*H,$&&(g=$<-N||N<$,p=_*(f=Math.cos(-$))-l*(m=Math.sin(-$)),E=b*f-u*m,l=_*m+l*f,u=b*m+u*f,k=S*m+k*f,y=A=y*f-D*m,_=p,b=E),$=Math.atan2(_,x),P.rotation=$*H,$&&(v=$<-N||N<$,y=y*(f=Math.cos(-$))+w*(m=Math.sin(-$)),p=_*f+x*m,x=_*-m+x*f,T=b*-m+T*f,_=p),v&&C?P.rotation=P.rotationX=0:v&&g?P.rotation=P.rotationY=0:g&&C&&(P.rotationY=P.rotationX=0),P.scaleX=(0|1e5*Math.sqrt(y*y+_*_)+.5)/1e5,P.scaleY=(0|1e5*Math.sqrt(x*x+l*l)+.5)/1e5,P.scaleZ=(0|1e5*Math.sqrt(T*T+u*u)+.5)/1e5,P.skewX=0,P.perspective=k?1/(k<0?-k:k):0,P.x=h,P.y=c,P.z=d)):W&&!n&&s.length&&P.x===s[4]&&P.y===s[5]&&(P.rotationX||P.rotationY)||void 0!==P.x&&"none"===F(t,"display",e)||(S=(I=6<=s.length)?s[0]:1,D=s[1]||0,A=s[2]||0,E=I?s[3]:1,P.x=s[4]||0,P.y=s[5]||0,N=Math.sqrt(S*S+D*D),w=Math.sqrt(E*E+A*A),$=S||D?Math.atan2(D,S)*H:P.rotation||0,b=A||E?Math.atan2(A,E)*H+$:P.skewX||0,m=N-Math.abs(P.scaleX||0),f=w-Math.abs(P.scaleY||0),90<Math.abs(b)&&Math.abs(b)<270&&(O?(N*=-1,b+=$<=0?180:-180,$+=$<=0?180:-180):(w*=-1,b+=b<=0?180:-180)),p=($-P.rotation)%180,v=(b-P.skewX)%180,(void 0===P.skewX||2e-5<m||m<-2e-5||2e-5<f||f<-2e-5||-M<p&&p<M&&!1|1e5*p||-M<v&&v<M&&!1|1e5*v)&&(P.scaleX=N,P.scaleY=w,P.rotation=$,P.skewX=b),W&&(P.rotationX=P.rotationY=P.z=0,P.perspective=parseFloat(R.defaultTransformPerspective)||0,P.scaleZ=1)),P.zOrigin=L,P)P[a]<2e-5&&-2e-5<P[a]&&(P[a]=0)}else P={x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,perspective:0,rotation:0,rotationX:0,rotationY:0,zOrigin:0};return i&&(t._gsTransform=P),P.xPercent=P.yPercent=0,P},Et=i.set3DTransformRatio=function(t){var e,i,n,s,a,o,r,l,u,h,c,d,p,f,m,g,v,y,_,b,w,x=this.data,T=this.t.style,k=x.rotation*z,C=x.scaleX,I=x.scaleY,S=x.scaleZ,D=x.x,A=x.y,E=x.z,P=x.perspective;if(1!==t&&0!==t||"auto"!==x.force3D||x.rotationY||x.rotationX||1!==S||P||E){if(X&&(C<1e-4&&-1e-4<C&&(C=S=2e-5),I<1e-4&&-1e-4<I&&(I=S=2e-5),!P||x.z||x.rotationX||x.rotationY||(P=0)),k||x.skewX)e=v=Math.cos(k),a=y=Math.sin(k),x.skewX&&(k-=x.skewX*z,v=Math.cos(k),y=Math.sin(k),"simple"===x.skewType)&&(_=Math.tan(x.skewX*z),v*=_=Math.sqrt(1+_*_),y*=_),i=-y,o=v;else{if(!(x.rotationY||x.rotationX||1!==S||P))return void(T[j]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+A+"px,"+E+"px)"+(1!==C||1!==I?" scale("+C+","+I+")":""));e=o=1,i=a=0}c=1,n=s=r=l=u=h=d=p=f=0,m=P?-1/P:0,g=x.zOrigin,(k=x.rotationY*z)&&(v=Math.cos(k),u=c*-(y=Math.sin(k)),p=m*-y,n=e*y,r=a*y,c*=v,m*=v,e*=v,a*=v),(k=x.rotationX*z)&&(_=i*(v=Math.cos(k))+n*(y=Math.sin(k)),k=o*v+r*y,b=h*v+c*y,w=f*v+m*y,n=i*-y+n*v,r=o*-y+r*v,c=h*-y+c*v,m=f*-y+m*v,i=_,o=k,h=b,f=w),1!==S&&(n*=S,r*=S,c*=S,m*=S),1!==I&&(i*=I,o*=I,h*=I,f*=I),1!==C&&(e*=C,a*=C,u*=C,p*=C),g&&(s=n*(d-=g),l=r*d,d=c*d+g),s=(_=(s+=D)-(s|=0))?(0|1e5*_+(_<0?-.5:.5))/1e5+s:s,l=(_=(l+=A)-(l|=0))?(0|1e5*_+(_<0?-.5:.5))/1e5+l:l,d=(_=(d+=E)-(d|=0))?(0|1e5*_+(_<0?-.5:.5))/1e5+d:d,T[j]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(")+[(0|1e5*e)/1e5,(0|1e5*a
61)/1e5,(0|1e5*u)/1e5,(0|1e5*p)/1e5,(0|1e5*i)/1e5,(0|1e5*o)/1e5,(0|1e5*h)/1e5,(0|1e5*f)/1e5,(0|1e5*n)/1e5,(0|1e5*r)/1e5,(0|1e5*c)/1e5,(0|1e5*m)/1e5,s,l,d,P?1+-d/P:1].join(",")+")"}else Pt.call(this,t)},Pt=i.set2DTransformRatio=function(t){var e,i,n,s=this.data,a=this.t.style,o=s.x,r=s.y;return s.rotationX||s.rotationY||s.z||!0===s.force3D||"auto"===s.force3D&&1!==t&&0!==t?void(this.setRatio=Et).call(this,t):void(s.rotation||s.skewX?(e=(t=s.rotation*z)-s.skewX*z,i=1e5*s.scaleX,n=1e5*s.scaleY,a[j]=(s.xPercent||s.yPercent?"translate("+s.xPercent+"%,"+s.yPercent+"%) matrix(":"matrix(")+(0|Math.cos(t)*i)/1e5+","+(0|Math.sin(t)*i)/1e5+","+(0|Math.sin(e)*-n)/1e5+","+(0|Math.cos(e)*n)/1e5+","+o+","+r+")"):a[j]=(s.xPercent||s.yPercent?"translate("+s.xPercent+"%,"+s.yPercent+"%) matrix(":"matrix(")+s.scaleX+",0,0,"+s.scaleY+","+o+","+r+")")};for(s("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(t,e,i,n,s,a,o){if(!n._transform){var r,l,u,h,c,d=n._transform=N(t,x,!0,o.parseTransform),p=t.style,f=It.length,m=o,g={};if("string"==typeof m.transform&&j)(l=S.style)[j]=m.transform,l.display="block",l.position="absolute",b.body.appendChild(S),r=N(S,null,!1),b.body.removeChild(S);else if("object"==typeof m){if(r={scaleX:v(null!=m.scaleX?m.scaleX:m.scale,d.scaleX),scaleY:v(null!=m.scaleY?m.scaleY:m.scale,d.scaleY),scaleZ:v(m.scaleZ,d.scaleZ),x:v(m.x,d.x),y:v(m.y,d.y),z:v(m.z,d.z),xPercent:v(m.xPercent,d.xPercent),yPercent:v(m.yPercent,d.yPercent),perspective:v(m.transformPerspective,d.perspective)},null!=(c=m.directionalRotation))if("object"==typeof c)for(l in c)m[l]=c[l];else m.rotation=c;"string"==typeof m.x&&-1!==m.x.indexOf("%")&&(r.x=0,r.xPercent=v(m.x,d.xPercent)),"string"==typeof m.y&&-1!==m.y.indexOf("%")&&(r.y=0,r.yPercent=v(m.y,d.yPercent)),r.rotation=y("rotation"in m?m.rotation:"shortRotation"in m?m.shortRotation+"_short":"rotationZ"in m?m.rotationZ:d.rotation,d.rotation,"rotation",g),W&&(r.rotationX=y("rotationX"in m?m.rotationX:"shortRotationX"in m?m.shortRotationX+"_short":d.rotationX||0,d.rotationX,"rotationX",g),r.rotationY=y("rotationY"in m?m.rotationY:"shortRotationY"in m?m.shortRotationY+"_short":d.rotationY||0,d.rotationY,"rotationY",g)),r.skewX=null==m.skewX?d.skewX:y(m.skewX,d.skewX),r.skewY=null==m.skewY?d.skewY:y(m.skewY,d.skewY),(o=r.skewY-d.skewY)&&(r.skewX+=o,r.rotation+=o)}for(W&&null!=m.force3D&&(d.force3D=m.force3D,h=!0),d.skewType=m.skewType||d.skewType||R.defaultSkewType,(o=d.force3D||d.z||d.rotationX||d.rotationY||r.z||r.rotationX||r.rotationY||r.perspective)||null==m.scale||(r.scaleZ=1);-1<--f;)(1e-6<(u=r[i=It[f]]-d[i])||u<-1e-6||null!=_[i])&&(h=!0,s=new O(d,i,d[i],u,s),i in g&&(s.e=g[i]),s.xs0=0,s.plugin=a,n._overwriteProps.push(s.n));((u=m.transformOrigin)||W&&o&&d.zOrigin)&&(j?(h=!0,i=Dt,u=(u||F(t,i,x,!1,"50% 50%"))+"",(s=new O(p,i,0,0,s,-1,"transformOrigin")).b=p[i],s.plugin=a,W?(l=d.zOrigin,u=u.split(" "),d.zOrigin=(2<u.length&&(0===l||"0px"!==u[2])?parseFloat(u[2]):l)||0,s.xs0=s.e=u[0]+" "+(u[1]||"50%")+" 0px",(s=new O(d,"zOrigin",0,0,s,-1,s.n)).b=l,s.xs0=s.e=d.zOrigin):s.xs0=s.e=u):q(u+"",d)),h&&(n._transformType=o||3===this._transformType?3:2)}return s},prefix:!0}),s("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),s("borderRadius",{defaultValue:"0px",parser:function(t,e,i,n,s){e=this.format(e);for(var a,o,r,l,u,h,c,d,p,f,m=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],g=t.style,v=parseFloat(t.offsetWidth),y=parseFloat(t.offsetHeight),_=e.split(" "),b=0;b<m.length;b++)this.p.indexOf("border")&&(m[b]=T(m[b])),-1!==(r=o=F(t,m[b],x,!1,"0px")).indexOf(" ")&&(r=(o=r.split(" "))[0],o=o[1]),l=a=_[b],p=parseFloat(r),f=r.substr((p+"").length),(h=""===(h=(c="="===l.charAt(1))?(u=parseInt(l.charAt(0)+"1",10),l=l.substr(2),u*=parseFloat(l),l.substr((u+"").length-(u<0?1:0))||""):(u=parseFloat(l),l.substr((u+"").length)))?w[i]||f:h)!==f&&(d=A(t,"borderLeft",p,f),p=A(t,"borderTop",p,f),o="%"===h?(r=d/v*100+"%",p/y*100+"%"):"em"===h?(r=d/(f=A(t,"borderLeft",1,"em"))+"em",p/f+"em"):(r=d+"px",p+"px"),c)&&(l=parseFloat(r)+u+h,a=parseFloat(o)+u+h),s=_t(g,m[b],r+" "+o,l+" "+a,!1,"0px",s);return s},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),s("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,
61i,n,s,a){var o,r,l,u,h,c="background-position",d=x||g(t,null),p=this.format((d?k?d.getPropertyValue(c+"-x")+" "+d.getPropertyValue(c+"-y"):d.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),d=this.format(e);if(-1!==p.indexOf("%")!=(-1!==d.indexOf("%"))&&(c=F(t,"backgroundImage").replace(ot,""))&&"none"!==c){for(o=p.split(" "),r=d.split(" "),ht.setAttribute("src",c),l=2;-1<--l;)(u=-1!==(p=o[l]).indexOf("%"))!=(-1!==r[l].indexOf("%"))&&(h=0===l?t.offsetWidth-ht.width:t.offsetHeight-ht.height,o[l]=u?parseFloat(p)/100*h+"px":parseFloat(p)/h*100+"%");p=o.join(" ")}return this.parseComplex(t.style,p,d,s,a)},formatter:q}),s("backgroundSize",{defaultValue:"0 0",formatter:q}),s("perspective",{defaultValue:"0px",prefix:!0}),s("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),s("transformStyle",{prefix:!0}),s("backfaceVisibility",{prefix:!0}),s("userSelect",{prefix:!0}),s("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),s("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),s("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,a){var o,r;return e=k<9?(o=t.currentStyle,r=k<8?" ":",",o="rect("+o.clipTop+r+o.clipRight+r+o.clipBottom+r+o.clipLeft+")",this.format(e).split(",").join(r)):(o=this.format(F(t,this.p,x,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),s("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),s("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),s("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,a){return this.parseComplex(t.style,this.format(F(t,"borderTopWidth",x,!1,"0px")+" "+F(t,"borderTopStyle",x,!1,"solid")+" "+F(t,"borderTopColor",x,!1,"#000")),this.format(e),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(P)||["#000"])[0]}}),s("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),s("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s){var t=t.style,a="cssFloat"in t?"cssFloat":"styleFloat";return new O(t,a,0,0,s,-1,i,!1,0,t[a],e)}}),s("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,a){var o=parseFloat(F(t,"opacity",x,!1,"1")),r=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),l&&1===o&&"hidden"===F(t,"visibility",x)&&0!==e&&(o=0),D?s=new O(r,"opacity",o,e-o,s):((s=new O(r,"opacity",100*o,100*(e-o),s)).xn1=l?1:0,r.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=xt),l&&((s=new O(r,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}}),s("className",{parser:function(t,e,i,n,s,a,o){var r,l,u,h=t.getAttribute("class")||"",c=t.style.cssText;if((s=n._classNamePT=new O(t,i,0,0,s,2)).setRatio=kt,s.pr=-11,p=!0,s.b=h,i=m(t,x),r=t._gsClassPT){for(l={},u=r.data;u;)l[u.p]=1,u=u._next;r.setRatio(1)}return(t._gsClassPT=s).e="="!==e.charAt(1)?e:h.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),n._tween._duration&&(t.setAttribute("class",s.e),r=$(t,i,m(t),o,l),t.setAttribute("class",h),s.data=r.firstMPT,t.style.cssText=c,s=s.xfirst=n.parse(t,r.difs,s,a)),s}}),s("clearProps",{parser:function(t,e,i,n,s){return(s=new O(t,i,0,0,s,2)).setRatio=Ct,s.e=e,s.pr=-10,s.data=n._tween,p=!0,s}}),t="bezier,throwProps,physicsProps,physics2D".split(","),M=t.length;M--;)!function(t){var l;f[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",s(t,{parser:function(t,e,i,n,s,a,o){var r=(_gsScope.GreenSockGlobals||_gsScope).com.greensock.plugins[l];return r?(r._cssRegister(),f[i].parse(t,e,i,n,s,a,o)):(L("Error: "+l+" js file not loaded."),s)}}))}(t[M]);function Ot(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}function Mt(t,e,i){var n,s,a,o;if(t.slice)for(s=t.length;-1<--s;)Mt(t[s],e,i);else for(s=(n=t.childNodes).length;-1<--s;)o=(a=n[s]).type,a.style&&(e.push(m(a)),i)&&i.push(a),1!==o&&9!==o&&11!==o||!a.childNodes.length||Mt(a,e,i)}return(t=R.prototype)._firstPT=null,t._onInitTween=function(t,e,
61i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,Y=e.autoRound,p=!1,w=e.suffixMap||R.suffixMap,x=g(t,""),c=this._overwriteProps;var n,s,a,o,r,l,i=t.style;if(!u||""!==i.zIndex||"auto"!==(l=F(t,"zIndex",x))&&""!==l||this._addLazySet(i,"zIndex",0),"string"==typeof e&&(a=i.cssText,l=m(t,x),i.cssText=a+";"+e,l=$(t,l,m(t)).difs,!D&&et.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,i.cssText=a),this._firstPT=n=this.parse(t,e,null),this._transformType){for(l=3===this._transformType,j?V&&(u=!0,""!==i.zIndex||"auto"!==(e=F(t,"zIndex",x))&&""!==e||this._addLazySet(i,"zIndex",0),G)&&this._addLazySet(i,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(l?"visible":"hidden")):i.zoom=1,s=n;s&&s._next;)s=s._next;e=new O(t,"transform",0,0,null,2),this._linkCSSP(e,null,s),e.setRatio=l&&W?Et:j?Pt:wt,e.data=this._transform||N(t,x,!0),c.pop()}if(p){for(;n;){for(r=n._next,s=a;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:o)?n._prev._next=n:a=n,(n._next=s)?s._prev=n:o=n,n=r}this._firstPT=a}return!0},t.parse=function(t,e,i,n){var s,a,o,r,l,u,h,c,d=t.style;for(s in e)l=e[s],r=f[s],r?i=r.parse(t,l,s,this,i,n,e):(r=F(t,s,x)+"",h="string"==typeof l,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||h&&nt.test(l)?(h||(l=U(l),l=(3<l.length?"rgba(":"rgb(")+l.join(",")+")"),i=_t(d,s,r,l,!0,"transparent",i,0,n)):!h||-1===l.indexOf(" ")&&-1===l.indexOf(",")?(a=parseFloat(r),u=a||0===a?r.substr((a+"").length):"",""!==r&&"auto"!==r||(u="width"===s||"height"===s?(a=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=ft[e],a=s.length;for(i=i||g(t,null);-1<--a;)n=(n-=parseFloat(F(t,"padding"+s[a],i,!0))||0)-(parseFloat(F(t,"border"+s[a]+"Width",i,!0))||0);return n}(t,s,x),"px"):"left"===s||"top"===s?(a=pt(t,s,x),"px"):(a="opacity"!==s?0:1,"")),c=h&&"="===l.charAt(1),h=c?(o=parseInt(l.charAt(0)+"1",10),l=l.substr(2),o*=parseFloat(l),l.replace(J,"")):(o=parseFloat(l),h&&l.substr((o+"").length)||""),""===h&&(h=s in w?w[s]:u),l=o||0===o?(c?o+a:o)+h:e[s],u!==h&&""!==h&&(o||0===o)&&a&&(a=A(t,s,a,u),"%"===h?(a/=A(t,s,100,"%")/100,!0!==e.strictUnits&&(r=a+"%")):"em"===h?a/=A(t,s,1,"em"):"px"!==h&&(o=A(t,s,o,h),h="px"),c)&&(o||0===o)&&(l=o+a+h),c&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==d[s]&&(l||"NaN"!=l+""&&null!=l)?(i=new O(d,s,o||a||0,0,i,-1,s,!1,0,r,l),i.xs0="none"!==l||"display"!==s&&-1===s.indexOf("Style")?l:r):L("invalid "+s+" tween value: "+e[s]):(i=new O(d,s,a,o-a,i,0,s,!1!==Y&&("px"===h||"zIndex"===s),0,r,l),i.xs0=h)):i=_t(d,s,r,l,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.plugin=n);return i},t.setRatio=function(t){var e,i,n,s=this._firstPT;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(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):e<1e-6&&-1e-6<e&&(e=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;s.l>n;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;)2!==s.type?s.t[s.p]=s.e:s.setRatio(t),s=s._next},t._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2,this._transform=this._transform||N(this._target,x,!0)},t._addLazySet=function(t,e,i){t=this._firstPT=new O(t,e,0,0,this._firstPT,2);t.e=i,t.setRatio=Ot,t.data=this},t._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},t._kill=function(t){var e,i,n,s=t;if(t.autoAlpha||t.alpha){for(i in s={},t)s[i]=t[i];s.opacity=1,s.autoAlpha&&(s.visibility=1)}return t.className&&(e=this._classNamePT)&&((n=e.xfirst)&&n._prev?this._linkCSSP(n._prev,e._next,n._prev._prev):n===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,n._prev),this._classNamePT=null),a.prototype._kill.call(this,s)}
61,R.cascadeTo=function(t,e,i){var n,s,a,o=d.to(t,e,i),r=[o],l=[],u=[],h=[],c=d._internals.reservedProps;for(Mt(t=o._targets||o.target,l,h),o.render(e,!0),Mt(t,u),o.render(0,!0),o._enabled(!0),n=h.length;-1<--n;)if((s=$(h[n],l[n],u[n])).firstMPT){for(a in s=s.difs,i)c[a]&&(s[a]=i[a]);r.push(d.to(h[n],e,s))}return r},a.activate([R]),R},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";function t(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin}"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}(),"undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window);(function(e){"use strict";function W(t,e,i,n){var s;return(i=i||Y(t,null))?s=(t=i.getPropertyValue(e.replace(a,"-$1").toLowerCase()))||i.length?t:i[e]:t.currentStyle&&(s=(i=t.currentStyle)[e]),n?s:parseInt(s,10)||0}function o(t){return t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0])}function q(t){var e=-1!==(t=t||"").indexOf("++"),i=1;return e&&(t=t.split("++").join("")),function(){return s+(t?" class='"+t+(e?i++:"")+"'>":">")}}function B(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=B(t)}else if(3===e||4===e)return t.nodeValue;return i}var n=e.GreenSockGlobals||e,t=function(){for(var t="com.greensock.utils".split("."),e=n,i=0;t.length>i;i++)e[t[i]]=e=e[t[i]]||{};return e}(),U=document,Y=U.defaultView?U.defaultView.getComputedStyle:function(){},a=/([A-Z])/g,V=")eefec303079ad17405c",X=/(?:<br>|<br\/>|<br \/>)/gi,s="<div style='position:relative;display:inline-block;"+(U.all&&!U.addEventListener?"*display:inline;*zoom:1;'":"'"),i=t.SplitText=n.SplitText=function(t,e){if(!(t="string"==typeof t?i.selector(t):t))throw"cannot split a null element.";this.elements=o(t)?function(t){for(var e,i,n=[],s=t.length,a=0;a<s;a++)if(o(e=t[a]))for(i=e.length,i=0;e.length>i;i++)n.push(e[i]);else n.push(e);return n}(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},t=i.prototype;t.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars;for(var e=this._originals.length=this.chars.length=this.words.length=this.lines.length=0;this.elements.length>e;e++){this._originals[e]=this.elements[e].innerHTML;var i=void 0,n=void 0,s=void 0,a=void 0,o=void 0,r=void 0,l=void 0,u=void 0,h=void 0,c=void 0,d=void 0,p=void 0,f=void 0,m=void 0,g=void 0,v=void 0,y=void 0,_=void 0,b=void 0,w=this.elements[e],x=this.vars,T=this.chars,k=this.words,C=this.lines;X.test(w.innerHTML)&&(w.innerHTML=w.innerHTML.replace(X,V));var i,n,s,a,o,I,r,l,u,h,c,d,S,D,p=B(w),m=-1!==(f=x.type||x.split||"chars,words,lines").indexOf("lines")?[]:null,A=-1!==f.indexOf("words"),E=-1!==f.indexOf("chars"),P=(D="absolute"===x.position||!0===x.absolute)?"&#173; ":" ",g=-999,O=W(w,"paddingLeft",f=Y(w)),R=W(w,"borderBottomWidth",f)+W(w,"borderTopWidth",f),z=W(w,"borderLeftWidth",f)+W(w,"borderRightWidth",f),H=W(w,"paddingTop",f)+W(w,"paddingBottom",f),F=W(w,"paddingLeft",f)+W(w,"paddingRight",f),j=W(w,"textAlign",f,!0),f=w.clientHeight,M=w.clientWidth,v=p.length,N="</div>",y=q(x.wordsClass),_=q(x.charsClass),L=-1!==(x.linesClass||"").indexOf("++"),b=x.linesClass;for(L&&(b=b.split("++").join("")),s=y(),a=0;a<v;a++)")"===(I=p.charAt(a))&&p.substr(a,20)===V?(s+=N+"<BR/>",a!==v-1&&(s+=" "+y()),a+=19):" "===I&&" "!==p.charAt(a-1)&&a!==v-1?(s+=N,a!==v-1&&(s+=P+y())):s+=E&&" "!==I?_()+I+"</div>":I;for(w.innerHTML=s+N,v=(o=w.getElementsByTagName("*")).length,r=[],a=0;a<v;a++)r[a]=o[a];if(m||D)for(a=0;a<v;a++)((n=(l=r[a]).parentNode===w)||D||E&&!A)&&(u=l.offsetTop,m&&n&&u!==g&&"BR"!==l.nodeName&&(m.push(i=[]),g=u),D&&(l._x=l.offsetLeft,l._y=u,l._w=l.offsetWidth,l._h=l.offsetHeight),m)&&(A!==n&&E||(i.push(l),l._x-=O),n)&&a&&(r[a-1]._wordEnd=!0);for(a=0;a<v;a++)n=(l=r[a]).parentNode===w,"BR"!==l.nodeName?(D&&(c=l.style,A||n||(l._x+=l.parentNode._x,l._y+=l.parentNode._y),c.left=l._x+"px",c.top=l._y+"px",c.position="absolute",c.display="block",c.width=l._w+1+"px",c.height=l._h+"px"),A?n?k.push(l):E&&T.push(l):n?(w.removeChild(l),r.splice(a--,1),v--):!n&&E&&(u=!m&&!D&&l.nextSibling,w.appendChild(l),u||w.appendChild(U.createTextNode(" ")),T.push(l))):m||D?(w.removeChild(l),r.splice(a--,1),v--):A||w.appendChild(l);if(m){for(D&&(h=U.createElement("div"),w.appendChild(h),d=h.offsetWidth+"px",u=h.offsetParent===w?0:w.offsetLeft,w.removeChild(h)),c=w.style.cssText,w.style.cssText="display:none;";w.firstChild;)w.removeChild(w.firstChild);for(S=!D||!A&&!E,a=0;m.length>a;a++){for(i=m[a],(h=U.createElement("div")).style.cssText="display:block;text-align:"+j+";position:"+(D?"absolute;":"relative;"),b&&(h.className=b+(L?a+1:"")),C.push(h),v=i.length,o=0;o<v;o++)"BR"!==i[o].nodeName&&(l=i[o],h.appendChild(l),S&&(l._wordEnd||A)&&h.appendChild(U.createTextNode(" ")),D)&&(0===o&&(h.style.top=l._y+"px",h.style.left=O+u+"px"),l.style.top="0px",u)&&(l.style.left=l._x-u+"px");A||E||(h.innerHTML=B(h).split(String.fromCharCode(160)).join(" ")),D&&(h.style.width=d,h.style.height=l._h+"px"),w.appendChild(h)}w.style.cssText=c}D&&(f>w.clientHeight&&(w.style.height=f-H+"px",f>w.clientHeight)&&(w.style.height=f+R+"px"),M>w.clientWidth)&&(w.style.width=M-F+"px",M>w.clientWidth)&&(w.style.width=M+z+"px")}return this.isSplit=!0,this},t.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;-1<--t;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},i.selector=e.$||e.jQuery||function(t){return e.$?(i.selector=e.$,e.$(t)):U?U.getElementById("#"===t.charAt(0)?t.substr(1):t):t},i.version="0.2.4"})(_gsScope),function(){"use strict";function t(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText}"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(module.exports=t())}();try{window.GreenSockGobals=null,window._gsQueue=null,delete window.GreenSockGlobals,delete window._gsQueue}catch(e){}try{window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue}catch(e){}if(1==window.tplogs)try{console.groupEnd()}catch(e){}function revslider_showDoubleJqueryError(t){var e="<span style='font-size:16px;color:#BC0C06;'>"+(e="Revolution Slider Error: You have some jquery.js library include that c
61omes after the revolution files js include.")+"<br> This includes make eliminates the revolution slider libraries, and make it not work.<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option:  <strong><b>Put JS Includes To Body</b></strong> option to true.<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.</span>";jQuery(t).show().html(e)}!function(h){h.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},h.expr[":"].uncached=function(t){var e=document.createElement("img");return e.src=t.src,h(t).is('img[src!=""]')&&!e.complete},h.fn.waitForImages=function(l,u,e){if(h.isPlainObject(arguments[0])&&(u=l.each,e=l.waitForAll,l=l.finished),l=l||h.noop,u=u||h.noop,e=!!e,h.isFunction(l)&&h.isFunction(u))return this.each(function(){var t,a,n=h(this),o=[],s=(e?(t=h.waitForImages.hasImageProperties||[],a=/url\((['"]?)(.*?)\1\)/g,n.find("*").each(function(){var s=h(this);s.is("img:uncached")&&o.push({src:s.attr("src"),element:s[0]}),h.each(t,function(t,e){var i,n=s.css(e);if(!n)return!0;for(;i=a.exec(n);)o.push({src:i[2],element:s[0]})})})):n.find("img:uncached").each(function(){o.push({src:this.src,element:this})}),o.length),r=0;0==s&&l.call(n[0]),h.each(o,function(t,e){var i=new Image;h(i).bind("load error",function(t){if(r++,u.call(e.element,r,s,"load"==t.type),r==s)return l.call(n[0]),!1}),i.src=e.src})});throw new TypeError("An invalid callback was supplied.")}}(jQuery),function(jQuery,R){jQuery.fn.extend({revolution:function(d){return defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHe
61ight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",navigationInGrid:"off",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",fullScreenOffset:"0",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off",parallaxOpacity:"on",parallaxDisableOnMobile:"off",panZoomDisableOnMobile:"off",simplifyAll:"on",minHeight:0,nextSlideOnWindowFocus:"off"},d=jQuery.extend({},defaults,d),this.each(function(){if(1==window.tplogs)try{console.groupCollapsed("Slider Revolution 4.6.0 Initialisation on "+jQuery(this).attr("id")),console.groupCollapsed("Used Options:"),console.info(d),console.groupEnd(),console.groupCollapsed("Tween Engine:")}catch(t){}if(punchgs.TweenLite==R){if(1==window.tplogs)try{console.error("GreenSock Engine Does not Exist!")}catch(t){}return!1}if(punchgs.force3D=!0,1==window.tplogs)try{console.info("GreenSock Engine Version in Slider Revolution:"+punchgs.TweenLite.version)}catch(t){}if("on"!=d.simplifyAll&&(punchgs.TweenLite.lagSmoothing(1e3,16),punchgs.force3D="true"),1==window.tplogs)try{console.groupEnd(),console.groupEnd()}catch(t){}var t,e=jQuery(this),i=d;"preview1"!=i.navigationStyle&&"preview3"!=i.navigationStyle&&"preview4"!=i.navigationStyle||(i.soloArrowLeftHalign="left",i.soloArrowLeftValign="center",i.soloArrowLeftHOffset=0,i.soloArrowLeftVOffset=0,i.soloArrowRightHalign="right",i.soloArrowRightValign="center",i.soloArrowRightHOffset=0,i.soloArrowRightVOffset=0,i.navigationArrows="solo"),"on"==i.simplifyAll&&(W(8)||(t=!1,navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(t=!0):t=!1,t))&&(e.find(".tp-caption").each(function(){var t=jQuery(this);t.removeClass("customin").removeClass("customout").addClass("fadein").addClass("fadeout"),t.data("splitin",""),t.data("speed",400)}),e.find(">ul>li").each(function(){var t=jQuery(this);t.data("transition","fade"),t.data("masterspeed",500),t.data("slotamount",1),t.find(">img").first().data("kenburns","off")})),i.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),"on"!=i.fullWidth&&"on"!=i.fullScreen&&(i.autoHeight="off"),"on"==i.fullScreen&&(i.autoHeight="on"),"on"!=i.fullWidth&&"on"!=i.fullScreen&&(forceFulWidth="off"),"on"==i.fullWidth&&"off"==i.autoHeight&&e.css({maxHeight:i.startheight+"px"}),X()&&"on"==i.hideThumbsOnMobile&&"thumb"==i.navigationType&&(i.navigationType="none"),X()&&"on"==i.hideBulletsOnMobile&&"bullet"==i.navigationType&&(i.navigationType="none"),X()&&"on"==i.hideBulletsOnMobile&&"both"==i.navigationType&&(i.navigationType="none"),X()&&"on"==i.hideArrowsOnMobile&&(i.navigationArrows="none"),"on"==i.forceFullWidth&&0==e.closest(".forcefullwidth_wrapper_tp_banner").length&&(c=e.parent().offset().left,t=e.parent().css("marginBottom"),n=e.parent().css("marginTop"),t==R&&(t=0),n==R&&(n=0),e.parent().wrap('<div style="position:relative;width:100%;height:auto;margin-top:'+n+";margin-bottom:"+t+'" class="forcefullwidth_wrapper_tp_banner"></div>'),e.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+e.height()+'px"></div>'),e.css({backgroundColor:e.parent().css("backgroundColor"),backgroundImage:e.parent().css("backgroundImage")}),e.parent().css({left:0-c+"px",position:"absolute",width:jQuery(window).width()}),i.width=jQuery(window).width());try{i.hideThumbsUnderResolution>jQuery(window).width()&&0!=i.hideThumbsUnderResolution?e.parent().find(".tp-bullets.tp-thumbs").css({display:"none"}):e.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}catch(t){}if(!e.hasClass("revslider-initialised")){e.addClass("revslider-initialised"),e.attr("id")==R&&e.attr("id","revslider-"+Math.round(1e3*Math.random()+5)),i.firefox13=!1,i.ie=!jQuery.support.opacity,i.ie9=9==document.documentMode,i.origcd=i.delay;var n=jQuery.fn.jquery.split("."),s=parseFloat(n[0]),a=parseFloat(n[1]),o=(parseFloat(n[2]||"0"),1==s&&a<7&&e.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+n+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),1<s&&(i.ie=!1),jQuery.support.transition||(jQuery.fn.transition=jQuery.fn.animate),e.find(".caption").each(function(){jQuery(this).addClass("tp-caption")}),X()&&e.find(".tp-caption").each(function(){var t=jQuery(this);1!=t.data("autoplayonlyfirsttime")&&"true"!=t.data("autoplayonlyfirsttime")||t.data("autoplayonlyfirsttime","false"),1!=t.data("autoplay")&&"true"!=t.data("autoplay")||t.data("autoplay",!1)}),0),r=0,l="http";if("https:"===location.protocol&&(l="https"),e.find(".tp-caption").each(function(t){try{var e;(jQuery(this).data("ytid")!=R||0<jQuery(this).find("iframe").attr("src").toLowerCase().indexOf("youtube"))&&0==o&&(o=1,(e=document.createElement("script")).src="https://www.youtube.com/iframe_api",n=document.getElementsByTagName("script")[0],s=!0,jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(s=!1)}),s)&&n.parentNode.insertBefore(e,n)}catch(t){}try{var i,n,s;(jQuery(this).data("vimeoid")!=R||0<jQuery(this).find("iframe").attr("src").toLowerCase().indexOf("vimeo"))&&0==r&&(r=1,(i=document.createElement("script")).src=l+"://a.vimeocdn.com/js/froogaloop2.min.js",n=document.getElementsByTagName("script")[0],s=!0,jQuery("head").find("*").each(function(){jQuery(this).attr("src")==l+"://a.vimeocdn.com/js/froogaloop2.min.js"&&(s=!1)}),s)&&n.parentNode.insertBefore(i,n)}catch(t){}try{jQuery(this).data("videomp4")==R&&jQuery(this).data("videowebm")}catch(t){}}),e.find(".tp-caption video").each(function(t){jQuery(this).removeClass("video-js").removeClass("vjs-default-skin"),jQuery(this).attr("preload",""),jQuery(this).css({display:"none"})}),"on"==i.shuffle){a=new Object,n=e.find(">ul:first-child >li:first-child");a.fstransition=n.data("fstransition"),a.fsmasterspeed=n.data("fsmasterspeed"),a.fsslotamount=n.data("fsslotamount");for(var u=0;u<e.find(">ul:first-child >li").length;u++){var h=Math.round(Math.random()*e.find(">ul:first-child >li").length);e.find(">ul:first-child >li:eq("+h+")").prependTo(e.find(">ul:first-child"))}s=e.find(">ul:first-child >li:first-child");s.data("fstransition",a.fstransition),s.data("fsmasterspeed",a.fsmasterspeed),s.data("fsslotamount",a.fsslotamount)}i.slots=4,i.act=-1,i.next=0,i.startWithSlide!=R&&(i.next=i.startWithSlide);var c,n=g("#")[0],a=(n.length<9&&1<n.split("slide").length&&((s=(s=parseInt(n.split("slide")[1],0))<1?1:s)>e.find(">ul:first >li").length&&(s=e.find(">ul:first >li").length),i.next=s-1),i.firststart=1,i.navigationHOffset==R&&(i.navOffsetHorizontal=0),i.navigationVOffset==R&&(i.navOffsetVertical=0),e.append('<div class="tp-loader '+i.spinner+'"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'),0==e.find(".tp-bannertimer").length&&e.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'),e.find(".tp-bannertimer"));0<a.length&&a.css({width:"0%"}
61),e.addClass("tp-simpleresponsive"),i.container=e,i.slideamount=e.find(">ul:first >li").length,0==e.height()&&e.height(i.startheight),i.startwidth!=R&&0!=i.startwidth||(i.startwidth=e.width()),i.startheight!=R&&0!=i.startheight||(i.startheight=e.height()),i.width=e.width(),i.height=e.height(),i.bw=i.startwidth/e.width(),i.bh=i.startheight/e.height(),i.width!=i.startwidth&&(i.height=Math.round(i.startheight*(i.width/i.startwidth)),e.height(i.height)),0!=i.shadow&&(e.parent().append('<div class="tp-bannershadow tp-shadow'+i.shadow+'"></div>'),c=0,"on"==i.forceFullWidth&&(c=0-i.container.parent().offset().left),e.parent().find(".tp-bannershadow").css({width:i.width,left:c})),e.find("ul").css({display:"none"}),e.find("ul").css({display:"block"}),S(e,i),"off"!=i.parallax&&O(e,i),1<i.slideamount&&v(e,i),1<i.slideamount&&"thumb"==i.navigationType&&M(e,i),1<i.slideamount&&y(e,i),"on"==i.keyboardNavigation&&w(e,i),x(e,i),0<i.hideThumbs&&I(e,i),m(e,i),1<i.slideamount&&E(e,i),setTimeout(function(){e.trigger("revolution.slide.onloaded")},500),jQuery("body").data("rs-fullScreenMode",!1),jQuery(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){jQuery("body").data("rs-fullScreenMode",!jQuery("body").data("rs-fullScreenMode")),jQuery("body").data("rs-fullScreenMode")&&setTimeout(function(){jQuery(window).trigger("resize")},200)}),jQuery(window).resize(function(){var t;0!=jQuery("body").find(e)&&"on"==i.forceFullWidth&&(t=i.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left,i.container.parent().css({left:0-t+"px",width:jQuery(window).width()})),e.outerWidth(!0)==i.width&&!e.is(":hidden")||f(e,i)});try{0!=i.hideThumbsUnderResoluition&&"thumb"==i.navigationType&&(i.hideThumbsUnderResoluition>jQuery(window).width()?jQuery(".tp-bullets").css({display:"none"}):jQuery(".tp-bullets").css({display:"block"}))}catch(t){}e.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=jQuery("body").find(i.fullScreenOffsetContainer).height()}catch(t){}try{t-=parseInt(jQuery(this).data("scrolloffset"),0)}catch(t){}jQuery("body,html").animate({scrollTop:e.offset().top+e.find(">ul >li").height()-t+"px"},{duration:400})});n=e.parent();jQuery(window).width()<i.hideSliderAtLimit&&(e.trigger("stoptimer"),"none"!=n.css("display")&&n.data("olddisplay",n.css("display")),n.css({display:"none"})),p(e,i)}})},revscroll:function(e){return this.each(function(){var t=jQuery(this);jQuery("body,html").animate({scrollTop:t.offset().top+t.find(">ul >li").height()-e+"px"},{duration:400})})},revredraw:function(t){return this.each(function(){var t=jQuery(this),e=t.parent().find(".tp-bannertimer").data("opt");f(t,e)})},revpause:function(t){return this.each(function(){var t=jQuery(this);t.data("conthover",1),t.data("conthover-changed",1),t.trigger("revolution.slide.onpause"),t.parent().find(".tp-bannertimer").data("opt").bannertimeronpause=!0,t.trigger("stoptimer")})},revresume:function(t){return this.each(function(){var t=jQuery(this);t.data("conthover",0),t.data("conthover-changed",1),t.trigger("revolution.slide.onresume"),t.parent().find(".tp-bannertimer").data("opt").bannertimeronpause=!1,t.trigger("starttimer")})},revnext:function(t){return this.each(function(){jQuery(this).parent().find(".tp-rightarrow").click()})},revprev:function(t){return this.each(function(){jQuery(this).parent().find(".tp-leftarrow").click()})},revmaxslide:function(t){return jQuery(this).find(">ul:first-child >li").length},revcurrentslide:function(t){return jQuery(this).parent().find(".tp-bannertimer").data("opt").act},revlastslide:function(t){return jQuery(this).parent().find(".tp-bannertimer").data("opt").lastslide},revshowslide:function(e){return this.each(function(){var t=jQuery(this);t.data("showus",e),t.parent().find(".tp-rightarrow").click()})}});var t,e={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(t in e)if(t in document){0;break}function u(t,e){t.next==e.find(">ul >li").length-1&&(t.looptogo=t.looptogo-1,t.looptogo<=0)&&(t.stopLoop="on"),m(e,t)}function z(t,e,i,n){var s,a=t,t=a.find(".defaultimg"),o=a.data("zoomstart"),r=a.data("rotationstart"),l=(t.data("currotate")!=R&&(r=t.data("currotate")),t.data("curscale")!=R&&(o=t.data("curscale")),_(t,e),t.data("src")),u=t.css("background-color"),h=e.width,c=e.height,d=t.data("fxof"),p=("on"==e.autoHeight&&(c=e.container.height()),d==R&&(d=0),fullyoff=0),f=t.data("bgfit"),m=t.data("bgrepeat"),g=t.data("bgposition");if(f==R&&(f="cover"),m==R&&(m="no-repeat"),g==R&&(g="center center"),W(8)&&(a.data("kenburns","off"),s=l,l=""),"on"==e.panZoomDisableOnMobile&&X()&&a.data("kenburns","off"),"on"==a.data("kenburns")&&(f=o).toString().length<4&&(f=T(f,a,e)),"horizontal"==n){i||(p=0-e.slotw);for(var v=0;v<e.slots;v++)a.append('<div class="slot" style="position:absolute;top:'+(0+fullyoff)+"px;left:"+(d+v*e.slotw)+"px;overflow:hidden;width:"+(e.slotw+.6)+"px;height:"+c+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+p+"px;width:"+(e.slotw+.6)+"px;height:"+c+'px;overflow:hidden;"><div style="background-color:'+u+";position:absolute;top:0px;left:"+(0-v*e.slotw)+"px;width:"+h+"px;height:"+c+"px;background-image:url("+l+");background-repeat:"+m+";background-size:"+f+";background-position:"+g+';"></div></div></div>'),o!=R&&r!=R&&punchgs.TweenLite.set(a.find(".slot").last(),{rotationZ:r}),W(8)&&(a.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+s+'" style="width:100%;height:auto">'),b(a,e))}else for(i||(p=0-e.sloth),v=0;v<e.slots+2;v++)a.append('<div class="slot" style="position:absolute;top:'+(fullyoff+v*e.sloth)+"px;left:"+d+"px;overflow:hidden;width:"+h+"px;height:"+e.sloth+'px"><div class="slotslide" style="position:absolute;top:'+p+"px;left:0px;width:"+h+"px;height:"+e.sloth+'px;overflow:hidden;"><div style="background-color:'+u+";position:absolute;top:"+(0-v*e.sloth)+"px;left:0px;width:"+h+"px;height:"+c+"px;background-image:url("+l+");background-repeat:"+m+";background-size:"+f+";background-position:"+g+';"></div></div></div>'),o!=R&&r!=R&&punchgs.TweenLite.set(a.find(".slot").last(),{rotationZ:r}),W(8)&&(a.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+s+'" style="width:100%;height:auto;">'),b(a,e))}function H(t,e){var i,n=t,t=n.find(".defaultimg"),s=n.data("zoomstart"),a=n.data("rotationstart"),o=(t.data("currotate")!=R&&(a=t.data("currotate")),t.data("curscale")!=R&&(s=100*t.data("curscale")),_(t,e),t.data("src")),r=t.css("backgroundColor"),l=e.width,u=e.height,h=("on"==e.autoHeight&&(u=e.container.height()),t.data("fxof")),c=(h==R&&(h=0),fullyoff=0,W(8)&&(i=o,o=""),e.sloth>e.slotw?e.sloth:e.slotw),d=(e.slotw=c,e.sloth=c,0),p=0,f=t.data("bgfit"),m=t.data("bgrepeat"),g=t.data("bgposition");f==R&&(f="cover"),m==R&&(m="no-repeat"),g==R&&(g="center center"),"on"==n.data("kenburns")&&(f=s).toString().length<4&&(f=T(f,n,e));for(var v=0;v<e.slots;v++){for(var p=0,y=0;y<e.slots;y++)n.append('<div class="slot" style="position:absolute;top:'+(fullyoff+p)+"px;left:"+(h+d)+"px;width:"+c+"px;height:"+c+'px;overflow:hidden;"><div class="slotslide" data-x="'+d+'" data-y="'+p+'" style="position:absolute;top:0px;left:0px;width:'+c+"px;height:"+c+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-p)+"px;left:"+(0-d)+"px;width:"+l+"px;height:"+u+"px;background-color:"+r+";background-image:url("+o+");background-repeat:"+m+";background-size:"+f+";background-position:"+g+';"></div></div></div>'),p+=c,W(8)&&(n.find(".slot ").last().find(".slotslide").append('<img src="'+i+'">'),b(n,e)),s!=R&&a!=R&&punchgs.TweenLite.set(n.find(".slot").last(),{rotationZ:a});d+=c}}function s(t,e){var t=t.closest("li"),i=e.width,e=e.height;t.data("owidth",i),t.data("oheight",e),t.find(".slotholder").data("owidth",i),t.find(".slotholder").data("oheight",e),t.data("loadeddone",1)}function o(t,i,n){a(t,0);
61var s=setInterval(function(){n.bannertimeronpause=!0,n.container.trigger("stoptimer");var e=n.cd=0;t.find("img, .defaultimg").each(function(t){1!=jQuery(this).data("lazydone")&&e++}),0<e?a(t,e):(clearInterval(s),i!=R&&i())},100)}function N(t){var e,i=t.target.getVideoEmbedCode(),i=jQuery("#"+i.split('id="')[1].split('"')[0]),n=i.closest(".tp-simpleresponsive"),s=i.parent().data("player");t.data==YT.PlayerState.PLAYING?(e=n.find(".tp-bannertimer").data("opt"),"mute"==i.closest(".tp-caption").data("volume")&&s.mute(),e.videoplaying=!0,n.trigger("stoptimer"),n.trigger("revolution.slide.onvideoplay")):(e=n.find(".tp-bannertimer").data("opt"),-1!=t.data&&3!=t.data&&(e.videoplaying=!1,n.trigger("starttimer"),n.trigger("revolution.slide.onvideostop")),0==t.data&&1==e.nextslideatend?e.container.revnext():(e.videoplaying=!1,n.trigger("starttimer"),n.trigger("revolution.slide.onvideostop")))}function L(t,e){var i=e.width(),e=e.height(),n=t.data("mediaAspect"),s=(n==R&&(n=1),i/e);t.css({position:"absolute"}),t.find("video"),s<n?punchgs.TweenLite.to(t,1e-4,{width:e*n,force3D:"auto",top:0,left:0-(e*n-i)/2,height:e}):punchgs.TweenLite.to(t,1e-4,{width:i,force3D:"auto",top:0-(i/n-e)/2,left:0,height:i/n})}function F(){var t=new Object;return t.x=0,t.y=0,t.rotationX=0,t.rotationY=0,t.rotationZ=0,t.scale=1,t.scaleX=1,t.scaleY=1,t.skewX=0,t.skewY=0,t.opacity=0,t.transformOrigin="center, center",t.transformPerspective=400,t.rotation=0,t}function j(n,t){return t=t.split(";"),jQuery.each(t,function(t,e){var i=(e=e.split(":"))[0],e=e[1];"rotationX"==i&&(n.rotationX=parseInt(e,0)),"rotationY"==i&&(n.rotationY=parseInt(e,0)),"rotationZ"==i&&(n.rotationZ=parseInt(e,0)),"rotationZ"==i&&(n.rotation=parseInt(e,0)),"scaleX"==i&&(n.scaleX=parseFloat(e)),"scaleY"==i&&(n.scaleY=parseFloat(e)),"opacity"==i&&(n.opacity=parseFloat(e)),"skewX"==i&&(n.skewX=parseInt(e,0)),"skewY"==i&&(n.skewY=parseInt(e,0)),"x"==i&&(n.x=parseInt(e,0)),"y"==i&&(n.y=parseInt(e,0)),"z"==i&&(n.z=parseInt(e,0)),"transformOrigin"==i&&(n.transformOrigin=e.toString()),"transformPerspective"==i&&(n.transformPerspective=parseInt(e,0))}),n}var p=function(e,i){var t=document.documentMode===R,n=window.chrome;t&&!n?jQuery(window).on("focusin",function(){setTimeout(function(){"on"==i.nextSlideOnWindowFocus&&e.revnext(),e.revredraw()},300)}).on("focusout",function(){}):window.addEventListener?(window.addEventListener("focus",function(t){setTimeout(function(){"on"==i.nextSlideOnWindowFocus&&e.revnext(),e.revredraw()},300)},!1),window.addEventListener("blur",function(t){},!1)):(window.attachEvent("focus",function(t){setTimeout(function(){"on"==i.nextSlideOnWindowFocus&&e.revnext(),e.revredraw()},300)}),window.attachEvent("blur",function(t){}))},g=function(t){for(var e,i=[],n=window.location.href.slice(window.location.href.indexOf(t)+1).split("_"),s=0;s<n.length;s++)n[s]=n[s].replace("%3D","="),e=n[s].split("="),i.push(e[0]),i[e[0]]=e[1];return i},f=function(e,i){try{0!=i.hideThumbsUnderResoluition&&"thumb"==i.navigationType&&(i.hideThumbsUnderResoluition>jQuery(window).width()?jQuery(".tp-bullets").css({display:"none"}):jQuery(".tp-bullets").css({display:"block"}))}catch(t){}e.find(".defaultimg").each(function(t){_(jQuery(this),i)});var t=e.parent(),t=(jQuery(window).width()<i.hideSliderAtLimit?(e.trigger("stoptimer"),"none"!=t.css("display")&&t.data("olddisplay",t.css("display")),t.css({display:"none"})):e.is(":hidden")&&(t.data("olddisplay")!=R&&"undefined"!=t.data("olddisplay")&&"none"!=t.data("olddisplay")?t.css({display:t.data("olddisplay")}):t.css({display:"block"}),e.trigger("restarttimer"),setTimeout(function(){f(e,i)},150)),0);"on"==i.forceFullWidth&&(t=0-i.container.parent().offset().left);try{e.parent().find(".tp-bannershadow").css({width:i.width,left:t})}catch(t){}var t=e.find(">ul >li:eq("+i.act+") .slotholder"),n=e.find(">ul >li:eq("+i.next+") .slotholder"),t=(l(e,i,e),punchgs.TweenLite.set(n.find(".defaultimg"),{opacity:0}),t.find(".defaultimg").css({opacity:1}),n.find(".defaultimg").each(function(){var t=jQuery(this);"on"==i.panZoomDisableOnMobile&&X()||t.data("kenburn")!=R&&(t.data("kenburn").restart(),G(e,i,!0))}),e.find(">ul >li:eq("+i.next+")")),n=e.parent().find(".tparrows");n.hasClass("preview2")&&n.css({width:parseInt(n.css("minWidth"),0)}),q(t,i,!0),r(e,i)},W=function(t,e){var i=jQuery('<div style="display:none;"/>').appendTo(jQuery("body")),e=(i.html("\x3c!--[if "+(e||"")+" IE "+(t||"")+"]><a>&nbsp;</a><![endif]--\x3e"),i.find("a").length);return i.remove(),e},v=function(i,n){var t="hidebullets",e=(0==n.hideThumbs&&(t=""),"bullet"!=n.navigationType&&"both"!=n.navigationType||i.parent().append('<div class="tp-bullets '+t+" simplebullets "+n.navigationStyle+'"></div>'),i.parent().find(".tp-bullets"));i.find(">ul:first >li").each(function(t){i.find(">ul:first >li:eq("+t+") img:first").attr("src"),e.append('<div class="bullet"></div>'),e.find(".bullet:first")}),e.find(".bullet").each(function(t){var e=jQuery(this);t==n.slideamount-1&&e.addClass("last"),0==t&&e.addClass("first"),e.click(function(){var t=!1;"withbullet"==n.navigationArrows||"nexttobullets"==n.navigationArrows?e.index()-1==n.act&&(t=!0):e.index()==n.act&&(t=!0),0!=n.transition||t||("withbullet"==n.navigationArrows||"nexttobullets"==n.navigationArrows?n.next=e.index()-1:n.next=e.index(),u(n,i))})}),e.append('<div class="tpclear"></div>'),r(i,n)},y=function(e,t){e.find(".tp-bullets");var i="",n="hidearrows",s=(0==t.hideThumbs&&(n=""),t.navigationStyle);function a(t){e.parent().append('<div style="'+i+'" class="tp-'+t+"arrow "+n+" tparrows "+s+'"><div class="tp-arr-allwrapper"><div class="tp-arr-iwrapper"><div class="tp-arr-imgholder"></div><div class="tp-arr-imgholder2"></div><div class="tp-arr-titleholder"></div><div class="tp-arr-subtitleholder"></div></div></div></div>')}"none"==t.navigationArrows&&(i="visibility:hidden;display:none"),t.soloArrowStyle="default "+t.navigationStyle,"none"!=t.navigationArrows&&"nexttobullets"!=t.navigationArrows&&(s=t.soloArrowStyle),a("left"),a("right"),e.parent().find(".tp-rightarrow").click(function(){0==t.transition&&(e.data("showus")!=R&&-1!=e.data("showus")?t.next=e.data("showus")-1:t.next=t.next+1,e.data("showus",-1),t.next>=t.slideamount&&(t.next=0),t.next<0&&(t.next=0),t.act!=t.next)&&u(t,e)}),e.parent().find(".tp-leftarrow").click(function(){0==t.transition&&(t.next=t.next-1,t.leftarrowpressed=1,t.next<0&&(t.next=t.slideamount-1),u(t,e))}),r(e,t)},w=function(e,i){jQuery(document).keydown(function(t){0==i.transition&&39==t.keyCode&&(e.data("showus")!=R&&-1!=e.data("showus")?i.next=e.data("showus")-1:i.next=i.next+1,e.data("showus",-1),i.next>=i.slideamount&&(i.next=0),i.next<0&&(i.next=0),i.act!=i.next)&&u(i,e),0==i.transition&&37==t.keyCode&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),u(i,e))}),r(e,i)},x=function(o,r){var l="vertical";"on"==r.touchenabled&&(1==r.drag_block_vertical&&(l="none"),o.swipe({allowPageScroll:l,fingers:r.swipe_min_touches,treshold:r.swipe_treshold,swipe:function(t,e,
61i,n,s,a){switch(e){case"left":0==r.transition&&(r.next=r.next+1,r.next==r.slideamount&&(r.next=0),u(r,o));break;case"right":0==r.transition&&(r.next=r.next-1,r.leftarrowpressed=1,r.next<0&&(r.next=r.slideamount-1),u(r,o));break;case"up":"none"==l&&jQuery("html, body").animate({scrollTop:o.offset().top+o.height()+"px"});break;case"down":"none"==l&&jQuery("html, body").animate({scrollTop:o.offset().top-jQuery(window).height()+"px"})}}}))},I=function(t,e){var i=t.parent().find(".tp-bullets"),n=t.parent().find(".tparrows");if(null==i&&(t.append('<div class=".tp-bullets"></div>'),i=t.parent().find(".tp-bullets")),null==n&&(t.append('<div class=".tparrows"></div>'),n=t.parent().find(".tparrows")),t.data("hideThumbs",e.hideThumbs),i.addClass("hidebullets"),n.addClass("hidearrows"),X())try{t.hammer().on("touch",function(){t.addClass("hovered"),"on"==e.onHoverStop&&t.trigger("stoptimer"),clearTimeout(t.data("hideThumbs")),i.removeClass("hidebullets"),n.removeClass("hidearrows")}),t.hammer().on("release",function(){t.removeClass("hovered"),t.trigger("starttimer"),t.hasClass("hovered")||i.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets"),n.addClass("hidearrows"),t.trigger("starttimer")},e.hideNavDelayOnMobile))})}catch(t){}else i.hover(function(){e.overnav=!0,"on"==e.onHoverStop&&t.trigger("stoptimer"),i.addClass("hovered"),clearTimeout(t.data("hideThumbs")),i.removeClass("hidebullets"),n.removeClass("hidearrows")},function(){e.overnav=!1,t.trigger("starttimer"),i.removeClass("hovered"),t.hasClass("hovered")||i.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets"),n.addClass("hidearrows")},e.hideThumbs))}),n.hover(function(){e.overnav=!0,"on"==e.onHoverStop&&t.trigger("stoptimer"),i.addClass("hovered"),clearTimeout(t.data("hideThumbs")),i.removeClass("hidebullets"),n.removeClass("hidearrows")},function(){e.overnav=!1,t.trigger("starttimer"),i.removeClass("hovered")}),t.on("mouseenter",function(){t.addClass("hovered"),"on"==e.onHoverStop&&t.trigger("stoptimer"),clearTimeout(t.data("hideThumbs")),i.removeClass("hidebullets"),n.removeClass("hidearrows")}),t.on("mouseleave",function(){t.removeClass("hovered"),t.trigger("starttimer"),t.hasClass("hovered")||i.hasClass("hovered")||t.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets"),n.addClass("hidearrows")},e.hideThumbs))})},r=function(t,e){var i=t.parent(),n=i.find(".tp-bullets"),s=("thumb"==e.navigationType&&(n.find(".thumb").each(function(t){jQuery(this).css({width:e.thumbWidth*e.bw+"px",height:e.thumbHeight*e.bh+"px"})}),(s=n.find(".tp-mask")).width(e.thumbWidth*e.thumbAmount*e.bw),s.height(e.thumbHeight*e.bh),s.parent().width(e.thumbWidth*e.thumbAmount*e.bw),s.parent().height(e.thumbHeight*e.bh)),i.find(".tp-leftarrow")),i=i.find(".tp-rightarrow"),a=("thumb"==e.navigationType&&"nexttobullets"==e.navigationArrows&&(e.navigationArrows="solo"),"nexttobullets"==e.navigationArrows&&(s.prependTo(n).css({float:"left"}),i.insertBefore(n.find(".tpclear")).css({float:"left"})),0),o=("on"==e.forceFullWidth&&(a=0-e.container.parent().offset().left),0);"on"==e.navigationInGrid&&(o=t.width()>e.startwidth?(t.width()-e.startwidth)/2:0,t.height()>e.startheight)&&(t.height(),e.startheight),"none"!=e.navigationArrows&&"nexttobullets"!=e.navigationArrows&&(s.css({position:"absolute"}),i.css({position:"absolute"}),"center"==e.soloArrowLeftValign&&s.css({top:"50%",marginTop:e.soloArrowLeftVOffset-Math.round(s.innerHeight()/2)+"px"}),"bottom"==e.soloArrowLeftValign&&s.css({top:"auto",bottom:0+e.soloArrowLeftVOffset+"px"}),"top"==e.soloArrowLeftValign&&s.css({bottom:"auto",top:0+e.soloArrowLeftVOffset+"px"}),"center"==e.soloArrowLeftHalign&&s.css({left:"50%",marginLeft:a+e.soloArrowLeftHOffset-Math.round(s.innerWidth()/2)+"px"}),"left"==e.soloArrowLeftHalign&&s.css({left:o+e.soloArrowLeftHOffset+a+"px"}),"right"==e.soloArrowLeftHalign&&s.css({right:o+e.soloArrowLeftHOffset-a+"px"}),"center"==e.soloArrowRightValign&&i.css({top:"50%",marginTop:e.soloArrowRightVOffset-Math.round(i.innerHeight()/2)+"px"}),"bottom"==e.soloArrowRightValign&&i.css({top:"auto",bottom:0+e.soloArrowRightVOffset+"px"}),"top"==e.soloArrowRightValign&&i.css({bottom:"auto",top:0+e.soloArrowRightVOffset+"px"}),"center"==e.soloArrowRightHalign&&i.css({left:"50%",marginLeft:a+e.soloArrowRightHOffset-Math.round(i.innerWidth()/2)+"px"}),"left"==e.soloArrowRightHalign&&i.css({left:o+e.soloArrowRightHOffset+a+"px"}),"right"==e.soloArrowRightHalign&&i.css({right:o+e.soloArrowRightHOffset-a+"px"}),null!=s.position()&&s.css({top:Math.round(parseInt(s.position().top,0))+"px"}),null!=i.position())&&i.css({top:Math.round(parseInt(i.position().top,0))+"px"}),"none"==e.navigationArrows&&(s.css({visibility:"hidden"}),i.css({visibility:"hidden"})),"center"==e.navigationVAlign&&n.css({top:"50%",marginTop:e.navigationVOffset-Math.round(n.innerHeight()/2)+"px"}),"bottom"==e.navigationVAlign&&n.css({bottom:0+e.navigationVOffset+"px"}),"top"==e.navigationVAlign&&n.css({top:0+e.navigationVOffset+"px"}),"center"==e.navigationHAlign&&n.css({left:"50%",marginLeft:a+e.navigationHOffset-Math.round(n.innerWidth()/2)+"px"}),"left"==e.navigationHAlign&&n.css({left:0+e.navigationHOffset+a+"px"}),"right"==e.navigationHAlign&&n.css({right:0+e.navigationHOffset-a+"px"})},_=function(t,i){if(i.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:i.container.height()}),i.container.closest(".rev_slider_wrapper").css({height:i.container.height()}),i.width=parseInt(i.container.width(),0),i.height=parseInt(i.container.height(),0),i.bw=i.width/i.startwidth,i.bh=i.height/i.startheight,i.bh>i.bw&&(i.bh=i.bw),i.bh<i.bw&&(i.bw=i.bh),i.bw<i.bh&&(i.bh=i.bw),1<i.bh&&(i.bw=1,i.bh=1),1<i.bw&&(i.bw=1,i.bh=1),i.height=Math.round(i.startheight*(i.width/i.startwidth)),i.height>i.startheight&&"on"!=i.autoHeight&&(i.height=i.startheight),"on"==i.fullScreen){i.height=i.bw*i.startheight,i.container.parent().width();var n=jQuery(window).height();if(i.fullScreenOffsetContainer!=R){try{var e=i.fullScreenOffsetContainer.split(",");jQuery.each(e,function(t,e){(n-=jQuery(e).outerHeight(!0))<i.minFullScreenHeight&&(n=i.minFullScreenHeight)})}catch(t){}try{1<i.fullScreenOffset.split("%").length&&i.fullScreenOffset!=R&&0<i.fullScreenOffset.length?n-=jQuery(window).height()*parseInt(i.fullScreenOffset,0)/100:i.fullScreenOffset!=R&&0<i.fullScreenOffset.length&&(n-=parseInt(i.fullScreenOffset,0)),n<i.minFullScreenHeight&&(n=i.minFullScreenHeight)}catch(t){}}i.container.parent().height(n),i.container.closest(".rev_slider_wrapper").height(n),i.container.css({height:"100%"}),i.height=n,i.minHeight!=R&&i.height<i.minHeight&&(i.height=i.minHeight)}else i.minHeight!=R&&i.height<i.minHeight&&(i.height=i.minHeight),i.container.height(i.height);i.slotw=Math.ceil(i.width/i.slots),"on"==i.fullScreen?i.sloth=Math.ceil(jQuery(window).height()/i.slots):i.sloth=Math.ceil(i.height/i.slots),"on"==i.autoHeight&&(i.sloth=Math.ceil(t.height()/i.slots))},S=function(t,r){t.find(".tp-caption").each(function(){jQuery(this).addClass(jQuery(this).data("transition")),jQuery(this).addClass("start")}),t.find(">
61ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:t.parent().css("maxHeight")}),"on"==r.autoHeight&&(t.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),t.css({maxHeight:"none"}),t.parent().css({maxHeight:"none"})),t.find(">ul:first >li").each(function(t){var e,i,n,s,a=jQuery(this);a.css({width:"100%",height:"100%",overflow:"hidden"}),a.data("link")!=R&&(e=a.data("link"),i="_self",n=60,"back"==a.data("slideindex")&&(n=0),s=a.data("linktoslide"),a.data("target")!=R&&(i=a.data("target")),"slide"==e?a.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+n+';" data-x="center" data-y="center" data-linktoslide="'+s+'" data-start="0"><a style="width:100%;height:100%;display:block"><span style="width:100%;height:100%;display:block"></span></a></div>'):a.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+n+';" data-x="center" data-y="center" data-linktoslide="no" data-start="0"><a style="width:100%;height:100%;display:block" target="'+i+'" href="'+e+'"><span style="width:100%;height:100%;display:block"></span></a></div>'))}),t.parent().css({overflow:"visible"}),t.find(">ul:first >li >img").each(function(t){var e=jQuery(this),i=(e.addClass("defaultimg"),e.data("lazyload")!=R&&1!=e.data("lazydone")||_(e,r),e.wrap('<div class="slotholder" style="width:100%;height:100%;"data-duration="'+e.data("duration")+'"data-zoomstart="'+e.data("zoomstart")+'"data-zoomend="'+e.data("zoomend")+'"data-rotationstart="'+e.data("rotationstart")+'"data-rotationend="'+e.data("rotationend")+'"data-ease="'+e.data("ease")+'"data-duration="'+e.data("duration")+'"data-bgpositionend="'+e.data("bgpositionend")+'"data-bgposition="'+e.data("bgposition")+'"data-duration="'+e.data("duration")+'"data-kenburns="'+e.data("kenburns")+'"data-easeme="'+e.data("ease")+'"data-bgfit="'+e.data("bgfit")+'"data-bgfitend="'+e.data("bgfitend")+'"data-owidth="'+e.data("owidth")+'"data-oheight="'+e.data("oheight")+'"></div>'),"none"!=r.dottedOverlay&&r.dottedOverlay!=R&&e.closest(".slotholder").append('<div class="tp-dottedoverlay '+r.dottedOverlay+'"></div>'),e.attr("src")),n=(e.data("lazyload"),e.data("bgfit")),s=e.data("bgrepeat"),a=e.data("bgposition"),o=(n==R&&(n="cover"),s==R&&(s="no-repeat"),a==R&&(a="center center"),e.closest(".slotholder"));e.replaceWith('<div class="tp-bgimg defaultimg" data-lazyload="'+e.data("lazyload")+'" data-bgfit="'+n+'"data-bgposition="'+a+'" data-bgrepeat="'+s+'" data-lazydone="'+e.data("lazydone")+'" src="'+i+'" data-src="'+i+'" style="background-color:'+e.css("backgroundColor")+";background-repeat:"+s+";background-image:url("+i+");background-size:"+n+";background-position:"+a+';width:100%;height:100%;"></div>'),W(8)&&(o.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"}),o.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+i+'" style="width:100%">')),e.css({opacity:0}),e.data("li-id",t)})},b=function(i,n){var s;W(8)&&((s=i.find(".ieeightfallbackimage")).width(),s.height(),n.startwidth/n.startheight<i.data("owidth")/i.data("oheight")?s.css({width:"auto",height:"100%"}):s.css({width:"100%",height:"auto"}),setTimeout(function(){var t=s.width(),e=s.height();"center center"==i.data("bgposition")&&s.css({position:"absolute",top:n.height/2-e/2+"px",left:n.width/2-t/2+"px"}),"center top"!=i.data("bgposition")&&"top center"!=i.data("bgposition")||s.css({position:"absolute",top:"0px",left:n.width/2-t/2+"px"}),"center bottom"!=i.data("bgposition")&&"bottom center"!=i.data("bgposition")||s.css({position:"absolute",bottom:"0px",left:n.width/2-t/2+"px"}),"right top"!=i.data("bgposition")&&"top right"!=i.data("bgposition")||s.css({position:"absolute",top:"0px",right:"0px"}),"right bottom"!=i.data("bgposition")&&"bottom right"!=i.data("bgposition")||s.css({position:"absolute",bottom:"0px",right:"0px"}),"right center"!=i.data("bgposition")&&"center right"!=i.data("bgposition")||s.css({position:"absolute",top:n.height/2-e/2+"px",right:"0px"}),"left bottom"!=i.data("bgposition")&&"bottom left"!=i.data("bgposition")||s.css({position:"absolute",bottom:"0px",left:"0px"}),"left center"!=i.data("bgposition")&&"center left"!=i.data("bgposition")||s.css({position:"absolute",top:n.height/2-e/2+"px",left:"0px"})},20))}
61,l=function(t,e,i){i.find(".slot").each(function(){jQuery(this).remove()}),e.transition=0},a=function(t,n){t.find("img, .defaultimg").each(function(t){var e,i=jQuery(this);i.data("lazyload")!=i.attr("src")&&n<3&&i.data("lazyload")!=R&&"undefined"!=i.data("lazyload")?i.data("lazyload")!=R&&"undefined"!=i.data("lazyload")&&(i.attr("src",i.data("lazyload")),(e=new Image).onload=function(t){i.data("lazydone",1),i.hasClass("defaultimg")&&s(i,e)},e.error=function(){i.data("lazydone",1)},e.src=i.attr("src"),e.complete)&&(i.hasClass("defaultimg")&&s(i,e),i.data("lazydone",1)):i.data("lazyload")!==R&&"undefined"!==i.data("lazyload")||1==i.data("lazydone")||((e=new Image).onload=function(){i.hasClass("defaultimg")&&s(i,e),i.data("lazydone",1)},e.error=function(){i.data("lazydone",1)},i.attr("src")!=R&&"undefined"!=i.attr("src")?e.src=i.attr("src"):e.src=i.data("src"),e.complete&&(i.hasClass("defaultimg")&&s(i,e),i.data("lazydone",1)))})},m=function(i,n){try{i.find(">ul:first-child >li:eq("+n.act+")")}catch(t){i.find(">ul:first-child >li:eq(1)")}n.lastslide=n.act;var s=i.find(">ul:first-child >li:eq("+n.next+")"),a=s.find(".defaultimg");n.bannertimeronpause=!0,i.trigger("stoptimer"),n.cd=0,a.data("lazyload")!=R&&"undefined"!=a.data("lazyload")&&1!=a.data("lazydone")?(W(8)?a.attr("src",s.find(".defaultimg").data("lazyload")):a.css({backgroundImage:'url("'+s.find(".defaultimg").data("lazyload")+'")'}),a.data("src",s.find(".defaultimg").data("lazyload")),a.data("lazydone",1),a.data("orgw",0),s.data("loadeddone",1),i.find(".tp-loader").css({display:"block"}),o(i.find(".tp-static-layers"),function(){o(s,function(){var t,e=s.find(".slotholder");"on"==e.data("kenburns")?t=setInterval(function(){0<=e.data("owidth")&&(clearInterval(t),h(n,a,i))},10):h(n,a,i)},n)},n)):s.data("loadeddone")===R?(s.data("loadeddone",1),o(s,function(){h(n,a,i)},n)):h(n,a,i)},h=function(t,e,i){t.bannertimeronpause=!1,t.cd=0,i.trigger("nulltimer"),i.find(".tp-loader").css({display:"none"}),_(e,t),r(i,t),_(e,t),n(i,t)}
62/*!SWAP SLIDE*/,n=function(e,t){e.trigger("revolution.slide.onbeforeswap"),t.transition=1,t.videoplaying=!1;try{var i=e.find(">ul:first-child >li:eq("+t.act+")")}catch(t){i=e.find(">ul:first-child >li:eq(1)")}t.lastslide=t.act;var n=e.find(">ul:first-child >li:eq("+t.next+")"),s=(setTimeout(function(){!function(t){var e=t.container,i=(t.beforli=t.next-1,t.comingli=t.next+1,t.beforli<0&&(t.beforli=t.slideamount-1),t.comingli>=t.slideamount&&(t.comingli=0),e.find(">ul:first-child >li:eq("+t.comingli+")")),n=e.find(">ul:first-child >li:eq("+t.beforli+")"),s=n.find(".defaultimg").attr("src"),a=i.find(".defaultimg").attr("src"),e=(t.arr==R&&(t.arr=e.parent().find(".tparrows"),t.rar=e.parent().find(".tp-rightarrow"),t.lar=e.parent().find(".tp-leftarrow"),t.raimg=t.rar.find(".tp-arr-imgholder"),t.laimg=t.lar.find(".tp-arr-imgholder"),t.raimg_b=t.rar.find(".tp-arr-imgholder2"),t.laimg_b=t.lar.find(".tp-arr-imgholder2"),t.ratit=t.rar.find(".tp-arr-titleholder"),t.latit=t.lar.find(".tp-arr-titleholder")),t.arr),o=t.rar,r=t.lar,l=t.raimg,u=t.laimg,h=t.raimg_b,c=t.laimg_b,d=t.ratit,t=t.latit;i.data("title")!=R&&d.html(i.data("title")),n.data("title")!=R&&t.html(n.data("title")),o.hasClass("itishovered")&&o.width(d.outerWidth(!0)+parseInt(o.css("minWidth"),0)),r.hasClass("itishovered")&&r.width(t.outerWidth(!0)+parseInt(r.css("minWidth"),0)),e.hasClass("preview2")&&!e.hasClass("hashoveralready")&&(e.addClass("hashoveralready"),X()?((d=(e=jQuery(this)).find(".tp-arr-titleholder")).addClass("alwayshidden"),punchgs.TweenLite.set(d,{autoAlpha:0})):e.hover(function(){var t=jQuery(this),e=t.find(".tp-arr-titleholder");767<jQuery(window).width()&&t.width(e.outerWidth(!0)+parseInt(t.css("minWidth"),0)),t.addClass("itishovered")},function(){var t=jQuery(this);t.find(".tp-arr-titleholder"),t.css({width:parseInt(t.css("minWidth"),0)}),t.removeClass("itishovered")})),n.data("thumb")!=R&&(s=n.data("thumb")),i.data("thumb")!=R&&(a=i.data("thumb")),e.hasClass("preview4")?(h.css({backgroundImage:"url("+a+")"}),c.css({backgroundImage:"url("+s+")"}),punchgs.TweenLite.fromTo(h,.8,{force3D:punchgs.force3d,x:0},{x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){l.css({backgroundImage:"url("+a+")"}),punchgs.TweenLite.set(h,{x:0})}}),punchgs.TweenLite.fromTo(c,.8,{force3D:punchgs.force3d,x:0},{x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){u.css({backgroundImage:"url("+s+")"}),punchgs.TweenLite.set(c,{x:0})}}),punchgs.TweenLite.fromTo(l,.8,{x:0},{force3D:punchgs.force3d,x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(l,{x:0})}}),punchgs.TweenLite.fromTo(u,.8,{x:0},{force3D:punchgs.force3d,x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(u,{x:0})}})):(punchgs.TweenLite.to(l,.5,{autoAlpha:0,onComplete:function(){l.css({backgroundImage:"url("+a+")"}),u.css({backgroundImage:"url("+s+")"})}}),punchgs.TweenLite.to(u,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(l,.5,{autoAlpha:1,delay:.2}),punchgs.TweenLite.to(u,.5,{autoAlpha:1,delay:.2})}})),o.hasClass("preview4")&&!o.hasClass("hashoveralready")&&(o.addClass("hashoveralready"),o.hover(function(){var t=jQuery(this).find(".tp-arr-iwrapper"),e=jQuery(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"}),punchgs.TweenLite.to(e,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=jQuery(this).find(".tp-arr-iwrapper"),e=jQuery(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"}),punchgs.TweenLite.to(e,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}),r.hover(function(){var t=jQuery(this).find(".tp-arr-iwrapper"),e=jQuery(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:0-t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"}),punchgs.TweenLite.to(e,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=jQuery(this).find(".tp-arr-iwrapper"),e=jQuery(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:0-t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"}),punchgs.TweenLite.to(e,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}))}(t)},200),i.find(".slotholder")),a=n.find(".slotholder"),o=("on"!=a.data("kenburns")&&"on"!=s.data("kenburns")||(P(e,t),e.find(".kenburnimg").remove()),n.data("delay")!=R?(t.cd=0,t.delay=n.data("delay")):t.delay=t.origcd,1==t.firststart&&punchgs.TweenLite.set(i,{autoAlpha:0}),punchgs.TweenLite.set(i,{zIndex:18}),punchgs.TweenLite.set(n,{autoAlpha:0,zIndex:20}),0);i.index()!=n.index()&&1!=t.firststart&&(o=A(i,t)),"on"!=i.data("saveperformance")&&(o=0),setTimeout(function(){e.trigger("restarttimer"),D(e,t,n,i,s,a)},o)},D=function(t,a,e,i,n,s){"prepared"==e.data("differentissplayed")&&(e.data("differentissplayed","done"),e.data("transition",e.data("savedtransition")),e.data("slotamount",e.data("savedslotamount")),e.data("masterspeed",e.data("savedmasterspeed"))),e.data("fstransition")!=R&&"done"!=e.data("differentissplayed")&&(e.data("savedtransition",e.data("transition")),e.data("savedslotamount",e.data("slotamount")),e.data("savedmasterspeed",e.data("masterspeed")),e.data("transition",e.data("fstransition")),e.data("slotamount",e.data("fsslotamount")),e.data("masterspeed",e.data("fsmasterspeed")),e.data("differentissplayed","prepared")),t.find(".active-revslide").removeClass(".active-revslide"),e.addClass("active-revslide"),e.data("transition")==R&&e.data("transition","random");var o=0,r=e.data("transition").split(","),l=e.data("nexttransid")==R?-1:e.data("nexttransid"),u=("on"==e.data("randomtransition")?l=Math.round(Math.random()*r.length):l+=1,l==r.length&&(l=0),e.data("nexttransid",l),r[l]),h=(a.ie&&"slotfade-horizontal"==(u="slotfade-vertical"==(u="boxfade"==u?"boxslide":u)?"slotzoom-vertical":u)&&(u="slotzoom-horizontal"),W(8)&&(u=11),0),c=("scroll"==a.parallax&&a.parallaxFirstGo==R&&(a.parallaxFirstGo=!0,K(t,a),setTimeout(function(){K(t,a)},210),setTimeout(function(){K(t,a)},420)),"parallaxvertical"==(u="parallaxhorizontal"==(u="slidevertical"==(u="slidehorizontal"==(u="boxslide"!=u&&"boxfade"!=u&&"papercut"!=u&&0!=u&&1!=u&&16!=u?u:9)&&(u="slideleft",1==a.leftarrowpressed)?"slideright":u)&&(u="slideup",1==a.leftarrowpressed)?"slidedown":u)&&(u="parallaxtoleft",1==a.leftarrowpressed)?"parallaxtoright":u)&&(u="parallaxtotop",1==a.leftarrowpressed)&&(u="parallaxtobottom"),[["boxslide",0,1,10,0,"box",!1,null,0],["boxfade",1,0,10,0,"box",!1,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4],["curtain-2",5,3,0,0,"horizontal",!0,!0,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10],["fade",11,0,1,300,"horizontal",!0,null,11],["slideleft",12,0,1,0,"horizontal",!0,!0,12],["slideup",13,0,1,0,"horizontal",!0,!0,13],["slidedown",14,0,1,0,"horizontal",!0,!0,14],["slideright",15,0,1,0,"horizontal",!0,!0,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18],["cubic",19,0,20,600,"horizontal",!1,!0,19],["cube",19,0,20,600,"horizontal",!1,!0,20],["flyin",20,0,4,600,"vertical",!1,!0,21],["turnoff",21,0,1,1600,"horizontal",!1,!0,22],["incube",22,0,20,200,"horizontal",!1,!0,23],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26],["turnoff-vertical",25,0,1,200,"horizontal",!1,!0,27],["fadefromright",12,1,1,0,"horizontal",!0,!0,28],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29],["fadefromto
62p",14,1,1,0,"horizontal",!0,!0,30],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",!0,!0,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43],["zoomout",13,5,1,0,"horizontal",!0,!0,44],["zoomin",13,6,1,0,"horizontal",!0,!0,45],["notransition",26,0,1,0,"horizontal",!0,null,46]]),r=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],l=[16,17,18,19,20,21,22,23,24,25,26,27],o=0,h=1,d=0,p=0;function f(){jQuery.each(c,function(t,e){e[0]!=u&&e[8]!=u||(o=e[1],h=e[2],d=p),p+=1})}new Array,"on"==s.data("kenburns")&&("boxslide"!=u&&0!=u&&"boxfade"!=u&&1!=u&&"papercut"!=u&&16!=u||(u=11),G(t,a,!0,!0)),"random-static"==(u="random"==u&&(u=Math.round(Math.random()*c.length-1),c.length-1<u)?c.length-1:u)&&(u=Math.round(Math.random()*r.length-1),u=r[u=r.length-1<u?r.length-1:u]),"random-premium"==u&&(u=Math.round(Math.random()*l.length-1),u=l[u=l.length-1<u?l.length-1:u]),1==a.isJoomla&&window.MooTools!=R&&-1!=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45].indexOf(u)&&(k=Math.round(Math.random()*(l.length-2))+1,u=l[0==(k=l.length-1<k?l.length-1:k)?1:k]),f(),W(8)&&15<o&&o<28&&(u=Math.round(Math.random()*r.length-1),u=r[u=r.length-1<u?r.length-1:u],p=0,f());var m,g,v,y,_,b,w,x,T,k,C,I,S,D,A,E,P,O=-1,M=((1==a.leftarrowpressed||a.act>a.next)&&(O=1),a.leftarrowpressed=0,(o=26<o?26:o)<0&&(o=0),300),N=(e.data("masterspeed")!=R&&99<e.data("masterspeed")&&e.data("masterspeed")<4001&&(M=e.data("masterspeed")),l=c[d],t.parent().find(".bullet").each(function(){var t=jQuery(this);t.removeClass("selected"),"withbullet"==a.navigationArrows||"nexttobullets"==a.navigationArrows?t.index()-1==a.next&&t.addClass("selected"):t.index()==a.next&&t.addClass("selected")}),new punchgs.TimelineLite({onComplete:function(){Q(t,a,s,n,e,i,N)}})),L=(N.add(punchgs.TweenLite.set(s.find(".defaultimg"),{opacity:0})),N.pause(),e.data("slotamount")==R||e.data("slotamount")<1?(a.slots=Math.round(12*Math.random()+4),"boxslide"==u?a.slots=Math.round(6*Math.random()+3):"flyin"==u&&(a.slots=Math.round(4*Math.random()+1))):a.slots=e.data("slotamount"),e.data("rotate")==R?a.rotate=0:999==e.data("rotate")?a.rotate=Math.round(360*Math.random()):a.rotate=e.data("rotate"),jQuery.support.transition&&!a.ie&&!a.ie9||(a.rotate=0),1==a.firststart&&(a.firststart=0),M+=l[4],(4==o||5==o||6==o)&&a.slots<3&&(a.slots=3),0!=l[3]&&(a.slots=Math.min(a.slots,l[3])),9==o&&(a.slots=a.width/20),10==o&&(a.slots=a.height/20),"box"==l[5]?(null!=l[7]&&H(n,a,l[7]),null!=l[6]&&H(s,a,l[6])):"vertical"!=l[5]&&"horizontal"!=l[5]||(null!=l[7]&&z(n,a,l[7],l[5]),null!=l[6]&&z(s,a,l[6],l[5])),0==o&&(m=Math.ceil(a.height/a.sloth),g=0,s.find(".slotslide").each(function(t){var e=jQuery(this);(g+=1)==m&&(g=0),N.add(punchgs.TweenLite.from(e,M/600,{opacity:0,top:0-a.sloth,left:0-a.slotw,rotation:a.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),(15*t+30*g)/1500)})),1==o&&s.find(".slotslide").each(function(t){var e=jQuery(this);rand=Math.random()*M+300,rand2=500*Math.random()+200,rand+rand2>v&&(v=rand2+rand2),N.add(punchgs.TweenLite.from(e,rand/1e3,{autoAlpha:0,force3D:"auto",rotation:a.rotate,ease:punchgs.Power2.easeInOut}),rand2/1e3)}),2==o&&(S=new punchgs.TimelineLite,n.find(".slotslide").each(function(){var t=jQuery(this);S.add(punchgs.TweenLite.to(t,M/1e3,{left:a.slotw,force3D:"auto",rotation:0-a.rotate}),0),N.add(S,0)}),s.find(".slotslide").each(function(){var t=jQuery(this);S.add(punchgs.TweenLite.from(t,M/1e3,{left:0-a.slotw,force3D:"auto",rotation:a.rotate}),0),N.add(S,0)})),3==o&&(S=new punchgs.TimelineLite,n.find(".slotslide").each(function(){var t=jQuery(this);S.add(punchgs.TweenLite.to(t,M/1e3,{top:a.sloth,rotation:a.rotate,force3D:"auto",transformPerspective:600}),0),N.add(S,0)}),s.find(".slotslide").each(function(){var t=jQuery(this);S.add(punchgs.TweenLite.from(t,M/1e3,{top:0-a.sloth,rotation:a.rotate,ease:punchgs.Power2.easeOut,force3D:"auto",transformPerspective:600}),0),N.add(S,0)})),4!=o&&5!=o||(setTimeout(function(){n.find(".defaultimg").css({opacity:0}
62)},100),y=M/1e3,S=new punchgs.TimelineLite,n.find(".slotslide").each(function(t){var e=jQuery(this),i=t*y/a.slots;5==o&&(i=(a.slots-t-1)*y/a.slots/1.5),S.add(punchgs.TweenLite.to(e,3*y,{transformPerspective:600,force3D:"auto",top:0+a.height,opacity:.5,rotation:a.rotate,ease:punchgs.Power2.easeInOut,delay:i}),0),N.add(S,0)}),s.find(".slotslide").each(function(t){var e=jQuery(this),i=t*y/a.slots;5==o&&(i=(a.slots-t-1)*y/a.slots/1.5),S.add(punchgs.TweenLite.from(e,3*y,{top:0-a.height,opacity:.5,rotation:a.rotate,force3D:"auto",ease:punchgs.Power2.easeInOut,delay:i}),0),N.add(S,0)})),6==o&&(a.slots<2&&(a.slots=2),a.slots%2&&(a.slots=a.slots+1),S=new punchgs.TimelineLite,setTimeout(function(){n.find(".defaultimg").css({opacity:0})},100),n.find(".slotslide").each(function(t){var e=jQuery(this),t=t+1<a.slots/2?90*(t+2):90*(2+a.slots-t);S.add(punchgs.TweenLite.to(e,(M+t)/1e3,{top:0+a.height,opacity:1,force3D:"auto",rotation:a.rotate,ease:punchgs.Power2.easeInOut}),0),N.add(S,0)}),s.find(".slotslide").each(function(t){var e=jQuery(this),t=t+1<a.slots/2?90*(t+2):90*(2+a.slots-t);S.add(punchgs.TweenLite.from(e,(M+t)/1e3,{top:0-a.height,opacity:1,force3D:"auto",rotation:a.rotate,ease:punchgs.Power2.easeInOut}),0),N.add(S,0)})),7==o&&(M*=2,S=new punchgs.TimelineLite,setTimeout(function(){n.find(".defaultimg").css({opacity:0})},100),n.find(".slotslide").each(function(){var t=jQuery(this).find("div");S.add(punchgs.TweenLite.to(t,M/1e3,{left:0-a.slotw/2+"px",top:0-a.height/2+"px",width:2*a.slotw+"px",height:2*a.height+"px",opacity:0,rotation:a.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),0),N.add(S,0)}),s.find(".slotslide").each(function(t){var e=jQuery(this).find("div");S.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*a.slotw+"px",ease:punchgs.Power2.easeOut,force3D:"auto",top:"0px",width:a.width,height:a.height,opacity:1,rotation:0,delay:.1}),0),N.add(S,0)})),8==o&&(M*=3,S=new punchgs.TimelineLite,n.find(".slotslide").each(function(){var t=jQuery(this).find("div");S.add(punchgs.TweenLite.to(t,M/1e3,{left:0-a.width/2+"px",top:0-a.sloth/2+"px",width:2*a.width+"px",height:2*a.sloth+"px",force3D:"auto",opacity:0,rotation:a.rotate}),0),N.add(S,0)}),s.find(".slotslide").each(function(t){var e=jQuery(this).find("div");S.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-t*a.sloth+"px",width:s.find(".defaultimg").data("neww")+"px",height:s.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0}),0),N.add(S,0)})),9!=o&&10!=o||s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:5*t/1e3}),0)}),11!=o&&26!=o||(26==o&&(M=0),s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.from(e,M/1e3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power2.easeInOut}),0)})),12!=o&&13!=o&&14!=o&&15!=o||(M=1e3,setTimeout(function(){punchgs.TweenLite.set(n.find(".defaultimg"),{autoAlpha:0})},100),_=a.width,b=a.height,k=s.find(".slotslide"),"on"!=a.fullWidth&&"on"!=a.fullScreen||(_=k.width(),b=k.height()),l=r=0,12==o?r=_:15==o?r=0-_:13==o?l=b:14==o&&(l=0-b),E=1,L=punchgs.Power2.easeInOut,T=punchgs.Power2.easeInOut,C=w=M/1e3,(x=I=1)==h&&(E=0),2==h&&(E=0),3==h&&(L=punchgs.Power2.easeInOut,T=punchgs.Power1.easeInOut,w=M/1200),4!=h&&5!=h||(I=.6),6==h&&(I=1.4),5!=h&&6!=h||(x=1.4,l=r=b=_=E=0),6==h&&(x=.6),N.add(punchgs.TweenLite.from(k,w,{left:r,top:l,scale:x,opacity:E,rotation:a.rotate,ease:T,force3D:"auto"}),0),k=n.find(".slotslide"),4!=h&&5!=h||(b=_=0),1!=h&&(12==o?N.add(punchgs.TweenLite.to(k,C,{left:0-_+"px",force3D:"auto",scale:I,opacity:E,rotation:a.rotate,ease:L}),0):15==o?N.add(punchgs.TweenLite.to(k,C,{left:_+"px",force3D:"auto",scale:I,opacity:E,rotation:a.rotate,ease:L}),0):13==o?N.add(punchgs.TweenLite.to(k,C,{top:0-b+"px",force3D:"auto",scale:I,opacity:E,rotation:a.rotate,ease:L}),0):14==o&&N.add(punchgs.TweenLite.to(k,C,{top:b+"px",force3D:"auto",scale:I,opacity:E,rotation:a.rotate,ease:L}),0))),16==o&&(S=new punchgs.TimelineLite,N.add(punchgs.TweenLite.set(i,{position:"absolute","z-index":20}),0),N.add(punchgs.TweenLite.set(e,{position:"absolute","z-index":15}),0),i.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"></div>'),i.find(".tp-half-one").clone(!0).appendTo(i).addClass("tp-half-two"),i.find(".tp-half-two").removeClass("tp-half-one"),_=a.width,b=a.height,"on"==a.autoHeight&&(b=t.height()),i.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+_+"px;height:"+b+'px;"></div>'),i.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+_+"px;height:"+b+'px;"></div>'),i.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"}),i.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px;"></div>'),N.add(punchgs.TweenLite.set(i.find(".tp-half-two"),{width:_,height:b,overflow:"hidden",zIndex:15,position:"absolute",top:b/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0),N.add(punchgs.TweenLite.set(i.find(".tp-half-one"),{width:_,height:b/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}
62),0),i.find(".defaultimg"),w=Math.round(20*Math.random()-10),r=Math.round(20*Math.random()-10),l=Math.round(20*Math.random()-10),x=.4*Math.random()-.2,T=.4*Math.random()-.2,k=+Math.random()+1,C=+Math.random()+1,I=.3*Math.random()+.3,N.add(punchgs.TweenLite.set(i.find(".tp-half-one"),{overflow:"hidden"}),0),N.add(punchgs.TweenLite.fromTo(i.find(".tp-half-one"),M/800,{width:_,height:b/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:k,rotation:w,y:0-b-b/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0),N.add(punchgs.TweenLite.fromTo(i.find(".tp-half-two"),M/800,{width:_,height:b,overflow:"hidden",position:"absolute",top:b/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:C,rotation:r,y:b+b/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(i,{position:"absolute","z-index":15}),punchgs.TweenLite.set(e,{position:"absolute","z-index":20}),0<i.find(".tp-half-one").length&&(i.find(".tp-half-one .defaultimg").unwrap(),i.find(".tp-half-one .slotholder").unwrap()),i.find(".tp-half-two").remove()}}),0),S.add(punchgs.TweenLite.set(s.find(".defaultimg"),{autoAlpha:1}),0),null!=i.html()&&N.add(punchgs.TweenLite.fromTo(e,(M-200)/1e3,{scale:I,x:a.width/4*x,y:b/4*T,rotation:l,force3D:"auto",transformOrigin:"center center",ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0),N.add(S,0)),17==o&&s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*t}),0)}),18==o&&s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/500,{autoAlpha:0,rotationY:310,scale:.9,rotationX:10,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*t}),0)}),19!=o&&22!=o||(S=new punchgs.TimelineLite,N.add(punchgs.TweenLite.set(i,{zIndex:20}),0),N.add(punchgs.TweenLite.set(e,{zIndex:20}),0),setTimeout(function(){n.find(".defaultimg").css({opacity:0})},100),e.css("z-index"),i.css("z-index"),A=90,(E=1)==O&&(A=-90),19==o?(P="center center -"+a.height/2,E=0):P="center center "+a.height/2,punchgs.TweenLite.set(t,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600}),s.find(".slotslide").each(function(t){var e=jQuery(this);S.add(punchgs.TweenLite.fromTo(e,M/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:a.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationX:A},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:"auto",rotationX:0,delay:50*t/1e3,ease:punchgs.Power2.easeInOut}),0),S.add(punchgs.TweenLite.to(e,.1,{autoAlpha:1,delay:50*t/1e3}),0),N.add(S)}),n.find(".slotslide").each(function(t){var e=jQuery(this),i=1==O?90:-90;S.add(punchgs.TweenLite.fromTo(e,M/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationX:0},{autoAlpha:1,rotationY:a.rotate,top:0,z:10,scale:1,rotationX:i,delay:50*t/1e3,force3D:"auto",ease:punchgs.Power2.easeInOut}),0),N.add(S)})),20==o&&(setTimeout(function(){n.find(".defaultimg").css({opacity:0})},100),e.css("z-index"),i.css("z-index"),P=1==O?(D=-a.width,A=70,"left center -"+a.height/2):(D=a.width,A=-70,"right center -"+a.height/2),s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1500,{left:D,rotationX:40,z:-600,opacity:E,top:0,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationY:A},{left:0,delay:50*t/1e3,ease:punchgs.Power2.easeInOut}),0),N.add(punchgs.TweenLite.fromTo(e,M/1e3,{rotationX:40,z:-600,opacity:E,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationY:A},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:50*t/1e3,ease:punchgs.Power2.easeInOut}),0),N.add(punchgs.TweenLite.to(e,.1,{opacity:1,force3D:"auto",delay:50*t/1e3+M/2e3}),0)}),n.find(".slotslide").each(function(t){var e,i,n=jQuery(this),s=1!=O?(e=-a.width,i=70,"left center -"+a.height/2):(e=a.width,i=-70,"right center -"+a.height/2);N.add(punchgs.TweenLite.fromTo(n,M/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:s,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:e,force3D:"auto",scale:.8,rotationY:i,delay:50*t/1e3,ease:punchgs.Power2.easeInOut}),0),N.add(punchgs.TweenLite.to(n,.1,{force3D:"auto",opacity:0,delay:50*t/1e3+(M/1e3-M/1e4)}),0)})),21!=o&&25!=o||(setTimeout(function(){n.find(".defaultimg").css({opacity:0}
62)},100),e.css("z-index"),i.css("z-index"),1==O?(D=-a.width,A=90,25==o?(P="center top 0",rot2=-A,A=a.rotate):(P="left center 0",rot2=a.rotate)):(D=a.width,A=-90,25==o?(P="center bottom 0",rot2=-A,A=a.rotate):(P="right center 0",rot2=a.rotate)),s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,transformStyle:"flat",rotationX:rot2,z:0,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationY:A},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),0)}),1!=O?(D=-a.width,A=90,25==o?(P="center top 0",rot2=-A,A=a.rotate):(P="left center 0",rot2=a.rotate)):(D=a.width,A=-90,25==o?(P="center bottom 0",rot2=-A,A=a.rotate):(P="right center 0",rot2=a.rotate)),n.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,transformStyle:"flat",rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,autoAlpha:1,force3D:"auto",scale:1,rotationY:A,ease:punchgs.Power1.easeInOut}),0)})),23!=o&&24!=o||(setTimeout(function(){n.find(".defaultimg").css({opacity:0})},100),e.css("z-index"),i.css("z-index"),A=1==O?90:-90,E=1,23==o?(P="center center -"+a.width/2,E=0):P="center center "+a.width/2,punchgs.TweenLite.set(t,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500}),s.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,rotationX:a.rotate,force3D:"auto",opacity:E,top:0,scale:1,transformPerspective:600,transformOrigin:P,rotationY:A},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:50*t/500,ease:punchgs.Power2.easeInOut}),0)}),A=1==O?-90:90,n.find(".slotslide").each(function(t){var e=jQuery(this);N.add(punchgs.TweenLite.fromTo(e,M/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:P,rotationY:0},{left:0,autoAlpha:1,rotationX:a.rotate,top:0,scale:1,rotationY:A,delay:50*t/500,ease:punchgs.Power2.easeInOut}),0)})),N.pause(),q(e,a,null,N),punchgs.TweenLite.to(e,.001,{autoAlpha:1}),{});L.slideIndex=a.next+1,L.slide=e,t.trigger("revolution.slide.onchange",L),setTimeout(function(){t.trigger("revolution.slide.onafterswap")},M),t.trigger("revolution.slide.onvideostop")},Q=function(t,e,i,n,s,a,o){punchgs.TweenLite.to(i.find(".defaultimg"),.001,{autoAlpha:1,onComplete:function(){l(t,e,s)}}),s.index()!=a.index()&&punchgs.TweenLite.to(a,.2,{autoAlpha:0,onComplete:function(){l(t,e,a)}}),e.act=e.next,"thumb"==e.navigationType&&c(t),"on"==i.data("kenburns")&&G(t,e),t.find(".current-sr-slide-visible").removeClass("current-sr-slide-visible"),s.addClass("current-sr-slide-visible"),"scroll"!=e.parallax&&"scroll+mouse"!=e.parallax&&"mouse+scroll"!=e.parallax||K(t,e),o.clear()},q=function(t,E,P,e){t.data("ctl")==R&&t.data("ctl",new punchgs.TimelineLite);var i=t.data("ctl"),O=0,M=0,n=t.find(".tp-caption"),t=E.container.find(".tp-static-layers").find(".tp-caption");i.pause(),jQuery.each(t,function(t,e){n.push(e)}),n.each(function(t){var h=P,e=-1,c=jQuery(this),s=(c.hasClass("tp-static-layer")&&(i=c.data("startslide"),o=c.data("endslide"),-1!=i&&"-1"!=i||c.data("startslide",0),-1!=o&&"-1"!=o||c.data("endslide",E.slideamount),0==i&&o==E.slideamount-1&&c.data("endslide",E.slideamount+1),i=c.data("startslide"),o=c.data("endslide"),e=c.hasClass("tp-is-shown")?o==E.next||i>E.next||o<E.next?2:0:i<=E.next&&o>=E.next||i==E.next||o==E.next?(c.addClass("tp-is-shown"),1):0),O=E.width/2-E.startwidth*E.bw/2,E.bw),i=(E.bh,"on"==E.fullScreen&&(M=E.height/2-E.startheight*E.bh/2),(M="on"==E.autoHeight||E.minHeight!=R&&0<E.minHeight?E.container.height()/2-E.startheight*E.bh/2:M)<0&&(M=0),0);if(E.width<E.hideCaptionAtLimit&&"on"==c.data("captionhidden")||E.width<E.hideAllCaptionAtLimit||E.width<E.hideAllCaptionAtLilmit?(c.addClass("tp-hidden-caption"),i=1):c.removeClass("tp-hidden-caption"),0==i){c.data("linktoslide")==R||c.hasClass("hasclicklistener")||(c.addClass("hasclicklistener"),c.css({cursor:"pointer"}
62),"no"!=c.data("linktoslide")&&c.click(function(){var t=jQuery(this).data("linktoslide");"next"!=t&&"prev"!=t?(E.container.data("showus",t),E.container.parent().find(".tp-rightarrow").click()):"next"==t?E.container.parent().find(".tp-rightarrow").click():"prev"==t&&E.container.parent().find(".tp-leftarrow").click()})),O<0&&(O=0),(c.hasClass("tp-videolayer")||0<c.find("iframe").length||0<c.find("video").length)&&(d="iframe"+Math.round(1e5*Math.random()+1),o=c.data("videowidth"),i=c.data("videoheight"),b=c.data("videoattributes"),r=c.data("ytid"),S=c.data("vimeoid"),_=c.data("videpreload"),u=c.data("videomp4"),f=c.data("videowebm"),g=c.data("videocontrols"),l="http",m="loop"==c.data("videoloop")||"loopandnoslidestop"==c.data("videoloop")?"loop":"",c.data("thumbimage")!=R&&c.data("videoposter")==R&&c.data("videoposter",c.data("thumbimage")),r!=R&&1<String(r).length&&0==c.find("iframe").length&&(l="https","none"==g&&-1==(b=b.replace("controls=1","controls=0")).toLowerCase().indexOf("controls")&&(b+="&controls=0"),c.append('<iframe style="visible:hidden" src="'+l+"://www.youtube.com/embed/"+r+"?"+b+'" width="'+o+'" height="'+i+'" style="width:'+o+"px;height:"+i+'px"></iframe>')),S!=R&&1<String(S).length&&0==c.find("iframe").length&&c.append('<iframe style="visible:hidden" src="'+l+"://player.vimeo.com/video/"+S+"?"+b+'" width="'+o+'" height="'+i+'" style="width:'+o+"px;height:"+i+'px"></iframe>'),u==R&&f==R||0!=c.find("video").length||c.append('<video style="visible:hidden" class="" '+m+" "+("controls"!=g?"":g)+' preload="'+_+'" width="'+o+'" height="'+i+'"poster="'+c.data("videoposter")+'"><source src="'+u+'" type="video/mp4"" /><source src="'+f+'" type="video/webm"" /></video>'),p=!1,1!=c.data("autoplayonlyfirsttime")&&"true"!=c.data("autoplayonlyfirsttime")&&1!=c.data("autoplay")||(c.data("autoplay",!0),p=!0),c.find("iframe").each(function(){var t,e=jQuery(this);if(punchgs.TweenLite.to(e,.1,{autoAlpha:1,zIndex:0,transformStyle:"preserve-3d",z:0,rotationX:0,force3D:"auto"}),X()&&(s=e.attr("src"),e.attr("src",""),e.attr("src",s)),E.nextslideatend=c.data("nextslideatend"),c.data("videoposter")!=R&&2<c.data("videoposter").length&&1!=c.data("autoplay")&&!h&&(0==c.find(".tp-thumb-image").length?c.append('<div class="tp-thumb-image" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url('+c.data("videoposter")+'); background-size:cover"></div>'):punchgs.TweenLite.set(c.find(".tp-thumb-image"),{autoAlpha:1})),0<=e.attr("src").toLowerCase().indexOf("youtube"))if(e.hasClass("HasListener"))l=c.data("player"),"on"!=c.data("forcerewind")||X()||l.seekTo(0),(!X()&&1==c.data("autoplay")||p)&&c.data("timerplay",setTimeout(function(){l.playVideo()},c.data("start")));else try{e.attr("id",d);var i=setInterval(function(){YT!=R&&typeof YT.Player!=R&&void 0!==YT.Player&&(l=new YT.Player(d,{events:{onStateChange:N,onReady:function(t){var e=t.target.getVideoEmbedCode(),e=jQuery("#"+e.split('id="')[1].split('"')[0]).closest(".tp-caption"),i=e.data("videorate");e.data("videostart"),i!=R&&t.target.setPlaybackRate(parseFloat(i)),1!=e.data("autoplay")&&!p||t.target.playVideo(),e.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(jQuery(this),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),X()||l.playVideo()})}}})),e.addClass("HasListener"),c.data("player",l),clearInterval(i)},100)}catch(t){}else if(0<=e.attr("src").toLowerCase().indexOf("vimeo"))if(e.hasClass("HasListener"))X()||1!=c.data("autoplay")&&"on"!=c.data("forcerewind")||(s=(e=c.find("iframe")).attr("id"),t=$f(s),"on"==c.data("forcerewind")&&t.api("seekTo",0),c.data("timerplay",setTimeout(function(){1==c.data("autoplay")&&t.api("play")},c.data("start"))));else{e.addClass("HasListener"),e.attr("id",d);for(var n,s=e.attr("src"),a={},o=s,r=/([^&=]+)=([^&]*)/g;n=r.exec(o);)a[decodeURIComponent(n[1])]=decodeURIComponent(n[2]);s=a.player_id!=R?s.replace(a.player_id,d):s+"&player_id="+d;try{s=s.replace("api=0","api=1")}catch(t){}e.attr("src",s+="&api=1");var l=c.find("iframe")[0],u=setInterval(function(){$f!=R&&typeof $f(d).api!=R&&void 0!==$f(d).api&&($f(l).addEvent("ready",function(){var t=d,e=p,i=$f(t),t=jQuery("#"+t),n=t.closest(".tp-simpleresponsive"),s=t.closest(".tp-caption");setTimeout(function(){i.addEvent("ready",function(t){e&&i.api("play"),i.addEvent("play",function(t){n.find(".tp-bannertimer").data("opt").videoplaying=!0,n.trigger("stoptimer"),"mute"==s.data("volume")&&i.api("setVolume","0")}),i.addEvent("finish",function(t){var e=n.find(".tp-bannertimer").data("opt");e.videoplaying=!1,n.trigger("starttimer"),n.trigger("revolution.slide.onvideoplay"),
621==e.nextslideatend&&e.container.revnext()}),i.addEvent("pause",function(t){n.find(".tp-bannertimer").data("opt").videoplaying=!1,n.trigger("starttimer"),n.trigger("revolution.slide.onvideostop")}),s.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(jQuery(this),.3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),i.api("play")})})},150)}),clearInterval(u))},100)}}),X()&&1==c.data("disablevideoonmobile")&&c.find("video").remove(),X()&&jQuery(window).width()<569&&c.find("video").remove(),0<c.find("video").length&&c.find("video").each(function(t){var i=this,n=jQuery(this),s=(n.parent().hasClass("html5vid")||n.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:auto;height:auto"></div>'),n.parent());i.addEventListener?i.addEventListener("loadedmetadata",function(){s.data("metaloaded",1)}):i.attachEvent("loadedmetadata",function(){s.data("metaloaded",1)}),clearInterval(s.data("interval")),s.data("interval",setInterval(function(){if(1==s.data("metaloaded")||NaN!=i.duration){clearInterval(s.data("interval")),s.hasClass("HasListener")||(s.addClass("HasListener"),"none"!=c.data("dottedoverlay")&&c.data("dottedoverlay")!=R&&1!=c.find(".tp-dottedoverlay").length&&s.append('<div class="tp-dottedoverlay '+c.data("dottedoverlay")+'"></div>'),n.attr("control")==R&&(0==s.find(".tp-video-play-button").length&&s.append('<div class="tp-video-play-button"><i class="revicon-right-dir"></i><div class="tp-revstop"></div></div>'),s.find("video, .tp-poster, .tp-video-play-button").click(function(){s.hasClass("videoisplaying")?i.pause():i.play()})),1!=c.data("forcecover")&&!c.hasClass("fullscreenvideo")||(1==c.data("forcecover")&&(L(s,E.container),s.addClass("fullcoveredvideo"),c.addClass("fullcoveredvideo")),s.css({width:"100%",height:"100%"})),i.addEventListener?i.addEventListener("play",function(){"mute"==c.data("volume")&&(i.muted=!0),s.addClass("videoisplaying"),"loopandnoslidestop"==c.data("videoloop")?(E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop")):(E.videoplaying=!0,E.container.trigger("stoptimer"),E.container.trigger("revolution.slide.onvideoplay"))}):i.attachEvent("play",function(){"mute"==c.data("volume")&&(i.muted=!0),s.addClass("videoisplaying"),"loopandnoslidestop"==c.data("videoloop")?(E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop")):(E.videoplaying=!0,E.container.trigger("stoptimer"),E.container.trigger("revolution.slide.onvideoplay"))}),i.addEventListener?i.addEventListener("pause",function(){s.removeClass("videoisplaying"),E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop")}):i.attachEvent("pause",function(){s.removeClass("videoisplaying"),E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop")}),i.addEventListener?i.addEventListener("ended",function(){s.removeClass("videoisplaying"),E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop"),1==E.nextslideatend&&E.container.revnext()}):i.attachEvent("ended",function(){s.removeClass("videoisplaying"),E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop"),1==E.nextslideatend&&E.container.revnext()}));var t=!1,e=(1!=c.data("autoplayonlyfirsttime")&&"true"!=c.data("autoplayonlyfirsttime")||(t=!0),16/9);if("4:3"==c.data("aspectratio")&&(e=4/3),s.data("mediaAspect",e),1==s.closest(".tp-caption").data("forcecover")&&(L(s,E.container),s.addClass("fullcoveredvideo")),n.css({display:"block"}),E.nextslideatend=c.data("nextslideatend"),1!=c.data("autoplay")&&1!=t||("loopandnoslidestop"==c.data("videoloop")?(E.videoplaying=!1,E.container.trigger("starttimer"),E.container.trigger("revolution.slide.onvideostop")):(E.videoplaying=!0,E.container.trigger("stoptimer"),E.container.trigger("revolution.slide.onvideoplay")),"on"!=c.data("forcerewind")||s.hasClass("videoisplaying")||0<i.currentTime&&(i.currentTime=0),"mute"==c.data("volume")&&(i.muted=!0),s.data("timerplay",setTimeout(function(){"on"!=c.data("forcerewind")||s.hasClass("videoisplaying")||0<i.currentTime&&(i.currentTime=0),"mute"==c.data("volume")&&(i.muted=!0),i.play()},10+c.data("start")))),s.data("ww")==R&&s.data("ww",n.attr("width")),s.data("hh")==R&&s.data("hh",n.attr("height")),!c.hasClass("fullscreenvideo")&&1==c.data("forcecover"))try{s.width(s.data("ww")*E.bw),s.height(s.data("hh")*E.bh)}catch(t){}clearInterval(s.data("interval"))}}),100)}),1==c.data("autoplay"))&&(setTimeout(function(){"loopandnoslidestop"!=c.data("videoloop")&&(E.videoplaying=!0,E.container.trigger("stoptimer"))},200),"loopandnoslidestop"!=c.data("videoloop")&&(E.videoplaying=!0,E.container.trigger("stoptimer")),1!=c.data("autoplayonlyfirsttime")&&"true"!=c.data("autoplayonlyfirsttime")||(c.data("autoplay",!1),c.data("autoplayonlyfirsttime",!1)));var d,p,n,a,o,r=0,l=0,u=(0<c.find("img").length?(0==(n=c.find("img")).width()&&n.css({width:"auto"}),0==n.height()&&n.css({height:"auto"}),n.data("ww")==R&&0<n.width()&&n.data("ww",n.width()),n.data("hh")==R&&0<n.height()&&n.data("hh",n.height()),w=n.data("ww"),(a=n.data("hh"))==R&&(a=0),n.width((w=w==R?0:w)*E.bw),n.height(a*E.bh),r=n.width(),l=n.height()):0<c.find("iframe").length||0<c.find("video").length?(S=!1,0==(n=c.find("iframe")).length&&(n=c.find("video"),S=!0),n.css({display:"block"}),c.data("ww")==R&&c.data("ww",n.width()),c.data("hh")==R&&c.data("hh",n.height()),w=c.data("ww"),a=c.data("hh"),(b=c).data("fsize")==R&&b.data("fsize",parseInt(b.css("font-size"),0)||0),b.data("pt")==R&&b.data("pt",parseInt(b.css("paddingTop"),0)||0),b.data("pb")==R&&b.data("pb",parseInt(b.css("paddingBottom"),0)||0),b.data("pl")==R&&b.data("pl",parseInt(b.css("paddingLeft"),0)||0),b.data("pr")==R&&b.data("pr",parseInt(b.css("paddingRight"),0)||0),b.data("mt")==R&&b.data("mt",parseInt(b.css("marginTop"),
620)||0),b.data("mb")==R&&b.data("mb",parseInt(b.css("marginBottom"),0)||0),b.data("ml")==R&&b.data("ml",parseInt(b.css("marginLeft"),0)||0),b.data("mr")==R&&b.data("mr",parseInt(b.css("marginRight"),0)||0),b.data("bt")==R&&b.data("bt",parseInt(b.css("borderTop"),0)||0),b.data("bb")==R&&b.data("bb",parseInt(b.css("borderBottom"),0)||0),b.data("bl")==R&&b.data("bl",parseInt(b.css("borderLeft"),0)||0),b.data("br")==R&&b.data("br",parseInt(b.css("borderRight"),0)||0),b.data("lh")==R&&b.data("lh",parseInt(b.css("lineHeight"),0)||0),m=E.width,g=E.height,m>E.startwidth&&E.startwidth,g>E.startheight&&E.startheight,c.hasClass("fullscreenvideo")?(M=O=0,c.data("x",0),c.data("y",0),_=E.height,"on"==E.autoHeight&&(_=E.container.height()),c.css({width:E.width,height:_})):c.css({"font-size":b.data("fsize")*E.bw+"px","padding-top":b.data("pt")*E.bh+"px","padding-bottom":b.data("pb")*E.bh+"px","padding-left":b.data("pl")*E.bw+"px","padding-right":b.data("pr")*E.bw+"px","margin-top":b.data("mt")*E.bh+"px","margin-bottom":b.data("mb")*E.bh+"px","margin-left":b.data("ml")*E.bw+"px","margin-right":b.data("mr")*E.bw+"px","border-top":b.data("bt")*E.bh+"px","border-bottom":b.data("bb")*E.bh+"px","border-left":b.data("bl")*E.bw+"px","border-right":b.data("br")*E.bw+"px","line-height":b.data("lh")*E.bh+"px",height:a*E.bh+"px"}),0!=S&&(1==c.data("forcecover")||c.hasClass("fullscreenvideo"))||(n.width(w*E.bw),n.height(a*E.bh)),r=n.width(),l=n.height()):(c.find(".tp-resizeme, .tp-resizeme *").each(function(){B(jQuery(this),E)}),c.hasClass("tp-resizeme")&&c.find("*").each(function(){B(jQuery(this),E)}),B(c,E),l=c.outerHeight(!0),r=c.outerWidth(!0),o=c.outerHeight(),i=c.css("backgroundColor"),c.find(".frontcorner").css({borderWidth:o+"px",left:0-o+"px",borderRight:"0px solid transparent",borderTopColor:i}),c.find(".frontcornertop").css({borderWidth:o+"px",left:0-o+"px",borderRight:"0px solid transparent",borderBottomColor:i}),c.find(".backcorner").css({borderWidth:o+"px",right:0-o+"px",borderLeft:"0px solid transparent",borderBottomColor:i}),c.find(".backcornertop").css({borderWidth:o+"px",right:0-o+"px",borderLeft:"0px solid transparent",borderTopColor:i})),"on"==E.fullScreenAlignForce&&(M=O=0),c.data("voffset")==R&&c.data("voffset",0),c.data("hoffset")==R&&c.data("hoffset",0),c.data("voffset")*s),f=c.data("hoffset")*s,m=E.startwidth*s,g=E.startheight*s,v=("on"==E.fullScreenAlignForce&&(m=E.container.width(),g=E.container.height()),"center"!=c.data("x")&&"center"!=c.data("xcenter")||(c.data("xcenter","center"),c.data("x",m/2-c.outerWidth(!0)/2+f)),"left"!=c.data("x")&&"left"!=c.data("xleft")||(c.data("xleft","left"),c.data("x",0/s+f)),"right"!=c.data("x")&&"right"!=c.data("xright")||(c.data("xright","right"),c.data("x",(m-c.outerWidth(!0)+f)/s)),"center"!=c.data("y")&&"center"!=c.data("ycenter")||(c.data("ycenter","center"),c.data("y",g/2-c.outerHeight(!0)/2+u)),"top"!=c.data("y")&&"top"!=c.data("ytop")||(c.data("ytop","top"),c.data("y",0/E.bh+u)),"bottom"!=c.data("y")&&"bottom"!=c.data("ybottom")||(c.data("ybottom","bottom"),c.data("y",(g-c.outerHeight(!0)+u)/s)),c.data("start")==R&&c.data("start",1e3),c.data("easing"),c.data("start")/1e3),y=c.data("speed")/1e3,_="center"==c.data("x")||"center"==c.data("xcenter")?c.data("x")+O:s*c.data("x")+O,b="center"==c.data("y")||"center"==c.data("ycenter")?c.data("y")+M:E.bh*c.data("y")+M;if(punchgs.TweenLite.set(c,{top:b,left:_,overwrite:"auto"}),0==e&&(h=!0),c.data("timeline")==R||h||(2!=e&&c.data("timeline").gotoAndPlay(0),h=!0),!h){c.data("timeline");var w,x=new punchgs.TimelineLite({smoothChildTiming:!0,onStart:function(){}}),T=(x.pause(),E.fullScreenAlignForce,c),k=(c.data("mySplitText")!=R&&c.data("mySplitText").revert(),"chars"!=c.data("splitin")&&"words"!=c.data("splitin")&&"lines"!=c.data("splitin")&&"chars"!=c.data("splitout")&&"words"!=c.data("splitout")&&"lines"!=c.data("splitout")||(0<c.find("a").length?c.data("mySplitText",new punchgs.SplitText(c.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):0<c.find(".tp-layer-inner-rotation").length?c.data("mySplitText",new punchgs.SplitText(c.find(".tp-layer-inner-rotation"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):c.data("mySplitText",new punchgs.SplitText(c,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})),c.addClass("splitted")),"chars"==c.data("splitin")&&(T=c.data("mySplitText").chars),"words"==c.data("splitin")&&(T=c.data("mySplitText").words),"lines"==c.data("splitin")&&(T=c.data("mySplitText").lines),F()),C=F(),I=(c.data("repeat")!=R&&(repeatV=c.data("repeat")),c.data("yoyo")!=R&&(yoyoV=c.data("yoyo")),c.data("repeatdelay")!=R&&(repeatdelayV=c.data("repeatdelay")),c.hasClass("customin")?k=j(k,c.data("customin")):c.hasClass("randomrotate")?(k.scale=3*Math.random()+1,k.rotation=Math.round(200*Math.random()-100),k.x=Math.round(200*Math.random()-100),k.y=Math.round(200*Math.random()-100)):c.hasClass("lfr")||c.hasClass("skewfromright")?k.x=15+E.width:c.hasClass("lfl")||c.hasClass("skewfromleft")?k.x=-15-r:c.hasClass("sfl")||c.hasClass("skewfromleftshort")?k.x=-50:c.hasClass("sfr")||c.hasClass("skewfromrightshort")?k.x=50:c.hasClass("lft")?k.y=-25-l:c.hasClass("lfb")?k.y=25+E.height:c.hasClass("sft")?k.y=-50:c.hasClass("sfb")&&(k.y=50),c.hasClass("skewfromright")||c.hasClass("skewfromrightshort")?k.skewX=-85:(c.hasClass("skewfromleft")||c.hasClass("skewfromleftshort"))&&(k.skewX=85),(c.hasClass("fade")||c.hasClass("sft")||c.hasClass("sfl")||c.hasClass("sfb")||c.hasClass("skewfromleftshort")||c.hasClass("sfr")||c.hasClass("skewfromrightshort"))&&(k.opacity=0),Z().toLowerCase(),c.data("elementdelay")==R?0:c.data("elementdelay")),S=(C.ease=k.ease=c.data("easing")==R?punchgs.Power1.easeInOut:c.data("easing"),k.data=new Object,k.data.oldx=k.x,k.data.oldy=k.y,C.data=new Object,C.data.oldx=C.x,C.data.oldy=C.y,k.x=k.x*s,k.y=k.y*s,new punchgs.TimelineLite);if(2!=e)if(c.hasClass("customin"))T!=c&&x.add(punchgs.TweenLite.set(c,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",delay:0,overwrite:"all"})),k.visibility="hidden",C.visibility="visible",C.overwrite="all",C.opacity=1,C.onComplete=void 0,C.delay=v,C.force3D="auto",x.add(S.staggerFromTo(T,y,k,
62C,I),"frame0");else if(k.visibility="visible",k.transformPerspective=600,T!=c&&x.add(punchgs.TweenLite.set(c,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",delay:0,overwrite:"all"})),C.visibility="visible",C.delay=v,C.onComplete=void 0,C.opacity=1,C.force3D="auto",c.hasClass("randomrotate")&&T!=c)for(t=0;t<T.length;t++){var D=new Object,A=new Object;jQuery.extend(D,k),jQuery.extend(A,C),k.scale=3*Math.random()+1,k.rotation=Math.round(200*Math.random()-100),k.x=Math.round(200*Math.random()-100),k.y=Math.round(200*Math.random()-100),0!=t&&(A.delay=v+t*I),x.append(punchgs.TweenLite.fromTo(T[t],y,D,A),"frame0")}else x.add(S.staggerFromTo(T,y,k,C,I),"frame0");c.data("timeline",x),new Array,c.data("frames")!=R&&(w=c.data("frames").replace(/\s+/g,"").replace("{","").split("}"),jQuery.each(w,function(t,e){var n;0<e.length&&(e=e.split("animation:"),(n=new Object).animation=j(F(),e[1]),e=e[0].split(";"),jQuery.each(e,function(t,e){var i=(e=e.split(":"))[0],e=e[1];"typ"==i&&(n.typ=e),"speed"==i&&(n.speed=parseInt(e,0)/1e3),"start"==i&&(n.start=parseInt(e,0)/1e3),"elementdelay"==i&&(n.elementdelay=parseFloat(e)),"ease"==i&&(n.ease=e)}),J(c,E,n,"frame"+(t+10),s))})),x=c.data("timeline"),c.data("end")==R||-1!=e&&2!=e?V(c,E,-1==e||2==e?999999:200,k,"frame99",s):V(c,E,c.data("end")/1e3,k,"frame99",s),x=c.data("timeline"),c.data("timeline",x),U(c,s),x.resume()}}h&&(Y(c),U(c,s),c.data("timeline")!=R)&&(a=c.data("timeline").getTweensOf(),jQuery.each(a,function(t,e){if(e.vars.data!=R){var i=e.vars.data.oldx*s,n=e.vars.data.oldy*s;if(1!=e.progress()&&0!=e.progress())try{e.vars.x=i,e.vary.y=n}catch(t){}else 1==e.progress()&&punchgs.TweenLite.set(e.target,{x:i,y:n})}}))}),jQuery("body").find("#"+E.container.attr("id")).find(".tp-bannertimer").data("opt",E),e!=R&&setTimeout(function(){e.resume()},30)},Z=function(){var t=navigator.appName,e=navigator.userAgent,i=e.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return i&&null!=(e=e.match(/version\/([\.\d]+)/i))&&(i[2]=e[1]),(i=i?[i[1],i[2]]:[t,navigator.appVersion,"-?"])[0]},B=function(t,e){t.data("fsize")==R&&t.data("fsize",parseInt(t.css("font-size"),0)||0),t.data("pt")==R&&t.data("pt",parseInt(t.css("paddingTop"),0)||0),t.data("pb")==R&&t.data("pb",parseInt(t.css("paddingBottom"),0)||0),t.data("pl")==R&&t.data("pl",parseInt(t.css("paddingLeft"),0)||0),t.data("pr")==R&&t.data("pr",parseInt(t.css("paddingRight"),0)||0),t.data("mt")==R&&t.data("mt",parseInt(t.css("marginTop"),0)||0),t.data("mb")==R&&t.data("mb",parseInt(t.css("marginBottom"),0)||0),t.data("ml")==R&&t.data("ml",parseInt(t.css("marginLeft"),0)||0),t.data("mr")==R&&t.data("mr",parseInt(t.css("marginRight"),0)||0),t.data("bt")==R&&t.data("bt",parseInt(t.css("borderTopWidth"),0)||0),t.data("bb")==R&&t.data("bb",parseInt(t.css("borderBottomWidth"),0)||0),t.data("bl")==R&&t.data("bl",parseInt(t.css("borderLeftWidth"),0)||0),t.data("br")==R&&t.data("br",parseInt(t.css("borderRightWidth"),0)||0),t.data("ls")==R&&t.data("ls",parseInt(t.css("letterSpacing"),0)||0),t.data("lh")==R&&t.data("lh",parseInt(t.css("lineHeight"),0)||"auto"),t.data("minwidth")==R&&t.data("minwidth",parseInt(t.css("minWidth"),0)||0),t.data("minheight")==R&&t.data("minheight",parseInt(t.css("minHeight"),0)||0),t.data("maxwidth")==R&&t.data("maxwidth",parseInt(t.css("maxWidth"),0)||"none"),t.data("maxheight")==R&&t.data("maxheight",parseInt(t.css("maxHeight"),0)||"none"),t.data("wii")==R&&t.data("wii",parseInt(t.css("width"),0)||0),t.data("hii")==R&&t.data("hii",parseInt(t.css("height"),0)||0),t.data("wan")==R&&t.data("wan",t.css("-webkit-transition")),t.data("moan")==R&&t.data("moan",t.css("-moz-animation-transition")),t.data("man")==R&&t.data("man",t.css("-ms-animation-transition")),t.data("ani")==R&&t.data("ani",t.css("transition")),t.hasClass("tp-splitted")||(t.css("-webkit-transition","none"),t.css("-moz-transition","none"),t.css("-ms-transition","none"),t.css("transition","none"),punchgs.TweenLite.set(t,{fontSize:Math.round(t.data("fsize")*e.bw)+"px",letterSpacing:Math.floor(t.data("ls")*e.bw)+"px",paddingTop:Math.round(t.data("pt")*e.bh)+"px",paddingBottom:Math.round(t.data("pb")*e.bh)+"px",paddingLeft:Math.round(t.data("pl")*e.bw)+"px",paddingRight:Math.round(t.data("pr")*e.bw)+"px",marginTop:t.data("mt")*e.bh+"px",marginBottom:t.data("mb")*e.bh+"px",marginLeft:t.data("ml")*e.bw+"px",marginRight:t.data("mr")*e.bw+"px",borderTopWidth:Math.round(t.data("bt")*e.bh)+"px",borderBottomWidth:Math.round(t.data("bb")*e.bh)+"px",borderLeftWidth:Math.round(t.data("bl")*e.bw)+"px",borderRightWidth:Math.round(t.data("br")*e.bw)+"px",lineHeight:Math.round(t.data("lh")*e.bh)+"px",minWidth:t.data("minwidth")*e.bw+"px",minHeight:t.data("minheight")*e.bh+"px",overwrite:"auto"}),setTimeout(function(){t.css("-webkit-transition",t.data("wan")),t.css("-moz-transition",t.data("moan")),t.css("-ms-transition",t.data("man")),t.css("transition",t.data("ani"))},30),"none"!=t.data("maxheight")&&t.css({maxHeight:t.data("maxheight")*e.bh+"px"}),"none"!=t.data("maxwidth")&&t.css({maxWidth:t.data("maxwidth")*e.bw+"px"}))},U=function(t,a){t.find(".rs-pendulum").each(function(){var t,e,i=jQuery(this);i.data("timeline")==R&&(i.data("timeline",new punchgs.TimelineLite),t=i.data("startdeg")==R?-20:i.data("startdeg"),e=i.data("enddeg")==R?20:i.data("enddeg"),speed=i.data("speed")==R?2:i.data("speed"),origin=i.data("origin")==R?"50% 50%":i.data("origin"),easing=i.data("ease")==R?punchgs.Power2.easeInOut:i.data("ease"),t*=a,e*=a,i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",rotation:t,transformOrigin:origin},{rotation:e,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",rotation:e,transformOrigin:origin},{rotation:t,ease:easing,onComplete:function(){i.data("timeline").restart()}})))}),t.find(".rs-slideloop").each(function(){var t,e,i=jQuery(this);i.data("timeline")==R&&(i.data("timeline",new punchgs.TimelineLite),t=i.data("xs")==R?0:i.data("xs"),e=i.data("ys")==R?0:i.data("ys"),xe=i.data("xe")==R?0:i.data("xe"),ye=i.data("ye")==R?0:i.data("ye"),speed=i.data("speed")==R?2:i.data("speed"),easing=i.data("ease")==R?punchgs.Power2.easeInOut:i.data("ease"),t*=a,e*=a,xe*=a,ye*=a,i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",x:t,y:e},{x:xe,y:ye,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",x:xe,y:ye},{x:t,y:e,onComplete:function(){i.data("timeline").restart()}})))}),t.find(".rs-pulse").each(function(){var t,e,i=jQuery(this);i.data("timeline")==R&&(i.data("timeline",new punchgs.TimelineLite),t=i.data("zoomstart")==R?0:i.data("zoomstart"),e=i.data("zoomend")==R?0:i.data("zoomend"),speed=i.data("speed")==R?2:i.data("speed"),easing=i.data("ease")==R?punchgs.Power2.easeInOut:i.data("ease"),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",scale:t},{scale:e,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",scale:e},{scale:t,onComplete:function(){i.data("timeline").restart()}})))}),t.find(".rs-wave").each(function(){var t,e,i,n,s=jQuery(this);s.data("timeline")==R&&(s.data("timeline",new punchgs.TimelineLite),t=s.data("angle")==R?10:s.data("angle"),e=s.data("radius")==R?10:s.data("radius"),i=s.data("speed")==R?-20:s.data("speed"),s.data("origin")!=R&&s.data("origin"),n={a:0,ang:t*=a,element:s,unit:e*=a},s.data("timeline").append(new punchgs.TweenLite.fromTo(n,i,{a:360},{a:0,force3D:"auto",ease:punchgs.Linear.easeNone,onUpdate:function(){var t=n.a*(Math.PI/180);punchgs.TweenLite.to(n.element,.1,{force3D:"auto",x:Math.cos(t)*n.unit,y:n.unit*(1-Math.sin(t))})},onComplete:function(){s.data("timeline").restart()}})))})},Y=function(t){t.find(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){var t=jQuery(this);t.data("timeline")!=R&&(t.data("timeline").pause(),t.data("timeline",null))})},A=function(t,l){var u=0,i=t.find(".tp-caption"),t=l.container.find(".tp-static-layers").find(".tp-caption");return jQuery.each(t,function(t,e){i.push(e)}),i.each(function(t){var e=-1,i=jQuery(this);if(i.hasClass("tp-static-layer")&&(-1!=i.data("startslide")&&"-1"!=i.data("startslide")||i.data("startslide",0),-1!=i.data("endslide")&&"-1"!=i.data("endslide")||i.data("endslide",l.slideamount),i.hasClass("tp-is-shown")?i.data("startslide")>l.next||i.data("endslide")<l.next?(e=2,i.removeClass("tp-is-shown")):e=0:e=2),0!=e){if(Y(i),0<i.find("iframe").length){punchgs.TweenLite.to(i.find("iframe"),.2,{autoAlpha:0}),X()&&i.find("iframe").remove();try{var n=i.find("iframe").attr("id");$f(n).api("pause"),clearTimeout(i.data("timerplay"))}catch(t){}try{i.data("player").stopVideo(),clearTimeout(i.data("timerplay"))}catch(t){}}if(0<i.find("video").length)try{i.find("video").each(function(t){var e=jQuery(this).parent();e.attr("id"),clearTimeout(e.data("timerplay")),this.pause()})}catch(t){}try{var s,a,o=i.data("timeline"),r=o.getLabelTime("frame99");o.time()<r&&(s=o.getTweensOf(i),jQuery.each(s,function(t,e){0!=t&&e.pause()}),0!=i.css("opacity")?(a=i.data("endspeed")==R?i.data("speed"):i.data("endspeed"),u<a&&(u=a),o.play("frame99")):o.progress(1,!1))}catch(t){}}}),u}
62,J=function(t,e,i,n,s){var a=t.data("timeline"),o=new punchgs.TimelineLite,r=t;"chars"==i.typ?r=t.data("mySplitText").chars:"words"==i.typ?r=t.data("mySplitText").words:"lines"==i.typ&&(r=t.data("mySplitText").lines),i.animation.ease=i.ease,i.animation.rotationZ!=R&&(i.animation.rotation=i.animation.rotationZ),i.animation.data=new Object,i.animation.data.oldx=i.animation.x,i.animation.data.oldy=i.animation.y,i.animation.x=i.animation.x*s,i.animation.y=i.animation.y*s,a.add(o.staggerTo(r,i.speed,i.animation,i.elementdelay),i.start),a.addLabel(n,i.start),t.data("timeline",a)},V=function(t,e,i,n,s,a){var o,r,l=t.data("timeline"),u=new punchgs.TimelineLite,h=F(),c=t.data("endspeed")==R?t.data("speed"):t.data("endspeed");h.ease=t.data("endeasing")==R?punchgs.Power1.easeInOut:t.data("endeasing"),c/=1e3,t.hasClass("ltr")||t.hasClass("ltl")||t.hasClass("str")||t.hasClass("stl")||t.hasClass("ltt")||t.hasClass("ltb")||t.hasClass("stt")||t.hasClass("stb")||t.hasClass("skewtoright")||t.hasClass("skewtorightshort")||t.hasClass("skewtoleft")||t.hasClass("skewtoleftshort")||t.hasClass("fadeout")||t.hasClass("randomrotateout")?(t.hasClass("skewtoright")||t.hasClass("skewtorightshort")?h.skewX=35:(t.hasClass("skewtoleft")||t.hasClass("skewtoleftshort"))&&(h.skewX=-35),t.hasClass("ltr")||t.hasClass("skewtoright")?h.x=e.width+60:t.hasClass("ltl")||t.hasClass("skewtoleft")?h.x=0-(e.width+60):t.hasClass("ltt")?h.y=0-(e.height+60):t.hasClass("ltb")?h.y=e.height+60:t.hasClass("str")||t.hasClass("skewtorightshort")?(h.x=50,h.opacity=0):t.hasClass("stl")||t.hasClass("skewtoleftshort")?(h.x=-50,h.opacity=0):t.hasClass("stt")?(h.y=-50,h.opacity=0):t.hasClass("stb")?(h.y=50,h.opacity=0):t.hasClass("randomrotateout")?(h.x=Math.random()*e.width,h.y=Math.random()*e.height,h.scale=2*Math.random()+.3,h.rotation=360*Math.random()-180,h.opacity=0):t.hasClass("fadeout")&&(h.opacity=0),t.hasClass("skewtorightshort")?h.x=270:t.hasClass("skewtoleftshort")&&(h.x=-270),h.data=new Object,h.data.oldx=h.x,h.data.oldy=h.y,h.x=h.x*a,h.y=h.y*a,h.overwrite="auto","chars"==(o=t).data("splitout")?o=t.data("mySplitText").chars:"words"==t.data("splitout")?o=t.data("mySplitText").words:"lines"==t.data("splitout")&&(o=t.data("mySplitText").lines),r=t.data("endelementdelay")==R?0:t.data("endelementdelay"),l.add(u.staggerTo(o,c,h,r),i)):t.hasClass("customout")?(h=j(h,t.data("customout")),"chars"==(o=t).data("splitout")?o=t.data("mySplitText").chars:"words"==t.data("splitout")?o=t.data("mySplitText").words:"lines"==t.data("splitout")&&(o=t.data("mySplitText").lines),r=t.data("endelementdelay")==R?0:t.data("endelementdelay"),h.onStart=function(){punchgs.TweenLite.set(t,{transformPerspective:h.transformPerspective,transformOrigin:h.transformOrigin,overwrite:"auto"})},h.data=new Object,h.data.oldx=h.x,h.data.oldy=h.y,h.x=h.x*a,h.y=h.y*a,l.add(u.staggerTo(o,c,h,r),i)):(n.delay=0,l.add(punchgs.TweenLite.to(t,c,n),i)),l.addLabel(s,i),t.data("timeline",l)},E=function(i,n){var s,e;n.cd=0,n.loop=0,n.stopAfterLoops!=R&&-1<n.stopAfterLoops?n.looptogo=n.stopAfterLoops:n.looptogo=9999999,n.stopAtSlide!=R&&-1<n.stopAtSlide?n.lastslidetoshow=n.stopAtSlide:n.lastslidetoshow=999,n.stopLoop="off",0==n.looptogo&&(n.stopLoop="on"),1<n.slideamount&&(0!=n.stopAfterLoops||1!=n.stopAtSlide)&&(s=i.find(".tp-bannertimer"),i.on("stoptimer",function(){var t=jQuery(this).find(".tp-bannertimer");t.data("tween").pause(),"on"==n.hideTimerBar&&t.css({visibility:"hidden"})}),i.on("starttimer",function(){1!=n.conthover&&1!=n.videoplaying&&n.width>n.hideSliderAtLimit&&1!=n.bannertimeronpause&&1!=n.overnav&&("on"==n.stopLoop&&n.next==n.lastslidetoshow-1||1==n.noloopanymore?n.noloopanymore=1:(s.css({visibility:"visible"}),s.data("tween").resume())),"on"==n.hideTimerBar&&s.css({visibility:"hidden"})}),i.on("restarttimer",function(){var t=jQuery(this).find(".tp-bannertimer");"on"==n.stopLoop&&n.next==n.lastslidetoshow-1||1==n.noloopanymore?n.noloopanymore=1:(t.css({visibility:"visible"}),t.data("tween").kill(),t.data("tween",punchgs.TweenLite.fromTo(t,n.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1}))),"on"==n.hideTimerBar&&t.css({visibility:"hidden"})}),i.on("nulltimer",function(){s.data("tween").pause(0),"on"==n.hideTimerBar&&s.css({visibility:"hidden"})}),e=function(){if(0==jQuery("body").find(i).length){var t=i,e=n;t.children().each(function(){try{jQuery(this).die("click")}catch(t){}try{jQuery(this).die("mouseenter")}catch(t){}try{jQuery(this).die("mouseleave")}catch(t){}try{jQuery(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(t){}clearInterval(e.cdint),clearInterval(n.cdint)}
62i.trigger("revolution.slide.slideatend"),1==i.data("conthover-changed")&&(n.conthover=i.data("conthover"),i.data("conthover-changed",0)),n.act=n.next,n.next=n.next+1,n.next>i.find(">ul >li").length-1&&(n.next=0,n.looptogo=n.looptogo-1,n.looptogo<=0)&&(n.stopLoop="on"),"on"==n.stopLoop&&n.next==n.lastslidetoshow-1?(i.find(".tp-bannertimer").css({visibility:"hidden"}),i.trigger("revolution.slide.onstop"),n.noloopanymore=1):s.data("tween").restart(),m(i,n)},s.data("tween",punchgs.TweenLite.fromTo(s,n.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1})),s.data("opt",n),i.hover(function(){"on"!=n.onHoverStop||X()||(i.trigger("stoptimer"),i.trigger("revolution.slide.onpause"),i.find(">ul >li:eq("+n.next+") .slotholder").find(".defaultimg").each(function(){var t=jQuery(this);t.data("kenburn")!=R&&t.data("kenburn").pause()}))},function(){1!=i.data("conthover")&&(i.trigger("revolution.slide.onresume"),i.trigger("starttimer"),i.find(">ul >li:eq("+n.next+") .slotholder").find(".defaultimg").each(function(){var t=jQuery(this);t.data("kenburn")!=R&&t.data("kenburn").play()}))}))},X=function(){var t=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],e=!1;
62for(i in t)1<navigator.userAgent.split(t[i]).length&&(e=!0);return e},T=function(t,e,i){var n=e.data("owidth"),e=e.data("oheight");return n/e>i.width/i.height?t*(100/(e*(i.container.width()/n)/i.container.height()*t))+"% 100% 1":t+"% "+e*(i.container.width()/n)/i.container.height()*t+"%"},G=function(e,u,t,h){try{e.find(">ul:first-child >li:eq("+u.act+")")}catch(t){e.find(">ul:first-child >li:eq(1)")}u.lastslide=u.act;var c=e.find(">ul:first-child >li:eq("+u.next+")").find(".slotholder"),d=c.data("bgposition"),p=c.data("bgpositionend"),f=(c.data("zoomstart"),c.data("zoomend"),c.data("rotationstart"),c.data("rotationend")),m=c.data("bgfit"),g=c.data("bgfitend"),v=c.data("easeme"),y=c.data("duration")/1e3,e=100,_=m=m==R?100:m,b=g=g==R?100:g,m=T(m,c,u),g=T(g,c,u),e=T(100,c,u),w=(f==R&&(f=0),new Object),x=(w.w=parseInt(e.split(" ")[0],0),w.h=parseInt(e.split(" ")[1],0),!1);"1"==e.split(" ")[2]&&(x=!0),c.find(".defaultimg").each(function(){var t,e,i,n,s,a=jQuery(this),o=(0==c.find(".kenburnimg").length?c.append('<div class="kenburnimg" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;"><img src="'+a.attr("src")+'" style="-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:'+w.w+"%;height:"+w.h+'%;"></div>'):c.find(".kenburnimg img").css({width:w.w+"%",height:w.h+"%"}),c.find(".kenburnimg img")),r=k(u,d,m,o,x),l=k(u,p,g,o,x);x&&(r.w=_/100,l.w=b/100),h?(punchgs.TweenLite.set(o,{autoAlpha:0,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:r.w,x:r.x,y:r.y}),e=(t=r.w)*o.width()-u.width,i=t*o.height()-u.height,n=Math.abs(r.x/e*100),s=Math.abs(r.y/i*100),a.data("bgposition",(0==e?0:n)+"% "+(0==i?0:s)+"%"),W(8)||a.data("currotate",C(o)),W(8)||a.data("curscale",w.w*t+"%  "+w.h*t+"%"),c.find(".kenburnimg").remove()):a.data("kenburn",punchgs.TweenLite.fromTo(o,y,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:"0% 0%",top:0,left:0,scale:r.w,x:r.x,y:r.y},{autoAlpha:1,rotationZ:f,ease:v,x:l.x,y:l.y,scale:l.w,onUpdate:function(){var t=o[0]._gsTransform.scaleX,e=t*o.width()-u.width,i=t*o.height()-u.height,n=Math.abs(o[0]._gsTransform.x/e*100),s=Math.abs(o[0]._gsTransform.y/i*100);a.data("bgposition",(0==e?0:n)+"% "+(0==i?0:s)+"%"),W(8)||a.data("currotate",C(o)),W(8)||a.data("curscale",w.w*t+"%  "+w.h*t+"%")}}))})},k=function(t,e,i,n,s){var a=new Object;switch(a.w=s?parseInt(i.split(" ")[1],0)/100:parseInt(i.split(" ")[0],0)/100,e){case"left top":case"top left":a.x=0,a.y=0;break;case"center top":case"top center":a.x=((0-n.width())*a.w+parseInt(t.width,0))/2,a.y=0;break;case"top right":case"right top":a.x=(0-n.width())*a.w+parseInt(t.width,0),a.y=0;break;case"center left":case"left center":a.x=0,a.y=((0-n.height())*a.w+parseInt(t.height,0))/2;break;case"center center":a.x=((0-n.width())*a.w+parseInt(t.width,0))/2,a.y=((0-n.height())*a.w+parseInt(t.height,0))/2;break;case"center right":case"right center":a.x=(0-n.width())*a.w+parseInt(t.width,0),a.y=((0-n.height())*a.w+parseInt(t.height,0))/2;break;case"bottom left":case"left bottom":a.x=0,a.y=(0-n.height())*a.w+parseInt(t.height,0);break;
62case"bottom center":case"center bottom":a.x=((0-n.width())*a.w+parseInt(t.width,0))/2,a.y=(0-n.height())*a.w+parseInt(t.height,0);break;case"bottom right":case"right bottom":a.x=(0-n.width())*a.w+parseInt(t.width,0),a.y=(0-n.height())*a.w+parseInt(t.height,0)}return a},C=function(t){var e,t=t.css("-webkit-transform")||t.css("-moz-transform")||t.css("-ms-transform")||t.css("-o-transform")||t.css("transform");return(t="none"!==t?(e=(t=t.split("(")[1].split(")")[0].split(","))[0],t=t[1],Math.round(Math.atan2(t,e)*(180/Math.PI))):0)<0?t+360:t},P=function(e,t){try{var i=e.find(">ul:first-child >li:eq("+t.act+")")}catch(t){i=e.find(">ul:first-child >li:eq(1)")}t.lastslide=t.act;t=e.find(">ul:first-child >li:eq("+t.next+")");i.find(".slotholder"),t.find(".slotholder"),e.find(".defaultimg").each(function(){var t=jQuery(this);punchgs.TweenLite.killTweensOf(t,!1),punchgs.TweenLite.set(t,{scale:1,rotationZ:0}),punchgs.TweenLite.killTweensOf(t.data("kenburn img"),!1),t.data("kenburn")!=R&&t.data("kenburn").pause(),t.data("currotate")!=R&&t.data("bgposition")!=R&&t.data("curscale")!=R&&punchgs.TweenLite.set(t,{rotation:t.data("currotate"),backgroundPosition:t.data("bgposition"),backgroundSize:t.data("curscale")}),t!=R&&t.data("kenburn img")!=R&&0<t.data("kenburn img").length&&punchgs.TweenLite.set(t.data("kenburn img"),{autoAlpha:0})})},O=function(l,u){if(X()&&"on"==u.parallaxDisableOnMobile)return!1;l.find(">ul:first-child >li").each(function(){for(var t=jQuery(this),e=1;e<=10;e++)t.find(".rs-parallaxlevel-"+e).each(function(){var t=jQuery(this);t.wrap('<div style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:'+t.css("zIndex")+'" class="tp-parallax-container" data-parallaxlevel="'+u.parallaxLevels[e-1]+'"></div>')})}),"mouse"!=u.parallax&&"scroll+mouse"!=u.parallax&&"mouse+scroll"!=u.parallax||(l.mouseenter(function(t){var e=l.find(".current-sr-slide-visible"),i=l.offset().top,n=l.offset().left,n=t.pageX-n,t=t.pageY-i;e.data("enterx",n),e.data("entery",t)}),l.on("mousemove.hoverdir, mouseleave.hoverdir",function(t){var e=l.find(".current-sr-slide-visible");switch(t.type){case"mousemove":var i=l.offset().top,n=l.offset().left,s=e.data("enterx"),a=e.data("entery"),o=s-(t.pageX-n),r=a-(t.pageY-i);e.find(".tp-parallax-container").each(function(){var t=jQuery(this),e=parseInt(t.data("parallaxlevel"),0)/100,i=o*e,e=r*e;"scroll+mouse"==u.parallax||"mouse+scroll"==u.parallax?punchgs.TweenLite.to(t,.4,{force3D:"auto",x:i,ease:punchgs.Power3.easeOut,overwrite:"all"}):punchgs.TweenLite.to(t,.4,{force3D:"auto",x:i,y:e,ease:punchgs.Power3.easeOut,overwrite:"all"})});break;case"mouseleave":e.find(".tp-parallax-container").each(function(){var t=jQuery(this);"scroll+mouse"==u.parallax||"mouse+scroll"==u.parallax?punchgs.TweenLite.to(t,1.5,{force3D:"auto",x:0,ease:punchgs.Power3.easeOut}):punchgs.TweenLite.to(t,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut})})}}),X()&&(window.ondeviceorientation=function(t){var e,i=Math.round(t.beta||0),t=Math.round(t.gamma||0),n=l.find(".current-sr-slide-visible"),s=(jQuery(window).width()>jQuery(window).height()&&(e=t,t=i,i=e),360/l.width()*t),a=180/l.height()*i;n.find(".tp-parallax-container").each(function(){var t=jQuery(this),e=parseInt(t.data("parallaxlevel"),0)/100;punchgs.TweenLite.to(t,.2,{force3D:"auto",x:s*e,y:a*e,ease:punchgs.Power3.easeOut})})})),"scroll"!=u.parallax&&"scroll+mouse"!=u.parallax&&"mouse+scroll"!=u.parallax||jQuery(window).on("scroll",function(t){K(l,u)})},K=function(t,e){if(X()&&"on"==e.parallaxDisableOnMobile)return!1;var i=t.offset().top,n=jQuery(window).scrollTop(),s=i+t.height()/2,i=i+t.height()/2-n,n=jQuery(window).height()/2,a=n-i;s<n&&(a-=n-s),t.find(".current-sr-slide-visible"),t.find(".tp-parallax-container").each(function(t){var e=jQuery(this),i=parseInt(e.data("parallaxlevel"),0)/100,i=a*i;e.data("parallaxoffset",i),punchgs.TweenLite.to(e,.2,{force3D:"auto",y:i,ease:punchgs.Power3.easeOut})}),"on"!=e.parallaxBgFreeze&&(i=e.parallaxLevels[0]/100,n=a*i,punchgs.TweenLite.to(t,.2,{force3D:"auto",y:n,ease:punchgs.Power3.easeOut}))},M=function(s,i){var t=s.parent(),n=("thumb"!=i.navigationType&&"both"!=i.navsecond||t.append('<div class="tp-bullets tp-thumbs '+i.navigationStyle+'"><div class="tp-mask"><div class="tp-thumbcontainer"></div></div></div>'),t.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer")),t=n.parent(),a=(t.width(i.thumbWidth*i.thumbAmount),t.height(i.thumbHe
62ight),t.parent().width(i.thumbWidth*i.thumbAmount),t.parent().height(i.thumbHeight),s.find(">ul:first >li").each(function(t){var t=s.find(">ul:first >li:eq("+t+")"),e=t.find(".defaultimg").css("backgroundColor"),t=t.data("thumb")!=R?t.data("thumb"):t.find("img:first").attr("src");n.append('<div class="bullet thumb" style="background-color:'+e+";position:relative;width:"+i.thumbWidth+"px;height:"+i.thumbHeight+"px;background-image:url("+t+') !important;background-size:cover;background-position:center center;"></div>'),n.find(".bullet:first")}),10),t=(n.find(".bullet").each(function(t){var e=jQuery(this);t==i.slideamount-1&&e.addClass("last"),0==t&&e.addClass("first"),e.width(i.thumbWidth),e.height(i.thumbHeight),a<e.outerWidth(!0)&&(a=e.outerWidth(!0)),e.click(function(){0==i.transition&&e.index()!=i.act&&(i.next=e.index(),u(i,s))})}),a*s.find(">ul:first >li").length),e=n.parent().width();i.thumbWidth=a,e<t&&(jQuery(document).mousemove(function(t){jQuery("body").data("mousex",t.pageX)}),n.parent().mouseenter(function(){var t=jQuery(this),e=(t.addClass("over"),t.offset()),e=jQuery("body").data("mousex")-e.left,i=t.width(),n=t.find(".bullet:first").outerWidth(!0)*s.find(">ul:first >li").length,e=0-(e-=30)*((n-i+15)/i);d(t,(e=0<e?0:e)<0-n+i?0-n+i:e,200)}),n.parent().mousemove(function(){var t=jQuery(this),e=t.offset(),e=jQuery("body").data("mousex")-e.left,i=t.width(),n=t.find(".bullet:first").outerWidth(!0)*s.find(">ul:first >li").length-1,e=0-(i-6<3+(e=(e-=3)<6?0:e)?i:e)*((n-i+15)/i);d(t,(e=0<e?0:e)<0-n+i?0-n+i:e,0)}),n.parent().mouseleave(function(){jQuery(this).removeClass("over"),c(s)}))},c=function(t){var e=t.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer").parent(),i=(e.offset(),e.find(".bullet:first").outerWidth(!0)),i=e.find(".bullet.selected").index()*i,n=e.width(),t=e.find(".bullet:first").outerWidth(!0)*t.find(">ul:first >li").length,i=0-i;(i=0<i?0:i)<0-t+n&&(i=0-t+n),e.hasClass("over")||d(e,i,200)},d=function(t,e,i){punchgs.TweenLite.to(t.find(".tp-thumbcontainer"),.2,{force3D:"auto",left:e,ease:punchgs.Power3.easeOut,overwrite:"auto"})}}(jQuery),function(e,i){"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(e,t)}):"object"==typeof exports?i(e,require("jquery")):i(e,e.jQuery||e.Zepto)}(this,function(t,o){"use strict";function r(t){if(b&&"none"===t.css("animation-name")&&"none"===t.css("-webkit-animation-name")&&"none"===t.css("-moz-animation-name")&&"none"===t.css("-o-animation-name")&&"none"===t.css("-ms-animation-name"))return 0;for(var e,i=t.css("animation-duration")||t.css("-webkit-animation-duration")||t.css("-moz-animation-duration")||t.css("-o-animation-duration")||t.css("-ms-animation-duration")||"0s",n=t.css("animation-delay")||t.css("-webkit-animation-delay")||t.css("-moz-animation-delay")||t.css("-o-animation-delay")||t.css("-ms-animation-delay")||"0s",s=t.css("animation-iteration-count")||t.css("-webkit-animation-iteration-count")||t.css("-moz-animation-iteration-count")||t.css("-o-animation-iteration-count")||t.css("-ms-animation-iteration-count")||"1",i=i.split(", "),n=n.split(", "),s=s.split(", "),a=0,o=i.length,r=Number.NEGATIVE_INFINITY;a<o;a++)r<(e=parseFloat(i[a])*parseInt(s[a],10)+parseFloat(n[a]))&&(r=e);return r}function a(){var t,e,i;return o(document.body).height()<=o(window).height()?0:(e=document.createElement("div"),i=document.createElement("div"),e.style.visibility="hidden",e.style.width="100px",document.body.appendChild(e),t=e.offsetWidth,e.style.overflow="scroll",i.style.width="100%",e.appendChild(i),i=i.offsetWidth,e.parentNode.removeChild(e),t-i)}function n(){var t,e,i,n;w||(i=o("html"),n=c("is-locked"),i.hasClass(n)&&(e=o(document.body),t=parseInt(e.css("padding-right"),10)-a(),e.css("padding-right",t+"px"),i.removeClass(n)))}function l(t,e,i,n){var s=c("is",e),a=[c("is",_.CLOSING),c("is",_.OPENING),c("is",_.CLOSED),c("is",_.OPENED)].join(" ");t.$bg.removeClass(a).addClass(s),t.$overlay.removeClass(a).addClass(s),t.$wrapper.removeClass(a).addClass(s),t.$modal.removeClass(a).addClass(s),t.state=e,i||t.$modal.trigger({type:e,reason:n},[{reason:n}])}function u(t,e,i){function n(t){t.target===this&&a++}function s(t){t.target===this&&0==--a&&(o.each(["$bg","$overlay","$wrapper","$modal"],function(t,e){i[e].off(g+" "+v)}),e())}var a=0;o.each(["$bg","$overlay","$wrapper","$modal"],function(t,e){i[e].on(g,n).on(v,s)}),t(),0===r(i.$bg)&&0===r(i.$overlay)&&0===r(i.$wrapper)&&0===r(i.$modal)&&(o.each(["$bg","$overlay","$wrapper","$modal"],function(t,e){i[e].off(g+" "+v)}),e())}function h(i){i.state!==_.CLOSED&&(o.each(["$bg","$overlay","$wrapper","$modal"],function(t,e){i[e].off(g+" "+v)}),i.$bg.removeClass(i.settings.modifier),i.$overlay.removeClass(i.settings.modifier).hide(),i.$wrapper.hide(),n(),l(i,_.CLOSED,!0))}function c(){for(var t=s,e=0;e<arguments.length;++e)t+="-"+arguments[e];return t}function e(){var t,e=location.hash.replace("#","");if(e){try{t=o('[data-remodal-id="'+e+'"]')}catch(t){}t&&t.length&&(e=o[m].lookup[t.data(m)])&&e.settings.hashTracking&&e.open()}else p&&p.state===_.OPENED&&p.settings.hashTracking&&p.close()}function d(t,e){var i=o(document.body),n=this;n.settings=o.extend({},y,e),n.index=o[m].lookup.push(n)-1,n.state=_.CLOSED,n.$overlay=o("."+c("overlay")),n.$overlay.length||(n.$overlay=o("<div>").addClass(c("overlay")+" "+c("is",_.CLOSED)).hide(),i.append(n.$overlay)),n.$bg=o("."+c("bg")).addClass(c("is",_.CLOSED)),n.$modal=t.addClass(s+" "+c("is-initialized")+" "+n.settings.modifier+" "+c("is",_.CLOSED)).attr("tabindex","-1"),n.$wrapper=o("<div>").addClass(c("wrapper")+" "+n.settings.modifier+" "+c("is",_.CLOSED)).hide().append(n.$modal),i.append(n.$wrapper),n.$wrapper.on("click."+s,'[data-remodal-action="close"]',function(t){t.preventDefault(),n.close()}),n.$wrapper.on("click."+s,'[data-remodal-action="cancel"]',function(t){t.preventDefault(),n.$modal.trigger("cancellation"),n.settings.closeOnCancel&&n.close("cancellation")}),n.$wrapper.on("click."+s,'[data-remodal-action="confirm"]',function(t){t.preventDefault(),n.$modal.trigger("confirmation"),n.settings.closeOnConfirm&&n.close("confirmation")}),n.$wrapper.on("click."+s,function(t){o(t.target).hasClass(c("wrapper"))&&n.settings.closeOnOutsideClick&&n.close()})}var p,f,m="remodal",s=t.REMODAL_GLOBALS&&t.REMODAL_GLOBALS.NAMESPACE||m,g=o.map(["animationstart","webkitAnimationStart","MSAnimationStart","oAnimationStart"],function(t){return t+"."+s}).join(" "),v=o.map(["animationend","webkitAnimationEnd","MSAnimationEnd","oAnimationEnd"],function(t){return t+"."+s}).join(" "),y=o.extend({hashTracking:!0,closeOnConfirm:!0,closeOnCancel:!0,
62closeOnEscape:!0,closeOnOutsideClick:!0,modifier:""},t.REMODAL_GLOBALS&&t.REMODAL_GLOBALS.DEFAULTS),_={CLOSING:"closing",CLOSED:"closed",OPENING:"opening",OPENED:"opened"},b=void 0!==(t=document.createElement("div").style).animationName||void 0!==t.WebkitAnimationName||void 0!==t.MozAnimationName||void 0!==t.msAnimationName||void 0!==t.OAnimationName,w=/iPad|iPhone|iPod/.test(navigator.platform);d.prototype.open=function(){var t,e,i,n,s=this;s.state!==_.OPENING&&s.state!==_.CLOSING&&((i=s.$modal.attr("data-remodal-id"))&&s.settings.hashTracking&&(f=o(window).scrollTop(),location.hash=i),p&&p!==s&&h(p),p=s,w||(i=o("html"),n=c("is-locked"),i.hasClass(n))||(e=o(document.body),t=parseInt(e.css("padding-right"),10)+a(),e.css("padding-right",t+"px"),i.addClass(n)),s.$bg.addClass(s.settings.modifier),s.$overlay.addClass(s.settings.modifier).show(),s.$wrapper.show().scrollTop(0),s.$modal.focus(),u(function(){l(s,_.OPENING)},function(){l(s,_.OPENED)},s))},d.prototype.close=function(t){var e=this;e.state!==_.OPENING&&e.state!==_.CLOSING&&(e.settings.hashTracking&&e.$modal.attr("data-remodal-id")===location.hash.substr(1)&&(location.hash="",o(window).scrollTop(f)),u(function(){l(e,_.CLOSING,!1,t)},function(){e.$bg.removeClass(e.settings.modifier),e.$overlay.removeClass(e.settings.modifier).hide(),e.$wrapper.hide(),n(),l(e,_.CLOSED,!1,t)},e))},d.prototype.getState=function(){return this.state},d.prototype.destroy=function(){var t=o[m].lookup;h(this),this.$wrapper.remove(),delete t[this.index],0===o.grep(t,function(t){return!!t}).length&&(this.$overlay.remove(),this.$bg.removeClass(c("is",_.CLOSING)+" "+c("is",_.OPENING)+" "+c("is",_.CLOSED)+" "+c("is",_.OPENED)))},o[m]={lookup:[]},o.fn[m]=function(i){var n,s;return this.each(function(t,e){null==(s=o(e)).data(m)?(n=new d(s,i),s.data(m,n.index),n.settings.hashTracking&&s.attr("data-remodal-id")===location.hash.substr(1)&&n.open()):n=o[m].lookup[s.data(m)]}),n},o(document).ready(function(){o(document).on("click","[data-remodal-target]",function(t){t.preventDefault();t=t.currentTarget.getAttribute("data-remodal-target"),t=o('[data-remodal-id="'+t+'"]');o[m].lookup[t.data(m)].open()}),o(document).find("."+s).each(function(t,e){var e=o(e),a=e.data(m+"-options");a?("string"==typeof a||a instanceof String)&&(a=function(){for(var t,e,i={},n=0,s=(t=a.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(",")).length;n<s;n++)t[n]=t[n].split(":"),("string"==typeof(e="string"==typeof(e=t[n][1])||e instanceof String?"true"===e||"false"!==e&&e:e)||e instanceof String)&&(e=isNaN(e)?e:+e),i[t[n][0]]=e;return i}()):a={},e[m](a)}),o(document).on("keydown."+s,function(t){p&&p.settings.closeOnEscape&&p.state===_.OPENED&&27===t.keyCode&&p.close()}),o(window).on("hashchange."+s,e)})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,function(t){"use strict";var r={TASK_SUCCEEDED:"succeeded",TASK_PROCESSING:"processing",TASK_FAILED:"failed",TASK_ENQUEUED:"enqueued",TASK_CANCELED:"canceled"},A={INDEX_CREATION_FAILED:"index_creation_failed",MISSING_INDEX_UID:"missing_index_uid",INDEX_ALREADY_EXISTS:"index_already_exists",INDEX_NOT_FOUND:"index_not_found",INVALID_INDEX_UID:"invalid_index_uid",INDEX_NOT_ACCESSIBLE:"index_not_accessible",INVALID_INDEX_OFFSET:"invalid_index_offset",INVALID_INDEX_LIMIT:"invalid_index_limit",INVA
62LID_STATE:"invalid_state",PRIMARY_KEY_INFERENCE_FAILED:"primary_key_inference_failed",INDEX_PRIMARY_KEY_ALREADY_EXISTS:"index_primary_key_already_exists",INVALID_INDEX_PRIMARY_KEY:"invalid_index_primary_key",DOCUMENTS_FIELDS_LIMIT_REACHED:"document_fields_limit_reached",MISSING_DOCUMENT_ID:"missing_document_id",INVALID_DOCUMENT_ID:"invalid_document_id",INVALID_CONTENT_TYPE:"invalid_content_type",MISSING_CONTENT_TYPE:"missing_content_type",INVALID_DOCUMENT_FIELDS:"invalid_document_fields",INVALID_DOCUMENT_LIMIT:"invalid_document_limit",INVALID_DOCUMENT_OFFSET:"invalid_document_offset",INVALID_DOCUMENT_FILTER:"invalid_document_filter",MISSING_DOCUMENT_FILTER:"missing_document_filter",INVALID_DOCUMENT_VECTORS_FIELD:"invalid_document_vectors_field",PAYLOAD_TOO_LARGE:"payload_too_large",MISSING_PAYLOAD:"missing_payload",MALFORMED_PAYLOAD:"malformed_payload",NO_SPACE_LEFT_ON_DEVICE:"no_space_left_on_device",INVALID_STORE_FILE:"invalid_store_file",INVALID_RANKING_RULES:"missing_document_id",INVALID_REQUEST:"invalid_request",INVALID_DOCUMENT_GEO_FIELD:"invalid_document_geo_field",INVALID_SEARCH_Q:"invalid_search_q",INVALID_SEARCH_OFFSET:"invalid_search_offset",INVALID_SEARCH_LIMIT:"invalid_search_limit",INVA
62LID_SEARCH_PAGE:"invalid_search_page",INVALID_SEARCH_HITS_PER_PAGE:"invalid_search_hits_per_page",INVALID_SEARCH_ATTRIBUTES_TO_RETRIEVE:"invalid_search_attributes_to_retrieve",INVALID_SEARCH_ATTRIBUTES_TO_CROP:"invalid_search_attributes_to_crop",INVALID_SEARCH_CROP_LENGTH:"invalid_search_crop_length",INVALID_SEARCH_ATTRIBUTES_TO_HIGHLIGHT:"invalid_search_attributes_to_highlight",INVALID_SEARCH_SHOW_MATCHES_POSITION:"invalid_search_show_matches_position",INVALID_SEARCH_FILTER:"invalid_search_filter",INVALID_SEARCH_SORT:"invalid_search_sort",INVALID_SEARCH_FACETS:"invalid_search_facets",INVALID_SEARCH_HIGHLIGHT_PRE_TAG:"invalid_search_highlight_pre_tag",INVALID_SEARCH_HIGHLIGHT_POST_TAG:"invalid_search_highlight_post_tag",INVALID_SEARCH_CROP_MARKER:"invalid_search_crop_marker",INVALID_SEARCH_MATCHING_STRATEGY:"invalid_search_matching_strategy",INVALID_SEARCH_VECTOR:"invalid_search_vector",INVALID_SEARCH_ATTRIBUTES_TO_SEARCH_ON:"invalid_search_attributes_to_search_on",BAD_REQUEST:"bad_request",DOCUMENT_NOT_FOUND:"document_not_found",INTERNAL:"internal",INVALID_API_KEY:"invalid_api_key",INVALID_API_KEY_DESCRIPTION:"invalid_api_key_description",INVALID_API_KEY_ACTIONS:"invalid_api_key_actions",INVALID_API_KEY_INDEXES:"invalid_api_key_indexes",INVALID_API_KEY_EXPIRES_AT:"invalid_api_key_expires_at",API_KEY_NOT_FOUND:"api_key_not_found",IMMUTABLE_API_KEY_UID:"immutable_api_key_uid",IMMUTABLE_API_KEY_ACTIONS:"immutable_api_key_actions",IMMUTABLE_API_KEY_INDEXES:"immutable_api_key_indexes",IMMUTABLE_API_KEY_EXPIRES_AT:"immutable_api_key_expires_at",IMMUTABLE_API_KEY_CREATED_AT:"immutable_api_key_created_at",IMMUTABLE_API_KEY_UPDATED_AT:"immutable_api_key_updated_at",MISSING_AUTHORIZATION_HEADER:"missing_authorization_header",UNRETRIEVABLE_DOCUMENT:"unretrievable_document",MAX_DATABASE_SIZE_LIMIT_REACHED:"database_size_limit_reached",TASK_NOT_FOUND:"task_not_found",DUMP_PROCESS_FAILED:"dump_process_failed",DUMP_NOT_FOUND:"dump_not_found",INVALID_SWAP_DUPLICATE_INDEX_FOUND:"invalid_swap_duplicate_index_found",INVALID_SWAP_INDEXES:"invalid_swap_indexes",MISSING_SWAP_INDEXES:"missing_swap_indexes",MISSING_MASTER_KEY:"missing_master_key",INVALID_TASK_TYPES:"invalid_task_types",INVALID_TASK_UIDS:"invalid_task_uids",INVALID_TASK_STATUSES:"invalid_task_statuses",INVALID_TASK_LIMIT:"invalid_task_limit",INVA
62LID_TASK_FROM:"invalid_task_from",INVALID_TASK_CANCELED_BY:"invalid_task_canceled_by",MISSING_TASK_FILTERS:"missing_task_filters",TOO_MANY_OPEN_FILES:"too_many_open_files",IO_ERROR:"io_error",INVALID_TASK_INDEX_UIDS:"invalid_task_index_uids",IMMUTABLE_INDEX_UID:"immutable_index_uid",IMMUTABLE_INDEX_CREATED_AT:"immutable_index_created_at",IMMUTABLE_INDEX_UPDATED_AT:"immutable_index_updated_at",INVALID_SETTINGS_DISPLAYED_ATTRIBUTES:"invalid_settings_displayed_attributes",INVALID_SETTINGS_SEARCHABLE_ATTRIBUTES:"invalid_settings_searchable_attributes",INVALID_SETTINGS_FILTERABLE_ATTRIBUTES:"invalid_settings_filterable_attributes",INVALID_SETTINGS_SORTABLE_ATTRIBUTES:"invalid_settings_sortable_attributes",INVALID_SETTINGS_RANKING_RULES:"invalid_settings_ranking_rules",INVALID_SETTINGS_STOP_WORDS:"invalid_settings_stop_words",INVALID_SETTINGS_SYNONYMS:"invalid_settings_synonyms",INVALID_SETTINGS_DISTINCT_ATTRIBUTE:"invalid_settings_distinct_attribute",INVALID_SETTINGS_TYPO_TOLERANCE:"invalid_settings_typo_tolerance",INVALID_SETTINGS_FACETING:"invalid_settings_faceting",INVALID_SETTINGS_PAGINATION:"invalid_settings_pagination",INVALID_SETTINGS_SEARCH_CUTOFF_MS:"invalid_settings_search_cutoff_ms",INVALID_SETTINGS_LOCALIZED_ATTRIBUTES:"invalid_settings_localized_attributes",INVALID_TASK_BEFORE_ENQUEUED_AT:"invalid_task_before_enqueued_at",INVALID_TASK_AFTER_ENQUEUED_AT:"invalid_task_after_enqueued_at",INVALID_TASK_BEFORE_STARTED_AT:"invalid_task_before_started_at",INVALID_TASK_AFTER_STARTED_AT:"invalid_task_after_started_at",INVALID_TASK_BEFORE_FINISHED_AT:"invalid_task_before_finished_at",INVALID_TASK_AFTER_FINISHED_AT:"invalid_task_after_finished_at",MISSING_API_KEY_ACTIONS:"missing_api_key_actions",MISSING_API_KEY_INDEXES:"missing_api_key_indexes",MISSING_API_KEY_EXPIRES_AT:"missing_api_key_expires_at",INVALID_API_KEY_LIMIT:"invalid_api_key_limit",INVA
vendor: 9,077 bytes, line 62
62LID_API_KEY_OFFSET:"invalid_api_key_offset",INVALID_FACET_SEARCH_FACET_NAME:"invalid_facet_search_facet_name",MISSING_FACET_SEARCH_FACET_NAME:"missing_facet_search_facet_name",INVALID_FACET_SEARCH_FACET_QUERY:"invalid_facet_search_facet_query",INVALID_SEARCH_RANKING_SCORE_THRESHOLD:"invalid_search_ranking_score_threshold",INVALID_SIMILAR_RANKING_SCORE_THRESHOLD:"invalid_similar_ranking_score_threshold"};function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function l(t,e,i,n,s,a,o){try{var r=t[a](o),l=r.value}catch(t){return i(t)}r.done?e(l):Promise.resolve(l).then(n,s)}function zt(r){return function(){var t=this,o=arguments;return new Promise(function(e,i){var n=r.apply(t,o);function s(t){l(n,e,i,s,a,"next",t)}function a(t){l(n,e,i,s,a,"throw",t)}s(void 0)})}}function a(t,e,i){e=o(e);var n=t,e=h()?Reflect.construct(e,i||[],o(t).constructor):e.apply(t,i);if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");t=n;if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ht(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(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,p(n.key),n)}}function Ft(t,e,i){return e&&s(t.prototype,e),i&&s(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function jt(t,e,i){return(e=p(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}function c(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function $t(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?c(Object(i),!0).forEach(function(t){jt(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Wt(){Wt=function(){return o};var l,o={},t=Object.prototype,u=t.hasOwnProperty,h=Object.defineProperty||function(t,e,i){t[e]=i.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",i=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function a(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(l){a=function(t,e,i){return t[e]=i}}function r(t,e,i,n){var s,a,o,r,e=e&&e.prototype instanceof v?e:v,e=Object.create(e.prototype),n=new I(n||[]);return h(e,"_invoke",{value:(s=t,a=i,o=n,r=d,function(t,e){if(r===f)throw Error("Generator is already running");if(r===m){if("throw"===t)throw e;return{value:l,done:!0}}for(o.method=t,o.arg=e;;){var i=o.delegate;if(i){i=function t(e,i){var n=i.method,s=e.iterator[n];return s===l?(i.delegate=null,"throw"===n&&e.iterator.return&&(i.method="return",i.arg=l,t(e,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g):"throw"===(n=c(s,e.iterator,i.arg)).type?(i.method="throw",i.arg=n.arg,i.delegate=null,g):(s=n.arg)?s.done?(i[e.resultName]=s.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=l),i.delegate=null,g):s:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}(i,o);if(i){if(i===g)continue;return i}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(r===d)throw r=m,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r=f;i=c(s,a,o);if("normal"===i.type){if(r=o.done?m:p,i.arg===g)continue;return{value:i.arg,done:o.done}}"throw"===i.type&&(r=m,o.method="throw",o.arg=i.arg)}})}),e}function c(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=r;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function _(){}var e={},b=(a(e,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(S([]))),w=(b&&b!==t&&u.call(b,n)&&(e=b),_.prototype=v.prototype=Object.create(e));function x(t){["next","throw","return"].forEach(function(e){a(t,e,function(t){return this._invoke(e,t)})})}function T(o,r){var e;h(this,"_invoke",{value:function(i,n){function t(){return new r(function(t,e){!function e(t,i,n,s){var a,t=c(o[t],o,i);return"throw"!==t.type?(i=(a=t.arg).value)&&"object"==typeof i&&u.call(i,"__await")?r.resolve(i.__await).then(function(t){e("next",t,n,s)},function(t){e("throw",t,n,s)}):r.resolve(i).then(function(t){a.value=t,n(a)},function(t){return e("throw",t,n,s)}):void s(t.arg)}(i,n,t,e)})}return e=e?e.then(t,t):t()}})}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(e){if(e||""===e){var i,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return i=-1,(t=function t(){for(;++i<e.length;)if(u.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=l,t.done=!0,t}).next=t}throw new TypeError(typeof e+" is not iterable")}return h(w,"constructor",{value:y.prototype=_,configurable:!0}),h(_,"constructor",{value:y,configurable:!0}),y.displayName=a(_,s,"GeneratorFunction"),o.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,a(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},o.awrap=function(t){return{__await:t}},x(T.prototype),a(T.prototype,i,function(){return this}),o.AsyncIterator=T,o.async=function(t,e,i,n,s){void 0===s&&(s=Promise);var a=new T(r(t,e,i,n),s);return o.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},x(w),a(w,s,"Generator"),a(w,n,function(){return this}),a(w,"toString",function(){return"[object Generator]"}),o.keys=function(t){var e,i=Object(t),n=[];for(e in i)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in i)return t.value=e,t.done=!1,t}return t.done=!0,t}},o.values=S,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=l)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var n=this;function t(t,e){return a.type="throw",a.arg=i,n.next=t,e&&(n.method="next",n.arg=l),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var s=this.tryEntries[e],a=s.completion;if("root"===s.tryLoc)return t("end");if(s.tryLoc<=this.prev){var o=u.call(s,"catchLoc"),r=u.call(s,"finallyLoc");if(o&&r){if(this.prev<s.catchLoc)return t(s.catchLoc,!0);if(this.prev<s.finallyLoc)return t(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return t(s.catchLoc,!0)}else{if(!r)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return t(s.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;0<=i;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}var a=(s=s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc?null:s)?s.completion:{};return a.type=t,a.arg=e,s?(this.method="next",this.next=s.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),C(i),g}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var i,n,s=this.tryEntries[e];if(s.tryLoc===t)return"throw"===(i=s.completion).type&&(n=i.arg,C(s)),n}throw Error("illegal catch attempt")}
62,delegateYield:function(t,e,i){return this.delegate={iterator:S(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=l),g}},o}function d(t,e){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function p(t){t=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);e=e.call(t,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t);return"symbol"==typeof t?t:t+""}function qt(t){return(qt="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})(t)}function f(t,e){var i;if(t)return"string"==typeof t?n(t,e):"Map"===(i="Object"===(i={}.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}function e(t){var e="function"==typeof Map?new Map:void 0,i=t;if(null===i||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(i))return i;if("function"!=typeof i)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(i))return e.get(i);e.set(i,n)}function n(){return function(t,e,i){var n;return h()?Reflect.construct.apply(null,arguments):((n=[null]).push.apply(n,e),e=new(t.bind.apply(t,n)),i&&d(e,i.prototype),e)}(i,arguments,o(this).constructor)}return n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,i)}var Bt=function(){function s(){var t;Ht(this,s);for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return jt(t=a(this,s,[].concat(i)),"name","MeiliSearchError"),t}return u(s,e(Error)),Ft(s)}(),Ut=function(){function n(t,e){var i;return Ht(this,n),jt(i=a(this,n,[null!=(i=null==e?void 0:e.message)?i:"".concat(t.status,": ").concat(t.statusText)]),"name","MeiliSearchApiError"),jt(i,"cause",void 0),jt(i,"response",void 0),i.response=t,void 0!==e&&(i.cause=e),i}return u(n,Bt),Ft(n)}(),Yt=function(){function i(t,e){return Ht(this,i),jt(t=a(this,i,["Request to ".concat(t," has failed"),{cause:e}]),"name","MeiliSearchRequestError"),t}return u(i,Bt),Ft(i)}(),m=function(){function e(t){return Ht(this,e),jt(t=a(this,e,[t]),"name","MeiliSearchTimeOutError"),t}return u(e,Bt),Ft(e)}();function Vt(t,e){return"".concat(t,"\nHint: It might not be working because maybe you're not up to date with the Meilisearch version that ").concat(e," call requires.")}function Xt(t){return Object.entries(t).reduce(function(t,e){i=2;var e=function(t){if(Array.isArray(t))return t}(e=e)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,s,a,o,r=[],l=!0,u=!1;try{if(a=(i=i.call(t)).next,0!==e)for(;!(l=(n=a.call(i)).done)&&(r.push(n.value),r.length!==e);l=!0);}catch(t){u=!0,s=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw s}}return r}}(e,i)||f(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=e[0],e=e[1];return void 0!==e&&(t[i]=e),t},{})}function g(){return(g=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise(function(t){return setTimeout(t,e)});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(n){return Object.keys(n).reduce(function(t,e){var i=n[e];return void 0===i?t:Array.isArray(i)?$t($t({},t),{},jt({},e,i.join(","))):i instanceof Date?$t($t({},t),{},jt({},e,i.toISOString())):$t($t({},t),{},jt({},e,i))},{})}var Gt=function(){return Ft(function t(e){Ht(this,t),jt(this,"headers",void 0),jt(this,"url",void 0),jt(this,"requestConfig",void 0),jt(this,"httpClient",void 0),jt(this,"requestTimeout",void 0),this.headers=function(t){var i,e="X-Meilisearch-Client",n="Meilisearch JavaScript (v".concat("0.47.0",")"),s="Authorization",a=(a=null!=(a=null==(a=t.requestConfig)?void 0:a.headers)?a:{},Array.isArray(a)?a.reduce(function(t,e){return t[e[0]]=e[1],t},{}):"has"in a?(i={},a.forEach(function(t,e){return i[e]=t}),i):Object.assign({},a));if(t.apiKey&&!a[s]&&(a[s]="Bearer ".concat(t.apiKey)),a["Content-Type"]||(a["Content-Type"]="application/json"),t.clientAgents&&Array.isArray(t.clientAgents)){s=t.clientAgents.concat(n);a[e]=s.join(" ; ")}else{if(t.clientAgents&&!Array.isArray(t.clientAgents))throw new Bt('Meilisearch: The header "'.concat(e,'" should be an array of str
62ing(s).\n'));a[e]=n}return a}(e),this.requestConfig=e.requestConfig,this.httpClient=e.httpClient,this.requestTimeout=e.timeout;try{var i=function(t){try{return(e=t=(i=t).startsWith("https://")||i.startsWith("http://")?i:"http://".concat(i)).endsWith("/")||(e+="/"),t=e}catch(t){throw new Bt("The provided host is not valid.")}var e,i}(e.host);this.url=new URL(i)}catch(t){throw new Bt("The provided host is not valid.")}},[{key:"request",value:(e=zt(Wt().mark(function t(e){var i,n,s,a,o,r,l,u,h;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=e.method,o=e.url,i=e.params,n=e.body,r=e.config,r=void 0===r?{}:r,s=new URL(o,this.url),i&&(a=new URLSearchParams,Object.keys(i).filter(function(t){return null!==i[t]}).map(function(t){return a.set(t,i[t])}),s.search=a.toString()),null!=(o=r.headers)&&o["Content-Type"]||(n=JSON.stringify(n)),o=$t($t({},this.headers),r.headers),r=this.fetchWithTimeout(s.toString(),$t($t($t({},r),this.requestConfig),{},{method:u,body:n,headers:o}),this.requestTimeout),t.next=8,r.catch(function(t){throw new Yt(s.toString(),t)});case 8:if(l=t.sent,void 0!==this.httpClient)return t.abrupt("return",l);t.next=11;break;case 11:return t.next=13,l.text();case 13:if(u=t.sent,h=""===u?void 0:JSON.parse(u),l.ok){t.next=17;break}throw new Ut(l,h);case 17:return t.abrupt("return",h);case 18:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)})},{key:"fetchWithTimeout",value:(l=zt(Wt().mark(function t(a,o,r){var l=this;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,e){var i,n,s=[(l.httpClient||fetch)(a,o)];r&&(n=new Promise(function(t,e){i=setTimeout(function(){e(new Error("Error: Request Timed Out"))},r)}),s.push(n)),Promise.race(s).then(t).catch(e).finally(function(){clearTimeout(i)})}));case 1:case"end":return t.stop()}},t)})),function(t,e,i){return l.apply(this,arguments)})},{key:"get",value:(n=zt(Wt().mark(function t(e,i,n){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.request({method:"GET",url:e,params:i,config:n});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t,e,i){return n.apply(this,arguments)})},{key:"post",value:(r=zt(Wt().mark(function t(e,i,n,s){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.request({method:"POST",url:e,body:i,params:n,config:s});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t,e,i,n){return r.apply(this,arguments)})},{key:"put",value:(o=zt(Wt().mark(function t(e,i,n,s){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.request({method:"PUT",url:e,body:i,params:n,config:s});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t,e,i,n){return o.apply(this,arguments)})},{key:"patch",value:(a=zt(Wt().mark(function t(e,i,n,s){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.request({method:"PATCH",url:e,body:i,params:n,config:s});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t,e,i,n){return a.apply(this,arguments)})},{key:"delete",value:(s=zt(Wt().mark(function t(e,i,n,s){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.request({method:"DELETE",url:e,body:i,params:n,config:s});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t,e,i,n){return s.apply(this,arguments)})}]);var s,a,o,r,n,l,e}(),Kt=Ft(function t(e){Ht(this,t),jt(this,"taskUid",void 0),jt(this,"indexUid",void 0),jt(this,"status",void 0),jt(this,"type",void 0),jt(this,"enqueuedAt",void 0),this.taskUid=e.taskUid,this.indexUid=e.indexUid,this.status=e.status,this.type=e.type,this.enqueuedAt=new Date(e.enqueuedAt)}),y=Ft(function t(e){Ht(this,t),jt(this,"indexUid",void 0),jt(this,"status",void 0),jt(this,"type",void 0),jt(this,"uid",void 0),jt(this,"batchUid",void 0),jt(this,"canceledBy",void 0),jt(this,"details",void 0),jt(this,"error",void 0),jt(this,"duration",void 0),jt(this,"startedAt",void 0),jt(this,"enqueuedAt",void 0),jt(this,"finishedAt",void 0),this.indexUid=e.indexUid,this.status=e.status,this.type=e.type,this.uid=e.uid,this.batchUid=e.batchUid,this.details=e.details,this.canceledBy=e.canceledBy,this.error=e.error,this.duration=e.duration,this.startedAt=new Date(e.startedAt),this.enqueuedAt=new Date(e.enqueuedAt),this.finishedAt=new Date(e.finishedAt)}),Qt=function(){return Ft(function t(e){Ht(this,t),jt(this,"httpRequest",void 0),this.httpRequest=new Gt(e)},[{key:"getTask",value:(a=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="tasks/".concat(e),t.next=3,this.httpRequest.get(i);case 3:return i=t.sent,t.abrupt("return",new y(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return a.apply(this,arguments)})},{key:"getTasks",value:(s=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.get("tasks",v(e));case 4:return e=t.sent,t.abrupt("return",$t($t({},e),{},{results:e.results.map(function(t){return new y(t)})}
62));case 6:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"waitForTask",value:(n=zt(Wt().mark(function t(e){var i,n,s,a,o=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=(n=1<o.length&&void 0!==o[1]?o[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,s=Date.now();case 2:if(Date.now()-s<i)return t.next=5,this.getTask(e);t.next=12;break;case 5:if(a=t.sent,[r.TASK_ENQUEUED,r.TASK_PROCESSING].includes(a.status)){t.next=8;break}return t.abrupt("return",a);case 8:return t.next=10,function(){return g.apply(this,arguments)}(n);case 10:t.next=2;break;case 12:throw new m("timeout of ".concat(i,"ms has exceeded on process ").concat(e," when waiting a task to be resolved."));case 13:case"end":return t.stop()}},t,this)})),function(t){return n.apply(this,arguments)})},{key:"waitForTasks",value:(i=zt(Wt().mark(function t(e){var i,n,s,a,o,r=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=(n=1<r.length&&void 0!==r[1]?r[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,s=[],a=function(t){var e,i,n,s,a,o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return n=!(i=!0),{s:function(){o=o.call(t)},n:function(){var t=o.next();return i=t.done,t},e:function(t){n=!0,e=t},f:function(){try{i||null==o.return||o.return()}finally{if(n)throw e}}};if(Array.isArray(t)||(o=f(t)))return o&&(t=o),s=0,{s:a=function(){},n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:a};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e),t.prev=3,a.s();case 5:if((o=a.n()).done){t.next=13;break}return o=o.value,t.next=9,this.waitForTask(o,{timeOutMs:i,intervalMs:n});case 9:o=t.sent,s.push(o);case 11:t.next=5;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(3),a.e(t.t0);case 18:return t.prev=18,a.f(),t.finish(18);case 21:return t.abrupt("return",s);case 22:case"end":return t.stop()}},t,this,[[3,15,18,21]])})),function(t){return i.apply(this,arguments)})},{key:"cancelTasks",value:(e=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.post("tasks/cancel",{},v(e));case 4:return e=t.sent,t.abrupt("return",new Kt(e));case 6:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"deleteTasks",value:(t=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.delete("tasks",{},v(e));case 4:return e=t.sent,t.abrupt("return",new Kt(e));case 6:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})}]);var t,e,i,n,s,a}(),E=function(){return Ft(function t(e,i,n){Ht(this,t),jt(this,"uid",void 0),jt(this,"primaryKey",void 0),jt(this,"createdAt",void 0),jt(this,"updatedAt",void 0),jt(this,"httpRequest",void 0),jt(this,"tasks",void 0),this.uid=i,this.primaryKey=n,this.httpRequest=new Gt(e),this.tasks=new Qt(e)},[{key:"search",value:(Rt=zt(Wt().mark(function t(e,i,n){var s;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s="indexes/".concat(this.uid,"/search"),t.next=3,this.httpRequest.post(s,Xt($t({q:e},i)),void 0,n);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t,e,i){return Rt.apply(this,arguments)})},{key:"searchGet",value:(Lt=zt(Wt().mark(function t(e,i,n){var s,a;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s="indexes/".concat(this.uid,"/search"),a=function(t){if("string"==typeof t)return t;if(Array.isArray(t))throw new Bt("The filter query parameter should be in string format when using searchGet")},a=$t($t({q:e},i),{},{filter:a(null==i?void 0:i.filter),sort:null==i||null==(a=i.sort)?void 0:a.join(","),facets:null==i||null==(a=i.facets)?void 0:a.join(","),attributesToRetrieve:null==i||null==(a=i.attributesToRetrieve)?void 0:a.join(","),attributesToCrop:null==i||null==(a=i.attributesToCrop)?void 0:a.join(","),attributesToHighlight:null==i||null==(a=i.attributesToHighlight)?void 0:a.join(","),vector:null==i||null==(a=i.vector)?void 0:a.join(","),attributesToSearchOn:null==i||null==(a=i.attributesToSearchOn)?void 0:a.join(",")}),t.next=5,this.httpRequest.get(s,Xt(a),n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}},t,this)}
62)),function(t,e,i){return Lt.apply(this,arguments)})},{key:"searchForFacetValues",value:(Nt=zt(Wt().mark(function t(e,i){var n;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="indexes/".concat(this.uid,"/facet-search"),t.next=3,this.httpRequest.post(n,Xt(e),void 0,i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t,e){return Nt.apply(this,arguments)})},{key:"searchSimilarDocuments",value:(Mt=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/similar"),t.next=3,this.httpRequest.post(i,Xt(e),void 0);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return Mt.apply(this,arguments)})},{key:"getRawInfo",value:(Ot=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid),t.next=3,this.httpRequest.get(e);case 3:return e=t.sent,this.primaryKey=e.primaryKey,this.updatedAt=new Date(e.updatedAt),this.createdAt=new Date(e.createdAt),t.abrupt("return",e);case 8:case"end":return t.stop()}},t,this)})),function(){return Ot.apply(this,arguments)})},{key:"fetchInfo",value:(Pt=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRawInfo();case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}},t,this)})),function(){return Pt.apply(this,arguments)})},{key:"fetchPrimaryKey",value:(Et=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRawInfo();case 2:return this.primaryKey=t.sent.primaryKey,t.abrupt("return",this.primaryKey);case 4:case"end":return t.stop()}},t,this)})),function(){return Et.apply(this,arguments)})},{key:"update",value:(At=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid),t.next=3,this.httpRequest.patch(i,e);case 3:return(i=t.sent).enqueuedAt=new Date(i.enqueuedAt),t.abrupt("return",i);case 6:case"end":return t.stop()}},t,this)})),function(t){return At.apply(this,arguments)})},{key:"delete",value:(Dt=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return Dt.apply(this,arguments)})},{key:"getTasks",value:(St=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=3,this.tasks.getTasks($t($t({},e),{},{indexUids:[this.uid]}));case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return St.apply(this,arguments)})},{key:"getTask",value:(It=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.tasks.getTask(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t){return It.apply(this,arguments)})},{key:"waitForTasks",value:(Ct=zt(Wt().mark(function t(e){var i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=(n=1<s.length&&void 0!==s[1]?s[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,t.next=3,this.tasks.waitForTasks(e,{timeOutMs:i,intervalMs:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return Ct.apply(this,arguments)})},{key:"waitForTask",value:(kt=zt(Wt().mark(function t(e){var i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=(n=1<s.length&&void 0!==s[1]?s[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,t.next=3,this.tasks.waitForTask(e,{timeOutMs:i,intervalMs:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return kt.apply(this,arguments)})},{key:"getStats",value:(Tt=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/stats"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return Tt.apply(this,arguments)})},{key:"getDocuments",value:(xt=zt(Wt().mark(function t(){var e,i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==(e=Xt(e=0<s.length&&void 0!==s[0]?s[0]:{})).filter)return t.prev=3,i="indexes/".concat(this.uid,"/documents/fetch"),t.next=7,this.httpRequest.post(i,e);t.next=16;break;case 7:return t.abrupt("return",t.sent);case 10:throw t.prev=10,t.t0=t.catch(3),(t.t0 instanceof Yt||t.t0 instanceof Ut)&&(t.t0.message=Vt(t.t0.message,"getDocuments")),t.t0;case 14:t.next=21;break;case 16:return i="indexes/".concat(this.uid,"/documents"),n=Array.isArray(null==(n=e)?void 0:n.fields)?{fields:null==(n=e)||null==(n=n.fields)?void 0:n.join(",")}:{},t.next=20,this.httpRequest.get(i,$t($t({},e),n));case 20:return t.abrupt("return",t.sent);case 21:case"end":return t.stop()}},t,this,[[3,10]])})),function(){return xt.apply(this,arguments)})},{key:"getDocument",value:(wt=zt(Wt().mark(function t(i,n){var s,a;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s="indexes/".concat(this.uid,"/documents/").concat(i),e=void 0,a=Array.isArray(null==n?void 0:n.fields)&&null!=n&&null!=(e=n.fields)?e.join(","):void 0,t.next=4,this.httpRequest.get(s,Xt($t($t({},n),{},{fields:a})));case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}var e},t,this)})),function(t,e){return wt.apply(this,arguments)})},{key:"addDocuments",value:(bt=zt(Wt().mark(function t(e,i){var n;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="indexes/".concat(this.uid,"/documents"),t.next=3,this.httpRequest.post(n,e,i);case 3:return n=t.sent,t.abrupt("return",new Kt(n));case 5:case"end":return t.stop()}},t,this)})),function(t,e){return bt.apply(this,arguments)})},{key:"addDocumentsFromString",value:(_t=zt(Wt().mark(function t(e,i,n){var s;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s="indexes/".concat(this.uid,"/documents"),t.next=3,this.httpRequest.post(s,e,
62n,{headers:{"Content-Type":i}});case 3:return s=t.sent,t.abrupt("return",new Kt(s));case 5:case"end":return t.stop()}},t,this)})),function(t,e,i){return _t.apply(this,arguments)})},{key:"addDocumentsInBatches",value:(yt=zt(Wt().mark(function t(e){var i,n,s,a,o=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=1<o.length&&void 0!==o[1]?o[1]:1e3,n=2<o.length?o[2]:void 0,s=[],a=0;case 4:if(a<e.length)return t.t0=s,t.next=8,this.addDocuments(e.slice(a,a+i),n);t.next=13;break;case 8:t.t1=t.sent,t.t0.push.call(t.t0,t.t1);case 10:a+=i,t.next=4;break;case 13:return t.abrupt("return",s);case 14:case"end":return t.stop()}},t,this)})),function(t){return yt.apply(this,arguments)})},{key:"updateDocuments",value:(vt=zt(Wt().mark(function t(e,i){var n;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="indexes/".concat(this.uid,"/documents"),t.next=3,this.httpRequest.put(n,e,i);case 3:return n=t.sent,t.abrupt("return",new Kt(n));case 5:case"end":return t.stop()}},t,this)})),function(t,e){return vt.apply(this,arguments)})},{key:"updateDocumentsInBatches",value:(gt=zt(Wt().mark(function t(e){var i,n,s,a,o=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:i=1<o.length&&void 0!==o[1]?o[1]:1e3,n=2<o.length?o[2]:void 0,s=[],a=0;case 4:if(a<e.length)return t.t0=s,t.next=8,this.updateDocuments(e.slice(a,a+i),n);t.next=13;break;case 8:t.t1=t.sent,t.t0.push.call(t.t0,t.t1);case 10:a+=i,t.next=4;break;case 13:return t.abrupt("return",s);case 14:case"end":return t.stop()}},t,this)})),function(t){return gt.apply(this,arguments)})},{key:"updateDocumentsFromString",value:(mt=zt(Wt().mark(function t(e,i,n){var s;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s="indexes/".concat(this.uid,"/documents"),t.next=3,this.httpRequest.put(s,e,n,{headers:{"Content-Type":i}});case 3:return s=t.sent,t.abrupt("return",new Kt(s));case 5:case"end":return t.stop()}},t,this)})),function(t,e,i){return mt.apply(this,arguments)})},{key:"deleteDocument",value:(ft=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/documents/").concat(e),t.next=3,this.httpRequest.delete(i);case 3:return(i=t.sent).enqueuedAt=new Date(i.enqueuedAt),t.abrupt("return",i);case 6:case"end":return t.stop()}},t,this)})),function(t){return ft.apply(this,arguments)})},{key:"deleteDocuments",value:(pt=zt(Wt().mark(function t(e){var i,n;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=!Array.isArray(e)&&"object"===qt(e),n=i?"documents/delete":"documents/delete-batch",n="indexes/".concat(this.uid,"/").concat(n),t.prev=3,t.next=6,this.httpRequest.post(n,e);case 6:return n=t.sent,t.abrupt("return",new Kt(n));case 10:throw t.prev=10,t.t0=t.catch(3),(t.t0 instanceof Yt&&i||t.t0 instanceof Ut)&&(t.t0.message=Vt(t.t0.message,"deleteDocuments")),t.t0;case 14:case"end":return t.stop()}},t,this,[[3,10]])})),function(t){return pt.apply(this,arguments)})},{key:"deleteAllDocuments",value:(dt=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/documents"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return dt.apply(this,arguments)})},{key:"updateDocumentsByFunction",value:(ct=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/documents/edit"),t.next=3,this.httpRequest.post(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return ct.apply(this,arguments)})},{key:"getSettings",value:(ht=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return ht.apply(this,arguments)})},{key:"updateSettings",value:(ut=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings"),t.next=3,this.httpRequest.patch(i,e);case 3:return(i=t.sent).enqueued=new Date(i.enqueuedAt),t.abrupt("return",i);case 6:case"end":return t.stop()}},t,this)})),function(t){return ut.apply(this,arguments)})},{key:"resetSettings",value:(lt=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return lt.apply(this,arguments)})},{key:"getPagination",value:(rt=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/pagination"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return rt.apply(this,arguments)})},{key:"updatePagination",value:(ot=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/pagination"),t.next=3,this.httpRequest.patch(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return ot.apply(this,arguments)})},{key:"resetPagination",value:(at=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/pagination"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)}
vendor: 16,384 bytes, line 62
62)),function(){return at.apply(this,arguments)})},{key:"getSynonyms",value:(st=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/synonyms"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return st.apply(this,arguments)})},{key:"updateSynonyms",value:(nt=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/synonyms"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return nt.apply(this,arguments)})},{key:"resetSynonyms",value:(it=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/synonyms"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return it.apply(this,arguments)})},{key:"getStopWords",value:(et=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/stop-words"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return et.apply(this,arguments)})},{key:"updateStopWords",value:(tt=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/stop-words"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return tt.apply(this,arguments)})},{key:"resetStopWords",value:(J=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/stop-words"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return J.apply(this,arguments)})},{key:"getRankingRules",value:(Z=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/ranking-rules"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return Z.apply(this,arguments)})},{key:"updateRankingRules",value:(Q=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/ranking-rules"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return Q.apply(this,arguments)})},{key:"resetRankingRules",value:(K=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/ranking-rules"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return K.apply(this,arguments)})},{key:"getDistinctAttribute",value:(G=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/distinct-attribute"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return G.apply(this,arguments)})},{key:"updateDistinctAttribute",value:(X=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/distinct-attribute"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return X.apply(this,arguments)})},{key:"resetDistinctAttribute",value:(V=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/distinct-attribute"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return V.apply(this,arguments)})},{key:"getFilterableAttributes",value:(Y=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/filterable-attributes"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return Y.apply(this,arguments)})},{key:"updateFilterableAttributes",value:(U=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/filterable-attributes"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return U.apply(this,arguments)})},{key:"resetFilterableAttributes",value:(B=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/filterable-attributes"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return B.apply(this,arguments)})},{key:"getSortableAttributes",value:(q=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/sortable-attributes"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return q.apply(this,arguments)})},{key:"updateSortableAttributes",value:(W=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/sortable-attributes"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return W.apply(this,arguments)})},{key:"resetSortableAttributes",value:(j=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/sortable-attributes"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return j.apply(this,arguments)})},{key:"getSearchableAttributes",value:(F=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/searchable-attributes"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return F.apply(this,arguments)})},{key:"updateSearchableAttributes",value:(H=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/searchable-attributes"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return H.apply(this,arguments)})},{key:"resetSearchableAttributes",value:(z=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/searchable-attributes"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return z.apply(this,arguments)})},{key:"getDisplayedAttributes",value:(R=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/displayed-attributes"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return R.apply(this,arguments)})},{key:"updateDisplayedAttributes",value:(L=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/displayed-attributes"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return L.apply(this,arguments)})},{key:"resetDisplayedAttributes",value:(N=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/displayed-attributes"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return N.apply(this,arguments)})},{key:"getTypoTolerance",value:(M=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/typo-tolerance"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return M.apply(this,arguments)})},{key:"updateTypoTolerance",value:(O=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/typo-tolerance"),t.next=3,this.httpRequest.patch(i,e);case 3:return(i=t.sent).enqueuedAt=new Date(i.enqueuedAt),t.abrupt("return",i);case 6:case"end":return t.stop()}},t,this)})),function(t){return O.apply(this,arguments)})},{key:"resetTypoTolerance",value:(P=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/typo-tolerance"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return P.apply(this,arguments)})},{key:"getFaceting",value:(E=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/faceting"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return E.apply(this,arguments)})},{key:"updateFaceting",value:(A=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/faceting"),t.next=3,this.httpRequest.patch(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return A.apply(this,arguments)})},{key:"resetFaceting",value:(D=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/faceting"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return D.apply(this,arguments)})},{key:"getSeparatorTokens",value:(S=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/separator-tokens"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return S.apply(this,arguments)})},{key:"updateSeparatorTokens",value:(I=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/separator-tokens"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return I.apply(this,arguments)})},{key:"resetSeparatorTokens",value:(C=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/separator-tokens"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return C.apply(this,arguments)})},{key:"getNonSeparatorTokens",value:(k=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/non-separator-tokens"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return k.apply(this,arguments)})},{key:"updateNonSeparatorTokens",value:(T=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/non-separator-tokens"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return T.apply(this,arguments)})},{key:"resetNonSeparatorTokens",value:(x=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/non-separator-tokens"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return x.apply(this,arguments)})},{key:"getDictionary",value:(w=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/dictionary"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return w.apply(this,arguments)})},{key:"updateDictionary",value:(b=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/dictionary"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return b.apply(this,arguments)})},{key:"resetDictionary",value:(_=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/dictionary"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return _.apply(this,arguments)})},{key:"getProximityPrecision",value:(y=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/proximity-precision"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return y.apply(this,arguments)})},{key:"updateProximityPrecision",value:(v=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/proximity-precision"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return v.apply(this,arguments)})},{key:"resetProximityPrecision",value:(g=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/proximity-precision"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return g.apply(this,arguments)})},{key:"getEmbedders",value:(m=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/embedders"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"e
62nd":return t.stop()}},t,this)})),function(){return m.apply(this,arguments)})},{key:"updateEmbedders",value:(f=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/embedders"),t.next=3,this.httpRequest.patch(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return f.apply(this,arguments)})},{key:"resetEmbedders",value:(p=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/embedders"),t.next=3,this.httpRequest.delete(e);case 3:return(e=t.sent).enqueuedAt=new Date(e.enqueuedAt),t.abrupt("return",e);case 6:case"end":return t.stop()}},t,this)})),function(){return p.apply(this,arguments)})},{key:"getSearchCutoffMs",value:(d=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/search-cutoff-ms"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return d.apply(this,arguments)})},{key:"updateSearchCutoffMs",value:(c=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/search-cutoff-ms"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return c.apply(this,arguments)})},{key:"resetSearchCutoffMs",value:(h=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/search-cutoff-ms"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return h.apply(this,arguments)})},{key:"getLocalizedAttributes",value:(u=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/localized-attributes"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return u.apply(this,arguments)})},{key:"updateLocalizedAttributes",value:(l=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/localized-attributes"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return l.apply(this,arguments)})},{key:"resetLocalizedAttributes",value:(r=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/localized-attributes"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return r.apply(this,arguments)})},{key:"getFacetSearch",value:(o=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/facet-search"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return o.apply(this,arguments)})},{key:"updateFacetSearch",value:(a=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/facet-search"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return a.apply(this,arguments)})},{key:"resetFacetSearch",value:(s=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/facet-search"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return s.apply(this,arguments)})},{key:"getPrefixSearch",value:(n=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/prefix-search"),t.next=3,this.httpRequest.get(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return n.apply(this,arguments)})},{key:"updatePrefixSearch",value:(i=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="indexes/".concat(this.uid,"/settings/prefix-search"),t.next=3,this.httpRequest.put(i,e);case 3:return i=t.sent,t.abrupt("return",new Kt(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return i.apply(this,arguments)})},{key:"resetPrefixSearch",value:(t=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="indexes/".concat(this.uid,"/settings/prefix-search"),t.next=3,this.httpRequest.delete(e);case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})}],[{key:"create",value:(e=zt(Wt().mark(function t(e){var i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=1<s.length&&void 0!==s[1]?s[1]:{},n=new Gt(2<s.length?s[2]:void 0),t.next=6,n.post("indexes",$t($t({},i),{},{uid:e}));case 6:return n=t.sent,t.abrupt("return",new Kt(n));case 8:case"end":return t.stop()}},t)})),function(t){return e.apply(this,arguments)})}]);var e,t,i,n,s,a,o,r,l,u,h,c,d,p,f,m,g,v,y,_,b,w,x,T,k,C,I,S,D,A,E,P,O,M,N,L,R,z,H,F,j,W,q,B,U,Y,V,X,G,K,Q,Z,J,tt,et,it,nt,st,at,ot,rt,lt,ut,ht,ct,dt,pt,ft,mt,gt,vt,yt,_t,bt,wt,xt,Tt,kt,Ct,It,St,Dt,At,Et,Pt,Ot,Mt,Nt,Lt,Rt}(),_=Ft(function t(e){Ht(this,t),jt(this,"uid",void 0),jt(this,"details",void 0),jt(this,"stats",void 0),jt(this,"startedAt",void 0),jt(this,"finishedAt",void 0),jt(this,"duration",void 0),jt(this,"progress",void 0),this.uid=e.uid,this.details=e.details,this.stats=e.stats,this.startedAt=e.startedAt,this.finishedAt=e.finishedAt,this.duration=e.duration,this.progress=e.progress}),P=function(){return Ft(function t(e){Ht(this,t),jt(this,"httpRequest",void 0),this.httpRequest=new Gt(e)},[{key:"getBatch",value:(e=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="batches/".concat(e),t.next=3,this.httpRequest.get(i);case 3:return i=t.sent,t.abrupt("return",new _(i));case 5:case"end":return t.stop()}},t,this)})),function(t){return e.apply(this,arguments)})},{key:"getBatches",value:(t=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.get("batches",v(e));case 4:return e=t.sent,t.abrupt("return",$t($t({},e),{},{results:e.results.map(function(t){return new _(t)})}));case 6:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})}]);var t,e}(),MeiliSearch=function(){return Ft(function MeiliSearch(t){Ht(this,MeiliSearch),jt(this,"config",void 0),jt(this,"httpRequest",void 0),jt(this,"tasks",void 0),jt(this,"batches",void 0),this.config=t,this.httpRequest=new Gt(t),this.tasks=new Qt(t),this.batches=new P(t)},[{key:"index",value:function(t){return new E(this.config,t)}},{key:"getIndex",value:(D=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new E(this.config,e).fetchInfo());case 1:case"end":return t.stop()}},t,this)})),function(t){return D.apply(this,arguments)})},{key:"getRawIndex",value:(S=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new E(this.config,e).getRawInfo());case 1:case"end":return t.stop()}},t,this)})),function(t){return S.apply(this,arguments)})},{key:"getIndexes",value:(I=zt(Wt().mark(function t(){var e,i,n=this,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<s.length&&void 0!==s[0]?s[0]:{},t.next=3,this.getRawIndexes(e);case 3:return e=t.sent,i=e.results.map(function(t){return new E(n.config,t.uid,t.primaryKey)}),t.abrupt("return",$t($t({},e),{},{results:i}));case 6:case"end":return t.stop()}},t,this)})),function(){return I.apply(this,arguments)})},{key:"getRawIndexes",value:(C=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.get("indexes",e);case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}},t,this)})),function(){return C.apply(this,arguments)})},{key:"createIndex",value:(k=zt(Wt().mark(function t(e){var i,n=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=1<n.length&&void 0!==n[1]?n[1]:{},t.next=3,E.create(e,i,this.config);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return k.apply(this,arguments)})},{key:"updateIndex",value:(T=zt(Wt().mark(function t(e){var i,n=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=1<n.length&&void 0!==n[1]?n[1]:{},t.next=3,new E(this.config,e).update(i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return T.apply(this,arguments)})},{key:"deleteIndex",value:(x=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new E(this.config,e).delete();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t){return x.apply(this,arguments)})},{key:"deleteIndexIfExists",value:(w=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.deleteIndex(e);case 3:return t.abrupt("return",!0);case 6:if(t.prev=6,t.t0=t.catch(0),t.t0.code===A.INDEX_NOT_FOUND)return t.abrupt("return",!1);t.next=10;break;case 10:throw t.t0;case 11:case"end":return t.stop()}},t,this,[[0,6]])})),function(t){return w.apply(this,arguments)})},{key:"swapIndexes",value:(b=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.post("/swap-indexe
62s",e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return b.apply(this,arguments)})},{key:"multiSearch",value:(_=zt(Wt().mark(function t(e,i){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.post("multi-search",e,void 0,i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t,e){return _.apply(this,arguments)})},{key:"getTasks",value:(y=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=3,this.tasks.getTasks(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return y.apply(this,arguments)})},{key:"getTask",value:(v=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.tasks.getTask(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t){return v.apply(this,arguments)})},{key:"waitForTasks",value:(g=zt(Wt().mark(function t(e){var i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=(n=1<s.length&&void 0!==s[1]?s[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,t.next=3,this.tasks.waitForTasks(e,{timeOutMs:i,intervalMs:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return g.apply(this,arguments)})},{key:"waitForTask",value:(m=zt(Wt().mark(function t(e){var i,n,s=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=(n=1<s.length&&void 0!==s[1]?s[1]:{}).timeOutMs,i=void 0===i?5e3:i,n=n.intervalMs,n=void 0===n?50:n,t.next=3,this.tasks.waitForTask(e,{timeOutMs:i,intervalMs:n});case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return m.apply(this,arguments)})},{key:"cancelTasks",value:(f=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.tasks.cancelTasks(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t){return f.apply(this,arguments)})},{key:"deleteTasks",value:(p=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=3,this.tasks.deleteTasks(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return p.apply(this,arguments)})},{key:"getBatches",value:(d=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=3,this.batches.getBatches(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return d.apply(this,arguments)})},{key:"getBatch",value:(c=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.batches.getBatch(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)})),function(t){return c.apply(this,arguments)})},{key:"getKeys",value:(h=zt(Wt().mark(function t(){var e,i=arguments;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=0<i.length&&void 0!==i[0]?i[0]:{},t.next=4,this.httpRequest.get("keys",e);case 4:return(e=t.sent).results=e.results.map(function(t){return $t($t({},t),{},{createdAt:new Date(t.createdAt),updatedAt:new Date(t.updatedAt)})}),t.abrupt("return",e);case 7:case"end":return t.stop()}},t,this)})),function(){return h.apply(this,arguments)})},{key:"getKey",value:(u=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="keys/".concat(e),t.next=3,this.httpRequest.get(i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return u.apply(this,arguments)})},{key:"createKey",value:(l=zt(Wt().mark(function t(e){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.post("keys",e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return l.apply(this,arguments)})},{key:"updateKey",value:(r=zt(Wt().mark(function t(e,i){var n;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n="keys/".concat(e),t.next=3,this.httpRequest.patch(n,i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t,e){return r.apply(this,arguments)})},{key:"deleteKey",value:(o=zt(Wt().mark(function t(e){var i;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i="keys/".concat(e),t.next=3,this.httpRequest.delete(i);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(t){return o.apply(this,arguments)})},{key:"health",value:(a=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.get("health");case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return a.apply(this,arguments)})},{key:"isHealthy",value:(s=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=4,this.httpRequest.get("health");case 4:return t.abrupt("return",!0);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}},t,this,[[0,7]])})),function(){return s.apply(this,arguments)})},{key:"getStats",value:(n=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.get("stats");case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return n.apply(this,arguments)})},{key:"getVersion",value:(i=zt(Wt().mark(function t(){return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.get("version");case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}},t,this)})),function(){return i.apply(this,arguments)})},{key:"createDump",value:(e=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.post("dumps");case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return e.apply(this,arguments)})},{key:"createSnapshot",value:(t=zt(Wt().mark(function t(){var e;return Wt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.httpRequest.post("snapshots");case 3:return e=t.sent,t.abrupt("return",new Kt(e));case 5:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})}]);var t,e,i,n,s,a,o,r,l,u,h,c,d,p,f,m,g,v,y,_,b,w,x,T,k,C,I,S,D}();t.ContentTypeEnum={JSON:"application/json",CSV:"text/csv",NDJSON:"application/x-ndjson"},t.EnqueuedTask=Kt,t.ErrorStatusCode=A,t.Index=E,t.MatchingStrategies={ALL:"all",LAST:"last",FREQUENCY:"frequency"},t.MeiliSearch=MeiliSearch,t.MeiliSearchApiError=Ut,t.MeiliSearchError=Bt,t.MeiliSearchRequestError=Yt,t.MeiliSearchTimeOutError=m,t.Meilisearch=MeiliSearch,t.Task=y,t.TaskClient=Qt,t.TaskStatus=r,t.TaskTypes={DOCUMENTS_ADDITION_OR_UPDATE:"documentAdditionOrUpdate",DOCUMENT_DELETION:"documentDeleti
62on",DUMP_CREATION:"dumpCreation",INDEX_CREATION:"indexCreation",INDEX_DELETION:"indexDeletion",INDEXES_SWAP:"indexSwap",INDEX_UPDATE:"indexUpdate",SETTINGS_UPDATE:"settingsUpdate",SNAPSHOT_CREATION:"snapshotCreation",TASK_CANCELATION:"taskCancelation",TASK_DELETION:"taskDeletion"},t.default=MeiliSearch,t.versionErrorHintMessage=Vt,Object.defineProperty(t,"__esModule",{value:!0})});
63//# sourceMappingURL=vendor.min.js.map

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.