vendor: 40,516 bytes, lines 1-3
1/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ 2function getParameterByName(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var i=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function checkDeviceType(t){return/windows phone/i.test(t)?"desktop":/android/i.test(t)?"android":/iPhone/.test(t)&&!window.MSStream?"iphone":/iPad/.test(t)&&!window.MSStream?"ipad":/iPod/.test(t)&&!window.MSStream?"iphone":"desktop"}function validateEmail(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}var a,b;!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,r,s=(i=i||ct).createElement("script");if(s.text=t,e)for(n in pt)(r=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,r);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[rt.call(t)]||"object":typeof t}function r(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ht(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}function s(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function o(t,e,i){return ht(e)?dt.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?dt.grep(t,function(t){return t===e!==i}):"string"!=typeof e?dt.grep(t,function(t){return-1<it.call(e,t)!==i}):dt.filter(e,t,i)}function a(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function l(t){return t}function h(t){throw t}function u(t,e,i,n){var r;try{t&&ht(r=t.promise)?r.call(t).done(e).fail(i):t&&ht(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}function c(){ct.removeEventListener("DOMContentLoaded",c),t.removeEventListener("load",c),dt.ready()}function p(t,e){return e.toUpperCase()}function f(t){return t.replace(Pt,"ms-").replace(kt,p)}function d(){this.expando=dt.expando+d.uid++}function m(t,e,i){var n,r;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Ot,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:It.test(r)?JSON.parse(r):r)}catch(t){}Ft.set(t,e,i)}else i=void 0;return i}function g(t,e,i,n){var r,s,o=20,a=n?function(){return n.cur()}:function(){return dt.css(t,e,"")},l=a(),h=i&&i[3]||(dt.cssNumber[e]?"":"px"),u=t.nodeType&&(dt.cssNumber[e]||"px"!==h&&+l)&&Lt.exec(dt.css(t,e));if(u&&u[3]!==h){for(l/=2,h=h||u[3],u=+l||1;o--;)dt.style(t,e,u+h),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),u/=s;u*=2,dt.style(t,e,u+h),i=i||[]}return i&&(u=+u||+l||0,r=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=u,n.end=r)),r}function y(t,e){for(var i,n,r,s,o,a,l,h=[],u=0,c=t.length;u<c;u++)(n=t[u]).style&&(i=n.style.display,e?("none"===i&&(h[u]=Mt.get(n,"display")||null,h[u]||(n.style.display="")),""===n.style.display&&Bt(n)&&(h[u]=(l=o=s=void 0,o=(r=n).ownerDocument,a=r.nodeName,(l=qt[a])||(s=o.body.appendChild(o.createElement(a)),l=dt.css(s,"display"),s.parentNode.removeChild(s),"none"===l&&(l="block"),qt[a]=l)))):"none"!==i&&(h[u]="none",Mt.set(n,"display",i)));for(u=0;u<c;u++)null!=h[u]&&(t[u].style.display=h[u]);return t}function v(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&s(t,e)?dt.merge([t],i):i}function b(t,e){for(var i=0,n=t.length;i<n;i++)Mt.set(t[i],"globalEval",!e||Mt.get(e[i],"globalEval"))}function _(t,e,i,r,s){for(var o,a,l,h,u,c,p=e.createDocumentFragment(),f=[],d=0,m=t.length;d<m;d++)if((o=t[d])||0===o)if("object"===n(o))dt.merge(f,o.nodeType?[o]:o);else if(Qt.test(o)){for(a=a||p.appendChild(e.createElement("div")),l=(Wt.exec(o)||["",""])[1].toLowerCase(),h=Xt[l]||Xt._default,a.innerHTML=h[1]+dt.htmlPrefilter(o)+h[2],c=h[0];c--;)a=a.lastChild;dt.merge(f,a.childNodes),(a=p.firstChild).textContent=""}else f.push(e.createTextNode(o));for(p.textContent="",d=0;o=f[d++];)if(r&&-1<dt.inArray(o,r))s&&s.push(o);else if(u=Rt(o),a=v(p.appendChild(o),"script"),u&&b(a),i)for(c=0;o=a[c++];)Ut.test(o.type||"")&&i.push(o);return p}function x(){return!0}function w(){return!1}function E(t,e){return t===function(){try{return ct.activeElement}catch(t){}}()==("focus"===e)}function T(t,e,i,n,r,s){var o,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)T(t,a,i,n,e[a],s);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=w;else if(!r)return t;return 1===s&&(o=r,(r=function(t){return dt().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=dt.guid++)),t.each(function(){dt.event.add(this,e,r,n,i)})}function S(t,e,i){i?(Mt.set(t,e,!1),dt.event.add(t,e,{namespace:!1,handler:function(t){var n,r,s=Mt.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(dt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=J.call(arguments),Mt.set(this,e,s),n=i(this,e),this[e](),s!==(r=Mt.get(this,e))||n?Mt.set(this,e,!1):r={},s!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else s.length&&(Mt.set(this,e,{value:dt.event.trigger(dt.extend(s[0],dt.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Mt.get(t,e)&&dt.event.add(t,e,x)}function C(t,e){return s(t,"table")&&s(11!==e.nodeType?e:e.firstChild,"tr")&&dt(t).children("tbody")[0]||t}function A(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function P(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function k(t,e){var i,n,r,s,o,a;if(1===e.nodeType){if(Mt.hasData(t)&&(a=Mt.get(t).events))for(r in Mt.remove(e,"handle events"),a)for(i=0,n=a[r].length;i<n;i++)dt.event.add(e,r,a[r][i]);Ft.hasData(t)&&(s=Ft.access(t),o=dt.extend({},s),Ft.set(e,o))}}function D(t,e,n,r){e=tt(e);var s,o,a,l,h,u,c=0,p=t.length,f=p-1,d=e[0],m=ht(d);if(m||1<p&&"string"==typeof d&&!lt.checkClone&&te.test(d))return t.each(function(i){var s=t.eq(i);m&&(e[0]=d.call(this,i,s.html())),D(s,e,n,r)});if(p&&(o=(s=_(e,t[0].ownerDocument,!1,t,r)).firstChild,1===s.childNodes.length&&(s=o),o||r)){for(l=(a=dt.map(v(s,"script"),A)).length;c<p;c++)h=s,c!==f&&(h=dt.clone(h,!0,!0),l&&dt.merge(a,v(h,"script"))),n.call(t[c],h,c);if(l)for(u=a[a.length-1].ownerDocument,dt.map(a,P),c=0;c<l;c++)h=a[c],Ut.test(h.type||"")&&!Mt.access(h,"globalEval")&&dt.contains(u,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?dt._evalUrl&&!h.noModule&&dt._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},u):i(h.textContent.replace(ee,""),h,u))}return t}function M(t,e,i){for(var n,r=e?dt.filter(e,t):t,s=0;null!=(n=r[s]);s++)i||1!==n.nodeType||dt.cleanData(v(n)),n.parentNode&&(i&&Rt(n)&&b(v(n,"script")),n.parentNode.removeChild(n));return t}function F(t,e,i){var n,r,s,o,a=t.style;return(i=i||ne(t))&&(""!==(o=i.getPropertyValue(e)||i[e])||Rt(t)||(o=dt.style(t,e)),!lt.pixelBoxStyles()&&ie.test(o)&&se.test(e)&&(n=a.width,r=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=r,a.maxWidth=s)),void 0!==o?o+"":o}function I(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function O(t){return dt.cssProps[t]||le[t]||(t in ae?t:le[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=oe.length;i--;)if((t=oe[i]+e)in ae)return t}(t)||t)}function j(t,e,i){var n=Lt.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function L(t,e,i,n,r,s){var o="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===i&&(l+=dt.css(t,i+zt[o],!0,r)),n?("content"===i&&(l-=dt.css(t,"padding"+zt[o],!0,r)),"margin"!==i&&(l-=dt.css(t,"border"+zt[o]+"Width",!0,r))):(l+=dt.css(t,"padding"+zt[o],!0,r),"padding"!==i?l+=dt.css(t,"border"+zt[o]+"Width",!0,r):a+=dt.css(t,"border"+zt[o]+"Width",!0,r));return!n&&0<=s&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-s-l-a-.5))||0),l}function z(t,e,i){var n=ne(t),r=(!lt.boxSizingReliable()||i)&&"border-box"===dt.css(t,"boxSizing",!1,n),o=r,a=F(t,e,n),l="offset"+e[0].toUpperCase()+e.slice(1);if(ie.test(a)){if(!i)return a;a="auto"}return(!lt.boxSizingReliable()&&r||!lt.reliableTrDimensions()&&s(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===dt.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===dt.css(t,"boxSizing",!1,n),(o=l in t)&&(a=t[l])),(a=parseFloat(a)||0)+L(t,e,i||(r?"border":"content"),o,n,a)+"px"}function N(t,e,i,n,r){return new N.prototype.init(t,e,i,n,r)}function R(){de&&(!1===ct.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(R):t.setTimeout(R,dt.fx.interval),dt.fx.tick())}function $(){return t.setTimeout(function(){fe=void 0}),fe=Date.now()}function B(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=zt[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function q(t,e,i){for(var n,r=(V.tweeners[e]||[]).concat(V.tweeners["*"]),s=0,o=r.length;s<o;s++)if(n=r[s].call(i,e,t))return n}function V(t,e,i){var n,r,s=0,o=V.prefilters.length,a=dt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=fe||$(),i=Math.max(0,h.startTime+h.duration-e),n=1-(i/h.duration||0),s=0,o=h.tweens.length;s<o;s++)h.tweens[s].run(n);return a.notifyWith(t,[h,n,i]),n<1&&o?i:(o||a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h]),!1)},h=a.promise({elem:t,props:dt.extend({},e),opts:dt.extend(!0,{specialEasing:{},easing:dt.easing._default},i),originalProperties:e,originalOptions:i,startTime:fe||$(),duration:i.duration,tweens:[],createTween:function(e,i){var n=dt.Tween(t,h.opts,e,i,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(n),n},stop:function(e){var i=0,n=e?h.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)h.tweens[i].run(1);return e?(a.notifyWith(t,[h,1,0]),a.resolveWith(t,[h,e])):a.rejectWith(t,[h,e]),this}}),u=h.props;for(function(t,e){var i,n,r,s,o;for(i in t)if(r=e[n=f(i)],s=t[i],Array.isArray(s)&&(r=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),(o=dt.cssHooks[n])&&"expand"in o)for(i in s=o.expand(s),delete t[n],s)i in t||(t[i]=s[i],e[i]=r);else e[n]=r}(u,h.opts.specialEasing);s<o;s++)if(n=V.prefilters[s].call(h,t,u,h.opts))return ht(n.stop)&&(dt._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return dt.map(u,q,h),ht(h.opts.start)&&h.opts.start.call(t,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),dt.fx.timer(dt.extend(l,{elem:t,anim:h,queue:h.opts.queue})),h}function H(t){return(t.match(Tt)||[]).join(" ")}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function W(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Tt)||[]}function U(t,e,i,r){var s;if(Array.isArray(e))dt.each(e,function(e,n){i||ke.test(t)?r(t,n):U(t+"["+("object"==typeof n&&null!=n?e:"")+"]",n,i,r)});else if(i||"object"!==n(e))r(t,e);else for(s in e)U(t+"["+s+"]",e[s],i,r)}function X(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(Tt)||[];if(ht(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function Q(t,e,i,n){function r(a){var l;return s[a]=!0,dt.each(t[a]||[],function(t,a){var h=a(e,i,n);return"string"!=typeof h||o||s[h]?o?!(l=h):void 0:(e.dataTypes.unshift(h),r(h),!1)}),l}var s={},o=t===$e;return r(e.dataTypes[0])||!s["*"]&&r("*")}function Y(t,e){var i,n,r=dt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&dt.extend(!0,t,n),t}var K=[],Z=Object.getPrototypeOf,J=K.slice,tt=K.flat?function(t){return K.flat.call(t)}:function(t){return K.concat.apply([],t)},et=K.push,it=K.indexOf,nt={},rt=nt.toString,st=nt.hasOwnProperty,ot=st.toString,at=ot.call(Object),lt={},ht=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},ut=function(t){return null!=t&&t===t.window},ct=t.document,pt={type:!0,src:!0,nonce:!0,noModule:!0},ft="3.5.1",dt=function(t,e){return new dt.fn.init(t,e)};dt.fn=dt.prototype={jquery:ft,constructor:dt,length:0,toArray:function(){return J.call(this)},get:function(t){return null==t?J.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=dt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return dt.each(this,t)},map:function(t){return this.pushStack(dt.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(J.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(dt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(dt.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:et,sort:K.sort,splice:K.splice},dt.extend=dt.fn.extend=function(){var t,e,i,n,r,s,o=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof o&&(h=o,o=arguments[a]||{},a++),"object"==typeof o||ht(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)n=t[e],"__proto__"!==e&&o!==n&&(h&&n&&(dt.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[e],s=r&&!Array.isArray(i)?[]:r||dt.isPlainObject(i)?i:{},r=!1,o[e]=dt.extend(h,s,n)):void 0!==n&&(o[e]=n));return o},dt.extend({expando:"jQuery"+(ft+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==rt.call(t)||(e=Z(t))&&("function"!=typeof(i=st.call(e,"constructor")&&e.constructor)||ot.call(i)!==at))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){i(t,{nonce:e&&e.nonce},n)},each:function(t,e){var i,n=0;if(r(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},makeArray:function(t,e){var i=e||[];return null!=t&&(r(Object(t))?dt.merge(i,"string"==typeof t?[t]:t):et.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:it.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;n<i;n++)t[r++]=e[n];return t.length=r,t},grep:function(t,e,i){for(var n=[],r=0,s=t.length,o=!i;r<s;r++)!e(t[r],r)!==o&&n.push(t[r]);return n},map:function(t,e,i){var n,s,o=0,a=[];if(r(t))for(n=t.length;o<n;o++)null!=(s=e(t[o],o,i))&&a.push(s);else for(o in t)null!=(s=e(t[o],o,i))&&a.push(s);return tt(a)},guid:1,support:lt}),"function"==typeof Symbol&&(dt.fn[Symbol.iterator]=K[Symbol.iterator]),dt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){nt["[object "+e+"]"]=e.toLowerCase()});var mt=function(t){function e(t,e,i,n){var r,s,o,a,l,h,u,p=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&(D(e),e=e||M,I)){if(11!==d&&(l=yt.exec(t)))if(r=l[1]){if(9===d){if(!(o=e.getElementById(r)))return i;if(o.id===r)return i.push(o),i}else if(p&&(o=p.getElementById(r))&&z(e,o)&&o.id===r)return i.push(o),i}else{if(l[2])return K.apply(i,e.getElementsByTagName(t)),i;if((r=l[3])&&_.getElementsByClassName&&e.getElementsByClassName)return K.apply(i,e.getElementsByClassName(r)),i}if(_.qsa&&!G[t+" "]&&(!O||!O.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(u=t,p=e,1===d&&(ht.test(t)||lt.test(t))){for((p=vt.test(t)&&c(e.parentNode)||e)===e&&_.scope||((a=e.getAttribute("id"))?a=a.replace(xt,wt):e.setAttribute("id",a=N)),s=(h=T(t)).length;s--;)h[s]=(a?"#"+a:":scope")+" "+f(h[s]);u=h.join(",")}try{return K.apply(i,p.querySelectorAll(u)),i}catch(e){G(t,!0)}finally{a===N&&e.removeAttribute("id")}}}return C(t.replace(ot,"$1"),e,i,n)}function i(){var t=[];return function e(i,n){return t.push(i+" ")>x.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[N]=!0,t}function r(t){var e=M.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)x.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function h(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Tt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function c(t){return t&&void 0!==t.getElementsByTagName&&t}function p(){}function f(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function d(t,e,i){var n=e.dir,r=e.next,s=r||n,o=i&&"parentNode"===s,a=B++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,r);return!1}:function(e,i,l){var h,u,c,p=[$,a];if(l){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||o)if(u=(c=e[N]||(e[N]={}))[e.uniqueID]||(c[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[n]||e;else{if((h=u[s])&&h[0]===$&&h[1]===a)return p[2]=h[2];if((u[s]=p)[2]=t(e,i,l))return!0}return!1}}function m(t){return 1<t.length?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function g(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,h=null!=e;a<l;a++)(s=t[a])&&(i&&!i(s,n,r)||(o.push(s),h&&e.push(a)));return o}function y(t,i,r,s,o,a){return s&&!s[N]&&(s=y(s)),o&&!o[N]&&(o=y(o,a)),n(function(n,a,l,h){var u,c,p,f=[],d=[],m=a.length,y=n||function(t,i,n){for(var r=0,s=i.length;r<s;r++)e(t,i[r],n);return n}(i||"*",l.nodeType?[l]:l,[]),v=!t||!n&&i?y:g(y,f,t,l,h),b=r?o||(n?t:m||s)?[]:a:v;if(r&&r(v,b,l,h),s)for(u=g(b,d),s(u,[],l,h),c=u.length;c--;)(p=u[c])&&(b[d[c]]=!(v[d[c]]=p));if(n){if(o||t){if(o){for(u=[],c=b.length;c--;)(p=b[c])&&u.push(v[c]=p);o(null,b=[],u,h)}for(c=b.length;c--;)(p=b[c])&&-1<(u=o?J(n,p):f[c])&&(n[u]=!(a[u]=p))}}else b=g(b===a?b.splice(m,b.length):b),o?o(null,a,b,h):K.apply(a,b)})}function v(t){for(var e,i,n,r=t.length,s=x.relative[t[0].type],o=s||x.relative[" "],a=s?1:0,l=d(function(t){return t===e},o,!0),h=d(function(t){return-1<J(e,t)},o,!0),u=[function(t,i,n){var r=!s&&(n||i!==A)||((e=i).nodeType?l(t,i,n):h(t,i,n));return e=null,r}];a<r;a++)if(i=x.relative[t[a].type])u=[d(m(u),i)];else{if((i=x.filter[t[a].type].apply(null,t[a].matches))[N]){for(n=++a;n<r&&!x.relative[t[n].type];n++);return y(1<a&&m(u),1<a&&f(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ot,"$1"),i,a<n&&v(t.slice(a,n)),n<r&&v(t=t.slice(n)),n<r&&f(t))}u.push(i)}return m(u)}var b,_,x,w,E,T,S,C,A,P,k,D,M,F,I,O,j,L,z,N="sizzle"+1*new Date,R=t.document,$=0,B=0,q=i(),V=i(),H=i(),G=i(),W=function(t,e){return t===e&&(k=!0),0},U={}.hasOwnProperty,X=[],Q=X.pop,Y=X.push,K=X.push,Z=X.slice,J=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},tt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",et="[\\x20\\t\\r\\n\\f]",it="(?:\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",nt="\\["+et+"*("+it+")(?:"+et+"*([*^$|!~]?=)"+et+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+et+"*\\]",rt=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+nt+")*)|.*)\\)|)",st=new RegExp(et+"+","g"),ot=new RegExp("^"+et+"+|((?:^|[^\\\\])(?:\\\\.)*)"+et+"+$","g"),at=new RegExp("^"+et+"*,"+et+"*"),lt=new RegExp("^"+et+"*([>+~]|"+et+")"+et+"*"),ht=new RegExp(et+"|>"),ut=new RegExp(rt),ct=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,dt=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),_t=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Et=function(){D()},Tt=d(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{K.apply(X=Z.call(R.childNodes),R.childNodes),X[R.childNodes.length].nodeType}catch(b){K={apply:X.length?function(t,e){Y.apply(t,Z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in _=e.support={},E=e.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:R;return n!=M&&9===n.nodeType&&n.documentElement&&(F=(M=n).documentElement,I=!E(M),R!=M&&(i=M.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Et,!1):i.attachEvent&&i.attachEvent("onunload",Et)),_.scope=r(function(t){return F.appendChild(t).appendChild(M.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),_.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=r(function(t){return t.appendChild(M.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=gt.test(M.getElementsByClassName),_.getById=r(function(t){return F.appendChild(t).id=N,!M.getElementsByName||!M.getElementsByName(N).length}),_.getById?(x.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){return t.getAttribute("id")===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var i=e.getElementById(t);return i?[i]:[]}}):(x.filter.ID=function(t){var e=t.replace(bt,_t);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},x.find.ID=function(t,e){if(void 0!==e.getElementById&&I){var i,n,r,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(r=e.getElementsByName(t),n=0;s=r[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),x.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},x.find.CLASS=_.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&I)return e.getElementsByClassName(t)},j=[],O=[],(_.qsa=gt.test(M.querySelectorAll))&&(r(function(t){var e;F.appendChild(t).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||O.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+N+"-]").length||O.push("~="),(e=M.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||O.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||O.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||O.push(".#.+[+~]"),t.querySelectorAll("\\\f"),O.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=M.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&O.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),F.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(_.matchesSelector=gt.test(L=F.matches||F.webkitMatchesSelector||F.mozMatchesSelector||F.oMatchesSelector||F.msMatchesSelector))&&r(function(t){_.disconnectedMatch=L.call(t,"*"),L.call(t,"[s!='']:x"),j.push("!=",rt)}),O=O.length&&new RegExp(O.join("|")),j=j.length&&new RegExp(j.join("|")),e=gt.test(F.compareDocumentPosition),z=e||gt.test(F.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return k=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!_.sortDetached&&e.compareDocumentPosition(t)===i?t==M||t.ownerDocument==R&&z(R,t)?-1:e==M||e.ownerDocument==R&&z(R,e)?1:P?J(P,t)-J(P,e):0:4&i?-1:1)}:function(t,e){if(t===e)return k=!0,0;var i,n=0,r=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!r||!s)return t==M?-1:e==M?1:r?-1:s?1:P?J(P,t)-J(P,e):0;if(r===s)return o(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?o(a[n],l[n]):a[n]==R?-1:l[n]==R?1:0}),M},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),_.matchesSelector&&I&&!G[i+" "]&&(!j||!j.test(i))&&(!O||!O.test(i)))try{var n=L.call(t,i);if(n||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){G(i,!0)}return 0<e(i,M,null,[t]).length},e.contains=function(t,e){return(t.ownerDocument||t)!=M&&D(t),z(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=M&&D(t);var i=x.attrHandle[e.toLowerCase()],n=i&&U.call(x.attrHandle,e.toLowerCase())?i(t,e,!I):void 0;return void 0!==n?n:_.attributes||!I?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){return(t+"").replace(xt,wt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(k=!_.detectDuplicates,P=!_.sortStable&&t.slice(0),t.sort(W),k){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return P=null,t},w=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=w(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=w(e);return i},(x=e.selectors={cacheLength:50,createPseudo:n,match:pt,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(bt,_t),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,_t),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=T(i,!0))&&(e=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(bt,_t).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("(^|"+et+")"+t+"("+et+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var s=e.attr(r,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1<s.indexOf(n):"$="===i?n&&s.slice(-n.length)===n:"~="===i?-1<(" "+s.replace(st," ")+" ").indexOf(n):"|="===i&&(s===n||s.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var h,u,c,p,f,d,m=s!==o?"nextSibling":"previousSibling",g=e.parentNode,y=a&&e.nodeName.toLowerCase(),v=!l&&!a,b=!1;if(g){if(s){for(;m;){for(p=e;p=p[m];)if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=m="only"===t&&!d&&"nextSibling"}return!0}if(d=[o?g.firstChild:g.lastChild],o&&v){for(b=(f=(h=(u=(c=(p=g)[N]||(p[N]={}))[p.uniqueID]||(c[p.uniqueID]={}))[t]||[])[0]===$&&h[1])&&h[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(b=f=0)||d.pop();)if(1===p.nodeType&&++b&&p===e){u[t]=[$,f,b];break}}else if(v&&(b=f=(h=(u=(c=(p=e)[N]||(p[N]={}))[p.uniqueID]||(c[p.uniqueID]={}))[t]||[])[0]===$&&h[1]),!1===b)for(;(p=++f&&p&&p[m]||(b=f=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(v&&((u=(c=p[N]||(p[N]={}))[p.uniqueID]||(c[p.uniqueID]={}))[t]=[$,b]),p!==e)););return(b-=r)===n||b%n==0&&0<=b/n}}},PSEUDO:function(t,i){var r,s=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[N]?s(i):1<s.length?(r=[t,t,"",i],x.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=s(t,i),o=r.length;o--;)t[n=J(t,r[o])]=!(e[n]=r[o])}):function(t){return s(t,0,r)}):s}},pseudos:{not:n(function(t){var e=[],i=[],r=S(t.replace(ot,"$1"));return r[N]?n(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,n,s){return e[0]=t,r(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return 0<e(t,i).length}}),contains:n(function(t){return t=t.replace(bt,_t),function(e){return-1<(e.textContent||w(e)).indexOf(t)}}),lang:n(function(t){return ct.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,_t).toLowerCase(),function(e){var i;do{if(i=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===F},focus:function(t){return t===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:h(!1),disabled:h(!0),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!x.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,i){return[i<0?i+e:i]}),even:u(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:u(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:u(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:u(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return p.prototype=x.filters=x.pseudos,x.setFilters=new p,T=e.tokenize=function(t,i){var n,r,s,o,a,l,h,u=V[t+" "];if(u)return i?0:u.slice(0);for(a=t,l=[],h=x.preFilter;a;){for(o in n&&!(r=at.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=lt.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(ot," ")}),a=a.slice(n.length)),x.filter)!(r=pt[o].exec(a))||h[o]&&!(r=h[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):V(t,l).slice(0)},S=e.compile=function(t,i){var r,s,o,a,l,h,u=[],c=[],p=H[t+" "];if(!p){for(i||(i=T(t)),r=i.length;r--;)(p=v(i[r]))[N]?u.push(p):c.push(p);(p=H(t,(s=c,a=0<(o=u).length,l=0<s.length,h=function(t,i,n,r,h){ 3var u,c,p,f=0,d="0",m=t&&[],y=[],v=A,b=t||l&&x.find.TAG("*",h),_=$+=null==v?1:Math.random()||.1,w=b.length;for(h&&(A=i==M||i||h);d!==w&&null!=(u=b[d]);d++){if(l&&u){for(c=0,i||u.ownerDocument==M||(D(u),n=!I);p=s[c++];)if(p(u,i||M,n)){r.push(u);break}h&&($=_)}a&&((u=!p&&u)&&f--,t&&m.push(u))}if(f+=d,a&&d!==f){for(c=0;p=o[c++];)p(m,y,i,n);if(t){if(0<f)for(;d--;)m[d]||y[d]||(y[d]=Q.call(r));y=g(y)}K.apply(r,y),h&&!t&&0<y.length&&1<f+o.length&&e.uniqueSort(r)}return h&&($=_,A=v),m},a?n(h):h))).selector=t}return p},C=e.select=function(t,e,i,n){var r,s,o,a,l,h="function"==typeof t&&t,u=!n&&T(t=h.selector||t);if(i=i||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(o=s[0]).type&&9===e.nodeType&&I&&x.relative[s[1].type]){if(!(e=(x.find.ID(o.matches[0].replace(bt,_t),e)||[])[0]))return i;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(r=pt.needsContext.test(t)?0:s.length;r--&&(o=s[r],!x.relative[a=o.type]);)if((l=x.find[a])&&(n=l(o.matches[0].replace(bt,_t),vt.test(s[0].type)&&c(e.parentNode)||e))){if(s.splice(r,1),!(t=n.length&&f(s)))return K.apply(i,n),i;break}}return(h||S(t,u))(n,e,!I,i,!e||vt.test(t)&&c(e.parentNode)||e),i},_.sortStable=N.split("").sort(W).join("")===N,_.detectDuplicates=!!k,D(),_.sortDetached=r(function(t){return 1&t.compareDocumentPosition(M.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||s(tt,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);dt.find=mt,dt.expr=mt.selectors,dt.expr[":"]=dt.expr.pseudos,dt.uniqueSort=dt.unique=mt.uniqueSort,dt.text=mt.getText,dt.isXMLDoc=mt.isXML,dt.contains=mt.contains,dt.escapeSelector=mt.escape;var gt=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&dt(t).is(i))break;n.push(t)}return n},yt=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},vt=dt.expr.match.needsContext,bt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;dt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?dt.find.matchesSelector(n,t)?[n]:[]:dt.find.matches(t,dt.grep(e,function(t){return 1===t.nodeType}))},dt.fn.extend({find:function(t){var e,i,n=this.length,r=this;if("string"!=typeof t)return this.pushStack(dt(t).filter(function(){for(e=0;e<n;e++)if(dt.contains(r[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)dt.find(t,r[e],i);return 1<n?dt.uniqueSort(i):i},filter:function(t){return this.pushStack(o(this,t||[],!1))},not:function(t){return this.pushStack(o(this,t||[],!0))},is:function(t){return!!o(this,"string"==typeof t&&vt.test(t)?dt(t):t||[],!1).length}});var _t,xt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(dt.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||_t,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:xt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof dt?e[0]:e,dt.merge(this,dt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ct,!0)),bt.test(n[1])&&dt.isPlainObject(e))for(n in e)ht(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=ct.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ht(t)?void 0!==i.ready?i.ready(t):t(dt):dt.makeArray(t,this)}).prototype=dt.fn,_t=dt(ct);var wt=/^(?:parents|prev(?:Until|All))/,Et={children:!0,contents:!0,next:!0,prev:!0};dt.fn.extend({has:function(t){var e=dt(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(dt.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,r=this.length,s=[],o="string"!=typeof t&&dt(t);if(!vt.test(t))for(;n<r;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?-1<o.index(i):1===i.nodeType&&dt.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(1<s.length?dt.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?it.call(dt(t),this[0]):it.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(dt.uniqueSort(dt.merge(this.get(),dt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),dt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return gt(t,"parentNode")},parentsUntil:function(t,e,i){return gt(t,"parentNode",i)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return gt(t,"nextSibling")},prevAll:function(t){return gt(t,"previousSibling")},nextUntil:function(t,e,i){return gt(t,"nextSibling",i)},prevUntil:function(t,e,i){return gt(t,"previousSibling",i)},siblings:function(t){return yt((t.parentNode||{}).firstChild,t)},children:function(t){return yt(t.firstChild)},contents:function(t){return null!=t.contentDocument&&Z(t.contentDocument)?t.contentDocument:(s(t,"template")&&(t=t.content||t),dt.merge([],t.childNodes))}},function(t,e){dt.fn[t]=function(i,n){var r=dt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=dt.filter(n,r)),1<this.length&&(Et[t]||dt.uniqueSort(r),wt.test(t)&&r.reverse()),this.pushStack(r)}});var Tt=/[^\x20\t\r\n\f]+/g;dt.Callbacks=function(t){var e,i;t="string"==typeof t?(e=t,i={},dt.each(e.match(Tt)||[],function(t,e){i[e]=!0}),i):dt.extend({},t);var r,s,o,a,l=[],h=[],u=-1,c=function(){for(a=a||t.once,o=r=!0;h.length;u=-1)for(s=h.shift();++u<l.length;)!1===l[u].apply(s[0],s[1])&&t.stopOnFalse&&(u=l.length,s=!1);t.memory||(s=!1),r=!1,a&&(l=s?[]:"")},p={add:function(){return l&&(s&&!r&&(u=l.length-1,h.push(s)),function e(i){dt.each(i,function(i,r){ht(r)?t.unique&&p.has(r)||l.push(r):r&&r.length&&"string"!==n(r)&&e(r)})}(arguments),s&&!r&&c()),this},remove:function(){return dt.each(arguments,function(t,e){for(var i;-1<(i=dt.inArray(e,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(t){return t?-1<dt.inArray(t,l):0<l.length},empty:function(){return l&&(l=[]),this},disable:function(){return a=h=[],l=s="",this},disabled:function(){return!l},lock:function(){return a=h=[],s||r||(l=s=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],h.push(e),r||c()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!o}};return p},dt.extend({Deferred:function(e){var i=[["notify","progress",dt.Callbacks("memory"),dt.Callbacks("memory"),2],["resolve","done",dt.Callbacks("once memory"),dt.Callbacks("once memory"),0,"resolved"],["reject","fail",dt.Callbacks("once memory"),dt.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return dt.Deferred(function(e){dt.each(i,function(i,n){var r=ht(t[n[4]])&&t[n[4]];s[n[1]](function(){var t=r&&r.apply(this,arguments);t&&ht(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,n,r){function s(e,i,n,r){return function(){var a=this,u=arguments,c=function(){var t,c;if(!(e<o)){if((t=n.apply(a,u))===i.promise())throw new TypeError("Thenable self
3-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,ht(c)?r?c.call(t,s(o,i,l,r),s(o,i,h,r)):(o++,c.call(t,s(o,i,l,r),s(o,i,h,r),s(o,i,l,i.notifyWith))):(n!==l&&(a=void 0,u=[t]),(r||i.resolveWith)(a,u))}},p=r?c:function(){try{c()}catch(t){dt.Deferred.exceptionHook&&dt.Deferred.exceptionHook(t,p.stackTrace),o<=e+1&&(n!==h&&(a=void 0,u=[t]),i.rejectWith(a,u))}};e?p():(dt.Deferred.getStackHook&&(p.stackTrace=dt.Deferred.getStackHook()),t.setTimeout(p))}}var o=0;return dt.Deferred(function(t){i[0][3].add(s(0,t,ht(r)?r:l,t.notifyWith)),i[1][3].add(s(0,t,ht(e)?e:l)),i[2][3].add(s(0,t,ht(n)?n:h))}).promise()},promise:function(t){return null!=t?dt.extend(t,r):r}},s={};return dt.each(i,function(t,e){var o=e[2],a=e[5];r[e[1]]=o.add,a&&o.add(function(){n=a},i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[0][3].lock),o.add(e[3].fire),s[e[0]]=function(){return s[e[0]+"With"](this===s?void 0:this,arguments),this},s[e[0]+"With"]=o.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(t){var e=arguments.length,i=e,n=Array(i),r=J.call(arguments),s=dt.Deferred(),o=function(t){return function(i){n[t]=this,r[t]=1<arguments.length?J.call(arguments):i,--e||s.resolveWith(n,r)}};if(e<=1&&(u(t,s.done(o(i)).resolve,s.reject,!e),"pending"===s.state()||ht(r[i]&&r[i].then)))return s.then();for(;i--;)u(r[i],o(i),s.reject);return s.promise()}});var St=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;dt.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&St.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},dt.readyException=function(e){t.setTimeout(function(){throw e})};var Ct=dt.Deferred();dt.fn.ready=function(t){return Ct.then(t).catch(function(t){dt.readyException(t)}),this},dt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--dt.readyWait:dt.isReady)||(dt.isReady=!0)!==t&&0<--dt.readyWait||Ct.resolveWith(ct,[dt])}}),dt.ready.then=Ct.then,"complete"===ct.readyState||"loading"!==ct.readyState&&!ct.documentElement.doScroll?t.setTimeout(dt.ready):(ct.addEventListener("DOMContentLoaded",c),t.addEventListener("load",c));var At=function(t,e,i,r,s,o,a){var l=0,h=t.length,u=null==i;if("object"===n(i))for(l in s=!0,i)At(t,e,l,i[l],!0,o,a);else if(void 0!==r&&(s=!0,ht(r)||(a=!0),u&&(a?(e.call(t,r),e=null):(u=e,e=function(t,e,i){return u.call(dt(t),i)})),e))for(;l<h;l++)e(t[l],i,a?r:r.call(t[l],l,e(t[l],i)));return s?t:u?e.call(t):h?e(t[0],i):o},Pt=/^-ms-/,kt=/-([a-z])/g,Dt=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};d.uid=1,d.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Dt(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,r=this.cache(t);if("string"==typeof e)r[f(e)]=i;else for(n in e)r[f(n)]=e[n];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][f(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(f):(e=f(e))in n?[e]:e.match(Tt)||[]).length;for(;i--;)delete n[e[i]]}
vendor: 17,554 bytes, line 3
3(void 0===e||dt.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!dt.isEmptyObject(e)}};var Mt=new d,Ft=new d,It=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ot=/[A-Z]/g;dt.extend({hasData:function(t){return Ft.hasData(t)||Mt.hasData(t)},data:function(t,e,i){return Ft.access(t,e,i)},removeData:function(t,e){Ft.remove(t,e)},_data:function(t,e,i){return Mt.access(t,e,i)},_removeData:function(t,e){Mt.remove(t,e)}}),dt.fn.extend({data:function(t,e){var i,n,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=Ft.get(s),1===s.nodeType&&!Mt.get(s,"hasDataAttrs"))){for(i=o.length;i--;)o[i]&&0===(n=o[i].name).indexOf("data-")&&(n=f(n.slice(5)),m(s,n,r[n]));Mt.set(s,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Ft.set(this,t)}):At(this,function(e){var i;if(s&&void 0===e)return void 0!==(i=Ft.get(s,t))||void 0!==(i=m(s,t))?i:void 0;this.each(function(){Ft.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){Ft.remove(this,t)})}}),dt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Mt.get(t,e),i&&(!n||Array.isArray(i)?n=Mt.access(t,e,dt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=dt.queue(t,e),n=i.length,r=i.shift(),s=dt._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,function(){dt.dequeue(t,e)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Mt.get(t,i)||Mt.access(t,i,{empty:dt.Callbacks("once memory").add(function(){Mt.remove(t,[e+"queue",i])})})}}),dt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?dt.queue(this[0],t):void 0===e?this:this.each(function(){var i=dt.queue(this,t,e);dt._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&dt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){dt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=dt.Deferred(),s=this,o=this.length,a=function(){--n||r.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=Mt.get(s[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),r.promise(e)}});var jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Lt=new RegExp("^(?:([+-])=|)("+jt+")([a-z%]*)$","i"),zt=["Top","Right","Bottom","Left"],Nt=ct.documentElement,Rt=function(t){return dt.contains(t.ownerDocument,t)},$t={composed:!0};Nt.getRootNode&&(Rt=function(t){return dt.contains(t.ownerDocument,t)||t.getRootNode($t)===t.ownerDocument});var Bt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&Rt(t)&&"none"===dt.css(t,"display")},qt={};dt.fn.extend({show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Bt(this)?dt(this).show():dt(this).hide()})}});var Vt,Ht,Gt=/^(?:checkbox|radio)$/i,Wt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ut=/^$|^module$|\/(?:java|ecma)script/i;Vt=ct.createDocumentFragment().appendChild(ct.createElement("div")),(Ht=ct.createElement("input")).setAttribute("type","radio"),Ht.setAttribute("checked","checked"),Ht.setAttribute("name","t"),Vt.appendChild(Ht),lt.checkClone=Vt.cloneNode(!0).cloneNode(!0).lastChild.checked,Vt.innerHTML="<textarea>x</textarea>",lt.noCloneChecked=!!Vt.cloneNode(!0).lastChild.defaultValue,Vt.innerHTML="<option></option>",lt.option=!!Vt.lastChild;var Xt={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,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,"<select multiple='multiple'>","</select>"]);var Qt=/<|&#?\w+;/,Yt=/^key/,Kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Zt=/^([^.]*)(?:\.(.+)|)/;dt.event={global:{},add:function(t,e,i,n,r){var s,o,a,l,h,u,c,p,f,d,m,g=Mt.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,r=s.selector),r&&dt.find.matchesSelector(Nt,r),i.guid||(i.guid=dt.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(e){return void 0!==dt&&dt.event.triggered!==e.type?dt.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(Tt)||[""]).length;h--;)f=m=(a=Zt.exec(e[h])||[])[1],d=(a[2]||"").split(".").sort(),f&&(c=dt.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=dt.event.special[f]||{},u=dt.extend({type:f,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&dt.expr.match.needsContext.test(r),namespace:d.join(".")},s),(p=l[f])||((p=l[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,d,o)||t.addEventListener&&t.addEventListener(f,o)),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),dt.event.global[f]=!0)},remove:function(t,e,i,n,r){var s,o,a,l,h,u,c,p,f,d,m,g=Mt.hasData(t)&&Mt.get(t);if(g&&(l=g.events)){for(h=(e=(e||"").match(Tt)||[""]).length;h--;)if(f=m=(a=Zt.exec(e[h])||[])[1],d=(a[2]||"").split(".").sort(),f){for(c=dt.event.special[f]||{},p=l[f=(n?c.delegateType:c.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=p.length;s--;)u=p[s],!r&&m!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(p.splice(s,1),u.selector&&p.delegateCount--,c.remove&&c.remove.call(t,u));o&&!p.length&&(c.teardown&&!1!==c.teardown.call(t,d,g.handle)||dt.removeEvent(t,f,g.handle),delete l[f])}else for(f in l)dt.event.remove(t,f+e[h],i,n,!0);dt.isEmptyObject(l)&&Mt.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,s,o,a=new Array(arguments.length),l=dt.event.fix(t),h=(Mt.get(this,"events")||Object.create(null))[l.type]||[],u=dt.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(o=dt.event.handlers.call(this,l,h),e=0;(r=o[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,i=0;(s=r.handlers[i++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==s.namespace&&!l.rnamespace.test(s.namespace)||(l.handleObj=s,l.data=s.data,void 0!==(n=((dt.event.special[s.origType]||{}).handle||s.handler).apply(r.elem,a))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var i,n,r,s,o,a=[],l=e.delegateCount,h=t.target;if(l&&h.nodeType&&!("click"===t.type&&1<=t.button))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==t.type||!0!==h.disabled)){for(s=[],o={},i=0;i<l;i++)void 0===o[r=(n=e[i]).selector+" "]&&(o[r]=n.needsContext?-1<dt(r,this).index(h):dt.find(r,this,null,[h]).length),o[r]&&s.push(n);s.length&&a.push({elem:h,handlers:s})}return h=this,l<e.length&&a.push({elem:h,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(dt.Event.prototype,t,{enumerable:!0,configurable:!0,get:ht(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[dt.expando]?t:new dt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Gt.test(e.type)&&e.click&&s(e,"input")&&S(e,"click",x),!1},trigger:function(t){var e=this||t;return Gt.test(e.type)&&e.click&&s(e,"input")&&S(e,"click"),!0},_default:function(t){var e=t.target;return Gt.test(e.type)&&e.click&&s(e,"input")&&Mt.get(e,"click")||s(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},dt.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},dt.Event=function(t,e){if(!(this instanceof dt.Event))return new dt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?x:w,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&dt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[dt.expando]=!0},dt.Event.prototype={constructor:dt.Event,isDefaultPrevented:w,isPropagationStopped:w,isImmediatePropagationStopped:w,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=x,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=x,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=x,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},dt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Yt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Kt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},dt.event.addProp),dt.each({focus:"focusin",blur:"focusout"},function(t,e){dt.event.special[t]={setup:function(){return S(this,t,E),!1},trigger:function(){return S(this,t),!0},delegateType:e}}),dt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){dt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,r=t.handleObj;return n&&(n===this||dt.contains(this,n))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),dt.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,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,dt(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=w),this.each(function(){dt.event.remove(this,t,i,e)})}});var Jt=/<script|<style|<link/i,te=/checked\s*(?:[^=]|=\s*.checked.)/i,ee=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;dt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,r,s,o,a,l,h,u=t.cloneNode(!0),c=Rt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||dt.isXMLDoc(t)))for(o=v(u),n=0,r=(s=v(t)).length;n<r;n++)a=s[n],"input"===(h=(l=o[n]).nodeName.toLowerCase())&&Gt.test(a.type)?l.checked=a.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=a.defaultValue);if(e)if(i)for(s=s||v(t),o=o||v(u),n=0,r=s.length;n<r;n++)k(s[n],o[n]);else k(t,u);return 0<(o=v(u,"script")).length&&b(o,!c&&v(t,"script")),u},cleanData:function(t){for(var e,i,n,r=dt.event.special,s=0;void 0!==(i=t[s]);s++)if(Dt(i)){if(e=i[Mt.expando]){if(e.events)for(n in e.events)r[n]?dt.event.remove(i,n):dt.removeEvent(i,n,e.handle);i[Mt.expando]=void 0}i[Ft.expando]&&(i[Ft.expando]=void 0)}}}),dt.fn.extend({detach:function(t){return M(this,t,!0)},remove:function(t){return M(this,t)},text:function(t){return At(this,function(t){return void 0===t?dt.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 D(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||C(this,t).appendChild(t)})},prepend:function(){return D(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=C(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return D(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return D(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&&(dt.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return dt.clone(this,t,e)})},html:function(t){return At(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&&!Jt.test(t)&&!Xt[(Wt.exec(t)||["",""])[1].toLowerCase()]){t=dt.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(dt.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return D(this,arguments,function(e){var i=this.parentNode;dt.inArray(this,t)<0&&(dt.cleanData(v(this)),i&&i.replaceChild(e,this))},t)}}),dt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){dt.fn[t]=function(t){for(var i,n=[],r=dt(t),s=r.length-1,o=0;o<=s;o++)i=o===s?this:this.clone(!0),dt(r[o])[e](i),et.apply(n,i.get());return this.pushStack(n)}});var ie=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),ne=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},re=function(t,e,i){var n,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];for(r in n=i.call(t),e)t.style[r]=s[r];return n},se=new RegExp(zt.join("|"),"i");!function(){function e(){if(u){h.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Nt.appendChild(h).appendChild(u);var e=t.getComputedStyle(u);n="1%"!==e.top,l=12===i(e.marginLeft),u.style.right="60%",o=36===i(e.right),r=36===i(e.width),u.style.position="absolute",s=12===i(u.offsetWidth/3),Nt.removeChild(h),u=null}}function i(t){return Math.round(parseFloat(t))}var n,r,s,o,a,l,h=ct.createElement("div"),u=ct.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",lt.clearCloneStyle="content-box"===u.style.backgroundClip,dt.extend(lt,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),s},reliableTrDimensions:function(){var e,i,n,r;return null==a&&(e=ct.createElement("table"),i=ct.createElement("tr"),n=ct.createElement("div"),e.style.cssText="position:absolute;left:-11111px",i.style.height="1px",n.style.height="9px",Nt.appendChild(e).appendChild(i).appendChild(n),r=t.getComputedStyle(i),a=3<parseInt(r.height),Nt.removeChild(e)),a}}))}();var oe=["Webkit","Moz","ms"],ae=ct.createElement("div").style,le={},he=/^(none|table(?!-c[ea]).+)/,ue=/^--/,ce={position:"absolute",visibility:"hidden",display:"block"},pe={letterSpacing:"0",fontWeight:"400"};dt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=F(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,s,o,a=f(e),l=ue.test(e),h=t.style;if(l||(e=O(a)),o=dt.cssHooks[e]||dt.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(r=o.get(t,!1,n))?r:h[e];"string"==(s=typeof i)&&(r=Lt.exec(i))&&r[1]&&(i=g(t,e,r),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=r&&r[3]||(dt.cssNumber[a]?"":"px")),lt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(h[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l?h.setProperty(e,i):h[e]=i))}},css:function(t,e,i,n){var r,s,o,a=f(e);return ue.test(e)||(e=O(a)),(o=dt.cssHooks[e]||dt.cssHooks[a])&&"get"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=F(t,e,n)),"normal"===r&&e in pe&&(r=pe[e]),""===i||i?(s=parseFloat(r),!0===i||isFinite(s)?s||0:r):r}}),dt.each(["height","width"],function(t,e){dt.cssHooks[e]={get:function(t,i,n){if(i)return!he.test(dt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?z(t,e,n):re(t,ce,function(){return z(t,e,n)})},set:function(t,i,n){var r,s=ne(t),o=!lt.scrollboxSize()&&"absolute"===s.position,a=(o||n)&&"border-box"===dt.css(t,"boxSizing",!1,s),l=n?L(t,e,n,a,s):0;return a&&o&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(s[e])-L(t,e,"border",!1,s)-.5)),l&&(r=Lt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=dt.css(t,e)),j(0,i,l)}}}),dt.cssHooks.marginLeft=I(lt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(F(t,"marginLeft"))||t.getBoundingClientRect().left-re(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),dt.each({margin:"",padding:"",border:"Width"},function(t,e){dt.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+zt[n]+e]=s[n]||s[n-2]||s[0];return r}},"margin"!==t&&(dt.cssHooks[t+e].set=j)}),dt.fn.extend({css:function(t,e){return At(this,function(t,e,i){var n,r,s={},o=0;if(Array.isArray(e)){for(n=ne(t),r=e.length;o<r;o++)s[e[o]]=dt.css(t,e[o],!1,n);return s}return void 0!==i?dt.style(t,e,i):dt.css(t,e)},t,e,1<arguments.length)}}
vendor: 4,917 bytes, lines 3-4
3),((dt.Tween=N).prototype={constructor:N,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||dt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(dt.cssNumber[i]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,i=N.propHooks[this.prop];return this.options.duration?this.pos=e=dt.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.set(this):N.propHooks._default.set(this),this}}).init.prototype=N.prototype,(N.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=dt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){dt.fx.step[t.prop]?dt.fx.step[t.prop](t):1!==t.elem.nodeType||!dt.cssHooks[t.prop]&&null==t.elem.style[O(t.prop)]?t.elem[t.prop]=t.now:dt.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},dt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},dt.fx=N.prototype.init,dt.fx.step={};var fe,de,me,ge,ye=/^(?:toggle|show|hide)$/,ve=/queueHooks$/;dt.Animation=dt.extend(V,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return g(i.elem,t,Lt.exec(e),i),i}]},tweener:function(t,e){ht(t)?(e=t,t=["*"]):t=t.match(Tt);for(var i,n=0,r=t.length;n<r;n++)i=t[n],V.tweeners[i]=V.tweeners[i]||[],V.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,r,s,o,a,l,h,u,c="width"in e||"height"in e,p=this,f={},d=t.style,m=t.nodeType&&Bt(t),g=Mt.get(t,"fxshow");for(n in i.queue||(null==(o=dt._queueHooks(t,"fx")).unqueued&&(o.unqueued=0,a=o.empty.fire,o.empty.fire=function(){o.unqueued||a()}),o.unqueued++,p.always(function(){p.always(function(){o.unqueued--,dt.queue(t,"fx").length||o.empty.fire()})})),e)if(r=e[n],ye.test(r)){if(delete e[n],s=s||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[n])continue;m=!0}f[n]=g&&g[n]||dt.style(t,n)}if((l=!dt.isEmptyObject(e))||!dt.isEmptyObject(f))for(n in c&&1===t.nodeType&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],null==(h=g&&g.display)&&(h=Mt.get(t,"display")),"none"===(u=dt.css(t,"display"))&&(h?u=h:(y([t],!0),h=t.style.display||h,u=dt.css(t,"display"),y([t]))),("inline"===u||"inline-block"===u&&null!=h)&&"none"===dt.css(t,"float")&&(l||(p.done(function(){d.display=h}),null==h&&(u=d.display,h="none"===u?"":u)),d.display="inline-block")),i.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(m=g.hidden):g=Mt.access(t,"fxshow",{display:h}),s&&(g.hidden=!m),m&&y([t],!0),p.done(function(){for(n in m||y([t]),Mt.remove(t,"fxshow"),f)dt.style(t,n,f[n])})),l=q(m?g[n]:0,n,p),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?V.prefilters.unshift(t):V.prefilters.push(t)}}),dt.speed=function(t,e,i){var n=t&&"object"==typeof t?dt.extend({},t):{complete:i||!i&&e||ht(t)&&t,duration:t,easing:i&&e||e&&!ht(e)&&e};return dt.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in dt.fx.speeds?n.duration=dt.fx.speeds[n.duration]:n.duration=dt.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){ht(n.old)&&n.old.call(this),n.queue&&dt.dequeue(this,n.queue)},n},dt.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Bt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=dt.isEmptyObject(t),s=dt.speed(e,i,n),o=function(){var e=V(this,dt.extend({},t),s);(r||Mt.get(this,"finish"))&&e.stop(!0)};return o.finish=o,r||!1===s.queue?this.each(o):this.queue(s.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",s=dt.timers,o=Mt.get(this);if(r)o[r]&&o[r].stop&&n(o[r]);else for(r in o)o[r]&&o[r].stop&&ve.test(r)&&n(o[r]) 4;for(r=s.length;r--;)s[r].elem!==this||null!=t&&s[r].queue!==t||(s[r].anim.stop(i),e=!1,s.splice(r,1));!e&&i||dt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=Mt.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=dt.timers,o=n?n.length:0;for(i.finish=!0,dt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),dt.each(["toggle","show","hide"],function(t,e){var i=dt.fn[e];dt.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(B(e,!0),t,n,r)}}
vendor: 19,241 bytes, line 4
4),dt.each({slideDown:B("show"),slideUp:B("hide"),slideToggle:B("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){dt.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),dt.timers=[],dt.fx.tick=function(){var t,e=0,i=dt.timers;for(fe=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||dt.fx.stop(),fe=void 0},dt.fx.timer=function(t){dt.timers.push(t),dt.fx.start()},dt.fx.interval=13,dt.fx.start=function(){de||(de=!0,R())},dt.fx.stop=function(){de=null},dt.fx.speeds={slow:600,fast:200,_default:400},dt.fn.delay=function(e,i){return e=dt.fx&&dt.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(i,n){var r=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(r)}})},me=ct.createElement("input"),ge=ct.createElement("select").appendChild(ct.createElement("option")),me.type="checkbox",lt.checkOn=""!==me.value,lt.optSelected=ge.selected,(me=ct.createElement("input")).value="t",me.type="radio",lt.radioValue="t"===me.value;var be,_e=dt.expr.attrHandle;dt.fn.extend({attr:function(t,e){return At(this,dt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){dt.removeAttr(this,t)})}}),dt.extend({attr:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?dt.prop(t,e,i):(1===s&&dt.isXMLDoc(t)||(r=dt.attrHooks[e.toLowerCase()]||(dt.expr.match.bool.test(e)?be:void 0)),void 0!==i?null===i?void dt.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=dt.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!lt.radioValue&&"radio"===e&&s(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(Tt);if(r&&1===t.nodeType)for(;i=r[n++];)t.removeAttribute(i)}}),be={set:function(t,e,i){return!1===e?dt.removeAttr(t,i):t.setAttribute(i,i),i}},dt.each(dt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=_e[e]||dt.find.attr;_e[e]=function(t,e,n){var r,s,o=e.toLowerCase();return n||(s=_e[o],_e[o]=r,r=null!=i(t,e,n)?o:null,_e[o]=s),r}});var xe=/^(?:input|select|textarea|button)$/i,we=/^(?:a|area)$/i;dt.fn.extend({prop:function(t,e){return At(this,dt.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[dt.propFix[t]||t]})}}),dt.extend({prop:function(t,e,i){var n,r,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&dt.isXMLDoc(t)||(e=dt.propFix[e]||e,r=dt.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=dt.find.attr(t,"tabindex");return e?parseInt(e,10):xe.test(t.nodeName)||we.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),lt.optSelected||(dt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),dt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){dt.propFix[this.toLowerCase()]=this}),dt.fn.extend({addClass:function(t){var e,i,n,r,s,o,a,l=0;if(ht(t))return this.each(function(e){dt(this).addClass(t.call(this,e,G(this)))});if((e=W(t)).length)for(;i=this[l++];)if(r=G(i),n=1===i.nodeType&&" "+H(r)+" "){for(o=0;s=e[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");r!==(a=H(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,r,s,o,a,l=0;if(ht(t))return this.each(function(e){dt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if((e=W(t)).length)for(;i=this[l++];)if(r=G(i),n=1===i.nodeType&&" "+H(r)+" "){for(o=0;s=e[o++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");r!==(a=H(n))&&i.setAttribute("class",a)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):ht(t)?this.each(function(i){dt(this).toggleClass(t.call(this,i,G(this),e),e)}):this.each(function(){var e,r,s,o;if(n)for(r=0,s=dt(this),o=W(t);e=o[r++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else void 0!==t&&"boolean"!==i||((e=G(this))&&Mt.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Mt.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+H(G(i))+" ").indexOf(e))return!0;return!1}});var Ee=/\r/g;dt.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=ht(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,dt(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=dt.map(r,function(t){return null==t?"":t+""})),(e=dt.valHooks[this.type]||dt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=dt.valHooks[r.type]||dt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(Ee,""):null==i?"":i:void 0}}),dt.extend({valHooks:{option:{get:function(t){var e=dt.find.attr(t,"value");return null!=e?e:H(dt.text(t))}},select:{get:function(t){var e,i,n,r=t.options,o=t.selectedIndex,a="select-one"===t.type,l=a?null:[],h=a?o+1:r.length;for(n=o<0?h:a?o:0;n<h;n++)if(((i=r[n]).selected||n===o)&&!i.disabled&&(!i.parentNode.disabled||!s(i.parentNode,"optgroup"))){if(e=dt(i).val(),a)return e;l.push(e)}return l},set:function(t,e){for(var i,n,r=t.options,s=dt.makeArray(e),o=r.length;o--;)((n=r[o]).selected=-1<dt.inArray(dt.valHooks.option.get(n),s))&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),dt.each(["radio","checkbox"],function(){dt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<dt.inArray(dt(t).val(),e)}},lt.checkOn||(dt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),lt.focusin="onfocusin"in t;var Te=/^(?:focusinfocus|focusoutblur)$/,Se=function(t){t.stopPropagation()};dt.extend(dt.event,{trigger:function(e,i,n,r){var s,o,a,l,h,u,c,p,f=[n||ct],d=st.call(e,"type")?e.type:e,m=st.call(e,"namespace")?e.namespace.split("."):[];if(o=p=a=n=n||ct,3!==n.nodeType&&8!==n.nodeType&&!Te.test(d+dt.event.triggered)&&(-1<d.indexOf(".")&&(d=(m=d.split(".")).shift(),m.sort()),h=d.indexOf(":")<0&&"on"+d,(e=e[dt.expando]?e:new dt.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:dt.makeArray(i,[e]),c=dt.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,i))){if(!r&&!c.noBubble&&!ut(n)){for(l=c.delegateType||d,Te.test(l+d)||(o=o.parentNode);o;o=o.parentNode)f.push(o),a=o;a===(n.ownerDocument||ct)&&f.push(a.defaultView||a.parentWindow||t)}for(s=0;(o=f[s++])&&!e.isPropagationStopped();)p=o,e.type=1<s?l:c.bindType||d,(u=(Mt.get(o,"events")||Object.create(null))[e.type]&&Mt.get(o,"handle"))&&u.apply(o,i),(u=h&&o[h])&&u.apply&&Dt(o)&&(e.result=u.apply(o,i),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(f.pop(),i)||!Dt(n)||h&&ht(n[d])&&!ut(n)&&((a=n[h])&&(n[h]=null),dt.event.triggered=d,e.isPropagationStopped()&&p.addEventListener(d,Se),n[d](),e.isPropagationStopped()&&p.removeEventListener(d,Se),dt.event.triggered=void 0,a&&(n[h]=a)),e.result}},simulate:function(t,e,i){var n=dt.extend(new dt.Event,i,{type:t,isSimulated:!0});dt.event.trigger(n,null,e)}}),dt.fn.extend({trigger:function(t,e){return this.each(function(){dt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return dt.event.trigger(t,e,i,!0)}}),lt.focusin||dt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){dt.event.simulate(e,t.target,dt.event.fix(t))};dt.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,r=Mt.access(n,e);r||n.addEventListener(t,i,!0),Mt.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=Mt.access(n,e)-1;r?Mt.access(n,e,r):(n.removeEventListener(t,i,!0),Mt.remove(n,e))}}});var Ce=t.location,Ae={guid:Date.now()},Pe=/\?/;dt.parseXML=function(e){var i;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){i=void 0}return i&&!i.getElementsByTagName("parsererror").length||dt.error("Invalid XML: "+e),i};var ke=/\[\]$/,De=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Fe=/^(?:input|select|textarea|keygen)/i;dt.param=function(t,e){var i,n=[],r=function(t,e){var i=ht(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!dt.isPlainObject(t))dt.each(t,function(){r(this.name,this.value)});else for(i in t)U(i,t[i],e,r);return n.join("&")},dt.fn.extend({serialize:function(){return dt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=dt.prop(this,"elements");return t?dt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!dt(this).is(":disabled")&&Fe.test(this.nodeName)&&!Me.test(t)&&(this.checked||!Gt.test(t))}).map(function(t,e){var i=dt(this).val();return null==i?null:Array.isArray(i)?dt.map(i,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:i.replace(De,"\r\n")}}).get()}});var Ie=/%20/g,Oe=/#.*$/,je=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:GET|HEAD)$/,Ne=/^\/\//,Re={},$e={},Be="*/".concat("*"),qe=ct.createElement("a");qe.href=Ce.href,dt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,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":JSON.parse,"text xml":dt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Y(Y(t,dt.ajaxSettings),e):Y(dt.ajaxSettings,t)},ajaxPrefilter:X(Re),ajaxTransport:X($e),ajax:function(e,i){function n(e,i,n,a){var h,p,f,_,x,w=i;u||(u=!0,l&&t.clearTimeout(l),r=void 0,o=a||"",E.readyState=0<e?4:0,h=200<=e&&e<300||304===e,n&&(_=function(t,e,i){for(var n,r,s,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in a)if(a[r]&&a[r].test(n)){l.unshift(r);break}if(l[0]in i)s=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}o||(o=r)}s=s||o}if(s)return s!==l[0]&&l.unshift(s),i[s]}(d,E,n)),!h&&-1<dt.inArray("script",d.dataTypes)&&(d.converters["text script"]=function(){}),_=function(t,e,i,n){var r,s,o,a,l,h={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)h[o.toLowerCase()]=t.converters[o];for(s=u.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(o=h[l+" "+s]||h["* "+s]))for(r in h)if((a=r.split(" "))[1]===s&&(o=h[l+" "+a[0]]||h["* "+a[0]])){!0===o?o=h[r]:!0!==h[r]&&(s=a[0],u.unshift(a[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 "+s}}}return{state:"success",data:e}}(d,_,E,h),h?(d.ifModified&&((x=E.getResponseHeader("Last-Modified"))&&(dt.lastModified[s]=x),(x=E.getResponseHeader("etag"))&&(dt.etag[s]=x)),204===e||"HEAD"===d.type?w="nocontent":304===e?w="notmodified":(w=_.state,p=_.data,h=!(f=_.error))):(f=w,!e&&w||(w="error",e<0&&(e=0))),E.status=e,E.statusText=(i||w)+"",h?y.resolveWith(m,[p,w,E]):y.rejectWith(m,[E,w,f]),E.statusCode(b),b=void 0,c&&g.trigger(h?"ajaxSuccess":"ajaxError",[E,d,h?p:f]),v.fireWith(m,[E,w]),c&&(g.trigger("ajaxComplete",[E,d]),--dt.active||dt.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=void 0),i=i||{};var r,s,o,a,l,h,u,c,p,f,d=dt.ajaxSetup({},i),m=d.context||d,g=d.context&&(m.nodeType||m.jquery)?dt(m):dt.event,y=dt.Deferred(),v=dt.Callbacks("once memory"),b=d.statusCode||{},_={},x={},w="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=Le.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==u&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)E.always(t[E.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),n(0,e),this}};if(y.promise(E),d.url=((e||d.url||Ce.href)+"").replace(Ne,Ce.protocol+"//"),d.type=i.method||i.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Tt)||[""],null==d.crossDomain){h=ct.createElement("a");try{h.href=d.url,h.href=h.href,d.crossDomain=qe.protocol+"//"+qe.host!=h.protocol+"//"+h.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=dt.param(d.data,d.traditional)),Q(Re,d,i,E),u)return E;for(p in(c=dt.event&&d.global)&&0==dt.active++&&dt.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ze.test(d.type),s=d.url.replace(Oe,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ie,"+")):(f=d.url.slice(s.length),d.data&&(d.processData||"string"==typeof d.data)&&(s+=(Pe.test(s)?"&":"?")+d.data,delete d.data),!1===d.cache&&(s=s.replace(je,"$1"),f=(Pe.test(s)?"&":"?")+"_="+Ae.guid+++f),d.url=s+f),d.ifModified&&(dt.lastModified[s]&&E.setRequestHeader("If-Modified-Since",dt.lastModified[s]),dt.etag[s]&&E.setRequestHeader("If-None-Match",dt.etag[s])),(d.data&&d.hasContent&&!1!==d.contentType||i.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Be+"; q=0.01":""):d.accepts["*"]),d.headers)E.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(m,E,d)||u))return E.abort();if(w="abort",v.add(d.complete),E.done(d.success),E.fail(d.error),r=Q($e,d,i,E)){if(E.readyState=1,c&&g.trigger("ajaxSend",[E,d]),u)return E;d.async&&0<d.timeout&&(l=t.setTimeout(function(){E.abort("timeout")},d.timeout));try{u=!1,r.send(_,n)}catch(e){if(u)throw e;n(-1,e)}}else n(-1,"No Transport");return E},getJSON:function(t,e,i){return dt.get(t,e,i,"json")},getScript:function(t,e){return dt.get(t,void 0,e,"script")}}),dt.each(["get","post"],function(t,e){dt[e]=function(t,i,n,r){return ht(i)&&(r=r||n,n=i,i=void 0),dt.ajax(dt.extend({url:t,type:e,dataType:r,data:i,success:n},dt.isPlainObject(t)&&t))}}),dt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),dt._evalUrl=function(t,e,i){return dt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){dt.globalEval(t,e,i)}})},dt.fn.extend({wrapAll:function(t){var e;return this[0]&&(ht(t)&&(t=t.call(this[0])),e=dt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return ht(t)?this.each(function(e){dt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=dt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=ht(t);return this.each(function(i){dt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){dt(this).replaceWith(this.childNodes)}),this}}),dt.expr.pseudos.hidden=function(t){return!dt.expr.pseudos.visible(t)},dt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},dt.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},He=dt.ajaxSettings.xhr();lt.cors=!!He&&"withCredentials"in He,lt.ajax=He=!!He,dt.ajaxTransport(function(e){var i,n;if(lt.cors||He&&!e.crossDomain)return{send:function(r,s){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(o,r[o]);i=function(t){return function(){i&&(i=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s(Ve[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=i(),n=a.onerror=a.ontimeout=i("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&t.setTimeout(function(){i&&n()})},i=i("abort");try{a.send(e.hasContent&&e.data||null)}catch(r){if(i)throw r}},abort:function(){i&&i()}}}),dt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),dt.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 dt.globalEval(t),t}}}),dt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),dt.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(n,r){e=dt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&r("error"===t.type?404:200,t.type)}),ct.head.appendChild(e[0])},abort:function(){i&&i()}}});var Ge,We=[],Ue=/(=)\?(?=&|$)|\?\?/;dt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||dt.expando+"_"+Ae.guid++;return this[t]=!0,t}}),dt.ajaxPrefilter("json jsonp",function(e,i,n){var r,s,o,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ht(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+r):!1!==e.jsonp&&(e.url+=(Pe.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||dt.error(r+" was not called"),o[0]},e.dataTypes[0]="json",s=t[r],t[r]=function(){o=arguments},n.always(function(){void 0===s?dt(t).removeProp(r):t[r]=s,e[r]&&(e.jsonpCallback=i.jsonpCallback,We.push(r)),o&&ht(s)&&s(o[0]),o=s=void 0}),"script"}),lt.createHTMLDocument=((Ge=ct.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>
4",2===Ge.childNodes.length),dt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ct.implementation.createHTMLDocument("")).createElement("base")).href=ct.location.href,e.head.appendChild(n)):e=ct),s=!i&&[],(r=bt.exec(t))?[e.createElement(r[1])]:(r=_([t],e,s),s&&s.length&&dt(s).remove(),dt.merge([],r.childNodes)));var n,r,s},dt.fn.load=function(t,e,i){var n,r,s,o=this,a=t.indexOf(" ");return-1<a&&(n=H(t.slice(a)),t=t.slice(0,a)),ht(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<o.length&&dt.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){s=arguments,o.html(n?dt("<div>").append(dt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},dt.expr.pseudos.animated=function(t){return dt.grep(dt.timers,function(e){return t===e.elem}).length},dt.offset={setOffset:function(t,e,i){var n,r,s,o,a,l,h=dt.css(t,"position"),u=dt(t),c={};"static"===h&&(t.style.position="relative"),a=u.offset(),s=dt.css(t,"top"),l=dt.css(t,"left"),("absolute"===h||"fixed"===h)&&-1<(s+l).indexOf("auto")?(o=(n=u.position()).top,r=n.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),ht(e)&&(e=e.call(t,i,dt.extend({},a))),null!=e.top&&(c.top=e.top-a.top+o),null!=e.left&&(c.left=e.left-a.left+r),"using"in e?e.using.call(t,c):("number"==typeof c.top&&(c.top+="px"),"number"==typeof c.left&&(c.left+="px"),u.css(c))}},dt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){dt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===dt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===dt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=dt(t).offset()).top+=dt.css(t,"borderTopWidth",!0),r.left+=dt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-dt.css(n,"marginTop",!0),left:e.left-r.left-dt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===dt.css(t,"position");)t=t.offsetParent;return t||Nt})}}),dt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;dt.fn[t]=function(n){return At(this,function(t,n,r){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===r)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:r,i?r:s.pageYOffset):t[n]=r},t,n,arguments.length)}}),dt.each(["top","left"],function(t,e){dt.cssHooks[e]=I(lt.pixelPosition,function(t,i){if(i)return i=F(t,e),ie.test(i)?dt(t).position()[e]+"px":i})}),dt.each({Height:"height",Width:"width"},function(t,e){dt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){dt.fn[n]=function(r,s){var o=arguments.length&&(i||"boolean"!=typeof r),a=i||(!0===r||!0===s?"margin":"border");return At(this,function(e,i,r){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===r?dt.css(e,i,a):dt.style(e,i,r,a)},e,o?r:void 0,o)}})}),dt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){dt.fn[e]=function(t){return this.on(e,t)}}),dt.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)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),dt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){dt.fn[e]=function(t,i){return 0<arguments.length?this.on(e,null,t,i):this.trigger(e)}});var Xe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;dt.proxy=function(t,e){var i,n,r;if("string"==typeof e&&(i=t[e],e=t,t=i),ht(t))return n=J.call(arguments,2),(r=function(){return t.apply(e||this,n.concat(J.call(arguments)))}).guid=t.guid=t.guid||dt.guid++,r},dt.holdReady=function(t){t?dt.readyWait++:dt.ready(!0)},dt.isArray=Array.isArray,dt.parseJSON=JSON.parse,dt.nodeName=s,dt.isFunction=ht,dt.isWindow=ut,dt.camelCase=f,dt.type=n,dt.now=Date.now,dt.isNumeric=function(t){var e=dt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},dt.trim=function(t){return null==t?"":(t+"").replace(Xe,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return dt});var Qe=t.jQuery,Ye=t.$;return dt.noConflict=function(e){return t.$===dt&&(t.$=Ye),e&&t.jQuery===dt&&(t.jQuery=Qe),dt},void 0===e&&(t.jQuery=t.$=dt),dt}
vendor: 9,178 bytes, lines 4-5
4),function(t,e,i,n){function r(e,i){this.settings=null,this.options=t.extend({},r.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(r.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(r.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}r.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Type={Event:"event",State:"state"},r.Plugins={},r.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,r={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,r=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,s[n]=r?e*i:this._items[n].width();this._widths=s}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,r=Math.max(2*n.items,4),s=2*Math.ceil(i.length/2),o=n.loop&&i.length?n.rewind?r:Math.max(r,s):0,a="",l="";for(o/=2;o>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,o-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,r=0,s=[];++i<e;)n=s[i-1]||0,r=this._widths[this.relative(i)]+this.settings.margin,s.push(n+r*t);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,r=this.settings.rtl?1:-1,s=2*this.settings.stagePadding,o=this.coordinates(this.current())+s,a=o+this.width()*r,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+s*r,(this.op(t,"<=",o)&&this.op(t,">",a)||this.op(e,"<",o)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],r.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},r.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},r.prototype.initialize=function(){var t,e,i;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},r.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},r.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,r=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),"function"==typeof(r=t.extend({},this.options,i[n])).stagePadding&&(r.stagePadding=r.stagePadding()),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):r=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=n,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},r.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},r.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),r={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(r),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},r.prototype.width=function(t){switch(t=t||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){ 5this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},r.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},r.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},r.prototype.onDragStart=function(e){var n=null;
vendor: 5,707 bytes, line 5
53!==e.which&&(t.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},r.prototype.onDragMove=function(t){var e=null,i=null,n=null,r=this.difference(this._drag.pointer,this.pointer(t)),s=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,s.x=((s.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*r.x/5:0,s.x=Math.max(Math.min(s.x,e+n),i+n)),this._drag.stage.current=s,this.animate(s.x))},r.prototype.onDragEnd=function(e){var n=this.difference(this._drag.pointer,this.pointer(e)),r=this._drag.stage.current,s=n.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==n.x?s:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=s,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},r.prototype.closest=function(e,i){var r=-1,s=30,o=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy(function(t,l){return"left"===i&&e>l-s&&e<l+s?r=t:"right"===i&&e>l-o-s&&e<l-o+s?r=t+1:this.op(e,"<",l)&&this.op(e,">",a[t+1]!==n?a[t+1]:l-o)&&(r="left"===i?t+1:t),-1===r},this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?r=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(r=e=this.maximum())),r},r.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},r.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},r.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},r.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},r.prototype.normalize=function(t,e){var i=this._items.length,r=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+r)&&(t=((t-r/2)%i+i)%i+r/2),t},r.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},r.prototype.maximum=function(t){var e,i,n,r=this.settings,s=this._coordinates.length;if(r.loop)s=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););s=e+1}else s=r.center?this._items.length-1:this._items.length-r.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},r.prototype.minimum=function(t){return t?0:this._clones.length/2},r.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},r.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},r.prototype.clones=function(e){var i=this._clones.length/2,r=i+this._items.length,s=function(t){return t%2==0?r+t/2:i-(t+1)/2};return e===n?t.map(this._clones,function(t,e){return s(e)}):t.map(this._clones,function(t,i){return t===e?s(i):null})},r.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},r.prototype.coordinates=function(e){var i,r=1,s=e-1;return e===n?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(r=-1,s=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[s]||0))/2*r):i=this._coordinates[s]||0,i=Math.ceil(i))}
vendor: 26,485 bytes, lines 5-6
5,r.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},r.prototype.to=function(t,e){var i=this.current(),n=null,r=t-this.relative(i),s=(r>0)-(r<0),o=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>o/2&&(r+=-1*s*o),(n=(((t=i+r)-a)%o+o)%o+a)!==t&&n-r<=l&&n-r>0&&(i=n-r,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},r.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},r.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},r.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},r.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth&&(n=i.documentElement.clientWidth),n},r.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(e,i){var r=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[r]&&this.reset(this._items[r].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},r.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},r.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},r.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},r.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},r.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},r.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},r.prototype.trigger=function(e,i,n){var s={item:{count:this._items.length,index:this.current()}},o=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),a=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},s,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:r.Type.Event,name:e}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].call(this,a)),a},r.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++},this))},r.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},r.prototype.register=function(e){if(e.type===r.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===r.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},r.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},r.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},r.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},r.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},r.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this),s=n.data("owl.carousel");s||(s=new r(this,"object"==typeof e&&e),n.data("owl.carousel",s),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){s.register({type:r.Type.Event,name:i}),s.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),s[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},s))})),"string"==typeof e&&"_"!==e.charAt(0)&&s[e].apply(s,i)})},t.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},i.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,r=i.center&&Math.ceil(i.items/2)||i.items,s=i.center&&-1*r||0,o=(e.property&&e.property.value!==n?e.property.value:this._core.current())+s,a=this._core.clones().length,l=t.proxy(function(t,e){this.load(e)},this);for(i.lazyLoadEager>0&&(r+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,r++));s++<r;)this.load(a/2+this._core.relative(o)),a&&t.each(this._core.clones(this._core.relative(o)),l),o++}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={lazyLoad:!1,lazyLoadEager:0},r.prototype.load=function(i){var n=this._core.$stage.children().eq(i),r=n&&n.find(".owl-lazy");!r||t.inArray(n.get(0),this._loaded)>-1||(r.each(t.proxy(function(i,n){var r,s=t(n),o=e.devicePixelRatio>1&&s.attr("data-src-retina")||s.attr("data-src")||s.attr("data-srcset");this._core.trigger("load",{element:s,url:o},"lazy"),s.is("img")?s.one("load.owl.lazy",t.proxy(function(){s.css("opacity",1),this._core.trigger("loaded",{element:s,url:o},"lazy")},this)).attr("src",o):s.is("source")?s.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:s,url:o},"lazy")},this)).attr("srcset",o):((r=new Image).onload=t.proxy(function(){s.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:s,url:o},"lazy")},this),r.src=o)},this)),this._loaded.push(n.get(0)))},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var r=this;t(e).on("load",function(){r._core.settings.autoHeight&&r.update()}),t(e).resize(function(){r._core.settings.autoHeight&&(null!=r._intervalId&&clearTimeout(r._intervalId),r._intervalId=setTimeout(function(){r.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,r=this._core.$stage.children().toArray().slice(e,i),s=[],o=0;t.each(r,function(e,i){s.push(t(i).height())}),(o=Math.max.apply(null,s))<=1&&n&&this._previousHeight&&(o=this._previousHeight),this._previousHeight=o,this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(t,e,i){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,o=t.attr("href");if(!o)throw new Error("Missing video URL.");if((n=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[o]={type:i,id:n,width:r,height:s},e.attr("data-video",o),this.thumbnail(t,this._videos[o])},n.prototype.thumbnail=function(e,i){var n,r,s,o=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",a=e.find("img"),l="src",h="",u=this._core.settings,c=function(i){r='<div class="owl-video-play-icon"></div>',n=u.lazyLoad?t("<div/>",{class:"owl-video-tn "+h,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after(r)};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(l="data-src",h="owl-lazy"),a.length)return c(a.attr(l)),a.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(s)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,c(s)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,c(s)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),r=this._videos[n.attr("data-video")],s=r.width||"100%",o=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",o),i.attr("width",s),"youtube"===r.type?i.attr("src","//www.youtube.com/embed/"+r.id+"?autoplay=1&rel=0&v="+r.id):"vimeo"===r.type?i.attr("src","//player.vimeo.com/video/"+r.id+"?autoplay=1"):"vzaar"===r.type&&i.attr("src","//view.vzaar.com/"+r.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this.core=e,this.core.options=t.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(o)),s&&r.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(s))}},r.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(t,e,i){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,n){var r;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,r=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-r,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-r)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var e=function(i){this._core=i,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this)),this._overrides)this._core[e]=t.proxy(this[e],this)},e.prototype.destroy=function(){var t,e,i,n,r;for(t in r=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&r.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,o=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=i,e=0;t<n;t++){if(e>=o||0===e){if(this._pages.push({start:Math.min(r,t-i),end:t-i+o-1}),Math.min(r,t-i)===r)break;e=0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,r=this._core.relative(this._core.current()),s=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!s&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!s&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},e.prototype.current=function(){var e=this._core.relative(this._core.current()) 6;return t.grep(this._pages,t.proxy(function(t){return t.start<=e&&t.end>=e},this)).pop()},e.prototype.getPosition=function(e){var i,n,r=this._core.settings;return"page"==r.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=r.slideBy:i-=r.slideBy),i},e.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},e.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},e.prototype.to=function(e,i,n){var r;!n&&this._pages.length?(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=e}
vendor: 3,199 bytes, line 6
6(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var r=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(){var t=e.location.hash.substring(1),i=this._core.$stage.children(),r=this._hashes[t]&&i.index(this._hashes[t]);r!==n&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function r(e,i){var r=!1,s=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(s+" ")+s).split(" "),function(t,e){if(o[e]!==n)return r=!i||e,!1}),r}function s(t){return r(t,!0)}var o=t("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},h={csstransforms:function(){return!!r("transform")},csstransforms3d:function(){return!!r("perspective")},csstransitions:function(){return!!r("transition")},cssanimations:function(){return!!r("animation")}};h.csstransitions()&&(t.support.transition=new String(s("transition")),t.support.transition.end=l.transition.end[t.support.transition]),h.cssanimations()&&(t.support.animation=new String(s("animation")),t.support.animation.end=l.animation.end[t.support.animation]),h.csstransforms()&&(t.support.transform=new String(s("transform")),t.support.transform3d=h.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?exports["foundation.core"]=e(require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.core"]=e(t.jQuery))}(window,function(t){function e(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return i[t].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return i={
6"./js/entries/plugins/foundation.core.js":function(t,e,i){"use strict";i.r(e);var n=i("jquery"),r=(n=i.n(n),i("./js/foundation.core.js"));i.d(e,"Foundation",function(){return r.Foundation});var s=i("./js/foundation.core.plugin.js"),o=i("./js/foundation.core.utils.js");i.d(e,"Plugin",function(){return s.Plugin}),i.d(e,"rtl",function(){return o.rtl}),i.d(e,"GetYoDigits",function(){return o.GetYoDigits}),i.d(e,"RegExpEscape",function(){return o.RegExpEscape}),i.d(e,"transitionend",function(){return o.transitionend}),i.d(e,"onLoad",function(){return o.onLoad}),i.d(e,"ignoreMousedisappear",function(){return o.ignoreMousedisappear}),r.Foundation.addToJquery(n.a),r.Foundation.Plugin=s.Plugin,r.Foundation.rtl=o.rtl,r.Foundation.GetYoDigits=o.GetYoDigits,r.Foundation.transitionend=o.transitionend,r.Foundation.RegExpEscape=o.RegExpEscape,r.Foundation.onLoad=o.onLoad,window.Foundation=r.Foundation},
6"./js/foundation.core.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return void 0!==Function.prototype.name?(void 0===t.prototype?t:t.prototype).constructor.name:(t=/function\s([^(]{1,})\(/.exec(t.toString()))&&1<t.length?t[1].trim():""}function s(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}i.r(e),i.d(e,"Foundation",function(){return h}),e=i("jquery");var o=i.n(e),a=i("./js/foundation.core.utils.js"),l=i("./js/foundation.util.mediaQuery.js"),h={version:"6.7.5",_plugins:{},_uuids:[],plugin:function(t,e){var i=e||r(t);e=s(i),this._plugins[e]=this[i]=t},registerPlugin:function(t,e){e=e?s(e):r(t.constructor).toLowerCase(),t.uuid=Object(a.GetYoDigits)(6,e),t.$element.attr("data-".concat(e))||t.$element.attr("data-".concat(e),t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf.".concat(e)),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var e,i=s(r(t.$element.data("zfPlugin").constructor));for(e in this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-".concat(i)).removeData("zfPlugin").trigger("destroyed.zf.".concat(i)),t)"function"==typeof t[e]&&(t[e]=null)},reInit:function(t){var e,i,r=t instanceof o.a;try{r?t.each(function(){o()(this).data("zfPlugin")._init()}):(e=n(t),i=this,{object:function(t){t.forEach(function(t){t=s(t),o()("[data-"+t+"]").foundation("_init")})},string:function(){t=s(t),o()("[data-"+t+"]").foundation("_init")},undefined:function(){this.object(Object.keys(i._plugins))}}[e](t))}catch(t){}finally{return t}},reflow:function(t,e){void 0===e?e=Object.keys(this._plugins):"string"==typeof e&&(e=[e]);var i=this;o.a.each(e,function(e,n){var r=i._plugins[n];o()(t).find("[data-"+n+"]").addBack("[data-"+n+"]").filter(function(){return void 0===o()(this).data("zfPlugin")}).each(function(){var t=o()(this),e={reflow:!0};t.attr("data-options")&&t.attr("data-options").split(";").forEach(function(t){(t=t.split(":").map(function(t){return t.trim()}))[0]&&(e[t[0]]=function(t){return"true"===t||"false"!==t&&(isNaN(+t)?t:parseFloat(t))}(t[1]))});try{t.data("zfPlugin",new r(o()(this),e))}catch(t){}finally{return}})})},getFnName:r,addToJquery:function(){return o.a.fn.foundation=function(t){var e=n(t),i=o()(".no-js");if(i.length&&i.removeClass("no-js"),"undefined"===e)l.MediaQuery._init(),h.reflow(this);else{if("string"!==e)throw new TypeError("We're sorry, ".concat(e," is not a valid parameter. You must use a string representing the method you wish to invoke."));var s=Array.prototype.slice.call(arguments,1),a=this.data("zfPlugin");if(void 0===a||void 0===a[t])throw new ReferenceError("We're sorry, '"+t+"' is not an available method for "+(a?r(a):"this element")+".");1===this.length?a[t].apply(a,s):this.each(function(e,i){a[t].apply(o()(i).data("zfPlugin"),s)})}return this},o.a}};h.util={throttle:function(t,e){var i=null;return function(){var n=this,r=arguments;null===i&&(i=setTimeout(function(){t.apply(n,r),i=null},e))}}},window.Foundation=h,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var t,e=["webkit","moz"],i=0;i<e.length&&!window.requestAnimationFrame;++i){var n=e[i];window.requestAnimationFrame=window[n+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(t=0,window.requestAnimationFrame=function(e){var i=Date.now(),n=Math.max(t+16,i);return setTimeout(function(){e(t=n)},n-i)},window.cancelAnimationFrame=clearTimeout),window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(t){function e(){return n.apply(this instanceof r?this:t,i.concat(Array.prototype.slice.call(arguments)))}if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
6var i=Array.prototype.slice.call(arguments,1),n=this,r=function(){};return this.prototype&&(r.prototype=this.prototype),e.prototype=new r,e})},
6"./js/foundation.core.plugin.js":function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t){return t.className.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}i.r(e),i.d(e,"Plugin",function(){return o});var s=i("./js/foundation.core.utils.js"),o=function(){function t(e,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._setup(e,i),i=r(this),this.uuid=Object(s.GetYoDigits)(6,i),this.$element.attr("data-".concat(i))||this.$element.attr("data-".concat(i),this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger("init.zf.".concat(i))}var e,i,o;return e=t,(i=[{key:"destroy",value:function(){this._destroy();var t,e=r(this);for(t in this.$element.removeAttr("data-".concat(e)).removeData("zfPlugin").trigger("destroyed.zf.".concat(e)),this)this.hasOwnProperty(t)&&(this[t]=null)}}])&&n(e.prototype,i),o&&n(e,o),t}()},
6"./js/foundation.core.utils.js":function(t,e,i){"use strict";function n(){return"rtl"===h()("html").attr("dir")}function r(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:6,e=1<arguments.length?arguments[1]:void 0,i="",n="0123456789abcdefghijklmnopqrstuvwxyz",r=n.length,s=0;s<t;s++)i+=n[Math.floor(Math.random()*r)];return e?"".concat(i,"-").concat(e):i}function s(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function o(t){var e,i,n={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},r=document.createElement("div");for(i in n)void 0!==r.style[i]&&(e=n[i]);return e||(setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}function a(t,e){function i(){return t.triggerHandler(r)}var n="complete"===document.readyState,r=(n?"_didLoad":"load")+".zf.util.onLoad";return t&&(e&&t.one(r,e),n?setTimeout(i):h()(window).one("load",i)),r}function l(t){var e,i=(e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).ignoreLeaveWindow,n=void 0!==i&&i,r=void 0!==(e=e.ignoreReappear)&&e;return function(e){for(var i=arguments.length,s=new Array(1<i?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];var a=t.bind.apply(t,[this,e].concat(s));if(null!==e.relatedTarget)return a();setTimeout(function(){return n||!document.hasFocus||document.hasFocus()?void(r||h()(document).one("mouseenter",function(t){h()(e.currentTarget).has(t.target).length||(e.relatedTarget=t.target,a())})):a()},0)}}i.r(e),i.d(e,"rtl",function(){return n}),i.d(e,"GetYoDigits",function(){return r}),i.d(e,"RegExpEscape",function(){return s}),i.d(e,"transitionend",function(){return o}),i.d(e,"onLoad",function(){return a}),i.d(e,"ignoreMousedisappear",function(){return l}),e=i("jquery");var h=i.n(e)},
6"./js/foundation.util.mediaQuery.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,s=[],o=!0,a=!1;try{for(i=i.call(t);!(o=(n=i.next()).done)&&(s.push(n.value),!e||s.length!==e);o=!0);}catch(t){a=!0,r=t}finally{try{o||null==i.return||i.return()}finally{if(a)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(i="Object"===i&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}i.r(e),i.d(e,"MediaQuery",function(){return u}),e=i("jquery");var o,a,l,h=i.n(e);window.matchMedia||(window.matchMedia=((l=window.styleMedia||window.media)||(o=document.createElement("style"),e=document.getElementsByTagName("script")[0],a=null,o.type="text/css",o.id="matchmediajs-test",e?e.parentNode.insertBefore(o,e):document.head.appendChild(o),a="getComputedStyle"in window&&window.getComputedStyle(o,null)||o.currentStyle,l={matchMedium:function(t){return t="@media "+t+"{ #matchmediajs-test { width: 1px; } }",o.styleSheet?o.styleSheet.cssText=t:o.textContent=t,"1px"===a.width}}),function(t){return{matches:l.matchMedium(t||"all"),media:t||"all"}}));var u={queries:[],current:"",_init:function(){if(!0===this.isInitialized)return this;this.isInitialized=!0,h()("meta.foundation-mq").length||h()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);var t,e,i,n=h()(".foundation-mq").css("font-family");for(i in e={},t="string"==typeof n&&(n=n.trim().slice(1,-1))?e=n.split("&").reduce(function(t,e){e=(i=e.replace(/\+/g," ").split("="))[0];var i=i[1];return e=decodeURIComponent(e),i=void 0===i?null:decodeURIComponent(i),t.hasOwnProperty(e)?Array.isArray(t[e])?t[e].push(i):t[e]=[t[e],i]:t[e]=i,t},{}):e,this.queries=[],t)t.hasOwnProperty(i)&&this.queries.push({name:i,value:"only screen and (min-width: ".concat(t[i],")")});this.current=this._getCurrentSize(),this._watcher()},_reInit:function(){this.isInitialized=!1,this._init()},atLeast:function(t){return!!(t=this.get(t))&&window.matchMedia(t).matches},only:function(t){return t===this._getCurrentSize()},upTo:function(t){return!(t=this.next(t))||!this.atLeast(t)},is:function(t){var e,i=(e=r(t.trim().split(" ").filter(function(t){return!!t.length}),2))[0];if("only"===(e=void 0===(e=e[1])?"":e))return this.only(i);if(!e||"up"===e)return this.atLeast(i);if("down"===e)return this.upTo(i);throw new Error('\n Invalid breakpoint passed to MediaQuery.is().\n Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(t,'".\n '))},get:function(t){for(var e in this.queries)if(this.queries.hasOwnProperty(e)&&t===(e=this.queries[e]).name)return e.value;return null},next:function(t){var e=this,i=this.queries.findIndex(function(i){return e._getQueryName(i)===t});if(-1===i)throw new Error('\n Unknown breakpoint "'.concat(t,'" passed to MediaQuery.next().\n Ensure it is present in your Sass "$breakpoints" setting.\n '));return(i=this.queries[i+1])?i.name:null},_getQueryName:function(t){if("string"==typeof t)return t;if("object"===n(t))return t.name;throw new TypeError('\n Invalid value passed to MediaQuery._getQueryName().\n Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(t,'" (').concat(n(t),")\n "))},_getCurrentSize:function(){for(var t,e=0;e<this.queries.length;e++){var i=this.queries[e];window.matchMedia(i.value).matches&&(t=i)}return t&&this._getQueryName(t)},_watcher:function(){var t=this;h()(window).on("resize.zf.trigger",function(){var e=t._getCurrentSize(),i=t.current;e!==i&&(t.current=e,h()(window).trigger("changed.zf.mediaquery",[e,i]))})}}}
6,0:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.core.js")},jquery:function(e){e.exports=t}},n={},e.m=i,e.c=n,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var r in t)e.d(n,r,function(e){return t[e]}.bind(null,r));return n},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0);var i,n}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.motion"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.motion"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
6"./js/entries/plugins/foundation.util.motion.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.util.motion.js");i.d(e,"Motion",function(){return r.Motion}),i.d(e,"Move",function(){return r.Move}),n.Foundation.Motion=r.Motion,n.Foundation.Move=r.Move},
6"./js/foundation.util.motion.js":function(t,e,i){"use strict";function n(t,e,i){var n,r,s=null;if(0===t)return i.apply(e),void e.trigger("finished.zf.animate",[e]).triggerHandler("finished.zf.animate",[e]);n=window.requestAnimationFrame(function o(a){r=a-(s=s||a),i.apply(e),r<t?n=window.requestAnimationFrame(o,e):(window.cancelAnimationFrame(n),e.trigger("finished.zf.animate",[e]).triggerHandler("finished.zf.animate",[e]))})}function r(t,e,i,n){function r(){e[0].style.transitionDuration=0,e.removeClass("".concat(h," ").concat(u," ").concat(i))}var h,u;(e=s()(e).eq(0)).length&&(h=t?a[0]:a[1],u=t?l[0]:l[1],r(),e.addClass(i).css("transition","none"),requestAnimationFrame(function(){e.addClass(h),t&&e.show()}),requestAnimationFrame(function(){e[0].offsetWidth,e.css("transition","").addClass(u)}),e.one(Object(o.transitionend)(e),function(){t||e.hide(),r(),n&&n.apply(e)}))}i.r(e),i.d(e,"Move",function(){return n}),i.d(e,"Motion",function(){return h}),e=i("jquery");var s=i.n(e),o=i("./foundation.core"),a=["mui-enter","mui-leave"],l=["mui-enter-active","mui-leave-active"],h={animateIn:function(t,e,i){r(!0,t,e,i)},animateOut:function(t,e,i){r(!1,t,e,i)}}},25:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.motion.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=25);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.keyboard"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
6"./js/entries/plugins/foundation.util.keyboard.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.util.keyboard.js");i.d(e,"Keyboard",function(){return r.Keyboard}),n.Foundation.Keyboard=r.Keyboard},
6"./js/foundation.util.keyboard.js":function(t,e,i){"use strict";function n(t){return!!t&&t.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return!(!s()(this).is(":visible")||s()(this).attr("tabindex")<0)}).sort(function(t,e){if(s()(t).attr("tabindex")===s()(e).attr("tabindex"))return 0;var i=parseInt(s()(t).attr("tabindex"),10),n=parseInt(s()(e).attr("tabindex"),10);return void 0===s()(t).attr("tabindex")&&0<n?1:void 0===s()(e).attr("tabindex")&&0<i?-1:0===i&&0<n?1:0===n&&0<i||i<n?-1:n<i?1:void 0})}function r(t){var e=(e=a[t.which||t.keyCode]||String.fromCharCode(t.which).toUpperCase()).replace(/\W+/,"");return t.shiftKey&&(e="SHIFT_".concat(e)),t.ctrlKey&&(e="CTRL_".concat(e)),(e=t.altKey?"ALT_".concat(e):e).replace(/_$/,"")}i.r(e),i.d(e,"Keyboard",function(){return h}),e=i("jquery");var s=i.n(e),o=i("./foundation.core"),a={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",35:"END",36:"HOME",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},l={},h={keys:function(t){var e,i={};for(e in t)t.hasOwnProperty(e)&&(i[t[e]]=t[e]);return i}(a),parseKey:r,handleKey:function(t,e,i){var n=l[e];e=this.parseKey(t),n&&!0!==t.zfIsKeyHandled&&((e=i[(void 0===n.ltr?n:Object(o.rtl)()?s.a.extend({},n.ltr,n.rtl):s.a.extend({},n.rtl,n.ltr))[e]])&&"function"==typeof e?(e=e.apply(),t.zfIsKeyHandled=!0,!i.handled&&"function"!=typeof i.handled||i.handled(e)):!i.unhandled&&"function"!=typeof i.unhandled||i.unhandled())},findFocusable:n,register:function(t,e){l[t]=e},trapFocus:function(t){var e=n(t),i=e.eq(0),s=e.eq(-1);t.on("keydown.zf.trapfocus",function(t){t.target===s[0]&&"TAB"===r(t)?(t.preventDefault(),i.focus()):t.target===i[0]&&"SHIFT_TAB"===r(t)&&(t.preventDefault(),s.focus())})},releaseFocus:function(t){t.off("keydown.zf.trapfocus")}}},23:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.keyboard.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=23);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core")):"function"==typeof define&&define.amd?define(["./foundation.core"],e):"object"==typeof exports?exports["foundation.util.box"]=e(require("./foundation.core")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.box"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"]))}(window,function(t){function e(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return i[t].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return i={"./foundation.core":function(e){e.exports=t},
6"./js/entries/plugins/foundation.util.box.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.util.box.js");i.d(e,"Box",function(){return r.Box}),n.Foundation.Box=r.Box},
6"./js/foundation.util.box.js":function(t,e,i){"use strict";function n(t,e,i,n,s){var o,a,l;return t=r(t),t=e?(o=(e=r(e)).height+e.offset.top-(t.offset.top+t.height),a=t.offset.top-e.offset.top,l=t.offset.left-e.offset.left,e.width+e.offset.left-(t.offset.left+t.width)):(o=t.windowDims.height+t.windowDims.offset.top-(t.offset.top+t.height),a=t.offset.top-t.windowDims.offset.top,l=t.offset.left-t.windowDims.offset.left,t.windowDims.width-(t.offset.left+t.width)),o=s?0:Math.min(o,0),a=Math.min(a,0),l=Math.min(l,0),t=Math.min(t,0),i?l+t:n?a+o:Math.sqrt(a*a+o*o+l*l+t*t)}function r(t){if((t=t.length?t[0]:t)===window||t===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var e=t.getBoundingClientRect(),i=t.parentNode.getBoundingClientRect(),n=document.body.getBoundingClientRect(),r=window.pageYOffset;return t=window.pageXOffset,{width:e.width,height:e.height,offset:{top:e.top+r,left:e.left+t},parentDims:{width:i.width,height:i.height,offset:{top:i.top+r,left:i.left+t}},windowDims:{width:n.width,height:n.height,offset:{top:r,left:t}}}}i.r(e),i.d(e,"Box",function(){return s});var s={ImNotTouchingYou:function(t,e,i,r,s){return 0===n(t,e,i,r,s)},OverlapArea:n,GetDimensions:r,GetExplicitOffsets:function(t,e,i,n,s,o,a){var l,h,u=r(t),c=e?r(e):null;if(null!==c){switch(i){case"top":l=c.offset.top-(u.height+s);break;case"bottom":l=c.offset.top+c.height+s;break;case"left":h=c.offset.left-(u.width+o);break;case"right":h=c.offset.left+c.width+o}switch(i){case"top":case"bottom":switch(n){case"left":h=c.offset.left+o;break;case"right":h=c.offset.left-u.width+c.width-o;break;case"center":h=a?o:c.offset.left+c.width/2-u.width/2+o}break;case"right":case"left":switch(n){case"bottom":l=c.offset.top-s+c.height-u.height;break;case"top":l=c.offset.top+s;break;case"center":l=c.offset.top+s+c.height/2-u.height/2}}}return{top:l,left:h}}}},21:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.box.js")}},n={},e.m=i,e.c=n,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,i){if(1&i&&(t=e(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var r in t)e.d(n,r,function(e){return t[e]}.bind(null,r));return n},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=21);var i,n}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.nest"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.nest"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
6"./js/entries/plugins/foundation.util.nest.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.util.nest.js");i.d(e,"Nest",function(){return r.Nest}),n.Foundation.Nest=r.Nest},
6"./js/foundation.util.nest.js":function(t,e,i){"use strict";i.r(e),i.d(e,"Nest",function(){return r}),e=i("jquery");var n=i.n(e),r={Feather:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"zf";t.attr("role","menubar"),t.find("a").attr({role:"menuitem"}),t=t.find("li").attr({role:"none"});var i="is-".concat(e,"-submenu"),r="".concat(i,"-item"),s="is-".concat(e,"-submenu-parent"),o="accordion"!==e;t.each(function(){var t,a=n()(this),l=a.children("ul");l.length&&(a.addClass(s),o&&((t=a.children("a:first")).attr({"aria-haspopup":!0,"aria-label":t.attr("aria-label")||t.text()}),"drilldown"===e&&a.attr({"aria-expanded":!1})),l.addClass("submenu ".concat(i)).attr({"data-submenu":"",role:"menubar"}),"drilldown"===e&&l.attr({"aria-hidden":!0})),a.parent("[data-submenu]").length&&a.addClass("is-submenu-item ".concat(r))})},Burn:function(t,e){var i="is-".concat(e,"-submenu"),n="".concat(i,"-item");e="is-".concat(e,"-submenu-parent"),t.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li").removeClass("".concat(i," ").concat(n," ").concat(e," is-submenu-item submenu is-active")).removeAttr("data-submenu").css("display","")}}},26:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.nest.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.touch"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.touch"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
6"./js/entries/plugins/foundation.util.touch.js":function(t,e,i){"use strict";i.r(e);var n=i("jquery"),r=(n=i.n(n),i("./js/foundation.util.touch.js"));i.d(e,"Touch",function(){return r.Touch});var s=i("./foundation.core");i.d(e,"Foundation",function(){return s.Foundation}),r.Touch.init(n.a),window.Foundation.Touch=r.Touch},
6"./js/foundation.util.touch.js":function(t,e,i){"use strict";function n(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t){this.removeEventListener("touchmove",s),this.removeEventListener("touchend",r),m||(t=p.a.Event("tap",c||t),p()(this).trigger(t)),c=null,m=d=!1}function s(t){var e,i;!0===p.a.spotSwipe.preventDefault&&t.preventDefault(),d&&(e=t.touches[0].pageX,e=l-e,m=!0,u=(new Date).getTime()-h,(i=Math.abs(e)>=p.a.spotSwipe.moveThreshold&&u<=p.a.spotSwipe.timeThreshold?0<e?"left":"right":i)&&(t.preventDefault(),r.apply(this,arguments), 7p()(this).trigger(p.a.Event("swipe",Object.assign({},t)),i).trigger(p.a.Event("swipe".concat(i),Object.assign({},t)))))}function o(t){1===t.touches.length&&(l=t.touches[0].pageX,c=t,m=!(d=!0),h=(new Date).getTime(),this.addEventListener("touchmove",s,{passive:!0===p.a.spotSwipe.preventDefault}),this.addEventListener("touchend",r,!1))}function a(){this.addEventListener&&this.addEventListener("touchstart",o,{passive:!0})}i.r(e),i.d(e,"Touch",function(){return f}),e=i("jquery");var l,h,u,c,p=i.n(e),f={},d=!1,m=!1,g=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.version="1.0.0",this.enabled="ontouchstart"in document.documentElement,this.preventDefault=!1,this.moveThreshold=75,this.timeThreshold=200,this._init()}var e,i,r;return e=t,(i=[{key:"_init",value:function(){p.a.event.special.swipe={setup:a},p.a.event.special.tap={setup:a},p.a.each(["left","up","down","right"],function(){p.a.event.special["swipe".concat(this)]={setup:function(){p()(this).on("swipe",p.a.noop)}}})}}])&&n(e.prototype,i),r&&n(e,r),t}();f.setupSpotSwipe=function(){p.a.spotSwipe=new g(p.a)},f.setupTouchHandler=function(){p.a.fn.addTouch=function(){this.each(function(e,i){p()(i).bind("touchstart touchmove touchend touchcancel",function(e){t(e)})});var t=function(t){var e,i=t.changedTouches[0];t={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[t.type],"MouseEvent"in window&&"function"==typeof window.MouseEvent?e=new window.MouseEvent(t,{bubbles:!0,cancelable:!0,screenX:i.screenX,screenY:i.screenY,clientX:i.clientX,clientY:i.clientY}):(e=document.createEvent("MouseEvent")).initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(e)}}},f.init=function(){void 0===p.a.spotSwipe&&(f.setupSpotSwipe(p.a),f.setupTouchHandler(p.a))}},28:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.touch.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.motion"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.motion","jquery"],e):"object"==typeof exports?exports["foundation.util.triggers"]=e(require("./foundation.core"),require("./foundation.util.motion"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.triggers"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.motion"],t.jQuery))}(window,function(t,e,i){function n(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return r={"./foundation.core":function(e){e.exports=t},"./foundation.util.motion":function(t){t.exports=e},
7"./js/entries/plugins/foundation.util.triggers.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("jquery"),s=(r=i.n(r),i("./js/foundation.util.triggers.js"));i.d(e,"Triggers",function(){return s.Triggers}),s.Triggers.init(r.a,n.Foundation)},
vendor: 4,654 bytes, line 7
7"./js/foundation.util.triggers.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){t.data(e).split(" ").forEach(function(i){o()("#".concat(i))["close"===e?"trigger":"triggerHandler"]("".concat(e,".zf.trigger"),[t])})}function s(t,e,i){var n,r=Array.prototype.slice.call(arguments,3);o()(window).on(e,function(){n&&clearTimeout(n),n=setTimeout(function(){i.apply(null,r)},t||10)})}i.r(e),i.d(e,"Triggers",function(){return u}),e=i("jquery");var o=i.n(e),a=i("./foundation.core"),l=i("./foundation.util.motion"),h=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if("".concat(t[e],"MutationObserver")in window)return window["".concat(t[e],"MutationObserver")];return!1}(),u={Listeners:{Basic:{},Global:{}},Initializers:{}};u.Listeners.Basic={openListener:function(){r(o()(this),"open")},closeListener:function(){o()(this).data("close")?r(o()(this),"close"):o()(this).trigger("close.zf.trigger")},toggleListener:function(){o()(this).data("toggle")?r(o()(this),"toggle"):o()(this).trigger("toggle.zf.trigger")},closeableListener:function(t){var e=o()(this).data("closable");t.stopPropagation(),""!==e?l.Motion.animateOut(o()(this),e,function(){o()(this).trigger("closed.zf")}):o()(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){var t=o()(this).data("toggle-focus");o()("#".concat(t)).triggerHandler("toggle.zf.trigger",[o()(this)])}},u.Initializers.addOpenListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.openListener),t.on("click.zf.trigger","[data-open]",u.Listeners.Basic.openListener)},u.Initializers.addCloseListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.closeListener),t.on("click.zf.trigger","[data-close]",u.Listeners.Basic.closeListener)},u.Initializers.addToggleListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.toggleListener),t.on("click.zf.trigger","[data-toggle]",u.Listeners.Basic.toggleListener)},u.Initializers.addCloseableListener=function(t){t.off("close.zf.trigger",u.Listeners.Basic.closeableListener),t.on("close.zf.trigger","[data-closeable], [data-closable]",u.Listeners.Basic.closeableListener)},u.Initializers.addToggleFocusListener=function(t){t.off("focus.zf.trigger blur.zf.trigger",u.Listeners.Basic.toggleFocusListener),t.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",u.Listeners.Basic.toggleFocusListener)},u.Listeners.Global={resizeListener:function(t){h||t.each(function(){o()(this).triggerHandler("resizeme.zf.trigger")}),t.attr("data-events","resize")},scrollListener:function(t){h||t.each(function(){o()(this).triggerHandler("scrollme.zf.trigger")}),t.attr("data-events","scroll")},closeMeListener:function(t,e){t=t.namespace.split(".")[0],o()("[data-".concat(t,"]")).not('[data-yeti-box="'.concat(e,'"]')).each(function(){var t=o()(this);t.triggerHandler("close.zf.trigger",[t])})}},u.Initializers.addClosemeListener=function(t){var e=o()("[data-yeti-box]"),i=["dropdown","tooltip","reveal"];t&&("string"==typeof t?i.push(t):"object"===n(t)&&"string"==typeof t[0]&&(i=i.concat(t))),e.length&&(i=i.map(function(t){return"closeme.zf.".concat(t)}).join(" "),o()(window).off(i).on(i,u.Listeners.Global.closeMeListener))},u.Initializers.addResizeListener=function(t){var e=o()("[data-resize]");e.length&&s(t,"resize.zf.trigger",u.Listeners.Global.resizeListener,e)},u.Initializers.addScrollListener=function(t){var e=o()("[data-scroll]");e.length&&s(t,"scroll.zf.trigger",u.Listeners.Global.scrollListener,e)},u.Initializers.addMutationEventsListener=function(t){function e(t){var e=o()(t[0].target);switch(t[0].type){case"attributes":"scroll"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("scrollme.zf.trigger",[e,window.pageYOffset]),"resize"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("resizeme.zf.trigger",[e]),"style"===t[0].attributeName&&(e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]));break;case"childList":e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]);break;default:return!1}}if(!h)return!1;var i=t.find("[data-resize], [data-scroll], [data-mutate]");if(i.length)for(var n=0;n<=i.length-1;n++)new h(e).observe(i[n],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})}
7,u.Initializers.addSimpleListeners=function(){var t=o()(document);u.Initializers.addOpenListener(t),u.Initializers.addCloseListener(t),u.Initializers.addToggleListener(t),u.Initializers.addCloseableListener(t),u.Initializers.addToggleFocusListener(t)},u.Initializers.addGlobalListeners=function(){var t=o()(document);u.Initializers.addMutationEventsListener(t),u.Initializers.addResizeListener(250),u.Initializers.addScrollListener(),u.Initializers.addClosemeListener()},u.init=function(t,e){Object(a.onLoad)(o()(window),function(){!0!==o.a.triggersInitialized&&(u.Initializers.addSimpleListeners(),u.Initializers.addGlobalListeners(),o.a.triggersInitialized=!0)}),e&&(e.Triggers=u,e.IHearYou=u.Initializers.addGlobalListeners)}},29:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.triggers.js")},jquery:function(t){t.exports=i}},s={},n.m=r,n.c=s,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=29);var r,s}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.util.mediaQuery"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.util.mediaQuery"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
7"./js/entries/plugins/foundation.util.mediaQuery.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.util.mediaQuery.js");i.d(e,"MediaQuery",function(){return r.MediaQuery}),n.Foundation.MediaQuery=r.MediaQuery,n.Foundation.MediaQuery._init()},
7"./js/foundation.util.mediaQuery.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,s=[],o=!0,a=!1;try{for(i=i.call(t);!(o=(n=i.next()).done)&&(s.push(n.value),!e||s.length!==e);o=!0);}catch(t){a=!0,r=t}finally{try{o||null==i.return||i.return()}finally{if(a)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(i="Object"===i&&t.constructor?t.constructor.name:i)||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}i.r(e),i.d(e,"MediaQuery",function(){return u}),e=i("jquery");var o,a,l,h=i.n(e);window.matchMedia||(window.matchMedia=((l=window.styleMedia||window.media)||(o=document.createElement("style"),e=document.getElementsByTagName("script")[0],a=null,o.type="text/css",o.id="matchmediajs-test",e?e.parentNode.insertBefore(o,e):document.head.appendChild(o),a="getComputedStyle"in window&&window.getComputedStyle(o,null)||o.currentStyle,l={matchMedium:function(t){return t="@media "+t+"{ #matchmediajs-test { width: 1px; } }",o.styleSheet?o.styleSheet.cssText=t:o.textContent=t,"1px"===a.width}}),function(t){return{matches:l.matchMedium(t||"all"),media:t||"all"}}));var u={queries:[],current:"",_init:function(){if(!0===this.isInitialized)return this;this.isInitialized=!0,h()("meta.foundation-mq").length||h()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);var t,e,i,n=h()(".foundation-mq").css("font-family");for(i in e={},t="string"==typeof n&&(n=n.trim().slice(1,-1))?e=n.split("&").reduce(function(t,e){e=(i=e.replace(/\+/g," ").split("="))[0];var i=i[1];return e=decodeURIComponent(e),i=void 0===i?null:decodeURIComponent(i),t.hasOwnProperty(e)?Array.isArray(t[e])?t[e].push(i):t[e]=[t[e],i]:t[e]=i,t},{}):e,this.queries=[],t)t.hasOwnProperty(i)&&this.queries.push({name:i,value:"only screen and (min-width: ".concat(t[i],")")});this.current=this._getCurrentSize(),this._watcher()},_reInit:function(){this.isInitialized=!1,this._init()},atLeast:function(t){return!!(t=this.get(t))&&window.matchMedia(t).matches},only:function(t){return t===this._getCurrentSize()},upTo:function(t){return!(t=this.next(t))||!this.atLeast(t)},is:function(t){var e,i=(e=r(t.trim().split(" ").filter(function(t){return!!t.length}),2))[0];if("only"===(e=void 0===(e=e[1])?"":e))return this.only(i);if(!e||"up"===e)return this.atLeast(i);if("down"===e)return this.upTo(i);throw new Error('\n Invalid breakpoint passed to MediaQuery.is().\n Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(t,'".\n '))},get:function(t){for(var e in this.queries)if(this.queries.hasOwnProperty(e)&&t===(e=this.queries[e]).name)return e.value;return null},next:function(t){var e=this,i=this.queries.findIndex(function(i){return e._getQueryName(i)===t});if(-1===i)throw new Error('\n Unknown breakpoint "'.concat(t,'" passed to MediaQuery.next().\n Ensure it is present in your Sass "$breakpoints" setting.\n '));return(i=this.queries[i+1])?i.name:null},_getQueryName:function(t){if("string"==typeof t)return t;if("object"===n(t))return t.name;throw new TypeError('\n Invalid value passed to MediaQuery._getQueryName().\n Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(t,'" (').concat(n(t),")\n "))},_getCurrentSize:function(){for(var t,e=0;e<this.queries.length;e++){var i=this.queries[e];window.matchMedia(i.value).matches&&(t=i)}return t&&this._getQueryName(t)},_watcher:function(){var t=this;h()(window).on("resize.zf.trigger",function(){var e=t._getCurrentSize(),i=t.current;e!==i&&(t.current=e,h()(window).trigger("changed.zf.mediaquery",[e,i]))})}}}
7,24:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.util.mediaQuery.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=24);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.keyboard","jquery"],e):"object"==typeof exports?exports["foundation.accordion"]=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.accordion"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],t.jQuery))}(window,function(t,e,i){function n(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return r={"./foundation.core":function(e){e.exports=t},"./foundation.util.keyboard":function(t){t.exports=e},
7"./js/entries/plugins/foundation.accordion.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.accordion.js");i.d(e,"Accordion",function(){return r.Accordion}),n.Foundation.plugin(r.Accordion,"Accordion")},
7"./js/foundation.accordion.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"Accordion",function(){return c}),e=i("jquery");var l=i.n(e),h=i("./foundation.core"),u=i("./foundation.util.keyboard"),c=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,h.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="Accordion",this._init(),u.Keyboard.register("Accordion",{ENTER:"toggle",SPACE:"toggle",ARROW_DOWN:"next",ARROW_UP:"previous",HOME:"first",END:"last"})}},{key:"_init",value:function(){var t=this;this._isInitializing=!0,this.$tabs=this.$element.children("[data-accordion-item]"),this.$tabs.each(function(t,e){var i=l()(e),n=i.children("[data-tab-content]"),r=n[0].id||Object(h.GetYoDigits)(6,"accordion");e=e.id?"".concat(e.id,"-label"):"".concat(r,"-label"),i.find("a:first").attr({"aria-controls":r,id:e,"aria-expanded":!1}),n.attr({role:"region","aria-labelledby":e,"aria-hidden":!0,id:r})});var e=this.$element.find(".is-active").children("[data-tab-content]");e.length&&(this._initialAnchor=e.prev("a").attr("href"),this._openSingleTab(e)),this._checkDeepLink=function(){if(!(i=window.location.hash).length){if(t._isInitializing)return;t._initialAnchor&&(i=t._initialAnchor)}var e=i&&l()(i),i=i&&t.$element.find('[href$="'.concat(i,'"]'));!e.length||!i.length||(e&&i&&i.length?i.parent("[data-accordion-item]").hasClass("is-active")||t._openSingleTab(e):t._closeAllTabs(),t.options.deepLinkSmudge&&Object(h.onLoad)(l()(window),function(){var e=t.$element.offset();l()("html, body").animate({scrollTop:e.top-t.options.deepLinkSmudgeOffset},t.options.deepLinkSmudgeDelay)}),t.$element.trigger("deeplink.zf.accordion",[i,e]))},this.options.deepLink&&this._checkDeepLink(),this._events(),this._isInitializing=!1}},{key:"_events",value:function(){var t=this;this.$tabs.each(function(){var e=l()(this),i=e.children("[data-tab-content]");i.length&&e.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion",function(e){e.preventDefault(),t.toggle(i)}).on("keydown.zf.accordion",function(n){u.Keyboard.handleKey(n,"Accordion",{toggle:function(){t.toggle(i)},next:function(){var i=e.next().find("a").focus();t.options.multiExpand||i.trigger("click.zf.accordion")},previous:function(){var i=e.prev().find("a").focus();t.options.multiExpand||i.trigger("click.zf.accordion")},first:function(){var e=t.$tabs.first().find(".accordion-title").focus();t.options.multiExpand||e.trigger("click.zf.accordion")}
7,last:function(){var e=t.$tabs.last().find(".accordion-title").focus();t.options.multiExpand||e.trigger("click.zf.accordion")},handled:function(){n.preventDefault()}})})}),this.options.deepLink&&l()(window).on("hashchange",this._checkDeepLink)}},{key:"toggle",value:function(t){t.closest("[data-accordion]").is("[disabled]")||(t.parent().hasClass("is-active")?this.up(t):this.down(t),this.options.deepLink&&(t=t.prev("a").attr("href"),this.options.updateHistory?history.pushState({},"",t):history.replaceState({},"",t)))}},{key:"down",value:function(t){t.closest("[data-accordion]").is("[disabled]")||(this.options.multiExpand?this._openTab(t):this._openSingleTab(t))}},{key:"up",value:function(t){var e;this.$element.is("[disabled]")||(e=t.parent()).hasClass("is-active")&&(e=e.siblings(),(this.options.allowAllClosed||e.hasClass("is-active"))&&this._closeTab(t))}},{key:"_openSingleTab",value:function(t){var e=this.$element.children(".is-active").children("[data-tab-content]");e.length&&this._closeTab(e.not(t)),this._openTab(t)}},{key:"_openTab",value:function(t){var e=this,i=t.parent(),n=t.attr("aria-labelledby");t.attr("aria-hidden",!1),i.addClass("is-active"),l()("#".concat(n)).attr({"aria-expanded":!0}),t.finish().slideDown(this.options.slideSpeed,function(){e.$element.trigger("down.zf.accordion",[t])})}},{key:"_closeTab",value:function(t){var e=this,i=t.parent(),n=t.attr("aria-labelledby");t.attr("aria-hidden",!0),i.removeClass("is-active"),l()("#".concat(n)).attr({"aria-expanded":!1}),t.finish().slideUp(this.options.slideSpeed,function(){e.$element.trigger("up.zf.accordion",[t])})}},{key:"_closeAllTabs",value:function(){var t=this.$element.children(".is-active").children("[data-tab-content]");t.length&&this._closeTab(t)}},{key:"_destroy",value:function(){this.$element.find("[data-tab-content]").stop(!0).slideUp(0).css("display",""),this.$element.find("a").off(".zf.accordion"),this.options.deepLink&&l(
7)(window).off("hashchange",this._checkDeepLink)}}])&&r(e.prototype,i),n&&r(e,n),t}();c.defaults={slideSpeed:250,multiExpand:!1,allowAllClosed:!1,deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,deepLinkSmudgeOffset:0,updateHistory:!1}},1:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.accordion.js")},jquery:function(t){t.exports=i}},s={},n.m=r,n.c=s,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1);var r,s}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.keyboard","./foundation.util.nest","jquery"],e):"object"==typeof exports?exports["foundation.accordionMenu"]=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.accordionMenu"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],t.__FOUNDATION_EXTERNAL__["foundation.util.nest"],t.jQuery))}(window,function(t,e,i,n){function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return s[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return s={"./foundation.core":function(e){e.exports=t},"./foundation.util.keyboard":function(t){t.exports=e},"./foundation.util.nest":function(t){t.exports=i},
7"./js/entries/plugins/foundation.accordionMenu.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.accordionMenu.js");i.d(e,"AccordionMenu",function(){return r.AccordionMenu}),n.Foundation.plugin(r.AccordionMenu,"AccordionMenu")},
7"./js/foundation.accordionMenu.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"AccordionMenu",function(){return p}),e=i("jquery");var l=i.n(e),h=i("./foundation.util.keyboard"),u=i("./foundation.util.nest"),c=i("./foundation.core"),p=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,c.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="AccordionMenu",this._init(),h.Keyboard.register("AccordionMenu",{ENTER:"toggle",SPACE:"toggle",ARROW_RIGHT:"open",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"close",ESCAPE:"closeAll"})}},{key:"_init",value:function(){u.Nest.Feather(this.$element,"accordion");var t=this;this.$element.find("[data-submenu]").not(".is-active").slideUp(0),this.$element.attr({"aria-multiselectable":this.options.multiOpen}),this.$menuLinks=this.$element.find(".is-accordion-submenu-parent"),this.$menuLinks.each(function(){var e=this.id||Object(c.GetYoDigits)(6,"acc-menu-link"),i=l()(this),n=i.children("[data-submenu]"),r=n[0].id||Object(c.GetYoDigits)(6,"acc-menu"),s=n.hasClass("is-active");t.options.parentLink&&i.children("a").clone().prependTo(n).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>'),t.options.submenuToggle?(i.addClass("has-submenu-toggle"),i.children("a").after('<button id="'+e+'" class="submenu-toggle" aria-controls="'+r+'" aria-expanded="'+s+'" title="'+t.options.submenuToggleText+'"><span class="submenu-toggle-text">'+t.options.submenuToggleText+"</span></button>")):i.attr({"aria-controls":r,"aria-expanded":s,id:e}),n.attr({"aria-labelledby":e,"aria-hidden":!s,role:"group",id:r})});var e=this.$element.find(".is-active");e.length&&e.each(function(){t.down(l()(this))}),this._events()}},{key:"_events",value:function(){var t=this;this.$element.find("li").each(function(){var e=l()(this).children("[data-submenu]");e.length&&(t.options.submenuToggle?l()(this).children(".submenu-toggle").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(){t.toggle(e)}):l()(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(i){i.preventDefault(),t.toggle(e)}))}).on("keydown.zf.accordionMenu",function(e){var i,n,r=l()(this),s=r.parent("ul").children("li"),o=r.children("[data-submenu]");s.each(function(t){l()(this).is(r)&&(i=s.eq(Math.max(0,t-1)).find("a").first(),n=s.eq(Math.min(t+1,s.length-1)).find("a").first(),l()(this).children("[data-submenu]:visible").length&&(n=r.find("li:first-child").find("a").first()),l()(this).is(":first-child")?i=r.parents("li").first().find("a").first():i.parents("li").first().children("[data-submenu]:visible").length&&(i=i.parents("li").find("li:last-child").find("a").first()),l()(this).is(":last-child")&&(n=r.parents("li").first().next("li").find("a").first()))}),h.Keyboard.handleKey(e,"AccordionMenu",{open:function(){o.is(":hidden")&&(t.down(o),o.find("li").first().find("a").first().focus())},close:function(){o.length&&!o.is(":hidden")?t.up(o):r.parent("[data-submenu]").length&&(t.up(r.parent("[data-submenu]")),r.parents("li").first().find("a").first().focus())},up:function(){return i.focus(),!0},down:function(){return n.focus(),!0},toggle:function(){return!t.options.submenuToggle&&(r.children("[data-submenu]").length?(t.toggle(r.children("[data-submenu]")),!0):void 0)},closeAll:function(){t.hideAll()},handled:function(t){t&&e.preventDefault()}})})}},{key:"hideAll",value:function(){this.up(this.$element.find("[data-submenu]"))}},{key:"showAll",value:function(){this.down(this.$element.find("[data-submenu]"))}},{key:"toggle",value:function(t){t.is(":animated")||(t.is(":hidden")?this.down(t):this.up(t))}},{key:"down",value:function(t){var e,i=this;
7this.options.multiOpen||(e=t.parentsUntil(this.$element).add(t).add(t.find(".is-active")),e=this.$element.find(".is-active").not(e),this.up(e)),t.addClass("is-active").attr({"aria-hidden":!1}),(this.options.submenuToggle?t.prev(".submenu-toggle"):t.parent(".is-accordion-submenu-parent")).attr({"aria-expanded":!0}),t.slideDown(this.options.slideSpeed,function(){i.$element.trigger("down.zf.accordionMenu",[t])})}},{key:"up",value:function(t){var e=this,i=t.find("[data-submenu]"),n=t.add(i);i.slideUp(0),n.removeClass("is-active").attr("aria-hidden",!0),(this.options.submenuToggle?n.prev(".submenu-toggle"):n.parent(".is-accordion-submenu-parent")).attr("aria-expanded",!1),t.slideUp(this.options.slideSpeed,function(){e.$element.trigger("up.zf.accordionMenu",[t])})}},{key:"_destroy",value:function(){this.$element.find("[data-submenu]").slideDown(0).css("display",""), 8this.$element.find("a").off("click.zf.accordionMenu"),this.$element.find("[data-is-parent-link]").detach(),this.options.submenuToggle&&(this.$element.find(".has-submenu-toggle").removeClass("has-submenu-toggle"),this.$element.find(".submenu-toggle").remove()),u.Nest.Burn(this.$element,"accordion")}}])&&r(e.prototype,i),n&&r(e,n),t}();p.defaults={parentLink:!1,slideSpeed:250,submenuToggle:!1,submenuToggleText:"Toggle menu",multiOpen:!0}},2:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.accordionMenu.js")},jquery:function(t){t.exports=n}},o={},r.m=s,r.c=o,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2);var s,o}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","jquery"],e):"object"==typeof exports?exports["foundation.smoothScroll"]=e(require("./foundation.core"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.smoothScroll"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.jQuery))}(window,function(t,e){function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return n={"./foundation.core":function(e){e.exports=t},
8"./js/entries/plugins/foundation.smoothScroll.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.smoothScroll.js");i.d(e,"SmoothScroll",function(){return r.SmoothScroll}),n.Foundation.plugin(r.SmoothScroll,"SmoothScroll")},
8"./js/foundation.smoothScroll.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"SmoothScroll",function(){return u}),e=i("jquery");var l=i.n(e),h=i("./foundation.core"),u=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,h.Plugin);var e,i,n,a=o(t);return e=t,n=[{key:"scrollToLoc",value:function(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t.defaults,n=2<arguments.length?arguments[2]:void 0;if(!(e=l()(e)).length)return!1;e=Math.round(e.offset().top-i.threshold/2-i.offset),l()("html, body").stop(!0).animate({scrollTop:e},i.animationDuration,i.animationEasing,function(){"function"==typeof n&&n()})}}],(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="SmoothScroll",this._init()}},{key:"_init",value:function(){var t=this.$element[0].id||Object(h.GetYoDigits)(6,"smooth-scroll");this.$element.attr({id:t}),this._events()}},{key:"_events",value:function(){this._linkClickListener=this._handleLinkClick.bind(this),this.$element.on("click.zf.smoothScroll",this._linkClickListener),this.$element.on("click.zf.smoothScroll",'a[href^="#"]',this._linkClickListener)}},{key:"_handleLinkClick",value:function(e){var i,n=this;l()(e.currentTarget).is('a[href^="#"]')&&(i=e.currentTarget.getAttribute("href"),this._inTransition=!0,t.scrollToLoc(i,this.options,function(){n._inTransition=!1}),e.preventDefault())}},{key:"_destroy",value:function(){this.$element.off("click.zf.smoothScroll",this._linkClickListener),this.$element.off("click.zf.smoothScroll",'a[href^="#"]',this._linkClickListener)}}])&&r(e.prototype,i),n&&r(e,n),t}();u.defaults={animationDuration:500,animationEasing:"linear",threshold:50,offset:0}},16:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.smoothScroll.js")},jquery:function(t){t.exports=e}},r={},i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=16);var n,r}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("./foundation.util.touch"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.keyboard","./foundation.util.mediaQuery","./foundation.util.motion","./foundation.util.touch","jquery"],e):"object"==typeof exports?exp
8orts["foundation.reveal"]=e(require("./foundation.core"),require("./foundation.util.keyboard"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("./foundation.util.touch"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.reveal"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],t.__FOUNDATION_EXTERNAL__["foundation.util.mediaQuery"],t.__FOUNDATION_EXTERNAL__["foundation.util.motion"],t.__FOUNDATION_EXTERNAL__["foundation.util.touch"],t.jQuery))}(window,function(t,e,i,n,r,s){function o(t){if(l[t])return l[t].exports;var e=l[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return a={"./foundation.core":function(e){e.exports=t},"./foundation.util.keyboard":function(t){t.exports=e},"./foundation.util.mediaQuery":function(t){t.exports=i},"./foundation.util.motion":function(t){t.exports=n},"./foundation.util.touch":function(t){t.exports=r},
8"./js/entries/plugins/foundation.reveal.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.reveal.js");i.d(e,"Reveal",function(){return r.Reveal}),n.Foundation.plugin(r.Reveal,"Reveal")},
8"./js/foundation.reveal.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"Reveal",function(){return m}),e=i("jquery");var l=i.n(e),h=i("./foundation.core"),u=i("./foundation.util.keyboard"),c=i("./foundation.util.mediaQuery"),p=i("./foundation.util.motion"),f=i("./js/foundation.util.triggers.js"),d=i("./foundation.util.touch"),m=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,h.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="Reveal",this._init(),d.Touch.init(l.a),f.Triggers.init(l.a),u.Keyboard.register("Reveal",{ESCAPE:"close"})}},{key:"_init",value:function(){var t=this;c.MediaQuery._init(),this.id=this.$element.attr("id"),this.isActive=!1,this.cached={mq:c.MediaQuery.current},this.$anchor=l()('[data-open="'.concat(this.id,'"]')).length?l()('[data-open="'.concat(this.id,'"]')):l()('[data-toggle="'.concat(this.id,'"]')),this.$anchor.attr({"aria-controls":this.id,"aria-haspopup":"dialog",tabindex:0}),(this.options.fullScreen||this.$element.hasClass("full"))&&(this.options.fullScreen=!0,this.options.overlay=!1),this.options.overlay&&!this.$overlay&&(this.$overlay=this._makeOverlay(this.id)),this.$element.attr({role:"dialog","aria-hidden":!0,"data-yeti-box":this.id,"data-resize":this.id}),this.$overlay?this.$element.detach().appendTo(this.$overlay):(this.$element.detach().appendTo(l()(this.options.appendTo)),this.$element.addClass("without-overlay")),this._events(),this.options.deepLink&&window.location.hash==="#".concat(this.id)&&(this.onLoadListener=Object(h.onLoad)(l()(window),function(){return t.open()}))}},{key:"_makeOverlay",value:function(){var t="";return this.options.additionalOverlayClasses&&(t=" "+this.options.additionalOverlayClasses),l()("<div></div>").addClass("reveal-overlay"+t).appendTo(this.options.appendTo)}},{key:"_updatePosition",value:function(){var t=this.$element.outerWidth(),e=l()(window).width(),i=this.$element.outerHeight(),n=l()(window).height(),r=null;t="auto"===this.options.hOffset?parseInt((e-t)/2,10):parseInt(this.options.hOffset,10),"auto"===this.options.vOffset?r=n<i?parseInt(Math.min(100,n/10),10):parseInt((n-i)/4,10):null!==this.options.vOffset&&(r=parseInt(this.options.vOffset,10)),null!==r&&this.$element.css({top:r+"px"}),this.$overlay&&"auto"===this.options.hOffset||(this.$element.css({left:t+"px"}),this.$element.css({margin:"0px"}))}},{key:"_events",value:function(){var t=this,e=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":function(i,n){if(i.target===e.$element[0]||l()(i.target).parents("[data-closable]")[0]===n)return t.close.apply(t)},"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":function(){e._updatePosition()}}),this.options.closeOnClick&&this.options.overlay&&this.$overlay.off(".zf.reveal").on("click.zf.dropdown tap.zf.dropdown",function(t){t.target!==e.$element[0]&&!l.a.contains(e.$element[0],t.target)&&l.a.contains(document,t.target)&&e.close()}
vendor: 4,617 bytes, line 8
8),this.options.deepLink&&l()(window).on("hashchange.zf.reveal:".concat(this.id),this._handleState.bind(this))}},{key:"_handleState",value:function(){window.location.hash!=="#"+this.id||this.isActive?this.close():this.open()}},{key:"_disableScroll",value:function(t){t=t||l()(window).scrollTop(),l()(document).height()>l()(window).height()&&l()("html").css("top",-t)}},{key:"_enableScroll",value:function(t){t=t||parseInt(l()("html").css("top"),10),l()(document).height()>l()(window).height()&&(l()("html").css("top",""),l()(window).scrollTop(-t))}},{key:"open",value:function(){var t=this,e="#".concat(this.id);this.options.deepLink&&window.location.hash!==e&&(window.history.pushState?this.options.updateHistory?window.history.pushState({},"",e):window.history.replaceState({},"",e):window.location.hash=e),this.$activeAnchor=l()(document.activeElement).is(this.$anchor)?l()(document.activeElement):this.$anchor,this.isActive=!0,this.$element.css({visibility:"hidden"}).show().scrollTop(0),this.options.overlay&&this.$overlay.css({visibility:"hidden"}).show(),this._updatePosition(),this.$element.hide().css({visibility:""}),this.$overlay&&(this.$overlay.css({visibility:""}).hide(),this.$element.hasClass("fast")?this.$overlay.addClass("fast"):this.$element.hasClass("slow")&&this.$overlay.addClass("slow")),this.options.multipleOpened||this.$element.trigger("closeme.zf.reveal",this.id),0===l()(".reveal:visible").length&&this._disableScroll();var i=this;this.options.animationIn?(this.options.overlay&&p.Motion.animateIn(this.$overlay,"fade-in"),p.Motion.animateIn(this.$element,this.options.animationIn,function(){t.$element&&(t.focusableElements=u.Keyboard.findFocusable(t.$element),i.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),i._addGlobalClasses(),u.Keyboard.trapFocus(i.$element))})):(this.options.overlay&&this.$overlay.show(0),this.$element.show(this.options.showDelay)),this.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),u.Keyboard.trapFocus(this.$element),this._addGlobalClasses(),this._addGlobalListeners(),this.$element.trigger("open.zf.reveal")}},{key:"_addGlobalClasses",value:function(){function t(){l()("html").toggleClass("zf-has-scroll",!!(l()(document).height()>l()(window).height()))}this.$element.on("resizeme.zf.trigger.revealScrollbarListener",t),t(),l()("html").addClass("is-reveal-open")}},{key:"_removeGlobalClasses",value:function(){this.$element.off("resizeme.zf.trigger.revealScrollbarListener"),l()("html").removeClass("is-reveal-open"),l()("html").removeClass("zf-has-scroll")}},{key:"_addGlobalListeners",value:function(){var t=this;this.$element&&(this.focusableElements=u.Keyboard.findFocusable(this.$element),this.options.overlay||!this.options.closeOnClick||this.options.fullScreen||l()("body").on("click.zf.dropdown tap.zf.dropdown",function(e){e.target!==t.$element[0]&&!l.a.contains(t.$element[0],e.target)&&l.a.contains(document,e.target)&&t.close()}),this.options.closeOnEsc&&l()(window).on("keydown.zf.reveal",function(e){u.Keyboard.handleKey(e,"Reveal",{close:function(){t.options.closeOnEsc&&t.close()}})}))}},{key:"close",value:function(){function t(){var t=parseInt(l()("html").css("top"),10);0===l()(".reveal:visible").length&&i._removeGlobalClasses(),u.Keyboard.releaseFocus(i.$element),i.$element.attr("aria-hidden",!0),0===l()(".reveal:visible").length&&i._enableScroll(t),i.$element.trigger("closed.zf.reveal")}if(!this.isActive||!this.$element.is(":visible"))return!1;var e,i=this;this.options.animationOut?(this.options.overlay&&p.Motion.animateOut(this.$overlay,"fade-out"),p.Motion.animateOut(this.$element,this.options.animationOut,t)):(this.$element.hide(this.options.hideDelay),this.options.overlay?this.$overlay.hide(0,t):t()),this.options.closeOnEsc&&l()(window).off("keydown.zf.reveal"),!this.options.overlay&&this.options.closeOnClick&&l()("body").off("click.zf.dropdown tap.zf.dropdown"),this.$element.off("keydown.zf.reveal"),this.options.resetOnClose&&this.$element.html(this.$element.html()),this.isActive=!1,i.options.deepLink&&window.location.hash==="#".concat(this.id)&&(window.history.replaceState?(e=window.location.pathname+window.location.search,this.options.updateHistory?window.history.pushState({},"",e):window.history.replaceState("",document.title,e)):window.location.hash=""),this.$activeAnchor.focus()}},{key:"toggle",value:function(){this.isActive?this.close():this.open()}},{key:"_destroy",value:function(){this.options.overlay&&(this.$element.appendTo(l()(this.options.appendTo)),this.$overlay.hide().off().remove()),this.$element.hide().off(),this.$anchor.off(".zf"),l()(window).off(".zf.reveal:".concat(this.id
8)),this.onLoadListener&&l()(window).off(this.onLoadListener),0===l()(".reveal:visible").length&&this._removeGlobalClasses()}}])&&r(e.prototype,i),n&&r(e,n),t}();m.defaults={animationIn:"",animationOut:"",showDelay:0,hideDelay:0,closeOnClick:!0,closeOnEsc:!0,multipleOpened:!1,vOffset:"auto",hOffset:"auto",fullScreen:!1,overlay:!0,resetOnClose:!1,deepLink:!1,updateHistory:!1,appendTo:"body",additionalOverlayClasses:""}},
vendor: 4,654 bytes, line 8
8"./js/foundation.util.triggers.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){t.data(e).split(" ").forEach(function(i){o()("#".concat(i))["close"===e?"trigger":"triggerHandler"]("".concat(e,".zf.trigger"),[t])})}function s(t,e,i){var n,r=Array.prototype.slice.call(arguments,3);o()(window).on(e,function(){n&&clearTimeout(n),n=setTimeout(function(){i.apply(null,r)},t||10)})}i.r(e),i.d(e,"Triggers",function(){return u}),e=i("jquery");var o=i.n(e),a=i("./foundation.core"),l=i("./foundation.util.motion"),h=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if("".concat(t[e],"MutationObserver")in window)return window["".concat(t[e],"MutationObserver")];return!1}(),u={Listeners:{Basic:{},Global:{}},Initializers:{}};u.Listeners.Basic={openListener:function(){r(o()(this),"open")},closeListener:function(){o()(this).data("close")?r(o()(this),"close"):o()(this).trigger("close.zf.trigger")},toggleListener:function(){o()(this).data("toggle")?r(o()(this),"toggle"):o()(this).trigger("toggle.zf.trigger")},closeableListener:function(t){var e=o()(this).data("closable");t.stopPropagation(),""!==e?l.Motion.animateOut(o()(this),e,function(){o()(this).trigger("closed.zf")}):o()(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){var t=o()(this).data("toggle-focus");o()("#".concat(t)).triggerHandler("toggle.zf.trigger",[o()(this)])}},u.Initializers.addOpenListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.openListener),t.on("click.zf.trigger","[data-open]",u.Listeners.Basic.openListener)},u.Initializers.addCloseListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.closeListener),t.on("click.zf.trigger","[data-close]",u.Listeners.Basic.closeListener)},u.Initializers.addToggleListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.toggleListener),t.on("click.zf.trigger","[data-toggle]",u.Listeners.Basic.toggleListener)},u.Initializers.addCloseableListener=function(t){t.off("close.zf.trigger",u.Listeners.Basic.closeableListener),t.on("close.zf.trigger","[data-closeable], [data-closable]",u.Listeners.Basic.closeableListener)},u.Initializers.addToggleFocusListener=function(t){t.off("focus.zf.trigger blur.zf.trigger",u.Listeners.Basic.toggleFocusListener),t.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",u.Listeners.Basic.toggleFocusListener)},u.Listeners.Global={resizeListener:function(t){h||t.each(function(){o()(this).triggerHandler("resizeme.zf.trigger")}),t.attr("data-events","resize")},scrollListener:function(t){h||t.each(function(){o()(this).triggerHandler("scrollme.zf.trigger")}),t.attr("data-events","scroll")},closeMeListener:function(t,e){t=t.namespace.split(".")[0],o()("[data-".concat(t,"]")).not('[data-yeti-box="'.concat(e,'"]')).each(function(){var t=o()(this);t.triggerHandler("close.zf.trigger",[t])})}},u.Initializers.addClosemeListener=function(t){var e=o()("[data-yeti-box]"),i=["dropdown","tooltip","reveal"];t&&("string"==typeof t?i.push(t):"object"===n(t)&&"string"==typeof t[0]&&(i=i.concat(t))),e.length&&(i=i.map(function(t){return"closeme.zf.".concat(t)}).join(" "),o()(window).off(i).on(i,u.Listeners.Global.closeMeListener))},u.Initializers.addResizeListener=function(t){var e=o()("[data-resize]");e.length&&s(t,"resize.zf.trigger",u.Listeners.Global.resizeListener,e)},u.Initializers.addScrollListener=function(t){var e=o()("[data-scroll]");e.length&&s(t,"scroll.zf.trigger",u.Listeners.Global.scrollListener,e)},u.Initializers.addMutationEventsListener=function(t){function e(t){var e=o()(t[0].target);switch(t[0].type){case"attributes":"scroll"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("scrollme.zf.trigger",[e,window.pageYOffset]),"resize"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("resizeme.zf.trigger",[e]),"style"===t[0].attributeName&&(e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]));break;case"childList":e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]);break;default:return!1}}if(!h)return!1;var i=t.find("[data-resize], [data-scroll], [data-mutate]");if(i.length)for(var n=0;n<=i.length-1;n++)new h(e).observe(i[n],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})}
8,u.Initializers.addSimpleListeners=function(){var t=o()(document);u.Initializers.addOpenListener(t),u.Initializers.addCloseListener(t),u.Initializers.addToggleListener(t),u.Initializers.addCloseableListener(t),u.Initializers.addToggleFocusListener(t)},u.Initializers.addGlobalListeners=function(){var t=o()(document);u.Initializers.addMutationEventsListener(t),u.Initializers.addResizeListener(250),u.Initializers.addScrollListener(),u.Initializers.addClosemeListener()},u.init=function(t,e){Object(a.onLoad)(o()(window),function(){!0!==o.a.triggersInitialized&&(u.Initializers.addSimpleListeners(),u.Initializers.addGlobalListeners(),o.a.triggersInitialized=!0)}),e&&(e.Triggers=u,e.IHearYou=u.Initializers.addGlobalListeners)}},14:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.reveal.js")},jquery:function(t){t.exports=s}},l={},o.m=a,o.c=l,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=14);var a,l}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("./foundation.util.touch"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.box","./foundation.util.keyboard","./foundation.util.nest","./foundation.util.touch","jquery"],e):"object"==typeof exports?exports["foundation.dropdownMenu"]=e(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("./foundation.util.touch"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.dropdownMenu"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.box"],t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],t.__FOUNDATION_EXTERNAL__["foundation.util.nest"],t.__FOUNDATION_EXTERNAL__["foundation.util.touch"],t.jQuery))}(window,function(t,e,i,n,r,s){function o(t){if(l[t])return l[t].exports;var e=l[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return a={"./foundation.core":function(e){e.exports=t},"./foundation.util.box":function(t){t.exports=e},"./foundation.util.keyboard":function(t){t.exports=i},"./foundation.util.nest":function(t){t.exports=n},"./foundation.util.touch":function(t){t.exports=r},
8"./js/entries/plugins/foundation.dropdownMenu.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.dropdownMenu.js");i.d(e,"DropdownMenu",function(){return r.DropdownMenu}),n.Foundation.plugin(r.DropdownMenu,"DropdownMenu")},
8"./js/foundation.dropdownMenu.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"DropdownMenu",function(){return d}),e=i("jquery");var l=i.n(e),h=i("./foundation.core"),u=i("./foundation.util.keyboard"),c=i("./foundation.util.nest"),p=i("./foundation.util.box"),f=i("./foundation.util.touch"),d=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,h.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="DropdownMenu",f.Touch.init(l.a),this._init(),u.Keyboard.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}},{key:"_init",value:function(){c.Nest.Feather(this.$element,"dropdown");var t=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('li[role="none"]'),this.$tabs=this.$element.children('li[role="none"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),"auto"===this.options.alignment?this.$element.hasClass(this.options.rightClass)||Object(h.rtl)()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",t.addClass("opens-left")):(this.options.alignment="left",t.addClass("opens-right")):"right"===this.options.alignment?t.addClass("opens-left"):t.addClass("opens-right"),this.changed=!1,this._events()}},{key:"_isVertical",value:function(){return"block"===this.$tabs.css("display")||"column"===this.$element.css("flex-direction")}},{key:"_isRtl",value:function(){return this.$element.hasClass("align-right")||Object(h.rtl)()&&!this.$element.hasClass("align-left")}},{key:"_events",value:function(){var t=this,e="ontouchstart"in window||void 0!==window.ontouchstart,i="is-dropdown-submenu-parent";(this.options.clickOpen||e)&&this.$menuItems.on("click.zf.dropdownMenu touchstart.zf.dropdownMenu",function(n){var r=l()(n.target).parentsUntil("ul",".".concat(i)),s=r.hasClass(i),o="true"===r.attr("data-is-click"),a=r.children(".is-dropdown-submenu");s&&(o?!t.options.closeOnClick||!t.options.clickOpen&&!e||t.options.forceFollow&&e||(n.stopImmediatePropagation(),n.preventDefault(),t._hide(r)):(n.stopImmediatePropagation(),n.preventDefault(),t._show(a),r.add(r.parentsUntil(t.$element,".".concat(i))).attr("data-is-click",!0)))}),t.options.closeOnClickInside&&this.$menuItems.on("click.zf.dropdownMenu",function(){l()(this).hasClass(i)||t._hide()}),e&&this.options.disableHoverOnTouch&&(this.options.disableHover=!0),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownMenu",function(){var e=l()(this);e.hasClass(i)&&(clearTimeout(e.data("_delay")),e.data("_delay",setTimeout(function(){t._show(e.children(".is-dropdown-submenu"))},t.options.hoverDelay)))}).on("mouseleave.zf.dropdownMenu",Object(h.ignoreMousedisappear)(function(){var e=l()(this);if(e.hasClass(i)&&t.options.autoclose){if("true"===e.attr("data-is-click")&&t.options.clickOpen)return!1;clearTimeout(e.data("_delay")),e.data("_delay",setTimeout(function(){t._hide(e)},t.options.closingTime))}})),this.$menuItems.on("keydown.zf.dropdownMenu",function(e){function i(){a.children("a:first").focus(),e.preventDefault()}function n(){o.children("a:first").focus(),e.preventDefault()}function r(){var i=h.children("ul.is-dropdown-submenu");i.length&&(t._show(i),h.find("li > a:first").focus(),e.preventDefault())}function s(){var i=h.parent("ul").parent("li");i.children("a:first").focus(),t._hide(i),e.preventDefault()}var o,a,h=l()(e.target).parentsUntil("ul",'[role="none"]'),c=-1<t.$tabs.index(h),p=c?t.$tabs:h.siblings("li").add(h);p.each(function(t){l()(this).is(h)&&(o=p.eq(t-1),a=p.eq(t+1))});var f={open:r,close:function(){t._hide(t.$element),t.$menuItems.eq(0).children("a").focus(),e.preventDefault()}};c?t._isVertical()?t._isRtl()?l.a.extend(f,{down:i,up:n,next:s,previous:r}):l.a.extend(f,{down:i,up:n,next:r,previous:s}):t._isRtl()?l.a.extend(f,{next:n,previous:i,down:r,up:s}):l.a.extend(f,{next:i,previous:n,down:r,up:s}):t._isRtl()?l.a.extend(f,{next:s,previous:r,down:i,up:n}):l.a.extend(f,{next:r,previous:s,down:i,up:n}),u.Keyboard.handleKey(e,"DropdownMenu",f)})}},{key:"_addBodyHandler",value:function(){var t=this,e=l()(document.body);this._removeBodyHandler(),e.on("click.zf.dropdownMenu tap.zf.dropdownMenu",function(e){!l()(e.target).closest(t.$element).length&&(t._hide(),t._removeBodyHandler())})}},{key:"_removeBodyHandler",value:function(){l()(document.body).off("click.zf.dropdownMenu tap.zf.dropdownMenu")}},{key:"_show",value:function(t){var e=this.$tabs.index(this.$tabs.filter(function(e,i){return 0<l()(i).find(t).length})),i=t.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(i,e),
9t.css("visibility","hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active"),p.Box.ImNotTouchingYou(t,null,!0)||(i="left"===this.options.alignment?"-right":"-left",(e=t.parent(".is-dropdown-submenu-parent")).removeClass("opens".concat(i)).addClass("opens-".concat(this.options.alignment)),p.Box.ImNotTouchingYou(t,null,!0)||e.removeClass("opens-".concat(this.options.alignment)).addClass("opens-inner"),this.changed=!0),t.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownMenu",[t])}},{key:"_hide",value:function(t,e){var i,n=t&&t.length?t:void 0!==e?this.$tabs.not(function(t){return t===e}):this.$element;(n.hasClass("is-active")||0<n.find(".is-active").length)&&((i=n.find("li.is-active")).add(n).attr({"data-is-click":!1}).removeClass("is-active"),n.find("ul.js-dropdown-active").removeClass("js-dropdown-active"),(this.changed||n.find("opens-inner").length)&&(t="left"===this.options.alignment?"right":"left",n.find("li.is-dropdown-submenu-parent").add(n).removeClass("opens-inner opens-".concat(this.options.alignment)).addClass("opens-".concat(t)),this.changed=!1),clearTimeout(i.data("_delay")),this._removeBodyHandler(),this.$element.trigger("hide.zf.dropdownMenu",[n]))}},{key:"_destroy",value:function(){this.$menuItems.off(".zf.dropdownMenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),l()(document.body).off(".zf.dropdownMenu"),c.Nest.Burn(this.$element,"dropdown")}}])&&r(e.prototype,i),n&&r(e,n),t}();d.defaults={disableHover:!1,disableHoverOnTouch:!0,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"auto",closeOnClick:!0,closeOnClickInside:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0}},5:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.dropdownMenu.js")},jquery:function(t){t.exports=s}},l={},o.m=a,o.c=l,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=5);var a,l}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.box","./foundation.util.keyboard","./foundation.util.nest","jquery"],e):"object"==typeof exports?exports["foundation.drilldown"]=e(require("./foundation.core"),require("./foundation.util.box"),require("./foundation.util.keyboard"),require("./foundation.util.nest"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.drilldown"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.box"],t.__FOUNDATION_EXTERNAL__["foundation.util.keyboard"],t.__FOUNDATION_EXTERNAL__["foundation.util.nest"],t.jQuery))}(window,function(t,e,i,n,r){function s(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,s),e.l=!0,e.exports}return o={"./foundation.core":function(e){e.exports=t},"./foundation.util.box":function(t){t.exports=e},"./foundation.util.keyboard":function(t){t.exports=i},"./foundation.util.nest":function(t){t.exports=n},
9"./js/entries/plugins/foundation.drilldown.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.drilldown.js");i.d(e,"Drilldown",function(){return r.Drilldown}),n.Foundation.plugin(r.Drilldown,"Drilldown")},
9"./js/foundation.drilldown.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"Drilldown",function(){return f}),e=i("jquery");var l=i.n(e),h=i("./foundation.util.keyboard"),u=i("./foundation.util.nest"),c=i("./foundation.core"),p=i("./foundation.util.box"),f=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,c.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="Drilldown",this._init(),h.Keyboard.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}},{key:"_init",value:function(){u.Nest.Feather(this.$element,"drilldown"),this.options.autoApplyClass&&this.$element.addClass("drilldown"),this.$element.attr({"aria-multiselectable":!1}),this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]").attr("role","group"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").find("a"),this.$currentMenu=this.$element,this.$element.attr("data-mutate",this.$element.attr("data-drilldown")||Object(c.GetYoDigits)(6,"drilldown")),this._prepareMenu(),this._registerEvents(),this._keyboardEvents()}},{key:"_prepareMenu",value:function(){var t=this;this.$submenuAnchors.each(function(){var e=l()(this),i=e.parent();t.options.parentLink&&e.clone().prependTo(i.children("[data-submenu]")).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="none"></li>'),e.data("savedHref",e.attr("href")).removeAttr("href").attr("tabindex",0),e.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"group"}),t._events(e)}),this.$submenus.each(function(){var e=l()(this);if(!e.find(".js-drilldown-back").length)switch(t.options.backButtonPosition){case"bottom":e.append(t.options.backButton);break;case"top":e.prepend(t.options.backButton)}t._back(e)}),this.$submenus.addClass("invisible"),this.options.autoHeight||this.$submenus.addClass("drilldown-submenu-cover-previous"),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=l()(this.options.wrapper).addClass("is-drilldown"),this.options.animateHeight&&this.$wrapper.addClass("animate-height"),this.$element.wrap(this.$wrapper)),this.$wrapper=this.$element.parent(),this.$wrapper.css(this._getMaxDims())}},{key:"_resize",value:function(){this.$wrapper.css({"max-width":"none","min-height":"none"}),this.$wrapper.css(this._getMaxDims())}},{key:"_events",value:function(t){var e=this;t.off("click.zf.drilldown").on("click.zf.drilldown",function(i){var n;l()(i.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&i.preventDefault(),e._show(t.parent("li")),e.options.closeOnClick&&(n=l()("body")).off(".zf.drilldown").on("click.zf.drilldown",function(t){t.target===e.$element[0]||l.a.contains(e.$element[0],t.target)||(t.preventDefault(),e._hideAll(),n.off(".zf.drilldown"))})})}},{key:"_registerEvents",value:function(){this.options.scrollTop&&(this._bindHandler=this._scrollTop.bind(this),this.$element.on("open.zf.drilldown hide.zf.drilldown close.zf.drilldown closed.zf.drilldown",this._bindHandler)),this.$element.on("mutateme.zf.trigger",this._resize.bind(this))}},{key:"_scrollTop",value:function(){var t=this,e=""!==t.options.scrollTopElement?l()(t.options.scrollTopElement):t.$element;e=parseInt(e.offset().top+t.options.scrollTopOffset,10),l()("html, body").stop(!0).animate({scrollTop:e},t.options.animationDuration,t.options.animationEasing,function(){this===l()("html")[0]&&t.$element.trigger("scrollme.zf.drilldown")})}},{key:"_keyboardEvents",value:function(){var t=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown",function(e){var i,n,r=l()(this),s=r.parent("li").parent("ul").children("li").children("a");s.each(function(t){l()(this).is(r)&&(i=s.eq(Math.max(0,t-1)),n=s.eq(Math.min(t+1,s.length-1)))}),h.Keyboard.handleKey(e,"Drilldown",{next:function(){if(r.is(t.$submenuAnchors))return t._show(r.parent("li")),r.parent("li").one(Object(c.transitionend)(r),function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()}),!0},previous:function(){return t._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(Object(c.transitionend)(r),function(){setTimeout(function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0},up:function(){return i.focus(),!r.is(t.$element.find("> li:first-child > a"))},down:function(){return n.focus(),!r.is(t.$element.find("> li:last-child > a"))},close:function(){r.is(t.$element.find("> li > a"))||(t._hide(r.parent().parent()),r.parent().parent().siblings("a").focus())},open:function(){return(!t.options.parentLink||!r.attr("href"))&&(r.is(t.$menuItems)?r.is(t.$submenuAnchors)?(t._show(r.parent("li")),r.parent("li").one(Object(c.transitionend)(r),function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()}),!0):void 0:(t._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(Object(c.transitionend)(r),function(){setTimeout(function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0))},handled:function(t){t&&e.preventDefault()}})})}},{key:"_hideAll",value:function(){var t,e=this,i=this.$element.find(".
9is-drilldown-submenu.is-active");i.addClass("is-closing"),i.parent().closest("ul").removeClass("invisible"),this.options.autoHeight&&(t=i.parent().closest("ul").data("calcHeight"),this.$wrapper.css({height:t})),this.$element.trigger("close.zf.drilldown"),i.one(Object(c.transitionend)(i),function(){i.removeClass("is-active is-closing"),e.$element.trigger("closed.zf.drilldown")})}},{key:"_back",value:function(t){var e=this;t.off("click.zf.drilldown"),t.children(".js-drilldown-back").on("click.zf.drilldown",function(){e._hide(t);var i=t.parent("li").parent("ul").parent("li");i.length?e._show(i):e.$currentMenu=e.$element})}},{key:"_menuLinkEvents",value:function(){var t=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",function(){setTimeout(function(){t._hideAll()},0)})}},{key:"_setShowSubMenuClasses",value:function(t,e){t.addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),t.parent("li").attr("aria-expanded",!0),!0===e&&this.$element.trigger("open.zf.drilldown",[t])}},{key:"_setHideSubMenuClasses",value:function(t,e){t.removeClass("is-active").addClass("invisible").attr("aria-hidden",!0),t.parent("li").attr("aria-expanded",!1),!0===e&&t.trigger("hide.zf.drilldown",[t])}},{key:"_showMenu",value:function(t,e){var i=this;if(this.$element.find('li[aria-expanded="true"] > ul[data-submenu]').each(function(){i._setHideSubMenuClasses(l()(this))}),(this.$currentMenu=t).is("[data-drilldown]"))return!0===e&&t.find("li > a").first().focus(),void(this.options.autoHeight&&this.$wrapper.css("height",t.data("calcHeight")));var n=t.children().first().parentsUntil("[data-drilldown]","[data-submenu]");n.each(function(r){0===r&&i.options.autoHeight&&i.$wrapper.css("height",l()(this).data("calcHeight")),1==(r=r===n.length-1)&&l()(this).one(Object(c.transitionend)(l()(this)),function(){!0===e&&t.find("li > a").first().focus()}),i._setShowSubMenuClasses(l()(this),r)})}},{key:"_show",value:function(t){var e=t.children("[data-submenu]");t.attr("aria-expanded",!0),this.$currentMenu=e,t.parent().closest("ul").addClass("invisible"),e.addClass("is-active visible").removeClass("invisible").attr("aria-hidden",!1),this.options.autoHeight&&this.$wrapper.css({height:e.data("calcHeight")}),this.$element.trigger("open.zf.drilldown",[t])}},{key:"_hide",value:function(t){this.options.autoHeight&&this.$wrapper.css({height:t.parent().closest("ul").data("calcHeight")}),t.parent().closest("ul").removeClass("invisible"),t.parent("li").attr("aria-expanded",!1),t.attr("aria-hidden",!0),t.addClass("is-closing").one(Object(c.transitionend)(t),function(){t.removeClass("is-active is-closing visible"),t.blur().addClass("invisible")}),t.trigger("hide.zf.drilldown",[t])}},{key:"_getMaxDims",value:function(){var t=0,e={},i=this;return this.$submenus.add(this.$element).each(function(){var e=p.Box.GetDimensions(this).height;t=t<e?e:t,i.options.autoHeight&&l()(this).data("calcHeight",e)}),this.options.autoHeight?e.height=this.$currentMenu.data("calcHeight"):e["min-height"]="".concat(t,"px"),e["max-width"]="".concat(this.$element[0].getBoundingClientRect().width,"px"),e}},{key:"_destroy",value:function(){l()("body").off(".zf.drilldown"),this.options.scrollTop&&this.$element.off(".zf.drilldown",this._bindHandler),this._hideAll(),this.$element.off("mutateme.zf.trigger"),u.Nest.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").off("transitionend otransitionend webkitTransitionEnd").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"),this.$submenuAnchors.each(function(){l()(this).off(".zf.drilldown")}),this.$element.find("[data-is-parent-link]").detach(),this.$submenus.removeClass("drilldown-submenu-cover-previous invisible"),this.$element.find("a").each(function(){var t=l()(this);t.removeAttr("tabindex"),t.data("savedHref")&&t.attr("href",t.data("savedHref")).removeData("savedHref")})}}])&&r(e.prototype,i),n&&r(e,n),t}();f.defaults={autoApplyClass:!0,backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',backButtonPosition:"top",wrapper:"<div></div>",parentLink:!1,closeOnClick:!1,autoHeight:!1,animateHeight:!1,scrollTop:!1,scrollTopElement:"",scrollTopOffset:0,animationDuration:500,animationEasing:"swing"}}
9,3:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.drilldown.js")},jquery:function(t){t.exports=r}},a={},s.m=o,s.c=a,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(i,n,function(e){return t[e]}.bind(null,n));return i},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=3);var o,a}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.mediaQuery","./foundation.util.motion","jquery"],e):"object"==typeof exports?exports["foundation.responsiveToggle"]=e(require("./foundation.core"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.responsiveToggle"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.mediaQuery"],t.__FOUNDATION_EXTERNAL__["foundation.util.motion"],t.jQuery))}(window,function(t,e,i,n){function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return s[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return s={"./foundation.core":function(e){e.exports=t},"./foundation.util.mediaQuery":function(t){t.exports=e},"./foundation.util.motion":function(t){t.exports=i},
9"./js/entries/plugins/foundation.responsiveToggle.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.responsiveToggle.js");i.d(e,"ResponsiveToggle",function(){return r.ResponsiveToggle}),n.Foundation.plugin(r.ResponsiveToggle,"ResponsiveToggle")},
9"./js/foundation.responsiveToggle.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"ResponsiveToggle",function(){return p}),e=i("jquery");var l=i.n(e),h=i("./foundation.util.mediaQuery"),u=i("./foundation.util.motion"),c=i("./foundation.core"),p=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,c.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=l()(e),this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.className="ResponsiveToggle",this._init(),this._events()}},{key:"_init",value:function(){h.MediaQuery._init();var t,e=this.$element.data("responsive-toggle");this.$targetMenu=l()("#".concat(e)),this.$toggler=this.$element.find("[data-toggle]").filter(function(){var t=l()(this).data("toggle");return t===e||""===t}),this.options=l.a.extend({},this.options,this.$targetMenu.data()),this.options.animate&&(t=this.options.animate.split(" "),this.animationIn=t[0],this.animationOut=t[1]||null),this._update()}},{key:"_events",value:function(){this._updateMqHandler=this._update.bind(this),l()(window).on("changed.zf.mediaquery",this._updateMqHandler),this.$toggler.on("click.zf.responsiveToggle",this.toggleMenu.bind(this))}},{key:"_update",value:function(){h.MediaQuery.atLeast(this.options.hideFor)?(this.$element.hide(),this.$targetMenu.show()):(this.$element.show(),this.$targetMenu.hide())}},{key:"toggleMenu",value:function(){var t=this;h.MediaQuery.atLeast(this.options.hideFor)||(this.options.animate?this.$targetMenu.is(":hidden")?u.Motion.animateIn(this.$targetMenu,this.animationIn,function(){t.$element.trigger("toggled.zf.responsiveToggle"),t.$targetMenu.find("[data-mutate]").triggerHandler("mutateme.zf.trigger")}):u.Motion.animateOut(this.$targetMenu,this.animationOut,function(){t.$element.trigger("toggled.zf.responsiveToggle")}):(this.$targetMenu.toggle(0),this.$targetMenu.find("[data-mutate]").trigger("mutateme.zf.trigger"),this.$element.trigger("toggled.zf.responsiveToggle")))}},{key:"_destroy",value:function(){this.$element.off(".zf.responsiveToggle"),this.$toggler.off(".zf.responsiveToggle"),l()(window).off("changed.zf.mediaquery",this._updateMqHandler)}}])&&r(e.prototype,i),n&&r(e,n),t}();p.defaults={hideFor:"medium",animate:!1}},13:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.responsiveToggle.js")},jquery:function(t){t.exports=n}},o={},r.m=s,r.c=o,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
9),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=13);var s,o}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.accordionMenu"),require("./foundation.core"),require("./foundation.drilldown"),require("./foundation.dropdownMenu"),require("./foundation.util.mediaQuery"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.accordionMenu","./foundation.core","./foundation.drilldown","./foundation.dropdownMenu","./foundation.util.mediaQuery","jquery"],e):"object"==typeof exports?exports["foundation.responsiveMenu"]=e(require("./foundation.accordionMenu"),require("./foundation.core"),require("./foundation.drilldown"),require("./foundation.dropdownMenu"),require("./foundation.util.mediaQuery"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.responsiveMenu"]=e(t.__FOUNDATION_EXTERNAL__["foundation.accordionMenu"],t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.drilldown"],t.__FOUNDATION_EXTERNAL__["foundation.dropdownMenu"],t.__FOUNDATION_EXTERNAL__["foundation.util.mediaQuery"],t.jQuery))}(window,function(t,e,i,n,r,s){function o(t){if(l[t])return l[t].exports;var e=l[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}return a={"./foundation.accordionMenu":function(e){e.exports=t},"./foundation.core":function(t){t.exports=e},"./foundation.drilldown":function(t){t.exports=i},"./foundation.dropdownMenu":function(t){t.exports=n},"./foundation.util.mediaQuery":function(t){t.exports=r},
9"./js/entries/plugins/foundation.responsiveMenu.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.responsiveMenu.js");i.d(e,"ResponsiveMenu",function(){return r.ResponsiveMenu}),n.Foundation.plugin(r.ResponsiveMenu,"ResponsiveMenu")},
9"./js/foundation.responsiveMenu.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"ResponsiveMenu",function(){return d});var l=i("jquery"),h=i.n(l),u=i("./foundation.util.mediaQuery"),c=i("./foundation.core"),p=i("./foundation.dropdownMenu"),f=(e=i("./foundation.drilldown"),l=i("./foundation.accordionMenu"),{dropdown:{cssClass:"dropdown",plugin:p.DropdownMenu},drilldown:{cssClass:"drilldown",plugin:e.Drilldown},accordion:{cssClass:"accordion-menu",plugin:l.AccordionMenu}}),d=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,c.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(t){this.$element=h()(t),this.rules=this.$element.data("responsive-menu"),this.currentMq=null,this.currentPlugin=null,this.className="ResponsiveMenu",this._init(),this._events()}},{key:"_init",value:function(){if(u.MediaQuery._init(),"string"==typeof this.rules){for(var t={},e=this.rules.split(" "),i=0;i<e.length;i++){var n=1<(r=e[i].split("-")).length?r[0]:"small",r=1<r.length?r[1]:r[0];null!==f[r]&&(t[n]=f[r])}this.rules=t}h.a.isEmptyObject(this.rules)||this._checkMediaQueries(),this.$element.attr("data-mutate",this.$element.attr("data-mutate")||Object(c.GetYoDigits)(6,"responsive-menu"))}},{key:"_events",value:function(){var t=this;h()(window).on("changed.zf.mediaquery",function(){t._checkMediaQueries()})}},{key:"_checkMediaQueries",value:function(){var t,e=this;h.a.each(this.rules,function(e){u.MediaQuery.atLeast(e)&&(t=e)}),t&&(this.currentPlugin instanceof this.rules[t].plugin||(h.a.each(f,function(t,i){e.$element.removeClass(i.cssClass)}),this.$element.addClass(this.rules[t].cssClass),this.currentPlugin&&this.currentPlugin.destroy(),this.currentPlugin=new this.rules[t].plugin(this.$element,{})))}},{key:"_destroy",value:function(){this.currentPlugin.destroy(),h()(window).off(".zf.ResponsiveMenu")}}])&&r(e.prototype,i),n&&r(e,n),t}();d.defaults={}},12:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.responsiveMenu.js")},jquery:function(t){t.exports=s}},l={},o.m=a,o.c=l,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=12);var a,l}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("./foundation.core"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("jquery")):"function"==typeof define&&define.amd?define(["./foundation.core","./foundation.util.mediaQuery","./foundation.util.motion","jquery"],e):"object"==typeof exports?exp
9orts["foundation.interchange"]=e(require("./foundation.core"),require("./foundation.util.mediaQuery"),require("./foundation.util.motion"),require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.interchange"]=e(t.__FOUNDATION_EXTERNAL__["foundation.core"],t.__FOUNDATION_EXTERNAL__["foundation.util.mediaQuery"],t.__FOUNDATION_EXTERNAL__["foundation.util.motion"],t.jQuery))}(window,function(t,e,i,n){function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return s[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return s={"./foundation.core":function(e){e.exports=t},"./foundation.util.mediaQuery":function(t){t.exports=e},"./foundation.util.motion":function(t){t.exports=i},
9"./js/entries/plugins/foundation.interchange.js":function(t,e,i){"use strict";i.r(e);var n=i("./foundation.core");i.d(e,"Foundation",function(){return n.Foundation});var r=i("./js/foundation.interchange.js");i.d(e,"Interchange",function(){return r.Interchange}),n.Foundation.plugin(r.Interchange,"Interchange")},
9"./js/foundation.interchange.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var i,r=a(t);return function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t)}(this,e?(i=a(this).constructor,Reflect.construct(r,arguments,i)):r.apply(this,arguments))}}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}i.r(e),i.d(e,"Interchange",function(){return p}),e=i("jquery");var l=i.n(e),h=i("./foundation.util.mediaQuery"),u=i("./foundation.core"),c=i("./js/foundation.util.triggers.js"),p=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.apply(this,arguments)}!function(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}}),e&&s(t,e)}(t,u.Plugin);var e,i,n,a=o(t);return e=t,(i=[{key:"_setup",value:function(e,i){this.$element=e,this.options=l.a.extend({},t.defaults,this.$element.data(),i),this.rules=[],this.currentPath="", 10this.className="Interchange",c.Triggers.init(l.a),this._init(),this._events()}},{key:"_init",value:function(){h.MediaQuery._init();var t=this.$element[0].id||Object(u.GetYoDigits)(6,"interchange");this.$element.attr({"data-resize":t,id:t}),this._parseOptions(),this._addBreakpoints(),this._generateRules(),this._reflow()}},{key:"_events",value:function(){var t=this;this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(){return t._reflow()})}},{key:"_reflow",value:function(){var t,e,i;for(e in this.rules)this.rules.hasOwnProperty(e)&&(i=this.rules[e],window.matchMedia(i.query).matches&&(t=i));t&&this.replace(t.path)}},{key:"_parseOptions",value:function(){(void 0===this.options.type||-1===["auto","src","background","html"].indexOf(this.options.type))&&(this.options.type="auto")}},{key:"_addBreakpoints",value:function(){for(var e in h.MediaQuery.queries)h.MediaQuery.queries.hasOwnProperty(e)&&(e=h.MediaQuery.queries[e],t.SPECIAL_QUERIES[e.name]=e.value)}},{key:"_generateRules",value:function(){var e,i,n,r=[],s=this.options.rules||this.$element.data("interchange");for(e in s="string"==typeof s?s.match(/\[.*?, .*?\]/g):s)s.hasOwnProperty(e)&&(i=(n=s[e].slice(1,-1).split(", ")).slice(0,-1).join(""),n=n[n.length-1],t.SPECIAL_QUERIES[n]&&(n=t.SPECIAL_QUERIES[n]),r.push({path:i,query:n}));this.rules=r}},{key:"replace",value:function(t){var e,i,n=this;this.currentPath!==t&&(e="replaced.zf.interchange","src"===(i="auto"===(i=this.options.type)?"IMG"===this.$element[0].nodeName?"src":t.match(/\.(gif|jpe?g|png|svg|tiff)([?#].*)?/i)?"background":"html":i)?this.$element.attr("src",t).on("load",function(){n.currentPath=t}).trigger(e):"background"===i?(t=t.replace(/\(/g,"%28").replace(/\)/g,"%29"),this.$element.css({"background-image":"url("+t+")"}).trigger(e)):"html"===i&&l.a.get(t,function(i){n.$element.html(i).trigger(e),l()(i).foundation(),n.currentPath=t}))}},{key:"_destroy",value:function(){this.$element.off("resizeme.zf.trigger")}}
10])&&r(e.prototype,i),n&&r(e,n),t}();p.defaults={rules:null,type:"auto"},p.SPECIAL_QUERIES={landscape:"screen and (orientation: landscape)",portrait:"screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"}},
vendor: 4,654 bytes, line 10
10"./js/foundation.util.triggers.js":function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){t.data(e).split(" ").forEach(function(i){o()("#".concat(i))["close"===e?"trigger":"triggerHandler"]("".concat(e,".zf.trigger"),[t])})}function s(t,e,i){var n,r=Array.prototype.slice.call(arguments,3);o()(window).on(e,function(){n&&clearTimeout(n),n=setTimeout(function(){i.apply(null,r)},t||10)})}i.r(e),i.d(e,"Triggers",function(){return u}),e=i("jquery");var o=i.n(e),a=i("./foundation.core"),l=i("./foundation.util.motion"),h=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if("".concat(t[e],"MutationObserver")in window)return window["".concat(t[e],"MutationObserver")];return!1}(),u={Listeners:{Basic:{},Global:{}},Initializers:{}};u.Listeners.Basic={openListener:function(){r(o()(this),"open")},closeListener:function(){o()(this).data("close")?r(o()(this),"close"):o()(this).trigger("close.zf.trigger")},toggleListener:function(){o()(this).data("toggle")?r(o()(this),"toggle"):o()(this).trigger("toggle.zf.trigger")},closeableListener:function(t){var e=o()(this).data("closable");t.stopPropagation(),""!==e?l.Motion.animateOut(o()(this),e,function(){o()(this).trigger("closed.zf")}):o()(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){var t=o()(this).data("toggle-focus");o()("#".concat(t)).triggerHandler("toggle.zf.trigger",[o()(this)])}},u.Initializers.addOpenListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.openListener),t.on("click.zf.trigger","[data-open]",u.Listeners.Basic.openListener)},u.Initializers.addCloseListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.closeListener),t.on("click.zf.trigger","[data-close]",u.Listeners.Basic.closeListener)},u.Initializers.addToggleListener=function(t){t.off("click.zf.trigger",u.Listeners.Basic.toggleListener),t.on("click.zf.trigger","[data-toggle]",u.Listeners.Basic.toggleListener)},u.Initializers.addCloseableListener=function(t){t.off("close.zf.trigger",u.Listeners.Basic.closeableListener),t.on("close.zf.trigger","[data-closeable], [data-closable]",u.Listeners.Basic.closeableListener)},u.Initializers.addToggleFocusListener=function(t){t.off("focus.zf.trigger blur.zf.trigger",u.Listeners.Basic.toggleFocusListener),t.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",u.Listeners.Basic.toggleFocusListener)},u.Listeners.Global={resizeListener:function(t){h||t.each(function(){o()(this).triggerHandler("resizeme.zf.trigger")}),t.attr("data-events","resize")},scrollListener:function(t){h||t.each(function(){o()(this).triggerHandler("scrollme.zf.trigger")}),t.attr("data-events","scroll")},closeMeListener:function(t,e){t=t.namespace.split(".")[0],o()("[data-".concat(t,"]")).not('[data-yeti-box="'.concat(e,'"]')).each(function(){var t=o()(this);t.triggerHandler("close.zf.trigger",[t])})}},u.Initializers.addClosemeListener=function(t){var e=o()("[data-yeti-box]"),i=["dropdown","tooltip","reveal"];t&&("string"==typeof t?i.push(t):"object"===n(t)&&"string"==typeof t[0]&&(i=i.concat(t))),e.length&&(i=i.map(function(t){return"closeme.zf.".concat(t)}).join(" "),o()(window).off(i).on(i,u.Listeners.Global.closeMeListener))},u.Initializers.addResizeListener=function(t){var e=o()("[data-resize]");e.length&&s(t,"resize.zf.trigger",u.Listeners.Global.resizeListener,e)},u.Initializers.addScrollListener=function(t){var e=o()("[data-scroll]");e.length&&s(t,"scroll.zf.trigger",u.Listeners.Global.scrollListener,e)},u.Initializers.addMutationEventsListener=function(t){function e(t){var e=o()(t[0].target);switch(t[0].type){case"attributes":"scroll"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("scrollme.zf.trigger",[e,window.pageYOffset]),"resize"===e.attr("data-events")&&"data-events"===t[0].attributeName&&e.triggerHandler("resizeme.zf.trigger",[e]),"style"===t[0].attributeName&&(e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]));break;case"childList":e.closest("[data-mutate]").attr("data-events","mutate"),e.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[e.closest("[data-mutate]")]);break;default:return!1}}if(!h)return!1;var i=t.find("[data-resize], [data-scroll], [data-mutate]");if(i.length)for(var n=0;n<=i.length-1;n++)new h(e).observe(i[n],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})}
10,u.Initializers.addSimpleListeners=function(){var t=o()(document);u.Initializers.addOpenListener(t),u.Initializers.addCloseListener(t),u.Initializers.addToggleListener(t),u.Initializers.addCloseableListener(t),u.Initializers.addToggleFocusListener(t)},u.Initializers.addGlobalListeners=function(){var t=o()(document);u.Initializers.addMutationEventsListener(t),u.Initializers.addResizeListener(250),u.Initializers.addScrollListener(),u.Initializers.addClosemeListener()},u.init=function(t,e){Object(a.onLoad)(o()(window),function(){!0!==o.a.triggersInitialized&&(u.Initializers.addSimpleListeners(),u.Initializers.addGlobalListeners(),o.a.triggersInitialized=!0)}),e&&(e.Triggers=u,e.IHearYou=u.Initializers.addGlobalListeners)}}
10,7:function(t,e,i){t.exports=i("./js/entries/plugins/foundation.interchange.js")},jquery:function(t){t.exports=n}},o={},r.m=s,r.c=o,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=7);var s,o}),"undefined"!=typeof navigator&&(a=window||{},b=function(window){"use strict";function ProjectInterface(){return{}}function roundValues(t){bm_rnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin=t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility=t.style.webkitBackfaceVisibility="visible",t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,i,n){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,n){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=n<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e,this.currentTime=currentTime}function HSVtoRGB(t,e,i){var n,r,s,o,a,l,h,u;switch(l=i*(1-e),h=i*(1-(a=6*t-(o=Math.floor(6*t)))*e),u=i*(1-(1-a)*e),o%6){case 0:n=i,r=u,s=l;break;case 1:n=h,r=i,s=l;break;case 2:n=l,r=i,s=u;break;case 3:n=l,r=h,s=i;break;case 4:n=u,r=l,s=i;break;case 5:n=i,r=l,s=h}return[n,r,s]}function RGBtoHSV(t,e,i){var n,r=Math.max(t,e,i),s=Math.min(t,e,i),o=r-s,a=0===r?0:o/r,l=r/255;switch(r){case s:n=0;break;case t:n=e-i+o*(e<i?6:0),n/=6*o;break;case e:n=i-t+2*o,n/=6*o;break;case i:n=t-e+4*o,n/=6*o}return[n,a,l]}function addSaturationToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[1]+=e,1<i[1]?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[2]+=e,1<i[2]?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[0]+=e/360,1<i[0]?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}function BaseEvent(){}function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}function extendPrototype(t,e){var i,n,r=t.length;for(i=0;i<r;i+=1)for(var s in n=t[i].prototype)n.hasOwnProperty(s)&&(e.prototype[s]=n[s])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){function t(t,e,i,n,r,s){var o=t*n+e*r+i*s-r*n-s*t-i*e;return-.001<o&&o<.001}function e(t){this.segmentLength=0,this.points=new Array(t)}function i(t,e){this.partialLength=t,this.point=e}function n(t,e){var i=e.percents,n=e.lengths,r=i.length,s=bm_floor((r-1)*t),o=t*e.addedLength,a=0;if(s===r-1||0===s||o===n[s])return i[s];for(var l=n[s]>o?-1:1,h=!0;h;)if(n[s]<=o&&n[s+1]>o?(a=(o-n[s])/(n[s+1]-n[s]),h=!1):s+=l,s<0||r-1<=s){if(s===r-1)return i[s];h=!1}return i[s]+(i[s+1]-i[s])*a}Math;var r,s=function(t,e,i,n){var r,s,o,a,l,h,u=defaultCurveSegments,c=0,p=[],f=[],d=bezier_length_pool.newElement();for(o=i.length,r=0;r<u;r+=1){for(l=r/(u-1),s=h=0;s<o;s+=1)a=bm_pow(1-l,3)*t[s]+3*bm_pow(1-l,2)*l*i[s]+3*(1-l)*bm_pow(l,2)*n[s]+bm_pow(l,3)*e[s],p[s]=a,null!==f[s]&&(h+=bm_pow(p[s]-f[s],2)),f[s]=p[s];h&&(c+=h=bm_sqrt(h)),d.percents[r]=l,d.lengths[r]=c}return d.addedLength=c,d},o=(r={},function(n,s,o,a){var l=(n[0]+"_"+n[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]+"_"+a[0]+"_"+a[1]).replace(/\./g,"p");if(!r[l]){var h,u,c,p,f,d,m,g=defaultCurveSegments,y=0,v=null;2===n.length&&(n[0]!=s[0]||n[1]!=s[1])&&t(n[0],n[1],s[0],s[1],n[0]+o[0],n[1]+o[1])&&t(n[0],n[1],s[0],s[1],s[0]+a[0],s[1]+a[1])&&(g=2);var b=new e(g);for(c=o.length,h=0;h<g;h+=1){for(m=createSizedArray(c),f=h/(g-1),u=d=0;u<c;u+=1)p=bm_pow(1-f,3)*n[u]+3*bm_pow(1-f,2)*f*(n[u]+o[u])+3*(1-f)*bm_pow(f,2)*(s[u]+a[u])+bm_pow(f,3)*s[u],m[u]=p,null!==v&&(d+=bm_pow(m[u]-v[u],2));y+=d=bm_sqrt(d),b.points[h]=new i(d,m),v=m}b.segmentLength=y,r[l]=b}return r[l]}
vendor: 5,827 bytes, line 10
10),a=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segments_length_pool.newElement(),n=t.c,r=t.v,o=t.o,a=t.i,l=t._length,h=i.lengths,u=0;for(e=0;e<l-1;e+=1)h[e]=s(r[e],r[e+1],o[e],a[e+1]),u+=h[e].addedLength;return n&&l&&(h[e]=s(r[e],r[0],o[e],a[0]),u+=h[e].addedLength),i.totalLength=u,i},getNewSegment:function(t,e,i,r,s,o,l){var h,u=n(s=s<0?0:1<s?1:s,l),c=n(o=1<o?1:o,l),p=t.length,f=1-u,d=1-c,m=f*f*f,g=u*f*f*3,y=u*u*f*3,v=u*u*u,b=f*f*d,_=u*f*d+f*u*d+f*f*c,x=u*u*d+f*u*c+u*f*c,w=u*u*c,E=f*d*d,T=u*d*d+f*c*d+f*d*c,S=u*c*d+f*c*c+u*d*c,C=u*c*c,A=d*d*d,P=c*d*d+d*c*d+d*d*c,k=c*c*d+d*c*c+c*d*c,D=c*c*c;for(h=0;h<p;h+=1)a[4*h]=Math.round(1e3*(m*t[h]+g*i[h]+y*r[h]+v*e[h]))/1e3,a[4*h+1]=Math.round(1e3*(b*t[h]+_*i[h]+x*r[h]+w*e[h]))/1e3,a[4*h+2]=Math.round(1e3*(E*t[h]+T*i[h]+S*r[h]+C*e[h]))/1e3,a[4*h+3]=Math.round(1e3*(A*t[h]+P*i[h]+k*r[h]+D*e[h]))/1e3;return a},getPointInSegment:function(t,e,i,r,s,o){var a=n(s,o),l=1-a;return[Math.round(1e3*(l*l*l*t[0]+(a*l*l+l*a*l+l*l*a)*i[0]+(a*a*l+l*a*a+a*l*a)*r[0]+a*a*a*e[0]))/1e3,Math.round(1e3*(l*l*l*t[1]+(a*l*l+l*a*l+l*l*a)*i[1]+(a*a*l+l*a*a+a*l*a)*r[1]+a*a*a*e[1]))/1e3]},buildBezierData:o,pointOnLine2D:t,pointOnLine3D:function(e,i,n,r,s,o,a,l,h){if(0===n&&0===o&&0===h)return t(e,i,r,s,a,l);var u,c=Math.sqrt(Math.pow(r-e,2)+Math.pow(s-i,2)+Math.pow(o-n,2)),p=Math.sqrt(Math.pow(a-e,2)+Math.pow(l-i,2)+Math.pow(h-n,2)),f=Math.sqrt(Math.pow(a-r,2)+Math.pow(l-s,2)+Math.pow(h-o,2));return-1e-4<(u=p<c?f<c?c-p-f:f-p-c:p<f?f-p-c:p-c-f)&&u<1e-4}}}function dataFunctionManager(){function t(t,e){for(var i=0,n=e.length;i<n;){if(e[i].id===t)return e[i].layers.__used?JSON.parse(JSON.stringify(e[i].layers)):(e[i].layers.__used=!0,e[i].layers);i+=1}}function e(t){var n,r,s;for(n=t.length-1;0<=n;n-=1)if("sh"==t[n].ty)if(t[n].ks.k.i)i(t[n].ks.k);else for(s=t[n].ks.k.length,r=0;r<s;r+=1)t[n].ks.k[r].s&&i(t[n].ks.k[r].s[0]),t[n].ks.k[r].e&&i(t[n].ks.k[r].e[0]);else"gr"==t[n].ty&&e(t[n].it)}function i(t){var e,i=t.i.length;for(e=0;e<i;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function n(t,e){var i=e?e.split("."):[100,100,100];return t[0]>i[0]||!(i[0]>t[0])&&(t[1]>i[1]||!(i[1]>t[1])&&(t[2]>i[2]||!(i[2]>t[2])&&void 0))}var r,s=function(){function t(t){var e,i,n,r=t.length;for(e=0;e<r;e+=1)5===t[e].ty&&(n=(i=t[e]).t.d,i.t.d={k:[{s:n,t:0}]})}var e=[4,4,14];return function(i){if(n(e,i.v)&&(t(i.layers),i.assets)){var r,s=i.assets.length;for(r=0;r<s;r+=1)i.assets[r].layers&&t(i.assets[r].layers)}}}(),o=(r=[4,7,99],function(t){if(t.chars&&!n(r,t.v)){var e,s,o,a,l,h=t.chars.length;for(e=0;e<h;e+=1)if(t.chars[e].data&&t.chars[e].data.shapes)for(o=(l=t.chars[e].data.shapes[0].it).length,s=0;s<o;s+=1)(a=l[s].ks.k).__converted||(i(l[s].ks.k),a.__converted=!0)}}),a=function(){function t(e){var i,n,r,s=e.length;for(i=0;i<s;i+=1)if("gr"===e[i].ty)t(e[i].it);else if("fl"===e[i].ty||"st"===e[i].ty)if(e[i].c.k&&e[i].c.k[0].i)for(r=e[i].c.k.length,n=0;n<r;n+=1)e[i].c.k[n].s&&(e[i].c.k[n].s[0]/=255,e[i].c.k[n].s[1]/=255,e[i].c.k[n].s[2]/=255,e[i].c.k[n].s[3]/=255),e[i].c.k[n].e&&(e[i].c.k[n].e[0]/=255,e[i].c.k[n].e[1]/=255,e[i].c.k[n].e[2]/=255,e[i].c.k[n].e[3]/=255);else e[i].c.k[0]/=255,e[i].c.k[1]/=255,e[i].c.k[2]/=255,e[i].c.k[3]/=255}function e(e){var i,n=e.length;for(i=0;i<n;i+=1)4===e[i].ty&&t(e[i].shapes)}var i=[4,1,9];return function(t){if(n(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),l=function(){function t(e){var i,n,r;for(i=e.length-1;0<=i;i-=1)if("sh"==e[i].ty)if(e[i].ks.k.i)e[i].ks.k.c=e[i].closed;else for(r=e[i].ks.k.length,n=0;n<r;n+=1)e[i].ks.k[n].s&&(e[i].ks.k[n].s[0].c=e[i].closed),e[i].ks.k[n].e&&(e[i].ks.k[n].e[0].c=e[i].closed);else"gr"==e[i].ty&&t(e[i].it)}function e(e){var i,n,r,s,o,a,l=e.length;for(n=0;n<l;n+=1){if((i=e[n]).hasMask){var h=i.masksProperties;for(s=h.length,r=0;r<s;r+=1)if(h[r].pt.k.i)h[r].pt.k.c=h[r].cl;else for(a=h[r].pt.k.length,o=0;o<a;o+=1)h[r].pt.k[o].s&&(h[r].pt.k[o].s[0].c=h[r].cl),h[r].pt.k[o].e&&(h[r].pt.k[o].e[0].c=h[r].cl)}4===i.ty&&t(i.shapes)}}var i=[4,4,18];return function(t){if(n(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),h={completeData:function(n,r){n.__complete||(a(n),s(n),o(n),l(n),function n(r,s,o){var a,l,h,u,c,p,f,d=r.length;for(l=0;l<d;l+=1)if("ks"in(a=r[l])&&!a.completed){if(a.completed=!0,a.tt&&(r[l-1].td=a.tt),a.hasMask){var m=a.masksProperties;for(u=m.length,h=0;h<u;h+=1)if(m[h].pt.k.i)i(m[h].pt.k);else for(p=m[h].pt.k.length,c=0;c<p;c+=1)m[h].pt.k[c].s&&i(m[h].pt.k[c].s[0]),m[h].pt.k[c].e&&i(m[h].pt.k[c].e[0])}0===a.ty?(a.layers=t(a.refId,s),n(a.layers,s,o)):4===a.ty?e(a.shapes):5==a.ty&&(0!==(f=a).t.a.length||"m"in f.t.p||(f.singleShape=!0))}}(n.layers,n.assets,r),n.__complete=!0)}};return h}function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,i,n){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var r,s,o=e.length||0;for(r=0;r<o;r+=1)s=PropertyFactory.getProp(t,e[r].v,0,0,this),this.k=s.k||this.k,this.dataProps[r]={n:e[r].n,p:s};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);
vendor: 3,933 bytes, line 10
10var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function TextAnimatorDataProperty(t,e,i){var n={propType:!1},r=PropertyFactory.getProp,s=e.a;this.a={r:s.r?r(t,s.r,0,degToRads,i):n,rx:s.rx?r(t,s.rx,0,degToRads,i):n,ry:s.ry?r(t,s.ry,0,degToRads,i):n,sk:s.sk?r(t,s.sk,0,degToRads,i):n,sa:s.sa?r(t,s.sa,0,degToRads,i):n,s:s.s?r(t,s.s,1,.01,i):n,a:s.a?r(t,s.a,1,0,i):n,o:s.o?r(t,s.o,0,.01,i):n,p:s.p?r(t,s.p,1,0,i):n,sw:s.sw?r(t,s.sw,0,0,i):n,sc:s.sc?r(t,s.sc,1,0,i):n,fc:s.fc?r(t,s.fc,1,0,i):n,fh:s.fh?r(t,s.fh,0,0,i):n,fs:s.fs?r(t,s.fs,0,.01,i):n,fb:s.fb?r(t,s.fb,0,.01,i):n,t:s.t?r(t,s.t,0,0,i):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function LetterProps(t,e,i,n,r,s){this.o=t,this.sw=e,this.sc=i,this.fc=n,this.m=r,this.p=s,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var n=createNS("title"),r=createElementID();n.setAttribute("id",r),n.textContent=e.title,this.svgElement.appendChild(n),i+=r}if(e&&e.description){var s=createNS("desc"),o=createElementID();s.setAttribute("id",o),s.textContent=e.description,this.svgElement.appendChild(s),i+=" "+o}i&&this.svgElement.setAttribute("aria-labelledby",i);var a=createNS("defs");this.svgElement.appendChild(a);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!e||!1!==e.hideOnTransparent,viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",focusable:e&&e.focusable},this.globalData={_mdf:!1,frameNum:-1,defs:a,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",className:e&&e.className||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=ne
10w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!e||!1!==e.hideOnTransparent},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,r=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,a,l,h,u,c,p,f=this.masksProperties,d=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<s;n++)if(("a"!==f[n].mode&&"n"!==f[n].mode||f[n].inv||100!==f[n].o.k||f[n].o.x)&&(v=y="mask"),"s"!=f[n].mode&&"i"!=f[n].mode||0!==d?h=null:((h=createNS("rect")).setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),m.push(h)),o=createNS("path"),"n"!=f[n].mode){var b;if(d+=1,o.setAttribute("fill","s"===f[n].mode?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero"),0!==f[n].x.k?(v=y="mask",p=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),u.appendChild(c),r.appendChild(u),o.setAttribute("stroke","s"===f[n].mode?"#000000":"#ffffff")):p=c=null,this.storedData[n]={elem:o,x:p,expan:c,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"==f[n].mode){l=m.length;var _=createNS("g");for(a=0;a<l;a+=1)_.appendChild(m[a]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+d),x.appendChild(o),r.appendChild(x),_.setAttribute("mask","url("+locationHref+"#"+g+"_"+d+")"),m.length=0,m.push(_)}else m.push(o);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:h},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}else this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:o,lastPath:""},r.appendChild(o);for(this.maskElement=createNS(y),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);0<d&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+locationHref+"#"+g+")"),r.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var n=0,r=t.length;n<r;){if(t[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}
10function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,i,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r=4;"rc"==e.ty?r=5:"el"==e.ty?r=6:"sr"==e.ty&&(r=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,r,t);var s,o,a=i.length;for(s=0;s<a;s+=1)i[s].closed||(o={transforms:n.addTransformSequence(i[s].transforms),trNodes:[]},this.styledShapes.push(o),i[s].elements.push(o))}function BaseElement(){}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,i){this.initElement(t,e,i)}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var i=createNS("feColorMatrix");if(i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result","f1"),t.appendChild(i),(i=createNS("feColorMatrix")).setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result","f2"),t.appendChild(i),this.matrixFilter=i,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var n,r=createNS("feMerge");t.appendChild(r),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),r.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","f2"),r.appendChild(n)}}function SVGFillFilter(t,e){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(i),this.matrixFilter=i}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var i=createNS("feGaussianBlur");t.appendChild(i),this.feGaussianBlur=i}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.setAttribute("result","f1"),t.appendChild(i);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.matrixFilter=n;var r=createNS("feFuncR");r.setAttribute("type","table"),n.appendChild(r),this.feFuncR=r;var s=createNS("feFuncG");s.setAttribute("type","table"),n.appendChild(s),this.feFuncG=s;var o=createNS("feFuncB");o.setAttribute("type","table"),n.appendChild(o),this.feFuncB=o}function SVGProLevelsFilter(t,e){this.filterManager=e;var i=this.filterManager.effectElements,n=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),n=createNS("feComponentTransfer")),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5
10].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"), 11t.setAttribute("width","400%"),t.setAttribute("height","400%"),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var n=createNS("feOffset");n.setAttribute("dx","25"),n.setAttribute("dy","0"),n.setAttribute("in","drop_shadow_1"),n.setAttribute("result","drop_shadow_2"),this.feOffset=n,t.appendChild(n);var r=createNS("feFlood");r.setAttribute("flood-color","#00ff00"),r.setAttribute("flood-opacity","1"),r.setAttribute("result","drop_shadow_3"),this.feFlood=r,t.appendChild(r);var s=createNS("feComposite");s.setAttribute("in","drop_shadow_3"),s.setAttribute("in2","drop_shadow_2"),s.setAttribute("operator","in"),s.setAttribute("result","drop_shadow_4"),t.appendChild(s);var o,a=createNS("feMerge");t.appendChild(a),o=createNS("feMergeNode"),a.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=a,this.originalNodeAdded=!1,a.appendChild(o)}function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=i).matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGEffects(t){var e,i,n=t.data.ef?t.data.ef.length:0,r=createElementID(),s=filtersFactory.createFilter(r),o=0;for(this.filters=[],e=0;e<n;e+=1)i=null,20===t.data.ef[e].ty?(o+=1,i=new SVGTintFilter(s,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(o+=1,i=new SVGFillFilter(s,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?i=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(o+=1,i=new SVGTritoneFilter(s,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(o+=1,i=new SVGProLevelsFilter(s,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(o+=1,i=new SVGDropShadowEffect(s,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?i=new SVGMatte3Effect(s,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(o+=1,i=new SVGGaussianBlurEffect(s,t.effectsManager.effectElements[e])),i&&this.filters.push(i);o&&(t.globalData.defs.appendChild(s),t.layerElement.setAttribute("filter","url("+locationHref+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getImage(this.assetData),this.initElement(t,e,i)}function CVCompElement(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,n=this.masksProperties.length,r=!1;for(i=0;i<n;i++)"n"!==this.masksProperties[i].mode&&(r=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);(this.hasMasks=r)&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}function CVSolidElement(t,e,i){this.initElement(t,e,i)}function CVTextElement(t,e,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,i)}function CVEffects(){}function HBaseElement(){}function HSolidElement(t,e,i){this.initElement(t,e,i)}function HCompElement(t,e,i){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function HImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,
11i),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,t.pe,0,0,this),t.ks.p.s?(this.px=n(this,t.ks.p.x,1,0,this),this.py=n(this,t.ks.p.y,1,0,this),this.pz=n(this,t.ks.p.z,1,0,this)):this.p=n(this,t.ks.p,1,0,this),t.ks.a&&(this.a=n(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var r,s=t.ks.or.k.length;for(r=0;r<s;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null}this.or=n(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,t.ks.rx,0,degToRads,this),this.ry=n(this,t.ks.ry,0,degToRads,this),this.rz=n(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];var n,r,s=i.length;for(n=0;n<s;n++)r=new GroupEffect(i[n],e),this.effectElements.push(r)}function GroupEffect(t,e){this.init(t,e)}function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&1<t&&(defaultCurveSegments=t);roundValues(!(50<=defaultCurveSegments))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),i=0;i<e.length;i++){var n=e[i].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}}var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"==typeof t&&t.length){var e,i=createSizedArray(t.length),n=t.length;for(e=0;e<n;e+=1)i[e]=Math.abs(t[e]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;roundValues(!1);var createElementID=(I=0,function(){return"__lottie_element_"+ ++I}),I,rgbToHex=function(){var t,e,i=[];for(t=0;t<256;t+=1)e=t.toString(16),i[t]=1==e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+i[t]+i[e]+i[n]}}();BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t].length,n=0;n<i;n++)this._cbs[t][n](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var i=0,n=this._cbs[t].length;i<n;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,n-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):void 0}:function(t,e){var i,n=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(n=0;n<e;n+=1)r.push(i);return r};DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};
vendor: 8,388 bytes, line 11
11var getBlendMode=(Ra={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return Ra[t]||""}),Ra,Matrix=function(){function t(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function e(t){if(0===t)return this;var e=P(t),i=k(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function i(t){if(0===t)return this;var e=P(t),i=k(t);return this._t(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1)}function n(t){if(0===t)return this;var e=P(t),i=k(t);return this._t(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1)}function r(t){if(0===t)return this;var e=P(t),i=k(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function s(t,e){return this._t(1,e,t,1,0,0)}function o(t,e){return this.shear(D(t),D(e))}function a(t,e){var i=P(e),n=k(e);return this._t(i,n,0,0,-n,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,D(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function l(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function h(t,e,i,n,r,s,o,a,l,h,u,c,p,f,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=n,this.props[4]=r,this.props[5]=s,this.props[6]=o,this.props[7]=a,this.props[8]=l,this.props[9]=h,this.props[10]=u,this.props[11]=c,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=m,this}function u(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function c(t,e,i,n,r,s,o,a,l,h,u,c,p,f,d,m){var g=this.props;if(1===t&&0===e&&0===i&&0===n&&0===r&&1===s&&0===o&&0===a&&0===l&&0===h&&1===u&&0===c)return g[12]=g[12]*t+g[15]*p,g[13]=g[13]*s+g[15]*f,g[14]=g[14]*u+g[15]*d,g[15]=g[15]*m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],_=g[3],x=g[4],w=g[5],E=g[6],T=g[7],S=g[8],C=g[9],A=g[10],P=g[11],k=g[12],D=g[13],M=g[14],F=g[15];return g[0]=y*t+v*r+b*l+_*p,g[1]=y*e+v*s+b*h+_*f,g[2]=y*i+v*o+b*u+_*d,g[3]=y*n+v*a+b*c+_*m,g[4]=x*t+w*r+E*l+T*p,g[5]=x*e+w*s+E*h+T*f,g[6]=x*i+w*o+E*u+T*d,g[7]=x*n+w*a+E*c+T*m,g[8]=S*t+C*r+A*l+P*p,g[9]=S*e+C*s+A*h+P*f,g[10]=S*i+C*o+A*u+P*d,g[11]=S*n+C*a+A*c+P*m,g[12]=k*t+D*r+M*l+F*p,g[13]=k*e+D*s+M*h+F*f,g[14]=k*i+D*o+M*u+F*d,g[15]=k*n+D*a+M*c+F*m,this._identityCalculated=!1,this}function p(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function f(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function d(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e]}function m(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function g(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function y(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function v(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function b(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function _(t){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],i=this.props[5]/e,n=-this.props[1]/e,r=-this.props[4]/e,s=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e;return[t[0]*i+t[1]*r+o,t[0]*n+t[1]*s+a,0]}function x(t){var e,i=t.length,n=[];for(e=0;e<i;e+=1)n[e]=_(t[e]);return n}function w(t,e,i){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=t[0],n[1]=t[1],n[2]=e[0],n[3]=e[1],n[4]=i[0],n[5]=i[1];else{var r=this.props[0],s=this.props[1],o=this.props[4],a=this.props[5],l=this.props[12],h=this.props[13];n[0]=t[0]*r+t[1]*o+l,n[1]=t[0]*s+t[1]*a+h,n[2]=e[0]*r+e[1]*o+l,n[3]=e[0]*s+e[1]*a+h,n[4]=i[0]*r+i[1]*o+l,n[5]=i[0]*s+i[1]*a+h}return n}function E(t,e,i){return this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]]}function T(t,e){if(this.isIdentity())return t+","+e;var i=this.props;return Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100}function S(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i+=M(1e4*e[t])/1e4,i+=15===t?")":",",t+=1;return i}function C(t){return t<1e-6&&0<t||-1e-6<t&&t<0?M(1e4*t)/1e4:t}function A(){var t=this.props;return"matrix("+C(t[0])+","+C(t[1])+","+C(t[4])+","+C(t[5])+","+C(t[12])+","+C(t[13])+")"}var P=Math.cos,k=Math.sin,D=Math.tan,M=Math.round;return function(){this.reset=t,this.rotate=e,this.rotateX=i,this.rotateY=n,this.rotateZ=r,this.skew=o,this.skewFromAxis=a,this.shear=s,this.scale=l,this.setTransform=h,this.translate=u,this.transform=c,this.applyToPoint=g,this.applyToX=y,this.applyToY=v,this.applyToZ=b,this.applyToPointArray=E,this.applyToTriplePoints=w,this.applyToPointStringified=T,this.toCSS=S,this.to2dCSS=A,this.clone=d,this.cloneFromProps=m,this.equals=f,this.inversePoints=x,this.inversePoint=_,this._t=this.transform,this.isIdentity=p,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(t,e){function i(t){var e,i=t.length,n=this,r=0,s=n.i=n.j=0,o=n.S=[];for(i||(t=[i++]);r<l;)o[r]=r++;for(r=0;r<l;r++)o[r]=o[s=d&s+t[r%i]+(e=o[r])],o[s]=e;n.g=function(t){for(var e,i=0,r=n.i,s=n.j,o=n.S;t--;)e=o[r=d&r+1],i=i*l+o[d&(o[r]=o[s=d&s+e])+(o[s]=e)];return n.i=r,n.j=s,i}}function n(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function r(t,e){for(var i,n=t+"",r=0;r<n.length;)e[d&r]=d&(i^=19*e[d&r])+n.charCodeAt(r++);return s(e)}function s(t){return String.fromCharCode.apply(0,t)}var o,a=this,l=256,h=6,u="random",c=e.pow(l,h),p=e.pow(2,52),f=2*p,d=l-1;e["seed"+u]=function(d,m,g){var y=[],v=r(function t(e,i){var n,r=[],s=typeof e;if(i&&"object"==s)for(n in e)try{r.push(t(e[n],i-1))}catch(t){}return r.length?r:"string"==s?e:e+"\0"}((m=!0===m?{entropy:!0}:m||{}).entropy?[d,s(t)]:null===d?function(){try{if(o)return s(o.randomBytes(l));var e=new Uint8Array(l);return(a.crypto||a.msCrypto).getRandomValues(e),s(e)}catch(e){var i=a.navigator,n=i&&i.plugins;return[+new Date,a,n,a.screen,s(t)]}}():d,3),y),b=new i(y),_=function(){for(var t=b.g(h),e=c,i=0;t<p;)t=(t+i)*l,e*=l,i=b.g(1);for(;f<=t;)t/=2,e/=2,i>>>=1;return(t+i)/e};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_.double=_,r(s(b.S),t),(m.pass||g||function(t,i,r,s){return s&&(s.S&&n(s,b),t.state=function(){return n(b,{})}),r?(e[u]=t,i):t})(_,v,"global"in m?m.global:this==e,m.state)},r(e.random(),t)}([],BMMath);var BezierFactory=function(){function t(t,e){return 1-3*e+3*t}function e(t,e){return 3*e-6*t}function i(t){return 3*t}function n(n,r,s){return((t(r,s)*n+e(r,s))*n+i(r))*n}function r(n,r,s){return 3*t(r,s)*n*n+2*e(r,s)*n+i(r)}function s(t){this._p=t,this._mSampleValues=u?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}var o={getBezierEasing:function(t,e,i,n,r){var o=r||("bez_"+t+"_"+e+"_"+i+"_"+n).replace(/\./g,"p");if(a[o])return a[o];var l=new s([t,e,i,n]);return a[o]=l}},a={},l=11,h=1/(l-1),u="function"==typeof Float32Array;return s.prototype={get:function(t){var e=this._p[0],i=this._p[1],r=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===i&&r===s?t:0===t?0:1===t?1:n(this._getTForX(t),i,s)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&i===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<l;++i)this._mSampleValues[i]=n(i*h,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],s=this._mSampleValues,o=0,a=1,u=l-1;a!==u&&s[a]<=t;++a)o+=h;var c=o+(t-s[--a])/(s[a+1]-s[a])*h,p=r(c,e,i);
11return.001<=p?function(t,e,i,s){for(var o=0;o<4;++o){var a=r(e,i,s);if(0===a)return e;e-=(n(e,i,s)-t)/a}return e}(t,c,e,i):0===p?c:function(t,e,i,r,s){for(var o,a,l=0;0<(o=n(a=e+(i-e)/2,r,s)-t)?i=a:e=a,1e-7<Math.abs(o)&&++l<10;);return a}(t,o,o+h,e,i)}},o}();!function(){for(var t=0,e=["ms","moz","webkit","o"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var i=(new Date).getTime(),n=Math.max(0,16-(i-t)),r=setTimeout(function(){e(i+n)},n);return t=i+n,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction(),dataManager=dataFunctionManager(),FontManager=function(){function t(t,e){var i=createTag("span");i.style.fontFamily=e;var n=createTag("span");n.innerHTML="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(n),document.body.appendChild(i);var r=n.offsetWidth;return n.style.fontFamily=t+", "+e,{node:n,w:r,parent:i}}var e={w:0,size:0,shapes:[]},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return n.getCombinedCharacterCodes=function(){return i},n.prototype.addChars=function(t){if(t){this.chars||(this.chars=[]);var e,i,n,r=t.length,s=this.chars.length;for(e=0;e<r;e+=1){for(i=0,n=!1;i<s;)this.chars[i].style===t[e].style&&this.chars[i].fFamily===t[e].fFamily&&this.chars[i].ch===t[e].ch&&(n=!0),i+=1;n||(this.chars.push(t[e]),s+=1)}}},n.prototype.addFonts=function(e,i){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var n,r,s,o,a=e.list,l=a.length,h=l;for(n=0;n<l;n+=1){var u,c,p=!0;if(a[n].loaded=!1,a[n].monoCase=t(a[n].fFamily,"monospace"),a[n].sansCase=t(a[n].fFamily,"sans-serif"),a[n].fPath){if("p"===a[n].fOrigin||3===a[n].origin){if(0<(u=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[n].fFamily+'"], style[f-origin="3"][f-family="'+a[n].fFamily+'"]')).length&&(p=!1),p){var f=createTag("style");f.setAttribute("f-forigin",a[n].fOrigin),f.setAttribute("f-origin",a[n].origin),f.setAttribute("f-family",a[n].fFamily),f.type="text/css",f.innerHTML="@font-face {font-family: "+a[n].fFamily+"; font-style: normal; src: url('"+a[n].fPath+"');}",i.appendChild(f)}}else if("g"===a[n].fOrigin||1===a[n].origin){for(u=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<u.length;c++)-1!==u[c].href.indexOf(a[n].fPath)&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",a[n].fOrigin),d.setAttribute("f-origin",a[n].origin),d.type="text/css",d.rel="stylesheet",d.href=a[n].fPath,document.body.appendChild(d)}}else if("t"===a[n].fOrigin||2===a[n].origin){for(u=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<u.length;c++)a[n].fPath===u[c].src&&(p=!1);if(p){var m=createTag("link");m.setAttribute("f-forigin",a[n].fOrigin),m.setAttribute("f-origin",a[n].origin),m.setAttribute("rel","stylesheet"),m.setAttribute("href",a[n].fPath),i.appendChild(m)}}}else a[n].loaded=!0,h-=1;a[n].helper=(r=i,s=a[n],o=void 0,(o=createNS("text")).style.fontSize="100px",o.setAttribute("font-family",s.fFamily),o.setAttribute("font-style",s.fStyle),o.setAttribute("font-weight",s.fWeight),o.textContent="1",s.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",s.fClass)):o.style.fontFamily=s.fFamily,r.appendChild(o),createTag("canvas").getContext("2d").font=s.fWeight+" "+s.fStyle+" 100px "+s.fFamily,o),a[n].cache={},this.fonts.push(a[n])}0===h?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},n.prototype.getCharData=function(t,i,n){for(var r=0,s=this.chars.length;r<s;){if(this.chars[r].ch===t&&this.chars[r].style===i&&this.chars[r].fFamily===n)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn,e},n.prototype.getFontByName=function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}
11,n.prototype.measureText=function(t,e,i){var n=this.getFontByName(e),r=t.charCodeAt(0);if(!n.cache[r+1]){var s=n.helper;if(" "===t){s.textContent="|"+t+"|";var o=s.getComputedTextLength();s.textContent="||";var a=s.getComputedTextLength();n.cache[r+1]=(o-a)/100}else s.textContent=t,n.cache[r+1]=s.getComputedTextLength()/100}return n.cache[r+1]*i},n.prototype.checkLoadedFonts=function(){var t,e,i,n=this.fonts.length,r=n;for(t=0;t<n;t+=1)this.fonts[t].loaded?r-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,i=this.fonts[t].monoCase.w,e.offsetWidth!==i?(r-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,i=this.fonts[t].sansCase.w,e.offsetWidth!==i&&(r-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==r&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},n.prototype.loaded=function(){return this.isLoaded},n}(),PropertyFactory=function(){function t(t,i){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var s,o,a,l,h,u,c,p,f=i.lastIndex,d=f,m=this.keyframes.length-1,g=!0;g;){if(s=this.keyframes[d],o=this.keyframes[d+1],d===m-1&&t>=o.t-r){s.h&&(s=o),f=0;break}if(o.t-r>t){f=d;break}d<m-1?d+=1:(f=0,g=!1)}var y,v,b,_,x,w,E,T,S,C,A=o.t-r,P=s.t-r;if(s.to){s.bezierData||(s.bezierData=bez.buildBezierData(s.s,o.s||s.e,s.to,s.ti));var k=s.bezierData;if(A<=t||t<P){var D=A<=t?k.points.length-1:0;for(l=k.points[D].point.length,a=0;a<l;a+=1)n[a]=k.points[D].point[a]}else{s.__fnct?p=s.__fnct:(p=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,s.__fnct=p),h=p((t-P)/(A-P));var M,F=k.segmentLength*h,I=i.lastFrame<t&&i._lastKeyframeIndex===d?i._lastAddedLength:0;for(c=i.lastFrame<t&&i._lastKeyframeIndex===d?i._lastPoint:0,g=!0,u=k.points.length;g;){if(I+=k.points[c].partialLength,0===F||0===h||c===k.points.length-1){for(l=k.points[c].point.length,a=0;a<l;a+=1)n[a]=k.points[c].point[a];break}if(I<=F&&F<I+k.points[c+1].partialLength){for(M=(F-I)/k.points[c+1].partialLength,l=k.points[c].point.length,a=0;a<l;a+=1)n[a]=k.points[c].point[a]+(k.points[c+1].point[a]-k.points[c].point[a])*M;break}c<u-1?c+=1:g=!1}i._lastPoint=c,i._lastAddedLength=I-k.points[c].partialLength,i._lastKeyframeIndex=d}}else{var O,j,L,z,N;if(m=s.s.length,y=o.s||s.e,this.sh&&1!==s.h)A<=t?(n[0]=y[0],n[1]=y[1],n[2]=y[2]):t<=P?(n[0]=s.s[0],n[1]=s.s[1],n[2]=s.s[2]):(v=n,b=function(t,e,i){var n,r,s,o,a,l=[],h=t[0],u=t[1],c=t[2],p=t[3],f=e[0],d=e[1],m=e[2],g=e[3];return(r=h*f+u*d+c*m+p*g)<0&&(r=-r,f=-f,d=-d,m=-m,g=-g),a=1e-6<1-r?(n=Math.acos(r),s=Math.sin(n),o=Math.sin((1-i)*n)/s,Math.sin(i*n)/s):(o=1-i,i),l[0]=o*h+a*f,l[1]=o*u+a*d,l[2]=o*c+a*m,l[3]=o*p+a*g,l}(e(s.s),e(y),(t-P)/(A-P)),_=b[0],x=b[1],w=b[2],E=b[3],T=Math.atan2(2*x*E-2*_*w,1-2*x*x-2*w*w),S=Math.asin(2*_*x+2*w*E),C=Math.atan2(2*_*E-2*x*w,1-2*_*_-2*w*w),v[0]=T/degToRads,v[1]=S/degToRads,v[2]=C/degToRads);else for(d=0;d<m;d+=1)1!==s.h&&(h=A<=t?1:t<P?0:(s.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[d]?p=s.__fnct[d]:(O=void 0===s.o.x[d]?s.o.x[0]:s.o.x[d],j=void 0===s.o.y[d]?s.o.y[0]:s.o.y[d],L=void 0===s.i.x[d]?s.i.x[0]:s.i.x[d],z=void 0===s.i.y[d]?s.i.y[0]:s.i.y[d],p=BezierFactory.getBezierEasing(O,j,L,z).get,s.__fnct[d]=p)):s.__fnct?p=s.__fnct:(O=s.o.x,j=s.o.y,L=s.i.x,z=s.i.y,p=BezierFactory.getBezierEasing(O,j,L,z).get,s.__fnct=p),p((t-P)/(A-P)))),y=o.s||s.e,N=1===s.h?s.s[d]:s.s[d]+(y[d]-s.s[d])*h,"multidimensional"===this.propType?n[d]=N:n=N}return i.lastIndex=f,n}function e(t){var e=t[0]*degToRads,i=t[1]*degToRads,n=t[2]*degToRads,r=Math.cos(e/2),s=Math.cos(i/2),o=Math.cos(n/2),a=Math.sin(e/2),l=Math.sin(i/2),h=Math.sin(n/2);return[a*l*o+r*s*h,a*s*o+r*l*h,r*l*o-a*s*h,r*s*o-a*l*h]}function i(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==u&&(this._caching.lastFrame>=i&&i<=t||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(t,this._caching);this.pv=n}return this._caching.lastFrame=t,this.pv}function n(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<c(this.v-e)&&(this.v=e,this._mdf=!0);else for(var i=0,n=this.v.length;i<n;)e=t[i]*this.mult,1e-5<c(this.v[i]-e)&&(this.v[i]=e,this._mdf=!0),i+=1}function r(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,i,o){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=o,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=r,this.setVValue=n,this.addEffect=s}function a(t,e,i,o){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=o,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a,l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),createTypedArray("float32",l),this.vel=createTypedArray("float32",l),a=0;a<l;a+=1)this.v[a]=e.k[a]*this.mult,this.pv[a]=e.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=r,this.setVValue=n,this.addEffect=s}function l(e,o,a,l){this.propType="unidimensional",this.keyframes=o.k,this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:u,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=o,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=u,this.pv=u,this._isFirstFrame=!0,this.getValue=r,this.setVValue=n,this.interpolateValue=t,this.effectsSequence=[i.bind(this)],this.addEffect=s}function h(e,o,a,l){this.propType="multidimensional";var h,c,p,f,d,m=o.k.length;for(h=0;h<m-1;
vendor: 17,192 bytes, lines 11-12
11h+=1)o.k[h].to&&o.k[h].s&&o.k[h].e&&(c=o.k[h].s,p=o.k[h].e,f=o.k[h].to,d=o.k[h].ti,(2===c.length&&(c[0]!==p[0]||c[1]!==p[1])&&bez.pointOnLine2D(c[0],c[1],p[0],p[1],c[0]+f[0],c[1]+f[1])&&bez.pointOnLine2D(c[0],c[1],p[0],p[1],p[0]+d[0],p[1]+d[1])||3===c.length&&(c[0]!==p[0]||c[1]!==p[1]||c[2]!==p[2])&&bez.pointOnLine3D(c[0],c[1],c[2],p[0],p[1],p[2],c[0]+f[0],c[1]+f[1],c[2]+f[2])&&bez.pointOnLine3D(c[0],c[1],c[2],p[0],p[1],p[2],p[0]+d[0],p[1]+d[1],p[2]+d[2]))&&(o.k[h].to=null,o.k[h].ti=null),c[0]===p[0]&&c[1]===p[1]&&0===f[0]&&0===f[1]&&0===d[0]&&0===d[1]&&(2===c.length||c[2]===p[2]&&0===f[2]&&0===d[2])&&(o.k[h].to=null,o.k[h].ti=null));this.effectsSequence=[i.bind(this)],this.keyframes=o.k,this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=r,this.setVValue=n,this.interpolateValue=t,this.frameId=-1;var g=o.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),h=0;h<g;h+=1)this.v[h]=u,this.pv[h]=u;this._caching={lastFrame:u,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=s}var u=initialDefaultFrame,c=Math.abs;return{getProp:function(t,e,i,n,r){var s;if(e.k.length)if("number"==typeof e.k[0])s=new a(t,e,n,r);else switch(i){case 0:s=new l(t,e,n,r);break;case 1:s=new h(t,e,n,r)}else s=new o(t,e,n,r);return s.effectsSequence.length&&r.addDynamicProperty(s),s}}}(),TransformPropertyFactory=function(){function t(t,e,i){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var n,r=e.or.k.length;for(n=0;n<r;n+=1)e.or.k[n].to=e.or.k[n].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v), 12this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var e,i,n=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)i=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){e=[],i=[];var r=this.px,s=this.py;r._caching.lastFrame+r.offsetTime<=r.keyframes[0].t?(e[0]=r.getValueAtTime((r.keyframes[0].t+.01)/n,0),e[1]=s.getValueAtTime((s.keyframes[0].t+.01)/n,0),i[0]=r.getValueAtTime(r.keyframes[0].t/n,0),i[1]=s.getValueAtTime(s.keyframes[0].t/n,0)):r._caching.lastFrame+r.offsetTime>=r.keyframes[r.keyframes.length-1].t?(e[0]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/n,0),e[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/n,0),i[0]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/n,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/n,0)):(e=[r.pv,s.pv],i[0]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/n,r.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/n,s.offsetTime))}this.v.rotate(-Math.atan2(e[1]-i[1],e[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,i,n){return new t(e,i,n)}}}();ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=point_pool.newElement(),this.o[i]=point_pool.newElement(),this.i[i]=point_pool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,n,r){var s;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o}(!s[n]||s[n]&&!r)&&(s[n]=point_pool.newElement()),s[n][0]=t,s[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,n,r,s,o,a){this.setXYAt(t,e,"v",o,a),this.setXYAt(i,n,"o",o,a),this.setXYAt(r,s,"i",o,a)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,n=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],i[0][0],i[0][1],0,!1),r=1);var s,o=this._length-1,a=this._length;for(s=r;s<a;s+=1)t.setTripleAt(e[o][0],e[o][1],n[o][0],n[o][1],i[o][0],i[o][1],s,!1),o-=1;return t};var ShapePropertyFactory=function(){function t(t,e,i){var n,r,s,o,a,l,h,u,c,p=i.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)n=f[0].s[0],s=!0,p=0;else if(t>=f[f.length-1].t-this.offsetTime)n=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],s=!0;else{for(var d,m,g=p,y=f.length-1,v=!0;v&&(d=f[g],!((m=f[g+1]).t-this.offsetTime>t));)g<y-1?g+=1:v=!1;if(p=g,!(s=1===d.h)){if(t>=m.t-this.offsetTime)u=1;else if(t<d.t-this.offsetTime)u=0;else{var b;d.__fnct?b=d.__fnct:(b=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,d.__fnct=b),u=b((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}r=m.s?m.s[0]:d.e[0]}n=d.s[0]}for(l=e._length,h=n.i[0].length,i.lastIndex=p,o=0;o<l;o+=1)for(a=0;a<h;a+=1)c=s?n.i[o][a]:n.i[o][a]+(r.i[o][a]-n.i[o][a])*u,e.i[o][a]=c,c=s?n.o[o][a]:n.o[o][a]+(r.o[o][a]-n.o[o][a])*u,e.o[o][a]=c,c=s?n.v[o][a]:n.v[o][a]+(r.v[o][a]-n.v[o][a])*u,e.v[o][a]=c}function e(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var i,n=t._length;for(i=0;i<n;i+=1)if(t.v[i][0]!==e.v[i][0]||t.v[i][1]!==e.v[i][1]||t.o[i][0]!==e.o[i][0]||t.o[i][1]!==e.o[i][1]||t.i[i][0]!==e.i[i][0]||t.i[i][1]!==e.i[i][1])return!1;return!0})(this.v,t)||(this.v=shape_pool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function n(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var t,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,i=this.effectsSequence.length;for(t=0;t<i;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function r(t,i,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=i,this.k=!1,this.kf=!1,this._mdf=!1;var r=3===n?i.pt.k:i.ks.k;this.v=shape_pool.clone(r),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=e,this.effectsSequence=[]}function s(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,i,n){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===n?i.pt.k:i.ks.k,this.k=!0,this.kf=!0;var r=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length,this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,r),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=a,this.reset=e,this._caching={lastFrame:a,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==a&&(n<e&&t<e||i<n&&i<t)||(this._caching.lastIndex=n<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}var a=-999999;r.prototype.interpolateShape=t,r.prototype.getValue=n,r.prototype.setVValue=i,r.prototype.addEffect=s,o.prototype.getValue=n,o.prototype.interpolateShape=t,o.prototype.setVValue=i,o.prototype.addEffect=s;var l=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}var i=roundCorner;return t.prototype={reset:e,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,s=3!==this.d,o=this.v;o.v[0][0]=t,o.v[0][1]=e-r,o.v[1][0]=s?t+n:t-n,o.v[1][1]=e,o.v[2][0]=t,o.v[2][1]=e+r,o.v[3][0]=s?t-n:t+n,o.v[3][1]=e,o.i[0][0]=s?t-n*i:t+n*i,o.i[0][1]=e-r,o.i[1][0]=s?t+n:t-n,o.i[1][1]=e-r*i,o.i[2][0]=s?t+n*i:t-n*i,o.i[2][1]=e+r,o.i[3][0]=s?t-n:t+n,o.i[3][1]=e+r*i,o.o[0][0]=s?t+n*i:t-n*i,o.o[0][1]=e-r,o.o[1][0]=s?t+n:t-n,o.o[1][1]=e+r*i,o.o[2][0]=s?t-n*i:t+n*i,o.o[2][1]=e+r,o.o[3][0]=s?t-n:t+n,o.o[3][1]=e-r*i}},extendPrototype([DynamicPropertyContainer],t),t}(),h=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:e,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,i,n,r=2*Math.floor(this.pt.v),s=2*Math.PI/r,o=!0,a=this.or.v,l=this.ir.v,h=this.os.v,u=this.is.v,c=2*Math.PI*a/(2*r),p=2*Math.PI*l/(2*r),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(t=this.v._length=0;t<r;t+=1){i=o?h:u,n=o?c:p;var m=(e=o?a:l)*Math.cos(f),g=e*Math.sin(f),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*i*d,g-v*n*i*d,m+y*n*i*d,g+v*n*i*d,t,!0),o=!o,f+=s*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,n=this.or.v,r=this.os.v,s=2*Math.PI*n/(4*e),o=-Math.PI/2,a=3===this.data.d?-1:1;for(o+=this.r.v,t=this.v._length=0;t<e;t+=1){var l=n*Math.cos(o),h=n*Math.sin(o),u=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),c=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-u*s*r*a,h-c*s*r*a,l+u*s*r*a,h+c*s*r*a,t,!0),o+=i*a}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,r=bm_min(i,n,this.r.v),s=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-n+r,t+i,e-n+r,t+i,e-n+s,0,!0),this.v.setTripleAt(t+i,e+n-r,t+i,e+n-s,t+i,e+n-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+n,t+i-r,e+n,t+i-s,e+n,2,!0),this.v.setTripleAt(t-i+r,e+n,t-i+s,e+n,t-i+r,e+n,3,!0),this.v.setTripleAt(t-i,e+n-r,t-i,e+n-r,t-i,e+n-s,4,!0),this.v.setTripleAt(t-i,e-n+r,t-i,e-n+s,t-i,e-n+r,5,!0),this.v.setTripleAt(t-i+r,e-n,t-i+r,e-n,t-i+s,e-n,6,!0),this.v.setTripleAt(t+i-r,e-n,t+i-s,e-n,t+i-r,e-n,7,!0)):(this.v.setTripleAt(t-i,e+n,t-i+s,e+n,t-i,e+n,2),this.v.setTripleAt(t-i,e-n,t-i,e-n+s,t-i,e-n,3))):(this.v.setTripleAt(t+i,e-n+r,t+i,e-n+s,t+i,e-n+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-n,t+i-r,e-n,t+i-s,e-n,1,!0),this.v.setTripleAt(t-i+r,e-n,t-i+s,e-n,t-i+r,e-n,2,!0),this.v.setTripleAt(t-i,e-n+r,t-i,e-n+r,t-i,e-n+s,3,!0),this.v.setTripleAt(t-i,e+n-r,t-i,e+n-s,t-i,e+n-r,4,!0),this.v.setTripleAt(t-i+r,e+n,t-i+r,e+n,t-i+s,e+n,5,!0),this.v.setTripleAt(t+i-r,e+n,t+i-s,e+n,t+i-r,e+n,6,!0),this.v.setTripleAt(t+i,e+n-r,t+i,e+n-r,t+i,e+n-s,7,!0)):(this.v.setTripleAt(t-i,e-n,t-i+s,e-n,t-i,e-n,1,!0),this.v.setTripleAt(t-i,e+n,t-i,e+n-s,t-i,e+n,2,!0),this.v.setTripleAt(t+i,e+n,t+i-s,e+n,t+i,e+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:e},extendPrototype([DynamicPropertyContainer],t),t}
vendor: 4,269 bytes, line 12
12(),c={getShapeProp:function(t,e,i){var n;return 3===i||4===i?n=(3===i?e.pt:e.ks).k.length?new o(t,e,i):new r(t,e,i):5===i?n=new u(t,e):6===i?n=new l(t,e):7===i&&(n=new h(t,e)),n.k&&t.addDynamicProperty(n),n},getConstructorFunction:function(){return r},getKeyframedConstructorFunction:function(){return o}};return c}(),ShapeModifiers=(Yr={},Zr={},Yr.registerModifier=function(t,e){Zr[t]||(Zr[t]=e)},Yr.getModifier=function(t,e,i){return new Zr[t](e,i)},Yr),Yr,Zr;ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,n,r){var s=[];e<=1?s.push({s:t,e:e}):1<=t?s.push({s:t-1,e:e-1}):(s.push({s:t,e:1}),s.push({s:0,e:e-1}));var o,a,l=[],h=s.length;for(o=0;o<h;o+=1){var u,c;(a=s[o]).e*r<n||a.s*r>n+i||(u=a.s*r<=n?0:(a.s*r-n)/i,c=a.e*r>=n+i?1:(a.e*r-n)/i,l.push([u,c]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segments_length_pool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,n;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),e=(1<this.s.v?1:this.s.v<0?0:this.s.v)+r,(i=(1<this.e.v?1:this.e.v<0?0:this.e.v)+r)<e){var s=e;e=i,i=s}e=1e-4*Math.round(1e4*e),i=1e-4*Math.round(1e4*i),this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var o,a,l,h,u,c,p=this.shapes.length,f=0;if(i===e)for(o=0;o<p;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection;else if(1===i&&0===e||0===i&&1===e){if(this._mdf)for(o=0;o<p;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var d,m,g=[];for(o=0;o<p;o+=1)if((d=this.shapes[o]).shape._mdf||this._mdf||t||2===this.m){if(l=(n=d.shape.paths)._length,c=0,!d.shape._mdf&&d.pathsData.length)c=d.totalShapeLength;else{for(h=this.releasePathsData(d.pathsData),a=0;a<l;a+=1)u=bez.getSegmentsLength(n.shapes[a]),h.push(u),c+=u.totalLength;d.totalShapeLength=c,d.pathsData=h}f+=c,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var y,v=e,b=i,_=0;for(o=p-1;0<=o;o-=1)if((d=this.shapes[o]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&1<p?(y=this.calculateShapeEdges(e,i,d.totalShapeLength,_,f),_+=d.totalShapeLength):y=[[v,b]],l=y.length,a=0;a<l;a+=1){v=y[a][0],b=y[a][1],g.length=0,b<=1?g.push({s:d.totalShapeLength*v,e:d.totalShapeLength*b}):1<=v?g.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(g.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),g.push({s:0,e:d.totalShapeLength*(b-1)}));var x=this.addShapes(d,g[0]);if(g[0].s!==g[0].e){if(1<g.length)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var w=x.pop();this.addPaths(x,m),x=this.addShapes(d,g[1],w)}else this.addPaths(x,m),x=this.addShapes(d,g[1]);this.addPaths(x,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)e.addShape(t[i])}
vendor: 4,271 bytes, line 12
12,TrimModifier.prototype.addSegment=function(t,e,i,n,r,s,o){r.setXYAt(e[0],e[1],"o",s),r.setXYAt(i[0],i[1],"i",s+1),o&&r.setXYAt(t[0],t[1],"v",s),r.setXYAt(n[0],n[1],"v",s+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,n){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),n&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var n,r,s,o,a,l,h,u,c=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,m=[],g=!0;for(u=i?(a=i._length,i._length):(i=shape_pool.newElement(),a=0),m.push(i),n=0;n<f;n+=1){for(l=c[n].lengths,i.c=p[n].c,s=p[n].c?l.length:l.length+1,r=1;r<s;r+=1)if(d+(o=l[r-1]).addedLength<e.s)d+=o.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+o.addedLength?(this.addSegment(p[n].v[r-1],p[n].o[r-1],p[n].i[r],p[n].v[r],i,a,g),g=!1):(h=bez.getNewSegment(p[n].v[r-1],p[n].v[r],p[n].o[r-1],p[n].i[r],(e.s-d)/o.addedLength,(e.e-d)/o.addedLength,l[r-1]),this.addSegmentFromArray(h,i,a,g),g=!1,i.c=!1),d+=o.addedLength,a+=1}if(p[n].c&&l.length){if(o=l[r-1],d<=e.e){var y=l[r-1].addedLength;e.s<=d&&e.e>=d+y?(this.addSegment(p[n].v[r-1],p[n].o[r-1],p[n].i[0],p[n].v[0],i,a,g),g=!1):(h=bez.getNewSegment(p[n].v[r-1],p[n].v[0],p[n].o[r-1],p[n].i[0],(e.s-d)/y,(e.e-d)/y,l[r-1]),this.addSegmentFromArray(h,i,a,g),g=!1,i.c=!1)}else i.c=!1;d+=o.addedLength,a+=1}if(i._length&&(i.setXYAt(i.v[u][0],i.v[u][1],"i",u),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;n<f-1&&(i=shape_pool.newElement(),g=!0,m.push(i),a=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i=shape_pool.newElement();i.c=t.c;var n,r,s,o,a,l,h,u,c,p,f,d,m,g=t._length,y=0;for(n=0;n<g;n+=1)r=t.v[n],o=t.o[n],s=t.i[n],r[0]===o[0]&&r[1]===o[1]&&r[0]===s[0]&&r[1]===s[1]?0!==n&&n!==g-1||t.c?(a=0===n?t.v[g-1]:t.v[n-1],h=(l=Math.sqrt(Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)))?Math.min(l/2,e)/l:0,u=d=r[0]+(a[0]-r[0])*h,c=m=r[1]-(r[1]-a[1])*h,p=u-(u-r[0])*roundCorner,f=c-(c-r[1])*roundCorner,i.setTripleAt(u,c,p,f,d,m,y),y+=1,a=n===g-1?t.v[0]:t.v[n+1],h=(l=Math.sqrt(Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)))?Math.min(l/2,e)/l:0,u=p=r[0]+(a[0]-r[0])*h,c=f=r[1]+(a[1]-r[1])*h,d=u-(u-r[0])*roundCorner,m=c-(c-r[1])*roundCorner,i.setTripleAt(u,c,p,f,d,m,y)):i.setTripleAt(r[0],r[1],o[0],o[1],s[0],s[1],y):i.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],y),y+=1;return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,n,r,s,o,a=this.shapes.length,l=this.rd.v;if(0!==l)for(i=0;i<a;i+=1){if((s=this.shapes[i]).shape.paths,o=s.localShapeCollection,s.shape._mdf||this._mdf||t)for(o.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,r=s.shape.paths._length,n=0;n<r;n+=1)o.addShape(this.processPath(e[n],l));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,n,r,s){var o=s?-1:1,a=n.s.v[0]+(1-n.s.v[0])*(1-r),l=n.s.v[1]+(1-n.s.v[1])*(1-r);t.translate(n.p.v[0]*o*r,n.p.v[1]*o*r,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*o*r),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),i.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),i.scale(s?1/a:a,s?1/l:l),i.translate(n.a.v[0],n.a.v[1],n.a.v[2])}
vendor: 5,188 bytes, line 12
12,RepeaterModifier.prototype.init=function(t,e,i,n){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);0<i;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){t.length;var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)t[i]._render=e,"gr"===t[i].ty&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,n,r,s;if(this._mdf||t){var o,a=Math.ceil(this.c.v);if(this._groups.length<a){for(;this._groups.length<a;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes()}for(n=s=0;n<=this._groups.length-1;n+=1)o=s<a,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),s+=1;this._currentCopies=a;var h=this.o.v,u=h%1,c=0<h?Math.floor(h):Math.ceil(h),p=(this.tr.v.props,this.pMatrix.props),f=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,g,y=0;if(0<h){for(;y<c;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),y+=u)}else if(h<0){for(;c<y;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),y-=u)}for(n=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,s=this._currentCopies;s;){if(g=(i=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==y){for((0!==n&&1===r||n!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),m=0;m<g;m+=1)i[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<g;m+=1)i[m]=this.matrix.props[m];y+=1,s-=1,n+=r}}else for(s=this._currentCopies,n=0,r=1;s;)i=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,s-=1,n+=r},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shape_pool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;e+=1)"o"!=this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,n=this.o.length/2;i<n;){if(.01<Math.abs(t[4*i]-t[4*e+2*i]))return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i,n,r=4*this.data.p;for(e=0;e<r;e+=1)i=e%4==0?100:255,n=Math.round(this.prop.v[e]*i),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=4*this.data.p;e<r;e+=1)i=e%2==0?100:1,n=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==n&&(this.o[e-4*this.data.p]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);
12var buildShapeString=function(t,e,i,n){if(0===e)return"";var r,s=t.o,o=t.i,a=t.v,l=" M"+n.applyToPointStringified(a[0][0],a[0][1]);for(r=1;r<e;r+=1)l+=" C"+n.applyToPointStringified(s[r-1][0],s[r-1][1])+" "+n.applyToPointStringified(o[r][0],o[r][1])+" "+n.applyToPointStringified(a[r][0],a[r][1]);return i&&e&&(l+=" C"+n.applyToPointStringified(s[r-1][0],s[r-1][1])+" "+n.applyToPointStringified(o[0][0],o[0][1])+" "+n.applyToPointStringified(a[0][0],a[0][1]),l+="z"),l},ImagePreloader=function(){function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function e(t){var e=function(t,e,i){var n="";if(t.e)n=t.p;else if(e){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),n=e+r}else n=i,n+=t.u?t.u:"",n+=t.p;return n}(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded.bind(this),!1),i.addEventListener("error",function(){n.img=l,this._imageLoaded()}.bind(this),!1),i.src=e;var n={img:i,assetData:t};return n}function i(t,e){this.imagesLoadedCb=e;var i,n=t.length;for(i=0;i<n;i+=1)t[i].layers||(this.totalImages+=1,this.images.push(this._createImageData(t[i])))}function n(t){this.path=t||""}function r(t){this.assetsPath=t||""}function s(t){for(var e=0,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}}function o(){this.imagesLoadedCb=null,this.images.length=0}function a(){return this.totalImages===this.loadedAssets}var l=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();return function(){this.loadAssets=i,this.setAssetsPath=r,this.setPath=n,this.loaded=a,this.destroy=o,this.getImage=s,this._createImageData=e,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=(qw={maskType:!0},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(qw.maskType=!1),qw),qw,filtersFactory=(rw={},rw.createFilter=function(t){var e=createNS("filter");return e.setAttribute("id",t),e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%"),e},rw.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},rw),rw,assetLoader=function(){function t(t){return t.response&&"object"==typeof t.response?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):void 0}return{load:function(e,i,n){var r,s=new XMLHttpRequest;s.open("GET",e,!0);try{s.responseType="json"}catch(e){}s.send(),s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status)r=t(s),i(r);else try{r=t(s),i(r)}catch(t){n&&n(t)}}}}}();TextAnimatorProperty.prototype.searchProperties=function(){var t,e,i=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<i;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var i,n,r,s,o,a,l,h,u,c,p,f,d,m,g,y,v,b,_,x=this._moreOptions.alignment.v,w=this._animatorsData,E=this._textData,T=this.mHelper,S=this._renderType,C=this.renderedLetters.length,A=(this.data,t.l);if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var P,k=_.v;for(this._pathData.r&&(k=k.reverse()),o={tLength:0,segments:[]},s=k._length-1,r=y=0;r<s;r+=1)P=bez.buildBezierData(k.v[r],k.v[r+1],[k.o[r][0]-k.v[r][0],k.o[r][1]-k.v[r][1]],[k.i[r+1][0]-k.v[r+1][0],k.i[r+1][1]-k.v[r+1][1]]),o.tLength+=P.segmentLength,o.segments.push(P),y+=P.segmentLength;r=s,_.v.c&&(P=bez.buildBezierData(k.v[r],k.v[0],[k.o[r][0]-k.v[r][0],k.o[r][1]-k.v[r][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),o.tLength+=P.segmentLength,o.segments.push(P),y+=P.segmentLength),this._pathData.pi=o}if(o=this._pathData.pi,a=this._pathData.f.v,c=1,u=!(h=p=0),m=o.segments, 13a<0&&_.v.c)for(o.tLength<Math.abs(a)&&(a=-Math.abs(a)%o.tLength),c=(d=m[p=m.length-1].points).length-1;a<0;)a+=d[c].partialLength,(c-=1)<0&&(c=(d=m[p-=1].points).length-1);f=(d=m[p].points)[c-1],g=(l=d[c]).partialLength}s=A.length,n=i=0;var D,M,F,I,O=1.2*t.finalSize*.714,j=!0;F=w.length;var L,z,N,R,$,B,q,V,H,G,W,U,X,Q=-1,Y=a,K=p,Z=c,J=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var it=0,nt=0,rt=2===t.j?-.5:-1,st=0,ot=!0;for(r=0;r<s;r+=1)if(A[r].n){for(it&&(it+=nt);st<r;)A[st].animatorJustifyOffset=it,st+=1;ot=!(it=0)}else{for(M=0;M<F;
vendor: 4,753 bytes, line 13
13M+=1)(D=w[M].a).t.propType&&(ot&&2===t.j&&(nt+=D.t.v*rt),(L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars)).length?it+=D.t.v*L[0]*rt:it+=D.t.v*L*rt);ot=!1}for(it&&(it+=nt);st<r;)A[st].animatorJustifyOffset=it,st+=1}for(r=0;r<s;r+=1){if(T.reset(),$=1,A[r].n)i=0,n+=t.yOffset,n+=j?1:0,a=Y,j=!1,this._hasMaskedPath&&(c=Z,f=(d=m[p=K].points)[c-1],g=(l=d[c]).partialLength,h=0),X=G=U=tt="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==A[r].line){switch(t.j){case 1:a+=y-t.lineWidths[A[r].line];break;case 2:a+=(y-t.lineWidths[A[r].line])/2}J=A[r].line}Q!==A[r].ind&&(A[Q]&&(a+=A[Q].extra),a+=A[r].an/2,Q=A[r].ind),a+=x[0]*A[r].an/200;var at=0;for(M=0;M<F;M+=1)(D=w[M].a).p.propType&&((L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars)).length?at+=D.p.v[0]*L[0]:at+=D.p.v[0]*L),D.a.propType&&((L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars)).length?at+=D.a.v[0]*L[0]:at+=D.a.v[0]*L);for(u=!0;u;)a+at<=h+g||!d?(v=(a+at-h)/l.partialLength,N=f.point[0]+(l.point[0]-f.point[0])*v,R=f.point[1]+(l.point[1]-f.point[1])*v,T.translate(-x[0]*A[r].an/200,-x[1]*O/100),u=!1):d&&(h+=l.partialLength,(c+=1)>=d.length&&(c=0,d=m[p+=1]?m[p].points:_.v.c?m[p=c=0].points:(h-=l.partialLength,null)),d&&(f=l,g=(l=d[c]).partialLength));z=A[r].an/2-A[r].add,T.translate(-z,0,0)}else z=A[r].an/2-A[r].add,T.translate(-z,0,0),T.translate(-x[0]*A[r].an/200,-x[1]*O/100,0);for(A[r].l,M=0;M<F;M+=1)(D=w[M].a).t.propType&&(L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars),0===i&&0===t.j||(this._hasMaskedPath?L.length?a+=D.t.v*L[0]:a+=D.t.v*L:L.length?i+=D.t.v*L[0]:i+=D.t.v*L));for(A[r].l,t.strokeWidthAnim&&(q=t.sw||0),t.strokeColorAnim&&(B=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(V=[t.fc[0],t.fc[1],t.fc[2]]),M=0;M<F;M+=1)(D=w[M].a).a.propType&&((L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars)).length?T.translate(-D.a.v[0]*L[0],-D.a.v[1]*L[1],D.a.v[2]*L[2]):T.translate(-D.a.v[0]*L,-D.a.v[1]*L,D.a.v[2]*L));for(M=0;M<F;M+=1)(D=w[M].a).s.propType&&((L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars)).length?T.scale(1+(D.s.v[0]-1)*L[0],1+(D.s.v[1]-1)*L[1],1):T.scale(1+(D.s.v[0]-1)*L,1+(D.s.v[1]-1)*L,1));for(M=0;M<F;M+=1){if(D=w[M].a,L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars),D.sk.propType&&(L.length?T.skewFromAxis(-D.sk.v*L[0],D.sa.v*L[1]):T.skewFromAxis(-D.sk.v*L,D.sa.v*L)),D.r.propType&&(L.length?T.rotateZ(-D.r.v*L[2]):T.rotateZ(-D.r.v*L)),D.ry.propType&&(L.length?T.rotateY(D.ry.v*L[1]):T.rotateY(D.ry.v*L)),D.rx.propType&&(L.length?T.rotateX(D.rx.v*L[0]):T.rotateX(D.rx.v*L)),D.o.propType&&(L.length?$+=(D.o.v*L[0]-$)*L[0]:$+=(D.o.v*L-$)*L),t.strokeWidthAnim&&D.sw.propType&&(L.length?q+=D.sw.v*L[0]:q+=D.sw.v*L),t.strokeColorAnim&&D.sc.propType)for(H=0;H<3;H+=1)L.length?B[H]=B[H]+(D.sc.v[H]-B[H])*L[0]:B[H]=B[H]+(D.sc.v[H]-B[H])*L;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(H=0;H<3;H+=1)L.length?V[H]=V[H]+(D.fc.v[H]-V[H])*L[0]:V[H]=V[H]+(D.fc.v[H]-V[H])*L;D.fh.propType&&(V=L.length?addHueToRGB(V,D.fh.v*L[0]):addHueToRGB(V,D.fh.v*L)),D.fs.propType&&(V=L.length?addSaturationToRGB(V,D.fs.v*L[0]):addSaturationToRGB(V,D.fs.v*L)),D.fb.propType&&(V=L.length?addBrightnessToRGB(V,D.fb.v*L[0]):addBrightnessToRGB(V,D.fb.v*L))}}for(M=0;M<F;M+=1)(D=w[M].a).p.propType&&(L=w[M].s.getMult(A[r].anIndexes[M],E.a[M].s.totalChars),this._hasMaskedPath?L.length?T.translate(0,D.p.v[1]*L[0],-D.p.v[2]*L[1]):T.translate(0,D.p.v[1]*L,-D.p.v[2]*L):L.length?T.translate(D.p.v[0]*L[0],D.p.v[1]*L[1],-D.p.v[2]*L[2]):T.translate(D.p.v[0]*L,D.p.v[1]*L,-D.p.v[2]*L));if(t.strokeWidthAnim&&(G=q<0?0:q),t.strokeColorAnim&&(W="rgb("+Math.round(255*B[0])+","+Math.round(255*B[1])+","+Math.round(255*B[2])+")"),t.fillColorAnim&&t.fc&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),this._hasMaskedPath){if(T.translate(0,-t.ls),T.translate(0,x[1]*O/100+n,0),E.p.p){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(lt+=180),T.rotate(-lt*Math.PI/180)}T.translate(N,R,0),a-=x[0]*A[r].an/200,A[r+1]&&Q!==A[r+1].ind&&(a+=A[r].an/2,a+=t.tr/1e3*t.finalSize)}else{switch(T.translate(i,n,0),t.ps&&T.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:T.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line]),0,0);break;case 2:T.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line])/2,0,0)}T.translate(0,-t.ls),T.translate(z,0,0),T.translate(x[0]*A[r].an/200,x[1]*O/100,0),i+=A[r].l+t.tr/1e3*t.finalSize}"html"===S?tt=T.toCSS():"svg"===S?tt=T.to2dCSS():et=[T.props[0],T.props[1],T.props[2],T.props[3],T.props[4],T.props[5],T.props[6],T.props[7],T.props[8],T.props[9],T.props[10],T.props[11],T.props[12],T.props[13],T.props[14],T.props[15]],X=$}
13this.lettersChangedFlag=C<=r?(I=new LetterProps(X,G,W,U,tt,et),this.renderedLetters.push(I),C+=1,!0):(I=this.renderedLetters[r]).update(X,G,W,U,tt,et)||this.lettersChangedFlag}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,i,n,r,s){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var o=this._mdf.p=!1;return this.o!==t&&(this.o=t,o=this._mdf.o=!0),this.sw!==e&&(this.sw=e,o=this._mdf.sw=!0),this.sc!==i&&(this.sc=i,o=this._mdf.sc=!0),this.fc!==n&&(this.fc=n,o=this._mdf.fc=!0),this.m!==r&&(this.m=r,o=this._mdf.m=!0),!s.length||this.p[0]===s[0]&&this.p[1]===s[1]&&this.p[4]===s[4]&&this.p[5]===s[5]&&this.p[12]===s[12]&&this.p[13]===s[13]||(this.p=s,o=this._mdf.p=!0),o},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=1<this.data.d.k.length,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var n,r=this.effectsSequence.length,s=t||this.data.d.k[this.keysIndex].s;for(n=0;n<r;n+=1)s=i!==this.keysIndex?this.effectsSequence[n](s,s.t):this.effectsSequence[n](this.currentData,s.t);e!==s&&this.setCurrentData(s),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,n=t.length;i<=n-1&&(t[i].s,!(i===n-1||t[i+1].t>e));)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i=FontManager.getCombinedCharacterCodes(),n=[],r=0,s=t.length;r<s;)e=t.charCodeAt(r),-1!==i.indexOf(e)?n[n.length-1]+=t.charAt(r):55296<=e&&e<=56319&&56320<=(e=t.charCodeAt(r+1))&&e<=57343?(n.push(t.substr(r,2)),++r):n.push(t.charAt(r)),r+=1;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,n,r,s,o,a,l=this.elem.globalData.fontManager,h=this.data,u=[],c=0,p=h.m.g,f=0,d=0,m=0,g=[],y=0,v=0,b=l.getFontByName(t.f),_=0,x=b.fStyle?b.fStyle.split(" "):[],w="normal",E="normal";for(i=x.length,e=0;e<i;e+=1)switch(x[e].toLowerCase()){case"italic":E="italic";break;case"bold":w="700";break;case"black":w="900";break;case"medium":w="500";break;case"regular":case"normal":w="400";break;case"light":case"thin":w="200"}t.fWeight=b.fWeight||w,t.fStyle=E,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),i=t.finalText.length,t.finalLineHeight=t.lh;var T,S=t.tr/1e3*t.finalSize;if(t.sz)for(var C,A,P=!0,k=t.sz[0],D=t.sz[1];P;){y=C=0,i=(A=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var M=-1;for(e=0;e<i;e+=1)T=A[e].charCodeAt(0),n=!1," "===A[e]?M=e:13!==T&&3!==T||(n=!(y=0),C+=t.finalLineHeight||1.2*t.finalSize),k<y+(_=l.chars?(a=l.getCharData(A[e],b.fStyle,b.fFamily),n?0:a.w*t.finalSize/100):l.measureText(A[e],t.f,t.finalSize))&&" "!==A[e]?(-1===M?i+=1:e=M,C+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,M===e?1:0,"\r"),M=-1,y=0):(y+=_,y+=S);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&D<C?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=A,i=t.finalText.length,P=!1)}y=-S;var F,I=_=0;for(e=0;e<i;
13e+=1)if(n=!1,T=(F=t.finalText[e]).charCodeAt(0)," "===F?r="\xa0":13===T||3===T?(I=0,g.push(y),v=v<y?y:v,y=-2*S,n=!(r=""),m+=1):r=t.finalText[e],_=l.chars?(a=l.getCharData(F,b.fStyle,l.getFontByName(t.f).fFamily),n?0:a.w*t.finalSize/100):l.measureText(r,t.f,t.finalSize)," "===F?I+=_+S:(y+=_+S+I,I=0),u.push({l:_,an:_,add:f,n:n,anIndexes:[],val:r,line:m,animatorJustifyOffset:0}),2==p){if(f+=_,""===r||"\xa0"===r||e===i-1){for(""!==r&&"\xa0"!==r||(f-=_);d<=e;)u[d].an=f,u[d].ind=c,u[d].extra=_,d+=1;c+=1,f=0}}else if(3==p){if(f+=_,""===r||e===i-1){for(""===r&&(f-=_);d<=e;)u[d].an=f,u[d].ind=c,u[d].extra=_,d+=1;f=0,c+=1}}else u[c].ind=c,u[c].extra=0,c+=1;if(t.l=u,v=v<y?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var O,j,L=h.a;o=L.length;var z,N,R=[];for(s=0;s<o;s+=1){for((O=L[s]).a.sc&&(t.strokeColorAnim=!0),O.a.sw&&(t.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(t.fillColorAnim=!0),N=0,z=O.s.b,e=0;e<i;e+=1)(j=u[e]).anIndexes[s]=N,(1==z&&""!==j.val||2==z&&""!==j.val&&"\xa0"!==j.val||3==z&&(j.n||"\xa0"==j.val||e==i-1)||4==z&&(j.n||e==i-1))&&(1===O.s.rn&&R.push(N),N+=1);h.a[s].s.totalChars=N;var $,B=-1;if(1===O.s.rn)for(e=0;e<i;e+=1)B!=(j=u[e]).anIndexes[s]&&(B=j.anIndexes[s],$=R.splice(Math.floor(Math.random()*R.length),1)[0]),j.anIndexes[s]=$}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){function t(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}var e=Math.max,i=Math.min,n=Math.floor;return t.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=BezierFactory.getBezierEasing(this.ne.v/100,0,1-this.xe.v/100,1).get,s=0,o=this.finalS,a=this.finalE,l=this.data.sh;if(2==l)s=r(s=a===o?a<=t?1:0:e(0,i(.5/(a-o)+(t-o)/(a-o),1)));else if(3==l)s=r(s=a===o?a<=t?0:1:1-e(0,i(.5/(a-o)+(t-o)/(a-o),1)));else if(4==l)a===o?s=0:(s=e(0,i(.5/(a-o)+(t-o)/(a-o),1)))<.5?s*=2:s=1-2*(s-.5),s=r(s);else if(5==l){if(a===o)s=0;else{var h=a-o,u=-h/2+(t=i(e(0,t+.5-o),a-o)),c=h/2;s=Math.sqrt(1-u*u/(c*c))}s=r(s)}else s=6==l?r(s=a===o?0:(t=i(e(0,t+.5-o),a-o),(1+Math.cos(Math.PI+2*Math.PI*t/(a-o)))/2)):(t>=n(o)&&(s=t-o<0?1-(o-t):e(0,i(a-t,1))),r(s));return s*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/e,n=this.s.v/e+i,r=this.e.v/e+i;if(r<n){var s=n;n=r,r=s}this.finalS=n,this.finalE=r}},extendPrototype([DynamicPropertyContainer],t),{getTextSelectorProp:function(e,i,n){return new t(e,i,n)}}}(),pool_factory=function(t,e,i){function n(){return r?o[r-=1]:e()}var r=0,s=t,o=createSizedArray(s);return{newElement:n,release:function(t){r===s&&(o=pooling.double(o),s*=2),i&&i(t),o[r]=t,r+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},point_pool=pool_factory(8,function(){return createTypedArray("float32",2)}),shape_pool=(EA=pool_factory(4,function(){return new ShapePath},function(t){var e,i=t._length;for(e=0;e<i;e+=1)point_pool.release(t.v[e]),point_pool.release(t.i[e]),point_pool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}),EA.clone=function(t){var e,i=EA.newElement(),n=void 0===t._length?t.v.length:t._length;for(i.setLength(n),i.c=t.c,e=0;e<n;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},EA),EA,shapeCollection_pool=(NA={newShapeCollection:function(){return OA?QA[OA-=1]:new ShapeCollection},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shape_pool.release(t.shapes[e]);t._length=0,OA===PA&&(QA=pooling.double(QA),PA*=2),QA[OA]=t,OA+=1}},OA=0,PA=4,QA=createSizedArray(PA),NA),NA,OA,PA,QA,segments_length_pool=po
vendor: 6,615 bytes, line 13
13ol_factory(8,function(){return{lengths:[],totalLength:0}},function(t){var e,i=t.lengths.length;for(e=0;e<i;e+=1)bezier_length_pool.release(t.lengths[e]);t.lengths.length=0}),bezier_length_pool=pool_factory(8,function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}});BaseRenderer.prototype.checkLayers=function(t){var e,i,n=this.layers.length;for(this.completeLayers=!0,e=n-1;0<=e;e--)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i,n=t.length,r=this.layers.length;for(e=0;e<n;e+=1)for(i=0;i<r;){if(this.layers[i].id==t[e].id){this.layers[i]=t[e];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){for(var n=this.elements,r=this.layers,s=0,o=r.length;s<o;)r[s].ind==e&&(n[s]&&!0!==n[s]?(i.push(n[s]),n[s].setAsParent(),void 0!==r[s].parent?this.buildElementParenting(t,r[s].parent,i):t.setHierarchy(i)):(this.buildItem(s),this.addPendingElement(t))),s+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var n=this.createComp(t[e]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var r=createElementID();i.setAttribute("id",r),i.appendChild(n),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){e[t]=!0;var i=this.createItem(this.layers[t]);e[t]=i,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?i.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(i)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;0<=e;e--)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var n,r=0;r<e;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&
13(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var i=this.contextData.cTr.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var i,n=this.contextData.saved[this.contextData.cArrPos];for(i=0;i<16;i+=1)n[i]=e[i];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,i=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(e=0;e<16;e+=1)n[e]=i[e];this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),i=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=i,this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className)):this.canvasContext=this.renderConfig.context,this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,(this.globalData.renderer=this).globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,i,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var r=this.renderConfig.preserveAspectRatio.split(" "),s=r[1]||"meet",o=r[0]||"xMidYMid",a=o.substr(0,4),l=o.substr(4);i=t/e,n=this.transformCanvas.w/this.transformCanvas.h,this.transformCanvas.sy=i<n&&"meet"===s||n<i&&"slice"===s?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===a&&(n<i&&"meet"===s||i<n&&"slice"===s)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===a&&(n<i&&"meet"===s||i<n&&"slice"===s)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.t
vendor: 10,028 bytes, lines 13-14
13y="YMid"===l&&(i<n&&"meet"===s||n<i&&"slice"===s)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(i<n&&"meet"===s||n<i&&"slice"===s)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0;this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),t=(this.layers?this.layers.length:0)-1;0<=t;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i,n=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=0;i<n;i++)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=n-1;0<=i;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){var i=this.createItem(this.layers[t],this,this.globalData);(e[t]=i).initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRenderer.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var n=this.layers[e];if(n.ddd&&this.supports3d)this.addTo3dContainer(i,e);else if(this.threeDElements)this.addTo3dContainer(i,e);else{for(var r,s,o=0;o<e;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(s=this.elements[o],r=(this.layers[o].ddd?this.getThreeDContainerByPos(o):s.getBaseElement())||r),o+=1;r?n.ddd&&this.supports3d||this.layerElement.insertBefore(i,r):n.ddd&&this.supports3d||this.layerElement.appendChild(i)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var i=createTag("div");styleDiv(i);var n=createTag("div");styleDiv(n),"3d"===e&&(i.style.width=this.globalData.compSize.w+"px",i.style.height=this.globalData.compSize.h+"px",i.style.transformOrigin=i.style.mozTransformOrigin=i.style.webkitTransformOrigin="50% 50%",n.style.transform=n.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),i.appendChild(n);var r={container:n,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(r),r},HybridRenderer.prototype.build3dContainers=function(){var t,e,i=this.layers.length,n="";for(t=0;t<i;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?"3d"!==n&&(n="3d",e=this.createThreeDContainer(t,"3d")):"2d"!==n&&(n="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t);for(t=(i=this.threeDElements.length)-1;0<=t;t--)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var i=0,n=this.threeDElements.length;i<n;){if(e<=this.threeDElements[i].endPos){for(var r,s=this.threeDElements[i].startPos;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(r=this.elements[s].getBaseElement()),s+=1 14;r?this.threeDElements[i].container.insertBefore(t,r):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper;e.style.width=t.w+"px",e.style.height=t.h+"px",styleDiv(this.resizerElem=e),e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),e.style.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var r=createNS("defs");n.appendChild(r),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=r,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,i,n,r=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight;n=r/s<this.globalData.compSize.w/this.globalData.compSize.h?(t=r/this.globalData.compSize.w,e=r/this.globalData.compSize.w,i=0,(s-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(t=s/this.globalData.compSize.h,e=s/this.globalData.compSize.h,i=(r-this.globalData.compSize.w*(s/this.globalData.compSize.h))/2,0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+n+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,i=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t<n;t+=1)this.threeDElements[t].perspectiveElem.style.perspective=this.threeDElements[t].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(i,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length,n=createTag("div");for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e],n,this.globalData.comp,null);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,i=this.element.finalTransform.mat,n=this.masksProperties.length;for(e=0;e<n;e++)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&(this.viewData[e].invRect.setAttribute("x",-i.props[12]),this.viewData[e].invRect.setAttribute("y",-i.props[13])),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var r=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),r.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,(t+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "}
vendor: 7,400 bytes, line 14
14,MaskElement.prototype.drawPath=function(t,e,i){var n,r,s=" M"+e.v[0][0]+","+e.v[0][1];for(r=e._length,n=1;n<r;n+=1)s+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&1<r&&(s+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==s){var o="";i.elem&&(e.c&&(o=t.inv?this.solidPath+s:s),i.elem.setAttribute("d",o)),i.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,n=this.dynamicProperties.length;for(i=0;i<n;i+=1)(e||this._isParent&&"transform"===this.dynamicProperties[i].propType)&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<n;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<n;i+=1)t=this.hierarchy[i].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;var r,s,o=e.length;for(r=0;r<o;r+=1)s=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),n=createNS(1===e.t?"linearGradient":"radialGradient");n.setAttribute("id",i),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var r,s,o,a=[];for(o=4*e.g.p,s=0;s<o;s+=4)r=createNS("stop"),n.appendChild(r),a.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+i+")"),this.gf=n,this.cst=a},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,n,r,s=createNS("mask"),o=createNS("path");s.appendChild(o);var a=createElementID(),l=createElementID();s.setAttribute("id",l);var h=createNS(1===t.t?"linearGradient":"radialGradient");h.setAttribute("id",a),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var u=this.stops;for(n=4*t.g.p;n<r;n+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(i),u.push(i);o.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+a+")"),this.of=h,this.ms=s,this.ost=u,this.maskId=l,e.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){function t(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function e(t,e,i){var n,r,s,l,h,u,c,p,f,d,m,g=e.styles.length,y=e.lvl;for(u=0;
vendor: 4,256 bytes, line 14
14u<g;u+=1){if(l=e.sh._mdf||i,e.styles[u].lvl<y){for(p=a.reset(),d=y-e.styles[u].lvl,m=e.transformers.length-1;!l&&0<d;)l=e.transformers[m].mProps._mdf||l,d--,m--;if(l)for(d=y-e.styles[u].lvl,m=e.transformers.length-1;0<d;)f=e.transformers[m].mProps.v.props,p.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d--,m--}else p=o;if(r=(c=e.sh.paths)._length,l){for(s="",n=0;n<r;n+=1)(h=c.shapes[n])&&h._length&&(s+=buildShapeString(h,h._length,h.c,p));e.caches[u]=s}else s=e.caches[u];e.styles[u].d+=!0===t.hd?"":s,e.styles[u]._mdf=l||e.styles[u]._mdf}}function i(t,e,i){var n=e.style;(e.c._mdf||i)&&n.pElem.setAttribute("fill","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||i)&&n.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,i){r(t,e,i),s(t,e,i)}function r(t,e,i){var n,r,s,o,a,l=e.gf,h=e.g._hasOpacity,u=e.s.v,c=e.e.v;if(e.o._mdf||i){var p="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(p,e.o.v)}if(e.s._mdf||i){var f=1===t.t?"x1":"cx",d="x1"===f?"y1":"cy";l.setAttribute(f,u[0]),l.setAttribute(d,u[1]),h&&!e.g._collapsable&&(e.of.setAttribute(f,u[0]),e.of.setAttribute(d,u[1]))}if(e.g._cmdf||i){n=e.cst;var m=e.g.c;for(s=n.length,r=0;r<s;r+=1)(o=n[r]).setAttribute("offset",m[4*r]+"%"),o.setAttribute("stop-color","rgb("+m[4*r+1]+","+m[4*r+2]+","+m[4*r+3]+")")}if(h&&(e.g._omdf||i)){var g=e.g.o;for(s=(n=e.g._collapsable?e.cst:e.ost).length,r=0;r<s;r+=1)o=n[r],e.g._collapsable||o.setAttribute("offset",g[2*r]+"%"),o.setAttribute("stop-opacity",g[2*r+1])}if(1===t.t)(e.e._mdf||i)&&(l.setAttribute("x2",c[0]),l.setAttribute("y2",c[1]),h&&!e.g._collapsable&&(e.of.setAttribute("x2",c[0]),e.of.setAttribute("y2",c[1])));else if((e.s._mdf||e.e._mdf||i)&&(a=Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)),l.setAttribute("r",a),h&&!e.g._collapsable&&e.of.setAttribute("r",a)),e.e._mdf||e.h._mdf||e.a._mdf||i){a||(a=Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)));var y=Math.atan2(c[1]-u[1],c[0]-u[0]),v=a*(1<=e.h.v?.99:e.h.v<=-1?-.99:e.h.v),b=Math.cos(y+e.a.v)*v+u[0],_=Math.sin(y+e.a.v)*v+u[1];l.setAttribute("fx",b),l.setAttribute("fy",_),h&&!e.g._collapsable&&(e.of.setAttribute("fx",b),e.of.setAttribute("fy",_))}}function s(t,e,i){var n=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(n.pElem.setAttribute("stroke-dasharray",r.dashStr),n.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&n.pElem.setAttribute("stroke","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||i)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}var o=new Matrix,a=new Matrix;return{createRenderFunction:function(o){switch(o.ty,o.ty){case"fl":return i;case"gf":return r;case"gs":return n;case"st":return s;case"sh":case"el":case"rc":case"sr":return e;case"tr":return t}}}}();ShapeTransformManager.prototype={addTransformSequence:function(t){var e,i=t.length,n="_";for(e=0;e<i;e+=1)n+=t[e].transform.key+"_";var r=this.sequences[n];return r||(r={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){for(var i,n=0,r=t.transforms.length,s=e;n<r&&!e;){if(t.transforms[n].transform.mProps._mdf){s=!0;break}n+=1}if(s)for(t.finalTransform.reset(),n=r-1;0<=n;n-=1)i=t.transforms[n].transform.mProps.v.props,t.finalTransform.transform(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],i[9],i[10],i[11],i[12],i[13],i[14],i[15]);t._mdf=s},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);
vendor: 4,405 bytes, line 14
14var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,i,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var r=createNS("mask");r.setAttribute("id",this.layerId),r.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),r.appendChild(this.layerElement),n=r,this.globalData.defs.appendChild(r),featureSupport.maskType||1!=this.data.td||(r.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(this.layerElement),n=i,r.appendChild(i),i.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type","alpha");var o=createNS("g");s.appendChild(o),t=createElementID(),e=filtersFactory.createFilter(t);var a=createNS("feComponentTransfer");a.setAttribute("in","SourceGraphic"),e.appendChild(a);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),a.appendChild(l),this.globalData.defs.appendChild(e);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),o.setAttribute("filter","url("+locationHref+"#"+t+")"),o.appendChild(h),o.appendChild(this.layerElement),n=o,featureSupport.maskType||(s.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),o.appendChild(h),i.appendChild(this.layerElement),n=i,o.appendChild(i)),this.globalData.defs.appendChild(s)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var u=createNS("clipPath"),c=createNS("path");c.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var p=createElementID();if(u.setAttribute("id",p),u.appendChild(c),this.globalData.defs.appendChild(u),this.checkMasks()){var f=createNS("g");f.setAttribute("clip-path","url("+locationHref+"#"+p+")"),f.appendChild(this.layerElement),this.transformedElement=f,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+p+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("op
14acity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;0<=t;t-=1)this.shapeModifiers[t].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,n=e.length;i<n;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,n=i.length;n;)if(i[n-=1].elem===t)return void(i[n].pos=e);i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var i,n,r=e.length,s="";for(i=0;i<r;i+=1)n=e[i].ks.k,s+=buildShapeString(n,n.i.length,!0,t);return s},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,n,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(n,r,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=n-1;0<=i;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,n=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(n.push(r),r=""):r+=t[e],e+=1;return n.push(r),n},SVGTextElement.prototype.buildNewText=function(){var t,e,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var n=this.globalData.fontManager.getFontByName(i.f);
vendor: 4,686 bytes, line 14
14if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var r=i.fWeight,s=i.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",i.t);var o,a=i.l||[],l=!!this.globalData.fontManager.chars;e=a.length;var h,u=this.mHelper,c="",p=this.data.singleShape,f=0,d=0,m=!0,g=i.tr/1e3*i.finalSize;if(!p||l||i.sz){var y,v,b=this.textSpans.length;for(t=0;t<e;t+=1)l&&p&&0!==t||(o=t<b?this.textSpans[t]:createNS(l?"path":"text"),b<=t&&(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=o,this.layerElement.appendChild(o)),o.style.display="inherit"),u.reset(),u.scale(i.finalSize/100,i.finalSize/100),p&&(a[t].n&&(f=-g,d+=i.yOffset,d+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(i,u,a[t].line,f,d),f+=a[t].l||0,f+=g),l?(h=(y=(v=this.globalData.fontManager.getCharData(i.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily))&&v.data||{}).shapes?y.shapes[0].it:[],p?c+=this.createPathShape(u,h):o.setAttribute("d",this.createPathShape(u,h))):(p&&o.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),o.textContent=a[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));p&&o&&o.setAttribute("d",c)}else{var _=this.textContainer,x="start";switch(i.j){case 1:x="end";break;case 2:x="middle"}_.setAttribute("text-anchor",x),_.setAttribute("letter-spacing",g);var w=this.buildTextContents(i.finalText);for(e=w.length,d=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)(o=this.textSpans[t]||createNS("tspan")).textContent=w[t],o.setAttribute("x",0),o.setAttribute("y",d),o.style.display="inherit",_.appendChild(o),this.textSpans[t]=o,d+=i.finalLineHeight;this.layerElement.appendChild(_)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var i,n,r=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(e=s.length,t=0;t<e;t+=1)s[t].n||(i=r[t],n=this.textSpans[t],i._mdf.m&&n.setAttribute("transform",i.m),i._mdf.o&&n.setAttribute("opacity",i.o),i._mdf.sw&&n.setAttribute("stroke-width",i.sw),i._mdf.sc&&n.setAttribute("stroke",i.sc),i._mdf.fc&&n.setAttribute("fill",i.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,i,n,r=this.shapes.length,s=this.stylesList.length,o=[],a=!1;for(i=0;i<s;i+=1){for(n=this.stylesList[i],a=!1,t=o.length=0;t<r;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(n)&&(o.push(e),a=e._isAnimated||a);1<o.length&&a&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,n=new SVGStyleData(t,e),r=n.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,n):"fl"===t.ty?i=new SVGFillStyleData(this,t,n):"gf"!==t.ty&&"gs"!==t.ty||(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,n),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),r.setAttribute("mask","url("+locationHref+"#"+i.maskId+")"))),"st"!==t.ty&&"gs"!==t.ty||(r.setAttribute("stroke-linecap",this.lcEnum[t.lc]||"round"),r.setAttribute("stroke-linejoin",this.ljEnum[t.lj]||"round"),r.setAttribute("fill-opacity","0"),1===t.lj&&r.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=getBlendM
vendor: 6,144 bytes, lines 14-15
14ode(t.bm)),this.stylesList.push(n),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),n=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7);var r=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,n,this));return this.shapes.push(r),this.addShapeToModifiers(r),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,n=this.animatedContents.length;i<n;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})}, 15SVGShapeElement.prototype.setElementStyles=function(t){var e,i=t.styles,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||i.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,n,r,s,o){var a,l,h,u,c,p,f=[].concat(s),d=t.length-1,m=[],g=[];for(a=d;0<=a;a-=1){if((p=this.searchProcessedElement(t[a]))?e[a]=i[p-1]:t[a]._render=o,"fl"==t[a].ty||"st"==t[a].ty||"gf"==t[a].ty||"gs"==t[a].ty)p?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],r),t[a]._render&&n.appendChild(e[a].style.pElem),m.push(e[a].style);else if("gr"==t[a].ty){if(p)for(h=e[a].it.length,l=0;l<h;l+=1)e[a].prevViewData[l]=e[a].it[l];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,e[a].gr,r+1,f,o),t[a]._render&&n.appendChild(e[a].gr)}else"tr"==t[a].ty?(p||(e[a]=this.createTransformElement(t[a],n)),u=e[a].transform,f.push(u)):"sh"==t[a].ty||"rc"==t[a].ty||"el"==t[a].ty||"sr"==t[a].ty?(p||(e[a]=this.createShapeElement(t[a],f,r)),this.setElementStyles(e[a])):"tm"==t[a].ty||"rd"==t[a].ty||"ms"==t[a].ty?(p?(c=e[a]).closed=!1:((c=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=c,this.shapeModifiers.push(c)),g.push(c)):"rp"==t[a].ty&&(p?(c=e[a]).closed=!0:(c=ShapeModifiers.getModifier(t[a].ty),(e[a]=c).init(this,t,a,e),this.shapeModifiers.push(c),o=!1),g.push(c));this.addProcessedElement(t[a],a+1)}for(d=m.length,a=0;a<d;a+=1)m[a].closed=!0;for(d=g.length,a=0;a<d;a+=1)g[a].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,i=this.animatedContents.length;for(t=0;t<i;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=3==i?0:e,r=2==i?0:e;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+r);var s=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",s)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,n,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,i=0):n=1+(i=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<n;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var s=createNS("mask"),o=createElementID();s.setAttribute("id",o),s.setAttribute("mask-type","alpha"),s.appendChild(e),this.elem.globalData.defs.appendChild(s);var a=createNS("g");for(a.setAttribute("mask","url("+locationHref+"#"+o+")");r[0];)a.appendChild(r[0]);this.elem.layerElement.appendChild(a),this.masker=s,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,i,n,r=this.paths.length;for(e=0;e<r;
vendor: 4,503 bytes, line 15
15e+=1)if(-1!==this.paths[e].m&&(i=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&n.setAttribute("d",i.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var s;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,a=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=n.getTotalLength();s="0 0 0 "+l*o+" ";var h,u=l*(a-o),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,p=Math.floor(u/c);for(h=0;h<p;h+=1)s+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";s+="0 "+10*l+" 0 0"}else s="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;n.setAttribute("stroke-dasharray",s)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*f[0])+","+bm_floor(255*f[1])+","+bm_floor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,r=n[0]+" "+i[0]+" "+e[0],s=n[1]+" "+i[1]+" "+e[1],o=n[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",r),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",o)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,n,r){for(var s,o,a=0,l=Math.min(t,e),h=Math.max(t,e),u=Array.call(null,{length:256}),c=0,p=r-n,f=e-t;a<=256;)o=(s=a/256)<=l?f<0?r:n:h<=s?f<0?n:r:n+p*Math.pow((s-t)/f,1/i),u[c++]=o,a+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,
vendor: 4,527 bytes, line 15
15n=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=i*Math.cos(n),s=i*Math.sin(n);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var n,r=i.children,s=0,o=r.length;s<o&&r[s]!==t.layerElement;)s+=1;s<=o-2&&(n=r[s+1]);var a=createNS("use");a.setAttribute("href","#"+e),n?i.insertBefore(a,n):i.appendChild(a)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),n=createNS("mask");n.setAttribute("id",e.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var r=t.globalData.defs;r.appendChild(n);var s=createNS("symbol");s.setAttribute("id",i),this.replaceInParent(e,i),s.appendChild(e.layerElement),r.appendChild(s);var o=createNS("use");o.setAttribute("href","#"+i),n.appendChild(o),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,n=e.length;i<n;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var i=0;for(i=this._length;i<t;i+=1)this.saved[i]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,i,n=t.getContext("2d"),r=this.img.width,s=this.img.height,o=r/s,a=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a<o&&"xMidYMid slice"===l||o<a&&"xMidYMid slice"!==l?e=(i=s)*a:i=(e=r)/a,n.drawImage(this.img,(r-e)/2,(s-i)/2,e,i,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;
vendor: 4,255 bytes, line 15
15for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;0<=t;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;0<=t;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,n,r=this.element.finalTransform.mat,s=this.element.canvasContext,o=this.masksProperties.length;for(s.beginPath(),t=0;t<o;t++)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(s.moveTo(0,0),s.lineTo(this.element.globalData.compSize.w,0),s.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),s.lineTo(0,this.element.globalData.compSize.h),s.lineTo(0,0)),n=this.viewData[t].v,e=r.applyToPointArray(n.v[0][0],n.v[0][1],0),s.moveTo(e[0],e[1]);var a,l=n._length;for(a=1;a<l;a++)i=r.applyToTriplePoints(n.o[a-1],n.i[a],n.v[a]),s.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=r.applyToTriplePoints(n.o[a-1],n.i[0],n.v[0]),s.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),s.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"==t.ty||"st"==t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(i.co="rgb("+bm_floor(n.c.v[0])+","+bm_floor(n.c.v[1])+","+bm_floor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"==t.ty||"gs"==t.ty){if(i.lc=this.lcEnum[t.lc]||"round",i.lj=this.ljEnum[t.lj]||"round",1==t.lj&&(i.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(i.wi=n.w.v),t.d){var r=new DashProperty(this,t.d,"canvas",this);n.d=r,n.d.k||(i.da=n.d.dashArray,i.do=n.d.dashoffset[0])}}else i.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(i),n.style=i,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,i=t.length;for(e=0;e<i;
15e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,n,r){var s,o,a,l,h,u,c=t.length-1,p=[],f=[],d=[].concat(r);for(s=c;0<=s;s-=1){if((l=this.searchProcessedElement(t[s]))?e[s]=i[l-1]:t[s]._shouldRender=n,"fl"==t[s].ty||"st"==t[s].ty||"gf"==t[s].ty||"gs"==t[s].ty)l?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],d),p.push(e[s].style);else if("gr"==t[s].ty){if(l)for(a=e[s].it.length,o=0;o<a;o+=1)e[s].prevViewData[o]=e[s].it[o];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,n,d)}else"tr"==t[s].ty?(l||(u=this.createTransformElement(t[s]),e[s]=u),d.push(e[s]),this.addTransformToStyleList(e[s])):"sh"==t[s].ty||"rc"==t[s].ty||"el"==t[s].ty||"sr"==t[s].ty?l||(e[s]=this.createShapeElement(t[s])):"tm"==t[s].ty||"rd"==t[s].ty?(l?(h=e[s]).closed=!1:((h=ShapeModifiers.getModifier(t[s].ty)).init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),f.push(h)):"rp"==t[s].ty&&(l?(h=e[s]).closed=!0:(h=ShapeModifiers.getModifier(t[s].ty),(e[s]=h).init(this,t,s,e),this.shapeModifiers.push(h),n=!1),f.push(h));this.addProcessedElement(t[s],s+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),c=f.length,s=0;s<c;s+=1)f[s].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,i,n,r,s,o,a,l,h=this.stylesList.length,u=this.globalData.renderer,c=this.globalData.canvasContext;for(t=0;t<h;t+=1)if(("st"!==(a=(l=this.stylesList[t]).type)&&"gs"!==a||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),s=l.elements,"st"===a||"gs"===a?(c.strokeStyle="st"===a?l.co:l.grd,c.lineWidth=l.wi,c.lineCap=l.lc,c.lineJoin=l.lj,c.miterLimit=l.ml||0):c.fillStyle="fl"===a?l.co:l.grd,u.ctxOpacity(l.coOp),"st"!==a&&"gs"!==a&&c.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),i=s.length,e=0;e<i;e+=1){for("st"!==a&&"gs"!==a||(c.beginPath(),l.da&&(c.setLineDash(l.da),c.lineDashOffset=l.do)),r=(o=s[e].trNodes).length,n=0;n<r;n+=1)"m"==o[n].t?c.moveTo(o[n].p[0],o[n].p[1]):"c"==o[n].t?c.bezierCurveTo(o[n].pts[0],o[n].pts[1],o[n].pts[2],o[n].pts[3],o[n].pts[4],o[n].pts[5]):c.closePath();"st"!==a&&"gs"!==a||(c.stroke(),l.da&&c.setLineDash(this.dashResetter))}"st"!==a&&"gs"!==a&&c.fill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,n){var r,s;for(s=t,r=e.length-1;0<=r;r-=1)"tr"==e[r].ty?(s=i[r].transform,this.renderShapeTransform(t,s)):"sh"==e[r].ty||"el"==e[r].ty||"rc"==e[r].ty||"sr"==e[r].ty?this.renderPath(e[r],i[r]):"fl"==e[r].ty?this.renderFill(e[r],i[r],s):"st"==e[r].ty?this.renderStroke(e[r],i[r],s):"gf"==e[r].ty||"gs"==e[r].ty?this.renderGradientFill(e[r],i[r],s):"gr"==e[r].ty?this.renderShape(s,e[r].it,i[r].it):e[r].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i,n,r,s=t.trNodes,o=e.paths,a=o._length;s.length=0;var l=t.transforms.finalTransform;for(r=0;r<a;r+=1){var h=o.shapes[r];if(h&&h.v){for(n=h._length,i=1;i<n;i+=1)1===i&&s.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),s.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[i],h.v[i])});1===n&&s.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&n&&(s.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[0],h.v[0])}),s.push({t:"z"}))}}t.trNodes=s}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var i,n=e.styledShapes.length;for(i=0;i<n;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,i){var n=e.style;(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*i.opacity)}
vendor: 19,972 bytes, lines 15-16
15,CVShapeElement.prototype.renderGradientFill=function(t,e,i){var n=e.style;if(!n.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var r=this.globalData.canvasContext,s=e.s.v,o=e.e.v;if(1===t.t)p=r.createLinearGradient(s[0],s[1],o[0],o[1]);else var a=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)),l=Math.atan2(o[1]-s[1],o[0]-s[0]),h=a*(1<=e.h.v?.99:e.h.v<=-1?-.99:e.h.v),u=Math.cos(l+e.a.v)*h+s[0],c=Math.sin(l+e.a.v)*h+s[1],p=r.createRadialGradient(u,c,0,s[0],s[1],a);var f,d=t.g.p,m=e.g.c,g=1;for(f=0;f<d;f+=1)e.g._hasOpacity&&e.g._collapsable&&(g=e.g.o[2*f+1]),p.addColorStop(m[4*f]/100,"rgba("+m[4*f+1]+","+m[4*f+2]+","+m[4*f+3]+","+g+")");n.grd=p}n.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var n=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(n.da=r.dashArray,n.do=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(n.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var n,r,s=this.globalData.fontManager.getFontByName(t.f),o=t.l,a=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,r=t.finalText.length;var l,h,u,c,p,f,d,m,g,y,v=this.data.singleShape,b=t.tr/1e3*t.finalSize,_=0,x=0,w=!0,E=0;for(n=0;n<r;n+=1){for(h=(l=this.globalData.fontManager.getCharData(t.finalText[n],s.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&l.data||{},a.reset(),v&&o[n].n&&(_=-b,x+=t.yOffset,x+=w?1:0,w=!1),d=(p=h.shapes?h.shapes[0].it:[]).length,a.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,a,o[n].line,_,x),g=createSizedArray(d),f=0;f<d;f+=1){for(c=p[f].ks.k.i.length,m=p[f].ks.k,y=[],u=1;u<c;u+=1)1==u&&y.push(a.applyToX(m.v[0][0],m.v[0][1],0),a.applyToY(m.v[0][0],m.v[0][1],0)),y.push(a.applyToX(m.o[u-1][0],m.o[u-1][1],0),a.applyToY(m.o[u-1][0],m.o[u-1][1],0),a.applyToX(m.i[u][0],m.i[u][1],0),a.applyToY(m.i[u][0],m.i[u][1],0),a.applyToX(m.v[u][0],m.v[u][1],0),a.applyToY(m.v[u][0],m.v[u][1],0));y.push(a.applyToX(m.o[u-1][0],m.o[u-1][1],0),a.applyToY(m.o[u-1][0],m.o[u-1][1],0),a.applyToX(m.i[0][0],m.i[0][1],0),a.applyToY(m.i[0][0],m.i[0][1],0),a.applyToX(m.v[0][0],m.v[0][1],0),a.applyToY(m.v[0][0],m.v[0][1],0)),g[f]=y}v&&(_+=o[n].l,_+=b),this.textSpans[E]?this.textSpans[E].elem=g:this.textSpans[E]={elem:g},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,i,n,r,s,o=this.canvasContext;this.finalTransform.mat.props,o.font=this.values.fValue,o.lineCap="butt",o.lineJoin="miter",o.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;e=h.length;var u,c,p=null,f=null,d=null;for(t=0;t<e;t+=1)if(!h[t].n){if((a=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(a.p),this.globalData.renderer.ctxOpacity(a.o)),this.fill){for(a&&a.fc?p!==a.fc&&(p=a.fc,o.fillStyle=a.fc):p!==this.values.fill&&(p=this.values.fill,o.fillStyle=this.values.fill),n=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(s=(c=u[i]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),r=2;r<s;r+=6)this.globalData.canvasContext.bezierCurveTo(c[r],c[r+1],c[r+2],c[r+3],c[r+4],c[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(a&&a.sw?d!==a.sw&&(d=a.sw,o.lineWidth=a.sw):d!==this.values.sWidth&&(d=this.values.sWidth,o.lineWidth=this.values.sWidth),a&&a.sc?f!==a.sc&&(f=a.sc,o.strokeStyle=a.sc):f!==this.values.stroke&&(f=this.values.stroke,o.strokeStyle=this.values.stroke),n=(u=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(s=(c=u[i]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),r=2;r<s;r+=6)this.globalData.canvasContext.bezierCurveTo(c[r],c[r+1],c[r+2],c[r+3],c[r+4],c[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}a&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var i,n=0;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)e=t[i].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i,n,r,s,o,a=t.sh.v,l=t.transformers,h=a._length;if(!(h<=1)){for(i=0;i<h-1;i+=1)n=this.getTransformedPoint(l,a.v[i]),r=this.getTransformedPoint(l,a.o[i]),s=this.getTransformedPoint(l,a.i[i+1]),o=this.getTransformedPoint(l,a.v[i+1]),this.checkBounds(n,r,s,o,e);a.c&&(n=this.getTransformedPoint(l,a.v[i]),r=this.getTransformedPoint(l,a.o[i]),s=this.getTransformedPoint(l,a.i[0]),o=this.getTransformedPoint(l,a.v[0]),this.checkBounds(n,r,s,o,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,n,r){this.getBoundsOfCurve(t,e,i,n);var s=this.shapeBoundingBox;r.x=bm_min(s.left,r.x),r.xMax=bm_max(s.right,r.xMax),r.y=bm_min(s.top,r.y),r.yMax=bm_max(s.bottom,r.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0}, 16HShapeElement.prototype.getBoundsOfCurve=function(t,e,i,n){for(var r,s,o,a,l,h,u,c=[[t[0],n[0]],[t[1],n[1]]],p=0;p<2;++p)if(s=6*t[p]-12*e[p]+6*i[p],r=-3*t[p]+9*e[p]-9*i[p]+3*n[p],o=3*e[p]-3*t[p],s|=0,o|=0,0!=(r|=0))(l=s*s-4*o*r)<0||(0<(h=(-s+bm_sqrt(l))/(2*r))&&h<1&&c[p].push(this.calculateF(h,t,e,i,n,p)),0<(u=(-s-bm_sqrt(l))/(2*r))&&u<1&&c[p].push(this.calculateF(u,t,e,i,n,p)));else{if(0===s)continue;0<(a=-o/s)&&a<1&&c[p].push(this.calculateF(a,t,e,i,n,p))}this.shapeBoundingBox.left=bm_min.apply(null,c[0]),this.shapeBoundingBox.top=bm_min.apply(null,c[1]),this.shapeBoundingBox.right=bm_max.apply(null,c[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,c[1])},HShapeElement.prototype.calculateF=function(t,e,i,n,r,s){return bm_pow(1-t,3)*e[s]+3*bm_pow(1-t,2)*t*i[s]+3*(1-t)*bm_pow(t,2)*n[s]+bm_pow(t,3)*r[s]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)t[i]&&t[i].sh?this.calculateShapeBoundingBox(t[i],e):t[i]&&t[i].it&&this.calculateBoundingBox(t[i].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var i=!1;this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),i=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),i=!0),(i||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y)&&(this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style;e.color=e.fill=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)",t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,n,r=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{e.fontFamily=r.fFamily;var s=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=s}var a,l,h,u=t.l;n=u.length;var c,p=this.mHelper,f="",d=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[d]?a=this.textPaths[d]:((a=createNS("path")).setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?h=(l=this.textSpans[d]).children[0]:((l=createTag("div")).style.lineHeight=0,(h=createNS("svg")).appendChild(a),styleDiv(l)))):this.isMasked?a=this.textPaths[d]?this.textPaths[d]:createNS("text"):this.textSpans[d]?(l=this.textSpans[d],a=this.textPaths[d]):(styleDiv(l=createTag("span")),styleDiv(a=createTag("span")),l.appendChild(a)),this.globalData.fontManager.chars){var m,g=this.globalData.fontManager.getCharData(t.finalText[i],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(m=g?g.data:null,p.reset(),m&&m.shapes&&(c=m.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,c),a.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(a);else{if(this.innerElem.appendChild(l),m&&m.shapes){document.body.appendChild(h);var y=h.getBBox();h.setAttribute("width",y.width+2),h.setAttribute("height",y.height+2),h.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2)),h.style.transform=h.style.webkitTransform="translate("+(y.x-1)+"px,"+(y.y-1)+"px)",u[i].yOffset=y.y-1}else h.setAttribute("width",1),h.setAttribute("height",1);l.appendChild(h)}}else a.textContent=u[i].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(a):(this.innerElem.appendChild(l),a.style.transform=a.style.webkitTransform="translate3d(0,"+-t.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[d]=a:this.textSpans[d]=l,this.textSpans[d].style.display="block",this.textPaths[d]=a,d+=1}for(;d<this.textSpans.length;)this.textSpans[d].style.display="none",d+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform._matMdf&&(this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var t,e,i,n,r,s=0,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n?s+=1:(n=this.textSpans[t],r=this.textPaths[t],i=o[s],s+=1,i._mdf.m&&(this.isMasked?n.setAttribute("transform",i.m):n.style.transform=n.style.webkitTransform=i.m),n.style.opacity=i.o,i.sw&&i._mdf.sw&&r.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&r.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(r.setAttribute("fill",i.fc),r.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height)),this.currentBBox.w===l.width+2&&this.currentBBox.h===l.height+2&&this.currentBBox.x===l.x-1&&this.currentBBox.y===l.y-1||(this.currentBBox.w=l.width+2,this.currentBBox.h=l.height+2,this.currentBBox.x=l.x-1,this.currentBBox.y=l.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)"3d"===(e=this.comp.threeDElements[t]).type&&(e.perspectiveElem.style.perspective=e.perspectiveElem.style.webkitPerspective=this.pe.v+"px",e.container.style.transformOrigin=e.container.style.mozTransformOrigin=e.container.style.webkitTransformOrigin="0px 0px 0px",e.perspectiveElem.style.transform=e.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,i=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)i=this.hierarchy[t].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;0<=t;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var r;r=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var s=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),o=[r[0]/s,r[1]/s,r[2]/s],a=Math.sqrt(o[2]*o[2]+o[0]*o[
160]),l=Math.atan2(o[1],a),h=Math.atan2(o[0],-o[2]);this.mat.rotateY(h).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var c;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)"3d"===(c=this.comp.threeDElements[t]).type&&(u&&(c.container.style.transform=c.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(c.perspectiveElem.style.perspective=c.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){function t(t){for(var e=0,i=t.target;e<c;)h[e].animation===i&&(h.splice(e,1),e-=1,c-=1,i.isPaused||n()),e+=1}function e(t,e){if(!t)return null;for(var i=0;i<c;){if(h[i].elem==t&&null!==h[i].elem)return h[i].animation;i+=1}var n=new AnimationItem;return r(n,t),n.setData(t,e),n}function i(){p+=1,a()}function n(){p-=1}function r(e,r){e.addEventListener("destroy",t),e.addEventListener("_active",i),e.addEventListener("_idle",n),h.push({elem:r,animation:e}),c+=1}function s(t){var e,i=t-u;for(e=0;e<c;e+=1)h[e].animation.advanceTime(i);u=t,p&&!d?window.requestAnimationFrame(s):f=!0}function o(t){u=t,window.requestAnimationFrame(s)}function a(){!d&&p&&f&&(window.requestAnimationFrame(o),f=!1)}var l={},h=[],u=0,c=0,p=0,f=!0,d=!1;return l.registerAnimation=e,l.loadAnimation=function(t){var e=new AnimationItem;return r(e,null),e.setParams(t),e},l.setSpeed=function(t,e){var i;for(i=0;i<c;i+=1)h[i].animation.setSpeed(t,e)},l.setDirection=function(t,e){var i;for(i=0;i<c;i+=1)h[i].animation.setDirection(t,e)},l.play=function(t){var e;for(e=0;e<c;e+=1)h[e].animation.play(t)},l.pause=function(t){var e;for(e=0;e<c;e+=1)h[e].animation.pause(t)},l.stop=function(t){var e;for(e=0;e<c;e+=1)h[e].animation.stop(t)},l.togglePause=function(t){var e;for(e=0;e<c;e+=1)h[e].animation.togglePause(t)},l.searchAnimations=function(t,i,n){var r,s=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=s.length;for(r=0;r<o;r+=1)n&&s[r].setAttribute("data-bm-type",n),e(s[r],t);if(i&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerHTML="";var l=createTag("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",n),a.appendChild(l),e(l,t)}},l.resize=function(){var t;for(t=0;t<c;t+=1)h[t].animation.resize()},l.goToAndStop=function(t,e,i){var n;for(n=0;n<c;n+=1)h[n].animation.goToAndStop(t,e,i)},l.destroy=function(t){var e;for(e=c-1;0<=e;e-=1)h[e].animation.destroy(t)},l.freeze=function(){d=!0},l.unfreeze=function(){d=!1,a()},l.getRegisteredAnimations=function(){var t,e=h.length,i=[];for(t=0;t<e;t+=1)i.push(h[t].animation);return i},l}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){t.context&&(this.context=t.context),(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e=t.animType?t.animType:t.renderer?t.renderer:"svg";switch(e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||(!1===t.loop?this.loop=!1:!0===t.loop?this.loop=!0:this.loop=parseInt(t.loop)),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!t.hasOwnProperty("autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,t.animationData?this.configAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(t.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this)))},AnimationItem.prototype.setData=function(t,e){var i={wrapper:t,animationData:e?"object"==typeof e?e:JSON.parse(e):null},n=t.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var r=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";""===r||(i.loop="false"!==r&&("true"===r||parseInt(r)));
vendor: 4,266 bytes, line 16
16var s=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;i.autoplay="false"!==s,i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(i.prerender=!1),this.setParams(i)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,i,n=this.animationData.layers,r=n.length,s=t.layers,o=s.length;for(i=0;i<o;i+=1)for(e=0;e<r;){if(n[e].id==s[i].id){n[e]=s[i];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,e=0;e<r;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.firstFrame=Math.round(this.animationData.ip),this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.subframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}
16catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,i){i&&this.name!=i||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,i){this.goToAndStop(t,e,i),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=t[0]-t[1],this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var i,n=t.length;for(i=0;i<n;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!=t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;
16){if(t==this.assets[e].id)return this.assets[e];e+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=(BW={},BW.initExpressions=function(t){function e(){var t,e=n.length;for(t=0;t<e;t+=1)n[t].release();n.length=0}var i=0,n=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){i+=1},t.renderer.globalData.popExpression=function(){0==(i-=1)&&e()},t.renderer.globalData.registerExpressionProperty=function(t){-1===n.indexOf(t)&&n.push(t)}},BW),BW;expressionsPlugin=Expressions;var ExpressionManager=function(){function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var i,n=t.length,r=[];for(i=0;i<n;i+=1)r[i]=-t[i];return r}return t.propType?t.v:void 0}function sum(t,e){var i=typeof t,n=typeof e;if("string"===i||"string"===n)return t+e;if(isNumerable(i,t)&&isNumerable(n,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]=t[0]+e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,s=t.length,o=e.length,a=[];r<s||r<o;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?a[r]=t[r]+e[r]:a[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return a}return 0}function sub(t,e){var i=typeof t,n=typeof e;if(isNumerable(i,t)&&isNumerable(n,e))return"string"===i&&(t=parseInt(t)),"string"===n&&(e=parseInt(e)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return(t=t.slice(0))[0]=t[0]-e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var r=0,s=t.length,o=e.length,a=[];r<s||r<o;)("number"==typeof t[r]||t[r]instanceof Number)&&("number"==typeof e[r]||e[r]instanceof Number)?a[r]=t[r]-e[r]:a[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return a}return 0}function mul(t,e){var i,n,r,s=typeof t,o=typeof e;if(isNumerable(s,t)&&isNumerable(o,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(o,e)){for(r=t.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t[n]*e;return i}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t*e[n];return i}return 0}function div(t,e){var i,n,r,s=typeof t,o=typeof e;if(isNumerable(s,t)&&isNumerable(o,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(o,e)){for(r=t.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t[n]/e;return i}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t/e[n];return i}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t)),"string"==typeof e&&(e=parseInt(e)),t%e}
vendor: 16,111 bytes, lines 16-17
16function clamp(t,e,i){if(i<e){var n=i;i=e,e=n}return Math.min(Math.max(t,e),i)}function radiansToDegrees(t){return t/degToRads}function degreesToRadians(t){return t*degToRads}function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var i,n=Math.min(t.length,e.length),r=0;for(i=0;i<n;i+=1)r+=Math.pow(e[i]-t[i],2);return Math.sqrt(r)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i,n=t[0],r=t[1],s=t[2],o=Math.max(n,r,s),a=Math.min(n,r,s),l=(o+a)/2;if(o==a)e=i=0;else{var h=o-a;switch(i=.5<l?h/(2-o-a):h/(o+a),o){case n:e=(r-s)/h+(r<s?6:0);break;case r:e=(s-n)/h+2;break;case s:e=(n-r)/h+4}e/=6}return[e,i,l,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),1<i&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,n,r=t[0],s=t[1],o=t[2];if(0===s)e=i=n=o;else{var a=o<.5?o*(1+s):o+s-o*s,l=2*o-a;e=hue2rgb(l,a,r+1/3),i=hue2rgb(l,a,r),n=hue2rgb(l,a,r-1/3)}return[e,i,n,t[3]]}function linear(t,e,i,n,r){if(void 0!==n&&void 0!==r||(n=e,r=i,e=0,i=1),i<e){var s=i;i=e,e=s}if(t<=e)return n;if(i<=t)return r;var o=i===e?0:(t-e)/(i-e);if(!n.length)return n+(r-n)*o;var a,l=n.length,h=createTypedArray("float32",l);for(a=0;a<l;a+=1)h[a]=n[a]+(r[a]-n[a])*o;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var i,n=e.length;t||(t=createTypedArray("float32",n));var r=createTypedArray("float32",n),s=BMMath.random();for(i=0;i<n;i+=1)r[i]=t[i]+s*(e[i]-t[i]);return r}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,i,n){var r,s=t.length,o=shape_pool.newElement();o.setPathData(!!n,s);var a,l,h=[0,0];for(r=0;r<s;r+=1)a=e&&e[r]?e[r]:h,l=i&&i[r]?i[r]:h,o.setTripleAt(t[r][0],t[r][1],l[0]+t[r][0],l[1]+t[r][1],a[0]+t[r][0],a[1]+t[r][1],r,!0);return o}function initiateExpression(elem,data,property){function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],n=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads;return[-Math.atan2(i[1],i[2])/degToRads,n,0]}function easeOut(t,e,i,n,r){return applyEase(easeOutBez,t,e,i,n,r)}function easeIn(t,e,i,n,r){return applyEase(easeInBez,t,e,i,n,r)}function ease(t,e,i,n,r){return applyEase(easeInOutBez,t,e,i,n,r)}function applyEase(t,e,i,n,r,s){void 0===r?(r=i,s=n):e=(e-i)/(n-i);var o=t(e=1<e?1:e<0?0:e);if($bm_isInstanceOfArray(r)){var a,l=r.length,h=createTypedArray("float32",l);for(a=0;a<l;a+=1)h[a]=(s[a]-r[a])*o+r[a];return h}return(s-r)*o+r}function nearestKey(t){var e,i,n,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,n=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,n=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){n=t-data.k[e].t>data.k[e+1].t-t?(i=e+2,data.k[e+1].t):(i=e+1,data.k[e].t);break}}-1===i&&(i=e+1,n=data.k[e].t)}else n=i=0;var s={};return s.index=i,s.time=n/elem.comp.globalData.frameRate,s}function key(t){var e,i,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var r=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(n=r.length,i=0;i<n;i+=1)e[i]=r[i],e.value[i]=r[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){ 17return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function executeExpression(t){return value=t,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),($bm_transform=transform)&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var i,n,r=this.pv.length?this.pv.length:1,s=createTypedArray("float32",r),o=Math.floor(5*time);for(n=i=0;i<o;){for(n=0;n<r;n+=1)s[n]+=-e+2*e*BMMath.random();i+=1}var a=5*time,l=a-Math.floor(a),h=createTypedArray("float32",r);if(1<r){for(n=0;n<r;n+=1)h[n]=this.pv[n]+s[n]+(-e+2*e*BMMath.random())*l;return h}return this.pv+s[0]+(-e+2*e*BMMath.random())*l}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;return executeExpression}var ob={},Math=BMMath,window=null,document=null,easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get,add=sum,$bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod,radians_to_degrees=radiansToDegrees,degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),n=0;if(e.length){var r;for(r=0;r<e.length;r+=1)n+=Math.pow(i[r]-e[r],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,i,n=this.getValueAtTime(t),r=this.getValueAtTime(t+-.001);if(n.length)for(e=createTypedArray("float32",n.length),i=0;i<n.length;i+=1)e[i]=(r[i]-n[i])/-.001;else e=(r-n)/-.001;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function t(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var n,r,s,o,a,l=this.comp.renderedFrame,h=this.keyframes,u=h[h.length-1].t;if(l<=u)return this.pv;if(i?r=u-(n=e?Math.abs(u-elem.comp.globalData.frameRate*e):Math.max(0,u-this.elem.data.ip)):((!e||e>h.length-1)&&(e=h.length-1),n=u-(r=h[h.length-1-e].t)),"pingpong"===t){if(Math.floor((l-r)/n)%2!=0)return this.getValueAtTime((n-(l-r)%n+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-r)%n+r)/this.comp.globalData.frameRate,0),d=Math.floor((l-r)/n);if(this.pv.length){for(o=(a=new Array(c.length)).length,s=0;s<o;s+=1)a[s]=(p[s]-c[s])*d+f[s];return a}return(p-c)*d+f}if("continue"===t){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(a=new Array(m.length)).length,s=0;s<o;s+=1)a[s]=m[s]+(m[s]-g[s])*((l-u)/this.comp.globalData.frameRate)/5e-4;return a}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-r)%n+r)/this.comp.globalData.frameRate,0)}function e(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var n,r,s,o,a,l=this.comp.renderedFrame,h=this.keyframes,u=h[0].t;if(u<=l)return this.pv;if(i?r=u+(n=e?Math.abs(elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-u)):((!e||e>h.length-1)&&(e=h.length-1),n=(r=h[e].t)-u),"pingpong"===t){if(Math.floor((u-l)/n)%2==0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(r/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),d=Math.floor((u-l)/n)+1;if(this.pv.length){for(o=(a=new Array(c.length)).length,s=0;s<o;s+=1)a[s]=f[s]-(p[s]-c[s])*d;return a}return f-(p-c)*d}if("continue"===t){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(a=new Array(m.length)).length,s=0;s<o;s+=1)a[s]=m[s]+(m[s]-g[s])*(u-l)/.001;return a}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0)}function i(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var i,n,r=this.comp.renderedFrame/this.comp.globalData.frameRate,s=r-t,o=1<e?(r+t-s)/(e-1):1,a=0,l=0;for(i=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(n=this.getValueAtTime(s+a*o),this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]+=n[l];else i+=n;a+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]/=e;else i/=e;return i}function n(){}var r=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,i){var n=r(t,e,i);return n.dynamicProperties.length,n.getValueAtTime=function(){}.bind(n),n.setGroupProperty=expressionHelpers.setGroupProperty,n};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,r,o,a,l){var h=s(n,r,o,a,l);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=t,h.loopIn=e,h.smooth=i,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===r.a?r.k.length:0,h.propertyIndex=r.ix;var u=0;return 0!==o&&(u=createTypedArray("float32",1===r.a?r.k[0].s.length:r.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,r,h),h.k&&l.addDynamicProperty(h),h};var o=ShapePropertyFactory.getConstructorFunction(),a=ShapePropertyFactory.getKeyframedConstructorFunction();n.prototype={vertices:function(t,e){this.k&&this.getValue();var i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var n,r=i._length,s=i[t],o=i.v,a=createSizedArray(r);for(n=0;n<r;n+=1)a[n]="i"===t||"o"===t?[s[n][0]-o[n][0],s[n][1]-o[n][1]]:[s[n][0],s[n][1]];return a},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var n,r=this._segmentsLength,s=r.lengths,o=r.totalLength*t,a=0,l=s.length,h=0;a<l;){if(h+s[a].addedLength>o){var u=a,c=i.c&&a===l-1?0:a+1,p=(o-h)/s[a].addedLength;n=bez.getPointInSegment(i.v[u],i.v[c],i.o[u],i.i[c],p,s[a]);break}h+=s[a].addedLength,a+=1}return n||(n=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),n},vectorOnPath:function(t,e,i){t=1==t?this.v.c?0:.999:t;var n=this.pointOnPath(t,e),r=this.pointOnPath(t+.001,e),s=r[0]-n[0],o=r[1]-n[1],a=Math.sqrt(Math.pow(s,2)+Math.pow(o,2));return 0===a?[0,0]:"tangent"===i?[s/a,o/a]:[-o/a,s/a]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([n],o),extendPrototype([n],a),a.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},a.prototype.initiateExpression=ExpressionManager.initiateExpression;var l=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,n,r){var s=l(t,e,i,n,r);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}(),TextProperty.prototype.getExpressionValue=function(t,e){var i=this.calculateExpression(e);if(t.t===i)return t;var n={};return this.copyData(n,t),n.t=i.toString(),n.__complete=!1,n},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0};var ShapeExpressionInterface=function(){function t(t,c,p){var f,d=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"==t[f].ty?d.push(e(t[f],c[f],p)):"fl"==t[f].ty?d.push(i(t[f],c[f],p)):"st"==t[f].ty?d.push(n(t[f],c[f],p)):"tm"==t[f].ty?d.push(r(t[f],c[f],p)):"tr"==t[f].ty||("el"==t[f].ty?d.push(s(t[f],c[f],p)):"sr"==t[f].ty?d.push(o(t[f],c[f],p)):"sh"==t[f].ty?d.push(u(t[f],c[f],p)):"rc"==t[f].ty?d.push(a(t[f],c[f],p)):"rd"==t[f].ty?d.push(l(t[f],c[f],p)):"rp"==t[f].ty&&d.push(h(t[f],c[f],p))
17);return d}function e(e,i,n){var r=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return r.content;default:return r.transform}};r.propertyGroup=function(t){return 1===t?r:n(t-1)};var s,o,a,l,h,u=(s=e,o=i,a=r.propertyGroup,(h=function(t){for(var e=0,i=l.length;e<i;){if(l[e]._name===t||l[e].mn===t||l[e].propertyIndex===t||l[e].ix===t||l[e].ind===t)return l[e];e+=1}if("number"==typeof t)return l[t-1]}).propertyGroup=function(t){return 1===t?h:a(t-1)},l=t(s.it,o.it,h.propertyGroup),h.numProperties=l.length,h.propertyIndex=s.cix,h._name=s.nm,h),c=function(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return t.a.ix===e||"Anchor Point"===e?r.anchorPoint:t.o.ix===e||"Opacity"===e?r.opacity:t.p.ix===e||"Position"===e?r.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?r.rotation:t.s.ix===e||"Scale"===e?r.scale:t.sk&&t.sk.ix===e||"Skew"===e?r.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?r.skewAxis:void 0}return e.transform.mProps.o.setGroupProperty(n),e.transform.mProps.p.setGroupProperty(n),e.transform.mProps.a.setGroupProperty(n),e.transform.mProps.s.setGroupProperty(n),e.transform.mProps.r.setGroupProperty(n),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(n),e.transform.mProps.sa.setGroupProperty(n)),e.transform.op.setGroupProperty(n),Object.defineProperties(r,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),r.ty="tr",r.mn=t.mn,r.propertyGroup=i,r}(e.it[e.it.length-1],i.it[i.it.length-1],r.propertyGroup);return r.content=u,r.transform=c,Object.defineProperty(r,"_name",{get:function(){return e.nm}}),r.numProperties=e.np,r.propertyIndex=e.ix,r.nm=e.nm,r.mn=e.mn,r}function i(t,e,i){function n(t){return"Color"===t||"color"===t?n.color:"Opacity"===t||"opacity"===t?n.opacity:void 0}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(i),e.o.setGroupProperty(i),n}function n(t,e,i){function n(t){return 1===t?ob:i(t-1)}function r(t){return 1===t?h:n(t-1)}function s(t){return"Color"===t||"color"===t?s.color:"Opacity"===t||"opacity"===t?s.opacity:"Stroke Width"===t||"stroke width"===t?s.strokeWidth:void 0}var o,a,l=t.d?t.d.length:0,h={};for(o=0;o<l;o+=1)a=o,Object.defineProperty(h,t.d[a].nm,{get:ExpressionPropertyInterface(e.d.dataProps[a].p)}),e.d.dataProps[o].p.setGroupProperty(r);return Object.defineProperties(s,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return h}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(n),e.o.setGroupProperty(n),e.w.setGroupProperty(n),s}function r(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return e===t.e.ix||"End"===e||"end"===e?r.end:e===t.s.ix?r.start:e===t.o.ix?r.offset:void 0}return r.propertyIndex=t.ix,e.s.setGroupProperty(n),e.e.setGroupProperty(n),e.o.setGroupProperty(n),r.propertyIndex=t.ix,r.propertyGroup=i,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),r.mn=t.mn,r}function s(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return t.p.ix===e?r.position:t.s.ix===e?r.size:void 0}r.propertyIndex=t.ix;var s="tm"===e.sh.ty?e.sh.prop:e.sh;return s.s.setGroupProperty(n),s.p.setGroupProperty(n),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(s.s)},position:{get:ExpressionPropertyInterface(s.p)},_name:{value:t.nm}}),r.mn=t.mn,r}function o(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.rotation:t.pt.ix===e?r.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?r.outerRadius:t.os.ix===e?r.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?r.innerRoundness:void 0:r.innerRadius}var s="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,s.or.setGroupProperty(n),s.os.setGroupProperty(n),s.pt.setGroupProperty(n),s.p.setGroupProperty(n),s.r.setGroupProperty(n),t.ir&&(s.ir.setGroupProperty(n),s.is.setGroupProperty(n)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(s.p)},rotation:{get:ExpressionPropertyInterface(s.r)},points:{get:ExpressionPropertyInterface(s.pt)},outerRadius:{get:ExpressionPropertyInterface(s.or)},outerRoundness:{get:ExpressionPropertyInterface(s.os)},innerRadius:{get:ExpressionPropertyInterface(s.ir)},innerRoundness:{get:ExpressionPropertyInterface(s.is)},_name:{value:t.nm}}),r.mn=t.mn,r}function a(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?r.size:void 0}var s="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,s.p.setGroupProperty(n),s.s.setGroupProperty(n),s.r.setGroupProperty(n),Ob
17ject.defineProperties(r,{position:{get:ExpressionPropertyInterface(s.p)},roundness:{get:ExpressionPropertyInterface(s.r)},size:{get:ExpressionPropertyInterface(s.s)},_name:{value:t.nm}}),r.mn=t.mn,r}function l(t,e,i){function n(e){if(t.r.ix===e||"Round Corners 1"===e)return n.radius}var r=e;return n.propertyIndex=t.ix,r.rd.setGroupProperty(function(t){return 1==t?n:i(--t)}),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(r.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function h(t,e,i){function n(t){return 1==t?r:i(--t)}function r(e){return t.c.ix===e||"Copies"===e?r.copies:t.o.ix===e||"Offset"===e?r.offset:void 0}var s=e;return r.propertyIndex=t.ix,s.c.setGroupProperty(n),s.o.setGroupProperty(n),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(s.c)},offset:{get:ExpressionPropertyInterface(s.o)},_name:{value:t.nm}}),r.mn=t.mn,r}function u(t,e,i){function n(t){if("Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t)return n.path}var r=e.sh;return r.setGroupProperty(function(t){return 1==t?n:i(--t)}),Object.defineProperties(n,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn}}),n}return function(e,i,n){function r(t){if("number"==typeof t)return s[t-1];for(var e=0,i=s.length;e<i;){if(s[e]._name===t)return s[e];e+=1}}var s;return r.propertyGroup=n,s=t(e,i,r),r.numProperties=s.length,r}}(),TextExpressionInterface=function(t){function e(){}var i;return Object.defineProperty(e,"sourceText",{get:function(){t.textProperty.getValue();var e=t.textProperty.currentData.t;return void 0!==e&&(t.textProperty.currentData.t=void 0,(i=new String(e)).value=e||new String(e)),i}}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e);return e.applyToPointArray(t[0],t[1],t[2]||0)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function e(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function i(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function n(){return[1,1,1,1]}return function(r){function s(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return s.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return o;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return s.effect}}var o;s.toWorld=t,s.fromWorld=e,s.toComp=t,s.fromComp=i,s.sampleImage=n,s.sourceRectAtTime=r.sourceRectAtTime.bind(r);var a=getDescriptor(o=TransformExpressionInterface((s._elem=r).finalTransform.mProp),"anchorPoint");return Object.defineProperties(s,{hasParent:{get:function(){return r.hierarchy.length}},parent:{get:function(){return r.hierarchy[0].layerInterface}},rotation:getDescriptor(o,"rotation"),scale:getDescriptor(o,"scale"),position:getDescriptor(o,"position"),opacity:getDescriptor(o,"opacity"),anchorPoint:a,anchor_point:a,transform:{get:function(){return o}},active:{get:function(){return r.isInRange}}}),s.startTime=r.data.st,s.index=r.data.ind,s.source=r.data.refId,s.height=0===r.data.ty?r.data.h:100,s.width=0===r.data.ty?r.data.w:100,s.inPoint=r.data.ip/r.comp.globalData.frameRate,s.outPoint=r.data.op/r.comp.globalData.frameRate,s._name=r.data.nm,s.registerMaskInterface=function(t){s.mask=new MaskManagerInterface(t,r)},s.registerEffectsInterface=function(t){s.effect=t},s}}(),CompExpressionInterface=function(t){function e(e){for(var i=0,n=t.layers.length;i<n;){if(t.layers[i].nm===e||t.layers[i].ind===e)return t.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),(e.layer=e).pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity}}if(Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p)var i=ExpressionPropertyInterface(t.p);return Object.defineProperty(e,"position",{get:function(){return t.p?i():[t.px.v,t.py.v,t.pz?t.pz.v:0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,i=this.compositions.length;e<i;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){function t(i,n,r,s){function o(t){return 1===t?u:r(t-1)}var a,l=[],h=i.ef.length;for(a=0;a<h;a+=1)5===i.ef[a].ty?l.push(t(i.ef[a],n.effectElements[a],n.effectElements[a].propertyGroup,s)):l.push(e(n.effectElements[a],i.ef[a].ty,s,o));var u=function(t){for(var e=i.ef,n=0,r=e.length;n<r;){if(t===e[n].nm||t===e[n].mn||t===e[n].ix)return 5===e[n].ty?l[n]:l[n]();n+=1}return l[0]()};
17return u.propertyGroup=o,"ADBE Color Control"===i.mn&&Object.defineProperty(u,"color",{get:function(){return l[0]()}}),Object.defineProperty(u,"numProperties",{get:function(){return i.np}}),u.active=u.enabled=0!==i.en,u}function e(t,e,i,n){var r=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(n),function(){return 10===e?i.comp.compInterface(t.p.v):r()}}return{createEffectsInterface:function(e,i){if(e.effectsManager){var n,r=[],s=e.data.ef,o=e.effectsManager.effectElements.length;for(n=0;n<o;n+=1)r.push(t(s[n],e.effectsManager.effectElements[n],i,e));return function(t){for(var i=e.data.ef||[],n=0,s=i.length;n<s;){if(t===i[n].nm||t===i[n].mn||t===i[n].ix)return r[n];n+=1}}}}}}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var i,n=createSizedArray(e.viewData.length),r=e.viewData.length;for(i=0;i<r;i+=1)n[i]=new t(e.viewData[i],e.masksProperties[i]);return function(t){for(i=0;i<r;){if(e.masksProperties[i].nm===t)return n[i];i+=1}}}}(),ExpressionPropertyInterface=function(){function t(t,e,i){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(n){if(t.numKeys){var r="";r="s"in e.keyframes[n-1]?e.keyframes[n-1].s:"e"in e.keyframes[n-2]?e.keyframes[n-2].e:e.keyframes[n-2].s;var s="unidimensional"===i?new Number(r):Object.assign({},r);return s.time=e.keyframes[n-1].t/e.elem.comp.globalData.frameRate,s}return 0},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function e(){return i}var i={pv:0,v:0,mult:1},n={pv:[0,0,0],v:[0,0,0],mult:1};return function(r){return r?"unidimensional"===r.propType?function(e){e&&"pv"in e||(e=i);var n=1/e.mult,r=e.pv*n,s=new Number(r);return s.value=r,t(s,e,"unidimensional"),function(){return e.k&&e.getValue(),r=e.v*n,s.value!==r&&((s=new Number(r)).value=r,t(s,e,"unidimensional")),s}}(r):function(e){e&&"pv"in e||(e=n);var i=1/e.mult,r=e.pv.length,s=createTypedArray("float32",r),o=createTypedArray("float32",r);return s.value=o,t(s,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<r;t+=1)s[t]=o[t]=e.v[t]*i;return s}}(r):e}}(),j5,k5;j5=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,i){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=i.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,i,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),k5=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(t,e,i){return 1===e.t?new j5(t,e,i):k5(t,e,i)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,n,r=this.data.ef.length,s=this.data.ef;for(i=0;i<r;i+=1){switch(n=null,s[i].ty){case 0:n=new SliderEffect(s[i],e,this);break;case 1:n=new AngleEffect(s[i],e,this);break;case 2:n=new ColorEffect(s[i],e,this);break;case 3:n=new PointEffect(s[i],e,this);break;case 4:case 7:n=new CheckboxEffect(s[i],e,this);break;case 10:n=new LayerIndexEffect(s[i],e,this);break;case 11:n=new MaskIndexEffect(s[i],e,this);break;case 5:n=new EffectsManager(s[i],e,this);break;default:n=new NoValueEffect(s[i],e,this)}n&&this.effectElements.push(n)}};var lottiejs={},_isFrozen=!1;lottiejs.play=animationManager.play,lottiejs.pause=animationManager.pause,lottiejs.setLocationHref=setLocationHref,lottiejs.togglePause=animationManager.togglePause,lottiejs.setSpeed=animationManager.setSpeed,lottiejs.setDirection=animationManager.setDirection,lottiejs.stop=animationManager.stop,lottiejs.searchAnimations=searchAnimations,lottiejs.registerAnimation=animationManager.registerAnimation,lottiejs.loadAnimation=loadAnimation,lottiejs.setSubframeRendering=setSubframeRendering,lottiejs.resize=animationManager.resize,lottiejs.goToAndStop=animationManager.goToAndStop,lottiejs.destroy=animationManager.destroy,lottiejs.setQuality=setQuality,lottiejs.inBrowser=inBrowser,lottiejs.installPlugin=installPlugin,lottiejs.freeze=animationManager.freeze,lottiejs.unfreeze=animationManager.unfreeze,lottiejs.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottiejs.__getFactory=getFactory,lottiejs.version="5.5.9";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottiejs},"function"==typeof define&&define.amd?define(function(){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(a):(a.lottie=b(a),a.bodymovin=a.lottie 18/*! ScrollMagic v2.0.7 | (c) 2019 Jan Paepke (@janpaepke) | license & info: http://scrollmagic.io */)),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ScrollMagic=e()}(this,function(){"use strict";var t=function(){};t.version="2.0.7",window.addEventListener("mousewheel",function(){});var e="data-scrollmagic-pin-spacer";t.Controller=function(n){var s,o,a="REVERSE",l="PAUSED",h=i.defaults,u=this,c=r.extend({},h,n),p=[],f=!1,d=0,m=l,g=!0,y=0,v=!0,b=function(){0<c.refreshInterval&&(o=window.setTimeout(C,c.refreshInterval))},_=function(){return c.vertical?r.get.scrollTop(c.container):r.get.scrollLeft(c.container)},x=function(){return c.vertical?r.get.height(c.container):r.get.width(c.container)},w=this._setScrollPos=function(t){c.vertical?g?window.scrollTo(r.get.scrollLeft(),t):c.container.scrollTop=t:g?window.scrollTo(t,r.get.scrollTop()):c.container.scrollLeft=t},E=function(){if(v&&f){var t=r.type.Array(f)?f:p.slice(0);f=!1;var e=d,i=(d=u.scrollPos())-e;0!==i&&(m=0<i?"FORWARD":a),m===a&&t.reverse(),t.forEach(function(t){t.update(!0)})}},T=function(){s=r.rAF(E)},S=function(t){"resize"==t.type&&(y=x(),m=l),!0!==f&&(f=!0,T())},C=function(){if(!g&&y!=x()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}
18c.container.dispatchEvent(t)}p.forEach(function(t){t.refresh()}),b()};this._options=c;var A=function(t){if(t.length<=1)return t;var e=t.slice(0);return e.sort(function(t,e){return t.scrollOffset()>e.scrollOffset()?1:-1}),e};return this.addScene=function(e){if(r.type.Array(e))e.forEach(function(t){u.addScene(t)});else if(e instanceof t.Scene)if(e.controller()!==u)e.addTo(u);else if(p.indexOf(e)<0)for(var i in p.push(e),p=A(p),e.on("shift.controller_sort",function(){p=A(p)}),c.globalSceneOptions)e[i]&&e[i].call(e,c.globalSceneOptions[i]);return u},this.removeScene=function(t){if(r.type.Array(t))t.forEach(function(t){u.removeScene(t)});else{var e=p.indexOf(t);-1<e&&(t.off("shift.controller_sort"),p.splice(e,1),t.remove())}return u},this.updateScene=function(e,i){return r.type.Array(e)?e.forEach(function(t){u.updateScene(t,i)}):i?e.update(!0):!0!==f&&e instanceof t.Scene&&(-1==(f=f||[]).indexOf(e)&&f.push(e),f=A(f),T()),u},this.update=function(t){return S({type:"resize"}),t&&E(),u},this.scrollTo=function(i,n){if(r.type.Number(i))w.call(c.container,i,n);else if(i instanceof t.Scene)i.controller()===u&&u.scrollTo(i.scrollOffset(),n);else if(r.type.Function(i))w=i;else{var s=r.get.elements(i)[0];if(s){for(;s.parentNode.hasAttribute(e);)s=s.parentNode;var o=c.vertical?"top":"left",a=r.get.offset(c.container),l=r.get.offset(s);g||(a[o]-=u.scrollPos()),u.scrollTo(l[o]-a[o],n)}}return u},this.scrollPos=function(t){return arguments.length?(r.type.Function(t)&&(_=t),u):_.call(u)},this.info=function(t){var e={size:y,vertical:c.vertical,scrollPos:d,scrollDirection:m,container:c.container,isDocument:g};return arguments.length?void 0!==e[t]?e[t]:void 0:e},this.loglevel=function(){return u},this.enabled=function(t){return arguments.length?(v!=t&&(v=!!t,u.updateScene(p,!0)),u):v},this.destroy=function(t){window.clearTimeout(o);for(var e=p.length;e--;)p[e].destroy(t);return c.container.removeEventListener("resize",S),c.container.removeEventListener("scroll",S),r.cAF(s),null},function(){for(var t in c)h.hasOwnProperty(t)||delete c[t];if(c.container=r.get.elements(c.container)[0],!c.container)throw"ScrollMagic.Controller init failed.";(g=c.container===window||c.container===document.body||!document.body.contains(c.container))&&(c.container=window),y=x(),c.container.addEventListener("resize",S),c.container.addEventListener("scroll",S);var e=parseInt(c.refreshInterval,10);c.refreshInterval=r.type.Number(e)?e:h.refreshInterval,b()}(),u};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};t.Controller.addOption=function(t,e){i.defaults[t]=e},t.Controller.extend=function(e){var i=this;t.Controller=function(){return i.apply(this,arguments),this.$super=r.extend({},this),e.apply(this,arguments)||this},r.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(i){var s,o,a="BEFORE",l="DURING",h="AFTER",u=n.defaults,c=this,p=r.extend({},u,i),f=a,d=0,m={start:0,end:0},g=0,y=!0,v={};this.on=function(t,e){return r.type.Function(e)&&(t=t.trim().split(" ")).forEach(function(t){var i=t.split("."),n=i[0],r=i[1];"*"!=n&&(v[n]||(v[n]=[]),v[n].push({namespace:r||"",callback:e}))}),c},this.off=function(t,e){return t&&(t=t.trim().split(" ")).forEach(function(t){var i=t.split("."),n=i[0],r=i[1]||"";("*"===n?Object.keys(v):[n]).forEach(function(t){for(var i=v[t]||[],n=i.length;n--;){var s=i[n];!s||r!==s.namespace&&"*"!==r||e&&e!=s.callback||i.splice(n,1)}i.length||delete v[t]})}),c},this.trigger=function(e,i){if(e){var n=e.trim().split("."),r=n[0],s=n[1],o=v[r];o&&o.forEach(function(e){s&&s!==e.namespace||e.callback.call(c,new t.Event(r,e.namespace,c,i))})}return c},c.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?E():"reverse"===t.what&&c.update())}).on("shift.internal",function(){x(),c.update()}),this.addTo=function(e){return e instanceof t.Controller&&o!=e&&(o&&o.removeScene(c),o=e,C(),w(!0),E(!0),x(),o.info("container").addEventListener("resize",T),e.addScene(c),c.trigger("add",{controller:o}),c.update()),c},this.enabled=function(t){return arguments.length?(y!=t&&(y=!!t,c.update(!0)),c):y},this.remove=function(){if(o){o.info("container").removeEventListener("resize",T);var t=o;o=void 0,t.removeScene(c),c.trigger("remove")}return c},this.destroy=function(t){return c.trigger("destroy",{reset:t}),c.remove(),c.off("*.*"),null},this.update=function(t){if(o)if(t)if(o.enabled()&&y){var e,i=o.info("scrollPos");e=0<p.duration?(i-m.start)/(m.end-m.start):i>=m.start?1:0,c.trigger("update",{startPos:m.start,endPos:m.end,scrollPos:i}),c.progress(e)}else b&&f===l&&k(!0);else o.updateScene(c,!1);return c},this.refresh=function(){return w(),E(),c},this.progress=function(t){if(arguments.length){var e=!1,i=f,n=o?o.info("scrollDirection"):"PAUSED",r=p.reverse||d<=t;if(0===p.duration?(e=d!=t,f=0==(d=t<1&&r?0:1)?a:l):t<0&&f!==a&&r?(f=a,e=!(d=0)):0<=t&&t<1&&r?(d=t,f
18=l,e=!0):1<=t&&f!==h?(d=1,f=h,e=!0):f!==l||r||k(),e){var s={progress:d,state:f,scrollDirection:n},u=f!=i,m=function(t){c.trigger(t,s)};u&&i!==l&&(m("enter"),m(i===a?"start":"end")),m("progress"),u&&f!==l&&(m(f===a?"start":"end"),m("leave"))}return c}return d};var b,_,x=function(){m={start:g+p.offset},o&&p.triggerElement&&(m.start-=o.info("size")*p.triggerHook),m.end=m.start+p.duration},w=function(t){if(s){var e="duration";A(e,s.call(c))&&!t&&(c.trigger("change",{what:e,newval:p[e]}),c.trigger("shift",{reason:e}))}},E=function(t){var i=0,n=p.triggerElement;if(o&&(n||0<g)){if(n)if(n.parentNode){for(var s=o.info(),a=r.get.offset(s.container),l=s.vertical?"top":"left";n.parentNode.hasAttribute(e);)n=n.parentNode;var h=r.get.offset(n);s.isDocument||(a[l]-=o.scrollPos()),i=h[l]-a[l]}else c.triggerElement(void 0);var u=i!=g;g=i,u&&!t&&c.trigger("shift",{reason:"triggerElementPosition"})}},T=function(){0<p.triggerHook&&c.trigger("shift",{reason:"containerResize"})},S=r.extend(n.validate,{duration:function(t){if(r.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return o?o.info("size")*e:0}}if(r.type.Function(t)){s=t;try{t=parseFloat(s.call(c))}catch(e){t=-1}}if(t=parseFloat(t),!r.type.Number(t)||t<0)throw s&&(s=void 0),0;return t}}),C=function(t){(t=arguments.length?[t]:Object.keys(S)).forEach(function(t){var e;if(S[t])try{e=S[t](p[t])}catch(i){e=u[t]}finally{p[t]=e}})},A=function(t,e){var i=!1,n=p[t];return p[t]!=e&&(p[t]=e,C(t),i=n!=p[t]),i},P=function(t){c[t]||(c[t]=function(e){return arguments.length?("duration"===t&&(s=void 0),A(t,e)&&(c.trigger("change",{what:t,newval:p[t]}),-1<n.shifts.indexOf(t)&&c.trigger("shift",{reason:t})),c):p[t]})};this.controller=function(){return o},this.state=function(){return f},this.scrollOffset=function(){return m.start},this.triggerPosition=function(){var t=p.offset;return o&&(p.triggerElement?t+=g:t+=o.info("size")*c.triggerHook()),t},c.on("shift.internal",function(t){var e="duration"===t.reason;(f===h&&e||f===l&&0===p.duration)&&k(),e&&D()}).on("progress.internal",function(){k()}).on("add.internal",function(){D()}).on("destroy.internal",function(t){c.removePin(t.reset)});var k=function(t){if(b&&o){var e=o.info(),i=_.spacer.firstChild;if(t||f!==l){var n={position:_.inFlow?"relative":"absolute",top:0,left:0},s=r.css(i,"position")!=n.position;_.pushFollowers?0<p.duration&&(f===h&&0===parseFloat(r.css(_.spacer,"padding-top"))||f===a&&0===parseFloat(r.css(_.spacer,"padding-bottom")))&&(s=!0):n[e.vertical?"top":"left"]=p.duration*d,r.css(i,n),s&&D()}else{"fixed"!=r.css(i,"position")&&(r.css(i,{position:"fixed"}),D());var u=r.get.offset(_.spacer,!0),c=p.reverse||0===p.duration?e.scrollPos-m.start:Math.round(d*p.duration*10)/10;u[e.vertical?"top":"left"]+=c,r.css(_.spacer.firstChild,{top:u.top,left:u.left})}}},D=function(){if(b&&o&&_.inFlow){var t=f===l,e=o.info("vertical"),i=_.spacer.firstChild,n=r.isMarginCollapseType(r.css(_.spacer,"display")),s={};_.relSize.width||_.relSize.autoFullWidth?t?r.css(b,{width:r.get.width(_.spacer)}):r.css(b,{width:"100%"}):(s["min-width"]=r.get.width(e?b:i,!0,!0),s.width=t?s["min-width"]:"auto"),_.relSize.height?t?r.css(b,{height:r.get.height(_.spacer)-(_.pushFollowers?p.duration:0)}):r.css(b,{height:"100%"}):(s["min-height"]=r.get.height(e?i:b,!0,!n),s.height=t?s["min-height"]:"auto"),_.pushFollowers&&(s["padding"+(e?"Top":"Left")]=p.duration*d,s["padding"+(e?"Bottom":"Right")]=p.duration*(1-d)),r.css(_.spacer,s)}},M=function(){o&&b&&f===l&&!o.info("isDocument")&&k()},F=function(){o&&b&&f===l&&((_.relSize.width||_.relSize.autoFullWidth)&&r.get.width(window)!=r.get.width(_.spacer.parentNode)||_.relSize.height&&r.get.height(window)!=r.get.height(_.spacer.parentNode))&&D()},I=function(t){o&&b&&f===l&&!o.info("isDocument")&&(t.preventDefault(),o._setScrollPos(o.info("scrollPos")-((t.wheelDelta||t[o.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-t.detail)))};this.setPin=function(t,i){if(i=r.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},i),!(t=r.get.elements(t)[0]))return c;if("fixed"===r.css(t,"position"))return c;if(b){if(b===t)return c;c.removePin()}var n=(b=t).parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];b.parentNode.style.display="none";var o="absolute"!=r.css(b,"position"),a=r.css(b,s.concat(["display"])),l=r.css(b,["width","height"]);b.parentNode.style.display=n,!o&&i.pushFollowers&&(i.pushFollowers=!1);var h=b.parentNode.insertBefore(document.createElement("div"),b),u=r.extend(a,{position:o?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(o||r.extend(u,r.css(b,["width","height"])),r.css(h,u),h.setAttribute(e,""),r.addClass(h,i.spacerClass),_={spacer:h,relSize:{width:"%"===l.width.slice(-1),height:"%"===l.height.slice(-1),autoFullWidth:"auto"===l.width&&o&&r.isMarginCollapseType(a.display)},pushFollowers:i.pushFollowers,inFlow:o},!b.___origStyle){b.___origStyle={};var p=b.style;s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEac
18h(function(t){b.___origStyle[t]=p[t]||""})}return _.relSize.width&&r.css(h,{width:l.width}),_.relSize.height&&r.css(h,{height:l.height}),h.appendChild(b),r.css(b,{position:o?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(_.relSize.width||_.relSize.autoFullWidth)&&r.css(b,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",M),window.addEventListener("resize",M),window.addEventListener("resize",F),b.addEventListener("mousewheel",I),b.addEventListener("DOMMouseScroll",I),k(),c},this.removePin=function(t){if(b){if(f===l&&k(!0),t||!o){var i=_.spacer.firstChild;if(i.hasAttribute(e)){var n=_.spacer.style,s={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(t){s[t]=n[t]||""}),r.css(i,s)}_.spacer.parentNode.insertBefore(i,_.spacer),_.spacer.parentNode.removeChild(_.spacer),b.parentNode.hasAttribute(e)||(r.css(b,b.___origStyle),delete b.___origStyle)}window.removeEventListener("scroll",M),window.removeEventListener("resize",M),window.removeEventListener("resize",F),b.removeEventListener("mousewheel",I),b.removeEventListener("DOMMouseScroll",I),b=void 0}return c};var O,j=[];return c.on("destroy.internal",function(t){c.removeClassToggle(t.reset)}),this.setClassToggle=function(t,e){var i=r.get.elements(t);return 0!==i.length&&r.type.String(e)&&(0<j.length&&c.removeClassToggle(),O=e,j=i,c.on("enter.internal_class leave.internal_class",function(t){var e="enter"===t.type?r.addClass:r.removeClass;j.forEach(function(t){e(t,O)})})),c},this.removeClassToggle=function(t){return t&&j.forEach(function(t){r.removeClass(t,O)}),c.off("start.internal_class end.internal_class"),O=void 0,j=[],c},function(){for(var t in p)u.hasOwnProperty(t)||delete p[t];for(var e in u)P(e);C()}(),c};var n={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!r.type.Number(t))throw 0;return t},triggerElement:function(t){if(t=t||void 0){var e=r.get.elements(t)[0];if(!e||!e.parentNode)throw 0;t=e}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(r.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else{if(!(t in e))throw 0;t=e[t]}return t},reverse:function(t){return!!t}},shifts:["duration","offset","triggerHook"]};t.Scene.addOption=function(t,e,i,r){t in n.defaults||(n.defaults[t]=e,n.validate[t]=i,r&&n.shifts.push(t))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=r.extend({},this),e.apply(this,arguments)||this},r.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,n){for(var r in n=n||{})this[r]=n[r];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var r=t._util=function(t){var e,i={},n=function(t){return parseFloat(t)||0},r=function(e){return e.currentStyle?e.currentStyle:t.getComputedStyle(e)},s=function(e,i,s,o){if((i=i===document?t:i)===t)o=!1;else if(!c.DomElement(i))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var a=(s?i["offset"+e]||i["outer"+e]:i["client"+e]||i["inner"+e])||0;if(s&&o){var l=r(i);a+="Height"===e?n(l.marginTop)+n(l.marginBottom):n(l.marginLeft)+n(l.marginRight)}return a},o=function(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})};i.extend=function(t){for(t=t||{},e=1;e<arguments.length;e++)if(arguments[e])for(var i in arguments[e])arguments[e].hasOwnProperty(i)&&(t[i]=arguments[e][i]);return t},i.isMarginCollapseType=function(t){return-1<["block","flex","list-item","table","-webkit-box"].indexOf(t)};var a=0,l=["ms","moz","webkit","o"],h=t.requestAnimationFrame,u=t.cancelAnimationFrame;for(e=0;!h&&e<4;++e)h=t[l[e]+"RequestAnimationFrame"],u=t[l[e]+"CancelAnimationFrame"]||t[l[e]+"CancelRequestAnimationFrame"];h||(h=function(e){var i=(new Date).getTime(),n=Math.max(0,16-(i-a)),r=t.setTimeout(function(){e(i+n)},n);return a=i+n,r}),u||(u=function(e){t.clearTimeout(e)}),i.rAF=h.bind(t),i.cAF=u.bind(t);var c=i.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};c.String=function(t){return"string"===c(t)},c.Function=function(t){return"function"===c(t)},c.Array=function(t){return Array.isArray(t)},c.Number=function(t){return!c.Array(t)&&0<=t-parseFloat(t)+1},c.DomElement=function(t){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?t instanceof HTMLElement||t instanceof SVGElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};var p=i.get={};return p.elements=function(e){var i=[];
18if(c.String(e))try{e=document.querySelectorAll(e)}catch(e){return i}if("nodelist"===c(e)||c.Array(e)||e instanceof NodeList)for(var n=0,r=i.length=e.length;n<r;n++){var s=e[n];i[n]=c.DomElement(s)?s:p.elements(s)}else(c.DomElement(e)||e===document||e===t)&&(i=[e]);return i},p.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:t.pageYOffset||0},p.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:t.pageXOffset||0},p.width=function(t,e,i){return s("width",t,e,i)},p.height=function(t,e,i){return s("height",t,e,i)},p.offset=function(t,e){var i={top:0,left:0};if(t&&t.getBoundingClientRect){var n=t.getBoundingClientRect();i.top=n.top,i.left=n.left,e||(i.top+=p.scrollTop(),i.left+=p.scrollLeft())}return i},i.addClass=function(t,e){e&&(t.classList?t.classList.add(e):t.className+=" "+e)},i.removeClass=function(t,e){e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(t,e){if(c.String(e))return r(t)[o(e)];if(c.Array(e)){var i={},n=r(t);return e.forEach(function(t){i[t]=n[o(t)]}),i}for(var s in e){var a=e[s];a==parseFloat(a)&&(a+="px"),t.style[o(s)]=a}},i}(window||{});return t}),function(){"use strict";function t(t){t?(f[0]=f[16]=f[1]=f[2]=f[3]=f[4]=f[5]=f[6]=f[7]=f[8]=f[9]=f[10]=f[11]=f[12]=f[13]=f[14]=f[15]=0,this.blocks=f):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var h="object"==typeof window?window:{},s=!h.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;s&&(h=global);var i=!h.JS_SHA1_NO_COMMON_JS&&"object"==typeof module&&module.exports,e="function"==typeof define&&define.amd,r="0123456789abcdef".split(""),o=[-2147483648,8388608,32768,128],n=[24,16,8,0],a=["hex","array","digest","arrayBuffer"],f=[],u=function(e){return function(i){return new t(!0).update(i)[e]()}},c=function(){var e=u("hex");s&&(e=p(e)),e.create=function(){return new t},e.update=function(t){return e.create().update(t)};for(var i=0;i<a.length;++i){var n=a[i];e[n]=u(n)}return e},p=function(t){var h=eval("require('crypto')"),s=eval("require('buffer').Buffer"),i=function(e){if("string"==typeof e)return h.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return t(e);return h.createHash("sha1").update(new s(e)).digest("hex")};return i};t.prototype.update=function(t){if(!this.finalized){var e="string"!=typeof t;e&&t.constructor===h.ArrayBuffer&&(t=new Uint8Array(t));for(var i,r,s=0,o=t.length||0,a=this.blocks;s<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),e)for(r=this.start;s<o&&r<64;++s)a[r>>2]|=t[s]<<n[3&r++];else for(r=this.start;s<o&&r<64;++s)(i=t.charCodeAt(s))<128?a[r>>2]|=i<<n[3&r++]:i<2048?(a[r>>2]|=(192|i>>6)<<n[3&r++],a[r>>2]|=(128|63&i)<<n[3&r++]):i<55296||i>=57344?(a[r>>2]|=(224|i>>12)<<n[3&r++],a[r>>2]|=(128|i>>6&63)<<n[3&r++],a[r>>2]|=(128|63&i)<<n[3&r++]):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++s)),a[r>>2]|=(240|i>>18)<<n[3&r++],a[r>>2]|=(128|i>>12&63)<<n[3&r++],a[r>>2]|=(128|i>>6&63)<<n[3&r++],a[r>>2]|=(128|63&i)<<n[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=o[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},t.prototype.hash=function(){var t,e,i=this.h0,n=this.h1,r=this.h2,s=this.h3,o=this.h4,a=this.blocks;for(t=16;t<80;++t)e=a[t-3]^a[t-8]^a[t-14]^a[t-16],a[t]=e<<1|e>>>31;for(t=0;t<20;t+=5)i=(e=(n=(e=(r=(e=(s=(e=(o=(e=i<<5|i>>>27)+(n&r|~n&s)+o+1518500249+a[t]|0)<<5|o>>>27)+(i&(n=n<<30|n>>>2)|~i&r)+s+1518500249+a[t+1]|0)<<5|s>>>27)+(o&(i=i<<30|i>>>2)|~o&n)+r+1518500249+a[t+2]|0)<<5|r>>>27)+(s&(o=o<<30|o>>>2)|~s&i)+n+1518500249+a[t+3]|0)<<5|n>>>27)+(r&(s=s<<30|s>>>2)|~r&o)+i+1518500249+a[t+4]|0,r=r<<30|r>>>2;for(;t<40;t+=5)i=(e=(n=(e=(r=(e=(s=(e=(o=(e=i<<5|i>>>27)+(n^r^s)+o+1859775393+a[t]|0)<<5|o>>>27)+(i^(n=n<<30|n>>>2)^r)+s+1859775393+a[t+1]|0)<<5|s>>>27)+(o^(i=i<<30|i>>>2)^n)+r+1859775393+a[t+2]|0)<<5|r>>>27)+(s^(o=o<<30|o>>>2)^i)+n+1859775393+a[t+3]|0)<<5|n>>>27)+(r^(s=s<<30|s>>>2)^o)+i+1859775393+a[t+4]|0,r=r<<30|r>>>2;for(;t<60;t+=5)i=(e=(n=(e=(r=(e=(s=(e=(o=(e=i<<5|i>>>27)+(n&r|n&s|r&s)+o-1894007588+a[t]|0)<<5|o>>>27)+(i&(n=n<<30|n>>>2)|i&r|n&r)+s-1894007588+a[t+1]|0)<<5|s>>>27)+(o&(i=i<<30|i>>>2)|o&n|i&n)+r-1894007588+a[t+2]|0)<<5|r>>>27)+(s&(o=o<<30|o>>>
182)|s&i|o&i)+n-1894007588+a[t+3]|0)<<5|n>>>27)+(r&(s=s<<30|s>>>2)|r&o|s&o)+i-1894007588+a[t+4]|0,r=r<<30|r>>>2;for(;t<80;t+=5)i=(e=(n=(e=(r=(e=(s=(e=(o=(e=i<<5|i>>>27)+(n^r^s)+o-899497514+a[t]|0)<<5|o>>>27)+(i^(n=n<<30|n>>>2)^r)+s-899497514+a[t+1]|0)<<5|s>>>27)+(o^(i=i<<30|i>>>2)^n)+r-899497514+a[t+2]|0)<<5|r>>>27)+(s^(o=o<<30|o>>>2)^i)+n-899497514+a[t+3]|0)<<5|n>>>27)+(r^(s=s<<30|s>>>2)^o)+i-899497514+a[t+4]|0,r=r<<30|r>>>2;this.h0=this.h0+i|0,this.h1=this.h1+n|0,this.h2=this.h2+r|0,this.h3=this.h3+s|0,this.h4=this.h4+o|0},t.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,s=this.h4;return r[t>>28&15]+r[t>>24&15]+r[t>>20&15]+r[t>>16&15]+r[t>>12&15]+r[t>>8&15]+r[t>>4&15]+r[15&t]+r[e>>28&15]+r[e>>24&15]+r[e>>20&15]+r[e>>16&15]+r[e>>12&15]+r[e>>8&15]+r[e>>4&15]+r[15&e]+r[i>>28&15]+r[i>>24&15]+r[i>>20&15]+r[i>>16&15]+r[i>>12&15]+r[i>>8&15]+r[i>>4&15]+r[15&i]+r[n>>28&15]+r[n>>24&15]+r[n>>20&15]+r[n>>16&15]+r[n>>12&15]+r[n>>8&15]+r[n>>4&15]+r[15&n]+r[s>>28&15]+r[s>>24&15]+r[s>>20&15]+r[s>>16&15]+r[s>>12&15]+r[s>>8&15]+r[s>>4&15]+r[15&s]},t.prototype.toString=t.prototype.hex,t.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,i=this.h2,n=this.h3,r=this.h4;return[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r]},t.prototype.array=t.prototype.digest,t.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(20),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),t};var y=c();i?module.exports=y:(h.sha1=y,e&&define(function(){return y}))}();const LOGIN_MOBILE_URL="https://mobile.nadex.com/npwa#/login",userAgent=navigator.userAgent||navigator.vendor||window.opera,deviceType=checkDeviceType(userAgent),isMobile="desktop"!=deviceType;"scrollRestoration"in history&&(history.scrollRestoration="manual"),$(document).ready(function(){$(".block-courses .load-more").click(function(){return $(".list-courses-more").show(),$(this).hide(),!1}),$(".list-faq .item .item-caption").click(function(){$(".list-faq .item").not($(this).parent()).removeClass("active");var t=$(this).next();$(t).is(":visible")?$(this).parent().removeClass("active"):$(this).parent().addClass("active")});var t="Account";$(".box-faq .tab span").click(function(){$(this).hasClass("active")?($(this).removeClass("active"),$(".list-faq .item").show()):(t=$(this).text(),$(".box-faq .tab span").removeClass("active"),"Account"==t?($(this).addClass("active"),$(".list-faq .item").hide(),$('.list-faq .item[data-category="Account"]').show()):"Funding"==t?($(this).addClass("active"),$(".list-faq .item").hide(),$('.list-faq .item[data-category="Funding"]').show()):"Trading"==t&&($(this).addClass("active"),$(".list-faq .item").hide(),$('.list-faq .item[data-category="Trading"]').show()))});var e=window.location.href.split("#")[1];$("#"+e).addClass("active"),$(window).scroll(function(){$(this).scrollTop()>=200?$(".back-to-top").fadeIn():$(".back-to-top").fadeOut()}),$(".back-to-top").click(function(){$("html, body").animate({scrollTop:0},1e3)});var i="Show all";$(".block-courses .tab span").click(function(){i=$(this).text(),$(".block-courses .tab span").removeClass("active"),"Show all"==i?($(this).addClass("active"),$(".list-courses .col").show()):"Markets"==i?($(this).addClass("active"),$(".list-courses .col").hide(),$('.list-courses .col[data-category="Markets"]').show()):"Products"==i?($(this).addClass("active"),$(".list-courses .col").hide(),$('.list-courses .col[data-category="Products"]').show()):"Platforms"==i?($(this).addClass("active"),$(".list-courses .col").hide(),$('.list-courses .col[data-category="Platforms"]').show()):"Strategies"==i&&($(this).addClass("active"),$(".list-courses .col").hide(),$('.list-courses .col[data-category="Strategies"]').show())}),$(".block-courses .sub-tab a").click(function(){var t=$(this).text();return $(".block-courses .sub-tab a").removeClass("active"),$(this).addClass("active"),"Show all"==i?($(".list-courses .col").hide(),$(".list-courses .col[data-level="+t+"]").show()):($(".list-courses .col").hide(),$(".list-courses .col[data-category="+i+"][data-level="+t+"]").show()),!1}),$(".block-courses .sub-tab a .close").click(function(t){return t.stopPropagation(),$(this).parent().removeClass("active"),"Show all"==i?$(".list-courses .col").show():"Markets"==i?($(".list-courses .col").hide(),$('.list-courses .col[data-category="Markets"]').show()):"Products"==i?($(".list-courses .col").hide(),$('.list-courses .col[data-category="Products"]').show()):"Platforms"==i?($(".list-courses .col").hide(),$('.list-courses .col[data-category="Platforms"]').show()):"Strategies"==i&&($(".list-courses .col").hide(),$('.list-courses .col[data-category="Strategies"]').show()),!1}),$(".control .ready").click(function(){if($(this).hasClass("active"));else{if($(this).addClass("active"),null==(i=localStorage.getItem("course"))){var t=[{title:$(".market p").text(),url:""}];localStorage.setItem("course",JSON.stringify(t))}
18else{var e={title:$(".market p").text(),url:""},i=localStorage.getItem("course"),n=JSON.parse(i);n.push(e),localStorage.setItem("course",JSON.stringify(n))}var r=$(".market p").text();$(".cd-plan ul li").each(function(){$(this).find("p").text()==r&&$(this).addClass("done")})}return!1});var n=localStorage.getItem("course");if(null==n);else{var r=JSON.parse(n),s=$(".market p").text();$.each(r,function(t){s==r[t].title&&$(".control .ready").addClass("active")}),$(".cd-plan ul li").each(function(){var t=$(this).find("p").text(),e=!1;$.each(r,function(i){t==r[i].title&&(e=!0)}),e&&($(this).addClass("done"),e=!1)})}$(".market .bookmark").click(function(t){var e=document.title,i=window.location.href;if("addToHomescreen"in window&&addToHomescreen.isCompatible)addToHomescreen({autostart:!1,startDelay:0}).show(!0);else if(/CriOS\//.test(navigator.userAgent))alert('To add to Home Screen, launch this website in Safari, then tap the Share button and select "Add to Home Screen".');else if(window.sidebar&&window.sidebar.addPanel)window.sidebar.addPanel(e,i,"");else{if(window.sidebar&&/Firefox/i.test(navigator.userAgent)&&!Object.fromEntries||window.opera&&window.print)return $(this).attr({href:i,title:e,rel:"sidebar"}).off(t),!0;window.external&&"AddFavorite"in window.external?window.external.AddFavorite(i,e):alert("Press "+(/Mac/i.test(navigator.platform)?"Cmd":"Ctrl")+"+D to bookmark this page.")}return!1}),$(document).foundation();const o=document.location.pathname;$(".banner__animation-wrapper").addClass("is-animating"),$("#menu-icon").click(function(){"/images/menu.svg"===$(this).find("img").attr("src")?$(this).find("img").attr("src","/images/clear.svg"):$(this).find("img").attr("src","/images/menu.svg")}),$(window).on("changed.zf.mediaquery",function(t,e){"small"===e||"medium"===e||"mdlarge"===e?$("#menu-icon").find("img").attr("src","/images/menu.svg"):$(".top-bar").css("display","flex")}),$("#page-header").find("a").each(function(){const t=$(this).attr("href");t!==o&&o!==`${t}/`||($(this).addClass("active"),$(this).closest("li").hasClass("is-dropdown-submenu-item")&&$(this).closest("li.is-dropdown-submenu-parent").addClass("active"),$(this).closest("li").hasClass("is-accordion-submenu-item")&&$(this).closest("li.is-accordion-submenu-parent").addClass("active"))}),$(".filter-sidebar__header").click(()=>{$("#filter-open").toggle(),$("#filter-closed").toggle(),$(".filter-sidebar").toggleClass("open")}),$(".read-more__link").click(function(){$(this).hide(),$(this).prevAll(".read-more__summary").hide(),$(this).prevAll(".read-more__body").show()}),$(".back__link").click(()=>-1===document.referrer.indexOf(window.location.host)||(history.go(-1),!1))});
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.