PageSourceSearch

https://customer.pioneercredit.com.au/dist/js/vendor.js?v=20230831

js pioneercredit.com.au collected 2026-10-08 08:18:19 UTC 668,626 bytes, 30 lines download raw bytes

vendor: 21,695 bytes, lines 1-10
1/**
2@license @nocompile
3Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
4This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7Code distributed by Google as part of the polymer project is also
8subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9*/
10(function(){"use strict";var e;function t(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){return e==Array.prototype||e==Object.prototype||(e[t]=r.value),e};var n,i=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var t=0;t<e.length;++t){var r=e[t];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(e,t){if(t)e:{var n=i;e=e.split(".");for(var a=0;a<e.length-1;a++){var s=e[a];if(!(s in n))break e;n=n[s]}(t=t(a=n[e=e[e.length-1]]))!=a&&null!=t&&r(n,e,{configurable:!0,writable:!0,value:t})}}function s(e){return(e={next:e})[Symbol.iterator]=function(){return this},e}function o(e){var r="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return r?r.call(e):{next:t(e)}}function l(e){if(!(e instanceof Array)){e=o(e);for(var t,r=[];!(t=e.next()).done;)r.push(t.value);e=r}return e}if(a("Symbol",(function(e){function t(e,t){this.g=e,r(this,"description",{configurable:!0,writable:!0,value:t})}if(e)return e;t.prototype.toString=function(){return this.g};var n=0;return function e(r){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(r||"")+"_"+n++,r)}})),a("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var n="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),a=0;a<n.length;a++){var o=i[n[a]];"function"==typeof o&&"function"!=typeof o.prototype[e]&&r(o.prototype,e,{configurable:!0,writable:!0,value:function(){return s(t(this))}})}return e})),"function"==typeof Object.setPrototypeOf)n=Object.setPrototypeOf;else{var h;e:{var c={};try{c.__proto__={a:!0},h=c.a;break e}catch(M){}h=!1}n=h?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var u=n;function d(){this.u=!1,this.h=null,this.Oa=void 0,this.g=1,this.ea=0,this.i=null}function p(e){if(e.u)throw new TypeError("Generator is already running");e.u=!0}function f(e,t){e.i={ab:t,fb:!0},e.g=e.ea}function m(e,t){return e.g=3,{value:t}}function g(e){this.g=new d,this.h=e}function v(e,t,r,n){try{var i=t.call(e.g.h,r);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");if(!i.done)return e.g.u=!1,i;var a=i.value}catch(t){return e.g.h=null,f(e.g,t),y(e)}return e.g.h=null,n.call(e.g,a),y(e)}function y(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.u=!1,{value:t.value,done:!1}}catch(t){e.g.Oa=void 0,f(e.g,t)}if(e.g.u=!1,e.g.i){if(t=e.g.i,e.g.i=null,t.fb)throw t.ab;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function b(e){this.next=function(t){return p(e.g),e.g.h?t=v(e,e.g.h.next,t,e.g.O):(e.g.O(t),t=y(e)),t},this.throw=function(t){return p(e.g),e.g.h?t=v(e,e.g.h.throw,t,e.g.O):(f(e.g,t),t=y(e)),t},this.return=function(t){return function(e,t){p(e.g);var r=e.g.h;return r?v(e,"return"in r?r.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),y(e))}(e,t)},this[Symbol.iterator]=function(){return this}}function _(e,t){return t=new b(new g(t)),u&&e.prototype&&u(t,e.prototype),t}d.prototype.O=function(e){this.Oa=e},d.prototype.return=function(e){this.i={return:e},this.g=this.ea},Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e){for(var t,r=[].slice.call(arguments,1),n=0;n<r.length;n++)if(t=r[n])for(var i=e,a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];i[o]=t[o]}return e});var E=setTimeout;function C(){}function S(e){if(!(this instanceof S))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this.N=0,this.Ha=!1,this.I=void 0,this.ba=[],D(e,this)}function x(e,t){for(;3===e.N;)e=e.I;0===e.N?e.ba.push(t):(e.Ha=!0,L((function(){var r=1===e.N?t.hb:t.ib;if(null===r)(1===e.N?w:T)(t.promise,e.I);else{try{var n=r(e.I)}catch(e){return void T(t.promise,e)}w(t.promise,n)}})))}function w(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof S)return e.N=3,e.I=t,void P(e);if("function"==typeof r)return void D(function(e,t){return function(){e.apply(t,arguments)}}(r,t),e)}e.N=1,e.I=t,P(e)}catch(t){T(e,t)}}function T(e,t){e.N=2,e.I=t,P(e)}function P(e){2===e.N&&0===e.ba.length&&L((function(){e.Ha||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e.I)}));for(var t=0,r=e.ba.length;t<r;t++)x(e,e.ba[t]);e.ba=null}function A(e,t,r){this.hb="function"==typeof e?e:null,this.ib="function"==typeof t?t:null,this.promise=r}function D(e,t){var r=!1;try{e((function(e){r||(r=!0,w(t,e))}),(function(e){r||(r=!0,T(t,e))}))}catch(e){r||(r=!0,T(t,e))}}function k(e){return e&&"object"==typeof e&&e.constructor===S?e:new S((function(t){t(e)}))}S.prototype.catch=function(e){return this.then(null,e)},S.prototype.then=function(e,t){var r=new this.constructor(C);return x(this,new A(e,t,r)),r},S.prototype.finally=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){return t.reject(r)}))}))};var M,N,F,I,O,R,L="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){E(e,0)};if(!window.Promise){window.Promise=S,S.prototype.then=S.prototype.then,S.all=function(e){return new S((function(t,r){function n(e,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var o=s.then;if("function"==typeof o)return void o.call(s,(function(t){n(e,t)}),r)}i[e]=s,0==--a&&t(i)}catch(e){r(e)}}if(!e||void 0===e.length)return r(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var a=i.length,s=0;s<i.length;s++)n(s,i[s])}))},S.race=function(e){return new S((function(t,r){if(!e||void 0===e.length)return r(new TypeError("Promise.race accepts an array"));for(var n=0,i=e.length;n<i;n++)k(e[n]).then(t,r)}))},S.resolve=k,S.reject=function(e){return new S((function(t,r){r(e)}))};var j=document.createTextNode(""),B=[];new MutationObserver((function(){for(var e=B.length,t=0;t<e;t++)B[t]();B.splice(0,e)})).observe(j,{characterData:!0}),L=function(e){B.push(e),j.textContent=0<j.textContent.length?"":"a"}}!function(e,t){if(!(t in e)){var r=typeof global==typeof r?window:global,n=0,i=String(Math.random()),a="__�symbol@@"+i,s=e.getOwnPropertyNames,o=e.getOwnPropertyDescriptor,l=e.create,h=e.keys,c=e.freeze||e,u=e.defineProperty,d=e.defineProperties,p=o(e,"getOwnPropertyNames"),f=e.prototype,m=f.hasOwnProperty,g=f.propertyIsEnumerable,v=f.toString,y=function(e,t,r){m.call(e,a)||u(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a]["@@"+t]=r},b=function(){},_=function(e){return e!=a&&!m.call(w,e)},E=function(e){return e!=a&&m.call(w,e)},C=function(e){var t=String(e);return E(t)?m.call(this,t)&&!!this[a]&&this[a]["@@"+t]:g.call(this,e)},S=function(t){return u(f,t,{enumerable:!1,configurable:!0,get:b,set:function(e){k(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),y(this,t,!0)}}),w[t]=u(e(t),"constructor",T),c(w[t])},x=function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return S("__�symbol:".concat(t||"",i,++n))},w=l(null),T={value:x},P=function(e){return w[e]},A=function(e,t,r){var n=String(t);if(E(n)){if(t=k,r.enumerable){var i=l(r);i.enumerable=!1}else i=r;t(e,n,i),y(e,n,!!r.enumerable)}else u(e,t,r);return e},D=function(e){return s(e).filter(E).map(P)};p.value=A,u(e,"defineProperty",p),p.value=D,u(e,t,p),p.value=function(e){return s(e).filter(_)},u(e,"getOwnPropertyNames",p),p.value=function(e,t){var r=D(t);return r.length?h(t).concat(r).forEach((function(r){C.call(t,r)&&A(e,r,t[r])})):d(e,t),e},u(e,"defineProperties",p),p.value=C,u(f,"propertyIsEnumerable",p),p.value=x,u(r,"Symbol",p),p.value=function(e){return(e="__�symbol:".concat("__�symbol:",e,i))in f?w[e]:S(e)},u(x,"for",p),p.value=function(e){if(_(e))throw new TypeError(e+" is not a symbol");if(m.call(w,e)&&("__�symbol:"===(e=e.slice(10)).slice(0,10)&&(e=e.slice(10))!==i))return 0<(e=e.slice(0,e.length-i.length)).length?e:void 0},u(x,"keyFor",p),p.value=function(e,t){var r=o(e,t);return r&&E(t)&&(r.enumerable=C.call(e,t)),r},u(e,"getOwnPropertyDescriptor",p),p.value=function(e,t){return 1===arguments.length||void 0===t?l(e):function(e,t){var r=l(e);return s(t).forEach((function(e){C.call(t,e)&&A(r,e,t[e])})),r}(e,t)},u(e,"create",p),p.value=function(){var e=v.call(this);return"[object String]"===e&&E(this)?"[object Symbol]":e},u(f,"toString",p);try{if(!0!==l(u({},"__�symbol:",{get:function(){return u(this,"__�symbol:",{value:!0})["__�symbol:"]}}))["__�symbol:"])throw"IE11";var k=u}catch(e){k=function(e,t,r){var n=o(f,t);delete f[t],u(e,t,r),u(f,t,n)}}}}(Object,"getOwnPropertySymbols"),M=Object,N=Symbol,I=M.defineProperty,O=M.prototype,R=O.toString,"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(e){e in N||(I(N,e,{value:N(e)}),"toStringTag"===e&&((F=M.getOwnPropertyDescriptor(O,"toString")).value=function(){var e=R.call(this),t=null==this?this:this[N.toStringTag];return null==t?e:"[object "+t+"]"},I(O,"toString",F)))})),function(e,t,r){function n(){return this}t[e]||(t[e]=function(){var t=0,r=this,i={next:function(){var e=r.length<=t;return e?{done:e}:{done:e,value:r[t++]}}};return i[e]=n,i}),r[e]||(r[e]=function(){var t=String.fromCodePoint,r=this,i=0,a=r.length,s={next:function(){var e=a<=i,n=e?"":t(r.codePointAt(i));return i+=n.length,e?{done:e}:{done:e,value:n}}};return s[e]=n,s})}(Symbol.iterator,Array.prototype,String.prototype);var V=Object.prototype.toString;Object.prototype.toString=function(){return void 0===this?"[object Undefined]":null===this?"[object Null]":V.call(this)},Object.keys=function(e){return Object.getOwnPropertyNames(e).filter((function(t){return(t=Object.getOwnPropertyDescriptor(e,t))&&t.enumerable}))},String.prototype[Symbol.iterator]&&String.prototype.codePointAt||(String.prototype[Symbol.iterator]=function e(){var t,r=this;return _(e,(function(e){if(1==e.g&&(t=0),3!=e.g)return t<r.length?e=m(e,r[t]):(e.g=0,e=void 0),e;t++,e.g=2}))}),Set.prototype[Symbol.iterator]||(Set.prototype[Symbol.iterator]=function e(){var t,r,n=this;return _(e,(function(e){if(1==e.g&&(t=[],n.forEach((function(e){t.push(e)})),r=0),3!=e.g)return r<t.length?e=m(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2}))}),Map.prototype[Symbol.iterator]||(Map.prototype[Symbol.iterator]=function e(){var t,r,n=this;return _(e,(function(e){if(1==e.g&&(t=[],n.forEach((function(e,r){t.push([r,e])})),r=0),3!=e.g)return r<t.length?e=m(e,t[r]):(e.g=0,e=void 0),e;r++,e.g=2}))});var z=document.createEvent("Event");if(z.initEvent("foo",!0,!0),z.preventDefault(),!z.defaultPrevented){var H=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(H.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var q=/Trident/.test(navigator.userAgent);if(!window.Event||q&&"function"!=typeof window.Event){var G=window.Event;if(window.Event=function(e,t){t=t||{};var r=document.createEvent("Event");return r.initEvent(e,!!t.bubbles,!!t.cancelable),r},G){for(var W in G)window.Event[W]=G[W];window.Event.prototype=G.prototype}}if((!window.CustomEvent||q&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),r},window.CustomEvent.prototype=window.Event.prototype),!window.MouseEvent||q&&"function"!=typeof window.MouseEvent){var U=window.MouseEvent;if(window.MouseEvent=function(e,t){t=t||{};var r=document.createEvent("MouseEvent");return r.initMouseEvent(e,!!t.bubbles,!!t.cancelable,t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),r},U)for(var $ in U)window.MouseEvent[$]=U[$];window.MouseEvent.prototype=U.prototype}var Y,Z=function(){function e(){i++}var t=!1,r=!1,n={get capture(){return t=!0},get once(){return r=!0}},i=0,a=document.createElement("div");a.addEventListener("click",e,n);var s=t&&r;return s&&(a.dispatchEvent(new Event("click")),a.dispatchEvent(new Event("click")),s=1==i),a.removeEventListener("click",e,n),s}(),K=null!==(Y=window.EventTarget)&&void 0!==Y?Y:window.Node;if(!Z&&"addEventListener"in K.prototype){var X=function(e){if(!e||"object"!=typeof e&&"function"!=typeof e){var t=!!e;e=!1}else t=!!e.capture,e=!!e.once;return{capture:t,once:e}},Q=K.prototype.addEventListener,J=K.prototype.removeEventListener,ee=new WeakMap,te=new WeakMap,re=function(e,t,r){var n=r?ee:te;return void 0===(r=n.get(e))&&n.set(e,r=new Map),void 0===(e=r.get(t))&&r.set(t,e=new WeakMap),e};K.prototype.addEventListener=function(e,t,r){var n=this;if(null!=t){var i=(r=X(r)).capture;r=r.once;var a=re(this,e,i);if(!a.has(t)){var s=r?function(r){return a.delete(t),J.call(n,e,s,i),"function"==typeof t?t.call(n,r):"function"==typeof(null==t?void 0:t.handleEvent)?t.handleEvent(r):void 0}:null;a.set(t,s),Q.call(this,e,null!=s?s:t,i)}}},K.prototype.removeEventListener=function(e,t,r){if(null!=t){r=X(r).capture;var n=re(this,e,r),i=n.get(t);void 0!==i&&(n.delete(t),J.call(this,e,null!=i?i:t,r))}}}Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector("base[href]");return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var ne,ie,ae=Element.prototype,se=null!==(ne=Object.getOwnPropertyDescriptor(ae,"attributes"))&&void 0!==ne?ne:Object.getOwnPropertyDescriptor(Node.prototype,"attributes"),oe=null!==(ie=null==se?void 0:se.get)&&void 0!==ie?ie:function(){return this.attributes},le=Array.prototype.map;ae.hasOwnProperty("getAttributeNames")||(ae.getAttributeNames=function(){return le.call(oe.call(this),(function(e){return e.name}))});var he,ce=Element.prototype;ce.hasOwnProperty("matches")||(ce.matches=null!==(he=ce.webkitMatchesSelector)&&void 0!==he?he:ce.msMatchesSelector);var ue=Node.prototype.appendChild;function de(e){(e=e.prototype).hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];for(r=(t=o(t)).next();!r.done;r=t.next())r=r.value,ue.call(this,"string"==typeof r?document.createTextNode(r):r)}})}de(Document),de(DocumentFragment),de(Element);var pe,fe,me=Node.prototype.insertBefore,ge=null!==(fe=null===(pe=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===pe?void 0:pe.get)&&void 0!==fe?fe:function(){return this.firstChild};function ve(e){(e=e.prototype).hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];r=ge.call(this);for(var n=(t=o(t)).next();!n.done;n=t.next())n=n.value,me.call(this,"string"==typeof n?document.createTextNode(n):n,r)}})}ve(Document),ve(DocumentFragment),ve(Element);var ye,be,_e=Node.prototype.appendChild,Ee=Node.prototype.removeChild,Ce=null!==(be=null===(ye=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild"))||void 0===ye?void 0:ye.get)&&void 0!==be?be:function(){return this.firstChild};function Se(e){(e=e.prototype).hasOwnProperty("replaceChildren")||Object.defineProperty(e,"replaceChildren",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];for(;null!==(r=Ce.call(this));)Ee.call(this,r);for(r=(t=o(t)).next();!r.done;r=t.next())r=r.value,_e.call(this,"string"==typeof r?document.createTextNode(r):r)}})}Se(Document),Se(DocumentFragment),Se(Element);var xe,we,Te,Pe,Ae=Node.prototype.insertBefore,De=null!==(we=null===(xe=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===xe?void 0:xe.get)&&void 0!==we?we:function(){return this.parentNode},ke=null!==(Pe=null===(Te=Object.getOwnPropertyDescriptor(Node.prototype,"nextSibling"))||void 0===Te?void 0:Te.get)&&void 0!==Pe?Pe:function(){return this.nextSibling};function Me(e){(e=e.prototype).hasOwnProperty("after")||Object.defineProperty(e,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(null!==(r=De.call(this)))for(var n=ke.call(this),i=(t=o(t)).next();!i.done;i=t.next())i=i.value,Ae.call(r,"string"==typeof i?document.createTextNode(i):i,n)}})}Me(CharacterData),Me(Element);var Ne,Fe,Ie=Node.prototype.insertBefore,Oe=null!==(Fe=null===(Ne=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Ne?void 0:Ne.get)&&void 0!==Fe?Fe:function(){return this.parentNode};function Re(e){(e=e.prototype).hasOwnProperty("before")||Object.defineProperty(e,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(null!==(r=Oe.call(this)))for(var n=(t=o(t)).next();!n.done;n=t.next())n=n.value,Ie.call(r,"string"==typeof n?document.createTextNode(n):n,this)}})}Re(CharacterData),Re(Element);var Le,je,Be=Node.prototype.removeChild,Ve=null!==(je=null===(Le=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===Le?void 0:Le.get)&&void 0!==je?je:function(){return this.parentNode};function ze(e){(e=e.prototype).hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Ve.call(this);e&&Be.call(e,this)}})}ze(CharacterData),ze(Element);var He,qe,Ge=Node.prototype.insertBefore,We=Node.prototype.removeChild,Ue=null!==(qe=null===(He=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))||void 0===He?void 0:He.get)&&void 0!==qe?qe:function(){return this.parentNode};function $e(e){(e=e.prototype).hasOwnProperty("replaceWith")||Object.defineProperty(e,"replaceWith",{configurable:!0,enumerable:!0,writable:!0,value:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(null!==(r=Ue.call(this))){for(var n=(t=o(t)).next();!n.done;n=t.next())n=n.value,Ge.call(r,"string"==typeof n?document.createTextNode(n):n,this);We.call(r,this)}}})}$e(CharacterData),$e(Element);var Ye=window.Element.prototype,Ze=window.HTMLElement.prototype,Ke=window.SVGElement.prototype;!Ze.hasOwnProperty("classList")||Ye.hasOwnProperty("classList")||Ke.hasOwnProperty("classList")||Object.defineProperty(Ye,"classList",Object.getOwnPropertyDescriptor(Ze,"classList"));var Xe=Element.prototype,Qe=Element.prototype.hasAttribute,Je=Element.prototype.setAttribute,et=Element.prototype.removeAttribute;Xe.hasOwnProperty("toggleAttribute")||(Xe.toggleAttribute=function(e,t){return void 0===t?Qe.call(this,e)?(et.call(this,e),!1):(Je.call(this,e,""),!0):t?(Qe.call(this,e)||Je.call(this,e,""),!0):(et.call(this,e),!1)});var tt=document.createElement("style");tt.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var rt=document.querySelector("head");rt.insertBefore(tt,rt.firstChild);var nt=window;nt.WebComponents=nt.WebComponents||{flags:{}};var it=document.querySelector('script[src*="webcomponents-bundle"]'),at=/wc-(.+)/,st={};if(!st.noOpts){if(location.search.slice(1).split("&").forEach((function(e){var t;(e=e.split("="))[0]&&(t=e[0].match(at))&&(st[t[1]]=e[1]||!0)})),it)for(var ot=0,lt=void 0;lt=it.attributes[ot];ot++)"src"!==lt.name&&(st[lt.name]=lt.value||!0);var ht={};st.log&&st.log.split&&st.log.split(",").forEach((function(e){ht[e]=!0})),st.log=ht}nt.WebComponents.flags=st;var ct=st.shadydom;if(ct){nt.ShadyDOM=nt.ShadyDOM||{},nt.ShadyDOM.force=ct;var ut=st.noPatch;nt.ShadyDOM.noPatch="true"===ut||ut}var dt=st.register||st.ce;function pt(){}function ft(e){return e.__shady||(e.__shady=new pt),e.__shady}function mt(e){return e&&e.__shady}dt&&window.customElements&&(nt.customElements.forcePolyfill=dt),function(){function e(){}function t(e,t){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return m.call(e,t);case Node.DOCUMENT_FRAGMENT_NODE:return g.call(e,t);default:return f.call(e,t)}}var r="undefined"==typeof HTMLTemplateElement,n=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),i=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,t){if(e instanceof DocumentFragment)for(var n;n=e.firstChild;)r.call(this,n,t);else r.call(this,e,t);return e}i=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=t.call(this,e),this instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE}
vendor: 4,139 bytes, line 10
10,configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var r=Node.prototype.insertBefore;Node.prototype.insertBefore=e;var n=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?e.call(this,t,null):n.call(this,t),t};var a=Node.prototype.removeChild,s=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,r){return t instanceof DocumentFragment?(e.call(this,t,r),a.call(this,r)):s.call(this,t,r),r},Document.prototype.createDocumentFragment=function(){var e=this.createElement("df");return e.__proto__=DocumentFragment.prototype,e};var o=Document.prototype.importNode;Document.prototype.importNode=function(e,t){return t=o.call(this,e,t||!1),e instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t}}();var a=Node.prototype.cloneNode,s=Document.prototype.createElement,o=Document.prototype.importNode,l=Node.prototype.removeChild,h=Node.prototype.appendChild,c=Node.prototype.replaceChild,u=DOMParser.prototype.parseFromString,d=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(e){this.innerHTML=e}},p=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},f=Element.prototype.querySelectorAll,m=Document.prototype.querySelectorAll,g=DocumentFragment.prototype.querySelectorAll,v=function(){if(!r){var e=document.createElement("template"),t=document.createElement("template");return t.content.appendChild(document.createElement("div")),e.content.appendChild(t),0===(e=e.cloneNode(!0)).content.childNodes.length||0===e.content.firstChild.content.childNodes.length||n}}();if(r){var y=document.implementation.createHTMLDocument("template"),b=!0,_=document.createElement("style");_.textContent="template{display:none;}";var E=document.head;E.insertBefore(_,E.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var C=!document.createElement("div").hasOwnProperty("innerHTML");e.Z=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){t.content=y.createDocumentFragment();for(var r;r=t.firstChild;)h.call(t.content,r);if(C)t.__proto__=e.prototype;else if(t.cloneNode=function(t){return e.va(this,t)},b)try{x(t),w(t)}catch(e){b=!1}e.bootstrap(t.content)}};var S={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},x=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return M(this)},set:function(t){var r=S[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()];if(r)for(var n=0;n<r.length;n++)t="<"+r[n]+">"+t+"</"+r[n]+">";for(y.body.innerHTML=t,e.bootstrap(y);this.content.firstChild;)l.call(this.content,this.content.firstChild);if(t=y.body,r)for(n=0;n<r.length;n++)t=t.lastChild;for(;t.firstChild;)h.call(this.content,t.firstChild)},configurable:!0})},w=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(e){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(y.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();y.body.firstChild;)h.call(e,y.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};x(e.prototype),w(e.prototype),e.bootstrap=function(r){for(var n,i=0,a=(r=t(r,"template")).length;i<a&&(n=r[i]);i++)e.Z(n)},document.addEventListener("DOMContentLoaded",(function(){e.bootstrap(document)})),Document.prototype.createElement=function(){var t=s.apply(this,arguments);return"template"===t.localName&&e.Z(t),t},DOMParser.prototype.parseFromString=function(){var t=u.apply(this,arguments);return e.bootstrap(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return M(this)},set:function(t){d.set.call(this,t),e.bootstrap(this)},configurable:!0,enumerable:!0});var T=/[&\u00A0"]/g,P=/[&\u00A0<>]/g,A=function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";
vendor: 38,436 bytes, line 10
10case'"':return"&quot;";case" ":return"&nbsp;"}},D=(_=function(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),k=_("style script xmp iframe noembed noframes plaintext noscript".split(" ")),M=function(e,t){"template"===e.localName&&(e=e.content);for(var r,n="",i=t?t(e):p.get.call(e),a=0,s=i.length;a<s&&(r=i[a]);a++){e:{var o=r,l=e,h=t;switch(o.nodeType){case Node.ELEMENT_NODE:for(var c=o.localName,u="<"+c,d=o.attributes,f=0;l=d[f];f++)u+=" "+l.name+'="'+l.value.replace(T,A)+'"';u+=">",o=D[c]?u:u+M(o,h)+"</"+c+">";break e;case Node.TEXT_NODE:o=o.data,o=l&&k[l.localName]?o:o.replace(P,A);break e;case Node.COMMENT_NODE:o="\x3c!--"+o.data+"--\x3e";break e;default:throw window.console.error(o),Error("not implemented")}}n+=o}return n}}if(r||v){e.va=function(e,t){var r=a.call(e,!1);return this.Z&&this.Z(r),t&&(h.call(r.content,a.call(e.content,!0)),N(r.content,e.content)),r};var N=function(r,n){if(n.querySelectorAll&&0!==(n=t(n,"template")).length)for(var i,a,s=0,o=(r=t(r,"template")).length;s<o;s++)a=n[s],i=r[s],e&&e.Z&&e.Z(a),c.call(i.parentNode,F.call(a,!0),i)},F=Node.prototype.cloneNode=function(t){if(!i&&n&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();var r=I.call(this.ownerDocument,this,!0)}else r=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?e.va(this,t):a.call(this,t);return t&&N(r,this),r},I=Document.prototype.importNode=function(r,n){if(n=n||!1,"template"===r.localName)return e.va(r,n);var i=o.call(this,r,n);if(n){N(i,r),r=t(i,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var a,l=0;l<r.length;l++){a=r[l],(n=s.call(document,"script")).textContent=a.textContent;for(var h,u=a.attributes,d=0;d<u.length;d++)h=u[d],n.setAttribute(h.name,h.value);c.call(a.parentNode,n,a)}}return i}}r&&(window.HTMLTemplateElement=e)}(),pt.prototype.toJSON=function(){return{}};var gt=window.ShadyDOM||{};gt.cb=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var vt,yt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");gt.D=!!(yt&&yt.configurable&&yt.get),gt.Ba=gt.force||!gt.cb,gt.J=gt.noPatch||!1,gt.ha=gt.preferPerformance,gt.Da="on-demand"===gt.J;var bt=gt.querySelectorImplementation;function _t(){return Document.prototype.msElementsFromPoint?"msElementsFromPoint":"elementsFromPoint"}function Et(e){return(e=mt(e))&&void 0!==e.firstChild}function Ct(e){return e instanceof ShadowRoot}function St(e){return(e=(e=mt(e))&&e.root)&&vi(e)}vt=-1<["native","selectorEngine"].indexOf(bt)?bt:void 0,gt.wb=vt,gt.Ra=navigator.userAgent.match("Trident");var xt=Element.prototype,wt=xt.matches||xt.matchesSelector||xt.mozMatchesSelector||xt.msMatchesSelector||xt.oMatchesSelector||xt.webkitMatchesSelector,Tt=document.createTextNode(""),Pt=0,At=[];function Dt(e){At.push(e),Tt.textContent=Pt++}new MutationObserver((function(){for(;At.length;)try{At.shift()()}catch(e){throw Tt.textContent=Pt++,e}})).observe(Tt,{characterData:!0});var kt=document.contains?function(e,t){return e.__shady_native_contains(t)}:function(e,t){return e===t||e.documentElement&&e.documentElement.__shady_native_contains(t)};function Mt(e,t){for(;t;){if(t==e)return!0;t=t.__shady_parentNode}return!1}function Nt(e){for(var t=e.length-1;0<=t;t--){var r=e[t],n=r.getAttribute("id")||r.getAttribute("name");n&&"length"!==n&&isNaN(n)&&(e[n]=r)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var r=o(e),n=r.next();!n.done;n=r.next())if(((n=n.value).getAttribute("id")||n.getAttribute("name"))==t)return n;return null},e}function Ft(e){var t=[];for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)t.push(e);return t}function It(e){var t=[];for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t.push(e);return t}function Ot(e,t,r){if(r.configurable=!0,r.value)e[t]=r.value;else try{Object.defineProperty(e,t,r)}catch(e){}}function Rt(e,t,r,n){for(var i in r=void 0===r?"":r,t)n&&0<=n.indexOf(i)||Ot(e,r+i,t[i])}function Lt(e,t){for(var r in t)r in e&&Ot(e,r,t[r])}function jt(e){var t={};return Object.getOwnPropertyNames(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t}function Bt(e,t){for(var r,n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++)e[r=n[i]]=t[r]}function Vt(e){return e instanceof Node?e:document.createTextNode(""+e)}function zt(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(1===t.length)return Vt(t[0]);r=document.createDocumentFragment();for(var n=(t=o(t)).next();!n.done;n=t.next())r.appendChild(Vt(n.value));return r}function Ht(e){var t;for(t=void 0===t?1:t;0<t;t--)e=e.reduce((function(e,t){return Array.isArray(t)?e.push.apply(e,l(t)):e.push(t),e}),[]);return e}var qt,Gt=[];function Wt(e){qt||(qt=!0,Dt(Ut)),Gt.push(e)}function Ut(){qt=!1;for(var e=!!Gt.length;Gt.length;)Gt.shift()();return e}function $t(){this.g=!1,this.addedNodes=[],this.removedNodes=[],this.qa=new Set}Ut.list=Gt,$t.prototype.flush=function(){if(this.g){this.g=!1;var e=this.takeRecords();e.length&&this.qa.forEach((function(t){t(e)}))}},$t.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Yt=/[&\u00A0"]/g,Zt=/[&\u00A0<>]/g;function Kt(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function Xt(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var Qt=Xt("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Jt=Xt("style script xmp iframe noembed noframes plaintext noscript".split(" "));function er(e,t){"template"===e.localName&&(e=e.content);for(var r="",n=t?t(e):e.childNodes,i=0,a=n.length,s=void 0;i<a&&(s=n[i]);i++){e:{var o=s,l=e,h=t;switch(o.nodeType){case Node.ELEMENT_NODE:for(var c,u="<"+(l=o.localName),d=o.attributes,p=0;c=d[p];p++)u+=" "+c.name+'="'+c.value.replace(Yt,Kt)+'"';u+=">",o=Qt[l]?u:u+er(o,h)+"</"+l+">";break e;case Node.TEXT_NODE:o=o.data,o=l&&Jt[l.localName]?o:o.replace(Zt,Kt);break e;case Node.COMMENT_NODE:o="\x3c!--"+o.data+"--\x3e";break e;default:throw window.console.error(o),Error("not implemented")}}r+=o}return r}var tr=gt.D,rr={querySelector:function(e){return this.__shady_native_querySelector(e)},querySelectorAll:function(e){return this.__shady_native_querySelectorAll(e)}},nr={};function ir(e){nr[e]=function(t){return t["__shady_native_"+e]}}function ar(e,t){for(var r in Rt(e,t,"__shady_native_"),t)ir(r)}function sr(e,t){t=void 0===t?[]:t;for(var r=0;r<t.length;r++){var n=t[r],i=Object.getOwnPropertyDescriptor(e,n);i&&(Object.defineProperty(e,"__shady_native_"+n,i),i.value?rr[n]||(rr[n]=i.value):ir(n))}}var or=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),lr=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1),hr=document.implementation.createHTMLDocument("inert");function cr(e){for(var t;t=e.__shady_native_firstChild;)e.__shady_native_removeChild(t)}var ur=["firstElementChild","lastElementChild","children","childElementCount"],dr=["querySelector","querySelectorAll","append","prepend","replaceChildren"];var pr=jt({get childNodes(){return this.__shady_childNodes},get firstChild(){return this.__shady_firstChild},get lastChild(){return this.__shady_lastChild},get childElementCount(){return this.__shady_childElementCount},get children(){return this.__shady_children},get firstElementChild(){return this.__shady_firstElementChild},get lastElementChild(){return this.__shady_lastElementChild},get shadowRoot(){return this.__shady_shadowRoot}}),fr=jt({get textContent(){return this.__shady_textContent},set textContent(e){this.__shady_textContent=e},get innerHTML(){return this.__shady_innerHTML},set innerHTML(e){this.__shady_innerHTML=e}}),mr=jt({get parentElement(){return this.__shady_parentElement},get parentNode(){return this.__shady_parentNode},get nextSibling(){return this.__shady_nextSibling},get previousSibling(){return this.__shady_previousSibling},get nextElementSibling(){return this.__shady_nextElementSibling},get previousElementSibling(){return this.__shady_previousElementSibling},get className(){return this.__shady_className},set className(e){this.__shady_className=e}});function gr(e){for(var t in e){var r=e[t];r&&(r.enumerable=!1)}}gr(pr),gr(fr),gr(mr);var vr=gt.D||!0===gt.J,yr=vr?function(){}:function(e){var t=ft(e);t.Ta||(t.Ta=!0,Lt(e,mr))},br=vr?function(){}:function(e){var t=ft(e);t.Sa||(t.Sa=!0,Lt(e,pr),window.customElements&&window.customElements.polyfillWrapFlushCallback&&!gt.J||Lt(e,fr))},_r="__eventWrappers"+Date.now(),Er=function(){var e=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return e?function(t){return e.get.call(t)}:null}(),Cr=function(){function e(){}var t=!1,r={get capture(){return t=!0,!1}};return window.addEventListener("test",e,r),window.removeEventListener("test",e,r),t}();function Sr(e){if(null===e||"object"!=typeof e&&"function"!=typeof e)var t=!!e,r=!1;else{t=!!e.capture,r=!!e.once;var n=e.U}return{Pa:n,capture:t,once:r,Na:Cr?e:t}}var xr={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},wr={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Tr(e){return e instanceof Node?e.__shady_getRootNode():e}function Pr(e,t){var r=[],n=e;for(e=Tr(e);n;)r.push(n),n=n.__shady_assignedSlot?n.__shady_assignedSlot:n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host&&(t||n!==e)?n.host:n.__shady_parentNode;return r[r.length-1]===document&&r.push(window),r}function Ar(e,t){if(!Ct)return e;e=Pr(e,!0);for(var r,n,i=0,a=void 0,s=void 0;i<t.length;i++)if((n=Tr(r=t[i]))!==a&&(s=e.indexOf(n),a=n),!Ct(n)||-1<s)return r}var Dr={get composed(){return void 0===this.__composed&&(Er?this.__composed="focusin"===this.type||"focusout"===this.type||Er(this):!1!==this.isTrusted&&(this.__composed=xr[this.type])),this.__composed||!1},composedPath:function(){return this.__composedPath||(this.__composedPath=Pr(this.__target,this.composed)),this.__composedPath},get target(){return Ar(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.__relatedTarget?(this.__relatedTargetComposedPath||(this.__relatedTargetComposedPath=Pr(this.__relatedTarget,!0)),Ar(this.currentTarget||this.__previousCurrentTarget,this.__relatedTargetComposedPath)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ua=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ua=this.__immediatePropagationStopped=!0}},kr=gt.D&&Object.getOwnPropertyDescriptor(Event.prototype,"eventPhase");function Mr(e){function t(t,r){return(t=new e(t,r)).__composed=r&&!!r.composed,t}return t.__proto__=e,t.prototype=e.prototype,t}kr&&(Object.defineProperty(Dr,"eventPhase",{get:function(){return this.currentTarget===this.target?Event.AT_TARGET:this.__shady_native_eventPhase},enumerable:!0,configurable:!0}),Object.defineProperty(Dr,"__shady_native_eventPhase",kr));var Nr={focus:!0,blur:!0};function Fr(e){return e.__target!==e.target||e.__relatedTarget!==e.relatedTarget}function Ir(e,t,r){if(r=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][r])for(var n,i=0;(n=r[i])&&(!Fr(e)||e.target!==e.relatedTarget)&&(n.call(t,e),!e.__immediatePropagationStopped);i++);}var Or=new Event("e").hasOwnProperty("currentTarget");function Rr(e){var t=(e=Or?Object.create(e):e).composedPath(),r=t.map((function(e){return Ar(e,t)})),n=e.bubbles,i=Object.getOwnPropertyDescriptor(e,"currentTarget");Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:function(){return l}});var a=Event.CAPTURING_PHASE,s=Object.getOwnPropertyDescriptor(e,"eventPhase");Object.defineProperty(e,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a}});try{for(var o=t.length-1;0<=o;o--){var l=t[o];if(a=l===r[o]?Event.AT_TARGET:Event.CAPTURING_PHASE,Ir(e,l,"capture"),e.ua)return}for(o=0;o<t.length;o++){var h=(l=t[o])===r[o];if((h||n)&&(a=h?Event.AT_TARGET:Event.BUBBLING_PHASE,Ir(e,l,"bubble"),e.ua))break}}finally{Or||(i?Object.defineProperty(e,"currentTarget",i):delete e.currentTarget,s?Object.defineProperty(e,"eventPhase",s):delete e.eventPhase)}}function Lr(e,t,r,n){for(var i=0;i<e.length;i++){var a=e[i],s=a.type,o=a.capture;if(t===a.node&&r===s&&n===o)return i}return-1}function jr(e){return Ut(),!gt.ha&&this instanceof Node&&!kt(document,this)?(e.__target||Hr(e,this),Rr(e)):this.__shady_native_dispatchEvent(e)}function Br(e,t,r){var n=this,i=Sr(r),a=i.capture,s=i.once,o=i.Pa;if(i=i.Na,t){var l=typeof t;if(("function"===l||"object"===l)&&("object"!==l||t.handleEvent&&"function"==typeof t.handleEvent)){if(wr[e])return this.__shady_native_addEventListener(e,t,i);var h=o||this;if(o=t[_r]){if(-1<Lr(o,h,e,a))return}else t[_r]=[];o=function(i){if(s&&n.__shady_removeEventListener(e,t,r),i.__target||Hr(i),h!==n){var o=Object.getOwnPropertyDescriptor(i,"currentTarget");Object.defineProperty(i,"currentTarget",{get:function(){return h},configurable:!0});var c=Object.getOwnPropertyDescriptor(i,"eventPhase");Object.defineProperty(i,"eventPhase",{configurable:!0,enumerable:!0,get:function(){return a?Event.CAPTURING_PHASE:Event.BUBBLING_PHASE}})}if(i.__previousCurrentTarget=i.currentTarget,(!Ct(h)&&"slot"!==h.localName||-1!=i.composedPath().indexOf(h))&&(i.composed||-1<i.composedPath().indexOf(h)))if(Fr(i)&&i.target===i.relatedTarget)i.eventPhase===Event.BUBBLING_PHASE&&i.stopImmediatePropagation();else if(i.eventPhase===Event.CAPTURING_PHASE||i.bubbles||i.target===h||h instanceof Window){var u="function"===l?t.call(h,i):t.handleEvent&&t.handleEvent(i);return h!==n&&(o?(Object.defineProperty(i,"currentTarget",o),o=null):delete i.currentTarget,c?(Object.defineProperty(i,"eventPhase",c),c=null):delete i.eventPhase),u}},t[_r].push({node:h,type:e,capture:a,ub:o}),this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][a?"capture":"bubble"].push(o),Nr[e]||this.__shady_native_addEventListener(e,o,i)}}}function Vr(e,t,r){if(t){var n=Sr(r);r=n.capture;var i=n.Pa;if(n=n.Na,wr[e])return this.__shady_native_removeEventListener(e,t,n);var a=i||this;i=void 0;var s=null;try{s=t[_r]}catch(e){}s&&(-1<(a=Lr(s,a,e,r))&&(i=s.splice(a,1)[0].ub,s.length||(t[_r]=void 0))),this.__shady_native_removeEventListener(e,i||t,n),i&&this.__handlers&&this.__handlers[e]&&(-1<(t=(e=this.__handlers[e][r?"capture":"bubble"]).indexOf(i))&&e.splice(t,1))}}var zr=jt(Dr);function Hr(e,t){if(t=void 0===t?e.target:t,e.__target=t,e.__relatedTarget=e.relatedTarget,gt.D){if(!(t=Object.getPrototypeOf(e)).hasOwnProperty("__shady_patchedProto")){var r=Object.create(t);r.__shady_sourceProto=t,Rt(r,zr),t.__shady_patchedProto=r}e.__proto__=t.__shady_patchedProto}else Rt(e,zr)}var qr=Mr(Event),Gr=Mr(CustomEvent),Wr=Mr(MouseEvent);var Ur=Object.getOwnPropertyNames(Element.prototype).filter((function(e){return"on"===e.substring(0,2)})),$r=Object.getOwnPropertyNames(HTMLElement.prototype).filter((function(e){return"on"===e.substring(0,2)}));function Yr(e){return{set:function(t){var r=ft(this),n=e.substring(2);r.T||(r.T={}),r.T[e]&&this.removeEventListener(n,r.T[e]),this.__shady_addEventListener(n,t),r.T[e]=t},get:function(){var t=mt(this);return t&&t.T&&t.T[e]},configurable:!0}}function Zr(e,t){return{index:e,ia:[],pa:t}}function Kr(e,t,r,n){var i=0,a=0,s=0,o=0,l=Math.min(t-i,n-a);if(0==i&&0==a)e:{for(s=0;s<l;s++)if(e[s]!==r[s])break e;s=l}if(t==e.length&&n==r.length){o=e.length;for(var h=r.length,c=0;c<l-s&&Xr(e[--o],r[--h]);)c++;o=c}if(a+=s,n-=o,0==(t-=o)-(i+=s)&&0==n-a)return[];if(i==t){for(t=Zr(i,0);a<n;)t.ia.push(r[a++]);return[t]}if(a==n)return[Zr(i,t-i)];for(n=n-(s=a)+1,o=t-(l=i)+1,t=Array(n),h=0;h<n;h++)t[h]=Array(o),t[h][0]=h;for(h=0;h<o;h++)t[0][h]=h;for(h=1;h<n;h++)for(c=1;c<o;c++)if(e[l+c-1]===r[s+h-1])t[h][c]=t[h-1][c-1];else{var u=t[h-1][c]+1,d=t[h][c-1]+1;t[h][c]=u<d?u:d}for(l=t.length-1,s=t[0].length-1,n=t[l][s],e=[];0<l||0<s;)0==l?(e.push(2),s--):0==s?(e.push(3),l--):(o=t[l-1][s-1],(u=(h=t[l-1][s])<(c=t[l][s-1])?h<o?h:o:c<o?c:o)==o?(o==n?e.push(0):(e.push(1),n=o),l--,s--):u==h?(e.push(3),l--,n=h):(e.push(2),s--,n=c));for(e.reverse(),t=void 0,l=[],s=0;s<e.length;s++)switch(e[s]){case 0:t&&(l.push(t),t=void 0),i++,a++;break;case 1:t||(t=Zr(i,0)),t.pa++,i++,t.ia.push(r[a]),a++;break;case 2:t||(t=Zr(i,0)),t.pa++,i++;break;case 3:t||(t=Zr(i,0)),t.ia.push(r[a]),a++}return t&&l.push(t),l}function Xr(e,t){return e===t}var Qr=jt({dispatchEvent:jr,addEventListener:Br,removeEventListener:Vr}),Jr=null;function en(){return Jr||(Jr=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Jr||null}function tn(e,t,r){var n=en();return!(!n||"class"!==t)&&(n.setElementClass(e,r),!0)}function rn(e,t){var r=en();r&&r.unscopeNode(e,t)}function nn(e,t){var r=en();if(!r)return!0;if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(r=!0,e=e.__shady_firstChild;e;e=e.__shady_nextSibling)r=r&&nn(e,t);return r}return e.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(e)===t}function an(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=en();return t?t.currentScopeForNode(e):""}function sn(e,t){if(e)for(e.nodeType===Node.ELEMENT_NODE&&t(e),e=e.__shady_firstChild;e;e=e.__shady_nextSibling)e.nodeType===Node.ELEMENT_NODE&&sn(e,t)}var on=window.document,ln=gt.ha,hn=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),cn=hn&&hn.get;function un(e){for(var t;t=e.__shady_firstChild;)e.__shady_removeChild(t)}function dn(e){var t=mt(e);if(t&&void 0!==t.ta)for(t=e.__shady_firstChild;t;t=t.__shady_nextSibling)dn(t);(e=mt(e))&&(e.ta=void 0)}function pn(e){var t=e;if(e&&"slot"===e.localName){var r=mt(e);(r=r&&r.aa)&&(t=r.length?r[0]:pn(e.__shady_nextSibling))}return t}function fn(e,t,r){if(e=(e=mt(e))&&e.ga){if(t)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(var n=0,i=t.childNodes.length;n<i;n++)e.addedNodes.push(t.childNodes[n]);else e.addedNodes.push(t);r&&e.removedNodes.push(r),function(e){e.g||(e.g=!0,Dt((function(){e.flush()})))}(e)}}var mn=jt({get parentNode(){var e=mt(this);return void 0!==(e=e&&e.parentNode)?e:this.__shady_native_parentNode},get firstChild(){var e=mt(this);return void 0!==(e=e&&e.firstChild)?e:this.__shady_native_firstChild},get lastChild(){var e=mt(this);return void 0!==(e=e&&e.lastChild)?e:this.__shady_native_lastChild},get nextSibling(){var e=mt(this);return void 0!==(e=e&&e.nextSibling)?e:this.__shady_native_nextSibling},get previousSibling(){var e=mt(this);return void 0!==(e=e&&e.previousSibling)?e:this.__shady_native_previousSibling},get childNodes(){if(Et(this)){var e=mt(this);if(!e.childNodes){e.childNodes=[];for(var t=this.__shady_firstChild;t;t=t.__shady_nextSibling)e.childNodes.push(t)}var r=e.childNodes}else r=this.__shady_native_childNodes;return r.item=function(e){return r[e]},r},get parentElement(){var e=mt(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:this.__shady_native_parentElement},get isConnected(){if(cn&&cn.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(null===e||kt(e,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.__shady_parentNode||(Ct(e)?e.host:void 0);return!!(e&&e instanceof Document)},get textContent(){if(Et(this)){for(var e=[],t=this.__shady_firstChild;t;t=t.__shady_nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.__shady_textContent);return e.join("")}return this.__shady_native_textContent},set textContent(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!Et(this)&&gt.D){var t=this.__shady_firstChild;(t!=this.__shady_lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&un(this),this.__shady_native_textContent=e}else un(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_insertBefore(document.createTextNode(e));break;default:this.nodeValue=e}},insertBefore:function(e,t){if(this.ownerDocument!==on&&e.ownerDocument!==on)return this.__shady_native_insertBefore(e,t),e;if(e===this)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(t){var r=mt(t);if(void 0!==(r=r&&r.parentNode)&&r!==this||void 0===r&&t.__shady_native_parentNode!==this)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(t===e)return e;fn(this,e);var n=[],i=(r=Ei(this))?r.host.localName:an(this),a=e.__shady_parentNode;if(a){var s=an(e),o=!!r||!Ei(e)||ln&&void 0!==this.__noInsertionPoint;a.__shady_removeChild(e,o)}a=!0;var h=(!ln||void 0===e.__noInsertionPoint&&void 0===this.__noInsertionPoint)&&!nn(e,i),c=r&&!e.__noInsertionPoint&&(!ln||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE);return(c||h)&&(h&&(s=s||an(e)),sn(e,(function(e){if(c&&"slot"===e.localName&&n.push(e),h){var t=s;en()&&(t&&rn(e,t),(t=en())&&t.scopeNode(e,i))}}))),n.length&&(pi(r),r.i.push.apply(r.i,l(n)),li(r)),Et(this)&&(function(e,t,r){Xn(t,2);var n=ft(t);if(void 0!==n.firstChild&&(n.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)for(e=e.__shady_native_firstChild;e;e=e.__shady_native_nextSibling)Qn(e,t,n,r);else Qn(e,t,n,r)}(e,this,t),(o=mt(this)).root?(a=!1,St(this)&&li(o.root)):r&&"slot"===this.localName&&(a=!1,li(r))),a?(r=Ct(this)?this.host:this,t?(t=pn(t),r.__shady_native_insertBefore(e,t)):r.__shady_native_appendChild(e)):e.ownerDocument!==this.ownerDocument&&this.ownerDocument.adoptNode(e),e},appendChild:function(e){if(this!=e||!Ct(e))return this.__shady_insertBefore(e)},removeChild:function(e,t){if(t=void 0!==t&&t,this.ownerDocument!==on)return this.__shady_native_removeChild(e);if(e.__shady_parentNode!==this)throw Error("The node to be removed is not a child of this node: "+e);fn(this,null,e);var r=Ei(e),n=r&&function(e,t){if(e.g){fi(e);var r,n=e.h;for(r in n)for(var i=n[r],a=0;a<i.length;a++){var s=i[a];if(Mt(t,s)){i.splice(a,1);var o=e.g.indexOf(s);if(0<=o&&(e.g.splice(o,1),(o=mt(s.__shady_parentNode))&&o.ka&&o.ka--),a--,o=(s=mt(s)).aa)for(var l=0;l<o.length;l++){var h=o[l],c=h.__shady_native_parentNode;c&&c.__shady_native_removeChild(h)}s.aa=[],s.assignedNodes=[],o=!0}}return o}}(r,e),i=mt(this);if(Et(this)&&(function(e,t){var r=ft(e);t=ft(t),e===t.firstChild&&(t.firstChild=r.nextSibling),e===t.lastChild&&(t.lastChild=r.previousSibling),e=r.previousSibling;var n=r.nextSibling;e&&(ft(e).nextSibling=n),n&&(ft(n).previousSibling=e),r.parentNode=r.previousSibling=r.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(e,this),St(this))){li(i.root);var a=!0}if(en()&&!t&&r&&e.nodeType!==Node.TEXT_NODE){var s=an(e);sn(e,(function(e){rn(e,s)}))}return dn(e),r&&((t="slot"===this.localName)&&(a=!0),(n||t)&&li(r)),a||(a=Ct(this)?this.host:this,(!i.root&&"slot"!==e.localName||a===e.__shady_native_parentNode)&&a.__shady_native_removeChild(e)),e},replaceChild:function(e,t){return this.__shady_insertBefore(e,t),this.__shady_removeChild(t),e},cloneNode:function(e){if("template"==this.localName)return this.__shady_native_cloneNode(e);var t=this.__shady_native_cloneNode(!1);if(e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.__shady_firstChild;for(var r;e;e=e.__shady_nextSibling)r=e.__shady_cloneNode(!0),t.__shady_appendChild(r)}return t},getRootNode:function(e){if(this&&this.nodeType){var t=ft(this),r=t.ta;return void 0===r&&(Ct(this)?(r=this,t.ta=r):(r=(r=this.__shady_parentNode)?r.__shady_getRootNode(e):this,document.documentElement.__shady_native_contains(this)&&(t.ta=r))),r}},contains:function(e){return Mt(this,e)}}),gn=jt({get assignedSlot(){var e=this.__shady_parentNode;return(e=e&&e.__shady_shadowRoot)&&hi(e),(e=mt(this))&&e.assignedSlot||null}}),vn=new Map;function yn(e,t,r,n){for(n=void 0===n||n;t<e.length;t++)if("\\"===e[t]&&t<e.length-1&&"\n"!==e[t+1])t++;else{if(-1!==r.indexOf(e[t]))return t;if(n&&vn.has(e[t])){var i=vn.get(e[t]);t=yn(e,t+1,[i.end],i.sa)}}return e.length}function bn(e,t,r){var n=[];return _n(e,t,r,n),n}function _n(e,t,r,n){for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling){var i;if(i=e.nodeType===Node.ELEMENT_NODE){var a=t,s=r,o=n,l=a(i=e);l&&o.push(i),s&&s(l)?i=l:(_n(i,a,s,o),i=void 0)}if(i)break}}[["(",{end:")",sa:!0}],["[",{end:"]",sa:!0}],['"',{end:'"',sa:!1}],["'",{end:"'",sa:!1}]].forEach((function(e){var t=o(e);e=t.next().value,t=t.next().value,vn.set(e,t)}));var En={get firstElementChild(){var e=mt(this);if(e&&void 0!==e.firstChild){for(e=this.__shady_firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_firstElementChild},get lastElementChild(){var e=mt(this);if(e&&void 0!==e.lastChild){for(e=this.__shady_lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_lastElementChild},get children(){return Et(this)?Nt(Array.prototype.filter.call(It(this),(function(e){return e.nodeType===Node.ELEMENT_NODE}))):this.__shady_native_children},get childElementCount(){var e=this.__shady_children;return e?e.length:0}},Cn=jt((En.append=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];this.__shady_insertBefore(zt.apply(null,l(t)),null)},En.prepend=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];this.__shady_insertBefore(zt.apply(null,l(t)),this.__shady_firstChild)},En.replaceChildren=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];for(;null!==(r=this.__shady_firstChild);)this.__shady_removeChild(r);this.__shady_insertBefore(zt.apply(null,l(t)),null)},En));function Sn(e,t){function r(t,r){return(t===e||-1===r.indexOf(":scope"))&&wt.call(t,r)}var n=function(e){function t(){if(0<n.length){for(;" "===n[n.length-1];)n.pop();r.push({La:n.filter((function(e,t){return 0==t%2})),Za:n.filter((function(e,t){return 1==t%2}))}),n.length=0}}for(var r=[],n=[],i=0;i<e.length;){var a=n[n.length-1],s=yn(e,i,[","," ",">","+","~"]),o=s===i?e[i]:e.substring(i,s);","===o?t():-1!==[void 0," ",">","+","~"].indexOf(a)&&" "===o||(" "===a&&-1!==[">","+","~"].indexOf(o)?n[n.length-1]=o:n.push(o)),i=s+(s===i?1:0)}return t(),r}(t);if(1>n.length)return[];for(t=Ht(bn(e,(function(){return!0})).map((function(e){return Ht(n.map((function(t){var n=t.La,i=n.length-1;return r(e,n[i])?{target:e,da:t,fa:e,index:i}:[]})))})));t.some((function(e){return 0<e.index}));)t=Ht(t.map((function(e){if(0>=e.index)return e;var t=e.target,n=e.fa,i=e.da;e=e.index-1;var a=i.Za[e],s=i.La[e];if(" "===a){for(a=[],n=n.__shady_parentElement;n;n=n.__shady_parentElement)r(n,s)&&a.push({target:t,da:i,fa:n,index:e});return a}if(">"===a)return r(n=n.__shady_parentElement,s)?{target:t,da:i,fa:n,index:e}:[];if("+"===a)return(n=n.__shady_previousElementSibling)&&r(n,s)?{target:t,da:i,fa:n,index:e}:[];if("~"===a){for(a=[],n=n.__shady_previousElementSibling;n;n=n.__shady_previousElementSibling)r(n,s)&&a.push({target:t,da:i,fa:n,index:e});return a}throw Error("Unrecognized combinator: '"+a+"'.")})));return function(e){for(var t=[],r=new Set,n=(e=o(e)).next();!n.done;n=e.next())n=n.value,r.has(n)||(t.push(n),r.add(n));return t}(t.map((function(e){return e.target})))}var xn=gt.querySelectorImplementation,wn=jt({querySelector:function(e){if("native"===xn){for(var t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e)),r=this.__shady_getRootNode(),n=(t=o(t)).next();!n.done;n=t.next())if((n=n.value).__shady_getRootNode()==r)return n;return null}if("selectorEngine"===xn)return Sn(this,e)[0]||null;if(void 0===xn)return bn(this,(function(t){return wt.call(t,e)}),(function(e){return!!e}))[0]||null;throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+xn+"'")},querySelectorAll:function(e,t){if(t||"native"===xn){t=Array.prototype.slice.call((this instanceof ShadowRoot?this.host:this).__shady_native_querySelectorAll(e));var r=this.__shady_getRootNode();return Nt(t.filter((function(e){return e.__shady_getRootNode()==r})))}if("selectorEngine"===xn)return Nt(Sn(this,e));if(void 0===xn)return Nt(bn(this,(function(t){return wt.call(t,e)})));throw Error("Unrecognized value of ShadyDOM.querySelectorImplementation: '"+xn+"'")}}),Tn=gt.ha&&!gt.J?Bt({},Cn):Cn;Bt(Cn,wn);var Pn=jt({after:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var n=this.__shady_nextSibling;r.__shady_insertBefore(zt.apply(null,l(t)),n)}},before:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];null!==(r=this.__shady_parentNode)&&r.__shady_insertBefore(zt.apply(null,l(t)),this)},remove:function(){var e=this.__shady_parentNode;null!==e&&e.__shady_removeChild(this)},replaceWith:function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];if(null!==(r=this.__shady_parentNode)){var n=this.__shady_nextSibling;r.__shady_removeChild(this),r.__shady_insertBefore(zt.apply(null,l(t)),n)}}}),An=window.document;function Dn(e,t){if("slot"===t)St(e=e.__shady_parentNode)&&li(mt(e).root);else if("slot"===e.localName&&"name"===t&&(t=Ei(e))){if(t.g){fi(t);var r=e.Ua,n=mi(e);if(n!==r){var i=(r=t.h[r]).indexOf(e);0<=i&&r.splice(i,1),(r=t.h[n]||(t.h[n]=[])).push(e),1<r.length&&(t.h[n]=gi(r))}}li(t)}}var kn=jt({get previousElementSibling(){var e=mt(this);if(e&&void 0!==e.previousSibling){for(e=this.__shady_previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_previousSibling;return e}return this.__shady_native_previousElementSibling},get nextElementSibling(){var e=mt(this);if(e&&void 0!==e.nextSibling){for(e=this.__shady_nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.__shady_nextSibling;return e}return this.__shady_native_nextElementSibling},get slot(){return this.getAttribute("slot")},set slot(e){this.__shady_setAttribute("slot",e)},get className(){return this.getAttribute("class")||""},set className(e){this.__shady_setAttribute("class",e)},setAttribute:function(e,t){this.ownerDocument!==An?this.__shady_native_setAttribute(e,t):tn(this,e,t)||(this.__shady_native_setAttribute(e,t),Dn(this,e))},removeAttribute:function(e){this.ownerDocument!==An?this.__shady_native_removeAttribute(e):tn(this,e,"")?""===this.getAttribute(e)&&this.__shady_native_removeAttribute(e):(this.__shady_native_removeAttribute(e),Dn(this,e))},toggleAttribute:function(e,t){return this.ownerDocument!==An?this.__shady_native_toggleAttribute(e,t):tn(this,e,"")?""!==this.getAttribute(e)||t?void 0:this.__shady_native_toggleAttribute(e,t):(t=this.__shady_native_toggleAttribute(e,t),Dn(this,e),t)}});gt.ha||Ur.forEach((function(e){kn[e]=Yr(e)}));var Mn=jt({attachShadow:function(e){if(!this)throw Error("Must provide a host.");if(!e)throw Error("Not enough arguments.");if(e.shadyUpgradeFragment&&!gt.Ra){var t=e.shadyUpgradeFragment;if(t.__proto__=ShadowRoot.prototype,oi(t,this,e),Jn(t,t),e=t.__noInsertionPoint?null:t.querySelectorAll("slot"),t.__noInsertionPoint=void 0,e&&e.length){var r=t;pi(r),r.i.push.apply(r.i,l(e)),li(t)}t.host.__shady_native_appendChild(t)}else t=new si(ni,this,e);return this.__CE_shadowRoot=t},get shadowRoot(){var e=mt(this);return e&&e.lb||null}});Bt(kn,Mn);var Nn=document.implementation.createHTMLDocument("inert"),Fn=jt({get innerHTML(){return Et(this)?er("template"===this.localName?this.content:this,It):this.__shady_native_innerHTML},set innerHTML(e){if("template"===this.localName)this.__shady_native_innerHTML=e;else{un(this);var t=this.localName||"div";for(t=this.namespaceURI&&this.namespaceURI!==Nn.namespaceURI?Nn.createElementNS(this.namespaceURI,t):Nn.createElement(t),gt.D?t.__shady_native_innerHTML=e:t.innerHTML=e;e=t.__shady_firstChild;)this.__shady_insertBefore(e)}}}),In=jt({blur:function(){var e=mt(this);(e=(e=e&&e.root)&&e.activeElement)?e.__shady_blur():this.__shady_native_blur()}});gt.ha||$r.forEach((function(e){In[e]=Yr(e)}));var On=jt({assignedNodes:function(e){if("slot"===this.localName){var t=this.__shady_getRootNode();return t&&Ct(t)&&hi(t),(t=mt(this))&&(e&&e.flatten?t.aa:t.assignedNodes)||[]}},addEventListener:function(e,t,r){if("slot"!==this.localName||"slotchange"===e)Br.call(this,e,t,r);else{"object"!=typeof r&&(r={capture:!!r});var n=this.__shady_parentNode;if(!n)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,n.__shady_addEventListener(e,t,r)}},removeEventListener:function(e,t,r){if("slot"!==this.localName||"slotchange"===e)Vr.call(this,e,t,r);else{"object"!=typeof r&&(r={capture:!!r});var n=this.__shady_parentNode;if(!n)throw Error("ShadyDOM cannot attach event to slot unless it has a `parentNode`");r.U=this,n.__shady_removeEventListener(e,t,r)}}}),Rn=jt({getElementById:function(e){return""===e?null:bn(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}});function Ln(e,t){for(var r;t&&!e.has(r=t.__shady_getRootNode());)t=r.host;return t}var jn="__shady_native_"+_t(),Bn=jt({get activeElement(){var e=gt.D?document.__shady_native_activeElement:document.activeElement;if(!e||!e.nodeType)return null;var t=!!Ct(this);if(!(this===document||t&&this.host!==e&&this.host.__shady_native_contains(e)))return null;for(t=Ei(e);t&&t!==this;)t=Ei(e=t.host);return this===document?t?null:e:t===this?e:null},elementsFromPoint:function(e,t){if(e=document[jn](e,t),this===document&&gt.useNativeDocumentEFP)return e;e=[].slice.call(e),t=function(e){var t=new Set;for(t.add(e);Ct(e)&&e.host;)e=e.host.__shady_getRootNode(),t.add(e);return t}(this);for(var r=new Set,n=0;n<e.length;n++)r.add(Ln(t,e[n]));var i=[];return r.forEach((function(e){return i.push(e)})),i},elementFromPoint:function(e,t){return this===document&&gt.useNativeDocumentEFP?this.__shady_native_elementFromPoint(e,t):this.__shady_elementsFromPoint(e,t)[0]||null}}),Vn=window.document,zn=jt({importNode:function(e,t){if(e.ownerDocument!==Vn||"template"===e.localName)return this.__shady_native_importNode(e,t);var r=this.__shady_native_importNode(e,!1);if(t)for(e=e.__shady_firstChild;e;e=e.__shady_nextSibling)t=this.__shady_importNode(e,!0),r.__shady_appendChild(t);return r}}),Hn=jt({dispatchEvent:jr,addEventListener:Br.bind(window),removeEventListener:Vr.bind(window)}),qn={};Object.getOwnPropertyDescriptor(HTMLElement.prototype,"parentElement")&&(qn.parentElement=mn.parentElement),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"contains")&&(qn.contains=mn.contains),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"children")&&(qn.children=Cn.children),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML")&&(qn.innerHTML=Fn.innerHTML),Object.getOwnPropertyDescriptor(HTMLElement.prototype,"className")&&(qn.className=kn.className);var Gn={EventTarget:[Qr],Node:[mn,window.EventTarget?null:Qr],Text:[gn],Comment:[gn],CDATASection:[gn],ProcessingInstruction:[gn],Element:[kn,Cn,Pn,gn,!gt.D||"innerHTML"in Element.prototype?Fn:null,window.HTMLSlotElement?null:On],HTMLElement:[In,qn],HTMLSlotElement:[On],DocumentFragment:[Tn,Rn],Document:[zn,Tn,Rn,Bn],Window:[Hn],CharacterData:[Pn],XMLHttpRequest:[window.EventTarget?null:Qr]},Wn=gt.D?null:["innerHTML","textContent"];function Un(e,t,r,n){t.forEach((function(t){return e&&t&&Rt(e,t,r,n)}))}function $n(e){var t,r=e?null:Wn;for(t in Gn)Un(window[t]&&window[t].prototype,Gn[t],e,r)}function Yn(e){return e.__shady_protoIsPatched=!0,Un(e,Gn.EventTarget),Un(e,Gn.Node),Un(e,Gn.Element),Un(e,Gn.HTMLElement),Un(e,Gn.HTMLSlotElement),e}["Text","Comment","CDATASection","ProcessingInstruction"].forEach((function(e){var t=window[e],r=Object.create(t.prototype);r.__shady_protoIsPatched=!0,Un(r,Gn.EventTarget),Un(r,Gn.Node),Gn[e]&&Un(r,Gn[e]),t.prototype.__shady_patchedProto=r}));var Zn=gt.Da,Kn=gt.D;function Xn(e,t){if(Zn&&!e.__shady_protoIsPatched&&!Ct(e)){var r=Object.getPrototypeOf(e),n=r.hasOwnProperty("__shady_patchedProto")&&r.__shady_patchedProto;n||(Yn(n=Object.create(r)),r.__shady_patchedProto=n),Object.setPrototypeOf(e,n)}Kn||(1===t?yr(e):2===t&&br(e))}function Qn(e,t,r,n){Xn(e,1),n=n||null;var i=ft(e),a=n?ft(n):null;i.previousSibling=n?a.previousSibling:t.__shady_lastChild,(a=mt(i.previousSibling))&&(a.nextSibling=e),(a=mt(i.nextSibling=n))&&(a.previousSibling=e),i.parentNode=t,n?n===r.firstChild&&(r.firstChild=e):(r.lastChild=e,r.firstChild||(r.firstChild=e)),r.childNodes=null}function Jn(e,t){var r=ft(e);if(t||void 0===r.firstChild){r.childNodes=null;var n=r.firstChild=e.__shady_native_firstChild;for(r.lastChild=e.__shady_native_lastChild,Xn(e,2),r=n,n=void 0;r;r=r.__shady_native_nextSibling){var i=ft(r);i.parentNode=t||e,i.nextSibling=r.__shady_native_nextSibling,i.previousSibling=n||null,n=r,Xn(r,1)}}}var ei=jt({addEventListener:function(e,t,r){"object"!=typeof r&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_addEventListener(e,t,r)},removeEventListener:function(e,t,r){"object"!=typeof r&&(r={capture:!!r}),r.U=r.U||this,this.host.__shady_removeEventListener(e,t,r)}});function ti(e,t){Rt(e,ei,t),Rt(e,Bn,t),Rt(e,Fn,t),Rt(e,Cn,t),gt.J&&!t?(Rt(e,mn,t),Rt(e,Rn,t)):gt.D||(Rt(e,mr),Rt(e,pr),Rt(e,fr))}var ri,ni={},ii=gt.deferConnectionCallbacks&&"loading"===document.readyState;function ai(e){var t=[];do{t.unshift(e)}while(e=e.__shady_parentNode);return t}function si(e,t,r){if(e!==ni)throw new TypeError("Illegal constructor");this.g=null,oi(this,t,r)}function oi(e,t,r){if(e.host=t,e.mode=r&&r.mode,Jn(e.host),(t=ft(e.host)).root=e,t.lb="closed"!==e.mode?e:null,(t=ft(e)).firstChild=t.lastChild=t.parentNode=t.nextSibling=t.previousSibling=null,gt.preferPerformance)for(;t=e.host.__shady_native_firstChild;)e.host.__shady_native_removeChild(t);else li(e)}function li(e){e.Y||(e.Y=!0,Wt((function(){return hi(e)})))}function hi(e){var t;if(t=e.Y){for(var r;e;)e.Y&&(r=e),Ct(e=(t=e).host.__shady_getRootNode())&&(t=mt(t.host))&&0<t.ka||
vendor: 12,678 bytes, line 10
10(e=void 0);t=r}(r=t)&&r._renderSelf()}function ci(e,t,r){var n=ft(t),i=n.xa;n.xa=null,r||(r=(e=e.h[t.__shady_slot||"__catchall"])&&e[0]),r?(ft(r).assignedNodes.push(t),n.assignedSlot=r):n.assignedSlot=void 0,i!==n.assignedSlot&&n.assignedSlot&&(ft(n.assignedSlot).Aa=!0)}function ui(e,t,r){for(var n=0,i=void 0;n<r.length&&(i=r[n]);n++)if("slot"==i.localName){var a=mt(i).assignedNodes;a&&a.length&&ui(e,t,a)}else t.push(r[n])}function di(e,t){t.__shady_native_dispatchEvent(new Event("slotchange")),(t=mt(t)).assignedSlot&&di(e,t.assignedSlot)}function pi(e){e.i=e.i||[],e.g=e.g||[],e.h=e.h||{}}function fi(e){if(e.i&&e.i.length){for(var t,r=e.i,n=0;n<r.length;n++){var i=r[n];Jn(i);var a=i.__shady_parentNode;Jn(a),(a=mt(a)).ka=(a.ka||0)+1,a=mi(i),e.h[a]?((t=t||{})[a]=!0,e.h[a].push(i)):e.h[a]=[i],e.g.push(i)}if(t)for(var s in t)e.h[s]=gi(e.h[s]);e.i=[]}}function mi(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Ua=t}function gi(e){return e.sort((function(e,t){e=ai(e);for(var r=ai(t),n=0;n<e.length;n++){t=e[n];var i=r[n];if(t!==i)return(e=It(t.__shady_parentNode)).indexOf(t)-e.indexOf(i)}}))}function vi(e){return fi(e),!(!e.g||!e.g.length)}if(si.prototype._renderSelf=function(){var e=ii;if(ii=!0,this.Y=!1,this.g){fi(this);for(var t,r=0;r<this.g.length;r++){var n=mt(t=this.g[r]),i=n.assignedNodes;if(n.assignedNodes=[],n.aa=[],n.Ja=i)for(n=0;n<i.length;n++){var a=mt(i[n]);a.xa=a.assignedSlot,a.assignedSlot===t&&(a.assignedSlot=null)}}for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)ci(this,r);for(r=0;r<this.g.length;r++){if(!(i=mt(t=this.g[r])).assignedNodes.length)for(n=t.__shady_firstChild;n;n=n.__shady_nextSibling)ci(this,n,t);if((n=(n=mt(t.__shady_parentNode))&&n.root)&&(vi(n)||n.Y)&&n._renderSelf(),ui(this,i.aa,i.assignedNodes),n=i.Ja){for(a=0;a<n.length;a++)mt(n[a]).xa=null;i.Ja=null,n.length>i.assignedNodes.length&&(i.Aa=!0)}i.Aa&&(i.Aa=!1,di(this,t))}for(t=this.g,r=[],i=0;i<t.length;i++)(a=mt(n=t[i].__shady_parentNode))&&a.root||!(0>r.indexOf(n))||r.push(n);for(t=0;t<r.length;t++){for(i=(a=r[t])===this?this.host:a,n=[],a=a.__shady_firstChild;a;a=a.__shady_nextSibling)if("slot"==a.localName)for(var s=mt(a).aa,o=0;o<s.length;o++)n.push(s[o]);else n.push(a);a=Ft(i),s=Kr(n,n.length,a,a.length);for(var l=o=0,h=void 0;o<s.length&&(h=s[o]);o++){for(var c=0,u=void 0;c<h.ia.length&&(u=h.ia[c]);c++)u.__shady_native_parentNode===i&&i.__shady_native_removeChild(u),a.splice(h.index+l,1);l-=h.pa}for(l=0,h=void 0;l<s.length&&(h=s[l]);l++)for(o=a[h.index],c=h.index;c<h.index+h.pa;c++)u=n[c],i.__shady_native_insertBefore(u,o),a.splice(c,0,u)}}if(!gt.preferPerformance&&!this.Ia)for(r=this.host.__shady_firstChild;r;r=r.__shady_nextSibling)t=mt(r),r.__shady_native_parentNode!==this.host||"slot"!==r.localName&&t.assignedSlot||this.host.__shady_native_removeChild(r);this.Ia=!0,ii=e,ri&&ri()},function(e){e.__proto__=DocumentFragment.prototype,ti(e,"__shady_"),ti(e),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(si.prototype),window.customElements&&window.customElements.define&&gt.Ba&&!gt.preferPerformance){var yi=new Map;ri=function(){var e=[];yi.forEach((function(t,r){e.push([r,t])})),yi.clear();for(var t=0;t<e.length;t++){var r=e[t][0];e[t][1]?r.__shadydom_connectedCallback():r.__shadydom_disconnectedCallback()}},ii&&document.addEventListener("readystatechange",(function(){ii=!1,ri()}),{once:!0});var bi=window.customElements.define,_i=function(e,t){var r=t.prototype.connectedCallback,n=t.prototype.disconnectedCallback;bi.call(window.customElements,e,function(e,t,r){var n=0,i="__isConnected"+n++;return(t||r)&&(e.prototype.connectedCallback=e.prototype.__shadydom_connectedCallback=function(){ii?yi.set(this,!0):this[i]||(this[i]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.__shadydom_disconnectedCallback=function(){ii?this.isConnected||yi.set(this,!1):this[i]&&(this[i]=!1,r&&r.call(this))}),e}(t,r,n)),t.prototype.connectedCallback=r,t.prototype.disconnectedCallback=n};window.customElements.define=_i,Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:_i,configurable:!0})}function Ei(e){if(Ct(e=e.__shady_getRootNode()))return e}function Ci(e){this.node=e}function Si(e){Object.defineProperty(Ci.prototype,e,{get:function(){return this.node["__shady_"+e]},set:function(t){this.node["__shady_"+e]=t},configurable:!0})}(e=Ci.prototype).addEventListener=function(e,t,r){return this.node.__shady_addEventListener(e,t,r)},e.removeEventListener=function(e,t,r){return this.node.__shady_removeEventListener(e,t,r)},e.appendChild=function(e){return this.node.__shady_appendChild(e)},e.insertBefore=function(e,t){return this.node.__shady_insertBefore(e,t)},e.removeChild=function(e){return this.node.__shady_removeChild(e)},e.replaceChild=function(e,t){return this.node.__shady_replaceChild(e,t)},e.cloneNode=function(e){return this.node.__shady_cloneNode(e)},e.getRootNode=function(e){return this.node.__shady_getRootNode(e)},e.contains=function(e){return this.node.__shady_contains(e)},e.dispatchEvent=function(e){return this.node.__shady_dispatchEvent(e)},e.setAttribute=function(e,t){this.node.__shady_setAttribute(e,t)},e.getAttribute=function(e){return this.node.__shady_native_getAttribute(e)},e.hasAttribute=function(e){return this.node.__shady_native_hasAttribute(e)},e.removeAttribute=function(e){this.node.__shady_removeAttribute(e)},e.toggleAttribute=function(e,t){return this.node.__shady_toggleAttribute(e,t)},e.attachShadow=function(e){return this.node.__shady_attachShadow(e)},e.focus=function(){this.node.__shady_native_focus()},e.blur=function(){this.node.__shady_blur()},e.importNode=function(e,t){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_importNode(e,t)},e.getElementById=function(e){if(this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_getElementById(e)},e.elementsFromPoint=function(e,t){return this.node.__shady_elementsFromPoint(e,t)},e.elementFromPoint=function(e,t){return this.node.__shady_elementFromPoint(e,t)},e.querySelector=function(e){return this.node.__shady_querySelector(e)},e.querySelectorAll=function(e,t){return this.node.__shady_querySelectorAll(e,t)},e.assignedNodes=function(e){if("slot"===this.node.localName)return this.node.__shady_assignedNodes(e)},e.append=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];return this.node.__shady_append.apply(this.node,l(t))},e.prepend=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];return this.node.__shady_prepend.apply(this.node,l(t))},e.after=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];return this.node.__shady_after.apply(this.node,l(t))},e.before=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];return this.node.__shady_before.apply(this.node,l(t))},e.remove=function(){return this.node.__shady_remove()},e.replaceWith=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];return this.node.__shady_replaceWith.apply(this.node,l(t))},i.Object.defineProperties(Ci.prototype,{activeElement:{configurable:!0,enumerable:!0,get:function(){if(Ct(this.node)||this.node.nodeType===Node.DOCUMENT_NODE)return this.node.__shady_activeElement}},_activeElement:{configurable:!0,enumerable:!0,get:function(){return this.activeElement}},host:{configurable:!0,enumerable:!0,get:function(){if(Ct(this.node))return this.node.host}},parentNode:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentNode}},firstChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstChild}},lastChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastChild}},nextSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextSibling}},previousSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousSibling}},childNodes:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childNodes}},parentElement:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_parentElement}},firstElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_firstElementChild}},lastElementChild:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_lastElementChild}},nextElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_nextElementSibling}},previousElementSibling:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_previousElementSibling}},children:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_children}},childElementCount:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_childElementCount}},shadowRoot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_shadowRoot}},assignedSlot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_assignedSlot}},isConnected:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_isConnected}},innerHTML:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_innerHTML},set:function(e){this.node.__shady_innerHTML=e}},textContent:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_textContent},set:function(e){this.node.__shady_textContent=e}},slot:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_slot},set:function(e){this.node.__shady_slot=e}},className:{configurable:!0,enumerable:!0,get:function(){return this.node.__shady_className},set:function(e){this.node.__shady_className=e}}}),Ur.forEach((function(e){return Si(e)})),$r.forEach((function(e){return Si(e)}));var xi=new WeakMap;function wi(e){if(Ct(e)||e instanceof Ci)return e;var t=xi.get(e);return t||(t=new Ci(e),xi.set(e,t)),t}if(gt.Ba){var Ti=gt.D?function(e){return e}:function(e){return br(e),yr(e),e},Pi={inUse:gt.Ba,patch:Ti,isShadyRoot:Ct,enqueue:Wt,flush:Ut,flushInitial:function(e){!e.Ia&&e.Y&&hi(e)},settings:gt,filterMutations:function(e,t){var r=t.getRootNode();return e.map((function(e){var t=r===e.target.getRootNode();if(t&&e.addedNodes){if(t=[].slice.call(e.addedNodes).filter((function(e){return r===e.getRootNode()})),t.length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var r=ft(e);r.ga||(r.ga=new $t),r.ga.qa.add(t);var n=r.ga;return{Va:t,X:n,Wa:e,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.X;t&&(t.qa.delete(e.Va),t.qa.size||(ft(e.Wa).ga=null))},deferConnectionCallbacks:gt.deferConnectionCallbacks,preferPerformance:gt.preferPerformance,handlesDynamicScoping:!0,wrap:gt.J?wi:Ti,wrapIfNeeded:!0===gt.J?wi:function(e){return e},Wrapper:Ci,composedPath:function(e){return e.__composedPath||(e.__composedPath=Pr(e.target,!0)),e.__composedPath},noPatch:gt.J,patchOnDemand:gt.Da,nativeMethods:rr,nativeTree:nr,patchElementProto:Yn,querySelectorImplementation:gt.querySelectorImplementation};window.ShadyDOM=Pi,function(){var e=["dispatchEvent","addEventListener","removeEventListener"];window.EventTarget?(sr(window.EventTarget.prototype,e),void 0===window.__shady_native_addEventListener&&sr(Window.prototype,e)):(sr(Node.prototype,e),sr(Window.prototype,e),sr(XMLHttpRequest.prototype,e)),tr?sr(Node.prototype,"parentNode firstChild lastChild previousSibling nextSibling childNodes parentElement textContent".split(" ")):ar(Node.prototype,{parentNode:{get:function(){return or.currentNode=this,or.parentNode()}},firstChild:{get:function(){return or.currentNode=this,or.firstChild()}},lastChild:{get:function(){return or.currentNode=this,or.lastChild()}},previousSibling:{get:function(){return or.currentNode=this,or.previousSibling()}},nextSibling:{get:function(){return or.currentNode=this,or.nextSibling()}},childNodes:{get:function(){var e=[];or.currentNode=this;for(var t=or.firstChild();t;)e.push(t),t=or.nextSibling();return e}},parentElement:{get:function(){return lr.currentNode=this,lr.parentNode()}},textContent:{get:function(){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(var e,t=document.createTreeWalker(this,NodeFilter.SHOW_TEXT,null,!1),r="";e=t.nextNode();)r+=e.nodeValue;return r;default:return this.nodeValue}}
vendor: 10,551 bytes, line 10
10,set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:cr(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.__shady_native_insertBefore(document.createTextNode(e),void 0);break;default:this.nodeValue=e}}}}),sr(Node.prototype,"appendChild insertBefore removeChild replaceChild cloneNode contains".split(" ")),sr(HTMLElement.prototype,["parentElement","contains"]),e={firstElementChild:{get:function(){return lr.currentNode=this,lr.firstChild()}},lastElementChild:{get:function(){return lr.currentNode=this,lr.lastChild()}},children:{get:function(){var e=[];lr.currentNode=this;for(var t=lr.firstChild();t;)e.push(t),t=lr.nextSibling();return Nt(e)}},childElementCount:{get:function(){return this.children?this.children.length:0}}},tr?(sr(Element.prototype,ur),sr(Element.prototype,["previousElementSibling","nextElementSibling","innerHTML","className"]),sr(HTMLElement.prototype,["children","innerHTML","className"])):(ar(Element.prototype,e),ar(Element.prototype,{previousElementSibling:{get:function(){return lr.currentNode=this,lr.previousSibling()}},nextElementSibling:{get:function(){return lr.currentNode=this,lr.nextSibling()}},innerHTML:{get:function(){return er(this,Ft)},set:function(e){var t="template"===this.localName?this.content:this;cr(t);var r=this.localName||"div";for((r=this.namespaceURI&&this.namespaceURI!==hr.namespaceURI?hr.createElementNS(this.namespaceURI,r):hr.createElement(r)).innerHTML=e,e="template"===this.localName?r.content:r;r=e.__shady_native_firstChild;)t.__shady_native_insertBefore(r,void 0)}},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)}}})),sr(Element.prototype,"setAttribute getAttribute hasAttribute removeAttribute toggleAttribute focus blur".split(" ")),sr(Element.prototype,dr),sr(HTMLElement.prototype,["focus","blur"]),window.HTMLTemplateElement&&sr(window.HTMLTemplateElement.prototype,["innerHTML"]),tr?sr(DocumentFragment.prototype,ur):ar(DocumentFragment.prototype,e),sr(DocumentFragment.prototype,dr),tr?(sr(Document.prototype,ur),sr(Document.prototype,["activeElement"])):ar(Document.prototype,e),sr(Document.prototype,["importNode","getElementById","elementFromPoint",_t()]),sr(Document.prototype,dr)}(),$n("__shady_"),Object.defineProperty(document,"_activeElement",Bn.activeElement),Rt(Window.prototype,Hn,"__shady_"),gt.J?gt.Da&&Rt(Element.prototype,Mn):($n(),function(){if(!Er&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.__shady_dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}()),function(){for(var e in Nr)window.__shady_native_addEventListener(e,(function(e){e.__target||(Hr(e),Rr(e))}),!0)}(),window.Event=qr,window.CustomEvent=Gr,window.MouseEvent=Wr,window.ShadowRoot=si}var Ai=window.Document.prototype.createElement,Di=window.Document.prototype.createElementNS,ki=window.Document.prototype.importNode,Mi=window.Document.prototype.prepend,Ni=window.Document.prototype.append,Fi=window.DocumentFragment.prototype.prepend,Ii=window.DocumentFragment.prototype.append,Oi=window.Node.prototype.cloneNode,Ri=window.Node.prototype.appendChild,Li=window.Node.prototype.insertBefore,ji=window.Node.prototype.removeChild,Bi=window.Node.prototype.replaceChild,Vi=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),zi=window.Element.prototype.attachShadow,Hi=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),qi=window.Element.prototype.getAttribute,Gi=window.Element.prototype.setAttribute,Wi=window.Element.prototype.removeAttribute,Ui=window.Element.prototype.toggleAttribute,$i=window.Element.prototype.getAttributeNS,Yi=window.Element.prototype.setAttributeNS,Zi=window.Element.prototype.removeAttributeNS,Ki=window.Element.prototype.insertAdjacentElement,Xi=window.Element.prototype.insertAdjacentHTML,Qi=window.Element.prototype.prepend,Ji=window.Element.prototype.append,ea=window.Element.prototype.before,ta=window.Element.prototype.after,ra=window.Element.prototype.replaceWith,na=window.Element.prototype.remove,ia=window.HTMLElement,aa=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),sa=window.HTMLElement.prototype.insertAdjacentElement,oa=window.HTMLElement.prototype.insertAdjacentHTML,la=new Set;function ha(e){var t=la.has(e);return e=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(e),!t&&e}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(e){return la.add(e)}));var ca=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function ua(e){var t=e.isConnected;if(void 0!==t)return t;if(ca(e))return!0;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function da(e){var t=e.children;if(t)return Array.prototype.slice.call(t);for(t=[],e=e.firstChild;e;e=e.nextSibling)e.nodeType===Node.ELEMENT_NODE&&t.push(e);return t}function pa(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function fa(e,t,r){for(var n=e;n;){if(n.nodeType===Node.ELEMENT_NODE){var i=n;t(i);var a=i.localName;if("link"===a&&"import"===i.getAttribute("rel")){if(n=i.import,void 0===r&&(r=new Set),n instanceof Node&&!r.has(n))for(r.add(n),n=n.firstChild;n;n=n.nextSibling)fa(n,t,r);n=pa(e,i);continue}if("template"===a){n=pa(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)fa(i,t,r)}n=n.firstChild?n.firstChild:pa(e,n)}}function ma(){var e=!(null==Ra||!Ra.noDocumentConstructionObserver),t=!(null==Ra||!Ra.shadyDomFastWalk);this.ca=[],this.g=[],this.W=!1,this.shadyDomFastWalk=t,this.sb=!e}function ga(e,t,r,n){var i=window.ShadyDOM;if(e.shadyDomFastWalk&&i&&i.inUse){if(t.nodeType===Node.ELEMENT_NODE&&r(t),t.querySelectorAll)for(e=i.nativeMethods.querySelectorAll.call(t,"*"),t=0;t<e.length;t++)r(e[t])}else fa(t,r,n)}function va(e,t){e.W&&ga(e,t,(function(t){return ya(e,t)}))}function ya(e,t){if(e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](t);for(r=0;r<e.g.length;r++)e.g[r](t)}}function ba(e,t){var r=[];for(ga(e,t,(function(e){return r.push(e)})),t=0;t<r.length;t++){var n=r[t];1===n.__CE_state?e.connectedCallback(n):Ca(e,n)}}function _a(e,t){var r=[];for(ga(e,t,(function(e){return r.push(e)})),t=0;t<r.length;t++){var n=r[t];1===n.__CE_state&&e.disconnectedCallback(n)}}function Ea(e,t,r){var n=(r=void 0===r?{}:r).tb,i=r.upgrade||function(t){return Ca(e,t)},a=[];for(ga(e,t,(function(t){if(e.W&&ya(e,t),"link"===t.localName&&"import"===t.getAttribute("rel")){var r=t.import;r instanceof Node&&(r.__CE_isImportDocument=!0,r.__CE_registry=document.__CE_registry),r&&"complete"===r.readyState?r.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var r=t.import;if(!r.__CE_documentLoadHandled){r.__CE_documentLoadHandled=!0;var a=new Set;n&&(n.forEach((function(e){return a.add(e)})),a.delete(r)),Ea(e,r,{tb:a,upgrade:i})}}))}else a.push(t)}),n),t=0;t<a.length;t++)i(a[t])}function Ca(e,t){try{var r=t.ownerDocument,n=r.__CE_registry,i=n&&(r.defaultView||r.__CE_isImportDocument)?Na(n,t.localName):void 0;if(i&&void 0===t.__CE_state){i.constructionStack.push(t);try{try{if(new i.constructorFunction!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{i.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=i,i.attributeChangedCallback&&t.hasAttributes()){var a=i.observedAttributes;for(i=0;i<a.length;i++){var s=a[i],o=t.getAttribute(s);null!==o&&e.attributeChangedCallback(t,s,null,o,null)}}ua(t)&&e.connectedCallback(t)}}catch(e){xa(e)}}function Sa(e,t,r,n){var i=t.__CE_registry;if(i&&(null===n||"http://www.w3.org/1999/xhtml"===n)&&(i=Na(i,r)))try{var a=new i.constructorFunction;if(void 0===a.__CE_state||void 0===a.__CE_definition)throw Error("Failed to construct '"+r+"': The returned value was not constructed with the HTMLElement constructor.");if("http://www.w3.org/1999/xhtml"!==a.namespaceURI)throw Error("Failed to construct '"+r+"': The constructed element's namespace must be the HTML namespace.");if(a.hasAttributes())throw Error("Failed to construct '"+r+"': The constructed element must not have any attributes.");if(null!==a.firstChild)throw Error("Failed to construct '"+r+"': The constructed element must not have any children.");if(null!==a.parentNode)throw Error("Failed to construct '"+r+"': The constructed element must not have a parent node.");if(a.ownerDocument!==t)throw Error("Failed to construct '"+r+"': The constructed element's owner document is incorrect.");if(a.localName!==r)throw Error("Failed to construct '"+r+"': The constructed element's local name is incorrect.");return a}catch(i){return xa(i),t=null===n?Ai.call(t,r):Di.call(t,n,r),Object.setPrototypeOf(t,HTMLUnknownElement.prototype),t.__CE_state=2,t.__CE_definition=void 0,ya(e,t),t}return ya(e,t=null===n?Ai.call(t,r):Di.call(t,n,r)),t}function xa(e){var t="",r="",n=0,i=0;e instanceof Error?(t=e.message,r=e.sourceURL||e.fileName||"",n=e.line||e.lineNumber||0,i=e.column||e.columnNumber||0):t="Uncaught "+String(e);var a=void 0;void 0===ErrorEvent.prototype.initErrorEvent?a=new ErrorEvent("error",{cancelable:!0,message:t,filename:r,lineno:n,colno:i,error:e}):((a=document.createEvent("ErrorEvent")).initErrorEvent("error",!1,!0,t,r,n),a.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{configurable:!0,get:function(){return!0}})}),void 0===a.error&&Object.defineProperty(a,"error",{configurable:!0,enumerable:!0,get:function(){return e}}),window.dispatchEvent(a),a.defaultPrevented||console.error(e)}function wa(){var e=this;this.I=void 0,this.Ka=new Promise((function(t){e.g=t}))}function Ta(e){var t=document;this.X=void 0,this.S=e,this.g=t,Ea(this.S,this.g),"loading"===this.g.readyState&&(this.X=new MutationObserver(this.h.bind(this)),this.X.observe(this.g,{childList:!0,subtree:!0}))}function Pa(e){e.X&&e.X.disconnect()}function Aa(e){this.ma=new Map,this.na=new Map,this.Fa=new Map,this.wa=!1,this.za=new Map,this.la=function(e){return e()},this.V=!1,this.oa=[],this.S=e,this.Ga=e.sb?new Ta(e):void 0}function Da(e,t){if(!ha(t))throw new SyntaxError("The element name '"+t+"' is not val
10id.");if(Na(e,t))throw Error("A custom element with name '"+t+"' has already been defined.");if(e.wa)throw Error("A custom element is already being defined.")}function ka(e,t,r){var n;e.wa=!0;try{var i=r.prototype;if(!(i instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var a=function(e){var t=i[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},s=a("connectedCallback"),o=a("disconnectedCallback"),l=a("adoptedCallback"),h=(n=a("attributeChangedCallback"))&&r.observedAttributes||[]}catch(e){throw e}finally{e.wa=!1}return r={localName:t,constructorFunction:r,connectedCallback:s,disconnectedCallback:o,adoptedCallback:l,attributeChangedCallback:n,observedAttributes:h,constructionStack:[]},e.na.set(t,r),e.Fa.set(r.constructorFunction,r),r}function Ma(e){if(!1!==e.V){e.V=!1;for(var t=[],r=e.oa,n=new Map,i=0;i<r.length;i++)n.set(r[i],[]);for(Ea(e.S,document,{upgrade:function(r){if(void 0===r.__CE_state){var i=r.localName,a=n.get(i);a?a.push(r):e.na.has(i)&&t.push(r)}}}),i=0;i<t.length;i++)Ca(e.S,t[i]);for(i=0;i<r.length;i++){for(var a=r[i],s=n.get(a),o=0;o<s.length;o++)Ca(e.S,s[o]);(a=e.za.get(a))&&a.resolve(void 0)}r.length=0}}function Na(e,t){var r=e.na.get(t);if(r)return r;if(r=e.ma.get(t)){e.ma.delete(t);try{return ka(e,t,r())}catch(e){xa(e)}}}function Fa(e,t,r){function n(t){return function(r){for(var n=[],i=0;i<arguments.length;++i)n[i]=arguments[i];i=[];for(var a=[],s=0;s<n.length;s++){var o=n[s];if(o instanceof Element&&ua(o)&&a.push(o),o instanceof DocumentFragment)for(o=o.firstChild;o;o=o.nextSibling)i.push(o);else i.push(o)}for(t.apply(this,n),n=0;n<a.length;n++)_a(e,a[n]);if(ua(this))for(n=0;n<i.length;n++)(a=i[n])instanceof Element&&ba(e,a)}}
vendor: 8,943 bytes, line 10
10void 0!==r.prepend&&(t.prepend=n(r.prepend)),void 0!==r.append&&(t.append=n(r.append))}function Ia(e){function t(t,r){Object.defineProperty(t,"innerHTML",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(t){var n=this,i=void 0;if(ua(this)&&(i=[],ga(e,this,(function(e){e!==n&&i.push(e)}))),r.set.call(this,t),i)for(var a=0;a<i.length;a++){var s=i[a];1===s.__CE_state&&e.disconnectedCallback(s)}return this.ownerDocument.__CE_registry?Ea(e,this):va(e,this),t}})}function r(t,r){t.insertAdjacentElement=function(t,n){var i=ua(n);return t=r.call(this,t,n),i&&_a(e,n),ua(t)&&ba(e,n),t}}function n(t,r){function n(t,r){for(var n=[];t!==r;t=t.nextSibling)n.push(t);for(r=0;r<n.length;r++)Ea(e,n[r])}t.insertAdjacentHTML=function(e,t){if("beforebegin"===(e=e.toLowerCase())){var i=this.previousSibling;r.call(this,e,t),n(i||this.parentNode.firstChild,this)}else if("afterbegin"===e)i=this.firstChild,r.call(this,e,t),n(this.firstChild,i);else if("beforeend"===e)i=this.lastChild,r.call(this,e,t),n(i||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");i=this.nextSibling,r.call(this,e,t),n(this.nextSibling,i)}}}zi&&(Element.prototype.attachShadow=function(t){if(t=zi.call(this,t),e.W&&!t.__CE_patched){t.__CE_patched=!0;for(var r=0;r<e.ca.length;r++)e.ca[r](t)}return this.__CE_shadowRoot=t}),Hi&&Hi.get?t(Element.prototype,Hi):aa&&aa.get?t(HTMLElement.prototype,aa):function(e,t){e.W=!0,e.g.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){return Oi.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,r=t?this.content:this,n=Di.call(document,this.namespaceURI,this.localName);for(n.innerHTML=e;0<r.childNodes.length;)ji.call(r,r.childNodes[0]);for(e=t?n.content:n;0<e.childNodes.length;)Ri.call(r,e.childNodes[0])}})})),Element.prototype.setAttribute=function(t,r){if(1!==this.__CE_state)return Gi.call(this,t,r);var n=qi.call(this,t);Gi.call(this,t,r),r=qi.call(this,t),e.attributeChangedCallback(this,t,n,r,null)},Element.prototype.setAttributeNS=function(t,r,n){if(1!==this.__CE_state)return Yi.call(this,t,r,n);var i=$i.call(this,t,r);Yi.call(this,t,r,n),n=$i.call(this,t,r),e.attributeChangedCallback(this,r,i,n,t)},Element.prototype.removeAttribute=function(t){if(1!==this.__CE_state)return Wi.call(this,t);var r=qi.call(this,t);Wi.call(this,t),null!==r&&e.attributeChangedCallback(this,t,r,null,null)},Ui&&(Element.prototype.toggleAttribute=function(t,r){if(1!==this.__CE_state)return Ui.call(this,t,r);var n=qi.call(this,t);return null!==n!==(r=Ui.call(this,t,r))&&e.attributeChangedCallback(this,t,n,r?"":null,null),r}),Element.prototype.removeAttributeNS=function(t,r){if(1!==this.__CE_state)return Zi.call(this,t,r);var n=$i.call(this,t,r);Zi.call(this,t,r);var i=$i.call(this,t,r);n!==i&&e.attributeChangedCallback(this,r,n,i,t)},sa?r(HTMLElement.prototype,sa):Ki&&r(Element.prototype,Ki),oa?n(HTMLElement.prototype,oa):Xi&&n(Element.prototype,Xi),Fa(e,Element.prototype,{prepend:Qi,append:Ji}),function(e){function t(t){return function(r){for(var n=[],i=0;i<arguments.length;++i)n[i]=arguments[i];i=[];for(var a=[],s=0;s<n.length;s++){var o=n[s];if(o instanceof Element&&ua(o)&&a.push(o),o instanceof DocumentFragment)for(o=o.firstChild;o;o=o.nextSibling)i.push(o);else i.push(o)}for(t.apply(this,n),n=0;n<a.length;n++)_a(e,a[n]);if(ua(this))for(n=0;n<i.length;n++)(a=i[n])instanceof Element&&ba(e,a)}}var r=Element.prototype;void 0!==ea&&(r.before=t(ea)),void 0!==ta&&(r.after=t(ta)),void 0!==ra&&(r.replaceWith=function(t){for(var r=[],n=0;n<arguments.length;++n)r[n]=arguments[n];n=[];for(var i=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&ua(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)n.push(s);else n.push(s)}for(a=ua(this),ra.apply(this,r),r=0;r<i.length;r++)_a(e,i[r]);if(a)for(_a(e,this),r=0;r<n.length;r++)(i=n[r])instanceof Element&&ba(e,i)}),void 0!==na&&(r.remove=function(){var t=ua(this);na.call(this),t&&_a(e,this)})}(e)}ma.prototype.connectedCallback=function(e){var t=e.__CE_definition;if(t.connectedCallback)try{t.connectedCallback.call(e)}catch(e){xa(e)}},ma.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;if(t.disconnectedCallback)try{t.disconnectedCallback.call(e)}catch(e){xa(e)}},ma.prototype.attributeChangedCallback=function(e,t,r,n,i){var a=e.__CE_definition;if(a.attributeChangedCallback&&-1<a.observedAttributes.indexOf(t))try{a.attributeChangedCallback.call(e,t,r,n,i)}catch(e){xa(e)}},wa.prototype.resolve=function(e){if(this.I)throw Error("Already resolved.");this.I=e,this.g(e)},Ta.prototype.h=function(e){var t=this.g.readyState;for("interactive"!==t&&"complete"!==t||Pa(this),t=0;t<e.length;t++)for(var r=e[t].addedNodes,n=0;n<r.length;n++)Ea(this.S,r[n])},(e=Aa.prototype).jb=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructor getters must be functions.");Da(this,e),this.ma.set(e,t),this.oa.push(e),this.V||(this.V=!0,this.la((function(){return Ma(r)})))},e.define=function(e,t){var r=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");Da(this,e),ka(this,e,t),this.oa.push(e),this.V||(this.V=!0,this.la((function(){return Ma(r)})))},e.upgrade=function(e){Ea(this.S,e)},e.get=function(e){if(e=Na(this,e))return e.constructorFunction},e.whenDefined=function(e){if(!ha(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.za.get(e);if(t)return t.Ka;t=new wa,this.za.set(e,t);var r=this.na.has(e)||this.ma.has(e);return e=-1===this.oa.indexOf(e),r&&e&&t.resolve(void 0),t.Ka},e.polyfillWrapFlushCallback=function(e){this.Ga&&Pa(this.Ga);var t=this.la;this.la=function(r){return e((function(){return t(r)}))}},Aa.prototype.define=Aa.prototype.define,Aa.prototype.upgrade=Aa.prototype.upgrade,Aa.prototype.get=Aa.prototype.get,Aa.prototype.whenDefined=Aa.prototype.whenDefined,Aa.prototype.polyfillDefineLazy=Aa.prototype.jb,Aa.prototype.polyfillWrapFlushCallback=Aa.prototype.polyfillWrapFlushCallback;var Oa={};var Ra=window.customElements;function La(){var e=new ma;!function(e){function t(){var t=this.constructor,r=document.__CE_registry.Fa.get(t);if(!r)throw Error("Failed to construct a custom element: The constructor was not registered with `customElements`.");var n=r.constructionStack;if(0===n.length)return n=Ai.call(document,r.localName),Object.setPrototypeOf(n,t.prototype),n.__CE_state=1,n.__CE_definition=r,ya(e,n),n;var i=n.length-1,a=n[i];if(a===Oa)throw Error("Failed to construct '"+r.localName+"': This element was already constructed.");return n[i]=Oa,Object.setPrototypeOf(a,t.prototype),ya(e,a),a}t.prototype=ia.prototype,Object.defineProperty(HTMLElement.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),window.HTMLElement=t}(e),function(e){Document.prototype.createElement=function(t){return Sa(e,this,t,null)},Document.prototype.importNode=function(t,r){return t=ki.call(this,t,!!r),this.__CE_registry?Ea(e,t):va(e,t),t},Document.prototype.createElementNS=function(t,r){return Sa(e,this,r,t)},Fa(e,Document.prototype,{prepend:Mi,append:Ni})}(e),Fa(e,DocumentFragment.prototype,{prepend:Fi,append:Ii}),function(e){function t(t,r){Object.defineProperty(t,"textContent",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(t){if(this.nodeType===Node.TEXT_NODE)r.set.call(this,t);else{var n=void 0;if(this.firstChild){var i=this.childNodes,a=i.length;if(0<a&&ua(this)){n=Array(a);for(var s=0;s<a;s++)n[s]=i[s]}}if(r.set.call(this,t),n)for(t=0;t<n.length;t++)_a(e,n[t])}}})}Node.prototype.insertBefore=function(t,r){if(t instanceof DocumentFragment){var n=da(t);if(t=Li.call(this,t,r),ua(this))for(r=0;r<n.length;r++)ba(e,n[r]);return t}return n=t instanceof Element&&ua(t),r=Li.call(this,t,r),n&&_a(e,t),ua(this)&&ba(e,t),r},Node.prototype.appendChild=function(t){if(t instanceof DocumentFragment){var r=da(t);if(t=Ri.call(this,t),ua(this))for(var n=0;n<r.length;n++)ba(e,r[n]);return t}return r=t instanceof Element&&ua(t),n=Ri.call(this,t),r&&_a(e,t),ua(this)&&ba(e,t),n},Node.prototype.cloneNode=function(t){return t=Oi.call(this,!!t),this.ownerDocument.__CE_registry?Ea(e,t):va(e,t),t},Node.prototype.removeChild=function(t){var r=t instanceof Element&&ua(t),n=ji.call(this,t);return r&&_a(e,t),n},Node.prototype.replaceChild=function(t,r){if(t instanceof DocumentFragment){var n=da(t);if(t=Bi.call(this,t,r),ua(this))for(_a(e,r),r=0;r<n.length;r++)ba(e,n[r]);return t}n=t instanceof Element&&ua(t);var i=Bi.call(this,t,r),a=ua(this);return a&&_a(e,r),n&&_a(e,t),a&&ba(e,t),i},Vi&&Vi.get?t(Node.prototype,Vi):function(e,t){e.W=!0,e.ca.push(t)}(e,(function(e){t(e,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=this.firstChild;t;t=t.nextSibling)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}
vendor: 5,545 bytes, line 10
10,set:function(e){for(;this.firstChild;)ji.call(this,this.firstChild);null!=e&&""!==e&&Ri.call(this,document.createTextNode(e))}})}))}(e),Ia(e),window.CustomElementRegistry=Aa,e=new Aa(e),document.__CE_registry=e,Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:e})}function ja(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function Ba(e){var t=e=e.replace(Ya,"").replace(Za,""),r=new ja;r.start=0,r.end=t.length;for(var n=r,i=0,a=t.length;i<a;i++)if("{"===t[i]){n.rules||(n.rules=[]);var s=n,o=s.rules[s.rules.length-1]||null;(n=new ja).start=i+1,n.parent=s,n.previous=o,s.rules.push(n)}else"}"===t[i]&&(n.end=i+1,n=n.parent||r);return Va(r,e)}function Va(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent&&(r=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e}))}(r=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1)),r=(r=r.replace(ts," ")).substring(r.lastIndexOf(";")+1),r=e.parsedSelector=e.selector=r.trim(),e.atRule=0===r.indexOf("@"),e.atRule?0===r.indexOf("@media")?e.type=Ua:r.match(es)&&(e.type=Wa,e.keyframesName=e.selector.split(ts).pop()):e.type=0===r.indexOf("--")?$a:Ga),r=e.rules)for(var n=0,i=r.length,a=void 0;n<i&&(a=r[n]);n++)Va(a,t);return e}function za(e,t,r){r=void 0===r?"":r;var n="";if(e.cssText||e.rules){var i,a=e.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var s=a.length,o=void 0;i<s&&(o=a[i]);i++)n=za(o,t,n)}else t?t=e.cssText:t=(t=(t=e.cssText).replace(Ka,"").replace(Xa,"")).replace(Qa,"").replace(Ja,""),(n=t.trim())&&(n="  "+n+"\n")}return n&&(e.selector&&(r+=e.selector+" {\n"),r+=n,e.selector&&(r+="}\n\n")),r}Ra&&!Ra.forcePolyfill&&"function"==typeof Ra.define&&"function"==typeof Ra.get||La(),window.__CE_installPolyfill=La;var Ha,qa,Ga=1,Wa=7,Ua=4,$a=1e3,Ya=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Za=/@import[^;]*;/gim,Ka=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Xa=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Qa=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,Ja=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,es=/^@[^\s]*keyframes/,ts=/\s+/g,rs=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ns(e){Ha=(!e||!e.shimcssproperties)&&(rs||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(qa=window.ShadyCSS.cssBuild);var is=!(!window.ShadyCSS||!window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?Ha=window.ShadyCSS.nativeCss:window.ShadyCSS?(ns(window.ShadyCSS),window.ShadyCSS=void 0):ns(window.WebComponents&&window.WebComponents.flags);var as=Ha,ss=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,os=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,ls=/(--[\w-]+)\s*([:,;)]|$)/gi,hs=/(animation\s*:)|(animation-name\s*:)/,cs=/@media\s(.*)/,us=/\{[^}]*\}/g,ds=new Set;function ps(e,t){return e?("string"==typeof e&&(e=Ba(e)),t&&gs(e,t),za(e,as)):""}function fs(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=Ba(e.textContent)),e.__cssRules||null}function ms(e){return!!e.parent&&e.parent.type===Wa}function gs(e,t,r,n){if(e){var i=!1,a=e.type;if(n&&a===Ua){var s=e.selector.match(cs);s&&(window.matchMedia(s[1]).matches||(i=!0))}if(a===Ga?t(e):r&&a===Wa?r(e):a===$a&&(i=!0),(e=e.rules)&&!i)for(i=0,a=e.length,s=void 0;i<a&&(s=e[i]);i++)gs(s,t,r,n)}}function vs(e,t,r,n){var i=document.createElement("style");return t&&i.setAttribute("scope",t),i.textContent=e,_s(i,r,n),i}var ys=null;function bs(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(ys?ys.nextSibling:null)||t.firstChild),ys=e}function _s(e,t,r){(t=t||document.head).insertBefore(e,r&&r.nextSibling||t.firstChild),ys?e.compareDocumentPosition(ys)===Node.DOCUMENT_POSITION_PRECEDING&&(ys=e):ys=e}function Es(e,t){for(var r=0,n=e.length;t<n;t++)if("("===e[t])r++;else if(")"===e[t]&&0==--r)return t;return-1}function Cs(e,t){var r=e.indexOf("var(");if(-1===r)return t(e,"","","");var n=Es(e,r+3),i=e.substring(r+4,n);return r=e.substring(0,r),e=Cs(e.substring(n+1),t),-1===(n=i.indexOf(","))?t(r,i.trim(),"",e):t(r,i.substring(0,n).trim(),i.substring(n+1).trim(),e)}function Ss(e,t){rs?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}var xs=window.ShadyDOM&&window.ShadyDOM.wrap||function(e){return e};function ws(e){var t=e.localName,r="";return t?-1<t.indexOf("-")||(r=t,t=e.getAttribute&&e.getAttribute("is")||""):(t=e.is,r=e.extends),{is:t,ja:r}}function Ts(e){for(var t=[],r="",n=0;0<=n&&n<e.length;n++)if("("===e[n]){var i=Es(e,n);r+=e.slice(n,i+1),n=i}else","===e[n]?(t.push(r),r=""):r+=e[n];return r&&t.push(r),t}function Ps(e){if(void 0!==qa)return qa;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var r="template"===e.localName?e.content.firstChild:e.firstChild;r.parentNode.removeChild(r)}e.__cssBuild=t}}return e.__cssBuild||""}function As(e){return!(""===(e=void 0===e?"":e)||!as)&&(rs?"shadow"===e:"shady"===e)}function Ds(){}function ks(e,t,r){var n;
vendor: 11,536 bytes, line 10
10if(t.nodeType===Node.ELEMENT_NODE&&r(t),n="template"===t.localName?(t.content||t._content||t).childNodes:t.children||t.childNodes)for(t=0;t<n.length;t++)ks(e,n[t],r)}function Ms(e,t,r){if(t)if(e.classList)r?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var n=e.getAttribute("class");r?n&&Ss(e,t=n.replace("style-scope","").replace(t,"")):Ss(e,(n?n+" ":"")+"style-scope "+t)}}function Ns(e,t,r){ks(Ys,e,(function(e){Ms(e,t,!0),Ms(e,r)}))}function Fs(e,t){ks(Ys,e,(function(e){Ms(e,t||"",!0)}))}function Is(e,t,r,n,i){var a=Ys;return""===(i=void 0===i?"":i)&&(rs||"shady"===(void 0===n?"":n)?i=ps(t,r):i=function(e,t,r,n,i){var a=Os(r,n);return r=r?"."+r:"",ps(t,(function(t){t.i||(t.selector=t.G=Rs(e,t,e.h,r,a),t.i=!0),i&&i(t,r,a)}))}(a,t,(e=ws(e)).is,e.ja,r)+"\n\n"),i.trim()}function Os(e,t){return t?"[is="+e+"]":e}function Rs(e,t,r,n,i){var a=Ts(t.selector);if(!ms(t)){t=0;for(var s=a.length,o=void 0;t<s&&(o=a[t]);t++)a[t]=r.call(e,o,n,i)}return a.filter((function(e){return!!e})).join(",")}function Ls(e){return e.replace(Vs,(function(e,t,r){return-1<r.indexOf("+")?r=r.replace(/\+/g,"___"):-1<r.indexOf("___")&&(r=r.replace(/___/g,"+")),":"+t+"("+r+")"}))}function js(e,t){e=e.split(/(\[.+?\])/);for(var r=[],n=0;n<e.length;n++)if(1==n%2)r.push(e[n]);else{var i=e[n];""===i&&n===e.length-1||((i=i.split(":"))[0]+=t,r.push(i.join(":")))}return r.join("")}function Bs(e){":root"===e.selector&&(e.selector="html")}Ds.prototype.h=function(e,t,r){var n=!1;e=e.trim();var i=Vs.test(e);i&&(e=Ls(e=e.replace(Vs,(function(e,t,r){return":"+t+"("+r.replace(/\s/g,"")+")"}))));var a=$s.test(e);if(a){var s=function(e){for(var t,r=[];t=e.match($s);){var n=t.index,i=Es(e,n);if(-1===i)throw Error(t.input+" selector missing ')'");t=e.slice(n,i+1),e=e.replace(t,""),r.push(t)}return{Ea:e,matches:r}}(e);e=s.Ea,s=s.matches}return e=(e=e.replace(qs,":host $1")).replace(zs,(function(e,i,a){return n||(e=function(e,t,r,n){var i=e.indexOf("::slotted");if(0<=e.indexOf(":host")?e=function(e,t){var r=e.match(Gs);return(r=r&&r[2].trim()||"")?r[0].match(Hs)?e.replace(Gs,(function(e,r,n){return t+n})):r.split(Hs)[0]===t?r:"should_not_match":e.replace(":host",t)}(e,n):0!==i&&(e=r?js(e,r):e),r=!1,0<=i&&(t="",r=!0),r){var a=!0;r&&(e=e.replace(Ws,(function(e,t){return" > "+t})))}return{value:e,Ya:t,stop:a}}(a,i,t,r),n=n||e.stop,i=e.Ya,a=e.value),i+a})),a&&(e=function(e,t){var r=e.split("");return t.reduce((function(e,t,n){return e+t+r[n+1]}),r[0])}(e,s)),i&&(e=Ls(e)),e.replace(Us,(function(e,t,r,n){return'[dir="'+r+'"] '+t+n+", "+t+'[dir="'+r+'"]'+n}))},Ds.prototype.i=function(e){return e.match(":host")?"":e.match("::slotted")?this.h(e,":not(.style-scope)"):js(e.trim(),":not(.style-scope)")},i.Object.defineProperties(Ds.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Vs=/:(nth[-\w]+)\(([^)]+)\)/,zs=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Hs=/[[.:#*]/,qs=/^(::slotted)/,Gs=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Ws=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Us=/(.*):dir\((?:(ltr|rtl))\)(.*)/,$s=/:(?:matches|any|-(?:webkit|moz)-any)/,Ys=new Ds;function Zs(e,t,r,n,i){this.M=e||null,this.h=t||null,this.Ca=r||[],this.K=null,this.cssBuild=i||"",this.ja=n||"",this.g=this.L=this.R=null}function Ks(e){return e?e.__styleInfo:null}function Xs(e,t){return e.__styleInfo=t}function Qs(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}Zs.prototype.i=function(){return this.M},Zs.prototype._getStyleRules=Zs.prototype.i;var Js=/:host\s*>\s*/,eo=navigator.userAgent.match("Trident");function to(){}function ro(e){if(!e.F){var t={},r={};no(e,r)&&(t.P=r,e.rules=null),t.cssText=e.parsedCssText.replace(us,"").replace(ss,""),e.F=t}}function no(e,t){var r=e.F;if(!r){r=e.parsedCssText;for(var n;e=ss.exec(r);)"inherit"===(n=(e[2]||e[3]).trim())&&"unset"===n||(t[e[1].trim()]=n),n=!0;return n}if(r.P)return Object.assign(t,r.P),!0}function io(e,t,r){return t&&(t=0<=t.indexOf(";")?ao(e,t,r):Cs(t,(function(t,n,i,a){return n?((n=io(e,r[n],r))&&"initial"!==n?"apply-shim-inherit"===n&&(n="inherit"):n=io(e,r[i]||i,r)||i,t+(n||"")+a):t+a}))),t&&t.trim()||""}function ao(e,t,r){t=t.split(";");for(var n,i,a=0;a<t.length;a++)if(n=t[a]){if(os.lastIndex=0,i=os.exec(n))n=io(e,r[i[1]],r);else if(-1!==(i=n.indexOf(":"))){var s=n.substring(i);s=io(e,s=s.trim(),r)||s,n=n.substring(0,i)+s}t[a]=n&&n.lastIndexOf(";")===n.length-1?n.slice(0,-1):n||""}return t.join(";")}function so(e,t,r){var n={},i={};return gs(t,(function(t){!function(e,t,r,n){if(t.F||ro(t),t.F.P){var i=ws(e);e=i.is,i=i.ja,i=e?Os(e,i):"html";var a=t.parsedSelector,s=!!a.match(Js)||"html"===i&&-1<a.indexOf("html"),o=0===a.indexOf(":host")&&!s;"shady"===r&&(o=!(s=a===i+" > *."+i||-1!==a.indexOf("html"))&&0===a.indexOf(i)),(s||o)&&(r=i,o&&(t.G||(t.G=Rs(Ys,t,Ys.h,e?"."+e:"",i)),r=t.G||i),s&&"html"===i&&(r=t.G||t.O),n({Ea:r,gb:o,vb:s}))}}(e,t,r,(function(r){Qs.call(e._element||e,r.Ea)&&(r.gb?no(t,n):no(t,i))}))}),null,!0),{mb:i,eb:n}}function oo(e,t,r,n){var i=ws(t),a=Os(i.is,i.ja),s=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+a.slice(0,-1)+"\\]":a)+"($|[.:[\\s>+~])"),o=Ks(t);i=o.M,o=o.cssBuild;var l=function(e,t){e=e.h;var r={};if(!rs&&e)for(var n=0,i=e[n];n<e.length;i=e[++n]){var a=i,s=t;a.u=new RegExp("\\b"+a.keyframesName+"(?!\\B|-)","g"),a.g=a.keyframesName+"-"+s,a.G=a.G||a.selector,a.selector=a.G.replace(a.keyframesName,a.g),r[i.keyframesName]=lo(i)}return r}(i,n);return Is(t,i,(function(t){var i="";if(t.F||ro(t),t.F.cssText&&(i=ao(e,t.F.cssText,r)),t.cssText=i,!rs&&!ms(t)&&t.cssText){var o=i=t.cssText;if(null==t.Ma&&(t.Ma=hs.test(i)),t.Ma)if(null==t.ra)for(var h in t.ra=[],l)i!==(o=(o=l[h])(i))&&(i=o,t.ra.push(h));else{for(h=0;h<t.ra.length;++h)i=(o=l[t.ra[h]])(i);o=i}t.cssText=o,t.G=t.G||t.selector,i="."+n,o=0;for(var c=(h=Ts(t.G)).length,u=void 0;o<c&&(u=h[o]);o++)h[o]=u.match(s)?u.replace(a,i):i+" "+u;t.selector=h.join(",")}}),o)}function lo(e){return function(t){return t.replace(e.u,e.g)}}function ho(e,t){var r=co,n=fs(e);e.textContent=ps(n,(function(e){var n=e.cssText=e.parsedCssText;e.F&&e.F.cssText&&(n=n.replace(Ka,"").replace(Xa,""),e.cssText=ao(r,n,t))}))}i.Object.defineProperties(to.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var co=new to,uo={},po=window.customElements;if(po&&!rs&&!is){var fo=po.define;po.define=function(e,t,r){uo[e]||(uo[e]=bs(e)),fo.call(po,e,t,r)}}function mo(){this.cache={}}function go(){}mo.prototype.store=function(e,t,r,n){var i=this.cache[e]||[];i.push({P:t,styleElement:r,L:n}),100<i.length&&i.shift(),this.cache[e]=i};var vo=new RegExp(Ys.g+"\\s*([^\\s]*)");function yo(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(vo))?e[1]:""}function bo(e){var t=xs(e).getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?ws(e).is:""}function _o(e){for(var t=0;t<e.length;t++){var r=e[t];if(r.target!==document.documentElement&&r.target!==document.head)for(var n=0;n<r.addedNodes.length;n++){var i=r.addedNodes[n];if(i.nodeType===Node.ELEMENT_NODE){var a=i.getRootNode(),s=yo(i);if(s&&a===i.ownerDocument&&("style"!==i.localName&&"template"!==i.localName||""===Ps(i)))Fs(i,s);else if(a instanceof ShadowRoot)for((a=bo(i))!==s&&Ns(i,s,a),i=window.ShadyDOM.nativeMethods.querySelectorAll.call(i,":not(."+Ys.g+")"),s=0;s<i.length;s++){var o=bo(a=i[s]);o&&Ms(a,o)}}}}}if(!(rs||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Eo=new MutationObserver(_o),Co=function(e){Eo.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Co(document);else{var So=function(){Co(document.body)};window.HTMLImports?window.HTMLImports.whenReady(So):requestAnimationFrame((function(){if("loading"===document.readyState){var e=function(){So(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else So()}))}go=function(){_o(Eo.takeRecords())}}var xo={},wo=Promise.resolve();function To(e){(e=xo[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Po(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var Ao={},Do=new mo;function ko(){this.ea={},this.i=document.documentElement;var e=new ja;e.rules=[],this.u=Xs(this.i,new Zs(e)),this.O=!1,this.g=this.h=null}function Mo(e){var t=ws(e),r=t.is;t=t.ja;var n=uo[r]||null,i=xo[r];if(i)return Xs(e,t=new Zs(r=i._styleAst,n,i.g,t,i=Ps(i))),t}function No(e){if(!e.h&&window.ShadyCSS&&window.ShadyCSS.ApplyShim){e.h=window.ShadyCSS.ApplyShim,e.h.invalidCallback=To;var t=!0}else t=!1;return function(e){!e.g&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.g=window.ShadyCSS.CustomStyleInterface,e.g.transformCallback=function(t){e.Qa(t)},e.g.validateCallback=function(){requestAnimationFrame((function(){(e.g.enqueued||e.O)&&e.flushCustomStyles()}))})}(e),t}function Fo(e,t,r){var n=ws(t).is;if(r.K){var i,a=r.K;for(i in a)null===i?t.style.removeProperty(i):t.style.setProperty(i,a[i])}!(a=xo[n])&&t!==e.i||a&&""!==Ps(a)||!a||!a._style||Po(a)||((Po(a)||a._applyShimValidatingVersion!==a._applyShimNextVersion)&&(No(e),e.h&&e.h.transformRules(a._styleAst,n),a._style.textContent=Is(t,r.M),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,wo.then((function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1})))}(a)),rs&&(e=t.shadowRoot)&&(e=e.querySelector("style"))&&(e.textContent=Is(t,r.M)),r.M=a._styleAst)}function Io(e,t){return(t=xs(t).getRootNode().host)?Ks(t)||Mo(t)?t:Io(e,t):e.i}function Oo(e,t,r){var n=Io(e,t),i=Ks(n),a=i.R;for(var s in n===e.i||a||(Oo(e,n,i),a=i.R),e=Object.create(a||null),n=so(t,r.M,r.cssBuild),t=function(e,t){var r={},n=[];return gs(e,(function(e){e.F||ro(e);var i=e.G||e.parsedSelector;t&&e.F.P&&i&&Qs.call(t,i)&&(no(e,r),e=e.index,i=parseInt(e/32,10),n[i]=(n[i]||0)|1<<e%32)}),null,!0),{P:r,key:n}}(i.M,t).P,Object.assign(e,n.eb,t,n.mb),t=r.K)((i=t[s])||0===i)&&(e[s]=i);for(s=co,t=Object.getOwnPropertyNames(e),i=0;i<t.length;i++)e[n=t[i]]=io(s,e[n],e);r.R=e}(e=ko.prototype).flush=function(){go()},e.bb=function(e){return fs(e)},e.qb=function(e){return ps(e)},e.prepareTemplate=function(e,t,r){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,r)},e.prepareTemplateStyles=function(e,t,r){if(!e._prepared&&!is){rs||uo[t]||(uo[t]=bs(t)),e._prepared=!0,e.name=t,e.extends=r,xo[t]=e;var n=Ps(e),i=As(n);r={is:t,extends:r};for(var a=[],s=e.content.querySelectorAll("style"),o=0;o<s.length;o++){var l=s[o];if(l.hasAttribute("shady-unscoped")){if(!rs){var h=l.textContent;if(!ds.has(h)){ds.add(h);var c=document.createElement("style");c.setAttribute("shady-unscoped",""),c.textContent=h,document.head.appendChild(c)}l.parentNode.removeChild(l)}}else a.push(l.textContent),l.parentNode.removeChild(l)}a=a.join("").trim()+(Ao[t]||""),No(this),i||((s=!n)&&(s=os.test(a)||ss.test(a),os.lastIndex=0,ss.lastIndex=0),o=Ba(a),s&&as&&this.h&&this.h.transformRules(o,t),e._styleAst=o),s=[],as||(s=function(e){var t={},r=[],n=0;for(var i in gs(e,(function(e){ro(e),e.index=n++,e=e.F.cssText;for(var r;r=ls.exec(e);){var i=r[1];":"!==r[2]&&(t[i]=!0)}}),(function(e){r.push(e)})),e.h=r,e=[],t)e.push(i);return e}(e._styleAst)),s.length&&!as||(o=rs?e.content:null,t=uo[t]||null,
vendor: 6,748 bytes, line 10
10n=(n=Is(r,e._styleAst,null,n,i?a:"")).length?vs(n,r.is,o,t):null,e._style=n),e.g=s}},e.kb=function(e,t){Ao[t]=e.join(" ")},e.prepareTemplateDom=function(e,t){if(!is){var r=Ps(e);rs||"shady"===r||e._domPrepared||(e._domPrepared=!0,function(e,t){ks(Ys,e,(function(e){Ms(e,t||"")}))}(e.content,t))}},e.flushCustomStyles=function(){if(!is){var e=No(this);if(this.g){var t=this.g.processStyles();if((e||this.g.enqueued)&&!As(this.u.cssBuild)){if(as){if(!this.u.cssBuild)for(e=0;e<t.length;e++){var r=this.g.getStyleForCustomStyle(t[e]);if(r&&as&&this.h){var n=fs(r);No(this),this.h.transformRules(n),r.textContent=ps(n)}}}else{for(function(e,t){t=t.map((function(t){return e.g.getStyleForCustomStyle(t)})).filter((function(e){return!!e})),t.sort((function(e,t){return(e=t.compareDocumentPosition(e))&Node.DOCUMENT_POSITION_FOLLOWING?1:e&Node.DOCUMENT_POSITION_PRECEDING?-1:0})),e.u.M.rules=t.map((function(e){return fs(e)}))}(this,t),Oo(this,this.i,this.u),e=0;e<t.length;e++)(r=this.g.getStyleForCustomStyle(t[e]))&&ho(r,this.u.R);this.O&&this.styleDocument()}this.g.enqueued=!1}}}},e.styleElement=function(e,t){if(is){if(t){Ks(e)||Xs(e,new Zs(null));var r=Ks(e);r.K=r.K||{},Object.assign(r.K,t),Fo(this,e,r)}}else if(r=Ks(e)||Mo(e))if(e!==this.i&&(this.O=!0),t&&(r.K=r.K||{},Object.assign(r.K,t)),as)Fo(this,e,r);else if(this.flush(),Oo(this,e,r),r.Ca&&r.Ca.length){var n;t=ws(e).is;e:{if(n=Do.cache[t])for(var i=n.length-1;0<=i;i--){var a=n[i];t:{for(var s=r.Ca,o=0;o<s.length;o++){var l=s[o];if(a.P[l]!==r.R[l]){s=!1;break t}}s=!0}if(s){n=a;break e}}n=void 0}s=n?n.styleElement:null,i=r.L,(a=n&&n.L)||(a=t+"-"+(a=this.ea[t]=(this.ea[t]||0)+1)),r.L=a,a=r.L,o=co,o=s?s.textContent||"":oo(o,e,r.R,a);var h=(l=Ks(e)).g;h&&!rs&&h!==s&&(h._useCount--,0>=h._useCount&&h.parentNode&&h.parentNode.removeChild(h)),rs?l.g?(l.g.textContent=o,s=l.g):o&&(s=vs(o,a,e.shadowRoot,l.h)):s?s.parentNode||(eo&&-1<o.indexOf("@media")&&(s.textContent=o),_s(s,null,l.h)):o&&(s=vs(o,a,null,l.h)),s&&(s._useCount=s._useCount||0,l.g!=s&&s._useCount++,l.g=s),a=s,rs||(s=r.L,l=o=e.getAttribute("class")||"",i&&(l=o.replace(new RegExp("\\s*x-scope\\s*"+i+"\\s*","g")," ")),o!==(l+=(l?" ":"")+"x-scope "+s)&&Ss(e,l)),n||Do.store(t,r.R,a,r.L)}},e.styleDocument=function(e){this.styleSubtree(this.i,e)},e.styleSubtree=function(e,t){var r=xs(e),n=r.shadowRoot,i=e===this.i;if((n||i)&&this.styleElement(e,t),e=i?r:n)for(e=Array.from(e.querySelectorAll("*")).filter((function(e){return xs(e).shadowRoot})),t=0;t<e.length;t++)this.styleSubtree(e[t])},e.Qa=function(e){var t=this,r=Ps(e);if(r!==this.u.cssBuild&&(this.u.cssBuild=r),!As(r)){var n=fs(e);gs(n,(function(e){if(rs)Bs(e);else{var n=Ys;e.selector=e.parsedSelector,Bs(e),e.selector=e.G=Rs(n,e,n.i,void 0,void 0)}as&&""===r&&(No(t),t.h&&t.h.transformRule(e))})),as?e.textContent=ps(n):this.u.M.rules.push(n)}},e.getComputedStyleValue=function(e,t){var r;return as||(r=(Ks(e)||Ks(Io(this,e))).R[t]),(r=r||window.getComputedStyle(e).getPropertyValue(t))?r.trim():""},e.pb=function(e,t){var r=xs(e).getRootNode();if(t=t?("string"==typeof t?t:String(t)).split(/\s/):[],!(r=r.host&&r.host.localName)){var n=e.getAttribute("class");if(n){n=n.split(/\s/);for(var i=0;i<n.length;i++)if(n[i]===Ys.g){r=n[i+1];break}}}r&&t.push(Ys.g,r),as||(r=Ks(e))&&r.L&&t.push(co.g,r.L),Ss(e,t.join(" "))},e.Xa=function(e){return Ks(e)},e.ob=function(e,t){Ms(e,t)},e.rb=function(e,t){Ms(e,t,!0)},e.nb=function(e){return bo(e)},e.$a=function(e){return yo(e)},ko.prototype.flush=ko.prototype.flush,ko.prototype.prepareTemplate=ko.prototype.prepareTemplate,ko.prototype.styleElement=ko.prototype.styleElement,ko.prototype.styleDocument=ko.prototype.styleDocument,ko.prototype.styleSubtree=ko.prototype.styleSubtree,ko.prototype.getComputedStyleValue=ko.prototype.getComputedStyleValue,ko.prototype.setElementClass=ko.prototype.pb,ko.prototype._styleInfoForNode=ko.prototype.Xa,ko.prototype.transformCustomStyleForDocument=ko.prototype.Qa,ko.prototype.getStyleAst=ko.prototype.bb,ko.prototype.styleAstToString=ko.prototype.qb,ko.prototype.flushCustomStyles=ko.prototype.flushCustomStyles,ko.prototype.scopeNode=ko.prototype.ob,ko.prototype.unscopeNode=ko.prototype.rb,ko.prototype.scopeForNode=ko.prototype.nb,ko.prototype.currentScopeForNode=ko.prototype.$a,ko.prototype.prepareAdoptedCssText=ko.prototype.kb,Object.defineProperties(ko.prototype,{nativeShadow:{get:function(){return rs}},nativeCss:{get:function(){return as}}});var Ro,Lo,jo=new ko;window.ShadyCSS&&(Ro=window.ShadyCSS.ApplyShim,Lo=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:jo,prepareTemplate:function(e,t,r){jo.flushCustomStyles(),jo.prepareTemplate(e,t,r)},prepareTemplateDom:function(e,t){jo.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,r){jo.flushCustomStyles(),jo.prepareTemplateStyles(e,t,r)},styleSubtree:function(e,t){jo.flushCustomStyles(),jo.styleSubtree(e,t)},styleElement:function(e){jo.flushCustomStyles(),jo.styleElement(e)},styleDocument:function(e){jo.flushCustomStyles(),jo.styleDocument(e)},flushCustomStyles:function(){jo.flushCustomStyles()},getComputedStyleValue:function(e,t){return jo.getComputedStyleValue(e,t)},nativeCss:as,nativeShadow:rs,cssBuild:qa,disableRuntime:is},Ro&&(window.ShadyCSS.ApplyShim=Ro),Lo&&(window.ShadyCSS.CustomStyleInterface=Lo),function(e){function t(e){return""==e&&(a.call(this),this.m=!0),e.toLowerCase()}function r(e){var t=e.charCodeAt(0);return 32<t&&127>t&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function n(e){var t=e.charCodeAt(0);return 32<t&&127>t&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function i(e,i,s){function o(e){v.push(e)}var l=i||"scheme start",p=0,f="",m=!1,g=!1,v=[];e:for(;(null!=e[p-1]||0==p)&&!this.m;){var y=e[p];switch(l){case"scheme start":if(!y||!u.test(y)){if(i){o("Invalid scheme.");break e}f="",l="no scheme";continue}f+=y.toLowerCase(),l="scheme";break;case"scheme":if(y&&d.test(y))f+=y.toLowerCase();else{if(":"!=y){if(i){null!=y&&o("Code point not allowed in scheme: "+y);break e}f="",p=0,l="no scheme";continue}if(this.l=f,f="",i)break e;void 0!==h[this.l]&&(this.H=!0),l="file"==this.l?"relative":this.H&&s&&s.l==this.l?"relative or authority":this.H?"authority first slash":"scheme data"}break;case"scheme data":"?"==y?(this.A="?",l="query"):"#"==y?(this.C="#",l="fragment"):null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.ya+=r(y));break;case"no scheme":if(s&&void 0!==h[s.l]){l="relative";continue}o("Missing scheme."),a.call(this),this.m=!0;break;case"relative or authority":if("/"!=y||"/"!=e[p+1]){o("Expected /, got: "+y),l="relative";continue}l="authority ignore slashes";break;case"relative":if(this.H=!0,"file"!=this.l&&(this.l=s.l),null==y){this.o=s.o,this.v=s.v,this.s=s.s.slice(),this.A=s.A,this.B=s.B,this.j=s.j;break e}
vendor: 3,931 bytes, line 10
10if("/"==y||"\\"==y)"\\"==y&&o("\\ is an invalid code point."),l="relative slash";else if("?"==y)this.o=s.o,this.v=s.v,this.s=s.s.slice(),this.A="?",this.B=s.B,this.j=s.j,l="query";else{if("#"!=y){l=e[p+1];var b=e[p+2];("file"!=this.l||!u.test(y)||":"!=l&&"|"!=l||null!=b&&"/"!=b&&"\\"!=b&&"?"!=b&&"#"!=b)&&(this.o=s.o,this.v=s.v,this.B=s.B,this.j=s.j,this.s=s.s.slice(),this.s.pop()),l="relative path";continue}this.o=s.o,this.v=s.v,this.s=s.s.slice(),this.A=s.A,this.C="#",this.B=s.B,this.j=s.j,l="fragment"}break;case"relative slash":if("/"!=y&&"\\"!=y){"file"!=this.l&&(this.o=s.o,this.v=s.v,this.B=s.B,this.j=s.j),l="relative path";continue}"\\"==y&&o("\\ is an invalid code point."),l="file"==this.l?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=y){o("Expected '/', got: "+y),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=y){o("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!=y&&"\\"!=y){l="authority";continue}o("Expected authority, got: "+y);break;case"authority":if("@"==y){for(m&&(o("@ already seen."),f+="%40"),m=!0,y=0;y<f.length;y++)"\t"==(b=f[y])||"\n"==b||"\r"==b?o("Invalid whitespace in authority."):":"==b&&null===this.j?this.j="":(b=r(b),null!==this.j?this.j+=b:this.B+=b);f=""}else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){p-=f.length,f="",l="host";continue}f+=y}break;case"file host":if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){2!=f.length||!u.test(f[0])||":"!=f[1]&&"|"!=f[1]?(0!=f.length&&(this.o=t.call(this,f),f=""),l="relative path start"):l="relative path";continue}"\t"==y||"\n"==y||"\r"==y?o("Invalid whitespace in file host."):f+=y;break;case"host":case"hostname":if(":"!=y||g){if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y){if(this.o=t.call(this,f),f="",l="relative path start",i)break e;continue}"\t"!=y&&"\n"!=y&&"\r"!=y?("["==y?g=!0:"]"==y&&(g=!1),f+=y):o("Invalid code point in host/hostname: "+y)}else if(this.o=t.call(this,f),f="",l="port","hostname"==i)break e;break;case"port":if(/[0-9]/.test(y))f+=y;else{if(null==y||"/"==y||"\\"==y||"?"==y||"#"==y||i){if(""!=f&&((f=parseInt(f,10))!=h[this.l]&&(this.v=f+""),f=""),i)break e;l="relative path start";continue}"\t"==y||"\n"==y||"\r"==y?o("Invalid code point in port: "+y):(a.call(this),this.m=!0)}break;case"relative path start":if("\\"==y&&o("'\\' not allowed in path."),l="relative path","/"!=y&&"\\"!=y)continue;break;case"relative path":null!=y&&"/"!=y&&"\\"!=y&&(i||"?"!=y&&"#"!=y)?"\t"!=y&&"\n"!=y&&"\r"!=y&&(f+=r(y)):("\\"==y&&o("\\ not allowed in relative path."),(b=c[f.toLowerCase()])&&(f=b),".."==f?(this.s.pop(),"/"!=y&&"\\"!=y&&this.s.push("")):"."==f&&"/"!=y&&"\\"!=y?this.s.push(""):"."!=f&&("file"==this.l&&0==this.s.length&&2==f.length&&u.test(f[0])&&"|"==f[1]&&(f=f[0]+":"),this.s.push(f)),f="","?"==y?(this.A="?",l="query"):"#"==y&&(this.C="#",l="fragment"));break;case"query":i||"#"!=y?null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.A+=n(y)):(this.C="#",l="fragment");break;case"fragment":null!=y&&"\t"!=y&&"\n"!=y&&"\r"!=y&&(this.C+=y)}p++}}function a(){this.B=this.ya=this.l="",this.j=null,this.v=this.o="",this.s=[],this.C=this.A="",this.H=this.m=!1}function s(e,t){void 0===t||t instanceof s||(t=new s(String(t))),this.g=e,a.call(this),i.call(this,this.g.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),null,t)}var o=!1;try{var l=new URL("b","http://a");l.pathname="c%20d",o="http://a/c%20d"===l.href}catch(e){}if(!o){var h=Object.create(null);h.ftp=21,h.file=0,h.gopher=70,h.http=80,h.https=443,h.ws=80,h.wss=443;var c=Object.create(null);c["%2e"]=".",c[".%2e"]="..",c["%2e."]="..",c["%2e%2e"]="..";var u=/[a-zA-Z]/,d=/[a-zA-Z0-9+\-.]/;s.prototype={toString:function(){return this.href},get href(){if(this.m)return this.g;var e="";return""==this.B&&null==this.j||(e=this.B+(null!=this.j?":"+this.j:"")+"@"),this.protocol+(this.H?"//"+e+this.host:"")+this.pathname+this.A
10+this.C},set href(e){a.call(this),i.call(this,e)},get protocol(){return this.l+":"},set protocol(e){this.m||i.call(this,e+":","scheme start")},get host(){return this.m?"":this.v?this.o+":"+this.v:this.o},set host(e){!this.m&&this.H&&i.call(this,e,"host")},get hostname(){return this.o},set hostname(e){!this.m&&this.H&&i.call(this,e,"hostname")},get port(){return this.v},set port(e){!this.m&&this.H&&i.call(this,e,"port")},get pathname(){return this.m?"":this.H?"/"+this.s.join("/"):this.ya},set pathname(e){!this.m&&this.H&&(this.s=[],i.call(this,e,"relative path start"))},get search(){return this.m||!this.A||"?"==this.A?"":this.A},set search(e){!this.m&&this.H&&(this.A="?","?"==e[0]&&(e=e.slice(1)),i.call(this,e,"query"))},get hash(){return this.m||!this.C||"#"==this.C?"":this.C},set hash(e){this.m||(e?(this.C="#","#"==e[0]&&(e=e.slice(1)),i.call(this,e,"fragment")):this.C="")},get origin(){var e;if(this.m||!this.l)return"";switch(this.l){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this.l+"://"+e:""}};var p=e.URL;p&&(s.createObjectURL=function(e){return p.createObjectURL.apply(p,arguments)},s.revokeObjectURL=function(e){p.revokeObjectURL(e)}),e.URL=s}}(window);var Bo=window.customElements,Vo=!1,zo=null;function Ho(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),zo&&zo(),Vo=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}Bo.polyfillWrapFlushCallback&&Bo.polyfillWrapFlushCallback((function(e){zo=e,Vo&&e()})),"complete"!==document.readyState?(window.addEventListener("load",Ho),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",Ho),Ho()}))):Ho()}).call(this),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var r=[],n=Object.getPrototypeOf,i=r.slice,a=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},s=r.push,o=r.indexOf,l={},h=l.toString,c=l.hasOwnProperty,u=c.toString,d=u.call(Object),p={},f=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,r){var n,i,a=(r=r||g).createElement("script");if(a.text=e,t)for(n in v)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,i);r.head.appendChild(a).parentNode.removeChild(a)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[h.call(e)]||"object":typeof e}var _="3.7.0",E=/HTML$/i,C=function(e,t){return new C.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,r=b(e);return!f(e)&&!m(e)&&("array"===r||0===t||"number"==typeof t&&0<t&&t-1 in e)}function x(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}C.fn=C.prototype={jquery:_,constructor:C,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(0<=r&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:r.sort,splice:r.splice},C.extend=C.fn.extend=function(){var e,t,r,n,i,a,s=arguments[0]||{},o=1,l=arguments.length,h=!1;for("boolean"==typeof s&&(h=s,s=arguments[o]||{},o++),"object"==typeof s||f(s)||(s={}),o===l&&(s=this,o--);o<l;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&s!==n&&(h&&n&&(C.isPlainObject(n)||(i=Array.isArray(n)))?(r=s[t],a=i&&!Array.isArray(r)?[]:i||C.isPlainObject(r)?r:{},i=!1,s[t]=C.extend(h,a,n)):void 0!==n&&(s[t]=n));return s},C.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;
vendor: 8,744 bytes, line 10
10return!(!e||"[object Object]"!==h.call(e)||(t=n(e))&&("function"!=typeof(r=c.call(t,"constructor")&&t.constructor)||u.call(r)!==d))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){y(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(S(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,r="",n=0,i=e.nodeType;if(i){if(1===i||9===i||11===i)return e.textContent;if(3===i||4===i)return e.nodeValue}else for(;t=e[n++];)r+=C.text(t);return r},makeArray:function(e,t){var r=t||[];return null!=e&&(S(Object(e))?C.merge(r,"string"==typeof e?[e]:e):s.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:o.call(t,e,r)},isXMLDoc:function(e){var t=e&&e.namespaceURI,r=e&&(e.ownerDocument||e).documentElement;return!E.test(t||r&&r.nodeName||"HTML")},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n=[],i=0,a=e.length,s=!r;i<a;i++)!t(e[i],i)!==s&&n.push(e[i]);return n},map:function(e,t,r){var n,i,s=0,o=[];if(S(e))for(n=e.length;s<n;s++)null!=(i=t(e[s],s,r))&&o.push(i);else for(s in e)null!=(i=t(e[s],s,r))&&o.push(i);return a(o)},guid:1,support:p}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=r[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var w=r.pop,T=r.sort,P=r.splice,A="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g");C.contains=function(e,t){var r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(e.contains?e.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))};var k=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function M(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}C.escapeSelector=function(e){return(e+"").replace(k,M)};var N=g,F=s;!function(){var t,n,a,s,l,h,u,d,f,m,g=F,v=C.expando,y=0,b=0,_=ee(),E=ee(),S=ee(),k=ee(),M=function(e,t){return e===t&&(l=!0),0},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="(?:\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+A+"*("+O+")(?:"+A+"*([*^$|!~]?=)"+A+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+A+"*\\]",L=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",j=new RegExp(A+"+","g"),B=new RegExp("^"+A+"*,"+A+"*"),V=new RegExp("^"+A+"*([>+~]|"+A+")"+A+"*"),z=new RegExp(A+"|>"),H=new RegExp(L),q=new RegExp("^"+O+"$"),G={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+A+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+A+"*((?:-\\d)?\\d*)"+A+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,Z=new RegExp("\\\\[\\da-fA-F]{1,6}"+A+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},X=function(){le()},Q=de((function(e){return!0===e.disabled&&x(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(r=i.call(N.childNodes),N.childNodes),r[N.childNodes.length].nodeType}catch(t){g={apply:function(e,t){F.apply(e,i.call(t))},call:function(e){F.apply(e,i.call(arguments,1))}}}function J(e,t,r,n){var i,a,s,o,l,c,u,m=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!n&&(le(t),t=t||h,d)){if(11!==y&&(l=$.exec(e)))if(i=l[1]){if(9===y){if(!(s=t.getElementById(i)))return r;if(s.id===i)return g.call(r,s),r}else if(m&&(s=m.getElementById(i))&&J.contains(t,s)&&s.id===i)return g.call(r,s),r}else{if(l[2])return g.apply(r,t.getElementsByTagName(e)),r;if((i=l[3])&&t.getElementsByClassName)return g.apply(r,t.getElementsByClassName(i)),r}if(!(k[e+" "]||f&&f.test(e))){if(u=e,m=t,1===y&&(z.test(e)||V.test(e))){for((m=Y.test(e)&&oe(t.parentNode)||t)==t&&p.scope||((o=t.getAttribute("id"))?o=C.escapeSelector(o):t.setAttribute("id",o=v)),a=(c=ce(e)).length;a--;)c[a]=(o?"#"+o:":scope")+" "+ue(c[a]);u=c.join(",")}try{return g.apply(r,m.querySelectorAll(u)),r}catch(t){k(e,!0)}finally{o===v&&t.removeAttribute("id")}}}return ye(e.replace(D,"$1"),t,r,n)}function ee(){var e=[];return function t(r,i){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=i}}function te(e){return e[v]=!0,e}function re(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return x(t,"input")&&t.type===e}}function ie(e){return function(t){return(x(t,"input")||x(t,"button"))&&t.type===e}}function ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(r,n){for(var i,a=e([],r.length,t),s=a.length;s--;)r[i=a[s]]&&(r[i]=!(n[i]=r[i]))}))}))}function oe(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var t,r=e?e.ownerDocument||e:N;return r!=h&&9===r.nodeType&&r.documentElement&&(u=(h=r).documentElement,d=!C.isXMLDoc(h),m=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,N!=h&&(t=h.defaultView)&&t.top!==t&&t.addEventListener("unload",X),p.getById=re((function(e){return u.appendChild(e).id=C.expando,!h.getElementsByName||!h.getElementsByName(C.expando).length})),p.disconnectedMatch=re((function(e){return m.call(e,"*")})),p.scope=re((function(){return h.querySelectorAll(":scope")})),p.cssHas=re((function(){try{return h.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),p.getById?(n.filter.ID=function(e){var t=e.replace(Z,K);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var r=t.getElementById(e);return r?[r]:[]}}):(n.filter.ID=function(e){var t=e.replace(Z,K);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var r,n,i,a=t.getElementById(e);if(a){if((r=a.getAttributeNode("id"))&&r.value===e)return[a];for(i=t.getElementsByName(e),n=0;a=i[n++];)if((r=a.getAttributeNode("id"))&&r.value===e)return[a]}return[]}}),n.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},n.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e)},f=[],re((function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||f.push("\\["+A+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+v+"-]").length||f.push("~="),e.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll(":checked").length||f.push(":checked"),(t=h.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+A+"*name"+A+"*="+A+"*(?:''|\"\")")})),p.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),M=function(e,t){if(e===t)return l=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===r?e===h||e.ownerDocument==N&&J.contains(N,e)?-1:t===h||t.ownerDocument==N&&J.contains(N,t)?1:s?o.call(s,e)-o.call(s,t):0:4&r?-1:1)}),h}for(t in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),d&&!k[t+" "]&&(!f||!f.test(t)))try{var r=m.call(e,t);if(r||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return 0<J(t,h,null,[e]).length},J.contains=function(e,t){return(e.ownerDocument||e)!=h&&le(e),C.contains(e,t)},J.attr=function(e,t){(e.ownerDocument||e)!=h&&le(e);var r=n.attrHandle[t.toLowerCase()],i=r&&c.call(n.attrHandle,t.toLowerCase())?r(e,t,!d
vendor: 9,279 bytes, line 10
10):void 0;return void 0!==i?i:e.getAttribute(t)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},C.uniqueSort=function(e){var t,r=[],n=0,a=0;if(l=!p.sortStable,s=!p.sortStable&&i.call(e,0),T.call(e,M),l){for(;t=e[a++];)t===e[a]&&(n=r.push(a));for(;n--;)P.call(e,r[n],1)}return s=null,e},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(i.apply(this)))},(n=C.expr={cacheLength:50,createPseudo:te,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,K),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,K),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&H.test(r)&&(t=ce(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return x(e,t)}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+A+")"+e+"("+A+"|$)"))&&_(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var i=J.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&-1<i.indexOf(r):"$="===t?r&&i.slice(-r.length)===r:"~="===t?-1<(" "+i.replace(j," ")+" ").indexOf(r):"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),o="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,l){var h,c,u,d,p,f=a!==s?"nextSibling":"previousSibling",m=t.parentNode,g=o&&t.nodeName.toLowerCase(),b=!l&&!o,_=!1;if(m){if(a){for(;f;){for(u=t;u=u[f];)if(o?x(u,g):1===u.nodeType)return!1;p=f="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&b){for(_=(d=(h=(c=m[v]||(m[v]={}))[e]||[])[0]===y&&h[1])&&h[2],u=d&&m.childNodes[d];u=++d&&u&&u[f]||(_=d=0)||p.pop();)if(1===u.nodeType&&++_&&u===t){c[e]=[y,d,_];break}}else if(b&&(_=d=(h=(c=t[v]||(t[v]={}))[e]||[])[0]===y&&h[1]),!1===_)for(;(u=++d&&u&&u[f]||(_=d=0)||p.pop())&&(!(o?x(u,g):1===u.nodeType)||!++_||(b&&((c=u[v]||(u[v]={}))[e]=[y,_]),u!==t)););return(_-=i)===n||_%n==0&&0<=_/n}}},PSEUDO:function(e,t){var r,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return i[v]?i(t):1<i.length?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,r){for(var n,a=i(e,t),s=a.length;s--;)e[n=o.call(e,a[s])]=!(r[n]=a[s])})):function(e){return i(e,0,r)}):i}},pseudos:{not:te((function(e){var t=[],r=[],n=ve(e.replace(D,"$1"));return n[v]?te((function(e,t,r,i){for(var a,s=n(e,null,i,[]),o=e.length;o--;)(a=s[o])&&(e[o]=!(t[o]=a))})):function(e,i,a){return t[0]=e,n(t,null,a,r),t[0]=null,!r.pop()}})),has:te((function(e){return function(t){return 0<J(e,t).length}})),contains:te((function(e){return e=e.replace(Z,K),function(t){return-1<(t.textContent||C.text(t)).indexOf(e)}})),lang:te((function(e){return q.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(Z,K).toLowerCase(),function(t){var r;do{if(r=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return h.activeElement}catch(e){}}()&&h.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ae(!1),disabled:ae(!0),checked:function(e){return x(e,"input")&&!!e.checked||x(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return x(e,"input")&&"button"===e.type||x(e,"button")},text:function(e){var t;return x(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,r){return[r<0?r+t:r]})),even:se((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:se((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:se((function(e,t,r){var n;for(n=r<0?r+t:t<r?t:r;0<=--n;)e.push(n);return e})),gt:se((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=ne(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=ie(t);function he(){}function ce(e,t){var r,i,a,s,o,l,h,c=E[e+" "];if(c)return t?0:c.slice(0);for(o=e,l=[],h=n.preFilter;o;){for(s in r&&!(i=B.exec(o))||(i&&(o=o.slice(i[0].length)||o),l.push(a=[])),r=!1,(i=V.exec(o))&&(r=i.shift(),a.push({value:r,type:i[0].replace(D," ")}),o=o.slice(r.length)),n.filter)!(i=G[s].exec(o))||h[s]&&!(i=h[s](i))||(r=i.shift(),a.push({value:r,type:s,matches:i}),o=o.slice(r.length));if(!r)break}return t?o.length:o?J.error(e):E(e,l).slice(0)}function ue(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function de(e,t,r){var n=t.dir,i=t.next,a=i||n,s=r&&"parentNode"===a,o=b++;return t.first?function(t,r,i){for(;t=t[n];)if(1===t.nodeType||s)return e(t,r,i);return!1}:function(t,r,l){var h,c,u=[y,o];if(l){for(;t=t[n];)if((1===t.nodeType||s)&&e(t,r,l))return!0}else for(;t=t[n];)if(1===t.nodeType||s)if(c=t[v]||(t[v]={}),i&&x(t,i))t=t[n]||t;else{if((h=c[a])&&h[0]===y&&h[1]===o)return u[2]=h[2];if((c[a]=u)[2]=e(t,r,l))return!0}return!1}}function pe(e){return 1<e.length?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function fe(e,t,r,n,i){for(var a,s=[],o=0,l=e.length,h=null!=t;o<l;o++)(a=e[o])&&(r&&!r(a,n,i)||(s.push(a),h&&t.push(o)));return s}function me(e,t,r,n,i,a){return n&&!n[v]&&(n=me(n)),i&&!i[v]&&(i=me(i,a)),te((function(a,s,l,h){var c,u,d,p,f=[],m=[],v=s.length,y=a||function(e,t,r){for(var n=0,i=t.length;n<i;n++)J(e,t[n],r);return r}(t||"*",l.nodeType?[l]:l,[]),b=!e||!a&&t?y:fe(y,f,e,l,h);if(r?r(b,p=i||(a?e:v||n)?[]:s,l,h):p=b,n)for(c=fe(p,m),n(c,[],l,h),u=c.length;u--;)(d=c[u])&&(p[m[u]]=!(b[m[u]]=d));if(a){if(i||e){if(i){for(c=[],u=p.length;u--;)(d=p[u])&&c.push(b[u]=d);i(null,p=[],c,h)}for(u=p.length;u--;)(d=p[u])&&-1<(c=i?o.call(a,d):f[u])&&(a[c]=!(s[c]=d))}}else p=fe(p===s?p.splice(v,p.length):p),i?i(null,s,p,h):g.apply(s,p)}))}function ge(e){for(var t,r,i,s=e.length,l=n.relative[e[0].type],h=l||n.relative[" "],c=l?1:0,u=de((function(e){return e===t}),h,!0),d=de((function(e){return-1<o.call(t,e)}),h,!0),p=[function(e,r,n){var i=!l&&(n||r!=a)||((t=r).nodeType?u(e,r,n):d(e,r,n));return t=null,i}];c<s;c++)if(r=n.relative[e[c].type])p=[de(pe(p),r)];else{if((r=n.filter[e[c].type].apply(null,e[c].matches))[v]){for(i=++c;i<s&&!n.relative[e[i].type];i++);return me(1<c&&pe(p),1<c&&ue(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(D,"$1"),r,c<i&&ge(e.slice(c,i)),i<s&&ge(e=e.slice(i)),i<s&&ue(e))}p.push(r)}return pe(p)}function ve(e,t){var r,i,s,o,l,c,u=[],p=[],f=S[e+" "];if(!f){for(t||(t=ce(e)),r=t.length;r--;)(f=ge(t[r]))[v]?u.push(f):p.push(f);(f=S(e,(i=p,o=0<(s=u).length,l=0<i.length,c=function(e,t,r,c,u){var p,f,m,v=0,b="0",_=e&&[],E=[],S=a,x=e||l&&n.find.TAG("*",u),T=y+=null==S?1:Math.random()||.1,P=x.length;for(u&&(a=t==h||t||u);b!==P&&null!=(p=x[b]);b++){if(l&&p){for(f=0,t||p.ownerDocument==h||(le(p),r=!d);m=i[f++];)if(m(p,t||h,r)){g.call(c,p);break}u&&(y=T)}o&&((p=!m&&p)&&v--,e&&_.push(p))}if(v+=b,o&&b!==v){for(f=0;m=s[f++];)m(_,E,t,r);if(e){if(0<v)for(;b--;)_[b]||E[b]||(E[b]=w.call(c));E=fe(E)}g.apply(c,E),u&&!e&&0<E.length&&1<v+s.length&&C.uniqueSort(c)}return u&&(y=T,a=S),_},o?te(c):c))).selector=e}return f}function ye(e,t,r,i){var a,s,o,l,h,c="function"==typeof e&&e,u=!i&&ce(e=c.selector||e);if(r=r||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(o=s[0]).type&&9===t.nodeType&&d&&n.relative[s[1].type]){if(!(t=(n.find.ID(o.matches[0].replace(Z,K),t)||[])[0]))return r;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(a=G.needsContext.test(e)?0:s.length;a--&&(o=s[a],!n.relative[l=o.type]);)if((h=n.find[l])&&(i=h(o.matches[0].replace(Z,K),Y.test(s[0].type)&&oe(t.parentNode)||t))){if(s.splice(a,1),!(e=i.length&&ue(s)))return g.apply(r,i),r;break}}return(c||ve(e,u))(i,t,!d,r,!t||Y.test(e)&&oe(t.parentNode)||t),r}he.prototype=n.filters=n.pseudos,n.setFilters=new he,p.sortStable=v.split("").sort(M).join("")===v,le(),p.sortDetached=re((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),C.find=J,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,J.compile=ve,J.select=ye,J.setDocument=le,J.escape=C.escapeSelector,J.getText=C.text,J.isXML=C.isXMLDoc,J.selectors=C.expr,J.supp
vendor: 5,264 bytes, line 10
10ort=C.support,J.uniqueSort=C.uniqueSort}();var I=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(r))break;n.push(e)}return n},O=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},R=C.expr.match.needsContext,L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,r){return f(t)?C.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?C.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?C.grep(e,(function(e){return-1<o.call(t,e)!==r})):C.filter(t,e,r)}C.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?C.find.matchesSelector(n,e)?[n]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<n;t++)if(C.contains(i[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)C.find(e,i[t],r);return 1<n?C.uniqueSort(r):r},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&R.test(e)?C(e):e||[],!1).length}});var B,V=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||B,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:V.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),L.test(n[1])&&C.isPlainObject(t))for(n in t)f(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=g.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==r.ready?r.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,B=C(g);var z=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,i=this.length,a=[],s="string"!=typeof e&&C(e);if(!R.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(s?-1<s.index(r):1===r.nodeType&&C.find.matchesSelector(r,e))){a.push(r);break}return this.pushStack(1<a.length?C.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?o.call(C(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,r){return I(e,"parentNode",r)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,r){return I(e,"nextSibling",r)},prevUntil:function(e,t,r){return I(e,"previousSibling",r)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(x(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(r,n){var i=C.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=C.filter(n,i)),1<this.length&&(H[e]||C.uniqueSort(i),z.test(e)&&i.reverse()),this.pushStack(i)}}));var G=/[^\x20\t\r\n\f]+/g;function W(e){return e}function U(e){throw e}function $(e,t,r,n){var i;try{e&&f(i=e.promise)?i.call(e).done(t).fail(r):e&&f(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}C.Callbacks=function(e){var t,r;e="string"==typeof e?(t=e,r={},C.each(t.match(G)||[],(function(e,t){r[t]=!0})),r):C.extend({},e);var n,i,a,s,o=[],l=[],h=-1,c=function(){for(s=s||e.once,a=n=!0;l.length;h=-1)for(i=l.shift();++h<o.length;)!1===o[h].apply(i[0],i[1])&&e.stopOnFalse&&(h=o.length,i=!1);e.memory||(i=!1),n=!1,s&&(o=i?[]:"")},u={add:function(){return o&&(i&&!n&&(h=o.length-1,l.push(i)),function t(r){C.each(r,(function(r,n){f(n)?e.unique&&u.has(n)||o.push(n):n&&n.length&&"string"!==b(n)&&t(n)}))}(arguments),i&&!n&&c()),this},remove:function(){return C.each(arguments,(function(e,t){for(var r;-1<(r=C.inArray(t,o,r));)o.splice(r,1),r<=h&&h--})),this},has:function(e){return e?-1<C.inArray(e,o):0<o.length},empty:function(){return o&&(o=[]),this},disable:function(){return s=l=[],o=i="",this},disabled:function(){return!o},lock:function(){return s=l=[],i||n||(o=i=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),n||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!a}};return u},C.extend({Deferred:function(t){var r=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.
vendor: 4,136 bytes, line 10
10Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(t){C.each(r,(function(r,n){var i=f(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=i&&i.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(t,n,i){var a=0;function s(t,r,n,i){return function(){var o=this,l=arguments,h=function(){var e,h;if(!(t<a)){if((e=n.apply(o,l))===r.promise())throw new TypeError("Thenable self-resolution");h=e&&("object"==typeof e||"function"==typeof e)&&e.then,f(h)?i?h.call(e,s(a,r,W,i),s(a,r,U,i)):(a++,h.call(e,s(a,r,W,i),s(a,r,U,i),s(a,r,W,r.notifyWith))):(n!==W&&(o=void 0,l=[e]),(i||r.resolveWith)(o,l))}},c=i?h:function(){try{h()}catch(e){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(e,c.error),a<=t+1&&(n!==U&&(o=void 0,l=[e]),r.rejectWith(o,l))}};t?c():(C.Deferred.getErrorHook?c.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(c.error=C.Deferred.getStackHook()),e.setTimeout(c))}}return C.Deferred((function(e){r[0][3].add(s(0,e,f(i)?i:W,e.notifyWith)),r[1][3].add(s(0,e,f(t)?t:W)),r[2][3].add(s(0,e,f(n)?n:U))})).promise()},promise:function(e){return null!=e?C.extend(e,i):i}},a={};return C.each(r,(function(e,t){var s=t[2],o=t[5];i[t[1]]=s.add,o&&s.add((function(){n=o}),r[3-e][2].disable,r[3-e][3].disable,r[0][2].lock,r[0][3].lock),s.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=s.fireWith})),i.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,r=t,n=Array(r),a=i.call(arguments),s=C.Deferred(),o=function(e){return function(r){n[e]=this,a[e]=1<arguments.length?i.call(arguments):r,--t||s.resolveWith(n,a)}};if(t<=1&&($(e,s.done(o(r)).resolve,s.reject,!t),"pending"===s.state()||f(a[r]&&a[r].then)))return s.then();for(;r--;)$(a[r],o(r),s.reject);return s.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,r){e.console&&e.console.warn&&t&&Y.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,r)},C.readyException=function(t){e.setTimeout((function(){throw t}))};var Z=C.Deferred();function K(){g.removeEventListener("DOMContentLoaded",K),e.removeEventListener("load",K),C.ready()}C.fn.ready=function(e){return Z.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0)!==e&&0<--C.readyWait||Z.resolveWith(g,[C])}}),C.ready.then=Z.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?e.setTimeout(C.ready):(g.addEventListener("DOMContentLoaded",K),e.addEventListener("load",K));var X=function(e,t,r,n,i,a,s){var o=0,l=e.length,h=null==r;if("object"===b(r))for(o in i=!0,r)X(e,t,o,r[o],!0,a,s);else if(void 0!==n&&(i=!0,f(n)||(s=!0),h&&(s?(t.call(e,n),t=null):(h=t,t=function(e,t,r){return h.call(C(e),r)})),t))for(;o<l;o++)t(e[o],r,s?n:n.call(e[o],o,t(e[o],r)));return i?e:h?t.call(e):l?t(e[0],r):a},Q=/^-ms-/,J=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(Q,"ms-").replace(J,ee)}var re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ne(){this.expando=C.expando+ne.uid++}ne.uid=1,ne.prototype={cache:function(e){var t=e[this.expando];return t||(t={},re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"==typeof t)i[te(t)]=r;else for(n in t)i[te(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];
vendor: 4,689 bytes, line 10
10if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(te):(t=te(t))in n?[t]:t.match(G)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||C.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var ie=new ne,ae=new ne,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oe=/[A-Z]/g;function le(e,t,r){var n,i;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(oe,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r="true"===(i=r)||"false"!==i&&("null"===i?null:i===+i+""?+i:se.test(i)?JSON.parse(i):i)}catch(e){}ae.set(e,t,r)}else r=void 0;return r}C.extend({hasData:function(e){return ae.hasData(e)||ie.hasData(e)},data:function(e,t,r){return ae.access(e,t,r)},removeData:function(e,t){ae.remove(e,t)},_data:function(e,t,r){return ie.access(e,t,r)},_removeData:function(e,t){ie.remove(e,t)}}),C.fn.extend({data:function(e,t){var r,n,i,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(i=ae.get(a),1===a.nodeType&&!ie.get(a,"hasDataAttrs"))){for(r=s.length;r--;)s[r]&&0===(n=s[r].name).indexOf("data-")&&(n=te(n.slice(5)),le(a,n,i[n]));ie.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){ae.set(this,e)})):X(this,(function(t){var r;if(a&&void 0===t)return void 0!==(r=ae.get(a,e))||void 0!==(r=le(a,e))?r:void 0;this.each((function(){ae.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){ae.remove(this,e)}))}}),C.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=ie.get(e,t),r&&(!n||Array.isArray(r)?n=ie.access(e,t,C.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=C.queue(e,t),n=r.length,i=r.shift(),a=C._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete a.stop,i.call(e,(function(){C.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return ie.get(e,r)||ie.access(e,r,{empty:C.Callbacks("once memory").add((function(){ie.remove(e,[t+"queue",r])}))})}}),C.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?C.queue(this[0],e):void 0===t?this:this.each((function(){var r=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=C.Deferred(),a=this,s=this.length,o=function(){--n||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=ie.get(a[s],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(o));return o(),i.promise(t)}});var he=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ce=new RegExp("^(?:([+-])=|)("+he+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"],de=g.documentElement,pe=function(e){return C.contains(e.ownerDocument,e)},fe={composed:!0};de.getRootNode&&(pe=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(fe)===e.ownerDocument});var me=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&pe(e)&&"none"===C.css(e,"display")};function ge(e,t,r,n){var i,a,s=20,o=n?function(){return n.cur()}:function(){return C.css(e,t,"")},l=o(),h=r&&r[3]||(C.cssNumber[t]?"":"px"),c=e.nodeType&&(C.cssNumber[t]||"px"!==h&&+l)&&ce.exec(C.css(e,t));if(c&&c[3]!==h){for(l/=2,h=h||c[3],c=+l||1;s--;)C.style(e,t,c+h),(1-a)*(1-(a=o()/l||.5))<=0&&(s=0),c/=a;c*=2,C.style(e,t,c+h),r=r||[]}return r&&(c=+c||+l||0,i=r[1]?c+(r[1]+1)*r[2]:+r[2],n&&(n.unit=h,n.start=c,n.end=i)),i}var ve={};function ye(e,t){for(var r,n,i,a,s,o,l,h=[],c=0,u=e.length;c<u;c++)(n=e[c]).style&&(r=n.style.display,t?("none"===r&&(h[c]=ie.get(n,"display")||null,h[c]||(n.style.display="")),""===n.style.display&&me(n)&&(h[c]=(l=s=a=void 0,s=(i=n).ownerDocument,o=i.nodeName,(l=ve[o])||(a=s.body.appendChild(s.createElement(o)),l=C.css(a,"display"),a.parentNode.removeChild(a),"none"===l&&(l="block"),ve[o]=l)))):"none"!==r&&(h[c]="none",ie.set(n,"display",r)));for(c=0;c<u;c++)null!=h[c]&&(e[c].style.display=h[c]);return e}C.fn.extend({show:function(){return ye(this,!0)},hide:function(){return ye(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){me(this)?C(this).show():C(this).hide()}))}});var be,_e,Ee=/^(?:checkbox|radio)$/i,Ce=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i;be=g.createDocumentFragment().appendChild(g.createElement("div")),(_e=g.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),be.appendChild(_e),p.checkClone
vendor: 5,714 bytes, line 10
10=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",p.option=!!be.lastChild;var xe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&x(e,t)?C.merge([e],r):r}function Te(e,t){for(var r=0,n=e.length;r<n;r++)ie.set(e[r],"globalEval",!t||ie.get(t[r],"globalEval"))}xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,p.option||(xe.optgroup=xe.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function Ae(e,t,r,n,i){for(var a,s,o,l,h,c,u=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((a=e[p])||0===a)if("object"===b(a))C.merge(d,a.nodeType?[a]:a);else if(Pe.test(a)){for(s=s||u.appendChild(t.createElement("div")),o=(Ce.exec(a)||["",""])[1].toLowerCase(),l=xe[o]||xe._default,s.innerHTML=l[1]+C.htmlPrefilter(a)+l[2],c=l[0];c--;)s=s.lastChild;C.merge(d,s.childNodes),(s=u.firstChild).textContent=""}else d.push(t.createTextNode(a));for(u.textContent="",p=0;a=d[p++];)if(n&&-1<C.inArray(a,n))i&&i.push(a);else if(h=pe(a),s=we(u.appendChild(a),"script"),h&&Te(s),r)for(c=0;a=s[c++];)Se.test(a.type||"")&&r.push(a);return u}var De=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Me(){return!1}function Ne(e,t,r,n,i,a){var s,o;if("object"==typeof t){for(o in"string"!=typeof r&&(n=n||r,r=void 0),t)Ne(e,o,r,n,t[o],a);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Me;else if(!i)return e;return 1===a&&(s=i,(i=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each((function(){C.event.add(this,t,i,n,r)}))}function Fe(e,t,r){r?(ie.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var r,n=ie.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=i.call(arguments),ie.set(this,t,n),this[t](),r=ie.get(this,t),ie.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(ie.set(this,t,C.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=ke)}})):void 0===ie.get(e,t)&&C.event.add(e,t,ke)}C.event={global:{},add:function(e,t,r,n,i){var a,s,o,l,h,c,u,d,p,f,m,g=ie.get(e);if(re(e))for(r.handler&&(r=(a=r).handler,i=a.selector),i&&C.find.matchesSelector(de,i),r.guid||(r.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),h=(t=(t||"").match(G)||[""]).length;h--;)p=m=(o=De.exec(t[h])||[])[1],f=(o[2]||"").split(".").sort(),p&&(u=C.event.special[p]||{},p=(i?u.delegateType:u.bindType)||p,u=C.event.special[p]||{},c=C.extend({type:p,origType:m,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:f.join(".")},a),(d=l[p])||((d=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,f,s)||e.addEventListener&&e.addEventListener(p,s)),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[p]=!0)},remove:function(e,t,r,n,i){var a,s,o,l,h,c,u,d,p,f,m,g=ie.hasData(e)&&ie.get(e);if(g&&(l=g.events)){for(h=(t=(t||"").match(G)||[""]).length;h--;)if(p=m=(o=De.exec(t[h])||[])[1],f=(o[2]||"").split(".").sort(),p){for(u=C.event.special[p]||{},d=l[p=(n?u.delegateType:u.bindType)||p]||[],o=o[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=d.length;a--;)c=d[a],!i&&m!==c.origType||r&&r.guid!==c.guid||o&&!o.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,u.remove&&u.remove.call(e,c));s&&!d.length&&(u.teardown&&!1!==u.teardown.call(e,f,g.handle)||C.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)C.event.remove(e,p+t[h],r,n,!0);C.isEmptyObject(l)&&ie.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,a,s,o=new Array(arguments.length),l=C.event.fix(e),h=(ie.get(this,"events")||Object.create(null))[l.type]||[],c=C.event.special[l.type]||{};for(o[0]=l,t=1;t<arguments.length;t++)o[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=C.event.handlers.call(this,l,h),t=0;(i=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,r=0;(a=i.handlers[r++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(n=((C.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,o))&&!1===(l.result=n)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var r,n,i,a,s,o=[],l=t.delegateCount,h=e.target;if(l&&h.nodeType&&!("click"===e.type&&1<=e.button))for(;h!==this;h=h.parentNode||this)if(1===h.nodeType&&("click"!==e.type||!0!==h.disabled)){for(a=[],s={},r=0;r<l;r++)void 0===s[i=(n=t[r]).selector+" "]&&(s[i]=n.needsContext?-1<C(i,this).index(h):C.find(i,this,null,[h]).length),s[i]&&a.push(n);a.length&&o.push({elem:h,handlers:a})}return h=this,l<t.length&&o.push({elem:h,handlers:t.slice(l)}),o},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:f(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 3,207 bytes, line 10
10,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&x(t,"input")&&Fe(t,"click",!0),!1},trigger:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&x(t,"input")&&Fe(t,"click"),!0},_default:function(e){var t=e.target;return Ee.test(t.type)&&t.click&&x(t,"input")&&ie.get(t,"click")||x(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Me,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Me,isPropagationStopped:Me,isImmediatePropagationStopped:Me,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.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:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){function r(e){if(g.documentMode){var r=ie.get(this,"handle"),n=C.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,r(e),n.target===n.currentTarget&&r(n)}else C.event.simulate(t,e.target,C.event.fix(e))}C.event.special[e]={setup:function(){var n;if(Fe(this,e,!0),!g.documentMode)return!1;(n=ie.get(this,t))||this.addEventListener(t,r),ie.set(this,t,(n||0)+1)},trigger:function(){return Fe(this,e),!0},teardown:function(){var e;if(!g.documentMode)return!1;(e=ie.get(this,t)-1)?ie.set(this,t,e):(this.removeEventListener(t,r),ie.remove(this,t))},_default:function(t){return ie.get(t.target,e)},delegateType:t},C.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=g.documentMode?this:n,a=ie.get(i,t);a||(g.documentMode?this.addEventListener(t,r):n.addEventListener(e,r,!0)),ie.set(i,t,(a||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=g.documentMode?this:n,a=ie.get(i,t)-1;a?ie.set(i,t,a):(g.documentMode?this.removeEventListener(t,r):n.removeEventListener(e,r,!0),ie.remove(i,t))}}}
vendor: 5,962 bytes, line 10
10)),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||C.contains(this,n))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}})),C.fn.extend({on:function(e,t,r,n){return Ne(this,e,t,r,n)},one:function(e,t,r,n){return Ne(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,C(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Me),this.each((function(){C.event.remove(this,e,r,t)}))}});var Ie=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Le(e,t){return x(e,"table")&&x(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ve(e,t){var r,n,i,a,s,o;if(1===t.nodeType){if(ie.hasData(e)&&(o=ie.get(e).events))for(i in ie.remove(t,"handle events"),o)for(r=0,n=o[i].length;r<n;r++)C.event.add(t,i,o[i][r]);ae.hasData(e)&&(a=ae.access(e),s=C.extend({},a),ae.set(t,s))}}function ze(e,t,r,n){t=a(t);var i,s,o,l,h,c,u=0,d=e.length,m=d-1,g=t[0],v=f(g);if(v||1<d&&"string"==typeof g&&!p.checkClone&&Oe.test(g))return e.each((function(i){var a=e.eq(i);v&&(t[0]=g.call(this,i,a.html())),ze(a,t,r,n)}));if(d&&(s=(i=Ae(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=s),s||n)){for(l=(o=C.map(we(i,"script"),je)).length;u<d;u++)h=i,u!==m&&(h=C.clone(h,!0,!0),l&&C.merge(o,we(h,"script"))),r.call(e[u],h,u);if(l)for(c=o[o.length-1].ownerDocument,C.map(o,Be),u=0;u<l;u++)h=o[u],Se.test(h.type||"")&&!ie.access(h,"globalEval")&&C.contains(c,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?C._evalUrl&&!h.noModule&&C._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},c):y(h.textContent.replace(Re,""),h,c))}return e}function He(e,t,r){for(var n,i=t?C.filter(t,e):e,a=0;null!=(n=i[a]);a++)r||1!==n.nodeType||C.cleanData(we(n)),n.parentNode&&(r&&pe(n)&&Te(we(n,"script")),n.parentNode.removeChild(n));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,i,a,s,o,l,h,c=e.cloneNode(!0),u=pe(e);if(!(p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=we(c),n=0,i=(a=we(e)).length;n<i;n++)o=a[n],"input"===(h=(l=s[n]).nodeName.toLowerCase())&&Ee.test(o.type)?l.checked=o.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=o.defaultValue);if(t)if(r)for(a=a||we(e),s=s||we(c),n=0,i=a.length;n<i;n++)Ve(a[n],s[n]);else Ve(e,c);return 0<(s=we(c,"script")).length&&Te(s,!u&&we(e,"script")),c},cleanData:function(e){for(var t,r,n,i=C.event.special,a=0;void 0!==(r=e[a]);a++)if(re(r)){if(t=r[ie.expando]){if(t.events)for(n in t.events)i[n]?C.event.remove(r,n):C.removeEvent(r,n,t.handle);r[ie.expando]=void 0}r[ae.expando]&&(r[ae.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return X(this,(function(e){return void 0===e?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return ze(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return X(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!xe[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(C.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,(function(t){var r=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(we(this)),r&&r.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var r,n=[],i=C(e),a=i.length-1,o=0;o<=a;o++)r=o===a?this:this.clone(!0),C(i[o])[t](r),s.apply(n,r.get());return this.pushStack(n)}}));var qe=new RegExp("^("+he+")(?!px)[a-z%]+$","i"),Ge=/^--/,We=function(t){var r=t.ownerDocument.defaultView;return r&&r.opener||(r=e),r.getComputedStyle(t)},Ue=function(e,t,r){var n,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in n=r.call(e),t)e.style[i]=a[i];return n},$e=new RegExp(ue.join("|"),"i");function Ye(e,t,r){var n,i,a,s,o=Ge.test(t),l=e.style;return(r=r||We(e))&&(s=r.getPropertyValue(t)||r[t],o&&s&&(s=s.replace(D,"$1")||void 0),""!==s||pe(e)||(s=C.style(e,t)),!p.pixelBoxStyles()&&qe.test(s)&&$e.test(t)&&(n=l.width,i=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=r.width,l.width=n,l.minWidth=i,l.maxWidth=a)),void 0!==s?s+"":s}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){h.style.cssText="position:absolute;
10left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",de.appendChild(h).appendChild(c);var t=e.getComputedStyle(c);n="1%"!==t.top,l=12===r(t.marginLeft),c.style.right="60%",s=36===r(t.right),i=36===r(t.width),c.style.position="absolute",a=12===r(c.offsetWidth/3),de.removeChild(h),c=null}}function r(e){return Math.round(parseFloat(e))}var n,i,a,s,o,l,h=g.createElement("div"),c=g.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(p,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),a},reliableTrDimensions:function(){var t,r,n,i;return null==o&&(t=g.createElement("table"),r=g.createElement("tr"),n=g.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",r.style.cssText="border:1px solid",r.style.height="1px",n.style.height="9px",n.style.display="block",de.appendChild(t).appendChild(r).appendChild(n),i=e.getComputedStyle(r),o=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===r.offsetHeight,de.removeChild(t)),o}}))}();var Ke=["Webkit","Moz","ms"],Xe=g.createElement("div").style,Qe={};function Je(e){return C.cssProps[e]||Qe[e]||(e in Xe?e:Qe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=Ke.length;r--;)if((e=Ke[r]+t)in Xe)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,r){var n=ce.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function it(e,t,r,n,i,a){var s="width"===t?1:0,o=0,l=0,h=0;if(r===(n?"border":"content"))return 0;for(;s<4;s+=2)"margin"===r&&(h+=C.css(e,r+ue[s],!0,i)),n?("content"===r&&(l-=C.css(e,"padding"+ue[s],!0,i)),"margin"!==r&&(l-=C.css(e,"border"+ue[s]+"Width",!0,i))):(l+=C.css(e,"padding"+ue[s],!0,i),"padding"!==r?l+=C.css(e,"border"+ue[s]+"Width",!0,i):o+=C.css(e,"border"+ue[s]+"Width",!0,i));return!n&&0<=a&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-o-.5))||0),l+h}function at(e,t,r){var n=We(e),i=(!p.boxSizingReliable()||r)&&"border-box"===C.css(e,"boxSizing",!1,n),a=i,s=Ye(e,t,n),o="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(s)){if(!r)return s;s="auto"}return(!p.boxSizingReliable()&&i||!p.reliableTrDimensions()&&x(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===C.css(e,"boxSizing",!1,n),(a=o in e)&&(s=e[o])),(s=parseFloat(s)||0)+it(e,t,r||(i?"border":"content"),a,n,s)+"px"}function st(e,t,r,n,i){return new st.prototype.init(e,t,r,n,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Ye(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,s,o=te(t),l=Ge.test(t),h=e.style;if(l||(t=Je(o)),s=C.cssHooks[t]||C.cssHooks[o],void 0===r)return s&&"get"in s&&void 0!==(i=s.get(e,!1,n))?i:h[t];"string"==(a=typeof r)&&(i=ce.exec(r))&&i[1]&&(r=ge(e,t,i),a="number"),null!=r&&r==r&&("number"!==a||l||(r+=i&&i[3]||(C.cssNumber[o]?"":"px")),p.clearCloneStyle||""!==r||0!==t.indexOf("background")||(h[t]="inherit"),s&&"set"in s&&void 0===(r=s.set(e,r,n))||(l?h.setProperty(t,r):h[t]=r))}},css:function(e,t,r,n){var i,a,s,o=te(t);return Ge.test(t)||(t=Je(o)),(s=C.cssHooks[t]||C.cssHooks[o])&&"get"in s&&(i=s.get(e,!0,r)),void 0===i&&(i=Ye(e,t,n)),"normal"===i&&t in rt&&(i=rt[t]),""===r||r?
vendor: 5,325 bytes, line 10
10(a=parseFloat(i),!0===r||isFinite(a)?a||0:i):i}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,r,n){if(r)return!et.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,n):Ue(e,tt,(function(){return at(e,t,n)}))},set:function(e,r,n){var i,a=We(e),s=!p.scrollboxSize()&&"absolute"===a.position,o=(s||n)&&"border-box"===C.css(e,"boxSizing",!1,a),l=n?it(e,t,n,o,a):0;return o&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-it(e,t,"border",!1,a)-.5)),l&&(i=ce.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=C.css(e,t)),nt(0,r,l)}}})),C.cssHooks.marginLeft=Ze(p.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(r){for(var n=0,i={},a="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+ue[n]+t]=a[n]||a[n-2]||a[0];return i}},"margin"!==e&&(C.cssHooks[e+t].set=nt)})),C.fn.extend({css:function(e,t){return X(this,(function(e,t,r){var n,i,a={},s=0;if(Array.isArray(t)){for(n=We(e),i=t.length;s<i;s++)a[t[s]]=C.css(e,t[s],!1,n);return a}return void 0!==r?C.style(e,t,r):C.css(e,t)}),e,t,1<arguments.length)}}),((C.Tween=st).prototype={constructor:st,init:function(e,t,r,n,i,a){this.elem=e,this.prop=r,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(C.cssNumber[r]?"":"px")},cur:function(){var e=st.propHooks[this.prop];return e&&e.get?e.get(this):st.propHooks._default.get(this)},run:function(e){var t,r=st.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):st.propHooks._default.set(this),this}}).init.prototype=st.prototype,(st.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=st.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=st.prototype.init,C.fx.step={};var ot,lt,ht,ct,ut=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function pt(){lt&&(!1===g.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(pt):e.setTimeout(pt,C.fx.interval),C.fx.tick())}function ft(){return e.setTimeout((function(){ot=void 0})),ot=Date.now()}function mt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=ue[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function gt(e,t,r){for(var n,i=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),a=0,s=i.length;a<s;a++)if(n=i[a].call(r,t,e))return n}function vt(e,t,r){var n,i,a=0,s=vt.prefilters.length,o=C.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=ot||ft(),r=Math.max(0,h.startTime+h.duration-t),n=1-(r/h.duration||0),a=0,s=h.tweens.length;a<s;a++)h.tweens[a].run(n);return o.notifyWith(e,[h,n,r]),n<1&&s?r:(s||o.notifyWith(e,[h,1,0]),o.resolveWith(e,[h]),!1)},h=o.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},r),originalProperties:t,originalOptions:r,startTime:ot||ft(),duration:r.duration,tweens:[],createTween:function(t,r){var n=C.Tween(e,h.opts,t,r,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(n),n},stop:function(t){var r=0,n=t?h.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)h.tweens[r].run(1);return t?(o.notifyWith(e,[h,1,0]),o.resolveWith(e,[h,t])):o.rejectWith(e,[h,t]),this}}),c=h.props;for(function(e,t){var r,n,i,a,s;for(r in e)if(i=t[n=te(r)],a=e[r],Array.isArray(a)&&(i=a[1],a=e[r]=a[0]),r!==n&&(e[n]=a,delete e[r]),(s=C.cssHooks[n])&&"expand"in s)for(r in a=s.expand(a),delete e[n],a)r in e||(e[r]=a[r],t[r]=i);else t[n]=i}(c,h.opts.specialEasing);a<s;a++)if(n=vt.prefilters[a].call(h,e,c,h.opts))return f(n.stop)&&(C._queueHooks(h.elem,h.opts.queue).stop=n.stop.bind(n)),n;return C.map(c,gt,h),f(h.opts.start)&&h.opts.start.call(e,h),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always),C.fx.timer(C.extend(l,{elem:e,anim:h,queue:h.opts.queue})),h}C.Animation=C.extend(vt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return ge(r.elem,e,ce.exec(t),r),r}]},tweener:function(e,t){f(e)?(t=e,e=["*"]):e=e.match(G);for(var r,n=0,i=e.length;n<i;n++)r=e[n],vt.tweeners[r]=vt.tweeners[r]||[],vt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,i,a,s,o,l,h,c,u="width"in t||"height"in t,d=this,p={},f=e.style,m=e.nodeType&&me(e),g=ie.get(e,"fxshow");for(n in r.queue||(null==(s=C._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,o=s.empty.fire,s.empty.fire=function(){s.unqueued||o()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,C.queue(e,"fx").length||s.empty.fire()}))}
vendor: 4,767 bytes, line 10
10))),t)if(i=t[n],ut.test(i)){if(delete t[n],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||C.style(e,n)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(p))for(n in u&&1===e.nodeType&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],null==(h=g&&g.display)&&(h=ie.get(e,"display")),"none"===(c=C.css(e,"display"))&&(h?c=h:(ye([e],!0),h=e.style.display||h,c=C.css(e,"display"),ye([e]))),("inline"===c||"inline-block"===c&&null!=h)&&"none"===C.css(e,"float")&&(l||(d.done((function(){f.display=h})),null==h&&(c=f.display,h="none"===c?"":c)),f.display="inline-block")),r.overflow&&(f.overflow="hidden",d.always((function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=ie.access(e,"fxshow",{display:h}),a&&(g.hidden=!m),m&&ye([e],!0),d.done((function(){for(n in m||ye([e]),ie.remove(e,"fxshow"),p)C.style(e,n,p[n])}))),l=gt(m?g[n]:0,n,d),n in g||(g[n]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),C.speed=function(e,t,r){var n=e&&"object"==typeof e?C.extend({},e):{complete:r||!r&&t||f(e)&&e,duration:e,easing:r&&t||t&&!f(t)&&t};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){f(n.old)&&n.old.call(this),n.queue&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(e,t,r,n){return this.filter(me).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=C.isEmptyObject(e),a=C.speed(t,r,n),s=function(){var t=vt(this,C.extend({},e),a);(i||ie.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=C.timers,s=ie.get(this);if(i)s[i]&&s[i].stop&&n(s[i]);else for(i in s)s[i]&&s[i].stop&&dt.test(i)&&n(s[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(r),t=!1,a.splice(i,1));!t&&r||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=ie.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],a=C.timers,s=n?n.length:0;for(r.finish=!0,C.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var r=C.fn[t];C.fn[t]=function(e,n,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(mt(t,!0),e,n,i)}})),C.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),C.timers=[],C.fx.tick=function(){var e,t=0,r=C.timers;for(ot=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||C.fx.stop(),ot=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){lt||(lt=!0,pt())},C.fx.stop=function(){lt=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,r){return t=C.fx&&C.fx.speeds[t]||t,r=r||"fx",this.queue(r,(function(r,n){var i=e.setTimeout(r,t);n.stop=function(){e.clearTimeout(i)}}))},ht=g.createElement("input"),ct=g.createElement("select").appendChild(g.createElement("option")),ht.type="checkbox",p.checkOn=""!==ht.value,p.optSelected=ct.selected,(ht=g.createElement("input")).value="t",ht.type="radio",p.radioValue="t"===ht.value;var yt,bt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return X(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?C.prop(e,t,r):(1===a&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?yt:void 0)),void 0!==r?null===r?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=C.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&x(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(G);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),yt={set:function(e,t,r){return!1===t?C.removeAttr(e,r):e.setAttribute(r,r),r}}
vendor: 5,094 bytes, line 10
10,C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=bt[t]||C.find.attr;bt[t]=function(e,t,n){var i,a,s=t.toLowerCase();return n||(a=bt[s],bt[s]=i,i=null!=r(e,t,n)?s:null,bt[s]=a),i}}));var _t=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function Ct(e){return(e.match(G)||[]).join(" ")}function St(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(G)||[]}C.fn.extend({prop:function(e,t){return X(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,r,n,i,a,s;return f(e)?this.each((function(t){C(this).addClass(e.call(this,t,St(this)))})):(t=xt(e)).length?this.each((function(){if(n=St(this),r=1===this.nodeType&&" "+Ct(n)+" "){for(a=0;a<t.length;a++)i=t[a],r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=Ct(r),n!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,r,n,i,a,s;return f(e)?this.each((function(t){C(this).removeClass(e.call(this,t,St(this)))})):arguments.length?(t=xt(e)).length?this.each((function(){if(n=St(this),r=1===this.nodeType&&" "+Ct(n)+" "){for(a=0;a<t.length;a++)for(i=t[a];-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");s=Ct(r),n!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var r,n,i,a,s=typeof e,o="string"===s||Array.isArray(e);return f(e)?this.each((function(r){C(this).toggleClass(e.call(this,r,St(this),t),t)})):"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):(r=xt(e),this.each((function(){if(o)for(a=C(this),i=0;i<r.length;i++)n=r[i],a.hasClass(n)?a.removeClass(n):a.addClass(n);else void 0!==e&&"boolean"!==s||((n=St(this))&&ie.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===e?"":ie.get(this,"__className__")||""))})))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&-1<(" "+Ct(St(r))+" ").indexOf(t))return!0;return!1}});var wt=/\r/g;C.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=f(e),this.each((function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,C(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(wt,""):null==r?"":r:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:Ct(C.text(e))}},select:{get:function(e){var t,r,n,i=e.options,a=e.selectedIndex,s="select-one"===e.type,o=s?null:[],l=s?a+1:i.length;for(n=a<0?l:s?a:0;n<l;n++)if(((r=i[n]).selected||n===a)&&!r.disabled&&(!r.parentNode.disabled||!x(r.parentNode,"optgroup"))){if(t=C(r).val(),s)return t;o.push(t)}return o},set:function(e,t){for(var r,n,i=e.options,a=C.makeArray(t),s=i.length;s--;)((n=i[s]).selected=-1<C.inArray(C.valHooks.option.get(n),a))&&(r=!0);return r||(e.selectedIndex=-1),a}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<C.inArray(C(e).val(),t)}},p.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Tt=e.location,Pt={guid:Date.now()},At=/\?/;C.parseXML=function(t){var r,n;if(!t||"string"!=typeof t)return null;try{r=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=r&&r.getElementsByTagName("parsererror")[0],r&&!n||C.error("Invalid XML: "+(n?C.map(n.childNodes,(function(e){return e.textContent})).join("\n"):t)),r};var Dt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(t,r,n,i){var a,s,o,l,h,u,d,p,v=[n||g],y=c.call(t,"type")?t.type:t,b=c.call(t,"namespace")?t.namespace.split("."):[];if(s=p=o=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(y+C.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),h=y.indexOf(":")<0&&"on"+y,(t=t[C.expando]?t:new C.Event(y,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=b.
vendor: 6,288 bytes, line 10
10join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),r=null==r?[t]:C.makeArray(r,[t]),d=C.event.special[y]||{},i||!d.trigger||!1!==d.trigger.apply(n,r))){if(!i&&!d.noBubble&&!m(n)){for(l=d.delegateType||y,Dt.test(l+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),o=s;o===(n.ownerDocument||g)&&v.push(o.defaultView||o.parentWindow||e)}for(a=0;(s=v[a++])&&!t.isPropagationStopped();)p=s,t.type=1<a?l:d.bindType||y,(u=(ie.get(s,"events")||Object.create(null))[t.type]&&ie.get(s,"handle"))&&u.apply(s,r),(u=h&&s[h])&&u.apply&&re(s)&&(t.result=u.apply(s,r),!1===t.result&&t.preventDefault());return t.type=y,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),r)||!re(n)||h&&f(n[y])&&!m(n)&&((o=n[h])&&(n[h]=null),C.event.triggered=y,t.isPropagationStopped()&&p.addEventListener(y,kt),n[y](),t.isPropagationStopped()&&p.removeEventListener(y,kt),C.event.triggered=void 0,o&&(n[h]=o)),t.result}},simulate:function(e,t,r){var n=C.extend(new C.Event,r,{type:e,isSimulated:!0});C.event.trigger(n,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return C.event.trigger(e,t,r,!0)}});var Mt=/\[\]$/,Nt=/\r?\n/g,Ft=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,r,n){var i;if(Array.isArray(t))C.each(t,(function(t,i){r||Mt.test(e)?n(e,i):Ot(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,n)}));else if(r||"object"!==b(t))n(e,t);else for(i in t)Ot(e+"["+i+"]",t[i],r,n)}C.param=function(e,t){var r,n=[],i=function(e,t){var r=f(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){i(this.name,this.value)}));else for(r in e)Ot(r,e[r],t,i);return n.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&It.test(this.nodeName)&&!Ft.test(e)&&(this.checked||!Ee.test(e))})).map((function(e,t){var r=C(this).val();return null==r?null:Array.isArray(r)?C.map(r,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:r.replace(Nt,"\r\n")}})).get()}});var Rt=/%20/g,Lt=/#.*$/,jt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:GET|HEAD)$/,zt=/^\/\//,Ht={},qt={},Gt="*/".concat("*"),Wt=g.createElement("a");function Ut(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,a=t.toLowerCase().match(G)||[];if(f(r))for(;n=a[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function $t(e,t,r,n){var i={},a=e===qt;function s(o){var l;return i[o]=!0,C.each(e[o]||[],(function(e,o){var h=o(t,r,n);return"string"!=typeof h||a||i[h]?a?!(l=h):void 0:(t.dataTypes.unshift(h),s(h),!1)})),l}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Yt(e,t){var r,n,i=C.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&C.extend(!0,e,n),e}Wt.href=Tt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,C.ajaxSettings),t):Yt(C.ajaxSettings,e)},ajaxPrefilter:Ut(Ht),ajaxTransport:Ut(qt),ajax:function(t,r){"object"==typeof t&&(r=t,t=void 0),r=r||{};var n,i,a,s,o,l,h,c,u,d,p=C.ajaxSetup({},r),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?C(f):C.event,v=C.Deferred(),y=C.Callbacks("once memory"),b=p.statusCode||{},_={},E={},S="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(h){if(!s)for(s={};t=Bt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?a:null},setRequestHeader:function(e,t){return null==h&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==h&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)x.always(e[x.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||S;return n&&n.abort(t),w(0,t),this}};if(v.promise(x),p.url=((t||p.url||Tt.href)+"").replace(zt,Tt.protocol+"//"),p.type=r.method||r.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(G)||[""],null==p.crossDomain){l=g.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),$t(Ht,p,r,x),h)return x;for(u in(c=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Vt.test(p.type),i=p.url.replace(Lt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Rt,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(At.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(jt,"$1"),d=(At.test(i)?"&":"?")+"_="+Pt.guid+++d),p.url=i+d),p.ifModified&&(C.lastModified[i]&&x.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&x.setRequestHeader("If-None-Match",C.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||r.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Gt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(u,p.headers[u]);
vendor: 5,371 bytes, line 10
10if(p.beforeSend&&(!1===p.beforeSend.call(f,x,p)||h))return x.abort();if(S="abort",y.add(p.complete),x.done(p.success),x.fail(p.error),n=$t(qt,p,r,x)){if(x.readyState=1,c&&m.trigger("ajaxSend",[x,p]),h)return x;p.async&&0<p.timeout&&(o=e.setTimeout((function(){x.abort("timeout")}),p.timeout));try{h=!1,n.send(_,w)}catch(t){if(h)throw t;w(-1,t)}}else w(-1,"No Transport");function w(t,r,s,l){var u,d,g,_,E,S=r;h||(h=!0,o&&e.clearTimeout(o),n=void 0,a=l||"",x.readyState=0<t?4:0,u=200<=t&&t<300||304===t,s&&(_=function(e,t,r){for(var n,i,a,s,o=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in o)if(o[i]&&o[i].test(n)){l.unshift(i);break}if(l[0]in r)a=l[0];else{for(i in r){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}s||(s=i)}a=a||s}if(a)return a!==l[0]&&l.unshift(a),r[a]}(p,x,s)),!u&&-1<C.inArray("script",p.dataTypes)&&C.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,r,n){var i,a,s,o,l,h={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)h[s.toLowerCase()]=e.converters[s];for(a=c.shift();a;)if(e.responseFields[a]&&(r[e.responseFields[a]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(s=h[l+" "+a]||h["* "+a]))for(i in h)if((o=i.split(" "))[1]===a&&(s=h[l+" "+o[0]]||h["* "+o[0]])){!0===s?s=h[i]:!0!==h[i]&&(a=o[0],c.unshift(o[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(p,_,x,u),u?(p.ifModified&&((E=x.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=E),(E=x.getResponseHeader("etag"))&&(C.etag[i]=E)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=_.state,d=_.data,u=!(g=_.error))):(g=S,!t&&S||(S="error",t<0&&(t=0))),x.status=t,x.statusText=(r||S)+"",u?v.resolveWith(f,[d,S,x]):v.rejectWith(f,[x,S,g]),x.statusCode(b),b=void 0,c&&m.trigger(u?"ajaxSuccess":"ajaxError",[x,p,u?d:g]),y.fireWith(f,[x,S]),c&&(m.trigger("ajaxComplete",[x,p]),--C.active||C.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,r){return C.get(e,t,r,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,r,n,i){return f(r)&&(i=i||n,n=r,r=void 0),C.ajax(C.extend({url:e,type:t,dataType:i,data:r,success:n},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,r){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,r)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(r){C(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Kt=C.ajaxSettings.xhr();p.cors=!!Kt&&"withCredentials"in Kt,p.ajax=Kt=!!Kt,C.ajaxTransport((function(t){var r,n;if(p.cors||Kt&&!t.crossDomain)return{send:function(i,a){var s,o=t.xhr();if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)o[s]=t.xhrFields[s];for(s in t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)o.setRequestHeader(s,i[s]);r=function(e){return function(){r&&(r=n=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===e?o.abort():"error"===e?"number"!=typeof o.status?a(0,"error"):a(o.status,o.statusText):a(Zt[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=r(),n=o.onerror=o.ontimeout=r("error"),void 0!==o.onabort?o.onabort=n:o.onreadystatechange=function(){4===o.readyState&&e.setTimeout((function(){r&&n()}))},r=r("abort");try{o.send(t.hasContent&&t.data||null)}catch(i){if(r)throw i}},abort:function(){r&&r()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=C("<script>").attr(e.scriptAttrs||{}
vendor: 5,689 bytes, line 10
10).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){r&&r()}}}));var Xt,Qt=[],Jt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||C.expando+"_"+Pt.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(t,r,n){var i,a,s,o=!1!==t.jsonp&&(Jt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=f(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Jt,"$1"+i):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",a=e[i],e[i]=function(){s=arguments},n.always((function(){void 0===a?C(e).removeProp(i):e[i]=a,t[i]&&(t.jsonpCallback=r.jsonpCallback,Qt.push(i)),s&&f(a)&&a(s[0]),s=a=void 0})),"script"})),p.createHTMLDocument=((Xt=g.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),C.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(p.createHTMLDocument?((n=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(n)):t=g),a=!r&&[],(i=L.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,a),a&&a.length&&C(a).remove(),C.merge([],i.childNodes)));var n,i,a},C.fn.load=function(e,t,r){var n,i,a,s=this,o=e.indexOf(" ");return-1<o&&(n=Ct(e.slice(o)),e=e.slice(0,o)),f(t)?(r=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){a=arguments,s.html(n?C("<div>").append(C.parseHTML(e)).find(n):e)})).always(r&&function(e,t){s.each((function(){r.apply(this,a||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,r){var n,i,a,s,o,l,h=C.css(e,"position"),c=C(e),u={};"static"===h&&(e.style.position="relative"),o=c.offset(),a=C.css(e,"top"),l=C.css(e,"left"),("absolute"===h||"fixed"===h)&&-1<(a+l).indexOf("auto")?(s=(n=c.position()).top,i=n.left):(s=parseFloat(a)||0,i=parseFloat(l)||0),f(t)&&(t=t.call(e,r,C.extend({},o))),null!=t.top&&(u.top=t.top-o.top+s),null!=t.left&&(u.left=t.left-o.left+i),"using"in t?t.using.call(e,u):c.css(u)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===C.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((i=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),i.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-C.css(n,"marginTop",!0),left:t.left-i.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||de}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;C.fn[e]=function(n){return X(this,(function(e,n,i){var a;if(m(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[n];a?a.scrollTo(r?a.pageXOffset:i,r?i:a.pageYOffset):e[n]=i}),e,n,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ze(p.pixelPosition,(function(e,r){if(r)return r=Ye(e,t),qe.test(r)?C(e).position()[t]+"px":r}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){C.fn[n]=function(i,a){var s=arguments.length&&(r||"boolean"!=typeof i),o=r||(!0===i||!0===a?"margin":"border");return X(this,(function(t,r,i){var a;return m(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?C.css(t,r,o):C.style(t,r,i,o)}),t,s?i:void 0,s)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.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(e,t){C.fn[t]=function(e,r){return 0<arguments.length?this.on(t,null,e,r):this.trigger(t)}}));var er=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var r,n,a;if("string"==typeof t&&(r=e[t],t=e,e=r),f(e))return n=i.call(arguments,2),(a=function(){return e.apply(t||this,n.concat(i.call(arguments)))}).guid=e.guid=e.guid||C.guid++,a},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=x,C.isFunction=f,C.isWindow=m,C.camel
10Case=te,C.type=b,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(er,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return C}));var tr=e.jQuery,rr=e.$;return C.noConflict=function(t){return e.$===C&&(e.$=rr),t&&e.jQuery===C&&(e.jQuery=tr),C},void 0===t&&(e.jQuery=e.$=C),C})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){e.extend(e.fn,{validate:function(t){if(this.length){var r=e.data(this[0],"validator");return r||(this.attr("novalidate","novalidate"),r=new e.validator(t,this[0]),e.data(this[0],"validator",r),r.settings.onsubmit&&(this.on("click.validate",":submit",(function(t){r.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(r.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(r.cancelSubmit=!0)})),this.on("submit.validate",(function(t){function n(){var n,i;return r.submitButton&&(r.settings.submitHandler||r.formSubmitted)&&(n=e("<input type='hidden'/>").attr("name",r.submitButton.name).val(e(r.submitButton).val()).appendTo(r.currentForm)),!(r.settings.submitHandler&&!r.settings.debug)||(i=r.settings.submitHandler.call(r,r.currentForm,t),n&&n.remove(),void 0!==i&&i)}return r.settings.debug&&t.preventDefault(),r.cancelSubmit?(r.cancelSubmit=!1,n()):r.form()?r.pendingRequest?(r.formSubmitted=!0,!1):n():(r.focusInvalid(),!1)}))),r)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,r,n;return e(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,r=e(this[0].form).validate(),this.each((function(){(t=r.element(this)&&t)||(n=n.concat(r.errorList))})),r.errorList=n),t},rules:function(t,r){var n,i,a,s,o,l,h=this[0],c=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=h&&(!h.form&&c&&(h.form=this.closest("form")[0],h.name=this.attr("name")),null!=h.form)){if(t)switch(n=e.data(h.form,"validator").settings,i=n.rules,a=e.validator.staticRules(h),t){case"add":e.extend(a,e.validator.normalizeRule(r)),delete a.messages,i[h.name]=a,r.messages&&(n.messages[h.name]=e.extend(n.messages[h.name],r.messages));break;case"remove":return r?(l={},e.each(r.split(/\s/),(function(e,t){l[t]=a[t],delete a[t]})),l):(delete i[h.name],a)}return(s=e.validator.normalizeRules(e.extend({},e.validator.classRules(h),e.validator.attributeRules(h),e.validator.dataRules(h),e.validator.staticRules(h)),h)).required&&(o=s.required,delete s.required,s=e.extend({required:o},s)),s.remote&&(o=s.remote,delete s.remote,s=e.extend(s,{remote:o})),s}}});var t=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(r){return!t(""+e(r).val())},filled:function(r){var n=e(r).val();return null!==n&&!!t(""+n)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,r){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=r,this.init()},e.validator.format=function(t,r){return 1===arguments.length?function(){var r=e.makeArray(arguments);return r.unshift(t),e.validator.format.apply(this,r)}:(void 0===r||(arguments.length>2&&r.constructor!==Array&&(r=e.makeArray(arguments).slice(1)),r.constructor!==Array&&(r=[r]),e.each(r,(function(e,r){t=t.replace(new RegExp("\\{"+e+"\\}","g"),(function(){return r}))}))),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element
10(e)},onkeyup:function(t,r){9===r.which&&""===this.elementValue(t)||-1!==e.inArray(r.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,r,n){"radio"===t.type?this.findByName(t.name).addClass(r).removeClass(n):e(t).addClass(r).removeClass(n)},unhighlight:function(t,r,n){"radio"===t.type?this.findByName(t.name).removeClass(r).addClass(n):e(t).removeClass(r).addClass(n)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var r=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&r&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),n===this.form){var i=e.data(this.form,"validator"),a="on"+t.type.replace(/^validate/,""),s=i.settings;s[a]&&!e(this).is(s.ignore)&&s[a].call(i,this,t)}}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var r,n=this.currentForm,i=this.groups={};e.each(this.settings.groups,(function(t,r){"string"==typeof r&&(r=r.split(/\s/)),e.each(r,(function(e,r){i[r]=t}))})),r=this.settings.rules,e.each(r,(function(t,n){r[t]=e.validator.normalizeRule(n)})),e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var r,n,i=this.clean(t),a=this.validationTargetFor(i),s=this,o=!0;return void 0===a?delete this.invalid[i.name]:(this.prepareElement(a),this.currentElements=e(a),(n=this.groups[a.name])&&e.each(this.groups,(function(e,t){t===n&&e!==a.name&&((i=s.validationTargetFor(s.clean(s.findByName(e))))&&i.name in s.invalid&&(s.currentElements.push(i),o=s.check(i)&&o))})),r=!1!==this.check(a),o=o&&r,this.invalid[a.name]=!r,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!r)),o},showErrors:function(t){if(t){var r=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,(function(e,t){return{message:e,element:r.findByName(t)[0]}})),this.successList=e.grep(this.successList,(function(e){return!(e.name in t)}))}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.val
vendor: 8,685 bytes, line 10
10idClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,r=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&r++;return r},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,(function(e){return e.element.name===t.name})).length&&t},elements:function(){var t=this,r={};return e(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter((function(){var n=this.name||e(this).attr("name"),i=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!n&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),i&&(this.form=e(this).closest("form")[0],this.name=n),!(this.form!==t.currentForm||n in r||!t.objectLength(e(this).rules())||(r[n]=!0,0))}))},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var r,n,i=e(t),a=t.type,s=void 0!==i.attr("contenteditable")&&"false"!==i.attr("contenteditable");return"radio"===a||"checkbox"===a?this.findByName(t.name).filter(":checked").val():"number"===a&&void 0!==t.validity?t.validity.badInput?"NaN":i.val():(r=s?i.text():i.val(),"file"===a?"C:\\fakepath\\"===r.substr(0,12)?r.substr(12):(n=r.lastIndexOf("/"))>=0?r.substr(n+1):(n=r.lastIndexOf("\\"))>=0?r.substr(n+1):r:"string"==typeof r?r.replace(/\r/g,""):r)},check:function(t){t=this.validationTargetFor(this.clean(t));var r,n,i,a,s=e(t).rules(),o=e.map(s,(function(e,t){return t})).length,l=!1,h=this.elementValue(t);for(n in"function"==typeof s.normalizer?a=s.normalizer:"function"==typeof this.settings.normalizer&&(a=this.settings.normalizer),a&&(h=a.call(t,h),delete s.normalizer),s){i={method:n,parameters:s[n]};try{if("dependency-mismatch"===(r=e.validator.methods[n].call(this,h,t,i.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===r)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!r)return this.formatAndAdd(t,i),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+i.method+"' method.",e),e instanceof TypeError&&(e.message+=".  Exception occurred when checking element "+t.id+", check the '"+i.method+"' method."),e}}if(!l)return this.objectLength(s)&&this.successList.push(t),!0},customDataMessage:function(t,r){return e(t).data("msg"+r.charAt(0).toUpperCase()+r.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var r=this.settings.messages[e];return r&&(r.constructor===String?r:r[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]},defaultMessage:function(t,r){"string"==typeof r&&(r={method:r});var n=this.findDefined(this.customMessage(t.name,r.method),this.customDataMessage(t,r.method),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[r.method],"<strong>Warning: No message defined for "+t.name+"</strong>"),i=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,r.parameters,t):i.test(n)&&(n=e.validator.format(n.replace(i,"{$1}"),r.parameters)),n},formatAndAdd:function(e,t){var r=this.defaultMessage(e,t);this.errorList.push({message:r,element:e,method:t.method}),this.errorMap[e.name]=r,this.submitted[e.name]=r},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,r;for(e=0;this.errorList[e];e++)r=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,r.element,this.settings.errorClass,this.settings.validClass),this.showLabel(r.element,r.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map((function(){return this.element}))},showLabel:function(t,r){var n,i,a,s,o=this.errorsFor(t),l=this.idOrName(t),h=e(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(r)):(n=o=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(r||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,e(t)):n.insertAfter(t),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(a=o.attr("id"),h?h.match(new RegExp("\\b"+this.escapeCssMeta(a)+"\\b"))||(h+=" "+a):h=a,e(t).attr("aria-describedby",h),(i=this.groups[t.name])&&(s=this,e.each(s.groups,(function(t,r){r===i&&e("[name='"+s.escapeCssMeta(t)+"']",s.currentForm).attr("aria-describedby",o.attr("id"))}))))),!r&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var r=this.escapeCssMeta(this.idOrName(t)),n=e(t).attr("aria-describedby"),i="label[for='"+r+"'], label[for='"+r+"'] *";return n&&(i=i+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(e){return void 0===e?"":e.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,r){switch(r.nodeName.toLowerCase()){case"select":return e("option:selected",r).length;case"input":if(this.checkable(r))return this.findByName(r.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,r){return!!e(t,r.form).length},function:function(e,t){return e(t)}},optional:function(t){var r=this.elementValue(t);return!e.validator.methods.required.call(this,r,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,r){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),r&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(e(this.currentForm).trigger("submit"),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!r&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,r){return r="string"==typeof r&&r||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:r})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("val
10idate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,r){t.constructor===String?this.classRuleSettings[t]=r:e.extend(this.classRuleSettings,t)},classRules:function(t){var r={},n=e(t).attr("class");return n&&e.each(n.split(" "),(function(){this in e.validator.classRuleSettings&&e.extend(r,e.validator.classRuleSettings[this])})),r},normalizeAttributeRule:function(e,t,r,n){/min|max|step/.test(r)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?e[r]=n:t===r&&"range"!==t&&(e["date"===t?"dateISO":r]=!0)},attributeRules:function(t){var r,n,i={},a=e(t),s=t.getAttribute("type");for(r in e.validator.methods)"required"===r?(""===(n=t.getAttribute(r))&&(n=!0),n=!!n):n=a.attr(r),this.normalizeAttributeRule(i,s,r,n);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(t){var r,n,i={},a=e(t),s=t.getAttribute("type");for(r in e.validator.methods)""===(n=a.data("rule"+r.charAt(0).toUpperCase()+r.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(i,s,r,n);return i},staticRules:function(t){var r={},n=e.data(t.form,"validator");return n.settings.rules&&(r=e.validator.normalizeRule(n.settings.rules[t.name])||{}),r},normalizeRules:function(t,r){return e.each(t,(function(n,i){if(!1!==i){if(i.param||i.depends){var a=!0;switch(typeof i.depends){case"string":a=!!e(i.depends,r.form).length;break;case"function":a=i.depends.call(r,r)}a?t[n]=void 0===i.param||i.param:(e.data(r.form,"validator").resetElements(e(r)),delete t[n])}}else delete t[n]})),e.each(t,(function(e,n){t[e]="function"==typeof n&&"normalizer"!==e?n(r):n})),e.each(["minlength","maxlength"],(function(){t[this]&&(t[this]=Number(t[this]))})),e.each(["rangelength","range"],(function(){var e;t[this]&&(Array.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(e=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(e[0]),Number(e[1])]))})),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var r={};e.each(t.split(/\s/),(function(){r[this]=!0})),t=r}return t},addMethod:function(t,r,n){e.validator.methods[t]=r,e.validator.messages[t]=void 0!==n?n:e.validator.messages[t],r.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,r,n){if(!this.depend(n,r))return"dependency-mismatch";if("select"===r.nodeName.toLowerCase()){var i=e(r).val();return i&&i.length>0}return this.checkable(r)?this.getLength(t,r)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)},date:function(){var e=!1;return function(t,r){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(r)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,r){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=r},maxlength:function(e,t,r){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=r},rangelength:function(e,t,r){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=r[0]&&n<=r[1]},min:function(e,t,r){return this.optional(t)||e>=r},max:function(e,t,r){return this.optional(t)||e<=r},range:function(e,t,r){return this.optional(t)||e>=r[0]&&e<=r[1]},step:function(t,r,n){var i,a=e(r).attr("type"),s="Step attribute on input type "+a+" is not supported.",o=new RegExp("\\b"+a+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},h=function(e){return Math.round(e*Math.pow(10,i))},c=!0;if(a&&!o.test(["text","number","range"].join()))throw new Error(s);return i=l(n),(l(t)>i||h(t)%h(n)!=0)&&(c=!1),this.optional(r)||c},equalTo:function(t,r,n){var i=e(n);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("val
10idate-equalTo-blur").on("blur.validate-equalTo",(function(){e(r).valid()})),t===i.val()},remote:function(t,r,n,i){if(this.optional(r))return"dependency-mismatch";i="string"==typeof i&&i||"remote";var a,s,o,l=this.previousValue(r,i);return this.settings.messages[r.name]||(this.settings.messages[r.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[r.name][i],this.settings.messages[r.name][i]=l.message,n="string"==typeof n&&{url:n}||n,o=e.param(e.extend({data:t},n.data)),l.old===o?l.valid:(l.old=o,a=this,this.startRequest(r),(s={})[r.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+r.name,dataType:"json",data:s,context:a.currentForm,success:function(e){var n,s,o,h=!0===e||"true"===e;a.settings.messages[r.name][i]=l.originalMessage,h?(o=a.formSubmitted,a.resetInternals(),a.toHide=a.errorsFor(r),a.formSubmitted=o,a.successList.push(r),a.invalid[r.name]=!1,a.showErrors()):(n={},s=e||a.defaultMessage(r,{method:i,parameters:t}),n[r.name]=l.message=s,a.invalid[r.name]=!0,a.showErrors(n)),l.valid=h,a.stopRequest(r,h)}},n)),"pending")}}});var r,n={};return e.ajaxPrefilter?e.ajaxPrefilter((function(e,t,r){var i=e.port;"abort"===e.mode&&(n[i]&&n[i].abort(),n[i]=r)})):(r=e.ajax,e.ajax=function(t){var i=("mode"in t?t:e.ajaxSettings).mode,a=("port"in t?t:e.ajaxSettings).port;return"abort"===i?(n[a]&&n[a].abort(),n[a]=r.apply(this,arguments),n[a]):r.apply(this,arguments)}),e})),function(e){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery-validation")):jQuery.validator.unobtrusive=e(jQuery)}((function(e){function t(e,t,r){e.rules[t]=r,e.message&&(e.messages[t]=e.message)}function r(e){return e.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function n(e){return e.substr(0,e.lastIndexOf(".")+1)}function i(e,t){return 0===e.indexOf("*.")&&(e=e.replace("*.",t)),e}function a(t,n){var i=e(this).find("[data-valmsg-for='"+r(n[0].name)+"']"),a=i.attr("data-valmsg-replace"),s=a?!1!==e.parseJSON(a):null;i.removeClass("field-validation-valid").addClass("field-validation-error"),t.data("unobtrusiveContainer",i),s?(i.empty(),t.removeClass("input-validation-error").appendTo(i)):t.hide()}function s(t,r){var n=e(this).find("[data-valmsg-summary=true]"),i=n.find("ul");i&&i.length&&r.errorList.length&&(i.empty(),n.addClass("validation-summary-errors").removeClass("validation-summary-valid"),e.each(r.errorList,(function(){e("<li />").html(this.message).appendTo(i)})))}function o(t){var r=t.data("unobtrusiveContainer");if(r){var n=r.attr("data-valmsg-replace"),i=n?e.parseJSON(n):null;r.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),i&&r.empty()}}function l(t){var r=e(this),n="__jquery_unobtrusive_validation_form_reset";if(!r.data(n)){r.data(n,!0);try{r.data("validator").resetForm()}finally{r.removeData(n)}r.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),r.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function h(t){var r=e(t),n=r.data(d),i=e.proxy(l,t),h=u.unobtrusive.options||{},c=function(r,n){var i=h[r];i&&e.isFunction(i)&&i.apply(t,n)};return n||(n={options:{errorClass:h.errorClass||"input-validation-error",errorElement:h.errorElement||"span",errorPlacement:function(){a.apply(t,arguments),c("errorPlacement",arguments)},invalidHandler:function(){s.apply(t,arguments),c("invalidHandler",arguments)},messages:{},rules:{},success:function(){o.apply(t,arguments),c("success",arguments)}},attachValidation:function(){r.off("reset."+d,i).on("reset."+d,i).validate(this.options)},validate:function(){return r.validate(),r.valid()}},r.data(d,n)),n}var c,u=e.validator,d="unobtrusiveValidation";return u.unobtrusive={adapters:[],parseElement:function(t,r){var n,i,a,s=e(t),o=s.parents("form")[0];o&&((n=h(o)).options.rules[t.name]=i={}
10,n.options.messages[t.name]=a={},e.each(this.adapters,(function(){var r="data-val-"+this.name,n=s.attr(r),l={};void 0!==n&&(r+="-",e.each(this.params,(function(){l[this]=s.attr(r+this)})),this.adapt({element:t,form:o,message:n,params:l,rules:i,messages:a}))})),e.extend(i,{__dummy__:!0}),r||n.attachValidation())},parse:function(t){var r=e(t),n=r.parents().addBack().filter("form").add(r.find("form")).has("[data-val=true]");r.find("[data-val=true]").each((function(){u.unobtrusive.parseElement(this,!0)})),n.each((function(){var e=h(this);e&&e.attachValidation()}))}},(c=u.unobtrusive.adapters).add=function(e,t,r){return r||(r=t,t=[]),this.push({name:e,params:t,adapt:r}),this},c.addBool=function(e,r){return this.add(e,(function(n){t(n,r||e,!0)}))},c.addMinMax=function(e,r,n,i,a,s){return this.add(e,[a||"min",s||"max"],(function(e){var a=e.params.min,s=e.params.max;a&&s?t(e,i,[a,s]):a?t(e,r,a):s&&t(e,n,s)}))},c.addSingleVal=function(e,r,n){return this.add(e,[r||"val"],(function(i){t(i,n||e,i.params[r])}))},u.addMethod("__dummy__",(function(e,t,r){return!0})),u.addMethod("regex",(function(e,t,r){var n;return!!this.optional(t)||(n=new RegExp(r).exec(e))&&0===n.index&&n[0].length===e.length})),u.addMethod("nonalphamin",(function(e,t,r){var n;return r&&(n=(n=e.match(/\W/g))&&n.length>=r),n})),u.methods.extension?(c.addSingleVal("accept","mimtype"),c.addSingleVal("extension","extension")):c.addSingleVal("extension","extension","accept"),c.addSingleVal("regex","pattern"),c.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),c.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),c.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),c.add("equalto",["other"],(function(a){var s=n(a.element.name),o=i(a.params.other,s);t(a,"equalTo",e(a.form).find(":input").filter("[name='"+r(o)+"']")[0])})),c.add("required",(function(e){"INPUT"===e.element.tagName.toUpperCase()&&"CHECKBOX"===e.element.type.toUpperCase()||t(e,"required",!0)})),c.add("remote",["url","type","additionalfields"],(function(a){var s={url:a.params.url,type:a.params.type||"GET",data:{}},o=n(a.element.name);e.each(function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}(a.params.additionalfields||a.element.name),(function(t,n){var l=i(n,o);s.data[l]=function(){var t=e(a.form).find(":input").filter("[name='"+r(l)+"']");return t.is(":checkbox")?t.filter(":checked").val()||t.filter(":hidden").val()||"":t.is(":radio")?t.filter(":checked").val()||"":t.val()}})),t(a,"remote",s)})),c.add("password",["min","nonalphamin","regex"],(function(e){e.params.min&&t(e,"minlength",e.params.min),e.params.nonalphamin&&t(e,"nonalphamin",e.params.nonalphamin),e.params.regex&&t(e,"regex",e.params.regex)})),c.add("fileextensions",["extensions"],(function(e){t(e,"extension",e.params.extensions)})),e((function(){u.unobtrusive.parse(document)})),u.unobtrusive})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,(function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function r(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var i=t(e),a=i.overflow,s=i.overflowX,o=i.overflowY;return/(auto|scroll|overlay)/.test(a+o+s)?e:n(r(e))}function i(e){return e&&e.referenceNode?e.referenceNode:e}function a(e){return 11===e?K:10===e?X:K||X}function s(e){if(!e)return document.documentElement;for(var r=a(10)?document.body:null,n=e.offsetParent||null;n===r&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===t(n,"position")?s(n):n:e?e.ownerDocument.documentElement:document.documentElement}function o(e){return null===e.parentNode?e:o(e.parentNode)}function l(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,i=r?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var h=a.commonAncestorContainer;if(e!==h&&t!==h||n.contains(i))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||s(e.firstElementChild)===e)}(h)?h:s(h);var c=o(e);return c.host?l(c.host,t):l(e,o(t).host)}function h(e){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var n=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||n)[t]}return e[t]}function c(e,t){var r=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=h(t,"top"),i=h(t,"left"),a=r?-1:1;return e.top+=n*a,e.bottom+=n*a,e.left+=i*a,e.right+=i*a,e}function u(e,t){var r="x"===t?"Left":"Top",n="Left"==r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+n+"Width"])}function d(e,t,r,n){return U(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],a(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function p(e){var t=e.body,r=e.documentElement,n=a(10)&&getComputedStyle(r);return{height:d("Height",t,r,n),width:d("Width",t,r,n)}}function f(e){return ee({},e,{right:e.left+e.width,bottom:e.top+e.height})}function m(e){var r={};try{if(a(10)){r=e.getBoundingClientRect();var n=h(e,"top"),i=h(e,"left");r.top+=n,r.left+=i,r.bottom+=n,r.right+=i}else r=e.getBoundingClientRect()}catch(e){}var s={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top}
vendor: 5,610 bytes, line 10
10,o="HTML"===e.nodeName?p(e.ownerDocument):{},l=o.width||e.clientWidth||s.width,c=o.height||e.clientHeight||s.height,d=e.offsetWidth-l,m=e.offsetHeight-c;if(d||m){var g=t(e);d-=u(g,"x"),m-=u(g,"y"),s.width-=d,s.height-=m}return f(s)}function g(e,r){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],s=a(10),o="HTML"===r.nodeName,l=m(e),h=m(r),u=n(e),d=t(r),p=parseFloat(d.borderTopWidth),g=parseFloat(d.borderLeftWidth);i&&o&&(h.top=U(h.top,0),h.left=U(h.left,0));var v=f({top:l.top-h.top-p,left:l.left-h.left-g,width:l.width,height:l.height});if(v.marginTop=0,v.marginLeft=0,!s&&o){var y=parseFloat(d.marginTop),b=parseFloat(d.marginLeft);v.top-=p-y,v.bottom-=p-y,v.left-=g-b,v.right-=g-b,v.marginTop=y,v.marginLeft=b}return(s&&!i?r.contains(u):r===u&&"BODY"!==u.nodeName)&&(v=c(v,r)),v}function v(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=g(e,r),i=U(r.clientWidth,window.innerWidth||0),a=U(r.clientHeight,window.innerHeight||0),s=t?0:h(r),o=t?0:h(r,"left");return f({top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:i,height:a})}function y(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===t(e,"position"))return!0;var i=r(e);return!!i&&y(i)}function b(e){if(!e||!e.parentElement||a())return document.documentElement;for(var r=e.parentElement;r&&"none"===t(r,"transform");)r=r.parentElement;return r||document.documentElement}function _(e,t,a,s){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],h={top:0,left:0},c=o?b(e):l(e,i(t));if("viewport"===s)h=v(c,o);else{var u;"scrollParent"===s?"BODY"===(u=n(r(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===s?e.ownerDocument.documentElement:s;var d=g(u,c,o);if("HTML"!==u.nodeName||y(c))h=d;else{var f=p(e.ownerDocument),m=f.height,_=f.width;h.top+=d.top-d.marginTop,h.bottom=m+d.top,h.left+=d.left-d.marginLeft,h.right=_+d.left}}var E="number"==typeof(a=a||0);return h.left+=E?a:a.left||0,h.top+=E?a:a.top||0,h.right-=E?a:a.right||0,h.bottom-=E?a:a.bottom||0,h}function E(e){return e.width*e.height}function C(e,t,r,n,i){var a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=_(r,n,a,i),o={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(o).map((function(e){return ee({key:e},o[e],{area:E(o[e])})})).sort((function(e,t){return t.area-e.area})),h=l.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),c=0<h.length?h[0].key:l[0].key,u=e.split("-")[1];return c+(u?"-"+u:"")}function S(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return g(r,n?b(t):l(t,i(r)),n)}function x(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function w(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function T(e,t,r){r=r.split("-")[0];var n=x(e),i={width:n.width,height:n.height},a=-1!==["right","left"].indexOf(r),s=a?"top":"left",o=a?"left":"top",l=a?"height":"width",h=a?"width":"height";return i[s]=t[s]+t[l]/2-n[l]/2,i[o]=r===o?t[o]-n[h]:t[w(o)],i}function P(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function A(t,r,n){var i=void 0===n?t:t.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=P(e,(function(e){return e[t]===r}));return e.indexOf(n)}(t,"name",n));return i.forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&e(n)&&(r.offsets.popper=f(r.offsets.popper),r.offsets.reference=f(r.offsets.reference),r=n(r,t))})),r}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=S(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=C(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=T(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=A(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function k(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function M(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],a=i?""+i+r:e;if(void 0!==document.body.style[a])return a}return null}function N(){return this.state.isDestroyed=!0,k(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[M("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(e){var t=e.ownerDocument;return t?t.defaultView:window}function I(e,t,r,i){var a="BODY"===e.nodeName,s=a?e.ownerDocument.defaultView:e;s.addEventListener(t,r,{passive:!0}),a||I(n(s.parentNode),t,r,i),i.push(s)}
10function O(e,t,r,i){r.updateBound=i,F(e).addEventListener("resize",r.updateBound,{passive:!0});var a=n(e);return I(a,"scroll",r.updateBound,r.scrollParents),r.scrollElement=a,r.eventsEnabled=!0,r}function R(){this.state.eventsEnabled||(this.state=O(this.reference,this.options,this.state,this.scheduleUpdate))}function L(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return F(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function j(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function B(e,t){Object.keys(t).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&j(t[r])&&(n="px"),e.style[r]=t[r]+n}))}function V(e,t,r){var n=P(e,(function(e){return e.name===t})),i=!!n&&e.some((function(e){return e.name===r&&e.enabled&&e.order<n.order}));if(!i){var a="`"+t+"`";console.warn("`"+r+"` modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return i}function z(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=ne.indexOf(e),n=ne.slice(r+1).concat(ne.slice(0,r));return t?n.reverse():n}function H(e,t,r,n){var i=[0,0],a=-1!==["right","left"].indexOf(n),s=e.split(/(\+|\-)/).map((function(e){return e.trim()})),o=s.indexOf(P(s,(function(e){return-1!==e.search(/,|\s/)})));s[o]&&-1===s[o].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,h=-1===o?[s]:[s.slice(0,o).concat([s[o].split(l)[0]]),[s[o].split(l)[1]].concat(s.slice(o+1))];return h=h.map((function(e,n){var i=(1===n?!a:a)?"height":"width",s=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],s=i[2];if(!a)return e;if(0===s.indexOf("%")){return f("%p"===s?r:n)[t]/100*a}return"vh"===s||"vw"===s?("vh"===s?U(document.documentElement.clientHeight,window.innerHeight||0):U(document.documentElement.clientWidth,window.innerWidth||0))/100*a:a}(e,i,t,r)}))})),h.forEach((function(e,t){e.forEach((function(r,n){j(r)&&(i[t]+=r*("-"===e[n-1]?-1:1))}))})),i}var q=Math.min,G=Math.floor,W=Math.round,U=Math.max,$="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Y=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if($&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),Z=$&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Y))}},K=$&&!(!window.MSInputMethodContext||!document.documentMode),X=$&&/MSIE 10/.test(navigator.userAgent),Q=function(){function e(e,t){for(var r,n=0;n<t.length;n++)(r=t[n]).enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),J=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},ee=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},te=$&&/Firefox/i.test(navigator.userAgent),re=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ne=re.slice(3),ie="flip",ae="clockwise",se="counterclockwise",oe=function(){function t(r,n){var i=this,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)}
vendor: 4,437 bytes, line 10
10,this.update=Z(this.update.bind(this)),this.options=ee({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=r&&r.jquery?r[0]:r,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ee({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){i.options.modifiers[e]=ee({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return ee({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return Q(t,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return N.call(this)}},{key:"enableEventListeners",value:function(){return R.call(this)}},{key:"disableEventListeners",value:function(){return L.call(this)}}]),t}();return oe.Utils=("undefined"==typeof window?global:window).PopperUtils,oe.placements=re,oe.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var i=e.offsets,a=i.reference,s=i.popper,o=-1!==["bottom","top"].indexOf(r),l=o?"left":"top",h=o?"width":"height",c={start:J({},l,a[l]),end:J({},l,a[l]+a[h]-s[h])};e.offsets.popper=ee({},s,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r,n=t.offset,i=e.placement,a=e.offsets,s=a.popper,o=a.reference,l=i.split("-")[0];return r=j(+n)?[+n,0]:H(n,s,o,l),"left"===l?(s.top+=r[0],s.left-=r[1]):"right"===l?(s.top+=r[0],s.left+=r[1]):"top"===l?(s.left+=r[0],s.top-=r[1]):"bottom"===l&&(s.left+=r[0],s.top+=r[1]),e.popper=s,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||s(e.instance.popper);e.instance.reference===r&&(r=s(r));var n=M("transform"),i=e.instance.popper.style,a=i.top,o=i.left,l=i[n];i.top="",i.left="",i[n]="";var h=_(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);i.top=a,i.left=o,i[n]=l,t.boundaries=h;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var r=u[e];return u[e]<h[e]&&!t.escapeWithReference&&(r=U(u[e],h[e])),J({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=u[r];return u[e]>h[e]&&!t.escapeWithReference&&(n=q(u[r],h[e]-("right"===e?u.width:u.height))),J({},r,n)}};return c.forEach((function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";u=ee({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,i=e.placement.split("-")[0],a=G,s=-1!==["top","bottom"].indexOf(i),o=s?"right":"bottom",l=s?"left":"top",h=s?"width":"height";return r[o]<a(n[l])&&(e.offsets.popper[l]=a(n[l])-r[h]),r[l]>a(n[o])&&(e.offsets.popper[l]=a(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,r){var n;if(!V(e.instance.modifiers,"arrow","keepTogether"))return e;var i=r.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],s=e.offsets,o=s.popper,l=s.reference,h=-1!==["left","right"].indexOf(a),c=h?"height":"width",u=h?"Top":"Left",d=u.toLowerCase(),p=h?"left":"top",m=h?"bottom":"right",g=x(i)[c];l[m]-g<o[d]&&(e.offsets.popper[d]-=o[d]-(l[m]-g)),l[d]+g>o[m]&&(e.offsets.popper[d]+=l[d]+g-o[m]),e.offsets.popper=f(e.offsets.popper);var v=l[d]+l[c]/2-g/2,y=t(e.instance.popper),b=parseFloat(y["margin"+u]),_=parseFloat(y["border"+u+"Width"]),E=v-e.offsets.popper[d]-b-_;return E=U(q(o[c]-g,E),0),e.arrowElement=i,e.offsets.arrow=(J(n={},d,W(E)),J(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(k(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=_(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],i=w(n),a=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case ie:s=[n,i];break;case ae:s=z(n);break;case se:s=z(n,!0);break;default:s=t.behavior}
vendor: 4,571 bytes, line 10
10return s.forEach((function(o,l){if(n!==o||s.length===l+1)return e;n=e.placement.split("-")[0],i=w(n);var h=e.offsets.popper,c=e.offsets.reference,u=G,d="left"===n&&u(h.right)>u(c.left)||"right"===n&&u(h.left)<u(c.right)||"top"===n&&u(h.bottom)>u(c.top)||"bottom"===n&&u(h.top)<u(c.bottom),p=u(h.left)<u(r.left),f=u(h.right)>u(r.right),m=u(h.top)<u(r.top),g=u(h.bottom)>u(r.bottom),v="left"===n&&p||"right"===n&&f||"top"===n&&m||"bottom"===n&&g,y=-1!==["top","bottom"].indexOf(n),b=!!t.flipVariations&&(y&&"start"===a&&p||y&&"end"===a&&f||!y&&"start"===a&&m||!y&&"end"===a&&g),_=!!t.flipVariationsByContent&&(y&&"start"===a&&f||y&&"end"===a&&p||!y&&"start"===a&&g||!y&&"end"===a&&m),E=b||_;(d||v||E)&&(e.flipped=!0,(d||v)&&(n=s[l+1]),E&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=n+(a?"-"+a:""),e.offsets.popper=ee({},e.offsets.popper,T(e.instance.popper,e.offsets.reference,e.placement)),e=A(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,i=n.popper,a=n.reference,s=-1!==["left","right"].indexOf(r),o=-1===["top","left"].indexOf(r);return i[s?"left":"top"]=a[r]-(o?i[s?"width":"height"]:0),e.placement=w(t),e.offsets.popper=f(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!V(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=P(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,n=t.y,i=e.offsets.popper,a=P(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var o,l,h=void 0===a?t.gpuAcceleration:a,c=s(e.instance.popper),u=m(c),d={position:i.position},p=function(e,t){var r=e.offsets,n=r.popper,i=r.reference,a=W,s=function(e){return e},o=a(i.width),l=a(n.width),h=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),u=t?h||c||o%2==l%2?a:G:s,d=t?a:s;return{left:u(1==o%2&&1==l%2&&!c&&t?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:u(n.right)}}(e,2>window.devicePixelRatio||!te),f="bottom"===r?"top":"bottom",g="right"===n?"left":"right",v=M("transform");if(l="bottom"==f?"HTML"===c.nodeName?-c.clientHeight+p.bottom:-u.height+p.bottom:p.top,o="right"==g?"HTML"===c.nodeName?-c.clientWidth+p.right:-u.width+p.right:p.left,h&&v)d[v]="translate3d("+o+"px, "+l+"px, 0)",d[f]=0,d[g]=0,d.willChange="transform";else{var y="bottom"==f?-1:1,b="right"==g?-1:1;d[f]=l*y,d[g]=o*b,d.willChange=f+", "+g}var _={"x-placement":e.placement};return e.attributes=ee({},_,e.attributes),e.styles=ee({},d,e.styles),e.arrowStyles=ee({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return B(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach((function(r){!1===t[r]?e.removeAttribute(r):e.setAttribute(r,t[r])}))}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&B(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,i){var a=S(i,t,e,r.positionFixed),s=C(r.placement,a,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",s),B(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},oe})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery,e.Popper)}(this,(function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(t),a=n(r);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 17,295 bytes, line 10
10for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var c="transitionend",u={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var r=e.getAttribute("href");t=r&&"#"!==r?r.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=i.default(e).css("transition-duration"),r=i.default(e).css("transition-delay"),n=parseFloat(t),a=parseFloat(r);return n||a?(t=t.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(t)+parseFloat(r))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){i.default(e).trigger(c)},supportsTransitionEnd:function(){return Boolean(c)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=r[n],a=t[n],s=a&&u.isElement(a)?"element":null===(o=a)||void 0===o?""+o:{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(s))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+s+'" but expected type "'+i+'".')}var o},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?u.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===i.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=i.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};u.jQueryDetection(),i.default.fn.emulateTransitionEnd=function(e){var t=this,r=!1;return i.default(this).one(u.TRANSITION_END,(function(){r=!0})),setTimeout((function(){r||u.triggerTransitionEnd(t)}),e),this},i.default.event.special[u.TRANSITION_END]={bindType:c,delegateType:c,handle:function(e){if(i.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var d="bs.alert",p=i.default.fn.alert,f=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){i.default.removeData(this._element,d),this._element=null},t._getRootElement=function(e){var t=u.getSelectorFromElement(e),r=!1;return t&&(r=document.querySelector(t)),r||(r=i.default(e).closest(".alert")[0]),r},t._triggerCloseEvent=function(e){var t=i.default.Event("close.bs.alert");return i.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(i.default(e).removeClass("show"),i.default(e).hasClass("fade")){var r=u.getTransitionDurationFromElement(e);i.default(e).one(u.TRANSITION_END,(function(r){return t._destroyElement(e,r)})).emulateTransitionEnd(r)}else this._destroyElement(e)},t._destroyElement=function(e){i.default(e).detach().trigger("closed.bs.alert").remove()},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this),n=r.data(d);n||(n=new e(this),r.data(d,n)),"close"===t&&n[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),e}();i.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',f._handleDismiss(new f)),i.default.fn.alert=f._jQueryInterface,i.default.fn.alert.Constructor=f,i.default.fn.alert.noConflict=function(){return i.default.fn.alert=p,f._jQueryInterface};var m="bs.button",g=i.default.fn.button,v="active",y='[data-toggle^="button"]',b='input:not([type="hidden"])',_=".btn",E=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,r=i.default(this._element).closest('[data-toggle="buttons"]')[0];if(r){var n=this._element.querySelector(b);if(n){if("radio"===n.type)if(n.checked&&this._element.classList.contains(v))e=!1;else{var a=r.querySelector(".active");a&&i.default(a).removeClass(v)}e&&("checkbox"!==n.type&&"radio"!==n.type||(n.checked=!this._element.classList.contains(v)),this.shouldAvoidTriggerChange||i.default(n).trigger("change")),n.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(v)),e&&i.default(this._element).toggleClass(v))},t.dispose=function(){i.default.removeData(this._element,m),this._element=null},e._jQueryInterface=function(t,r){return this.each((function(){var n=i.default(this),a=n.data(m);a||(a=new e(this),n.data(m,a)),a.shouldAvoidTriggerChange=r,"toggle"===t&&a[t]()}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),e}();i.default(document).on("click.bs.button.data-api",y,(function(e){var t=e.target,r=t;if(i.default(t).hasClass("btn")||(t=i.default(t).closest(_)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var n=t.querySelector(b);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==r.tagName&&"LABEL"===t.tagName||E._jQueryInterface.call(i.default(t),"toggle","INPUT"===r.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",y,(function(e){var t=i.default(e.target).closest(_)[0];i.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))})),i.default(window).on("load.bs.button.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,r=e.length;t<r;t++){var n=e[t],i=n.querySelector(b);i.checked||i.hasAttribute("checked")?n.classList.add(v):n.classList.remove(v)}for(var a=0,s=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;a<s;a++){var o=e[a];"true"===o.getAttribute("aria-pressed")?o.classList.add(v):o.classList.remove(v)}})),i.default.fn.button=E._jQueryInterface,i.default.fn.button.Constructor=E,i.default.fn.button.noConflict=function(){return i.default.fn.button=g,E._jQueryInterface};var C="carousel",S="bs.carousel",x=i.default.fn[C],w="active",T="next",P="prev",A="slid.bs.carousel",D=".active.carousel-item",k={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},M={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},N={TOUCH:"touch",PEN:"pen"},F=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(T)},t.nextWhenVisible=function(){var e=i.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(P)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(D);var r=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)i.default(this._element).one(A,(function(){return t.to(e)}));else{if(r===e)return this.pause(),void this.cycle();var n=e>r?T:P;this._slide(n,this._items[e])}},t.dispose=function(){i.default(this._element).off(".bs.carousel"),i.default.removeData(this._element,S),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=l({},k,e),u.typeCheckConfig(C,e,M),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&i.default(this._element).on("keydown.bs.carousel",(function(t){return e._keydown(t)})),"hover"===this._config.pause&&i.default(this._element).on("mouseenter.bs.carousel",(function(t){return e.pause(t)})).on("mouseleave.bs.carousel",(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&N[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){e._pointerEvent&&N[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(e){return e.preventDefault()})),this._pointerEvent?(i.default(this._element).on("pointerdown.bs.carousel",(function(e){return t(e)})),i.default(this._element).on("pointerup.bs.carousel",(function(e){return r(e)})),this._element.classList.add("pointer-event")):(i.default(this._element).on("touchstart.bs.carousel",(function(e){return t(e)})),i.default(this._element).on("touchmove.bs.carousel",(function(t){return function(t){e.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-e.touchStartX}(t)})),i.default(this._element).on("touchend.bs.carousel",(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var r=e===T,n=e===P,i=this._getItemIndex(t),a=this._items.length-1;if((n&&0===i||r&&i===a)&&!this._config.wrap)return t;var s=(i+(e===P?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(e,t){var r=this._getItemIndex(e),n=this._getItemIndex(this._element.querySelector(D)),a=i.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:r});return i.default(this._element).trigger(a),a},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));i.default(t).removeClass(w);var r=this._indicatorsElement.children[this._getItemIndex(e)];r&&i.default(r).addClass(w)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(D);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var r,n,a,s=this,o=this._element.querySelector(D),l=this._getItemIndex(o),h=t||o&&this._getItemByDirection(e,o),c=this._getItemIndex(h),d=Boolean(this._interval);if(e===T?(r="carousel-item-left",n="carousel-item-next",a="left"):(r="carousel-item-right",n="carousel-item-prev",a="right"),h&&i.default(h).hasClass(w))this._isSliding=!1;else if(!this._triggerSlideEvent(h,a).isDefaultPrevented()&&o&&h){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(h),this._activeElement=h;var p=i.default.Event(A,{relatedTarget:h,direction:a,from:l,to:c});if(i.default(this._element).hasClass("slide")){i.default(h).addClass(n),u.reflow(h),i.default(o).addClass(r),i.default(h).addClass(r);var f=u.getTransitionDurationFromElement(o);i.default(o).one(u.TRANSITION_END,(function(){i.default(h).removeClass(r+" "+n).addClass(w),i.default(o).removeClass("active "+n+" "+r),s._isSliding=!1,setTimeout((function(){return i.default(s._element).trigger(p)}),0)})).emulateTransitionEnd(f)}else i.default(o).removeClass(w),i.default(h).addClass(w),this._isSliding=!1,i.default(this._element).trigger(p);d&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this).data(S),n=l({},k,i.default(this).data());"object"==typeof t&&(n=l({},n,t));var a="string"==typeof t?t:n.slide;if(r||(r=new e(this,n),i.default(this).data(S,r)),"number"==typeof t)r.to(t);else if("string"==typeof a){if(void 0===r[a])throw new TypeError('No method named "'+a+'"');r[a]()}else n.interval&&n.ride&&(r.pause(),r.cycle())}))},e._dataApiClickHandler=function(t){var r=u.getSelectorFromElement(this);if(r){var n=i.default(r)[0];if(n&&i.default(n).hasClass("carousel")){var a=l({},i.default(n).data(),i.default(this).data()),s=this.getAttribute("data-slide-to");s&&(a.interval=!1),e._jQueryInterface.call(i.default(n),a),s&&i.default(n).data(S).to(s),t.preventDefault()}}},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return k}}]),e}();i.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",F._dataApiClickHandler),i.default(window).on("load.bs.carousel.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,r=e.length;t<r;t++){var n=i.default(e[t]);F._jQueryInterface.call(n,n.data())}})),i.default.fn[C]=F._jQueryInterface,i.default.fn[C].Constructor=F,i.default.fn[C].noConflict=function(){return i.default.fn[C]=x,F._jQueryInterface};var I="collapse",O="bs.collapse",R=i.default.fn[I],L="show",j="collapse",B="collapsing",V="collapsed",z="width",H='[data-toggle="collapse"]',q={toggle:!0,parent:""},G={toggle:"boolean",parent:"(string|element)"},W=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var r=[].slice.call(document.querySelectorAll(H)),n=0,i=r.length;n<i;n++){var a=r[n],s=u.getSelectorFromElement(a),o=[].slice.call(document.querySelectorAll(s)).filter((function(t){return t===e}));null!==s&&o.length>0&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){i.default(this._element).hasClass(L)?this.hide():this.show()},t.show=function(){var t,r,n=this;if(!(this._isTransitioning||i.default(this._element).hasClass(L)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(j)}))).length&&(t=null),t&&(r=i.default(t).not(this._selector).data(O))&&r._isTransitioning))){var a=i.default.Event("show.bs.collapse");if(i.default(this._element).trigger(a),!a.isDefaultPrevented()){t&&(e._jQueryInterface.call(i.default(t).not(this._selector),"hide"),r||i.default(t).data(O,null));var s=this._getDimension();i.default(this._element).removeClass(j).addClass(B),this._element.style[s]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass(V).attr("aria-expanded",!0),this.setTransitioning(!0);var o="scroll"+(s[0].toUpperCase()+s.slice(1)),l=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,(function(){i.default(n._element).removeClass(B).addClass("collapse show"),n._element.style[s]="",n.setTransitioning(!1),i.default(n._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(l),this._element.style[s]=this._element[o]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&i.default(this._element).hasClass(L)){var t=i.default.Event("hide.bs.collapse");if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",u.reflow(this._element),i.default(this._element).addClass(B).removeClass("collapse show");var n=this._triggerArray.length;if(n>0)for(var a=0;a<n;a++){var s=this._triggerArray[a],o=u.getSelectorFromElement(s);
vendor: 4,197 bytes, line 10
10null!==o&&(i.default([].slice.call(document.querySelectorAll(o))).hasClass(L)||i.default(s).addClass(V).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[r]="";var l=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,(function(){e.setTransitioning(!1),i.default(e._element).removeClass(B).addClass(j).trigger("hidden.bs.collapse")})).emulateTransitionEnd(l)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){i.default.removeData(this._element,O),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=l({},q,e)).toggle=Boolean(e.toggle),u.typeCheckConfig(I,e,G),e},t._getDimension=function(){return i.default(this._element).hasClass(z)?z:"height"},t._getParent=function(){var t,r=this;u.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',a=[].slice.call(t.querySelectorAll(n));return i.default(a).each((function(t,n){r._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])})),t},t._addAriaAndCollapsedClass=function(e,t){var r=i.default(e).hasClass(L);t.length&&i.default(t).toggleClass(V,!r).attr("aria-expanded",r)},e._getTargetFromElement=function(e){var t=u.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this),n=r.data(O),a=l({},q,r.data(),"object"==typeof t&&t?t:{});if(!n&&a.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(a.toggle=!1),n||(n=new e(this,a),r.data(O,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return q}}]),e}();i.default(document).on("click.bs.collapse.data-api",H,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=i.default(this),r=u.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(r));i.default(n).each((function(){var e=i.default(this),r=e.data(O)?"toggle":t.data();W._jQueryInterface.call(e,r)}))})),i.default.fn[I]=W._jQueryInterface,i.default.fn[I].Constructor=W,i.default.fn[I].noConflict=function(){return i.default.fn[I]=R,W._jQueryInterface};var U="dropdown",$="bs.dropdown",Y=i.default.fn[U],Z=new RegExp("38|40|27"),K="disabled",X="show",Q="dropdown-menu-right",J="hide.bs.dropdown",ee="hidden.bs.dropdown",te="click.bs.dropdown.data-api",re="keydown.bs.dropdown.data-api",ne='[data-toggle="dropdown"]',ie=".dropdown-menu",ae={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},se={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},oe=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!i.default(this._element).hasClass(K)){var t=i.default(this._menu).hasClass(X);e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||i.default(this._element).hasClass(K)||i.default(this._menu).hasClass(X))){var r={relatedTarget:this._element},n=i.default.Event("show.bs.dropdown",r),s=e._getParentFromElement(this._element);if(i.default(s).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===a.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=s:u.isElement(this._config.reference)&&(o=this._config.reference,void 0!==this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i.default(s).addClass("position-static"),this._popper=new a.default(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i.default(s).closest(".
10navbar-nav").length&&i.default(document.body).children().on("mouseover",null,i.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i.default(this._menu).toggleClass(X),i.default(s).toggleClass(X).trigger(i.default.Event("shown.bs.dropdown",r))}}},t.hide=function(){if(!this._element.disabled&&!i.default(this._element).hasClass(K)&&i.default(this._menu).hasClass(X)){var t={relatedTarget:this._element},r=i.default.Event(J,t),n=e._getParentFromElement(this._element);i.default(n).trigger(r),r.isDefaultPrevented()||(this._popper&&this._popper.destroy(),i.default(this._menu).toggleClass(X),i.default(n).toggleClass(X).trigger(i.default.Event(ee,t)))}},t.dispose=function(){i.default.removeData(this._element,$),i.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;i.default(this._element).on("click.bs.dropdown",(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=l({},this.constructor.Default,i.default(this._element).data(),e),u.typeCheckConfig(U,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(ie))}return this._menu},t._getPlacement=function(){var e=i.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=i.default(this._menu).hasClass(Q)?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":i.default(this._menu).hasClass(Q)&&(t="bottom-end"),t},t._detectNavbar=function(){return i.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this).data($);if(r||(r=new e(this,"object"==typeof t?t:null),i.default(this).data($,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var r=[].slice.call(document.querySelectorAll(ne)),n=0,a=r.length;n<a;n++){var s=e._getParentFromElement(r[n]),o=i.default(r[n]).data($),l={relatedTarget:r[n]};if(t&&"click"===t.type&&(l.clickEvent=t),o){var h=o._menu;if(i.default(s).hasClass(X)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&i.default.contains(s,t.target))){var c=i.default.Event(J,l);i.default(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),r[n].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),i.default(h).removeClass(X),i.default(s).removeClass(X).trigger(i.default.Event(ee,l)))}}}},e._getParentFromElement=function(e){var t,r=u.getSelectorFromElement(e);return r&&(t=document.querySelector(r)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||i.default(t.target).closest(ie).length):!Z.test(t.which))&&!this.disabled&&!i.default(this).hasClass(K)){var r=e._getParentFromElement(this),n=i.default(r).hasClass(X);if(n||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!n||27===t.which||32===t.which)return 27===t.which&&i.default(r.querySelector(ne)).trigger("focus"),void i.default(this).trigger("click");var a=[].slice.call(r.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(e){return i.default(e).is(":visible")}));if(0!==a.length){var s=a.indexOf(t.target);38===t.which&&s>0&&s--,40===t.which&&s<a.length-1&&s++,s<0&&(s=0),a[s].focus()}}}},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ae}},{key:"DefaultType",get:function(){return se}}]),e}();i.default(document).on(re,ne,oe._dataApiKeydownHandler).on(re,ie,oe._dataApiKeydownHandler).on(te+" keyup.bs.dropdown.data-api",oe._clearMenus).on(te,ne,(function(e){e.preventDefault(),e.stopPropagation(),oe._jQueryInterface.call(i.default(this),"toggle")})).on(te,".dropdown form",(function(e){e.stopPropagation()})),i.default.fn[U]=oe._jQueryInterface,i.default.fn[U].Constructor=oe,i.default.fn[U].noConflict=function(){return i.default.fn[U]=Y,oe._jQueryInterface};var le="bs.modal",he=i.default.fn.modal,ce="modal-open",ue="fade",de="show",pe="modal-static",fe="hidden.bs.modal",me="show.bs.modal",ge="focusin.bs.modal",ve="resize.bs.modal",ye="click.dismiss.bs.modal",be="keydown.dismiss.bs.modal",_e="mousedown.dismiss.bs.modal",Ee=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ce={backdrop:!0,keyboard:!0,focus:!0,show:!0},Se={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},xe=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){var r=i.default.Event(me,{relatedTarget:e});i.default(this._element).trigger(r),r.isDefaultPrevented()||(this._isShown=!0,i.default(this._element).hasClass(ue)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),i.default(this._element).on(ye,'[data-dismiss="modal"]',(function(e){return t.hide(e)})),i.default(this._dialog).on(_e,(function(){i.default(t._element).one("mouseup.dismiss.bs.modal",(function(e){i.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var r=i.default.Event("hide.bs.modal");if(i.default(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var n=i.default(this._element).hasClass(ue);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i.default(document).off(ge),i.default(this._element).removeClass(de),i.default(this._element).off(ye),i.default(this._dialog).off(_e),n){var a=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(a)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return i.default(e).off(".b
10s.modal")})),i.default(document).off(ge),i.default.removeData(this._element,le),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=l({},Ce,e),u.typeCheckConfig("modal",e,Se),e},t._triggerBackdropTransition=function(){var e=this,t=i.default.Event("hidePrevented.bs.modal");if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){var r=this._element.scrollHeight>document.documentElement.clientHeight;r||(this._element.style.overflowY="hidden"),this._element.classList.add(pe);var n=u.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(u.TRANSITION_END),i.default(this._element).one(u.TRANSITION_END,(function(){e._element.classList.remove(pe),r||i.default(e._element).one(u.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,n)})).emulateTransitionEnd(n),this._element.focus()}},t._showElement=function(e){var t=this,r=i.default(this._element).hasClass(ue),n=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,r&&u.reflow(this._element),i.default(this._element).addClass(de),this._config.focus&&this._enforceFocus();var a=i.default.Event("shown.bs.modal",{relatedTarget:e}),s=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,i.default(t._element).trigger(a)};if(r){var o=u.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(u.TRANSITION_END,s).emulateTransitionEnd(o)}else s()},t._enforceFocus=function(){var e=this;i.default(document).off(ge).on(ge,(function(t){document!==t.target&&e._element!==t.target&&0===i.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?i.default(this._element).on(be,(function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()})):this._isShown||i.default(this._element).off(be)},t._setResizeEvent=function(){var e=this;this._isShown?i.default(window).on(ve,(function(t){return e.handleUpdate(t)})):i.default(window).off(ve)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass(ce),e._resetAdjustments(),e._resetScrollbar(),i.default(e._element).trigger(fe)}))},t._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,r=i.default(this._element).hasClass(ue)?ue:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",r&&this._backdrop.classList.add(r),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on(ye,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),r&&u.reflow(this._backdrop),i.default(this._backdrop).addClass(de),!e)return;if(!r)return void e();var n=u.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(u.TRANSITION_END,e).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass(de);var a=function(){t._removeBackdrop(),e&&e()};if(i.default(this._element).hasClass(ue)){var s=u.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(u.TRANSITION_END,a).emulateTransitionEnd(s)}else a()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(Ee)),r=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(t).each((function(t,r){var n=r.style.paddingRight,a=i.default(r).css("padding-right");i.default(r).data("padding-right",n).css("padding-right",parseFloat(a)+e._scrollbarWidth+"px")})),i.default(r).each((function(t,r){var n=r.style.marginRight,a=i.default(r).css("margin-right");i.default(r).data("margin-right",n).css("margin-right",parseFloat(a)-e._scrollbarWidth+"px")}));var n=document.body.style.paddingRight,a=i.default(document.body).css("padding-right");i.default(document.body).data("padding-right",n).css("padding-right",parseFloat(a)+this._scrollbarWidth+"px")}i.default(document.body).addClass(ce)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Ee));i.default(e).each((function(e,t){var r=i.default(t).data("padding-right");i.default(t).removeData("padding-right"),t.style.paddingRight=r||""}));var t=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(t).each((function(e,t){var r=i.default(t).data("margin-right");void 0!==r&&i.default(t).css("margin-right",r).removeData("margin-right")}));var r=i.default(document.body).data("padding-right");i.default(document.body).removeData("padding-right"),document.body.style.paddingRight=r||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,r){return this.each((function(){var n=i.default(this).data(le),a=l({},Ce,i.default(this).data(),"object"==typeof t&&t?t:{});if(n||(n=new e(this,a),i.default(this).data(le,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method n
vendor: 7,027 bytes, line 10
10amed "'+t+'"');n[t](r)}else a.show&&n.show(r)}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Ce}}]),e}();i.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var t,r=this,n=u.getSelectorFromElement(this);n&&(t=document.querySelector(n));var a=i.default(t).data(le)?"toggle":l({},i.default(t).data(),i.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var s=i.default(t).one(me,(function(e){e.isDefaultPrevented()||s.one(fe,(function(){i.default(r).is(":visible")&&r.focus()}))}));xe._jQueryInterface.call(i.default(t),a,this)})),i.default.fn.modal=xe._jQueryInterface,i.default.fn.modal.Constructor=xe,i.default.fn.modal.noConflict=function(){return i.default.fn.modal=he,xe._jQueryInterface};var we=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Te=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Pe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Ae(e,t,r){if(0===e.length)return e;if(r&&"function"==typeof r)return r(e);for(var n=(new window.DOMParser).parseFromString(e,"text/html"),i=Object.keys(t),a=[].slice.call(n.body.querySelectorAll("*")),s=function(e,r){var n=a[e],s=n.nodeName.toLowerCase();if(-1===i.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),l=[].concat(t["*"]||[],t[s]||[]);o.forEach((function(e){(function(e,t){var r=e.nodeName.toLowerCase();if(-1!==t.indexOf(r))return-1===we.indexOf(r)||Boolean(Te.test(e.nodeValue)||Pe.test(e.nodeValue));for(var n=t.filter((function(e){return e instanceof RegExp})),i=0,a=n.length;i<a;i++)if(n[i].test(r))return!0;return!1})(e,l)||n.removeAttribute(e.nodeName)}))},o=0,l=a.length;o<l;o++)s(o);return n.body.innerHTML}var De="tooltip",ke="bs.tooltip",Me=i.default.fn.tooltip,Ne=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Fe=["sanitize","whiteList","sanitizeFn"],Ie="fade",Oe="show",Re="show",Le="out",je="hover",Be="focus",Ve={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},ze={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},He={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},qe={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ge=function(){function e(e,t){if(void 0===a.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,r=i.default(e.currentTarget).data(t);r||(r=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(t,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(i.default(this.getTipElement()).hasClass(Oe))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(t);var r=u.findShadowRoot(this.element),n=i.default.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var s=this.getTipElement(),o=u.getUID(this.constructor.NAME);s.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&i.default(s).addClass(Ie);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,h=this._getAttachment(l);this.addAttachmentClass(h);var c=this._getContainer();i.default(s).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(s).appendTo(c),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,s,this._getPopperConfig(h)),i.default(s).addClass(Oe),i.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,i.default(e.element).trigger(e.constructor.Event.SHOWN),t===Le&&e._leave(null,e)};if(i.default(this.tip).hasClass(Ie)){var p=u.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(u.TRANSITION_END,d).emulateTransitionEnd(p)}else d()}},t.hide=function(e){var t=this,r=this.getTipElement(),n=i.default.Event(this.constructor.Event.HIDE),a=function(){t._hoverState!==Re&&r.parentNode&&r.parentNode.removeChild(r),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),i.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(i.default(this.element).trigger(n),!n.isDefaultPrevented()){if
vendor: 15,535 bytes, line 10
10(i.default(r).removeClass(Oe),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.default(this.tip).hasClass(Ie)){var s=u.getTransitionDurationFromElement(r);i.default(r).one(u.TRANSITION_END,a).emulateTransitionEnd(s)}else a();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass("bs-tooltip-"+e)},t.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(i.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),i.default(e).removeClass("fade show")},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Ae(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?i.default(t).parent().is(e)||e.empty().append(t):e.text(i.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},t._getAttachment=function(e){return Ve[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)i.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if("manual"!==t){var r=t===je?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n=t===je?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;i.default(e.element).on(r,e.config.selector,(function(t){return e._enter(t)})).on(n,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var r=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(r))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(r,t)),e&&(t._activeTrigger["focusin"===e.type?Be:je]=!0),i.default(t.getTipElement()).hasClass(Oe)||t._hoverState===Re?t._hoverState=Re:(clearTimeout(t._timeout),t._hoverState=Re,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===Re&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var r=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(r))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(r,t)),e&&(t._activeTrigger["focusout"===e.type?Be:je]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Le,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===Le&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=i.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Fe.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),u.typeCheckConfig(De,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ae(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match(Ne);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(i.default(e).removeClass(Ie),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this),n=r.data(ke),a="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,a),r.data(ke,n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return ze}},{key:"NAME",get:function(){return De}},{key:"DATA_KEY",get:function(){return ke}},{key:"Event",get:function(){return qe}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return He}}]),e}();i.default.fn.tooltip=Ge._jQueryInterface,i.default.fn.tooltip.Constructor=Ge,i.default.fn.tooltip.noConflict=function(){return i.default.fn.tooltip=Me,Ge._jQueryInterface};var We="bs.popover",Ue=i.default.fn.popover,$e=new RegExp("(^|\\s)bs-popover\\S+","g"),Ye=l({},Ge.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ze=l({},Ge.DefaultType,{content:"(string|element|function)"}),Ke={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Xe=function(e){var t,r;function n(){return e.apply(this,arguments)||this}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,h(t,r);var a=n.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass("bs-popover-"+e)},a.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},a.setContent=function(){var e=i.default(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match($e);null!==t&&t.length>0&&e.removeClass(t.join(""))},n._jQueryInterface=function(e){return this.each((function(){var t=i.default(this).data(We),r="object"==typeof e?e:null;if((t||!/dispose|hide/.test(e))&&(t||(t=new n(this,r),i.default(this).data(We,t)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},o(n,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Ye}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return We}},{key:"Event",get:function(){return Ke}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Ze}}]),n}(Ge);i.default.fn.popover=Xe._jQueryInterface,i.default.fn.popover.Constructor=Xe,i.default.fn.popover.noConflict=function(){return i.default.fn.popover=Ue,Xe._jQueryInterface};var Qe="scrollspy",Je="bs.scrollspy",et=i.default.fn[Qe],tt="active",rt="position",nt=".nav, .list-group",it={offset:10,method:"auto",target:""},at={offset:"number",method:"string",target:"(string|element)"},st=function(){function e(e,t){var r=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on("scroll.bs.scrollspy",(function(e){return r._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":rt,r="auto"===this._config.method?t:this._config.method,n=r===rt?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,a=u.getSelectorFromElement(e);if(a&&(t=document.querySelector(a)),t){var s=t.getBoundingClientRect();if(s.width||s.height)return[i.default(t)[r]().top+n,a]}return null})).filter(Boolean).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){i.default.removeData(this._element,Je),i.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},it,"object"==typeof e&&e?e:{})).target&&u.isElement(e.target)){var t=i.default(e.target).attr("id");t||(t=u.getUID(Qe),i.default(e.target).attr("id",t)),e.target="#"+t}return u.typeCheckConfig(Qe,e,at),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),r=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=r){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&(void 0===this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),r=i.default([].slice.call(document.querySelectorAll(t.join(","))));r.hasClass("dropdown-item")?(r.closest(".dropdown").find(".dropdown-toggle").addClass(tt),r.addClass(tt)):(r.addClass(tt),r.parents(nt).prev(".nav-link, .list-group-item").addClass(tt),r.parents(nt).prev(".nav-item").children(".nav-link").addClass(tt)),i.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(tt)})).forEach((function(e){return e.classList.remove(tt)}))},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this).data(Je);if(r||(r=new e(this,"object"==typeof t&&t),i.default(this).data(Je,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return it}}]),e}();i.default(window).on("load.bs.scrollspy.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var r=i.default(e[t]);st._jQueryInterface.call(r,r.data())}})),i.default.fn[Qe]=st._jQueryInterface,i.default.fn[Qe].Constructor=st,i.default.fn[Qe].noConflict=function(){return i.default.fn[Qe]=et,st._jQueryInterface};var ot="bs.tab",lt=i.default.fn.tab,ht="active",ct="fade",ut="show",dt=".active",pt="> li > .active",ft=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i.default(this._element).hasClass(ht)||i.default(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var t,r,n=i.default(this._element).closest(".nav, .list-group")[0],a=u.getSelectorFromElement(this._element);if(n){var s="UL"===n.nodeName||"OL"===n.nodeName?pt:dt;r=(r=i.default.makeArray(i.default(n).find(s)))[r.length-1]}var o=i.default.Event("hide.bs.tab",{relatedTarget:this._element}),l=i.default.Event("show.bs.tab",{relatedTarget:r});if(r&&i.default(r).trigger(o),i.default(this._element).trigger(l),!l.isDefaultPrevented()&&!o.isDefaultPrevented()){a&&(t=document.querySelector(a)),this._activate(this._element,n);var h=function(){var t=i.default.Event("hidden.bs.tab",{relatedTarget:e._element}),n=i.default.Event("shown.bs.tab",{relatedTarget:r});i.default(r).trigger(t),i.default(e._element).trigger(n)};t?this._activate(t,t.parentNode,h):h()}}},t.dispose=function(){i.default.removeData(this._element,ot),this._element=null},t._activate=function(e,t,r){var n=this,a=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?i.default(t).children(dt):i.default(t).find(pt))[0],s=r&&a&&i.default(a).hasClass(ct),o=function(){return n._transitionComplete(e,a,r)};if(a&&s){var l=u.getTransitionDurationFromElement(a);i.default(a).removeClass(ut).one(u.TRANSITION_END,o).emulateTransitionEnd(l)}else o()},t._transitionComplete=function(e,t,r){if(t){i.default(t).removeClass(ht);var n=i.default(t.parentNode).find("> .dropdown-menu .active")[0];n&&i.default(n).removeClass(ht),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}i.default(e).addClass(ht),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),u.reflow(e),e.classList.contains(ct)&&e.classList.add(ut);var a=e.parentNode;if(a&&"LI"===a.nodeName&&(a=a.parentNode),a&&i.default(a).hasClass("dropdown-menu")){var s=i.default(e).closest(".dropdown")[0];if(s){var o=[].slice.call(s.querySelectorAll(".dropdown-toggle"));i.default(o).addClass(ht)}e.setAttribute("aria-expanded",!0)}r&&r()},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this),n=r.data(ot);if(n||(n=new e(this),r.data(ot,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method n
10amed "'+t+'"');n[t]()}}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),e}();i.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(e){e.preventDefault(),ft._jQueryInterface.call(i.default(this),"show")})),i.default.fn.tab=ft._jQueryInterface,i.default.fn.tab.Constructor=ft,i.default.fn.tab.noConflict=function(){return i.default.fn.tab=lt,ft._jQueryInterface};var mt="bs.toast",gt=i.default.fn.toast,vt="hide",yt="show",bt="showing",_t="click.dismiss.bs.toast",Et={animation:!0,autohide:!0,delay:500},Ct={animation:"boolean",autohide:"boolean",delay:"number"},St=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=i.default.Event("show.bs.toast");if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var r=function(){e._element.classList.remove(bt),e._element.classList.add(yt),i.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove(vt),u.reflow(this._element),this._element.classList.add(bt),this._config.animation){var n=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,r).emulateTransitionEnd(n)}else r()}},t.hide=function(){if(this._element.classList.contains(yt)){var e=i.default.Event("hide.bs.toast");i.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains(yt)&&this._element.classList.remove(yt),i.default(this._element).off(_t),i.default.removeData(this._element,mt),this._element=null,this._config=null},t._getConfig=function(e){return e=l({},Et,i.default(this._element).data(),"object"==typeof e&&e?e:{}),u.typeCheckConfig("toast",e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;i.default(this._element).on(_t,'[data-dismiss="toast"]',(function(){return e.hide()}))},t._close=function(){var e=this,t=function(){e._element.classList.add(vt),i.default(e._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(yt),this._config.animation){var r=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(r)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each((function(){var r=i.default(this),n=r.data(mt);if(n||(n=new e(this,"object"==typeof t&&t),r.data(mt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t](this)}}))},o(e,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"DefaultType",get:function(){return Ct}},{key:"Default",get:function(){return Et}}]),e}();i.default.fn.toast=St._jQueryInterface,i.default.fn.toast.Constructor=St,i.default.fn.toast.noConflict=function(){return i.default.fn.toast=gt,St._jQueryInterface},e.Alert=f,e.Button=E,e.Carousel=F,e.Collapse=W,e.Dropdown=oe,e.Modal=xe,e.Popover=Xe,e.Scrollspy=st,e.Tab=ft,e.Toast=St,e.Tooltip=Ge,e.Util=u,Object.defineProperty(e,"__esModule",{value:!0})})),parcelRequire=function(e,t,r,n){var i,a="function"==typeof parcelRequire&&parcelRequire,s="function"==typeof require&&require;function o(r,n){if(!t[r]){if(!e[r]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(r,!0);if(a)return a(r,!0);if(s&&"string"==typeof r)return s(r);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}c.resolve=function(t){return e[r][1][t]||t},c.cache={};var h=t[r]=new o.Module(r);e[r][0].call(h.exports,c,h,h.exports,this)}return t[r].exports;function c(e){return o(c.resolve(e))}}o.isParcelRequire=!0,o.Module=function(e){this.id=e,this.bundle=o,this.exports={}},o.modules=e,o.cache=t,o.parent=a,o.register=function(t,r){e[t]=[function(e,t){t.exports=r},{}]};for(var l=0;l<r.length;l++)try{o(r[l])}catch(e){i||(i=e)}if(r.length){var h=o(r[r.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=h:"function"==typeof define&&define.amd&&define((function(){return h}))}if(parcelRequire=o,i)throw i;return o}({ytxR:[function(e,t,r){"use strict";
10Object.defineProperty(r,"__esModule",{value:!0}),r.removeNodes=r.reparentNodes=r.isCEPolyfill=void 0;const n="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback;r.isCEPolyfill=n;r.reparentNodes=(e,t,r=null,n=null)=>{for(;t!==r;){const r=t.nextSibling;e.insertBefore(t,n),t=r}};r.removeNodes=(e,t,r=null)=>{for(;t!==r;){const r=t.nextSibling;e.removeChild(t),t=r}}},{}],Av0K:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lastAttributeNameRegex=r.createMarker=r.isTemplatePartActive=r.Template=r.boundAttributeSuffix=r.markerRegex=r.nodeMarker=r.marker=void 0;const n=`{{lit-${String(Math.random()).slice(2)}}}`;r.marker=n;const i=`\x3c!--${n}--\x3e`;r.nodeMarker=i;const a=new RegExp(`${n}|${i}`);r.markerRegex=a;const s="$lit$";r.boundAttributeSuffix=s;r.Template=class{constructor(e,t){this.parts=[],this.element=t;const r=[],i=[],c=document.createTreeWalker(t.content,133,null,!1);let u=0,d=-1,p=0;const{strings:f,values:{length:m}}=e;for(;p<m;){const e=c.nextNode();if(null!==e){if(d++,1===e.nodeType){if(e.hasAttributes()){const t=e.attributes,{length:r}=t;let n=0;for(let e=0;e<r;e++)o(t[e].name,s)&&n++;for(;n-- >0;){const t=f[p],r=h.exec(t)[2],n=r.toLowerCase()+s,i=e.getAttribute(n);e.removeAttribute(n);const o=i.split(a);this.parts.push({type:"attribute",index:d,name:r,strings:o}),p+=o.length-1}}"TEMPLATE"===e.tagName&&(i.push(e),c.currentNode=e.content)}else if(3===e.nodeType){const t=e.data;if(t.indexOf(n)>=0){const n=e.parentNode,i=t.split(a),c=i.length-1;for(let t=0;t<c;t++){let r,a=i[t];if(""===a)r=l();else{const e=h.exec(a);null!==e&&o(e[2],s)&&(a=a.slice(0,e.index)+e[1]+e[2].slice(0,-5)+e[3]),r=document.createTextNode(a)}n.insertBefore(r,e),this.parts.push({type:"node",index:++d})}""===i[c]?(n.insertBefore(l(),e),r.push(e)):e.data=i[c],p+=c}}else if(8===e.nodeType)if(e.data===n){const t=e.parentNode;null!==e.previousSibling&&d!==u||(d++,t.insertBefore(l(),e)),u=d,this.parts.push({type:"node",index:d}),null===e.nextSibling?e.data="":(r.push(e),d--),p++}else{let t=-1;for(;-1!==(t=e.data.indexOf(n,t+1));)this.parts.push({type:"node",index:-1}),p++}}else c.currentNode=i.pop()}for(const e of r)e.parentNode.removeChild(e)}};const o=(e,t)=>{const r=e.length-t.length;return r>=0&&e.slice(r)===t};r.isTemplatePartActive=e=>-1!==e.index;const l=()=>document.createComment("");r.createMarker=l;const h=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=\/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;r.lastAttributeNameRegex=h},{}],NXoq:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.removeNodesFromTemplate=function(e,t){const{element:{content:r},parts:n}=e,a=document.createTreeWalker(r,i,null,!1);let o=s(n),l=n[o],h=-1,c=0;const u=[];let d=null;for(;a.nextNode();){h++;const e=a.currentNode;for(e.previousSibling===d&&(d=null),t.has(e)&&(u.push(e),null===d&&(d=e)),null!==d&&c++;void 0!==l&&l.index===h;)l.index=null!==d?-1:l.index-c,l=n[o=s(n,o)]}u.forEach((e=>e.parentNode.removeChild(e)))},r.insertNodeIntoTemplate=function(e,t,r=null){const{element:{content:n},parts:o}=e;if(null==r)return void n.appendChild(t);const l=document.createTreeWalker(n,i,null,!1);let h=s(o),c=0,u=-1;for(;l.nextNode();)for(u++,l.currentNode===r&&(c=a(t),r.parentNode.insertBefore(t,r));-1!==h&&o[h].index===u;){if(c>0){for(;-1!==h;)o[h].index+=c,h=s(o,h);return}h=s(o,h)}};var n=e("./template.js");const i=133;const a=e=>{let t=11===e.nodeType?0:1;const r=document.createTreeWalker(e,i,null,!1);for(;r.nextNode();)t++;return t},s=(e,t=-1)=>{for(let r=t+1;r<e.length;r++){const t=e[r];if((0,n.isTemplatePartActive)(t))return r}return-1}},{"./template.js":"Av0K"}],uWh2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isDirective=r.directive=void 0;const n=new WeakMap;r.directive=e=>(...t)=>{const r=e(...t);return n.set(r,!0),r};r.isDirective=e=>"function"==typeof e&&n.has(e)},{}],pnLb:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nothing=r.noChange=void 0;r.noChange={};r.nothing={}},{}],bn5t:[function(e,t,r){"use strict";
vendor: 5,419 bytes, line 10
10Object.defineProperty(r,"__esModule",{value:!0}),r.TemplateInstance=void 0;var n=e("./dom.js"),i=e("./template.js");r.TemplateInstance=class{constructor(e,t,r){this.__parts=[],this.template=e,this.processor=t,this.options=r}update(e){let t=0;for(const r of this.__parts)void 0!==r&&r.setValue(e[t]),t++;for(const e of this.__parts)void 0!==e&&e.commit()}_clone(){const e=n.isCEPolyfill?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=[],r=this.template.parts,a=document.createTreeWalker(e,133,null,!1);let s,o=0,l=0,h=a.nextNode();for(;o<r.length;)if(s=r[o],(0,i.isTemplatePartActive)(s)){for(;l<s.index;)l++,"TEMPLATE"===h.nodeName&&(t.push(h),a.currentNode=h.content),null===(h=a.nextNode())&&(a.currentNode=t.pop(),h=a.nextNode());if("node"===s.type){const e=this.processor.handleTextExpression(this.options);e.insertAfterNode(h.previousSibling),this.__parts.push(e)}else this.__parts.push(...this.processor.handleAttributeExpressions(h,s.name,s.strings,this.options));o++}else this.__parts.push(void 0),o++;return n.isCEPolyfill&&(document.adoptNode(e),customElements.upgrade(e)),e}}},{"./dom.js":"ytxR","./template.js":"Av0K"}],cVNN:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SVGTemplateResult=r.TemplateResult=void 0;var n=e("./dom.js"),i=e("./template.js");const a=` ${i.marker} `;class s{constructor(e,t,r,n){this.strings=e,this.values=t,this.type=r,this.processor=n}getHTML(){const e=this.strings.length-1;let t="",r=!1;for(let n=0;n<e;n++){const e=this.strings[n],s=e.lastIndexOf("\x3c!--");r=(s>-1||r)&&-1===e.indexOf("--\x3e",s+1);const o=i.lastAttributeNameRegex.exec(e);t+=null===o?e+(r?a:i.nodeMarker):e.substr(0,o.index)+o[1]+o[2]+i.boundAttributeSuffix+o[3]+i.marker}return t+this.strings[e]}getTemplateElement(){const e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}r.TemplateResult=s;r.SVGTemplateResult=class extends s{getHTML(){return`<svg>${super.getHTML()}</svg>`}getTemplateElement(){const e=super.getTemplateElement(),t=e.content,r=t.firstChild;return t.removeChild(r),(0,n.reparentNodes)(t,r.firstChild),e}}},{"./dom.js":"ytxR","./template.js":"Av0K"}],atl2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.EventPart=r.PropertyPart=r.PropertyCommitter=r.BooleanAttributePart=r.NodePart=r.AttributePart=r.AttributeCommitter=r.isIterable=r.isPrimitive=void 0;var n=e("./directive.js"),i=e("./dom.js"),a=e("./part.js"),s=e("./template-instance.js"),o=e("./template-result.js"),l=e("./template.js");const h=e=>null===e||!("object"==typeof e||"function"==typeof e);r.isPrimitive=h;const c=e=>Array.isArray(e)||!(!e||!e[Symbol.iterator]);r.isIterable=c;class u{constructor(e,t,r){this.dirty=!0,this.element=e,this.name=t,this.strings=r,this.parts=[];for(let e=0;e<r.length-1;e++)this.parts[e]=this._createPart()}_createPart(){return new d(this)}_getValue(){const e=this.strings,t=e.length-1;let r="";for(let n=0;n<t;n++){r+=e[n];const t=this.parts[n];if(void 0!==t){const e=t.value;if(h(e)||!c(e))r+="string"==typeof e?e:String(e);else for(const t of e)r+="string"==typeof t?t:String(t)}}return r+e[t]}commit(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}r.AttributeCommitter=u;class d{constructor(e){this.value=void 0,this.committer=e}setValue(e){e===a.noChange||h(e)&&e===this.value||(this.value=e,(0,n.isDirective)(e)||(this.committer.dirty=!0))}commit(){for(;(0,n.isDirective)(this.value);){const e=this.value;this.value=a.noChange,e(this)}this.value!==a.noChange&&this.committer.commit()}}r.AttributePart=d;class p{constructor(e){this.value=void 0,this.__pendingValue=void 0,this.options=e}appendInto(e){this.startNode=e.appendChild((0,l.createMarker)()),this.endNode=e.appendChild((0,l.createMarker)())}insertAfterNode(e){this.startNode=e,this.endNode=e.nextSibling}appendIntoPart(e){e.__insert(this.startNode=(0,l.createMarker)()),e.__insert(this.endNode=(0,l.createMarker)())}insertAfterPart(e){e.__insert(this.startNode=(0,l.createMarker)()),this.endNode=e.endNode,e.endNode=this.startNode}setValue(e){this.__pendingValue=e}commit(){if(null===this.startNode.parentNode)return;for(;(0,n.isDirective)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=a.noChange,e(this)}const e=this.__pendingValue;e!==a.noChange&&(h(e)?e!==this.value&&this.__commitText(e):e instanceof o.TemplateResult?this.__commitTemplateResult(e):e instanceof Node?this.__commitNode(e):c(e)?this.__commitIterable(e):e===a.nothing?(this.value=a.nothing,this.clear()):this.__commitText(e))}__insert(e){this.endNode.parentNode.insertBefore(e,this.endNode)}__commitNode(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}__commitText(e){const t=this.startNode.nextSibling,r="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=r:this.__commitNode(document.createTextNode(r)),this.value=e}__commitTemplateResult(e){const t=this.options.templateFactory(e);if(this.value instanceof s.TemplateInstance&&this.value.template===t)this.value.update(e.values);else{const r=new s.TemplateInstance(t,e.processor,this.options),n=r._clone();r.update(e.values),this.__commitNode(n),this.value=r}}__commitIterable(e){Array.isArray(this.value)||(this.value=[],this.clear());const t=this.value;let r,n=0;for(const i of e)void 0===(r=t[n])&&(r=new p(this.options),t.push(r),
100===n?r.appendIntoPart(this):r.insertAfterPart(t[n-1])),r.setValue(i),r.commit(),n++;n<t.length&&(t.length=n,this.clear(r&&r.endNode))}clear(e=this.startNode){(0,i.removeNodes)(this.startNode.parentNode,e.nextSibling,this.endNode)}}r.NodePart=p;r.BooleanAttributePart=class{constructor(e,t,r){if(this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=r}setValue(e){this.__pendingValue=e}commit(){for(;(0,n.isDirective)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=a.noChange,e(this)}if(this.__pendingValue===a.noChange)return;const e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=a.noChange}};r.PropertyCommitter=class extends u{constructor(e,t,r){super(e,t,r),this.single=2===r.length&&""===r[0]&&""===r[1]}_createPart(){return new f(this)}_getValue(){return this.single?this.parts[0].value:super._getValue()}commit(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}};class f extends d{}r.PropertyPart=f;let m=!1;(()=>{try{const e={get capture(){return m=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}})();r.EventPart=class{constructor(e,t,r){this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=r,this.__boundHandleEvent=e=>this.handleEvent(e)}setValue(e){this.__pendingValue=e}commit(){for(;(0,n.isDirective)(this.__pendingValue);){const e=this.__pendingValue;this.__pendingValue=a.noChange,e(this)}if(this.__pendingValue===a.noChange)return;const e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),i=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=g(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=a.noChange}handleEvent(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}};const g=e=>e&&(m?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)},{"./directive.js":"uWh2","./dom.js":"ytxR","./part.js":"pnLb","./template-instance.js":"bn5t","./template-result.js":"cVNN","./template.js":"Av0K"}],gbKZ:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.templateFactory=function(e){let t=i.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},i.set(e.type,t));let r=t.stringsArray.get(e.strings);if(void 0!==r)return r;const a=e.strings.join(n.marker);return void 0===(r=t.keyString.get(a))&&(r=new n.Template(e,e.getTemplateElement()),t.keyString.set(a,r)),t.stringsArray.set(e.strings,r),r},r.templateCaches=void 0;var n=e("./template.js");const i=new Map;r.templateCaches=i},{"./template.js":"Av0K"}],Fhpq:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.render=r.parts=void 0;var n=e("./dom.js"),i=e("./parts.js"),a=e("./template-factory.js");const s=new WeakMap;r.parts=s;r.render=(e,t,r)=>{let o=s.get(t);void 0===o&&((0,n.removeNodes)(t,t.firstChild),s.set(t,o=new i.NodePart(Object.assign({templateFactory:a.templateFactory},r))),o.appendInto(t)),o.setValue(e),o.commit()}},{"./dom.js":"ytxR","./parts.js":"atl2","./template-factory.js":"gbKZ"}],LBiL:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.defaultTemplateProcessor=r.DefaultTemplateProcessor=void 0;var n=e("./parts.js");class i{handleAttributeExpressions(e,t,r,i){const a=t[0];return"."===a?new n.PropertyCommitter(e,t.slice(1),r).parts:"@"===a?[new n.EventPart(e,t.slice(1),i.eventContext)]:"?"===a?[new n.BooleanAttributePart(e,t.slice(1),r)]:new n.AttributeCommitter(e,t,r).parts}handleTextExpression(e){return new n.NodePart(e)}}r.DefaultTemplateProcessor=i;const a=new i;r.defaultTemplateProcessor=a},{"./parts.js":"atl2"}],SPDu:[function(e,t,r){"use strict";
10Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"DefaultTemplateProcessor",{enumerable:!0,get:function(){return n.DefaultTemplateProcessor}}),Object.defineProperty(r,"defaultTemplateProcessor",{enumerable:!0,get:function(){return n.defaultTemplateProcessor}}),Object.defineProperty(r,"SVGTemplateResult",{enumerable:!0,get:function(){return i.SVGTemplateResult}}),Object.defineProperty(r,"TemplateResult",{enumerable:!0,get:function(){return i.TemplateResult}}),Object.defineProperty(r,"directive",{enumerable:!0,get:function(){return a.directive}}),Object.defineProperty(r,"isDirective",{enumerable:!0,get:function(){return a.isDirective}}),Object.defineProperty(r,"removeNodes",{enumerable:!0,get:function(){return s.removeNodes}}),Object.defineProperty(r,"reparentNodes",{enumerable:!0,get:function(){return s.reparentNodes}}),Object.defineProperty(r,"noChange",{enumerable:!0,get:function(){return o.noChange}}),Object.defineProperty(r,"nothing",{enumerable:!0,get:function(){return o.nothing}}),Object.defineProperty(r,"AttributeCommitter",{enumerable:!0,get:function(){return l.AttributeCommitter}}),Object.defineProperty(r,"AttributePart",{enumerable:!0,get:function(){return l.AttributePart}}),Object.defineProperty(r,"BooleanAttributePart",{enumerable:!0,get:function(){return l.BooleanAttributePart}}),Object.defineProperty(r,"EventPart",{enumerable:!0,get:function(){return l.EventPart}}),Object.defineProperty(r,"isIterable",{enumerable:!0,get:function(){return l.isIterable}}),Object.defineProperty(r,"isPrimitive",{enumerable:!0,get:function(){return l.isPrimitive}}),Object.defineProperty(r,"NodePart",{enumerable:!0,get:function(){return l.NodePart}}),Object.defineProperty(r,"PropertyCommitter",{enumerable:!0,get:function(){return l.PropertyCommitter}}),Object.defineProperty(r,"PropertyPart",{enumerable:!0,get:function(){return l.PropertyPart}}),Object.defineProperty(r,"parts",{enumerable:!0,get:function(){return h.parts}}),Object.defineProperty(r,"render",{enumerable:!0,get:function(){return h.render}}),Object.defineProperty(r,"templateCaches",{enumerable:!0,get:function(){return c.templateCaches}}),Object.defineProperty(r,"templateFactory",{enumerable:!0,get:function(){return c.templateFactory}}),Object.defineProperty(r,"TemplateInstance",{enumerable:!0,get:function(){return u.TemplateInstance}}),Object.defineProperty(r,"createMarker",{enumerable:!0,get:function(){return d.createMarker}}),Object.defineProperty(r,"isTemplatePartActive",{enumerable:!0,get:function(){return d.isTemplatePartActive}}),Object.defineProperty(r,"Template",{enumerable:!0,get:function(){return d.Template}}),r.svg=r.html=void 0;var n=e("./lib/default-template-processor.js"),i=e("./lib/template-result.js"),a=e("./lib/directive.js"),s=e("./lib/dom.js"),o=e("./lib/part.js"),l=e("./lib/parts.js"),h=e("./lib/render.js"),c=e("./lib/template-factory.js"),u=e("./lib/template-instance.js"),d=e("./lib/template.js");"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.2.1");r.html=(e,...t)=>new i.TemplateResult(e,t,"html",n.defaultTemplateProcessor);r.svg=(e,...t)=>new i.SVGTemplateResult(e,t,"svg",n.defaultTemplateProcessor)},{"./lib/default-template-processor.js":"LBiL","./lib/template-result.js":"cVNN","./lib/directive.js":"uWh2","./lib/dom.js":"ytxR","./lib/part.js":"pnLb","./lib/parts.js":"atl2","./lib/render.js":"Fhpq","./lib/template-factory.js":"gbKZ","./lib/template-instance.js":"bn5t","./lib/template.js":"Av0K"}],eBH8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"html",{enumerable:!0,get:function(){return h.html}}),Object.defineProperty(r,"svg",{enumerable:!0,get:function(){return h.svg}}),Object.defineProperty(r,"TemplateResult",{enumerable:!0,get:function(){return h.TemplateResult}}),r.render=void 0;var n=e("./dom.js"),i=e("./modify-template.js"),a=e("./render.js"),s=e("./template-factory.js"),o=e("./template-instance.js"),l=e("./template.js"),h=e("../lit-html.js");const c=(e,t)=>`${e}--${t}`;let u=!0;void 0===window.ShadyCSS?u=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/[email protected] and @webcomponents/[email protected]."),u=!1);const d=e=>t=>{const r=c(t.type,e);let n=s.templateCaches.get(r);void 0===n&&(n={stringsArray:new WeakMap,keyString:new Map},s.templateCaches.set(r,n));let i=n.stringsArray.get(t.strings);if(void 0!==i)return i;const a=t.strings.join(l.marker);if(void 0===(i=n.keyString.get(a))){const r=t.getTemplateElement();u&&window.ShadyCSS.prepareTemplateDom(r,e),i=new l.Template(t,r),n.keyString.set(a,i)}return n.stringsArray.set(t.strings,i),i},p=["html","svg"],f=e=>{p.forEach((t=>{const r=s.templateCaches.get(c(t,e));
vendor: 4,495 bytes, line 10
10void 0!==r&&r.keyString.forEach((e=>{const{element:{content:t}}=e,r=new Set;Array.from(t.querySelectorAll("style")).forEach((e=>{r.add(e)})),(0,i.removeNodesFromTemplate)(e,r)}))}))},m=new Set,g=(e,t,r)=>{m.add(e);const n=r?r.element:document.createElement("template"),a=t.querySelectorAll("style"),{length:s}=a;if(0===s)return void window.ShadyCSS.prepareTemplateStyles(n,e);const o=document.createElement("style");for(let e=0;e<s;e++){const t=a[e];t.parentNode.removeChild(t),o.textContent+=t.textContent}f(e);const l=n.content;r?(0,i.insertNodeIntoTemplate)(r,o,l.firstChild):l.insertBefore(o,l.firstChild),window.ShadyCSS.prepareTemplateStyles(n,e);const h=l.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==h)t.insertBefore(h.cloneNode(!0),t.firstChild);else if(r){l.insertBefore(o,l.firstChild);const e=new Set;e.add(o),(0,i.removeNodesFromTemplate)(r,e)}};r.render=(e,t,r)=>{if(!r||"object"!=typeof r||!r.scopeName)throw new Error("The `scopeName` option is required.");const i=r.scopeName,s=a.parts.has(t),l=u&&11===t.nodeType&&!!t.host,h=l&&!m.has(i),c=h?document.createDocumentFragment():t;if((0,a.render)(e,c,Object.assign({templateFactory:d(i)},r)),h){const e=a.parts.get(c);a.parts.delete(c);const r=e.value instanceof o.TemplateInstance?e.value.template:void 0;g(i,c,r),(0,n.removeNodes)(t,t.firstChild),t.appendChild(c),a.parts.set(t,e)}!s&&l&&window.ShadyCSS.styleElement(t.host)}},{"./dom.js":"ytxR","./modify-template.js":"NXoq","./render.js":"Fhpq","./template-factory.js":"gbKZ","./template-instance.js":"bn5t","./template.js":"Av0K","../lit-html.js":"SPDu"}],fKvB:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UpdatingElement=r.notEqual=r.defaultConverter=void 0,window.JSCompiler_renameProperty=(e,t)=>e;const n={toAttribute(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}};r.defaultConverter=n;const i=(e,t)=>t!==e&&(t==t||e==e);r.notEqual=i;const a={attribute:!0,type:String,converter:n,reflect:!1,hasChanged:i},s="finalized";class o extends HTMLElement{constructor(){super(),this._updateState=0,this._instanceProperties=void 0,this._updatePromise=new Promise((e=>this._enableUpdatingResolver=e)),this._changedProperties=new Map,this._reflectingProperties=void 0,this.initialize()}static get observedAttributes(){this.finalize();const e=[];return this._classProperties.forEach(((t,r)=>{const n=this._attributeNameForProperty(r,t);void 0!==n&&(this._attributeToPropertyMap.set(n,r),e.push(n))})),e}static _ensureClassProperties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;const e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach(((e,t)=>this._classProperties.set(t,e)))}}static createProperty(e,t=a){if(this._ensureClassProperties(),this._classProperties.set(e,t),t.noAccessor||this.prototype.hasOwnProperty(e))return;const r="symbol"==typeof e?Symbol():`__${e}`,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(r){const n=this[e];this[t]=r,this._requestUpdate(e,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this._classProperties&&this._classProperties.get(e)||a}static finalize(){const e=Object.getPrototypeOf(this);if(e.hasOwnProperty(s)||e.finalize(),this[s]=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){const e=this.properties,t=[...Object.getOwnPropertyNames(e),..."function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]];for(const r of t)this.createProperty(r,e[r])}}static _attributeNameForProperty(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}static _valueHasChanged(e,t,r=i){return r(e,t)}static _propertyValueFromAttribute(e,t){const r=t.type,i=t.converter||n,a="function"==typeof i?i:i.fromAttribute;return a?a(e,r):e}static _propertyValueToAttribute(e,t){if(void 0===t.reflect)return;const r=t.type,i=t.converter;return(i&&i.toAttribute||n.toAttribute)(e,r)}initialize(){this._saveInstanceProperties(),this._requestUpdate()}_saveInstanceProperties(){this.constructor._classProperties.forEac
vendor: 1,222 bytes, line 10
10h(((e,t)=>{if(this.hasOwnProperty(t)){const e=this[t];delete this[t],this._instanceProperties||(this._instanceProperties=new Map),this._instanceProperties.set(t,e)}}))}_applyInstanceProperties(){this._instanceProperties.forEach(((e,t)=>this[t]=e)),this._instanceProperties=void 0}connectedCallback(){this.enableUpdating()}enableUpdating(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&this._attributeToProperty(e,r)}_propertyToAttribute(e,t,r=a){const n=this.constructor,i=n._attributeNameForProperty(e,r);if(void 0!==i){const e=n._propertyValueToAttribute(t,r);if(void 0===e)return;this._updateState=8|this._updateState,null==e?this.removeAttribute(i):this.setAttribute(i,e),this._updateState=-9&this._updateState}}_attributeToProperty(e,t){if(8&this._updateState)return;const r=this.constructor,n=r._attributeToPropertyMap.get(e);if(void 0!==n){const e=r.getPropertyOptions(n);this._updateState=16|this._updateState,this[n]=r._propertyValueFromAttribute(t,e),this._updateState=-17&this._updateState}}_requestUpdate(e,t){let r=!0;if(void 0!==e){const n=this.constructor,i=n.getPropertyOptions(e);
10n._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}requestUpdate(e,t){return this._requestUpdate(e,t),this.updateComplete}async _enqueueUpdate(){this._updateState=4|this._updateState;try{await this._updatePromise}catch(e){}const e=this.performUpdate();return null!=e&&await e,!this._hasRequestedUpdate}get _hasRequestedUpdate(){return 4&this._updateState}get hasUpdated(){return 1&this._updateState}performUpdate(){this._instanceProperties&&this._applyInstanceProperties();let e=!1;const t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}_markUpdated(){this._changedProperties=new Map,this._updateState=-5&this._updateState}get updateComplete(){return this._getUpdateComplete()}_getUpdateComplete(){return this._updatePromise}shouldUpdate(e){return!0}update(e){void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(((e,t)=>this._propertyToAttribute(t,this[t],e))),this._reflectingProperties=void 0),this._markUpdated()}updated(e){}firstUpdated(e){}}r.UpdatingElement=o,o[s]=!0},{}],FzpZ:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.property=a,r.internalProperty=function(e){return a({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})},r.query=function(e){return(t,r)=>{const n={get(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==r?s(n,t,r):o(n,t)}},r.queryAsync=function(e){return(t,r)=>{const n={async get(){return await this.updateComplete,this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==r?s(n,t,r):o(n,t)}},r.queryAll=function(e){return(t,r)=>{const n={get(){return this.renderRoot.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==r?s(n,t,r):o(n,t)}},r.eventOptions=function(e){return(t,r)=>void 0!==r?h(e,t,r):l(e,t)},r.queryAssignedNodes=function(e="",t=!1){return(r,n)=>{const i={get(){const r="slot"+(e?`[name=${e}]`:""),n=this.renderRoot.querySelector(r);return n&&n.assignedNodes({flatten:t})},enumerable:!0,configurable:!0};return void 0!==n?s(i,r,n):o(i,r)}},r.customElement=void 0;r.customElement=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:n}=t;return{kind:r,elements:n,finisher(t){window.customElements.define(e,t)}}})(e,t);const n=(e,t)=>"method"!==t.kind||!t.descriptor||"value"in t.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}}:Object.assign(Object.assign({},t),{finisher(r){r.createProperty(t.key,e)}}),i=(e,t,r)=>{t.constructor.createProperty(r,e)};function a(e){return(t,r)=>void 0!==r?i(e,t,r):n(e,t)}const s=(e,t,r)=>{Object.defineProperty(t,r,e)},o=(e,t)=>({kind:"method",placement:"prototype",key:t.key,descriptor:e}),l=(e,t)=>Object.assign(Object.assign({},t),{finisher(r){Object.assign(r.prototype[t.key],e)}}),h=(e,t,r)=>{Object.assign(t[r],e)}},{}],ZFCR:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.css=r.unsafeCSS=r.CSSResult=r.supportsAdoptingStyleSheets=void 0;const n="adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;r.supportsAdoptingStyleSheets=n;const i=Symbol();class a{constructor(e,t){if(t!==i)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){return void 0===this._styleSheet&&(n?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}toString(){return this.cssText}}r.CSSResult=a;r.unsafeCSS=e=>new a(String(e),i);const s=e=>{if(e instanceof a)return e.cssText;if("number"==typeof e)return e;throw new Error(`Value passed to 'css' function must be a 'css' function result: ${e}. Use 'unsafeCSS' to pass non-literal values, but\n            take care to ensure page security.`)};r.css=(e,...t)=>{const r=t.reduce(((t,r,n)=>t+s(r)+e[n+1]),e[0]);return new a(r,i)}},{}],bhxD:[function(e,t,r){"use strict";
10Object.defineProperty(r,"__esModule",{value:!0});var n={LitElement:!0,html:!0,svg:!0,TemplateResult:!0,SVGTemplateResult:!0};Object.defineProperty(r,"html",{enumerable:!0,get:function(){return o.html}}),Object.defineProperty(r,"svg",{enumerable:!0,get:function(){return o.svg}}),Object.defineProperty(r,"TemplateResult",{enumerable:!0,get:function(){return o.TemplateResult}}),Object.defineProperty(r,"SVGTemplateResult",{enumerable:!0,get:function(){return o.SVGTemplateResult}}),r.LitElement=void 0;var i=e("lit-html/lib/shady-render.js"),a=e("./lib/updating-element.js");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=e("./lib/decorators.js");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))}));var o=e("lit-html/lit-html.js"),l=e("./lib/css-tag.js");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return l[e]}}))})),(window.litElementVersions||(window.litElementVersions=[])).push("2.3.1");const h={};class c extends a.UpdatingElement{static getStyles(){return this.styles}static _getUniqueStyles(){if(this.hasOwnProperty(JSCompiler_renameProperty("_styles",this)))return;const e=this.getStyles();if(void 0===e)this._styles=[];else if(Array.isArray(e)){const t=(e,r)=>e.reduceRight(((e,r)=>Array.isArray(r)?t(r,e):(e.add(r),e)),r),r=t(e,new Set),n=[];r.forEach((e=>n.unshift(e))),this._styles=n}else this._styles=[e]}initialize(){super.initialize(),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}createRenderRoot(){return this.attachShadow({mode:"open"})}adoptStyles(){const e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?l.supportsAdoptingStyleSheets?this.renderRoot.adoptedStyleSheets=e.map((e=>e.styleSheet)):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map((e=>e.cssText)),this.localName))}connectedCallback(){super.connectedCallback(),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}update(e){const t=this.render();super.update(e),t!==h&&this.constructor.render(t,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEach((e=>{const t=document.createElement("style");t.textContent=e.cssText,this.renderRoot.appendChild(t)})))}render(){return h}}r.LitElement=c,c.finalized=!0,c.render=i.render},{"lit-html/lib/shady-render.js":"eBH8","./lib/updating-element.js":"fKvB","./lib/decorators.js":"FzpZ","lit-html/lit-html.js":"SPDu","./lib/css-tag.js":"ZFCR"}],xaRr:[function(require,module,exports){var define,global=arguments[3],define,global=arguments[3],t,e;"undefined"!=typeof navigator&&(t=window||{},e=function(window){"use strict";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 ProjectInterface(){return{}}!function(){var e,t=["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"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"==typeof e&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){bm_rnd=e?Math.round:function(e){return e}}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin=e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility=e.style.webkitBackfaceVisibility="visible",e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t,this.currentTime=currentTime}roundValues(!1);var createElementID=(_count=0,function(){return"__lottie_element_"+ ++_count}),_count;function HSVtoRGB(e,t,r){var n,i,a,s,o,l,h,c;switch(l=r*(1-t),h=r*(1-(o=6*e-(s=Math.floor(6*e)))*t),c=r*(1-(1-o)*t),s%6){case 0:n=r,i=c,a=l;break;case 1:n=h,i=r,a=l;break;case 2:n=l,i=r,a=c;break;case 3:n=l,i=h,a=r;break;case 4:n=c,i=l,a=r;break;case 5:n=r,i=l,a=h}return[n,i,a]}function RGBtoHSV(e,t,r){var n,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i-a,o=0===i?0:s/i,l=i/255;switch(i){case a:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,o,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1==t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e].length,n=0;n<r;n++)this._cbs[e][n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var createTypedArray="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,t){return"float32"===e?new Float32Array(t):"int16"===e?new Int16Array(t):"uint8c"===e?new Uint8ClampedArray(t):void 0}:function(e,t){var r,n=0,i=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)i.push(r);return i};function createSizedArray(e){return Array.apply(null,{length:e})}function createNS(e){return document.createElementNS(svgNS,e)}function createTag(e){return document.createElement(e)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};
vendor: 21,915 bytes, line 10
10var getBlendMode=(blendModeEnums={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(e){return blendModeEnums[e]||""}),blendModeEnums,Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function i(){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 a(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function o(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function h(e,t){return this._t(1,t,e,1,0,0)}function c(e,t){return this.shear(r(e),r(t))}function u(n,i){var a=e(i),s=t(i);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function d(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function p(e,t,r,n,i,a,s,o,l,h,c,u,d,p,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=c,this.props[11]=u,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,i,a,s,o,l,h,c,u,d,p,f,m){var g=this.props;if(1===e&&0===t&&0===r&&0===n&&0===i&&1===a&&0===s&&0===o&&0===l&&0===h&&1===c&&0===u)return g[12]=g[12]*e+g[15]*d,g[13]=g[13]*a+g[15]*p,g[14]=g[14]*c+g[15]*f,g[15]=g[15]*m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],_=g[3],E=g[4],C=g[5],S=g[6],x=g[7],w=g[8],T=g[9],P=g[10],A=g[11],D=g[12],k=g[13],M=g[14],N=g[15];return g[0]=v*e+y*i+b*l+_*d,g[1]=v*t+y*a+b*h+_*p,g[2]=v*r+y*s+b*c+_*f,g[3]=v*n+y*o+b*u+_*m,g[4]=E*e+C*i+S*l+x*d,g[5]=E*t+C*a+S*h+x*p,g[6]=E*r+C*s+S*c+x*f,g[7]=E*n+C*o+S*u+x*m,g[8]=w*e+T*i+P*l+A*d,g[9]=w*t+T*a+P*h+A*p,g[10]=w*r+T*s+P*c+A*f,g[11]=w*n+T*o+P*u+A*m,g[12]=D*e+k*i+M*l+N*d,g[13]=D*t+k*a+M*h+N*p,g[14]=D*r+k*s+M*c+N*f,g[15]=D*n+k*o+M*u+N*m,this._identityCalculated=!1,this}function g(){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 v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function y(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t]}function b(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function _(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function E(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function C(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function S(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function x(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,i=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=r,o.props[4]=n,o.props[5]=i,o.props[12]=a,o.props[13]=s,o}function w(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function T(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=w(e[t]);return n}function P(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],h=this.props[13];n[0]=e[0]*i+e[1]*s+l,n[1]=e[0]*a+e[1]*o+h,n[2]=t[0]*i+t[1]*s+l,n[3]=t[0]*a+t[1]*o+h,n[4]=r[0]*i+r[1]*s+l,n[5]=r[0]*a+r[1]*o+h}return n}function A(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function D(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function k(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function M(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function N(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=u,this.shear=h,this.scale=d,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=_,this.applyToX=E,this.applyToY=C,this.applyToZ=S,this.applyToPointArray=A,this.applyToTriplePoints=P,this.applyToPointStringified=D,this.toCSS=k,this.to2dCSS=N,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=T,this.inversePoint=w,this.getInverseMatrix=x,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(e,t){var r=this,n=256,i="random",a=t.pow(n,6),s=t.pow(2,52),o=2*s,l=255;function h(e){var t,r=e.length,i=this,a=0,s=i.i=i.j=0,o=i.S=[];for(r||(e=[r++]);a<n;)o[a]=a++;for(a=0;a<n;a++)o[a]=o[s=l&s+e[a%r]+(t=o[a])],o[s]=t;i.g=function(e){for(var t,r=0,a=i.i,s=i.j,o=i.S;e--;)t=o[a=l&a+1],r=r*n+o[l&(o[a]=o[s=l&s+t])+(o[s]=t)];return i.i=a,i.j=s,r}}function c(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function u(e,t){for(var r,n=e+"",i=0;i<n.length;)t[l&i]=l&(r^=19*t[l&i])+n.charCodeAt(i++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}t["seed"+i]=function(l,p,f){var m=[],g=u(function e(t,r){var n,i=[],a=typeof t;if(r&&"object"==a)for(n in t)try{i.push(e(t[n],r-1))}catch(e){}return i.length?i:"string"==a?t:t+"\0"}((p=!0===p?{entropy:!0}:p||{}).entropy?[l,d(e)]:null===l?function(){try{var t=new Uint8Array(n);return(r.crypto||r.msCrypto).getRandomValues(t),d(t)}catch(t){var i=r.navigator,a=i&&i.plugins;return[+new Date,r,a,r.screen,d(e)]}}():l,3),m),v=new h(m),y=function(){for(var e=v.g(6),t=a,r=0;e<s;)e=(e+r)*n,t*=n,r=v.g(1);for(;e>=o;)e/=2,t/=2,r>>>=1;return(e+r)/t};return y.int32=function(){return 0|v.g(4)},y.quick=function(){return v.g(4)/4294967296},y.double=y,u(d(v.S),e),(p.pass||f||function(e,r,n,a){return a&&(a.S&&c(a,v),e.state=function(){return c(v,{})}),n?(t[i]=e,r):e})(y,g,"global"in p?p.global:this==t,p.state)},u(t.random(),e)}([],BMMath);var BezierFactory=function(){var e={getBezierEasing:function(e,r,n,i,a){var s=a||("bez_"+e+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(t[s])return t[s];var o=new c([e,r,n,i]);return t[s]=o,o}},t={},r=11,n=1/(r-1),i="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,r){return((a(t,r)*e+s(t,r))*e+o(t))*e}function h(e,t,r){return 3*a(t,r)*e*e+2*s(t,r)*e+o(t)}function c(e){this._p=e,this._mSampleValues=i?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===r&&n===i?e:0===e?0:1===e?1:l(this._getTForX(e),r,i)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<r;++i)this._mSampleValues[i]=l(i*n,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],a=this._mSampleValues,s=0,o=1,c=r-1;o!==c&&a[o]<=e;++o)s+=n;var u=s+(e-a[--o])/(a[o+1]-a[o])*n,d=h(u,t,i);return d>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=h(t,r,n);if(0===a)return t;t-=(l(t,r,n)-e)/a}return t}(e,u,t,i):0===d?u:function(e,t,r,n,i){var a,s,o=0;do{(a=l(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++o<10);return s}(e,s,s+n,t,i)}},e}();function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r<i;r+=1)for(var a in n=e[r].prototype)n.hasOwnProperty(a)&&(t.prototype[a]=n[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}function bezFunction(){function e(e,t,r,n,i,a){var s=e*n+t*i+r*a-i*n-a*e-r*t;return s>-.001&&s<.001}Math;var t=function(e,t,r,n){var i,a,s,o,l,h,c=defaultCurveSegments,u=0,d=[],p=[],f=bezier_length_pool.newElement();for(s=r.length,i=0;i<c;i+=1){for(l=i/(c-1),h=0,a=0;a<s;a+=1)o=bm_pow(1-l,3)*e[a]+3*bm_pow(1-l,2)*l*r[a]+3*(1-l)*bm_pow(l,2)*n[a]+bm_pow(l,3)*t[a],d[a]=o,null!==p[a]&&(h+=bm_pow(d[a]-p[a],2)),p[a]=d[a];h&&(u+=h=bm_sqrt(h)),f.percents[i]=l,f.lengths[i]=u}return f.addedLength=u,f};function r(e){this.segmentLength=0,this.points=new Array(e)}function n(e,t){this.partialLength=e,this.point=t}var i,a=(i={},function(t,a,s,o){var l=(t[0]+"_"+t[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!i[l]){var h,c,u,d,p,f,m,g=defaultCurveSegments,v=0,y=null;2===t.length&&(t[0]!=a[0]||t[1]!=a[1])&&e(t[0],t[1],a[0],a[1],t[0]+s[0],t[1]+s[1])&&e(t[0],t[1],a[0],a[1],a[0]+o[0],a[1]+o[1])&&(g=2);var b=new r(g);for(u=s.length,h=0;h<g;h+=1){for(m=createSizedArray(u),p=h/(g-1),f=0,c=0;c<u;c+=1)d=bm_pow(1-p,3)*t[c]+3*bm_pow(1-p,2)*p*(t[c]+s[c])+3*(1-p)*bm_pow(p,2)*(a[c]+o[c])+bm_pow(p,3)*a[c],m[c]=d,null!==y&&(f+=bm_pow(m[c]-y[c],2));v+=f=bm_sqrt(f),b.points[h]=new n(f,m),y=m}b.segmentLength=v,i[l]=b}return i[l]});function s(e,t){var r=t.percents,n=t.lengths,i=r.length,a=bm_floor((i-1)*e),s=e*t.addedLength,o=0;if(a===i-1||0===a||s===n[a])return r[a];for(var l=n[a]>s?-1:1,h=!0;h;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),h=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];h=!1}return r[a]+(r[a+1]-r[a])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var r,n=segments_length_pool.newElement(),i=e.c,a=e.v,s=e.o,o=e.i,l=e._length,h=n.lengths,c=0;for(r=0;r<l-1;r+=1)h[r]=t(a[r],a[r+1],s[r],o[r+1]),c+=h[r].addedLength;return i&&l&&(h[r]=t(a[r],a[0],s[r],o[0]),c+=h[r].addedLength),n.totalLength=c,n},getNewSegment:function(e,t,r,n,i,a,l){var h,c=s(i=i<0?0:i>1?1:i,l),u=s(a=a>1?1:a,l),d=e.length,p=1-c,f=1-u,m=p*p*p,g=c*p*p*3,v=c*c*p*3,y=c*c*c,b=p*p*f,_=c*p*f+p*c*f+p*p*u,E=c*c*f+p*c*u+c*p*u,C=c*c*u,S=p*f*f,x=c*f*f+p*u*f+p*f*u,w=c*u*f+p*u*u+c*f*u,T=c*u*u,P=f*f*f,A=u*f*f+f*u*f+f*f*u,D=u*u*f+f*u*u+u*f*u,k=u*u*u;for(h=0;h<d;h+=1)o[4*h]=Math.round(1e3*(m*e[h]+g*r[h]+v*n[h]+y*t[h]))/1e3,o[4*h+1]=Math.round(1e3*(b*e[h]+_*r[h]+E*n[h]+C*t[h]))/1e3,o[4*h+2]=Math.round(1e3*(S*e[h]+x*r[h]+w*n[h]+T*t[h]))/1e3,o[4*h+3]=Math.round(1e3*(P*e[h]+A*r[h]+D*n[h]+k*t[h]))/1e3;return o},getPointInSegment:function(e,t,r,n,i,a){var o=s(i,a),l=1-o;return[Math.round(1e3*(l*l*l*e[0]+(o*l*l+l*o*l+l*l*o)*r[0]+(o*o*l+l*o*o+o*l*o)*n[0]+o*o*o*t[0]))/1e3,Math.round(1e3*(l*l*l*e[1]+(o*l*l+l*o*l+l*l*o)*r[1]+(o*o*l+l*o*o+o*l*o)*n[1]+o*o*o*t[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(t,r,n,i,a,s,o,l,h){if(0===n&&0===s&&0===h)return e(t,r,i,a,o,l);var c,u=Math.sqrt(Math.pow(i-t,2)+Math.pow(a-r,2)+Math.pow(s-n,2)),d=Math.sqrt(Math.pow(o-t,2)+Math.pow(l-r,2)+Math.pow(h-n,2)),p=Math.sqrt(Math.pow(o-i,2)+Math.pow(l-a,2)+Math.pow(h-s,2));return(c=u>d?u>p?u-d-p:p-d-u:p>d?p-d-u:d-u-p)>-1e-4&&c<1e-4}}}!function(){for(var e=0,t=["ms","moz","webkit","o"],r=0;r<t.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[t[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[r]+"CancelAnimationFrame"]||window[t[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,r){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),a=setTimeout((function(){t(n+i)}),i);return e=n+i,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var bez=bezFunction();function dataFunctionManager(){function e(i,a,s){var o,l,h,u,d,p,f=i.length;for(l=0;l<f;l+=1)if("ks"in(o=i[l])&&!o.completed){if(o.completed=!0,o.tt&&(i[l-1].td=o.tt),o.hasMask){var m=o.masksProperties;for(u=m.length,h=0;h<u;h+=1)if(m[h].pt.k.i)n(m[h].pt.k);else for(p=m[h].pt.k.length,d=0;d<p;d+=1)m[h].pt.k[d].s&&n(m[h].pt.k[d].s[0]),m[h].pt.k[d].e&&n(m[h].pt.k[d].e[0])}0===o.ty?(o.layers=t(o.refId,a),e(o.layers,a,s)):4===o.ty?r(o.shapes):5==o.ty&&c(o)}}function t(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r].layers.__used?JSON.parse(JSON.stringify(t[r].layers)):(t[r].layers.__used=!0,t[r].layers);r+=1}}function r(e){var t,i,a;for(t=e.length-1;t>=0;t-=1)if("sh"==e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;i<a;i+=1)e[t].ks.k[i].s&&n(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&n(e[t].ks.k[i].e[0]);else"gr"==e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&void 0))}var a,s=function(){var e=[4,4,14];function t(e){var t,r,n,i=e.length;for(t=0;t<i;t+=1)5===e[t].ty&&(n=(r=e[t]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(i(e,r.v)&&(t(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),o=(a=[4,7,99],function(e){if(e.chars&&!i(a,e.v)){var t,r,s,o,l,h=e.chars.length;for(t=0;t<h;t+=1)if(e.chars[t].data&&e.chars[t].data.shapes)for(s=(l=e.chars[t].data.shapes[0].it).length,r=0;r<s;r+=1)(o=l[r].ks.k).__converted||(n(l[r].ks.k),o.__converted=!0)}}),l=function(){var e=[4,1,9];function t(e){var r,n,i,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(i=e[r].c.k.length,n=0;n<i;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),h=function(){var e=[4,4,18];function t(e){var r,n,i;for(r=e.length-1;r>=0;r-=1)if("sh"==e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n<i;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"==e[r].ty&&t(e[r].it)}function r(e){var r,n,i,a,s,o,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var h=r.masksProperties;for(a=h.length,i=0;i<a;i+=1)if(h[i].pt.k.i)h[i].pt.k.c=h[i].cl;else for(o=h[i].pt.k.length,s=0;s<o;s+=1)h[i].pt.k[s].s&&(h[i].pt.k[s].s[0].c=h[i].cl),h[i].pt.k[s].e&&(h[i].pt.k[s].e[0].c=h[i].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function c(e,t){0!==e.t.a.length||"m"in e.t.p||(e.singleShape=!0)}var u={completeData:function(t,r){t.__complete||(l(t),s(t),o(t),h(t),e(t.layers,t.assets,r),t.__complete=!0)}};return u.checkColors=l,u.checkChars=o,u.checkShapes=h,u.completeLayers=e,u}var dataManager=dataFunctionManager(),FontManager=function(){var e={w:0,size:0,shapes:[]},t=[];function r(e,t){var r=createTag("span");r.style.fontFamily=t;var n=createTag("span");n.innerHTML="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=e+", "+t,{node:n,w:i,parent:r}}function n(e,t){var r=createNS("text");return r.style.fontSize="100px",r.setAttribute("font-family",t.fFamily),r.setAttribute("font-style",t.fStyle),r.setAttribute("font-weight",t.fWeight),r.textContent="1",t.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",t.fClass)):r.style.fontFamily=t.fFamily,e.appendChild(r),createTag("canvas").getContext("2d").font=t.fWeight+" "+t.fStyle+" 100px "+t.fFamily,r}t=t.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 i=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return i.getCombinedCharacterCodes=function(){return t},i.prototype.addChars=function(e){if(e){this.chars||(this.chars=[]);var t,r,n,i=e.length,a=this.chars.length;for(t=0;t<i;t+=1){for(r=0,n=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),a+=1)}}},i.prototype.addFonts=function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var i,a=e.list,s=a.length,o=s;for(i=0;i<s;i+=1){var l,h,c=!0;if(a[i].loaded=!1,a[i].monoCase=r(a[i].fFamily,"monospace"),a[i].sansCase=r(a[i].fFamily,"sans-serif"),a[i].fPath){if("p"===a[i].fOrigin||3===a[i].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[i].fFamily+'"], style[f-origin="3"][f-family="'+a[i].fFamily+'"]')).length>0&&(c=!1),c){var u=createTag("style");u.setAttribute("f-forigin",a[i].fOrigin),u.setAttribute("f-origin",a[i].origin),u.setAttribute("f-family",a[i].fFamily),u.type="text/css",u.innerHTML="@font-face {font-family: "+a[i].fFamily+"; font-style: normal; src: url('"+a[i].fPath+"');}",t.appendChild(u)}}else if("g"===a[i].fOrigin||1===a[i].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h<l.length;h++)-1!==l[h].href.indexOf(a[i].fPath)&&(c=!1);if(c){var d=createTag("link");d.setAttribute("f-forigin",a[i].fOrigin),d.setAttribute("f-origin",a[i].origin),d.type="text/css",d.rel="stylesheet",d.href=a[i].fPath,document.body.appendChild(d)}}else if("t"===a[i].fOrigin||2===a[i].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),h=0;h<l.length;h++)a[i].fPath===l[h].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",a[i].fOrigin),p.setAttribute("f-origin",a[i].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",a[i].fPath),t.appendChild(p)}}}else a[i].loaded=!0,o-=1;a[i].helper=n(t,a[i]),a[i].cache={},this.fonts.push(a[i])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},i.prototype.getCharData=function(t,r,n){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===t&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",t,r,n),e},i.prototype.getFontByName=function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},i.prototype.measureText=function(e,t,r){var n=this.getFontByName(t),i=e.charCodeAt(0);if(!n.cache[i+1]){var a=n.helper;if(" "===e){a.textContent="|"+e+"|";var s=a.getComputedTextLength();a.textContent="||";var o=a.getComputedTextLength();n.cache[i+1]=(s-o)/100}else a.textContent=e,n.cache[i+1]=a.getComputedTextLength()/100}return n.cache[i+1]*r},i.prototype.checkLoadedFonts=function(){var e,t,r,n=this.fonts.length,i=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},i.prototype.loaded=function(){return this.isLoaded},i}(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,h,c,u,d,p=t.lastIndex,f=p,m=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[f],s=this.keyframes[f+1],f===m-1&&e>=s.t-i){a.h&&(a=s),p=0;break}if(s.t-i>e){p=f;break}f<m-1?f+=1:(p=0,g=!1)}var v,y,b,_,E,C,S,x,w,T,P=s.t-i,A=a.t-i;if(a.to){a.bezierData||(a.bezierData=bez.buildBezierData(a.s,s.s||a.e,a.to,a.ti));var D=a.bezierData;if(e>=P||e<A){var k=e>=P?D.points.length-1:0;for(l=D.points[k].point.length,o=0;o<l;o+=1)r[o]=D.points[k].point[o]}else{a.__fnct?d=a.__fnct:(d=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,a.__fnct=d),h=d((e-A)/(P-A));var M,N=D.segmentLength*h,F=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastAddedLe
vendor: 4,667 bytes, line 10
10ngth:0;for(u=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastPoint:0,g=!0,c=D.points.length;g;){if(F+=D.points[u].partialLength,0===N||0===h||u===D.points.length-1){for(l=D.points[u].point.length,o=0;o<l;o+=1)r[o]=D.points[u].point[o];break}if(N>=F&&N<F+D.points[u+1].partialLength){for(M=(N-F)/D.points[u+1].partialLength,l=D.points[u].point.length,o=0;o<l;o+=1)r[o]=D.points[u].point[o]+(D.points[u+1].point[o]-D.points[u].point[o])*M;break}u<c-1?u+=1:g=!1}t._lastPoint=u,t._lastAddedLength=F-D.points[u].partialLength,t._lastKeyframeIndex=f}}else{var I,O,R,L,j;if(m=a.s.length,v=s.s||a.e,this.sh&&1!==a.h)e>=P?(r[0]=v[0],r[1]=v[1],r[2]=v[2]):e<=A?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):(y=r,b=function(e,t,r){var n,i,a,s,o,l=[],h=e[0],c=e[1],u=e[2],d=e[3],p=t[0],f=t[1],m=t[2],g=t[3];return(i=h*p+c*f+u*m+d*g)<0&&(i=-i,p=-p,f=-f,m=-m,g=-g),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*h+o*p,l[1]=s*c+o*f,l[2]=s*u+o*m,l[3]=s*d+o*g,l}(n(a.s),n(v),(e-A)/(P-A)),_=b[0],E=b[1],C=b[2],S=b[3],x=Math.atan2(2*E*S-2*_*C,1-2*E*E-2*C*C),w=Math.asin(2*_*E+2*C*S),T=Math.atan2(2*_*S-2*E*C,1-2*_*_-2*C*C),y[0]=x/degToRads,y[1]=w/degToRads,y[2]=T/degToRads);else for(f=0;f<m;f+=1)1!==a.h&&(e>=P?h=1:e<A?h=0:(a.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[f]?d=a.__fnct[f]:(I=void 0===a.o.x[f]?a.o.x[0]:a.o.x[f],O=void 0===a.o.y[f]?a.o.y[0]:a.o.y[f],R=void 0===a.i.x[f]?a.i.x[0]:a.i.x[f],L=void 0===a.i.y[f]?a.i.y[0]:a.i.y[f],d=BezierFactory.getBezierEasing(I,O,R,L).get,a.__fnct[f]=d)):a.__fnct?d=a.__fnct:(I=a.o.x,O=a.o.y,R=a.i.x,L=a.i.y,d=BezierFactory.getBezierEasing(I,O,R,L).get,a.__fnct=d),h=d((e-A)/(P-A)))),v=s.s||a.e,j=1===a.h?a.s[f]:a.s[f]+(v[f]-a.s[f])*h,"multidimensional"===this.propType?r[f]=j:r=j}return t.lastIndex=p,r}function n(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(t/2),l=Math.sin(r/2),h=Math.sin(n/2);return[o*l*s+i*a*h,o*a*s+i*l*h,i*l*s-o*a*h,i*a*s-o*l*h]}function i(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function a(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n<i;)r=e[n]*this.mult,t(this.v[n]-r)>1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function s(){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 e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.addEffect=o}function h(e,t,r,n){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var i,l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=a,this.addEffect=o}function c(t,n,l,h){this.propType="unidimensional",this.keyframes=n.k,this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=l||1,this.elem=t,this.container=h,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[i.bind(this)],this.addEffect=o}function u(t,n,l,h){this.propType="multidimensional";var c,u,d,p,f,m=n.k.length;for(c=0;c<m-1;c+=1)n.k[c].to&&n.k[c].s&&n.k[c+1]&&n.k[c+1].s&&(u=n.k[c].s,d=n.k[c+1].s,p=n.k[c].to,f=n.k[c].ti,(2===u.length&&(u[0]!==d[0]||u[1]!==d[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],u[0]+
vendor: 7,201 bytes, line 10
10p[0],u[1]+p[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===u.length&&(u[0]!==d[0]||u[1]!==d[1]||u[2]!==d[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],u[0]+p[0],u[1]+p[1],u[2]+p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(n.k[c].to=null,n.k[c].ti=null),u[0]===d[0]&&u[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===u.length||u[2]===d[2]&&0===p[2]&&0===f[2])&&(n.k[c].to=null,n.k[c].ti=null));this.effectsSequence=[i.bind(this)],this.keyframes=n.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=h,this.comp=t.comp,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var g=n.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),c=0;c<g;c+=1)this.v[c]=e,this.pv[c]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}return{getProp:function(e,t,r,n,i){var a;if(t.k.length)if("number"==typeof t.k[0])a=new h(e,t,n,i);else switch(r){case 0:a=new c(e,t,n,i);break;case 1:a=new u(e,t,n,i)}else a=new l(e,t,n,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}}}(),TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,i=t.or.k.length;for(n=0;n<i;n+=1)t.or.k[n].to=t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.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?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.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 r,n,i=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(r=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],n=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(r[0]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),r[1]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),n[0]=a.getValueAtTime(a.keyframes[0].t/i,0),n[1]=s.getValueAtTime(s.keyframes[0].t/i,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(r[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),r[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0),n[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0)):(r=[a.pv,s.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime),n[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime))}else r=n=e;this.v.rotate(-Math.atan2(r[1]-n[1],r[0]-n[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(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();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)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=point_pool.newElement(),this.o[r]=point_pool.newElement(),this.i[r]=point_pool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;
vendor: 6,195 bytes, line 10
10)this.doubleArrayLength();this._length=e},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(e,t,r,n,i){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[n]||a[n]&&!i)&&(a[n]=point_pool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],a,!1),s-=1;return e};var ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,i,a,s,o,l,h,c,u,d=r.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)n=p[0].s[0],a=!0,d=0;else if(e>=p[p.length-1].t-this.offsetTime)n=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var f,m,g=d,v=p.length-1,y=!0;y&&(f=p[g],!((m=p[g+1]).t-this.offsetTime>e));)g<v-1?g+=1:y=!1;if(d=g,!(a=1===f.h)){if(e>=m.t-this.offsetTime)c=1;else if(e<f.t-this.offsetTime)c=0;else{var b;f.__fnct?b=f.__fnct:(b=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,f.__fnct=b),c=b((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}i=m.s?m.s[0]:f.e[0]}n=f.s[0]}for(l=t._length,h=n.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<h;o+=1)u=a?n.i[s][o]:n.i[s][o]+(i.i[s][o]-n.i[s][o])*c,t.i[s][o]=u,u=a?n.o[s][o]:n.o[s][o]+(i.o[s][o]-n.o[s][o])*c,t.o[s][o]=u,u=a?n.v[s][o]:n.v[s][o]+(i.v[s][o]-n.v[s][o])*c,t.v[s][o]=u}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<r&&t<r||i>n&&t>n)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shape_pool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){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 e,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?t.pt.k:t.ks.k;this.v=shape_pool.clone(i),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.k=!0,this.kf=!0;var s=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,s),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=a,s.prototype.setVValue=i,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=o;var h=function(){var e=roundCorner;function t(e,t){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=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,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],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=r-i,s.v[1][0]=a?t+n:t-n,s.v[1][1]=r,s.v[2][0]=t,s.v[2][1]=r+i,s.v[3][0]=a?t-n:t+n,s.v[3][1]=r,s.i[0][0]=a?t-n*e:t+n*e,s.i[0][1]=r-i,s.i[1][0]=a?t+n:t-n,s.i[1][1]=r-i*e,s.i[2][0]=a?t+n*e:t-n*e,s.i[2][1]=r+i,s.i[3][0]=a?t-n:t+n,s.i[3][1]=r+i*e,s.o[0][0]=a?t+n*e:t-n*e,s.o[0][1]=r-i,s.o[1][0]=a?t+n:t-n,s.o[1][1]=r+i*e,s.o[2][0]=a?t-n*e:t+n*e,s.o[2][1]=r+i,s.o[3][0]=a?t-n:t+n,s.o[3][1]=r-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Pro
vendor: 6,398 bytes, line 10
10pertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.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 e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,s=!0,o=this.or.v,l=this.ir.v,h=this.os.v,c=this.is.v,u=2*Math.PI*o/(2*i),d=2*Math.PI*l/(2*i),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){r=s?h:c,n=s?u:d;var m=(t=s?o:l)*Math.cos(p),g=t*Math.sin(p),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=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-v*n*r*f,g-y*n*r*f,m+v*n*r*f,g+y*n*r*f,e,!0),s=!s,p+=a*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,i=this.os.v,a=2*Math.PI*n/(4*t),s=-Math.PI/2,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(s),h=n*Math.sin(s),c=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),u=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-c*a*i*o,h-u*a*i*o,l+c*a*i*o,h+u*a*i*o,e,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),u=function(){function e(e,t){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=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bm_min(r,n,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+i,e+r,t-n+a,0,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-a,e+r,t+n-i,1,!0),0!==i?(this.v.setTripleAt(e+r-i,t+n,e+r-i,t+n,e+r-a,t+n,2,!0),this.v.setTripleAt(e-r+i,t+n,e-r+a,t+n,e-r+i,t+n,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-i,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+a,e-r,t-n+i,5,!0),this.v.setTripleAt(e-r+i,t-n,e-r+i,t-n,e-r+a,t-n,6,!0),this.v.setTripleAt(e+r-i,t-n,e+r-a,t-n,e+r-i,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+a,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+a,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+a,e+r,t-n+i,0,!0),0!==i?(this.v.setTripleAt(e+r-i,t-n,e+r-i,t-n,e+r-a,t-n,1,!0),this.v.setTripleAt(e-r+i,t-n,e-r+a,t-n,e-r+i,t-n,2,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+i,e-r,t-n+a,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-a,e-r,t+n-i,4,!0),this.v.setTripleAt(e-r+i,t+n,e-r+i,t+n,e-r+a,t+n,5,!0),this.v.setTripleAt(e+r-i,t+n,e+r-a,t+n,e+r-i,t+n,6,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-i,e+r,t+n-a,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+a,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-a,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-a,t+n,e+r,t+n,3,!0)))},getValue:function(e){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}(),d={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new s(e,t,r):5===r?n=new u(e,t):6===r?n=new h(e,t):7===r&&(n=new c(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return d}(),ShapeModifiers=(t={},e={},t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,n){return new e[t](r,n)},t),t,e;function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(e,t,r,n){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var i,a,s=t.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:t[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=Pro
vendor: 8,196 bytes, line 10
10pertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,i){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var s,o,l=[],h=a.length;for(s=0;s<h;s+=1){var c,u;(o=a[s]).e*i<n||o.s*i>n+r||(c=o.s*i<=n?0:(o.s*i-n)/r,u=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([c,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segments_length_pool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),(t=(this.s.v>1?1:this.s.v<0?0:this.s.v)+i)>(r=(this.e.v>1?1:this.e.v<0?0:this.e.v)+i)){var a=t;t=r,r=a}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,o,l,h,c,u,d=this.shapes.length,p=0;if(r===t)for(s=0;s<d;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection;else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(s=0;s<d;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var f,m,g=[];for(s=0;s<d;s+=1)if((f=this.shapes[s]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(h=this.releasePathsData(f.pathsData),o=0;o<l;o+=1)c=bez.getSegmentsLength(n.shapes[o]),h.push(c),u+=c.totalLength;f.totalShapeLength=u,f.pathsData=h}p+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=t,b=r,_=0;for(s=d-1;s>=0;s-=1)if((f=this.shapes[s]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(t,r,f.totalShapeLength,_,p),_+=f.totalShapeLength):v=[[y,b]],l=v.length,o=0;o<l;o+=1){y=v[o][0],b=v[o][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?g.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var E=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var C=E.pop();this.addPaths(E,m),E=this.addShapes(f,g[1],C)}else this.addPaths(E,m),E=this.addShapes(f,g[1]);this.addPaths(E,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,i,a,s){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(r[0],r[1],"i",a+1),s&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,i,a,s,o,l,h,c,u=e.pathsData,d=e.shape.paths.shapes,p=e.shape.paths._length,f=0,m=[],g=!0;for(r?(o=r._length,c=r._length):(r=shape_pool.newElement(),o=0,c=0),m.push(r),n=0;n<p;n+=1){for(l=u[n].lengths,r.c=d[n].c,a=d[n].c?l.length:l.length+1,i=1;i<a;i+=1)if(f+(s=l[i-1]).addedLength<t.s)f+=s.addedLength,r.c=!1;else{if(f>t.e){r.c=!1;break}t.s<=f&&t.e>=f+s.addedLength?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[i],d[n].v[i],r,o,g),g=!1):(h=bez.getNewSegment(d[n].v[i-1],d[n].v[i],d[n].o[i-1],d[n].i[i],(t.s-f)/s.addedLength,(t.e-f)/s.addedLength,l[i-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1),f+=s.addedLength,o+=1}if(d[n].c&&l.length){if(s=l[i-1],f<=t.e){var v=l[i-1].addedLength;t.s<=f&&t.e>=f+v?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[0],d[n].v[0],r,o,g),g=!1):(h=bez.getNewSegment(d[n].v[i-1],d[n].v[0],d[n].o[i-1],d[n].i[0],(t.s-f)/v,(t.e-f)/v,l[i-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1)}else r.c=!1;f+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;n<p-1&&(r=shape_pool.newElement(),g=!0,m.push(r),o=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shape_pool.newElement();r.c=e.c;var n,i,a,s,o,l,h,c,u,d,p,f,m,g=e._length,v=0;for(n=0;n<g;n+=1)i=e.v[n],s=e.o[n],a=e.i[n],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?0!==n&&n!==g-1||e.c?(o=0===n?e.v[g-1]:e.v[n-1],h=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=f=i[0]+(o[0]-i[0])*h,u=m=i[1]-(i[1]-o[1])*h,d=c-(c-i[0])*roundCorner,p=u-(u-i[1])*roundCorner,r.setTripleAt(c,u,d,p,f,m,v),v+=1,o=n===g-1?e.v[0]:e.v[n+1],h=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=d=i[0]+(o[0]-i[0])*h,u=p=i[1]+(o[1]-i[1])*h,f=c-(c-i[0])*roundCorner,m=u-(u-i[1])*roundCorner,r.setTripleAt(c,u,d,p,f,m,v),v+=1):(r.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],v),v+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if((a=this.shapes[r]).shape.paths,s=a.localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,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(e,t,r,n,i,a){var s=a?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);e.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*i),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){e.length;var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,i,a;if(this._mdf||e){var s,o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){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}]}
vendor: 12,566 bytes, line 10
10,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(a=0,n=0;n<=this._groups.length-1;n+=1)s=a<o,this._groups[n]._render=s,this.changeGroupRender(this._groups[n].it,s),a+=1;this._currentCopies=o;var h=this.o.v,c=h%1,u=h>0?Math.floor(h):Math.ceil(h),d=(this.tr.v.props,this.pMatrix.props),p=this.rMatrix.props,f=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,g,v=0;if(h>0){for(;v<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),v+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),v+=c)}else if(h<0){for(;v>u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),v-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),v-=c)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(g=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==v){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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]),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]),m=0;m<g;m+=1)r[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<g;m+=1)r[m]=this.matrix.props[m];v+=1,a-=1,n+=i}}else for(a=this._currentCopies,n=0,i=1;a;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,n+=i},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shape_pool.release(this.shapes[e]);this._length=0},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!=this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,i=4*this.data.p;for(t=0;t<i;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(e,t,r,n){if(0===t)return"";var i,a=e.o,s=e.i,o=e.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<t;i+=1)l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(o[i][0],o[i][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t){var r=function(e,t,r){var n="";if(e.e)n=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=t+i}else n=r,n+=e.u?e.u:"",n+=e.p;return n}(t,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded.bind(this),!1),n.addEventListener("error",function(){i.img=e,this._imageLoaded()}.bind(this),!1),n.src=r;var i={img:n,assetData:t};return i}function n(e,t){this.imagesLoadedCb=t;var r,n=e.length;for(r=0;r<n;r+=1)e[r].layers||(this.totalImages+=1,this.images.push(this._createImageData(e[r])))}function i(e){this.path=e||""}function a(e){this.assetsPath=e||""}function s(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}}function o(){this.imagesLoadedCb=null,this.images.length=0}function l(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=n,this.setAssetsPath=a,this.setPath=i,this.loaded=l,this.destroy=o,this.getImage=s,this._createImageData=r,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var e={maskType:!0};return(/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))&&(e.maskType=!1),e}(),filtersFactory=function(){var e={createFilter:function(e){var t=createNS("filter");return t.setAttribute("id",e),t.setAttribute("filterUnits","objectBoundingBox"),t.setAttribute("x","0%"),t.setAttribute("y","0%"),t.setAttribute("width","100%"),t.setAttribute("height","100%"),t},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e}};return e}(),assetLoader=function(){function e(e){return e.response&&"object"==typeof e.response?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):void 0}return{load:function(t,r,n){var i,a=new XMLHttpRequest;a.open("GET",t,!0);try{a.responseType="json"}catch(e){}a.send(),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status)i=e(a),r(i);else try{i=e(a),r(i)}catch(e){n&&n(e)}}}}}();function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,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)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,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(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,a,s,o,l,h,c,u,d,p,f,m,g,v,y,b,_,E=this._moreOptions.alignment.v,C=this._animatorsData,S=this._textData,x=this.mHelper,w=this._renderType,T=this.renderedLetters.length,P=(this.data,e.l);if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var A,D=_.v;for(this._pathData.r&&(D=D.reverse()),s={tLength:0,segments:[]},a=D._length-1,v=0,i=0;i<a;i+=1)A=bez.buildBezierData(D.v[i],D.v[i+1],[D.o[i][0]-D.v[i][0],D.o[i][1]-D.v[i][1]],[D.i[i+1][0]-D.v[i+1][0],D.i[i+1][1]-D.v[i+1][1]]),s.tLength+=A.segmentLength,s.segments.push(A),v+=A.segmentLength;i=a,_.v.c&&(A=bez.buildBezierData(D.v[i],D.v[0],[D.o[i][0]-D.v[i][0],D.o[i][1]-D.v[i][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),s.tLength+=A.segmentLength,s.segments.push(A),v+=A.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,u=1,h=0,c=!0,m=s.segments,o<0&&_.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),u=(f=m[d=m.length-1].points).length-1;o<0;)o+=f[u].partialLength,(u-=1)<0&&(u=(f=m[d-=1].points).length-1);p=(f=m[d].points)[u-1],g=(l=f[u]).partialLength}a=P.length,r=0,n=0;var k,M,N,F,I=1.2*e.finalSize*.714,O=!0;N=C.length;var R,L,j,B,V,z,H,q,G,W,U,$,Y,Z=-1,K=o,X=d,Q=u,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ie=2===e.j?-.5:-1,ae=0,se=!0;for(i=0;i<a;i+=1)if(P[i].n){for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1;re=0,se=!0}else{for(M=0;M<N;M+=1)(k=C[M].a).t.propType&&(se&&2===e.j&&(ne+=k.t.v*ie),(R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars)).length?re+=k.t.v*R[0]*ie:re+=k.t.v*R*ie);se=!1}for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1}for(i=0;i<a;i+=1){if(x.reset(),V=1,P[i].n)r=0,n+=e.yOffset,n+=O?1:0,o=K,O=!1,this._hasMaskedPath&&(u=Q,p=(f=m[d=X].points)[u-1],g=(l=f[u]).partialLength,h=0),Y=W=$=ee="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==P[i].line){switch(e.j){case 1:o+=v-e.lineWidths[P[i].line];break;case 2:o+=(v-e.lineWidths[P[i].line])/2}J=P[i].line}Z!==P[i].ind&&(P[Z]&&(o+=P[Z].extra),o+=P[i].an/2,Z=P[i].ind),o+=E[0]*P[i].an/200;var oe=0;for(M=0;M<N;M+=1)(k=C[M].a).p.propType&&((R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars)).length?oe+=k.p.v[0]*R[0]:oe+=k.p.v[0]*R),k.a.propType&&((R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars)).length?oe+=k.a.v[0]*R[0]:oe+=k.a.v[0]*R);for(c=!0;c;)h+g>=o+oe||!f?(y=(o+oe-h)/l.partialLength,j=p.point[0]+(l.point[0]-p.point[0])*y,B=p.point[1]+(l.point[1]-p.point[1])*y,x.translate(-E[0]*P[i].an/200,-E[1]*I/100),c=!1):f&&(h+=l.partialLength,(u+=1)>=f.length&&(u=0,m[d+=1]?f=m[d].points:_.v.c?(u=0,f=m[d=0].points):(h-=l.partialLength,f=null)),f&&(p=l,g=(l=f[u]).partialLength));L=P[i].an/2-P[i].add,x.translate(-L,0,0)}else L=P[i].an/2-P[i].add,x.translate(-L,0,0),x.translate(-E[0]*P[i].an/200,-E[1]*I/100,0);for(P[i].l,M=0;M<N;
vendor: 12,861 bytes, line 10
10M+=1)(k=C[M].a).t.propType&&(R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?R.length?o+=k.t.v*R[0]:o+=k.t.v*R:R.length?r+=k.t.v*R[0]:r+=k.t.v*R));for(P[i].l,e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(z=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(q=[e.fc[0],e.fc[1],e.fc[2]]),M=0;M<N;M+=1)(k=C[M].a).a.propType&&((R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars)).length?x.translate(-k.a.v[0]*R[0],-k.a.v[1]*R[1],k.a.v[2]*R[2]):x.translate(-k.a.v[0]*R,-k.a.v[1]*R,k.a.v[2]*R));for(M=0;M<N;M+=1)(k=C[M].a).s.propType&&((R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars)).length?x.scale(1+(k.s.v[0]-1)*R[0],1+(k.s.v[1]-1)*R[1],1):x.scale(1+(k.s.v[0]-1)*R,1+(k.s.v[1]-1)*R,1));for(M=0;M<N;M+=1){if(k=C[M].a,R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars),k.sk.propType&&(R.length?x.skewFromAxis(-k.sk.v*R[0],k.sa.v*R[1]):x.skewFromAxis(-k.sk.v*R,k.sa.v*R)),k.r.propType&&(R.length?x.rotateZ(-k.r.v*R[2]):x.rotateZ(-k.r.v*R)),k.ry.propType&&(R.length?x.rotateY(k.ry.v*R[1]):x.rotateY(k.ry.v*R)),k.rx.propType&&(R.length?x.rotateX(k.rx.v*R[0]):x.rotateX(k.rx.v*R)),k.o.propType&&(R.length?V+=(k.o.v*R[0]-V)*R[0]:V+=(k.o.v*R-V)*R),e.strokeWidthAnim&&k.sw.propType&&(R.length?H+=k.sw.v*R[0]:H+=k.sw.v*R),e.strokeColorAnim&&k.sc.propType)for(G=0;G<3;G+=1)R.length?z[G]=z[G]+(k.sc.v[G]-z[G])*R[0]:z[G]=z[G]+(k.sc.v[G]-z[G])*R;if(e.fillColorAnim&&e.fc){if(k.fc.propType)for(G=0;G<3;G+=1)R.length?q[G]=q[G]+(k.fc.v[G]-q[G])*R[0]:q[G]=q[G]+(k.fc.v[G]-q[G])*R;k.fh.propType&&(q=R.length?addHueToRGB(q,k.fh.v*R[0]):addHueToRGB(q,k.fh.v*R)),k.fs.propType&&(q=R.length?addSaturationToRGB(q,k.fs.v*R[0]):addSaturationToRGB(q,k.fs.v*R)),k.fb.propType&&(q=R.length?addBrightnessToRGB(q,k.fb.v*R[0]):addBrightnessToRGB(q,k.fb.v*R))}}for(M=0;M<N;M+=1)(k=C[M].a).p.propType&&(R=C[M].s.getMult(P[i].anIndexes[M],S.a[M].s.totalChars),this._hasMaskedPath?R.length?x.translate(0,k.p.v[1]*R[0],-k.p.v[2]*R[1]):x.translate(0,k.p.v[1]*R,-k.p.v[2]*R):R.length?x.translate(k.p.v[0]*R[0],k.p.v[1]*R[1],-k.p.v[2]*R[2]):x.translate(k.p.v[0]*R,k.p.v[1]*R,-k.p.v[2]*R));if(e.strokeWidthAnim&&(W=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),e.fillColorAnim&&e.fc&&($="rgb("+Math.round(255*q[0])+","+Math.round(255*q[1])+","+Math.round(255*q[2])+")"),this._hasMaskedPath){if(x.translate(0,-e.ls),x.translate(0,E[1]*I/100+n,0),S.p.p){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(le+=180),x.rotate(-le*Math.PI/180)}x.translate(j,B,0),o-=E[0]*P[i].an/200,P[i+1]&&Z!==P[i+1].ind&&(o+=P[i].an/2,o+=e.tr/1e3*e.finalSize)}else{switch(x.translate(r,n,0),e.ps&&x.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:x.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line]),0,0);break;case 2:x.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line])/2,0,0)}x.translate(0,-e.ls),x.translate(L,0,0),x.translate(E[0]*P[i].an/200,E[1]*I/100,0),r+=P[i].l+e.tr/1e3*e.finalSize}"html"===w?ee=x.toCSS():"svg"===w?ee=x.to2dCSS():te=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],Y=V}T<=i?(F=new LetterProps(Y,W,U,$,ee,te),this.renderedLetters.push(F),T+=1,this.lettersChangedFlag=!0):(F=this.renderedLetters[i],this.lettersChangedFlag=F.update(Y,W,U,$,ee,te)||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(e,t,r,n,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var n,i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&(e[r].s,!(r===n-1||e[r+1].t>t));)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r=FontManager.getCombinedCharacterCodes(),n=[],i=0,a=e.length;i<a;)t=e.charCodeAt(i),-1!==r.indexOf(t)?n[n.length-1]+=e.charAt(i):t>=55296&&t<=56319&&(t=e.charCodeAt(i+1))>=56320&&t<=57343?(n.push(e.substr(i,2)),++i):n.push(e.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,s,o,l=this.elem.globalData.fontManager,h=this.data,c=[],u=0,d=h.m.g,p=0,f=0,m=0,g=[],v=0,y=0,b=l.getFontByName(e.f),_=0,E=b.fStyle?b.fStyle.split(" "):[],C="normal",S="normal";for(r=E.length,t=0;t<r;t+=1)switch(E[t].toLowerCase()){case"italic":S="italic";break;case"bold":C="700";break;case"black":C="900";break;case"medium":C="500";break;case"regular":case"normal":C="400";break;case"light":case"thin":C="200"}e.fWeight=b.fWeight||C,e.fStyle=S,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var x,w=e.tr/1e3*e.finalSize;if(e.sz)for(var T,P,A=!0,D=e.sz[0],k=e.sz[1];A;){T=0,v=0,r=(P=this.buildFinalText(e.t)).length,w=e.tr/1e3*e.finalSize;var M=-1;for(t=0;t<r;t+=1)x=P[t].charCodeAt(0),n=!1," "===P[t]?M=t:13!==x&&3!==x||(v=0,n=!0,T+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(P[t],b.fStyle,b.fFamily),_=n?0:o.w*e.finalSize/100):_=l.measureText(P[t],e.f,e.finalSize),v+_>D&&" "!==P[t]?(-1===M?r+=1:t=M,T+=e.finalLineHeight||1.2*e.finalSize,P.splice(t,M===t?1:0,"\r"),M=-1,v=0):(v+=_,v+=w);T+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&k<T?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=P,r=e.finalText.length,A=!1)}v=-w,_=0;var N,F=0;for(t=0;t<r;t+=1)if(n=!1,x=(N=e.finalText[t]).charCodeAt(0)," "===N?i=" ":13===x||3===x?(F=0,g.push(v),y=v>y?v:y,v=-2*w,i="",n=!0,m+=1):i=e.finalText[t],l.chars?(o=l.getCharData(N,b.fStyle,l.getFontByName(e.f).fFamily),_=n?0:o.w*e.finalSize/100):_=l.measureText(i,e.f,e.finalSize)," "===N?F+=_+w:(v+=_+w+F,F=0),c.push({l:_,an:_,add:p,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==d){if(p+=_,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(p-=_);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=_,f+=1;u+=1,p=0}}else if(3==d){if(p+=_,""===i||t===r-1){for(""===i&&(p-=_);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=_,f+=1;p=0,u+=1}}else c[u].ind=u,c[u].extra=0,u+=1;if(e.l=c,y=v>y?v:y,g.push(v),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var I,O,R=h.a;s=R.length;var L,j,B=[];for(a=0;a<s;a+=1){for((I=R[a]).a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),j=0,L=I.s.b,t=0;t<r;t+=1)(O=c[t]).anIndexes[a]=j,(1==L&&""!==O.val||2==L&&""!==O.val&&" "!==O.val||3==L&&(O.n||" "==O.val||t==r-1)||4==L&&(O.n||t==r-1))&&(1===I.s.rn&&B.push(j),j+=1);h.a[a].s.totalChars=j;var V,z=-1;if(1===I.s.rn)for(t=0;t<r;t+=1)z!=(O=c[t]).anIndexes[a]&&(z=O.anIndexes[a],V=B.splice(Math.floor(Math.random()*B.length),1)[0]),O.anIndexes[a]=V}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,s=1,o=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,h=0,c=this.finalS,u=this.finalE,d=this.data.sh;if(2===d)h=l(h=u===c?n>=u?1:0:e(0,t(.5/(u-c)+(n-c)/(u-c),1)));else if(3===d)h=l(h=u===c?n>=u?0:1:1-e(0,t(.5/(u-c)+(n-c)/(u-c),1)));else if(4===d)u===c?h=0:(h=e(0,t(.5/(u-c)+(n-c)/(u-c),1)))<.5?h*=2:h=1-2*(h-.5),h=l(h);else if(5===d){if(u===c)h=0;else{var p=u-c,f=-p/2+(n=t(e(0,n+.5-c),u-c)),m=p/2;h=Math.sqrt(1-f*f/(m*m))}h=l(h)}else 6===d?(u===c?h=0:(n=t(e(0,n+.5-c),u-c),h=(1+Math.cos(Math.PI+2*Math.PI*n/(u-c)))/2),h=l(h)):(n>=r(c)&&(h=e(0,t(n-c<0?t(u,1)-(c-n):u-n,1))),h=l(h));return h*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}(),pool_factory=function(e,t,r,n){var i=0,a=e,s=createSizedArray(a);return{newElement:function(){return i?s[i-=1]:t()},release:function(e){i===a&&(s=pooling.double(s),a*=2),r&&r(e),s[i]=e,i+=1}}},pooling={double:function(e){return e.concat(createSizedArray(e.length))}},point_pool=pool_factory(8,(function(){return createTypedArray("float32",2)})),shape_pool=function(){var e=pool_factory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)point_pool.release(e.v[t]),point_pool.release(e.i[t]),point_pool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}));return e.clone=function(t){var r,n=e.newElement(),i=void 0===t._length?t.v.length:t._length;for(n.setLength(i),n.c=t.c,r=0;r<i;r+=1)n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],r);return n},e}(),shapeCollection_pool=function(){var e={newShapeCollection:function(){return t?n[t-=1]:new ShapeCollection},release:function(e){var i,a=e._length;for(i=0;i<a;i+=1)shape_pool.release(e.shapes[i]);e._length=0,t===r&&(n=pooling.double(n),r*=2),n[t]=e,t+=1}},t=0,r=4,n=createSizedArray(r);return e}
vendor: 2,450 bytes, line 10
10(),segments_length_pool=pool_factory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezier_length_pool.release(e.lengths[t]);e.lengths.length=0})),bezier_length_pool=pool_factory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}}));function BaseRenderer(){}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=t.title,this.svgElement.appendChild(n),r+=i}if(t&&t.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!t||!1!==t.hideOnTransparent,viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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
vendor: 8,700 bytes, line 10
10w Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!t||!1!==t.hideOnTransparent,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},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(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,o,l,h,c,u,d,p=this.masksProperties,f=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(n=0;n<a;n++)if(("a"!==p[n].mode&&"n"!==p[n].mode||p[n].inv||100!==p[n].o.k||p[n].o.x)&&(v="mask",y="mask"),"s"!=p[n].mode&&"i"!=p[n].mode||0!==f?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)),s=createNS("path"),"n"!=p[n].mode){var b;if(f+=1,s.setAttribute("fill","s"===p[n].mode?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero"),0!==p[n].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,p[n].x,0,null,this.element),b=createElementID(),(c=createNS("filter")).setAttribute("id",b),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),c.appendChild(u),i.appendChild(c),s.setAttribute("stroke","s"===p[n].mode?"#000000":"#ffffff")):(u=null,d=null),this.storedData[n]={elem:s,x:d,expan:u,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"==p[n].mode){l=m.length;var _=createNS("g");for(o=0;o<l;o+=1)_.appendChild(m[o]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",g+"_"+f),E.appendChild(s),i.appendChild(E),_.setAttribute("mask","url("+locationHref+"#"+g+"_"+f+")"),m.length=0,m.push(_)}else m.push(s);p[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),invRect:h},this.viewData[n].prop.k||this.drawPath(p[n],this.viewData[n].prop.v,this.viewData[n])}else this.viewData[n]={op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),elem:s,lastPath:""},i.appendChild(s);for(this.maskElement=createNS(v),a=m.length,n=0;n<a;n+=1)this.maskElement.appendChild(m[n]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+locationHref+"#"+g+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(e,t){this.elem=e,this.pos=t}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,i=e.length;n<i;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t--)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 13:return this.createCamera(e)}return this.createNull(e)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r,n=e.length,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){if(this.layers[r].id==e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==t&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(e,i[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRenderer.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRenderer.prototype.createText=function(e){return new SVGTextElement(e,this.globalData,this)},SVGRenderer.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},SVGRenderer.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,
100,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),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 t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+i+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);t[e]=r,expressionsPlugin&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?r.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRenderer.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},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(e){return new CVShapeElement(e,this.globalData,this)},CanvasRenderer.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRenderer.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.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]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRenderer.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,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(
10)},CanvasRenderer.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,n=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)n[r]=t[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,r=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(t=0;t<16;t+=1)n[t]=r[t];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(e){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.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)):this.canvasContext=this.renderConfig.context,this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var e,t,r,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),a=i[1]||"meet",s=i[0]||"xMidYMid",o=s.substr(0,4),l=s.substr(4);r=e/t,(n=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===a||n<r&&"slice"===a?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.t
vendor: 9,997 bytes, line 10
10y=0):(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 e;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<n;r++)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.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(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var i,a,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRenderer.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextElement(e,this.globalData,this)},HybridRenderer.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},HybridRenderer.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}},HybridRenderer.prototype.createThreeDContainer=function(e,t){var r=createTag("div");styleDiv(r);var n=createTag("div");styleDiv(n),"3d"===t&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.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)"),r.appendChild(n);var i={container:n,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(i),i},HybridRenderer.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e--)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var i,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[r].container.insertBefore(e,i):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRenderer.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper;t.style.width=e.w+"px",t.style.height=e.h+"px",this.resizerElem=t,styleDiv(t),t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),t.style.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var i=createNS("defs");n.appendChild(i),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=i,this.layers=e.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 e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var e,t,r,n,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+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 e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1)this.threeDElements[e].perspectiveElem.style.perspective=this.threeDElements[e].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t++)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,(e+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,i,a=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,n=1;n<i;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&i>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",
vendor: 5,012 bytes, line 10
10s)),r.lastPath=a}},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(e){this.hierarchy=e},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(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},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 e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.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])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r=!0,n=this.comp;r;)n.finalTransform?(n.data.hasMask&&t.splice(0,0,n.finalTransform),n=n.comp):r=!1;var i,a,s=t.length;for(i=0;i<s;i+=1)a=t[i].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!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 e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].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(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),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(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,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(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=Pro
vendor: 6,801 bytes, line 10
10pertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*t.g.p,a=0;a<s;a+=4)i=createNS("stop"),n.appendChild(i),o.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var h=createNS(1===e.t?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(n=4*e.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(r),c.push(r);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),this.of=h,this.ms=a,this.ost=c,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(r,n,i){var a,s,o,l,h,c,u,d,p,f,m,g=n.styles.length,v=n.lvl;for(c=0;c<g;c+=1){if(l=n.sh._mdf||i,n.styles[c].lvl<v){for(d=t.reset(),f=v-n.styles[c].lvl,m=n.transformers.length-1;!l&&f>0;)l=n.transformers[m].mProps._mdf||l,f--,m--;if(l)for(f=v-n.styles[c].lvl,m=n.transformers.length-1;f>0;)p=n.transformers[m].mProps.v.props,d.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]),f--,m--}else d=e;if(s=(u=n.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(h=u.shapes[a])&&h._length&&(o+=buildShapeString(h,h._length,h.c,d));n.caches[c]=o}else o=n.caches[c];n.styles[c].d+=!0===r.hd?"":o,n.styles[c]._mdf=l||n.styles[c]._mdf}}function i(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,r){s(e,t,r),o(0,t,r)}function s(e,t,r){var n,i,a,s,o,l=t.gf,h=t.g._hasOpacity,c=t.s.v,u=t.e.v;if(t.o._mdf||r){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||r){var p=1===e.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,c[0]),l.setAttribute(f,c[1]),h&&!t.g._collapsable&&(t.of.setAttribute(p,c[0]),t.of.setAttribute(f,c[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(a=n.length,i=0;i<a;i+=1)(s=n[i]).setAttribute("offset",m[4*i]+"%"),s.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(h&&(t.g._omdf||r)){var g=t.g.o;for(a=(n=t.g._collapsable?t.cst:t.ost).length,i=0;i<a;i+=1)s=n[i],t.g._collapsable||s.setAttribute("offset",g[2*i]+"%"),s.setAttribute("stop-opacity",g[2*i+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",u[0]),l.setAttribute("y2",u[1]),h&&!t.g._collapsable&&(t.of.setAttribute("x2",u[0]),t.of.setAttribute("y2",u[1])));else if((t.s._mdf||t.e._mdf||r)&&(o=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),l.setAttribute("r",o),h&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||r){o||(o=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)));var v=Math.atan2(u[1]-c[1],u[0]-c[0]),y=o*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),b=Math.cos(v+t.a.v)*y+c[0],_=Math.sin(v+t.a.v)*y+c[1];l.setAttribute("fx",b),l.setAttribute("fy",_),h&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",_))}}function o(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty,e.ty){case"fl":return i;case"gf":return s;case"gs":return a;case"st":return o;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i=4;"rc"==t.ty?i=5:"el"==t.ty?i=6:"sr"==t.ty&&(i=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,i,e);var a,s,o=r.length;for(a=0;a<o;a+=1)r[a].closed||(s={transforms:n.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(s),r[a].elements.push(s))}function BaseElement(){}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(e,t,r){this.initElement(e,t,r)}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGTextElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function SVGTintFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.a
vendor: 3,600 bytes, line 10
10ppendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),e.appendChild(r),this.matrixFilter=r,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var n,i=createNS("feMerge");e.appendChild(i),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),i.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","f2"),i.appendChild(n)}}function SVGFillFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");e.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.appendChild(r);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.matrixFilter=n;var i=createNS("feFuncR");i.setAttribute("type","table"),n.appendChild(i),this.feFuncR=i;var a=createNS("feFuncG");a.setAttribute("type","table"),n.appendChild(a),this.feFuncG=a;var s=createNS("feFuncB");s.setAttribute("type","table"),n.appendChild(s),this.feFuncB=s}function SVGProLevelsFilter(e,t){this.filterManager=t;var r=this.filterManager.effectElements,n=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),n=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(e,t){var r=t.container.globalData.renderConfig.filterSize;e.setAttribute("x",r.x),e.setAttribute("y",r.y),e.setAttribute("width",r.width),e.setAttribute("height",r.height),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,e.a
vendor: 4,998 bytes, line 10
10ppendChild(n);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in","drop_shadow_1"),i.setAttribute("result","drop_shadow_2"),this.feOffset=i,e.appendChild(i);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,e.appendChild(a);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"),e.appendChild(s);var o,l=createNS("feMerge");e.appendChild(l),o=createNS("feMergeNode"),l.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(o)}ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var r,n=0,i=e.transforms.length,a=t;n<i&&!t;){if(e.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(e.finalTransform.reset(),n=i-1;n>=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},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 e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),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 e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,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(e){this.prepareProperties(e,!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 e,t,r,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),i.appendChild(this.layerElement),n=i,this.globalData.defs.appendChild(i),featureSupport.maskType||1!=this.data.td||(i.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),n=r,i.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+e+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var s=createNS("g");a.appendChild(s),e=createElementID(),t=filtersFactory.createFilter(e);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),t.appendChild(o);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),o.appendChild(l),this.globalData.defs.appendChild(t);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("op
10acity","0"),s.setAttribute("filter","url("+locationHref+"#"+e+")"),s.appendChild(h),s.appendChild(this.layerElement),n=s,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(h),r.appendChild(this.layerElement),n=r,s.appendChild(r)),this.globalData.defs.appendChild(a)}}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 c=createNS("clipPath"),u=createNS("path");u.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=createElementID();if(c.setAttribute("id",d),c.appendChild(u),this.globalData.defs.appendChild(c),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+locationHref+"#"+d+")"),p.appendChild(this.layerElement),this.transformedElement=p,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+d+")")}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("opacity",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(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+e+")")}},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0;e-=1)this.shapeModifiers[e].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}},ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,n,i=t.length,a="";for(r=0;r<i;r+=1)n=t[r].ks.k,a+=buildShapeString(n,n.i.length,!0,e);return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},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(e){for(var t=0,r=e.length,n=[],i="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(i),i=""):i+=e[t],t+=1;return n.push(i),n},SVGTextElement.prototype.buildNewText=function(){var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var h,c=this.mHelper,u="",d=this.data.singleShape,p=0,f=0,m=!0,g=r.tr/1e3*r.finalSize;if(!d||l||r.sz){var v,y,b=this.textSpans.length;for(e=0;e<t;e+=1)l&&d&&0!==e||(s=b>e?this.textSpans[e]:createNS(l?"path":"text"),b<=e&&(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e]=s,this.layerElement.appendChild(s)),s.style.display="inherit"),c.reset(),c.scale(r.finalSize/100,r.finalSize/100),d&&(o[e].n&&(p=-g,f+=r.yOffset,f+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,c,o[e].line,p,f),p+=o[e].l||0,p+=g),l?(h=(v=(y=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&y.data||{}).shapes?v.shapes[0].it:[],d?u+=this.createPathShape(c,h):s.setAttribute("d",this.createPathShape(c,h))):(d&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));d&&s&&s.setAttribute("d",u)}else{var _=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle"}_.setAttribute("text-anchor",E),_.setAttribute("letter-spacing",g);var C=this.buildTextContents(r.finalText);for(t=C.length,f=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e]||createNS("tspan")).textContent=C[e],s.setAttribute("x",0),s.setAttribute("y",f),s.style.display="inherit",_.appendChild(s),this.textSpans[e]=s,f+=r.finalLineHeight;this.layerElement.appendChild(_)}for(;e<this.textSpans.length;)this.textSpans[e].style.display="none",e+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(e){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 e,t;this._sizeChanged=!0;var r,n,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(r=i[e],n=this.textSpans[e],r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("op
10acity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.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 e,t,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),i=n.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,n):"fl"===e.ty?r=new SVGFillStyleData(this,e,n):"gf"!==e.ty&&"gs"!==e.ty||(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",this.lcEnum[e.lc]||"round"),i.setAttribute("stroke-linejoin",this.ljEnum[e.lj]||"round"),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var i=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,i,a,s){var o,l,h,c,u,d,p=[].concat(a),f=e.length-1,m=[],g=[];for(o=f;o>=0;o-=1){if((d=this.searchProcessedElement(e[o]))?t[o]=r[d-1]:e[o]._render=s,"fl"==e[o].ty||"st"==e[o].ty||"gf"==e[o].ty||"gs"==e[o].ty)d?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"==e[o].ty){if(d)for(h=t[o].it.length,l=0;l<h;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,i+1,p,s),e[o]._render&&n.appendChild(t[o].gr)}else"tr"==e[o].ty?(d||(t[o]=this.createTransformElement(e[o],n)),c=t[o].transform,p.push(c)):"sh"==e[o].ty||"rc"==e[o].ty||"el"==e[o].ty||"sr"==e[o].ty?(d||(t[o]=this.createShapeElement(e[o],p,i)),this.setElementStyles(t[o])):"tm"==e[o].ty||"rd"==e[o].ty||"ms"==e[o].ty?(d?(u=t[o]).closed=!1:((u=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"==e[o].ty&&(d?(u=t[o]).closed=!0:(u=ShapeModifiers.getModifier(e[o].ty),t[o]=u,u.init(this,e,o,t),this.shapeModifiers.push(u),s=!1),g.push(u));this.addProcessedElement(e[o],o+1)}for(f=m.length,o=0;o<f;o+=1)m[o].closed=!0;for(f=g.length,o=0;o<f;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,i=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+locationHref+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,t.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(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r,n,i=this.paths.length;for(t=0;t<i;
vendor: 4,503 bytes, line 10
10t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=n.getTotalLength();a="0 0 0 "+l*s+" ";var h,c=l*(o-s),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,d=Math.floor(c/u);for(h=0;h<d;h+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||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)&&(e||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*p[0])+","+bm_floor(255*p[1])+","+bm_floor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],s=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,i){for(var a,s,o=0,l=Math.min(e,t),h=Math.max(e,t),c=Array.call(null,{length:256}),u=0,d=i-n,p=t-e;o<=256;)s=(a=o/256)<=l?p<0?i:n:a>=h?p<0?n:i:n+d*Math.pow((a-e)/p,1/r),c[u++]=s,o+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,
vendor: 4,833 bytes, line 10
10n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0,i=createElementID(),a=filtersFactory.createFilter(i),s=0;for(this.filters=[],t=0;t<n;t+=1)r=null,20===e.data.ef[t].ty?(s+=1,r=new SVGTintFilter(a,e.effectsManager.effectElements[t])):21===e.data.ef[t].ty?(s+=1,r=new SVGFillFilter(a,e.effectsManager.effectElements[t])):22===e.data.ef[t].ty?r=new SVGStrokeEffect(e,e.effectsManager.effectElements[t]):23===e.data.ef[t].ty?(s+=1,r=new SVGTritoneFilter(a,e.effectsManager.effectElements[t])):24===e.data.ef[t].ty?(s+=1,r=new SVGProLevelsFilter(a,e.effectsManager.effectElements[t])):25===e.data.ef[t].ty?(s+=1,r=new SVGDropShadowEffect(a,e.effectsManager.effectElements[t])):28===e.data.ef[t].ty?r=new SVGMatte3Effect(a,e.effectsManager.effectElements[t],e):29===e.data.ef[t].ty&&(s+=1,r=new SVGGaussianBlurEffect(a,e.effectsManager.effectElements[t])),r&&this.filters.push(r);s&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+locationHref+"#"+i+")")),this.filters.length&&e.addRenderableComponent(this)}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getImage(this.assetData),this.initElement(e,t,r)}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,n=this.masksProperties.length,i=!1;for(r=0;r<n;r++)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CVTextElement(e,t,r){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(e,t,r)}function CVEffects(){}function HBaseElement(e,t,r){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=ne
vendor: 4,426 bytes, line 10
10w Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,i=r.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},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 e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},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 e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?t=(r=a)*o:r=(t=i)/o,n.drawImage(this.img,(i-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(e){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;
vendor: 6,045 bytes, line 10
10for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),e=0;e<s;e++)if("n"!==this.masksProperties[e].mode){this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[e].v,t=i.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var o,l=n._length;for(o=1;o<l;o++)r=i.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.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(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"==e.ty||"st"==e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bm_floor(n.c.v[0])+","+bm_floor(n.c.v[1])+","+bm_floor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"==e.ty||"gs"==e.ty){if(r.lc=this.lcEnum[e.lc]||"round",r.lj=this.ljEnum[e.lj]||"round",1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(e){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,i){var a,s,o,l,h,c,u=e.length-1,d=[],p=[],f=[].concat(i);for(a=u;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"==e[a].ty||"st"==e[a].ty||"gf"==e[a].ty||"gs"==e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],f),d.push(t[a].style);else if("gr"==e[a].ty){if(l)for(o=t[a].it.length,s=0;s<o;s+=1)t[a].prevViewData[s]=t[a].it[s];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,f)}else"tr"==e[a].ty?(l||(c=this.createTransformElement(e[a]),t[a]=c),f.push(t[a]),this.addTransformToStyleList(t[a])):"sh"==e[a].ty||"rc"==e[a].ty||"el"==e[a].ty||"sr"==e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"==e[a].ty||"rd"==e[a].ty?(l?(h=t[a]).closed=!1:((h=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=h,this.shapeModifiers.push(h)),p.push(h)):"rp"==e[a].ty&&(l?(h=t[a]).closed=!0:(h=ShapeModifiers.getModifier(e[a].ty),t[a]=h,h.init(this,e,a,t),this.shapeModifiers.push(h),n=!1),p.push(h));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),u=p.length,a=0;a<u;a+=1)p[a].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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,i,a,s,o,l,h=this.stylesList.length,c=this.globalData.renderer,u=this.globalData.canvasContext;
vendor: 25,149 bytes, line 10
10for(e=0;e<h;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),a=l.elements,"st"===o||"gs"===o?(u.strokeStyle="st"===o?l.co:l.grd,u.lineWidth=l.wi,u.lineCap=l.lc,u.lineJoin=l.lj,u.miterLimit=l.ml||0):u.fillStyle="fl"===o?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&u.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==o&&"gs"!==o||(u.beginPath(),l.da&&(u.setLineDash(l.da),u.lineDashOffset=l.do)),i=(s=a[t].trNodes).length,n=0;n<i;n+=1)"m"==s[n].t?u.moveTo(s[n].p[0],s[n].p[1]):"c"==s[n].t?u.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):u.closePath();"st"!==o&&"gs"!==o||(u.stroke(),l.da&&u.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&u.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var i,a;for(a=e,i=t.length-1;i>=0;i-=1)"tr"==t[i].ty?(a=r[i].transform,this.renderShapeTransform(e,a)):"sh"==t[i].ty||"el"==t[i].ty||"rc"==t[i].ty||"sr"==t[i].ty?this.renderPath(t[i],r[i]):"fl"==t[i].ty?this.renderFill(t[i],r[i],a):"st"==t[i].ty?this.renderStroke(t[i],r[i],a):"gf"==t[i].ty||"gs"==t[i].ty?this.renderGradientFill(t[i],r[i],a):"gr"==t[i].ty?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i<o;i+=1){var h=s.shapes[i];if(h&&h.v){for(n=h._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[r],h.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[0],h.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n=t.style;if(!n.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var i=this.globalData.canvasContext,a=t.s.v,s=t.e.v;if(1===e.t)d=i.createLinearGradient(a[0],a[1],s[0],s[1]);else var o=Math.sqrt(Math.pow(a[0]-s[0],2)+Math.pow(a[1]-s[1],2)),l=Math.atan2(s[1]-a[1],s[0]-a[0]),h=o*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),c=Math.cos(l+t.a.v)*h+a[0],u=Math.sin(l+t.a.v)*h+a[1],d=i.createRadialGradient(c,u,0,a[0],a[1],o);var p,f=e.g.p,m=t.g.c,g=1;for(p=0;p<f;p+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[2*p+1]),d.addColorStop(m[4*p]/100,"rgba("+m[4*p+1]+","+m[4*p+2]+","+m[4*p+3]+","+g+")");n.grd=d}n.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.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 e=this.canvasContext;e.fillStyle=this.data.sc,e.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 e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,i,a=this.globalData.fontManager.getFontByName(e.f),s=e.l,o=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var l,h,c,u,d,p,f,m,g,v,y=this.data.singleShape,b=e.tr/1e3*e.finalSize,_=0,E=0,C=!0,S=0;for(n=0;n<i;n+=1){for(h=(l=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&l.data||{},o.reset(),y&&s[n].n&&(_=-b,E+=e.yOffset,E+=C?1:0,C=!1),f=(d=h.shapes?h.shapes[0].it:[]).length,o.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,o,s[n].line,_,E),g=createSizedArray(f),p=0;p<f;p+=1){for(u=d[p].ks.k.i.length,m=d[p].ks.k,v=[],c=1;c<u;c+=1)1==c&&v.push(o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),v.push(o.applyToX(m.o[c-1][0],m.o[c-1][1],0),o.applyToY(m.o[c-1][0],m.o[c-1][1],0),o.applyToX(m.i[c][0],m.i[c][1],0),o.applyToY(m.i[c][0],m.i[c][1],0),o.applyToX(m.v[c][0],m.v[c][1],0),o.applyToY(m.v[c][0],m.v[c][1],0));v.push(o.applyToX(m.o[c-1][0],m.o[c-1][1],0),o.applyToY(m.o[c-1][0],m.o[c-1][1],0),o.applyToX(m.i[0][0],m.i[0][1],0),o.applyToY(m.i[0][0],m.i[0][1],0),o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),g[p]=v}y&&(_+=s[n].l,_+=b),this.textSpans[S]?this.textSpans[S].elem=g:this.textSpans[S]={elem:g},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,i,a,s=this.canvasContext;this.finalTransform.mat.props,s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;t=h.length;var c,u,d=null,p=null,f=null;for(e=0;e<t;e+=1)if(!h[e].n){if((o=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?d!==o.fc&&(d=o.fc,s.fillStyle=o.fc):d!==this.values.fill&&(d=this.values.fill,s.fillStyle=this.values.fill),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?f!==o.sw&&(f=o.sw,s.lineWidth=o.sw):f!==this.values.sWidth&&(f=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?p!==o.sc&&(p=o.sc,s.strokeStyle=o.sc):p!==this.values.stroke&&(p=this.values.stroke,s.strokeStyle=this.values.stroke),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&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 e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},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(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,i,a,s,o=e.sh.v,l=e.transformers,h=o._length;if(!(h<=1)){for(r=0;r<h-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,i,a,s,t);o.c&&(n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,i,a,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,i){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;i.x=bm_min(a.left,i.x),i.xMax=bm_max(a.right,i.xMax),i.y=bm_min(a.top,i.y),i.yMax=bm_max(a.bottom,i.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},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,n){for(var i,a,s,o,l,h,c,u=[[e[0],n[0]],[e[1],n[1]]],d=0;d<2;++d)if(a=6*e[d]-12*t[d]+6*r[d],i=-3*e[d]+9*t[d]-9*r[d]+3*n[d],s=3*t[d]-3*e[d],a|=0,s|=0,0!=(i|=0))(l=a*a-4*s*i)<0||(0<(h=(-a+bm_sqrt(l))/(2*i))&&h<1&&u[d].push(this.calculateF(h,e,t,r,n,d)),0<(c=(-a-bm_sqrt(l))/(2*i))&&c<1&&u[d].push(this.calculateF(c,e,t,r,n,d)));else{if(0===a)continue;0<(o=-s/a)&&o<1&&u[d].push(this.calculateF(o,e,t,r,n,d))}this.shapeBoundingBox.left=bm_min.apply(null,u[0]),this.shapeBoundingBox.top=bm_min.apply(null,u[1]),this.shapeBoundingBox.right=bm_max.apply(null,u[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,u[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bm_pow(1-e,3)*t[a]+3*bm_pow(1-e,2)*e*r[a]+3*(1-e)*bm_pow(e,2)*n[a]+bm_pow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it&&this.calculateBoundingBox(e[r].it,t)},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),(r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style;t.color=t.fill=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,n,i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var a=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=a}var o,l,h,c=e.l;n=c.length;var u,d=this.mHelper,p="",f=0;for(r=0;r<n;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?o=this.textPaths[f]:((o=createNS("path")).setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?h=(l=this.textSpans[f]).children[0]:((l=createTag("div")).style.lineHeight=0,(h=createNS("svg")).appendChild(o),styleDiv(l)))):this.isMasked?o=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(l=this.textSpans[f],o=this.textPaths[f]):(styleDiv(l=createTag("span")),styleDiv(o=createTag("span")),l.appendChild(o)),this.globalData.fontManager.chars){var m,g=this.globalData.fontManager.getCharData(e.finalText[r],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(m=g?g.data:null,d.reset(),m&&m.shapes&&(u=m.shapes[0].it,d.scale(e.finalSize/100,e.finalSize/100),p=this.createPathShape(d,u),o.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(o);else{if(this.innerElem.appendChild(l),m&&m.shapes){document.body.appendChild(h);var v=h.getBBox();h.setAttribute("width",v.width+2),h.setAttribute("height",v.height+2),h.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2)),h.style.transform=h.style.webkitTransform="translate("+(v.x-1)+"px,"+(v.y-1)+"px)",c[r].yOffset=v.y-1}else h.setAttribute("width",1),h.setAttribute("height",1);l.appendChild(h)}}else o.textContent=c[r].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(o):(this.innerElem.appendChild(l),o.style.transform=o.style.webkitTransform="translate3d(0,"+-e.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[f]=o:this.textSpans[f]=l,this.textSpans[f].style.display="block",this.textPaths[f]=o,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=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 e,t,r,n,i,a=0,s=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(t=o.length,e=0;e<t;e+=1)o[e].n?a+=1:(n=this.textSpans[e],i=this.textPaths[e],r=s[a],a+=1,r._mdf.m&&(this.isMasked?n.setAttribute("transform",r.m):n.style.transform=n.style.webkitTransform=r.m),n.style.opacity=r.o,r.sw&&r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&i.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(i.setAttribute("fill",r.fc),i.style.color=r.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 e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r=this.comp.threeDElements.length;for(e=0;e<r;e+=1)"3d"===(t=this.comp.threeDElements[e]).type&&(t.perspectiveElem.style.perspective=t.perspectiveElem.style.webkitPerspective=this.pe.v+"px",t.container.style.transformOrigin=t.container.style.mozTransformOrigin=t.container.style.webkitTransformOrigin="0px 0px 0px",t.perspectiveElem.style.transform=t.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 e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||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(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].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 i;i=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 a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),h=Math.atan2(s[0],-s[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 c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var u;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)"3d"===(u=this.comp.threeDElements[e]).type&&(c&&(u.container.style.transform=u.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(u.perspectiveElem.style.perspective=u.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var e={},t=[],r=0,n=0,i=0,a=!0,s=!1;function o(e){for(var r=0,i=e.target;r<n;)t[r].animation===i&&(t.splice(r,1),r-=1,n-=1,i.isPaused||c()),r+=1}function l(e,r){if(!e)return null;for(var i=0;i<n;){if(t[i].elem==e&&null!==t[i].elem)return t[i].animation;i+=1}var a=new AnimationItem;return u(a,e),a.setData(e,r),a}function h(){i+=1,f()}function c(){i-=1}function u(e,r){e.addEventListener("destroy",o),e.addEventListener("_active",h),e.addEventListener("_idle",c),t.push({elem:r,animation:e}),n+=1}function d(e){var o,l=e-r;for(o=0;o<n;o+=1)t[o].animation.advanceTime(l);r=e,i&&!s?window.requestAnimationFrame(d):a=!0}function p(e){r=e,window.requestAnimationFrame(d)}function f(){!s&&i&&a&&(window.requestAnimationFrame(p),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return u(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setSpeed(e,r)},e.setDirection=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(n=0;n<a;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],e);if(t&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerHTML="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,e)}},e.resize=function(){var e;
10for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,i){var a;for(a=0;a<n;a+=1)t[a].animation.goToAndStop(e,r,i)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,f()},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=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(e){e.context&&(this.context=e.context),(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t=e.animType?e.animType:e.renderer?e.renderer:"svg";switch(t){case"canvas":this.renderer=new CanvasRenderer(this,e.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,e.rendererSettings);break;default:this.renderer=new HybridRenderer(this,e.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||(!1===e.loop?this.loop=!1:!0===e.loop?this.loop=!0:this.loop=parseInt(e.loop)),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!e.hasOwnProperty("autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,e.animationData?this.configAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(e.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this))),this.initialSegment=e.initialSegment},AnimationItem.prototype.setData=function(e,t){var r={wrapper:e,animationData:t?"object"==typeof t?t:JSON.parse(t):null},n=e.attributes;r.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:"",r.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 i=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:"";""===i||(r.loop="false"!==i&&("true"===i||parseInt(i)));
vendor: 4,416 bytes, line 10
10var a=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;r.autoplay="false"!==a,r.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:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,i=n.length,a=e.layers,s=a.length;for(r=0;r<s;r+=1)for(t=0;t<i;){if(n[t].id==a[r].id){n[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(e.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(r,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(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(e){this.triggerConfigError(e)}},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(e){this.subframeEnabled=!!e},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)}
vendor: 4,962 bytes, line 10
10catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!=e||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!=e||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(e){e&&this.name!=e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!=e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(e,t,r){r&&this.name!=r||(t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(e,t,r){this.goToAndStop(e,t,r),this.play()},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=e[0]-e[1],this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=e[1]-e[0],this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.timeCompleted=this.totalFrames=t-e,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"==typeof e[0]){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!=e||!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(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<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(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e==this.assets[t].id)return this.assets[t];t+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;
vendor: 4,380 bytes, line 10
10case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=typeof e;if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;r<n;r+=1)i[r]=-e[r];return i}return e.propType?e.v:void 0}var 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;function sum(e,t){var r=typeof e,n=typeof t;if("string"===r||"string"===n)return e+t;if(isNumerable(r,e)&&isNumerable(n,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]=e[0]+t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?o[i]=e[i]+t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}var add=sum;function sub(e,t){var r=typeof e,n=typeof t;if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e)),"string"===n&&(t=parseInt(t)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]=e[0]-t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?o[i]=e[i]-t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}function mul(e,t){var r,n,i,a=typeof e,s=typeof t;if(isNumerable(a,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,i,a=typeof e,s=typeof t;if(isNumerable(a,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e)),"string"==typeof t&&(t=parseInt(t)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}
vendor: 8,981 bytes, line 10
10return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,n=Math.min(e.length,t.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(t[r]-e[r],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],i=e[1],a=e[2],s=Math.max(n,i,a),o=Math.min(n,i,a),l=(s+o)/2;if(s==o)t=r=0;else{var h=s-o;switch(r=l>.5?h/(2-s-o):h/(s+o),s){case n:t=(i-a)/h+(i<a?6:0);break;case i:t=(a-n)/h+2;break;case a:t=(n-i)/h+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],a=e[1],s=e[2];if(0===a)t=r=n=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return n;if(e>=r)return i;var s=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*s;var o,l=n.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=n[o]+(i[o]-n[o])*s;return h}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var i=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)i[r]=e[r]+a*(t[r]-e[r]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var i,a=e.length,s=shape_pool.newElement();s.setPathData(!!n,a);var o,l,h=[0,0];for(i=0;i<a;i+=1)o=t&&t[i]?t[i]:h,l=r&&r[i]?r[i]:h,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],o[0]+e[i][0],o[1]+e[i][1],i,!0);return s}function initiateExpression(elem,data,property){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(e,t){var r,n,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)a[n]+=-t+2*t*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),h=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)h[n]=this.pv[n]+a[n]+(-t+2*t*BMMath.random())*l;return h}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}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;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,i){return applyEase(easeOutBez,e,t,r,n,i)}function easeIn(e,t,r,n,i){return applyEase(easeInBez,e,t,r,n,i)}function ease(e,t,r,n,i){return applyEase(easeInOutBez,e,t,r,n,i)}function applyEase(e,t,r,n,i,a){void 0===i?(i=r,a=n):t=(t-r)/(n-r);var s=e(t=t>1?1:t<0?0:t);if($bm_isInstanceOfArray(i)){var o,l=i.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(a[o]-i[o])*s+i[o];return h}return(a-i)*s+i}function nearestKey(e){var t,r,n,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=data.k[e].hasOwnProperty("s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;r<n;r+=1)t[r]=i[r],t.value[r]=i[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,_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,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)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var i;for(i=0;i<t.length;i+=1)n+=Math.pow(r[i]-t[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=this.getValueAtTime(e),i=this.getValueAtTime(e+-.001);if(n.length)for(t=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)t[r]=(i[r]-n[r])/-.001;else t=(i-n)/-.001;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};!function(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[h.length-1].t;if(l<=c)return this.pv;if(r?i=c-(n=t?Math.abs(c-elem.comp.globalData.frameRate*t):Math.max(0,c-this.elem.data.ip)):((!t||t>h.length-1)&&(t=h.length-1),n=c-(i=h[h.length-1-t].t)),"pingpong"===e){if(M
vendor: 4,096 bytes, line 10
10ath.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),f=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=(d[a]-u[a])*f+p[a];return o}return(d-u)*f+p}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-c)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-c)/.001*(m-g)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[0].t;if(l>=c)return this.pv;if(r?i=c+(n=t?Math.abs(elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>h.length-1)&&(t=h.length-1),n=(i=h[t].t)-c),"pingpong"===e){if(Math.floor((c-l)/n)%2==0)return this.getValueAtTime(((c-l)%n+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(c/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0),f=Math.floor((c-l)/n)+1;if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=p[a]-(d[a]-u[a])*f;return o}return p-(d-u)*f}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(c-l)/.001;return o}return m+(m-g)*(c-l)/.001}}return this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-e,s=t>1?(i+e-a)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(n=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var i=n(e,t,r);return i.dynamicProperties.length?i.getValueAtTime=function(e){console.warn("Transform at time not supported")}.bind(i):i.getValueAtTime=function(e){}.bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(n,a,s,o,l){var h=i(n,a,s,o,l);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=e,h.loopIn=t,h.smooth=r,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===a.a?a.k.length:0,h.propertyIndex=a.ix;var c=0;return 0!==s&&(c=createTypedArray("float32",1===a.a?a.k[0].s.length:a.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(n,a,h),h.k&&l.addDynamicProperty(h),h};var a=ShapePropertyFactory.getConstructorFunction(),s=ShapePropertyFactory.getKeyframedConstructorFunction();function o(){}o.prototype={vertices:function(e,t){this.k&&this.getValue();var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var n,i=r._length,a=r[e],s=r.v,o=createSizedArray(i);for(n=0;n<i;n+=1)o[n]="i"===e||"o"===e?[a[n][0]-s[n][0],a[n][1]-s[n][1]]:[a[n][0],a[n][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;
vendor: 4,172 bytes, line 10
10void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,a=i.lengths,s=i.totalLength*e,o=0,l=a.length,h=0;o<l;){if(h+a[o].addedLength>s){var c=o,u=r.c&&o===l-1?0:o+1,d=(s-h)/a[o].addedLength;n=bez.getPointInSegment(r.v[c],r.v[u],r.o[c],r.i[u],d,a[o]);break}h+=a[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){e=1==e?this.v.c?0:.999:e;var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([o],a),extendPrototype([o],s),s.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},s.prototype.initiateExpression=ExpressionManager.initiateExpression;var l=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,i){var a=l(e,t,r,n,i);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}(),TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,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 e(e,u,d){var p,f=[],m=e?e.length:0;for(p=0;p<m;p+=1)"gr"==e[p].ty?f.push(t(e[p],u[p],d)):"fl"==e[p].ty?f.push(r(e[p],u[p],d)):"st"==e[p].ty?f.push(n(e[p],u[p],d)):"tm"==e[p].ty?f.push(i(e[p],u[p],d)):"tr"==e[p].ty||("el"==e[p].ty?f.push(a(e[p],u[p],d)):"sr"==e[p].ty?f.push(s(e[p],u[p],d)):"sh"==e[p].ty?f.push(c(e[p],u[p],d)):"rc"==e[p].ty?f.push(o(e[p],u[p],d)):"rd"==e[p].ty?f.push(l(e[p],u[p],d)):"rp"==e[p].ty&&f.push(h(e[p],u[p],d)));return f}function t(t,r,n){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=function(e){return 1===e?i:n(e-1)};var a=function(t,r,n){var i,a=function(e){for(var t=0,r=i.length;t<r;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}if("number"==typeof e)return i[e-1]};return a.propertyGroup=function(e){return 1===e?a:n(e-1)},i=e(t.it,r.it,a.propertyGroup),a.numProperties=i.length,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,i.propertyGroup),s=function(e,t,r){function n(e){return 1==e?i:r(--e)}function i(t){return e.a.ix===t||"Anchor Point"===t?i.anchorPoint:e.o.ix===t||"Opacity"===t?i.opacity:e.p.ix===t||"Position"===t?i.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?i.rotation:e.s.ix===t||"Scale"===t?i.scale:e.sk&&e.sk.ix===t||"Skew"===t?i.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?i.skewAxis:void 0}return t.transform.mProps.o.setGroupProperty(n),t.transform.mProps.p.setGroupProperty(n),t.transform.mProps.a.setGroupProperty(n),t.transform.mProps.s.setGroupProperty(n),t.transform.mProps.r.setGroupProperty(n),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(n),t.transform.mProps.sa.setGroupProperty(n)),t.transform.op.setGroupProperty(n),Ob
10ject.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),i.ty="tr",i.mn=e.mn,i.propertyGroup=r,i}(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=a,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:void 0}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(r),t.o.setGroupProperty(r),n}function n(e,t,r){function n(e){return 1===e?ob:r(e-1)}function i(e){return 1===e?l:n(e-1)}function a(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var s,o=e.d?e.d.length:0,l={};for(s=0;s<o;s+=1)a(s),t.d.dataProps[s].p.setGroupProperty(i);function h(e){return"Color"===e||"color"===e?h.color:"Opacity"===e||"opacity"===e?h.opacity:"Stroke Width"===e||"stroke width"===e?h.strokeWidth:void 0}return Object.defineProperties(h,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(n),t.o.setGroupProperty(n),t.w.setGroupProperty(n),h}function i(e,t,r){function n(e){return 1==e?i:r(--e)}function i(t){return t===e.e.ix||"End"===t||"end"===t?i.end:t===e.s.ix?i.start:t===e.o.ix?i.offset:void 0}return i.propertyIndex=e.ix,t.s.setGroupProperty(n),t.e.setGroupProperty(n),t.o.setGroupProperty(n),i.propertyIndex=e.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),i.mn=e.mn,i}function a(e,t,r){function n(e){return 1==e?a:r(--e)}a.propertyIndex=e.ix;var i="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.s.ix===t?a.size:void 0}return i.s.setGroupProperty(n),i.p.setGroupProperty(n),Object.defineProperties(a,{size:{get:ExpressionPropertyInterface(i.s)},position:{get:ExpressionPropertyInterface(i.p)},_name:{value:e.nm}}),a.mn=e.mn,a}function s(e,t,r){function n(e){return 1==e?a:r(--e)}var i="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.rotation:e.pt.ix===t?a.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?a.outerRadius:e.os.ix===t?a.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?a.innerRoundness:void 0:a.innerRadius}return a.propertyIndex=e.ix,i.or.setGroupProperty(n),i.os.setGroupProperty(n),i.pt.setGroupProperty(n),i.p.setGroupProperty(n),i.r.setGroupProperty(n),e.ir&&(i.ir.setGroupProperty(n),i.is.setGroupProperty(n)),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(i.p)},rotation:{get:ExpressionPropertyInterface(i.r)},points:{get:ExpressionPropertyInterface(i.pt)},outerRadius:{get:ExpressionPropertyInterface(i.or)},outerRoundness:{get:ExpressionPropertyInterface(i.os)},innerRadius:{get:ExpressionPropertyInterface(i.ir)},innerRoundness:{get:ExpressionPropertyInterface(i.is)},_name:{value:e.nm}}),a.mn=e.mn,a}function o(e,t,r){function n(e){return 1==e?a:r(--e)}var i="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?a.size:void 0}return a.propertyIndex=e.ix,i.p.setGroupProperty(n),i.s.setGroupProperty(n),i.r.setGroupProperty(n),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(i.p)},roundness:{get:ExpressionPropertyInterface(i.r)},size:{get:ExpressionPropertyInterface(i.s)},_name:{value:e.nm}}),a.mn=e.mn,a}function l(e,t,r){var n=t;function i(t){if(e.r.ix===t||"Round Corners 1"===t)return i.radius}return i.propertyIndex=e.ix,n.rd.setGroupProperty((function(e){return 1==e?i:r(--e)})),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(n.rd)},_name:{value:e.nm}}),i.mn=e.mn,i}function h(e,t,r){function n(e){return 1==e?a:r(--e)}var i=t;function a(t){return e.c.ix===t||"Copies"===t?a.copies:e.o.ix===t||"Offset"===t?a.offset:void 0}return a.propertyIndex=e.ix,i.c.setGroupProperty(n),i.o.setGroupProperty(n),Ob
vendor: 4,884 bytes, line 10
10ject.defineProperties(a,{copies:{get:ExpressionPropertyInterface(i.c)},offset:{get:ExpressionPropertyInterface(i.o)},_name:{value:e.nm}}),a.mn=e.mn,a}function c(e,t,r){var n=t.sh;function i(e){if("Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e)return i.path}return n.setGroupProperty((function(e){return 1==e?i:r(--e)})),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn}}),i}return function(t,r,n){var i;function a(e){if("number"==typeof e)return i[e-1];for(var t=0,r=i.length;t<r;){if(i[t]._name===e)return i[t];t+=1}}return a.propertyGroup=n,i=e(t,r,a),a.numProperties=i.length,a}}(),TextExpressionInterface=function(e){var t;function r(){}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return void 0!==r&&(e.textProperty.currentData.t=void 0,(t=new String(r)).value=r||new String(r)),t}}),r},LayerExpressionInterface=function(){function e(e,t){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var n,i=this._elem.hierarchy.length;for(n=0;n<i;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(r);return r.applyToPointArray(e[0],e[1],e[2]||0)}return r.applyToPointArray(e[0],e[1],e[2]||0)}function t(e,t){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var n,i=this._elem.hierarchy.length;for(n=0;n<i;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(r);return r.inversePoint(e)}return r.inversePoint(e)}function r(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function n(){return[1,1,1,1]}return function(i){var a;function s(e){switch(e){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 a;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return s.effect}}s.toWorld=e,s.fromWorld=t,s.toComp=e,s.fromComp=r,s.sampleImage=n,s.sourceRectAtTime=i.sourceRectAtTime.bind(i),s._elem=i;var o=getDescriptor(a=TransformExpressionInterface(i.finalTransform.mProp),"anchorPoint");return Object.defineProperties(s,{hasParent:{get:function(){return i.hierarchy.length}},parent:{get:function(){return i.hierarchy[0].layerInterface}},rotation:getDescriptor(a,"rotation"),scale:getDescriptor(a,"scale"),position:getDescriptor(a,"position"),opacity:getDescriptor(a,"opacity"),anchorPoint:o,anchor_point:o,transform:{get:function(){return a}},active:{get:function(){return i.isInRange}}}),s.startTime=i.data.st,s.index=i.data.ind,s.source=i.data.refId,s.height=0===i.data.ty?i.data.h:100,s.width=0===i.data.ty?i.data.w:100,s.inPoint=i.data.ip/i.comp.globalData.frameRate,s.outPoint=i.data.op/i.comp.globalData.frameRate,s._name=i.data.nm,s.registerMaskInterface=function(e){s.mask=new MaskManagerInterface(e,i)},s.registerEffectsInterface=function(e){s.effect=e},s}}(),CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity}}if(Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}
10),e.p)var r=ExpressionPropertyInterface(e.p);return Object.defineProperty(t,"position",{get:function(){return e.p?r():[e.px.v,e.py.v,e.pz?e.pz.v:0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),EffectsExpressionInterface=function(){function e(r,n,i,a){var s,o=[],l=r.ef.length;for(s=0;s<l;s+=1)5===r.ef[s].ty?o.push(e(r.ef[s],n.effectElements[s],n.effectElements[s].propertyGroup,a)):o.push(t(n.effectElements[s],r.ef[s].ty,a,h));function h(e){return 1===e?c:i(e-1)}var c=function(e){for(var t=r.ef,n=0,i=t.length;n<i;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?o[n]:o[n]();n+=1}return o[0]()};return c.propertyGroup=h,"ADBE Color Control"===r.mn&&Object.defineProperty(c,"color",{get:function(){return o[0]()}}),Object.defineProperty(c,"numProperties",{get:function(){return r.np}}),c.active=c.enabled=0!==r.en,c}function t(e,t,r,n){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(n),function(){return 10===t?r.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,i=[],a=t.data.ef,s=t.effectsManager.effectElements.length;for(n=0;n<s;n+=1)i.push(e(a[n],t.effectsManager.effectElements[n],r,t));return function(e){for(var r=t.data.ef||[],n=0,a=r.length;n<a;){if(e===r[n].nm||e===r[n].mn||e===r[n].ix)return i[n];n+=1}}}}}}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t,r){var n,i=createSizedArray(t.viewData.length),a=t.viewData.length;for(n=0;n<a;n+=1)i[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<a;){if(t.masksProperties[n].nm===e)return i[n];n+=1}}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(e.numKeys){var i;i="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var a="unidimensional"===r?new Number(i):Object.assign({},i);return a.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,a}return 0},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.pv*n,a=new Number(i);return a.value=i,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*n,a.value!==i&&((a=new Number(i)).value=i,r(a,t,"unidimensional")),a}}(i):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.pv.length,a=createTypedArray("float32",i),s=createTypedArray("float32",i);return a.value=s,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)a[t]=s[t]=e.v[t]*n;return a}}(i):n}}(),TextExpressionSelectorProp,propertyGetTextProp;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var n,i,a=r.length;for(n=0;n<a;n++)i=new GroupEffect(r[n],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}TextExpressionSelectorProp=function(){function e(e,t){return this.textIndex=e+1,this.textTotal=t,this.v=this.getValue()*this.mult,this.v}return function(t,r){this.pv=1,this.comp=t.comp,this.elem=t,this.mult=.01,this.propType="textSelector",this.textTotal=r.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(t,r,this),this.getMult=e,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(e,t,r){return 1===t.t?new TextExpressionSelectorProp(e,t,r):propertyGetTextProp(e,t,r)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,n,i=this.data.ef.length,a=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],t,this);break;case 1:n=new AngleEffect(a[r],t,this);break;case 2:n=new ColorEffect(a[r],t,this);break;case 3:n=new PointEffect(a[r],t,this);break;case 4:case 7:n=new CheckboxEffect(a[r],t,this);break;case 10:n=new LayerIndexEffect(a[r],t,this);break;case 11:n=new MaskIndexEffect(a[r],t,this);break;case 5:n=new EffectsManager(a[r],t,this);break;default:n=new NoValueEffect(a[r],t,this)}n&&this.effectElements.push(n)}};var lottie={},_isFrozen=!1;function setLocationHref(e){locationHref=e}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){subframeEnabled=e}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(e)&&e>
101&&(defaultCurveSegments=e);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&(expressionsPlugin=t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r++){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.__getFactory=getFactory,lottie.version="5.6.6";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 lottie},"function"==typeof define&&define.amd?define((function(){return e(t)})):"object"==typeof module&&module.exports?module.exports=e(t):(t.lottie=e(t),t.bodymovin=t.lottie))},{}],jFKs:[function(e,t,r){"use strict";function n(){const e=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n* {\n  box-sizing: border-box;\n}\n\n:host {\n  --lottie-player-toolbar-height: 35px;\n  --lottie-player-toolbar-background-color: transparent;\n  --lottie-player-toolbar-icon-color: #999;\n  --lottie-player-toolbar-icon-hover-color: #222;\n  --lottie-player-toolbar-icon-active-color: #555;\n  --lottie-player-seeker-track-color: #CCC;\n  --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n\n  display: block;\n  width: 100%;\n  height: 100%;\n}\n\n.main {\n  box-sizing: border-box;\n  display: inline-grid;\n  grid-auto-columns: auto;\n  grid-template-rows: auto;\n  position: relative;\n  height: inherit;\n  width: inherit;\n}\n\n.main.controls {\n  grid-template-rows: 1fr var(--lottie-player-toolbar-height);\n}\n\n.animation {\n  overflow: hidden;\n  height: calc(1fr - var(--lottie-player-toolbar-height));\n}\n\n.toolbar {\n  display: grid;\n  grid-template-columns: 32px 32px 1fr 32px;\n  align-items: center;\n  justify-items: center;\n  background-color: var(--lottie-player-toolbar-background-color);\n  margin: 0 5px;\n}\n\n.toolbar button {\n  cursor: pointer;\n  fill: var(--lottie-player-toolbar-icon-color);\n  display: flex;\n  background: none;\n  border: 0;\n  padding: 0;\n  outline: none;\n  height: 100%;\n}\n\n.toolbar button:hover {\n  fill: var(--lottie-player-toolbar-icon-hover-color);\n}\n\n.toolbar button.active {\n  fill: var(--lottie-player-toolbar-icon-active-color);\n}\n\n.toolbar button svg {\n}\n\n.toolbar button.disabled svg {\n  display: none;\n}\n\n.seeker {\n  -webkit-appearance: none;\n  width: 95%;\n  outline: none;\n}\n\n.seeker::-webkit-slider-runnable-track {\n  width: 100%;\n  height: 5px;\n  cursor: pointer;\n  background: var(--lottie-player-seeker-track-color);\n  border-radius: 3px;\n}\n.seeker::-webkit-slider-thumb {\n  height: 15px;\n  width: 15px;\n  border-radius: 50%;\n  background: var(--lottie-player-seeker-thumb-color);\n  cursor: pointer;\n  -webkit-appearance: none;\n  margin-top: -5px;\n}\n.seeker:focus::-webkit-slider-runnable-track {\n  background: #999;\n}\n.seeker::-moz-range-track {\n  width: 100%;\n  height: 5px;\n  cursor: pointer;\n  background: var(--lottie-player-seeker-track-color);\n  border-radius: 3px;\n}\n.seeker::-moz-range-thumb {\n  height: 15px;\n  width: 15px;\n  border-radius: 50%;\n  background: var(--lottie-player-seeker-thumb-color);\n  cursor: pointer;\n}\n.seeker::-ms-track {\n  width: 100%;\n  height: 5px;\n  cursor: pointer;\n  background: transparent;\n  border-color: transparent;\n  color: transparent;\n}\n.seeker::-ms-fill-lower {\n  background: var(--lottie-player-seeker-track-color);\n  border-radius: 3px;\n}\n.seeker::-ms-fill-upper {\n  background: var(--lottie-player-seeker-track-color);\n  border-radius: 3px;\n}\n.seeker::-ms-thumb {\n  border: 0;\n  height: 15px;\n  width: 15px;\n  border-radius: 50%;\n  background: var(--lottie-player-seeker-thumb-color);\n  cursor: pointer;\n}\n.seeker:focus::-ms-fill-lower {\n  background: var(--lottie-player-seeker-track-color);\n}\n.seeker:focus::-ms-fill-upper {\n  background: var(--lottie-player-seeker-track-color);\n}\n\n.error {\n  display: flex;\n  justify-content: center;\n  height: 100%;\n  align-items: center;\n}\n"]);return n=function(){return e},e}
10Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=(0,e("lit-element").css)(n());r.default=i},{"lit-element":"bhxD"}],M8c7:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parseSrc=v,r.LottiePlayer=r.PlayerEvents=r.PlayMode=r.PlayerState=void 0;var n=e("lit-element"),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}(e("lottie-web/build/player/lottie")),a=function(e){return e&&e.__esModule?e:{default:e}}(e("./lottie-player.styles"));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function o(){const e=d(['<div class="error">⚠️</div>']);return o=function(){return e},e}function l(){const e=d(["\n      <div class=",'>\n        <div class="animation" style=',">\n          ","\n        </div>\n        ","\n      </div>"]);return l=function(){return e},e}function h(){const e=d(['<svg width="24" height="24"><path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z"/></svg>']);return h=function(){return e},e}function c(){const e=d(['<svg width="24" height="24"><path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"/></svg>']);return c=function(){return e},e}function u(){const e=d(['\n      <div class="toolbar">\n        <button @click='," class=",">\n          ","\n        </button>\n        <button @click="," class=",'>\n          <svg width="24" height="24"><path d="M6 6h12v12H6V6z" /></svg>\n        </button>\n        <input class="seeker" type="range" min="0" step="1" max="100" .value=',"\n          @input=","\n          @mousedown=","\n          @mouseup=","\n        />\n        <button @click="," class=",'>\n          <svg width="24" height="24">\n            <path d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"/>\n          </svg>\n        </button>\n      </div>\n    ']);return u=function(){return e},e}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var p,f,m,g=function(e,t,r,n){var i,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,r,s):i(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s};function v(e){if("object"==typeof e)return e;try{return JSON.parse(e)}catch(t){return new URL(e,window.location.href).toString()}}r.PlayerState=p,function(e){e.Loading="loading",e.Playing="playing",e.Paused="paused",e.Stopped="stopped",e.Frozen="frozen",e.Error="error"}(p||(r.PlayerState=p={})),r.PlayMode=f,function(e){e.Normal="normal",e.Bounce="bounce"}(f||(r.PlayMode=f={})),r.PlayerEvents=m,function(e){e.Load="load",e.Error="error",e.Ready="ready",e.Play="play",e.Pause="pause",e.Stop="stop",e.Freeze="freeze",e.Loop="loop",e.Complete="complete",e.Frame="frame"}(m||(r.PlayerEvents=m={}));let y=class extends n.LitElement{constructor(){super(...arguments),this.mode=f.Normal,this.autoplay=!1,this.background="transparent",this.controls=!1,this.direction=1,this.hover=!1,this.loop=!1,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this.currentState=p.Loading,this.intermission=1,this._io=void 0,this._counter=0}_onVisibilityChange(){!0===document.hidden&&this.currentState===p.Playing?this.freeze():this.currentState===p.Frozen&&this.play()}_handleSeekChange(e){if(!this._lottie||isNaN(e.target.value))return;const t=e.target.value/100*this._lottie.totalFrames;this.seek(t)}load(e){if(!this.shadowRoot)return;const t={container:this.container,loop:!1,autoplay:!1,renderer:this.renderer,rendererSettings:{preserveAspectRatio:this.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{const r=v(e),n="string"==typeof r?"path":"animationData";this._lottie&&this._lottie.destroy(),this._lottie=i.loadAnimation(Object.assign(Object.assign({},t),{[n]:r}))}catch(e){return this.currentState=p.Error,void this.dispatchEvent(new CustomEvent(m.Error))}this._lottie&&(this._lottie.addEventListener("enterFrame",(()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(m.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}
10)),this._lottie.addEventListener("complete",(()=>{this.currentState===p.Playing?!this.loop||this.count&&this._counter>=this.count?this.dispatchEvent(new CustomEvent(m.Complete)):this.mode===f.Bounce?(this.count&&(this._counter+=.5),setTimeout((()=>{this.dispatchEvent(new CustomEvent(m.Loop)),this.currentState===p.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())}),this.intermission)):(this.count&&(this._counter+=1),window.setTimeout((()=>{this.dispatchEvent(new CustomEvent(m.Loop)),this.currentState===p.Playing&&(this._lottie.stop(),this._lottie.play())}),this.intermission)):this.dispatchEvent(new CustomEvent(m.Complete))})),this._lottie.addEventListener("DOMLoaded",(()=>{this.dispatchEvent(new CustomEvent(m.Ready))})),this._lottie.addEventListener("data_ready",(()=>{this.dispatchEvent(new CustomEvent(m.Load))})),this._lottie.addEventListener("data_failed",(()=>{this.currentState=p.Error,this.dispatchEvent(new CustomEvent(m.Error))})),this.container.addEventListener("mouseenter",(()=>{this.hover&&this.currentState!==p.Playing&&this.play()})),this.container.addEventListener("mouseleave",(()=>{this.hover&&this.currentState===p.Playing&&this.stop()})),this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&this.play())}getLottie(){return this._lottie}play(){this._lottie&&(this._lottie.play(),this.currentState=p.Playing,this.dispatchEvent(new CustomEvent(m.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=p.Paused,this.dispatchEvent(new CustomEvent(m.Pause)))}stop(){this._lottie&&(this._counter=0,this._lottie.stop(),this.currentState=p.Stopped,this.dispatchEvent(new CustomEvent(m.Stop)))}seek(e){if(!this._lottie)return;const t=e.toString().match(/^([0-9]+)(%?)$/);if(!t)return;const r="%"===t[2]?this._lottie.totalFrames*Number(t[1])/100:Number(t[1]);this.seeker=r,this.currentState===p.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}snapshot(e=!0){if(!this.shadowRoot)return;const t=this.shadowRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(t);if(e){const e=document.createElement("a");e.href="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(r),e.download="download_"+this.seeker+".svg",document.body.appendChild(e),e.click(),document.body.removeChild(e)}return r}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=p.Frozen,this.dispatchEvent(new CustomEvent(m.Freeze)))}setSpeed(e=1){this._lottie&&this._lottie.setSpeed(e)}setDirection(e){this._lottie&&this._lottie.setDirection(e)}setLooping(e){this._lottie&&(this.loop=e,this._lottie.loop=e)}togglePlay(){return this.currentState===p.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return a.default}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver((e=>{e[0].isIntersecting?this.currentState===p.Frozen&&this.play():this.currentState===p.Playing&&this.freeze()})),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.src&&this.load(this.src)}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),this._ro&&(this._ro.disconnect(),this._ro=void 0),document.removeEventListener("visibilitychange",(()=>this._onVisibilityChange()))}renderControls(){const e=this.currentState===p.Playing,t=this.currentState===p.Paused,r=this.currentState===p.Stopped;return(0,n.html)(u(),this.togglePlay,e||t?"active":"",e?(0,n.html)(c()):(0,n.html)(h()),this.stop,r?"active":"",this.seeker,this._handleSeekChange,(()=>{this._prevState=this.currentState,this.freeze()}),(()=>{this._prevState===p.Playing&&this.play()}),this.toggleLooping,this.loop?"active":"")}render(){const e=this.controls?"main controls":"main";return(0,n.html)(l(),e,"background:"+this.background,this.currentState===p.Error?(0,n.html)(o()):void 0,this.controls?this.renderControls():void 0)}};r.LottiePlayer=y,g([(0,n.query)(".animation")],y.prototype,"container",void 0),g([(0,n.property)()],y.prototype,"mode",void 0),g([(0,n.property)({type:Boolean})],y.prototype,"autoplay",void 0),g([(0,n.property)({type:String,reflect:!0})],y.prototype,"background",void 0),g([(0,n.property)({type:Boolean})],y.prototype,"controls",void 0),g([(0,n.property)({type:Number})],y.prototype,"count",void 0),g([(0,n.property)({type:Number})],y.prototype,"direction",void 0),g([(0,n.property)({type:Boolean})],y.prototype,"hover",void 0),g([(0,n.property)({type:Boolean,reflect:!0})],y.prototype,"loop",void 0),g([(0,n.property)({type:String})],y.prototype,"preserveAspectRatio",void 0),g([(0,n.property)({type:String})],y.prototype,"renderer",void 0),g([(0,n.property)({type:Number})],y.prototype,"speed",void 0),g([(0,n.property)({type:String})],y.prototype,"src",void 0),g([(0,n.property)({type:String})],y.prototype,"currentState",void 0),g([(0,n.property)()],y.prototype,"seeker",void 0),g([(0,n.property)()],y.prototype,"intermission",void 0),r.LottiePlayer=y=g([(0,n.customElement)("lottie-player")],y)},{"lit-element":"bhxD","lottie-web/build/player/lottie":"xaRr","./lottie-player.styles":"jFKs"}]},{},["M8c7"]);var eziDebit=function(){var e,t,r="2.0.0",n={},i={},a="";return clear=function(){e=null,t=null,n={},i={},a=""},setValidated=function(e){a=e},init=function(r,i,a){t=r,e=a,i&&(mergeFields(n,i),initialiseFields(),initialiseButton())},initialiseFields=function(){if("customerLastName"in n&&(i.customerLastName=getElement(n.customerLastName)),"customerRef"in n&&(i.customerRef=getElement(n.customerRef)),"customerFirstName"in n&&(i.customerFirstName=getElement(n.customerFirstName)),"customerAddress1"in n&&(i.customerAddress1=getElement(n.customerAddress1)),"customerMobile"in n&&(i.customerMobile=getElement(n.customerMobile)),"customerAddress2"in n&&(i.customerAddress2=getElement(n.customerAddress2)),"customerSuburb"in n&&(i.customerSuburb=getElement(n.customerSuburb)),"customerState"in n&&(i.customerState=getElement(n.customerState)),"customerPostcode"in n&&(i.customerPostcode=getElement(n.customerPostcode)),"customerEmail"in n&&(i.customerEmail=getElement(n.customerEmail)),"customerReference"in n&&(i.customerReference=getElement(n.customerReference)),"nameOnCard"in n&&(i.nameOnCard=getElement(n.nameOnCard),i.nameOnCard.removeAttribute("name")),"cardNumber"in n&&(i.cardNumber=getElement(n.cardNumber),i.cardNumber.removeAttribute("name")),"cardExpiryMonth"in n&&(i.cardExpiryMonth=getElement(n.cardExpiryMonth),i.cardExpiryMonth.removeAttribute("name")),"cardExpiryYear"in n&&(i.cardExpiryYear=getElement(n.cardExpiryYear),i.cardExpiryYear.removeAttribute("name")),"cardCCV"in n&&(i.cardCCV=getElement(n.cardCCV),i.cardCCV.removeAttribute("name")),"paymentAmount"in n&&(i.paymentAmount=getElement(n.paymentAmount)),"paymentReference"in n&&(i.paymentReference=getElement(n.paymentReference)),"accountName"in n&&(i.accountName=getElement(n.accountName)),"accountBSB"in n&&
10(i.accountBSB=getElement(n.accountBSB)),"accountNumber"in n&&(i.accountNumber=getElement(n.accountNumber)),"submitButton"in n&&(i.submitButton=getElement(n.submitButton)),"submitAction"in n&&"ChargeCard"===n.submitAction)"customerDetailsDiv"in n&&(document.getElementById(n.customerDetailsDiv).style.display="none")},getElement=function(e){return"string"==typeof e||e instanceof String?document.getElementById(e):e},mergeFields=function(e){for(var t=1;t<arguments.length;t++)for(var r in arguments[t])e[r]=arguments[t][r];return e},initialiseButton=function(){i.submitButton&&(i.submitButton.onclick=function(){return i.submitButton.setAttribute("disabled","disabled"),processTransaction(n.submitAction),!1})},processTransaction=function(r){t?JSONP.get(e+"/TestPublicKey",{PublicKey:t},(function(e){if(!e||e.Error>0)eziDebitErrorMessages.generateError("No valid public key has been specified",n.submitError);else{if(eziDebitValidation.validate(r,n),1!=a)return i.submitButton.removeAttribute("disabled"),!1;switch(r){case"ChargeCard":chargeCard();break;case"SaveCustomer":saveCustomer();break;case"SaveCustomerAccount":saveCustomerAccount();break;case"ChangeCustomerPaymentInfo":changeCustomerPaymentInfo()}}}),jsonFailure):eziDebitErrorMessages.generateError("No public key has been specified",n.submitError)},jsonFailure=function(){eziDebitErrorMessages.generateError("An error has occurred attempting to contact the API. Please contact Ezidebit support.",n.submitError)},chargeCard=function(s){if(void 0!==s&&((n=s).submitAction="ChargeCard",initialiseFields(),eziDebitValidation.validate("ChargeCard",n),0==a))return!1;JSONP.get(e+"/ChargeCard",{PublicKey:t,CreditCardExpiryMonth:i.cardExpiryMonth.value,CreditCardNumber:i.cardNumber.value,CreditCardExpiryYear:i.cardExpiryYear.value,CreditCardCCV:i.cardCCV.value,NameOnCreditCard:i.nameOnCard.value,PaymentAmountInCents:Math.round(100*i.paymentAmount.value),CustomerName:i.nameOnCard.value,PaymentReference:i.paymentReference.value,ReferrerURL:location.href,UserAgent:navigator.userAgent,Version:r},(function(e){!e||e.Error>0?("submitButton"in i&&i.submitButton.removeAttribute("disabled"),eziDebitErrorMessages.generateError("Ezidebit API Error ("+e.Error+"): "+e.ErrorMessage,n.submitError)):n.submitCallback&&(i.exchangePaymentID&&(i.exchangePaymentID.value=e.Data.ExchangePaymentID),"F"==e.Data.PaymentResult&&i.submitButton&&i.submitButton.removeAttribute("disabled"),n.submitCallback(e.Data))}),jsonFailure)},changeCustomerPaymentInfo=function(r){if(void 0!==r&&((n=r).submitAction="ChangeCustomerPaymentInfo",initialiseFields(),eziDebitValidation.validate("ChangeCustomerPaymentInfo",n),0==a))return!1;JSONP.get(e+"/ChangeCustomerPaymentInfo",{PublicKey:t,EzidebitCustomerRef:i.customerRef?i.customerRef.value:"",YourSystemReference:i.customerReference?i.customerReference.value:"",CreditCardNumber:i.cardNumber?i.cardNumber.value:"",CreditCardExpiryMonth:i.cardExpiryMonth?i.cardExpiryMonth.value:"",CreditCardExpiryYear:i.cardExpiryYear?i.cardExpiryYear.value:"",NameOnCreditCard:i.nameOnCard?i.nameOnCard.value:"",AccountName:i.accountName?i.accountName.value:"",AccountBSB:i.accountBSB?i.accountBSB.value:"",AccountNumber:i.accountNumber?i.accountNumber.value:""},(function(e){"submitButton"in i&&i.submitButton.removeAttribute("disabled"),!e||e.Error>0?eziDebitErrorMessages.generateError("Ezidebit API Error ("+e.Error+"): "+e.ErrorMessage,n.submitError):n.submitCallback&&n.submitCallback(e)}),jsonFailure)},saveCustomerAccount=function(s){if(void 0!==s&&((n=s).submitAction="SaveCustomerAccount",initialiseFields(),eziDebitValidation.validate("SaveCustomerAccount",n),0==a))return!1;JSONP.get(e+"/AddCustomer",{PublicKey:t,YourSystemReference:i.customerReference?i.customerReference.value:"",YourGeneralReference:"",LastName:i.customerLastName.value,FirstName:i.customerFirstName?i.customerFirstName.value:"",AddressLine1:i.customerAddress1?i.customerAddress1.value:"",AddressLine2:i.customerAddress2?i.customerAddress2.value:"",AddressSuburb:i.customerSuburb?i.customerSuburb.value:"",AddressState:i.customerState?i.customerState.value:"",AddressPostCode:i.customerPostcode?i.customerPostcode.value:"",EmailAddress:i.customerEmail?i.customerEmail.value:"",MobilePhoneNumber:i.customerMobile?i.customerMobile.value:"",ContractStartDate:(new Date).toDateString(),SmsPaymentReminder:"N",SmsFailedNotification:"N",SmsExpiredCard:"N",Username:"",Credit
10CardNumber:"",CreditCardExpiryMonth:"",CreditCardExpiryYear:"",CreditCardCCV:"",NameOnCreditCard:"",PaymentAmount:"0",PaymentReference:i.paymentReference?i.paymentReference.value:"",AccountName:i.accountName?i.accountName.value:"",AccountBSB:i.accountBSB?i.accountBSB.value:"",AccountNumber:i.accountNumber?i.accountNumber.value:"",ReferrerURL:location.href,UserAgent:navigator.userAgent,Version:r},(function(e){"submitButton"in i&&i.submitButton.removeAttribute("disabled"),!e||e.Error>0?eziDebitErrorMessages.generateError("Ezidebit API Error ("+e.Error+"): "+e.ErrorMessage,n.submitError):n.submitCallback&&n.submitCallback(e)}),jsonFailure)},saveCustomer=function(s){if(void 0!==s&&((n=s).submitAction="SaveCustomer",initialiseFields(),eziDebitValidation.validate("SaveCustomer",n),0==a))return!1;JSONP.get(e+"/AddCustomer",{PublicKey:t,YourSystemReference:i.customerReference?i.customerReference.value:"",YourGeneralReference:"",LastName:i.customerLastName.value,FirstName:i.customerFirstName?i.customerFirstName.value:"",AddressLine1:i.customerAddress1?i.customerAddress1.value:"",AddressLine2:i.customerAddress2?i.customerAddress2.value:"",AddressSuburb:i.customerSuburb?i.customerSuburb.value:"",AddressState:i.customerState?i.customerState.value:"",AddressPostCode:i.customerPostcode?i.customerPostcode.value:"",EmailAddress:i.customerEmail?i.customerEmail.value:"",MobilePhoneNumber:i.customerMobile?i.customerMobile.value:"",ContractStartDate:(new Date).toDateString(),SmsPaymentReminder:"N",SmsFailedNotification:"N",SmsExpiredCard:"N",Username:"",Credit
10CardNumber:i.cardNumber?i.cardNumber.value:"",CreditCardExpiryMonth:i.cardExpiryMonth?i.cardExpiryMonth.value:"",CreditCardExpiryYear:i.cardExpiryYear?i.cardExpiryYear.value:"",CreditCardCCV:i.cardCCV?i.cardCCV.value:"",NameOnCreditCard:i.nameOnCard?i.nameOnCard.value:"",PaymentAmount:i.paymentAmount?Math.round(100*i.paymentAmount.value):"0",PaymentReference:i.paymentReference?i.paymentReference.value:"",AccountName:i.accountName?i.accountName.value:"",AccountBSB:i.accountBSB?i.accountBSB.value:"",AccountNumber:i.accountNumber?i.accountNumber.value:"",ReferrerURL:location.href,UserAgent:navigator.userAgent,Version:r},(function(e){"submitButton"in i&&i.submitButton.removeAttribute("disabled"),!e||e.Error>0?eziDebitErrorMessages.generateError("Ezidebit API Error ("+e.Error+"): "+e.ErrorMessage,n.submitError):n.submitCallback&&n.submitCallback(e)}),jsonFailure)},{clear:clear,init:init,getElement:getElement,isValidated:a,set:setValidated,chargeCard:chargeCard,saveCustomer:saveCustomer,saveCustomerAccount:saveCustomerAccount,changeCustomerPaymentInfo:changeCustomerPaymentInfo}}(),eziDebitErrorMessages=(genError=function(e,t,r){t(e,r)},{generateError:genError}),eziDebitValidation=(performValidation=function(e,t){switch(e){case"SaveCustomerAccount":if(!validateAccountDetails(t))return eziDebit.set(!1),!1;eziDebit.set(!0);break;case"ChargeCard":if(!validateCardDetails(t,!0))return eziDebit.set(!1),!1;eziDebit.set(!0);break;case"SaveCustomer":if(!("customerLastName"in t))return eziDebitErrorMessages.generateError("Customer last name field not found",t.submitError),eziDebit.set(!1),!1;if(eziDebit.getElement(t.customerLastName).value.length<1)return eziDebitErrorMessages.generateError("No customer last name entered",t.submitError,t.customerLastName),eziDebit.set(!1),!1;if("customerPostcode"in t){var r=eziDebit.getElement(t.customerPostcode).value;if(r.length>0&&4!=r.length)return eziDebitErrorMessages.generateError("Invalid postcode entered",t.submitError,t.customerPostcode),eziDebit.set(!1),!1}if("nameOnCard"in t&&(""!=eziDebit.getElement(t.cardNumber).value||""!=eziDebit.getElement(t.cardExpiryMonth).value||""!=eziDebit.getElement(t.cardExpiryYear).value||""!=eziDebit.getElement(t.nameOnCard).value)){if(!validateCardDetails(t,!1))return eziDebit.set(!1),!1;eziDebit.set(!0)}if("accountName"in t&&(""!=eziDebit.getElement(t.accountName).value||""!=eziDebit.getElement(t.accountBSB).value||""!=eziDebit.getElement(t.accountNumber).value)){if(!validateAccountDetails(t))return eziDebit.set(!1),!1;eziDebit.set(!0)}break;case"ChangeCustomerPaymentInfo":if("customerRef"in t&&"customerReference"in t){if(""==eziDebit.getElement(t.customerRef).value&&""==eziDebit.getElement(t.customerReference).value)return eziDebitErrorMessages.generateError("Either customerRef field or customerReference field must have a value specified",t.submitError,t.customerRef),!1}else{if(!("customerRef"in t)&&!("customerReference"in t))return eziDebitErrorMessages.generateError("Either customerRef field or customerReference field is required",t.submitError,t.customerRef),!1;if("customerRef"in t){if(""==eziDebit.getElement(t.customerRef).value)return eziDebitErrorMessages.generateError("The customerRef must have a value specified",t.submitError,t.customerRef),!1}else if("customerReference"in t&&""==eziDebit.getElement(t.customerReference).value)return eziDebitErrorMessages.generateError("The customerReference must have a value specified",t.submitError,t.customerRef),!1}if("accountNumber"in t){if(""==eziDebit.getElement(t.accountName).value&&""==eziDebit.getElement(t.accountBSB).value&&""==eziDebit.getElement(t.accountNumber).value)return eziDebitErrorMessages.generateError("You have not supplied bank account details",t.submitError),!1;if(!validateAccountDetails(t))return eziDebit.set(!1),!1;eziDebit.set(!0)}if("cardNumber"in t){if(""==eziDebit.getElement(t.cardNumber).value&&""==eziDebit.getElement(t.cardExpiryMonth).value&&""==eziDebit.getElement(t.cardExpiryYear).value&&""==eziDebit.getElement(t.nameOnCard).value)return eziDebitErrorMessages.generateError("You have not supplied credit card details",t.submitError),!1;
10if(!validateCardDetails(t,!1))return eziDebit.set(!1),!1;eziDebit.set(!0)}}},validateAccountDetails=function(e){if(!("accountName"in e))return eziDebitErrorMessages.generateError("Account name field not found",e.submitError),eziDebit.set(!1),!1;var t=eziDebit.getElement(e.accountName).value;return t.length<2||t.length>50?(eziDebitErrorMessages.generateError("The account name is invalid",e.submitError,e.accountName),eziDebit.set(!1),!1):"accountBSB"in e?eziDebit.getElement(e.accountBSB).value.length<6?(eziDebitErrorMessages.generateError("The BSB should be 6 digits",e.submitError,e.accountBSB),eziDebit.set(!1),!1):"accountNumber"in e?!(eziDebit.getElement(e.accountNumber).value.length<2&&(eziDebitErrorMessages.generateError("The account number is invalid",e.submitError,e.accountNumber),eziDebit.set(!1),1)):(eziDebitErrorMessages.generateError("Account number field not found",e.submitError),eziDebit.set(!1),!1):(eziDebitErrorMessages.generateError("BSB field not found",e.submitError),eziDebit.set(!1),!1)},validateCardDetails=function(e,t){if(!("nameOnCard"in e))return eziDebitErrorMessages.generateError("Name on card field not found",e.submitError),eziDebit.set(!1),!1;var r=eziDebit.getElement(e.nameOnCard).value;if(r.length<3||r.length>100)return eziDebitErrorMessages.generateError("The name on the card appears to be invalid",e.submitError,e.nameOnCard),eziDebit.set(!1),!1;if(!("cardNumber"in e))return eziDebitErrorMessages.generateError("Card number field not found",e.submitError),eziDebit.set(!1),!1;if(eziDebit.getElement(e.cardNumber).value.length<14)return eziDebitErrorMessages.generateError("The card number should be between 14 and 16 digits",e.submitError,e.cardNumber),eziDebit.set(!1),!1;if(!("cardExpiryMonth"in e))return eziDebitErrorMessages.generateError("Card month expiry field not found",e.submitError),eziDebit.set(!1),!1;var n=eziDebit.getElement(e.cardExpiryMonth).value;if(!parseInt(n,10))return eziDebitErrorMessages.generateError("Month expiry must be a number",e.submitError,e.cardExpiryMonth),eziDebit.set(!1),!1;if(n.length<1)return eziDebitErrorMessages.generateError("Must enter card month expiry",e.submitError,e.cardExpiryMonth),eziDebit.set(!1),!1;if(n>12||n<1)return eziDebitErrorMessages.generateError("The card month expiry must be between 1 and 12",e.submitError,e.cardExpiryMonth),eziDebit.set(!1),!1;var i=(new Date).getFullYear(),a=(new Date).getMonth()+1;if(eziDebit.getElement(e.cardExpiryYear).value==i&&n<a)return eziDebitErrorMessages.generateError("The card expiry is in the past",e.submitError,e.cardExpiryMonth),eziDebit.set(!1),!1;if(!("cardExpiryYear"in e))return eziDebitErrorMessages.generateError("Card month expiry field not found",e.submitError),eziDebit.set(!1),!1;var s=eziDebit.getElement(e.cardExpiryYear).value;if(!parseInt(s,10))return eziDebitErrorMessages.generateError("Year expiry must be a 4 digit number",e.submitError,e.cardExpiryYear),eziDebit.set(!1),!1;if(4!=s.length)return eziDebitErrorMessages.generateError("Year expiry must be a 4 digit number",e.submitError,e.cardExpiryYear),eziDebit.set(!1),!1;if(s<(i=(new Date).getFullYear()))return eziDebitErrorMessages.generateError("The card year expiry is in the past",e.submitError,e.cardExpiryYear),eziDebit.set(!1),!1;if(s>i+20)return eziDebitErrorMessages.generateError("The card year expiry is more than 20 years in the future",e.submitError,e.cardExpiryYear),eziDebit.set(!1),!1;var o=null;"paymentAmount"in e&&(o=eziDebit.getElement(e.paymentAmount).value);var l=null;if("paymentReference"in e&&(l=eziDebit.getElement(e.paymentReference).value),t=t||"paymentAmount"in e&&o.length>=1&&0!=parseFloat(o)||"paymentReference"in e&&l.length>=1){if(!("cardCCV"in e))return eziDebitErrorMessages.generateError("Card CCV field not found",e.submitError),eziDebit.set(!1),!1;var h=eziDebit.getElement(e.cardCCV).value;if(14!=eziDebit.getElement(e.cardNumber).value.length){if(["000","0000"].indexOf(h)<0&&!parseInt(h,10))return eziDebitErrorMessages.generateError("CCV must be a 3 or 4 digit number",e.submitError,e.cardCCV),eziDebit.set(!1),!1;if(h.length<1||h.length<3||h.length>4)return eziDebitErrorMessages.generateError("The CCV number should be either 3 or 4 digits long",e.submitError,e.cardCCV),eziDebit.set(!1),!1}if(!("paymentReference"in e))return eziDebitErrorMessages.generateError("Payment reference field not found",e.submitError),eziDebit.set(!1),!1;if(l.length<1)return eziDebitErrorMessages.generateError("No payment reference entered",e.submitError,e.paymentReference),eziDebit.set(!1),!1;if(!("paymentAmount"in e))return eziDebitErrorMessages.generateError("Payment amount field not found",e.submitError),eziDebit.set(!1),!1;if(o.length<1)return eziDebitErrorMessages.generateError("No payment amount entered",e.submitError,e.paymentAmount),eziDebit.set(!1),!1;if(!parseFloat(o))return eziDebitErrorMessages.generateError("Payment amount invalid",e.submitError,e.paymentAmount),eziDebit.set(!1),!1}return!0},entryIsNumber=function(e){var t=e.which?e.which:event.keyCode;return!(46!=t&&t>31&&(t<48||t>57))},{validate:performValidation,validateNumber:entryIsNumber}),eziDebitCCValidator=(validate=function(e){var t=e.length,r=parseInt(e),n=e.toString();n=n.replace(/^\s+|\s+$/g,"");for(var i,a,s=0,o=!0,l=!1,h=0;h<t;h++)i=""+n.substring(h,h+1),"-1"=="0123456789".indexOf(i)&&(o=!1);if(o||(l=!1),0==t&&l)l=!1;else if(t>=15){for(var c=t;c>0;c--){switch(a=parseInt(r)%10,s+=a=parseInt(a),c--,r/=10,a=parseInt(r)%10,a*=2){case 10:a=1;break;case 12:a=3;break;case 14:a=5;break;case 16:a=7;break;case 18:a=9}r/=10,s+=a}l=s%10==0}return l},{validateCard:validate}),JSONP=function(){var e,t,r,n=0,i=this,a={};function s(e){return encodeURIComponent(e)}return{get:function(o,l,h,c,u){for(r in t=-1===(o||"").indexOf("?")?"?":"&",l=l||{})l.hasOwnProperty(r)&&(t+=s(r)+"="+s(l[r])+"&");var d,p,f,m,g="json"+ ++n;return i[g]=function(e){h(e);try{delete i[g]}catch(e){}i[g]=null},d=o+t+(u||a.callbackName||"callback")+"="+g,p=c,f=document.createElement("script"),m=!1,f.src=d,f.async=!0,setTimeout((function(){!m&&p&&p()}),a.timeout||12e4),f.onload=f.onreadystatechange=function(){m||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(m=!0,f.onload=f.onreadystatechange=null,f&&f.parentNode&&f.parentNode.removeChild(f))},e||(e=document.getElementsByTagName("head")[0]),e.appendChild(f),g},init:function(e){a=e}}}();!function(e){e.fn.serializeFormJSON=function(){var t={},r=this.serializeArray();return e.each(r,(function(){t[this.name]?(t[this.name].push||(t[this.name]=[t[this.name]]),t[this.name].push(this.value||"")):t[this.name]=this.value||""})),t}}
10(jQuery),$.fn.isInViewport=function(){var e=$(this).offset().top,t=e+$(this).outerHeight(),r=$(window).scrollTop(),n=r+$(window).height();return t>r&&e<n},
11/*!
12 * jQuery Validation Plugin v1.19.2
13 *
14 * https://jqueryvalidation.org/
15 *
16 * Copyright (c) 2020 Jörn Zaefferer
17 * Released under the MIT license
18 */
19function(e){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){return function(){function t(e){return e.replace(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}e.validator.addMethod("maxWords",(function(e,r,n){return this.optional(r)||t(e).match(/\b\w+\b/g).length<=n}),e.validator.format("Please enter {0} words or less.")),e.validator.addMethod("minWords",(function(e,r,n){return this.optional(r)||t(e).match(/\b\w+\b/g).length>=n}),e.validator.format("Please enter at least {0} words.")),e.validator.addMethod("rangeWords",(function(e,r,n){var i=t(e),a=/\b\w+\b/g;return this.optional(r)||i.match(a).length>=n[0]&&i.match(a).length<=n[1]}),e.validator.format("Please enter between {0} and {1} words."))}(),e.validator.addMethod("abaRoutingNumber",(function(e){var t=0,r=e.split(""),n=r.length;if(9!==n)return!1;for(var i=0;i<n;i+=3)t+=3*parseInt(r[i],10)+7*parseInt(r[i+1],10)+parseInt(r[i+2],10);return 0!==t&&t%10==0}),"Please enter a valid routing number."),e.validator.addMethod("accept",(function(t,r,n){var i,a,s="string"==typeof n?n.replace(/\s/g,""):"image/*",o=this.optional(r);if(o)return o;if("file"===e(r).attr("type")&&(s=s.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),r.files&&r.files.length))for(a=new RegExp(".?("+s+")$","i"),i=0;i<r.files.length;i++)if(!r.files[i].type.match(a))return!1;return!0}),e.validator.format("Please enter a value with a valid mimetype.")),e.validator.addMethod("alphanumeric",(function(e,t){return this.optional(t)||/^\w+$/i.test(e)}),"Letters, numbers, and underscores only please"),e.validator.addMethod("bankaccountNL",(function(e,t){if(this.optional(t))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(e))return!1;var r,n=e.replace(/ /g,""),i=0,a=n.length;for(r=0;r<a;r++)i+=(a-r)*n.substring(r,r+1);return i%11==0}),"Please specify a valid bank account number"),e.validator.addMethod("bankorgiroaccountNL",(function(t,r){return this.optional(r)||e.validator.methods.bankaccountNL.call(this,t,r)||e.validator.methods.giroaccountNL.call(this,t,r)}),"Please specify a valid bank or giro account number"),e.validator.addMethod("bic",(function(e,t){return this.optional(t)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(e.toUpperCase())}),"Please specify a valid BIC code"),e.validator.addMethod("cifES",(function(e,t){"use strict";if(this.optional(t))return!0;var r,n,i,a,s=new RegExp(/^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/gi),o=e.substring(0,1),l=e.substring(1,8),h=e.substring(8,9),c=0,u=0;function d(e){return e%2==0}if(9!==e.length||!s.test(e))return!1;for(r=0;r<l.length;r++)n=parseInt(l[r],10),d(r)?u+=(n*=2)<10?n:n-9:c+=n;return i=(10-(c+u).toString().substr(-1)).toString(),i=parseInt(i,10)>9?"0":i,a="JABCDEFGHI".substr(i,1).toString(),o.match(/[ABEH]/)?h===i:o.match(/[KPQS]/)?h===a:h===i||h===a}),"Please specify a valid CIF number."),e.validator.addMethod("cnhBR",(function(e){if(11!==(e=e.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;var t,r,n,i,a,s=0,o=0;if(t=e.charAt(0),new Array(12).join(t)===e)return!1;for(i=0,a=9,0;i<9;++i,--a)s+=+e.charAt(i)*a;for((r=s%11)>=10&&(r=0,o=2),s=0,i=0,a=1,0;i<9;++i,++a)s+=+e.charAt(i)*a;return(n=s%11)>=10?n=0:n-=o,String(r).concat(n)===e.substr(-2)}),"Please specify a valid CNH number"),e.validator.addMethod("cnpjBR",(function(e,t){"use strict";if(this.optional(t))return!0;if(14!==(e=e.replace(/[^\d]+/g,"")).length)return!1;if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var r=e.length-2,n=e.substring(0,r),i=e.substring(r),a=0,s=r-7,o=r;o>=1;o--)a+=n.charAt(r-o)*s--,s<2&&(s=9);var l=a%11<2?0:11-a%11;if(l!==parseInt(i.charAt(0),10))return!1;r+=1,n=e.substring(0,r),a=0,s=r-7;for(var h=r;h>=1;h--)a+=n.charAt(r-h)*s--,s<2&&(s=9);return(l=a%11<2?0:11-a%11)===parseInt(i.charAt(1),10)}),"Please specify a CNPJ value number"),e.validator.addMethod("cpfBR",(function(e,t){"use strict";if(this.optional(t))return!0;
19if(11!==(e=e.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;var r,n,i,a,s=0;if(r=parseInt(e.substring(9,10),10),n=parseInt(e.substring(10,11),10),i=function(e,t){var r=10*e%11;return 10!==r&&11!==r||(r=0),r===t},""===e||"00000000000"===e||"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e)return!1;for(a=1;a<=9;a++)s+=parseInt(e.substring(a-1,a),10)*(11-a);if(i(s,r)){for(s=0,a=1;a<=10;a++)s+=parseInt(e.substring(a-1,a),10)*(12-a);return i(s,n)}return!1}),"Please specify a valid CPF number"),e.validator.addMethod("creditcard",(function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(e))return!1;var r,n,i=0,a=0,s=!1;if((e=e.replace(/\D/g,"")).length<13||e.length>19)return!1;for(r=e.length-1;r>=0;r--)n=e.charAt(r),a=parseInt(n,10),s&&(a*=2)>9&&(a-=9),i+=a,s=!s;return i%10==0}),"Please enter a valid credit card number."),e.validator.addMethod("creditcardtypes",(function(e,t,r){if(/[^0-9\-]+/.test(e))return!1;e=e.replace(/\D/g,"");var n=0;return r.mastercard&&(n|=1),r.visa&&(n|=2),r.amex&&(n|=4),r.dinersclub&&(n|=8),r.enroute&&(n|=16),r.discover&&(n|=32),r.jcb&&(n|=64),r.unknown&&(n|=128),r.all&&(n=255),1&n&&(/^(5[12345])/.test(e)||/^(2[234567])/.test(e))||2&n&&/^(4)/.test(e)?16===e.length:4&n&&/^(3[47])/.test(e)?15===e.length:8&n&&/^(3(0[012345]|[68]))/.test(e)?14===e.length:16&n&&/^(2(014|149))/.test(e)?15===e.length:32&n&&/^(6011)/.test(e)||64&n&&/^(3)/.test(e)?16===e.length:64&n&&/^(2131|1800)/.test(e)?15===e.length:!!(128&n)}),"Please enter a valid credit card number."),e.validator.addMethod("currency",(function(e,t,r){var n,i="string"==typeof r,a=i?r:r[0],s=!!i||r[1];return a=a.replace(/,/g,""),n="^["+(a=s?a+"]":a+"]?")+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",n=new RegExp(n),this.optional(t)||n.test(e)}),"Please specify a valid currency"),e.validator.addMethod("dateFA",(function(e,t){return this.optional(t)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(e)}),e.validator.messages.date),e.validator.addMethod("dateITA",(function(e,t){var r,n,i,a,s,o=!1;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(e)?(r=e.split("/"),n=parseInt(r[0],10),i=parseInt(r[1],10),a=parseInt(r[2],10),o=(s=new Date(Date.UTC(a,i-1,n,12,0,0,0))).getUTCFullYear()===a&&s.getUTCMonth()===i-1&&s.getUTCDate()===n):o=!1,this.optional(t)||o}),e.validator.messages.date),e.validator.addMethod("dateNL",(function(e,t){return this.optional(t)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(e)}),e.validator.messages.date),e.validator.addMethod("extension",(function(e,t,r){return r="string"==typeof r?r.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||e.match(new RegExp("\\.("+r+")$","i"))}),e.validator.format("Please enter a value with a valid extension.")),e.validator.addMethod("giroaccountNL",(function(e,t){return this.optional(t)||/^[0-9]{1,7}$/.test(e)}),"Please specify a valid giro account number"),e.validator.addMethod("greaterThan",(function(t,r,n){var i=e(n);return this.settings.onfocusout&&i.not(".validate-greaterThan-blur").length&&i.addClass("validate-greaterThan-blur").on("blur.validate-greaterThan",(function(){e(r).valid()})),t>i.val()}),"Please enter a greater value."),e.validator.addMethod("greaterThanEqual",(function(t,r,n){var i=e(n);return this.settings.onfocusout&&i.not(".validate-greaterThanEqual-blur").length&&i.addClass("validate-greaterThanEqual-blur").on("blur.validate-greaterThanEqual",(function(){e(r).valid()})),t>=i.val()}),"Please enter a greater value."),e.validator.addMethod("iban",(function(e,t){if(this.optional(t))return!0;var r,n,i,a,s,o=e.replace(/ /g,"").toUpperCase(),l="",h=!0,c="";if(o.length<5)return!1;if(void 0!==(i={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"}[o.substring(0,2)])&&!new RegExp("^[A-Z]{2}\\d{2}"+i+"$","").test(o))return!1;for(r=o.substring(4,o.length)+o.substring(0,4),a=0;a<r.length;a++)"0"!==(n=r.charAt(a))&&(h=!1),h||(l+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(n));for(s=0;s<l.length;s++)c=(""+c+l.charAt(s))%97;return 1===c}),"Please specify a valid IBAN"),e.validator.addMethod("integer",(function(e,t){return this.optional(t)||/^-?\d+$/.test(e)}),"A positive or negative non-decimal number please"),e.validator.addMethod("ipv4",(function(e,t){return this.optional(t)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(e)}),"Please enter a valid IP v4 address."),e.validator.addMethod("ipv6",(function(e,t){return this.optional(t)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(e)}),"Please enter a valid IP v6 address."),e.validator.addMethod("lessThan",(function(t,r,n){var i=e(n);return this.settings.onfocusout&&i.not(".validate-lessThan-blur").length&&i.addClass("val
19idate-lessThan-blur").on("blur.validate-lessThan",(function(){e(r).valid()})),t<i.val()}),"Please enter a lesser value."),e.validator.addMethod("lessThanEqual",(function(t,r,n){var i=e(n);return this.settings.onfocusout&&i.not(".validate-lessThanEqual-blur").length&&i.addClass("validate-lessThanEqual-blur").on("blur.validate-lessThanEqual",(function(){e(r).valid()})),t<=i.val()}),"Please enter a lesser value."),e.validator.addMethod("lettersonly",(function(e,t){return this.optional(t)||/^[a-z]+$/i.test(e)}),"Letters only please"),e.validator.addMethod("letterswithbasicpunc",(function(e,t){return this.optional(t)||/^[a-z\-.,()'"\s]+$/i.test(e)}),"Letters or punctuation only please"),e.validator.addMethod("maxfiles",(function(t,r,n){return!!this.optional(r)||!("file"===e(r).attr("type")&&r.files&&r.files.length>n)}),e.validator.format("Please select no more than {0} files.")),e.validator.addMethod("maxsize",(function(t,r,n){if(this.optional(r))return!0;if("file"===e(r).attr("type")&&r.files&&r.files.length)for(var i=0;i<r.files.length;i++)if(r.files[i].size>n)return!1;return!0}),e.validator.format("File size must not exceed {0} bytes each.")),e.validator.addMethod("maxsizetotal",(function(t,r,n){if(this.optional(r))return!0;if("file"===e(r).attr("type")&&r.files&&r.files.length)for(var i=0,a=0;a<r.files.length;a++)if((i+=r.files[a].size)>n)return!1;return!0}),e.validator.format("Total size of all files must not exceed {0} bytes.")),e.validator.addMethod("mobileNL",(function(e,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(e)}),"Please specify a valid mobile number"),e.validator.addMethod("mobileRU",(function(e,t){var r=e.replace(/\(|\)|\s+|-/g,"");return this.optional(t)||r.length>9&&/^((\+7|7|8)+([0-9]){10})$/.test(r)}),"Please specify a valid mobile number"),e.validator.addMethod("mobileUK",(function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>9&&e.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)}),"Please specify a valid mobile number"),e.validator.addMethod("netmask",(function(e,t){return this.optional(t)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(e)}),"Please enter a valid netmask."),e.validator.addMethod("nieES",(function(e,t){"use strict";if(this.optional(t))return!0;var r,n=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),i=e.substr(e.length-1).toUpperCase();return!((e=e.toString().toUpperCase()).length>10||e.length<9||!n.test(e))&&(r=9===(e=e.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2")).length?e.substr(0,8):e.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(r,10)%23)===i)}),"Please specify a valid NIE number."),e.validator.addMethod("nifES",(function(e,t){"use strict";return!!this.optional(t)||!!(e=e.toUpperCase()).match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")&&(/^[0-9]{8}[A-Z]{1}$/.test(e)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(e.substring(8,0)%23)===e.charAt(8):!!/^[KLM]{1}/.test(e)&&e[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(e.substring(8,1)%23))}),"Please specify a valid NIF number."),e.validator.addMethod("nipPL",(function(e){"use strict";if(10!==(e=e.replace(/[^0-9]/g,"")).length)return!1;for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<9;n++)r+=t[n]*e[n];var i=r%11;return(10===i?0:i)===parseInt(e[9],10)}),"Please specify a valid NIP number."),
20/**
21 * Created for project jquery-validation.
22 * @Description Brazillian PIS or NIS number (Número de Identificação Social Pis ou Pasep) is the equivalent of a
23 * Brazilian tax registration number NIS of PIS numbers have 11 digits in total: 10 numbers followed by 1 check numbers
24 * that are being used for validation.
25 * @copyright (c) 21/08/2018 13:14, Cleiton da Silva Mendonça
26 * @author Cleiton da Silva Mendonça <[email protected]>
27 * @link http://gitlab.com/csmendonca Gitlab of Cleiton da Silva Mendonça
28 * @link http://github.com/csmendonca Github of Cleiton da Silva Mendonça
29 */
30e.validator.addMethod("nisBR",(function(e){var t,r,n,i,a,s=0;if(11!==(e=e.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;for(r=parseInt(e.substring(10,11),10),t=parseInt(e.substring(0,10),10),i=2;i<12;i++)a=i,10===i&&(a=2),11===i&&(a=3),s+=t%10*a,t=parseInt(t/10,10);return r===(n=(n=s%11)>1?11-n:0)}),"Please specify a valid NIS/PIS number"),e.validator.addMethod("notEqualTo",(function(t,r,n){return this.optional(r)||!e.validator.methods.equalTo.call(this,t,r,n)}),"Please enter a different value, values must not be the same."),e.validator.addMethod("nowhitespace",(function(e,t){return this.optional(t)||/^\S+$/i.test(e)}),"No white space please"),e.validator.addMethod("pattern",(function(e,t,r){return!!this.optional(t)||("string"==typeof r&&(r=new RegExp("^(?:"+r+")$")),r.test(e))}),"Invalid format."),e.validator.addMethod("phoneNL",(function(e,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(e)}),"Please specify a valid phone number."),e.validator.addMethod("phonePL",(function(e,t){e=e.replace(/\s+/g,"");
30return this.optional(t)||/^(?:(?:(?:\+|00)?48)|(?:\(\+?48\)))?(?:1[2-8]|2[2-69]|3[2-49]|4[1-68]|5[0-9]|6[0-35-9]|[7-8][1-9]|9[145])\d{7}$/.test(e)}),"Please specify a valid phone number"),e.validator.addMethod("phonesUK",(function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>9&&e.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)}),"Please specify a valid uk phone number"),e.validator.addMethod("phoneUK",(function(e,t){return e=e.replace(/\(|\)|\s+|-/g,""),this.optional(t)||e.length>9&&e.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)}),"Please specify a valid phone number"),e.validator.addMethod("phoneUS",(function(e,t){return e=e.replace(/\s+/g,""),this.optional(t)||e.length>9&&e.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]\d{2}-?\d{4}$/)}),"Please specify a valid phone number"),e.validator.addMethod("postalcodeBR",(function(e,t){return this.optional(t)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(e)}),"Informe um CEP válido."),e.validator.addMethod("postalCodeCA",(function(e,t){return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(e)}),"Please specify a valid postal code"),e.validator.addMethod("postalcodeIT",(function(e,t){return this.optional(t)||/^\d{5}$/.test(e)}),"Please specify a valid postal code"),e.validator.addMethod("postalcodeNL",(function(e,t){return this.optional(t)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(e)}),"Please specify a valid postal code"),e.validator.addMethod("postcodeUK",(function(e,t){return this.optional(t)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(e)}),"Please specify a valid UK postcode"),e.validator.addMethod("require_from_group",(function(t,r,n){var i=e(n[1],r.form),a=i.eq(0),s=a.data("valid_req_grp")?a.data("valid_req_grp"):e.extend({},this),o=i.filter((function(){return s.elementValue(this)})).length>=n[0];return a.data("valid_req_grp",s),e(r).data("being_validated")||(i.data("being_validated",!0),i.each((function(){s.element(this)})),i.data("being_validated",!1)),o}),e.validator.format("Please fill at least {0} of these fields.")),e.validator.addMethod("skip_or_fill_minimum",(function(t,r,n){var i=e(n[1],r.form),a=i.eq(0),s=a.data("valid_skip")?a.data("valid_skip"):e.extend({},this),o=i.filter((function(){return s.elementValue(this)})).length,l=0===o||o>=n[0];return a.data("valid_skip",s),e(r).data("being_validated")||(i.data("being_validated",!0),i.each((function(){s.element(this)})),i.data("being_validated",!1)),l}),e.validator.format("Please either skip these fields or fill at least {0} of them.")),e.validator.addMethod("stateUS",(function(e,t,r){var n,i=void 0===r,a=!i&&void 0!==r.caseSensitive&&r.caseSensitive,s=!i&&void 0!==r.includeTerritories&&r.includeTerritories,o=!i&&void 0!==r.includeMilitary&&r.includeMilitary;return n=s||o?s&&o?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":s?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",n=a?new RegExp(n):new RegExp(n,"i"),this.optional(t)||n.test(e)}),"Please specify a valid state"),e.validator.addMethod("strippedminlength",(function(t,r,n){return e(t).text().length>=n}),e.validator.format("Please enter at least {0} characters")),e.validator.addMethod("time",(function(e,t){return this.optional(t)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(e)}),"Please enter a valid time, between 00:00 and 23:59"),e.validator.addMethod("time12h",(function(e,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(e)}),"Please enter a valid time in 12-hour am/pm format"),e.validator.addMethod("url2",(function(e,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)}),e.validator.messages.url),e.validator.addMethod("vinUS",(function(e){if(17!==e.length)return!1;var t,r,n,i,a,s,o=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],l=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],h=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],c=0;for(t=0;t<17;t++){if(i=h[t],n=e.slice(t,t+1),8===t&&(s=n),isNaN(n)){for(r=0;r<o.length;r++)if(n.toUpperCase()===o[r]){n=l[r],n*=i,isNaN(s)&&8===r&&(s=o[r]);break}}else n*=i;c+=n}return 10===(a=c%11)&&(a="X"),a===s}
30),"The specified vehicle identification number (VIN) is invalid."),e.validator.addMethod("zipcodeUS",(function(e,t){return this.optional(t)||/^\d{5}(-\d{4})?$/.test(e)}),"The specified US ZIP Code is invalid"),e.validator.addMethod("ziprange",(function(e,t){return this.optional(t)||/^90[2-5]\d\{2\}-\d{4}$/.test(e)}),"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"),e}));

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.