/*!
 * Copyright (c) Atomi Systems, Inc. All rights reserved.
 * Version: 10.1.0
 * Date: 2025.10.24
 */
/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */
!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 n=[],i=Object.getPrototypeOf,o=n.slice,r=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},u=l.toString,c=l.hasOwnProperty,p=c.toString,f=p.call(Object),h={},d=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,o,r=(n=n||m).createElement("script");if(r.text=e,t)for(i in v)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[u.call(e)]||"object":typeof e}var x="3.6.0",w=function(e,t){return new w.fn.init(e,t)};function _(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!d(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}w.fn=w.prototype={jquery:x,constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||d(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(u&&i&&(w.isPlainObject(i)||(o=Array.isArray(i)))?(n=s[t],r=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,s[t]=w.extend(u,r,i)):void 0!==i&&(s[t]=i));return s},w.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==u.call(e))&&(!(t=i(e))||"function"==typeof(n=c.call(t,"constructor")&&t.constructor)&&p.call(n)===f)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(_(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(_(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,s=!n;o<r;o++)!t(e[o],o)!==s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,s=0,a=[];if(_(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return r(a)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});var C=
/*!
 * Sizzle CSS Selector Engine v2.3.6
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2021-02-16
 */
function(e){var t,n,i,o,r,s,a,l,u,c,p,f,h,d,g,m,v,y,b,x="sizzle"+1*new Date,w=e.document,_=0,C=0,T=le(),E=le(),S=le(),k=le(),D=function(e,t){return e===t&&(p=!0),0},P={}.hasOwnProperty,N=[],A=N.pop,M=N.push,j=N.push,H=N.slice,L=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",q="(?:\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\["+O+"*("+q+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+O+"*\\]",W=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(O+"+","g"),F=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),X=new RegExp("^"+O+"*,"+O+"*"),$=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),z=new RegExp(O+"|>"),U=new RegExp(W),Y=new RegExp("^"+q+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},V=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){f()},se=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{j.apply(N=H.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){j={apply:N.length?function(e,t){M.apply(e,H.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,o){var r,a,u,c,p,d,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!o&&(f(t),t=t||h,g)){if(11!==w&&(p=Z.exec(e)))if(r=p[1]){if(9===w){if(!(u=t.getElementById(r)))return i;if(u.id===r)return i.push(u),i}else if(y&&(u=y.getElementById(r))&&b(t,u)&&u.id===r)return i.push(u),i}else{if(p[2])return j.apply(i,t.getElementsByTagName(e)),i;if((r=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!k[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(z.test(e)||$.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(ie,oe):t.setAttribute("id",c=x)),a=(d=s(e)).length;a--;)d[a]=(c?"#"+c:":scope")+" "+be(d[a]);v=d.join(",")}try{return j.apply(i,y.querySelectorAll(v)),i}catch(t){k(e,!0)}finally{c===x&&t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[x]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(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&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ue(function(t){return t=+t,ue(function(n,i){for(var o,r=e([],n.length,t),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}n=ae.support={},r=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!V.test(t||n&&n.nodeName||"HTML")},f=ae.setDocument=function(e){var t,o,s=e?e.ownerDocument||e:w;return s!=h&&9===s.nodeType&&s.documentElement?(d=(h=s).documentElement,g=!r(h),w!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.scope=ce(function(e){return d.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(h.getElementsByClassName),n.getById=ce(function(e){return d.appendChild(e).id=x,!h.getElementsByName||!h.getElementsByName(x).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=J.test(h.querySelectorAll))&&(ce(function(e){var t;d.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+O+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+O+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+O+"*name"+O+"*="+O+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+O+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=J.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",W)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(d.compareDocumentPosition),b=t||J.test(d.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return p=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==h||e.ownerDocument==w&&b(w,e)?-1:t==h||t.ownerDocument==w&&b(w,t)?1:c?L(c,e)-L(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,s=[e],a=[t];if(!o||!r)return e==h?-1:t==h?1:o?-1:r?1:c?L(c,e)-L(c,t):0;if(o===r)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?fe(s[i],a[i]):s[i]==w?-1:a[i]==w?1:0},h):h},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!k[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){k(t,!0)}return ae(t,h,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=h&&f(e),b(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=h&&f(e);var o=i.attrHandle[t.toLowerCase()],r=o&&P.call(i.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==r?r:n.attributes||!g?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},ae.escape=function(e){return(e+"").replace(ie,oe)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],o=0,r=0;if(p=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),p){for(;t=e[r++];)t===e[r]&&(o=i.push(r));for(;o--;)e.splice(i[o],1)}return c=null,e},o=ae.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},(i=ae.selectors={cacheLength:50,createPseudo:ue,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=ae.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,h,d,g=r!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(r){for(;g;){for(f=t;f=f[g];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&y){for(b=(h=(u=(c=(p=(f=m)[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]||[])[0]===_&&u[1])&&u[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||d.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[_,h,b];break}}else if(y&&(b=h=(u=(c=(p=(f=t)[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]||[])[0]===_&&u[1]),!1===b)for(;(f=++h&&f&&f[g]||(b=h=0)||d.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((c=(p=f[x]||(f[x]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]=[_,b]),f!==t)););return(b-=o)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,n){for(var i,r=o(e,t),s=r.length;s--;)e[i=L(e,r[s])]=!(n[i]=r[s])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ue(function(e){var t=[],n=[],i=a(e.replace(F,"$1"));return i[x]?ue(function(e,t,n,o){for(var r,s=i(e,null,o,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:ue(function(e){return function(t){return ae(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}}),lang:ue(function(e){return Y.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!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!i.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:me(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:me(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=de(t);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function xe(e,t,n){var i=t.dir,o=t.next,r=o||i,s=n&&"parentNode"===r,a=C++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,p,f=[_,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(c=(p=t[x]||(t[x]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[r])&&u[0]===_&&u[1]===a)return f[2]=u[2];if(c[r]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function _e(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),u&&t.push(a)));return s}function Ce(e,t,n,i,o,r){return i&&!i[x]&&(i=Ce(i)),o&&!o[x]&&(o=Ce(o,r)),ue(function(r,s,a,l){var u,c,p,f=[],h=[],d=s.length,g=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)ae(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!r&&t?g:_e(g,f,e,a,l),v=n?o||(r?e:d||i)?[]:s:m;if(n&&n(m,v,a,l),i)for(u=_e(v,h),i(u,[],a,l),c=u.length;c--;)(p=u[c])&&(v[h[c]]=!(m[h[c]]=p));if(r){if(o||e){if(o){for(u=[],c=v.length;c--;)(p=v[c])&&u.push(m[c]=p);o(null,v=[],u,l)}for(c=v.length;c--;)(p=v[c])&&(u=o?L(r,p):f[c])>-1&&(r[u]=!(s[u]=p))}}else v=_e(v===s?v.splice(d,v.length):v),o?o(null,s,v,l):j.apply(s,v)})}function Te(e){for(var t,n,o,r=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=xe(function(e){return e===t},a,!0),p=xe(function(e){return L(t,e)>-1},a,!0),f=[function(e,n,i){var o=!s&&(i||n!==u)||((t=n).nodeType?c(e,n,i):p(e,n,i));return t=null,o}];l<r;l++)if(n=i.relative[e[l].type])f=[xe(we(f),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[x]){for(o=++l;o<r&&!i.relative[e[o].type];o++);return Ce(l>1&&we(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,l<o&&Te(e.slice(l,o)),o<r&&Te(e=e.slice(o)),o<r&&be(e))}f.push(n)}return we(f)}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,s=ae.tokenize=function(e,t){var n,o,r,s,a,l,u,c=E[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=i.preFilter;a;){n&&!(o=X.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=$.exec(a))&&(n=o.shift(),r.push({value:n,type:o[0].replace(F," ")}),a=a.slice(n.length));for(s in i.filter)!(o=G[s].exec(a))||u[s]&&!(o=u[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):E(e,l).slice(0)},a=ae.compile=function(e,t){var n,o,r,a,l,c,p=[],d=[],m=S[e+" "];if(!m){for(t||(t=s(e)),n=t.length;n--;)(m=Te(t[n]))[x]?p.push(m):d.push(m);(m=S(e,(o=d,a=(r=p).length>0,l=o.length>0,c=function(e,t,n,s,c){var p,d,m,v=0,y="0",b=e&&[],x=[],w=u,C=e||l&&i.find.TAG("*",c),T=_+=null==w?1:Math.random()||.1,E=C.length;for(c&&(u=t==h||t||c);y!==E&&null!=(p=C[y]);y++){if(l&&p){for(d=0,t||p.ownerDocument==h||(f(p),n=!g);m=o[d++];)if(m(p,t||h,n)){s.push(p);break}c&&(_=T)}a&&((p=!m&&p)&&v--,e&&b.push(p))}if(v+=y,a&&y!==v){for(d=0;m=r[d++];)m(b,x,t,n);if(e){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=A.call(s));x=_e(x)}j.apply(s,x),c&&!e&&x.length>0&&v+r.length>1&&ae.uniqueSort(s)}return c&&(_=T,u=w),b},a?ue(c):c))).selector=e}return m},l=ae.select=function(e,t,n,o){var r,l,u,c,p,f="function"==typeof e&&e,h=!o&&s(e=f.selector||e);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&g&&i.relative[l[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(r=G.needsContext.test(e)?0:l.length;r--&&(u=l[r],!i.relative[c=u.type]);)if((p=i.find[c])&&(o=p(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(r,1),!(e=o.length&&be(l)))return j.apply(n,o),n;break}}return(f||a(e,h))(o,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(D).join("")===x,n.detectDuplicates=!!p,f(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||pe(I,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ae}(e);w.find=C,w.expr=C.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=C.uniqueSort,w.text=C.getText,w.isXMLDoc=C.isXML,w.contains=C.contains,w.escapeSelector=C.escape;var T=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;i.push(e)}return i},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=w.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return d(t)?w.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return a.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?w.find.matchesSelector(i,e)?[i]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)w.find(e,o[t],n);return i>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&S.test(e)?w(e):e||[],!1).length}});var N,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:A.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),D.test(i[1])&&w.isPlainObject(t))for(i in t)d(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=m.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):d(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,N=w(m);var M=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],s="string"!=typeof e&&w(e);if(!S.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?w.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?a.call(w(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(k(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,i){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=w.filter(i,o)),this.length>1&&(j[e]||w.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}});var L=/[^\x20\t\r\n\f]+/g;function I(e){return e}function O(e){throw e}function q(e,t,n,i){var o;try{e&&d(o=e.promise)?o.call(e).done(t).fail(n):e&&d(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},w.each(t.match(L)||[],function(e,t){n[t]=!0}),n):w.extend({},e);var i,o,r,s,a=[],l=[],u=-1,c=function(){for(s=s||e.once,r=i=!0;l.length;u=-1)for(o=l.shift();++u<a.length;)!1===a[u].apply(o[0],o[1])&&e.stopOnFalse&&(u=a.length,o=!1);e.memory||(o=!1),i=!1,s&&(a=o?[]:"")},p={add:function(){return a&&(o&&!i&&(u=a.length-1,l.push(o)),function t(n){w.each(n,function(n,i){d(i)?e.unique&&p.has(i)||a.push(i):i&&i.length&&"string"!==b(i)&&t(i)})}(arguments),o&&!i&&c()),this},remove:function(){return w.each(arguments,function(e,t){for(var n;(n=w.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?w.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return s=l=[],a=o="",this},disabled:function(){return!a},lock:function(){return s=l=[],o||i||(a=o=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),i||c()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!r}};return p},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,i){var o=d(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&d(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,i,o){var r=0;function s(t,n,i,o){return function(){var a=this,l=arguments,u=function(){var e,u;if(!(t<r)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");u=e&&("object"==typeof e||"function"==typeof e)&&e.then,d(u)?o?u.call(e,s(r,n,I,o),s(r,n,O,o)):(r++,u.call(e,s(r,n,I,o),s(r,n,O,o),s(r,n,I,n.notifyWith))):(i!==I&&(a=void 0,l=[e]),(o||n.resolveWith)(a,l))}},c=o?u:function(){try{u()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=r&&(i!==O&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(s(0,e,d(o)?o:I,e.notifyWith)),n[1][3].add(s(0,e,d(t)?t:I)),n[2][3].add(s(0,e,d(i)?i:O))}).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},r={};return w.each(n,function(e,t){var s=t[2],a=t[5];o[t[1]]=s.add,a&&s.add(function(){i=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=s.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),r=o.call(arguments),s=w.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?o.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(q(e,s.done(a(n)).resolve,s.reject,!t),"pending"===s.state()||d(r[n]&&r[n].then)))return s.then();for(;n--;)q(r[n],a(n),s.reject);return s.promise()}});var R=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&R.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var W=w.Deferred();function B(){m.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),w.ready()}w.fn.ready=function(e){return W.then(e).catch(function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||W.resolveWith(m,[w]))}}),w.ready.then=W.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?e.setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var F=function(e,t,n,i,o,r,s){var a=0,l=e.length,u=null==n;if("object"===b(n)){o=!0;for(a in n)F(e,t,a,n[a],!0,r,s)}else if(void 0!==i&&(o=!0,d(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(w(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:u?t.call(e):l?t(e[0],n):r},X=/^-ms-/,$=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function U(e){return e.replace(X,"ms-").replace($,z)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=w.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[U(t)]=n;else for(i in t)o[U(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in i?[t]:t.match(L)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||w.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var V=new G,Q=new G,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,n){var i,o;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:K.test(o)?JSON.parse(o):o)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return Q.hasData(e)||V.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return V.access(e,t,n)},_removeData:function(e,t){V.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(o=Q.get(r),1===r.nodeType&&!V.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=U(i.slice(5)),Z(r,i,o[i]));V.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Q.set(this,e)}):F(this,function(t){var n;if(r&&void 0===t)return void 0!==(n=Q.get(r,e))?n:void 0!==(n=Z(r,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),w.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=V.get(e,t),n&&(!i||Array.isArray(n)?i=V.access(e,t,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),i=n.length,o=n.shift(),r=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){w.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return V.get(e,n)||V.access(e,n,{empty:w.Callbacks("once memory").add(function(){V.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=w.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=V.get(r[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=m.documentElement,oe=function(e){return w.contains(e.ownerDocument,e)},re={composed:!0};ie.getRootNode&&(oe=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(re)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===w.css(e,"display")};function ae(e,t,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return w.css(e,t,"")},l=a(),u=n&&n[3]||(w.cssNumber[t]?"":"px"),c=e.nodeType&&(w.cssNumber[t]||"px"!==u&&+l)&&te.exec(w.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)w.style(e,t,c+u),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),c/=r;c*=2,w.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}var le={};function ue(e,t){for(var n,i,o,r,s,a,l,u=[],c=0,p=e.length;c<p;c++)(i=e[c]).style&&(n=i.style.display,t?("none"===n&&(u[c]=V.get(i,"display")||null,u[c]||(i.style.display="")),""===i.style.display&&se(i)&&(u[c]=(r=void 0,s=void 0,void 0,l=void 0,s=(o=i).ownerDocument,a=o.nodeName,(l=le[a])||(r=s.body.appendChild(s.createElement(a)),l=w.css(r,"display"),r.parentNode.removeChild(r),"none"===l&&(l="block"),le[a]=l,l)))):"none"!==n&&(u[c]="none",V.set(i,"display",n)));for(c=0;c<p;c++)null!=u[c]&&(e[c].style.display=u[c]);return e}w.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?w(this).show():w(this).hide()})}});var ce,pe,fe=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,de=/^$|^module$|\/(?:java|ecma)script/i;ce=m.createDocumentFragment().appendChild(m.createElement("div")),(pe=m.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),ce.appendChild(pe),h.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",h.option=!!ce.lastChild;var ge={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 me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&k(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;n<i;n++)V.set(e[n],"globalEval",!t||V.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,h.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function be(e,t,n,i,o){for(var r,s,a,l,u,c,p=t.createDocumentFragment(),f=[],h=0,d=e.length;h<d;h++)if((r=e[h])||0===r)if("object"===b(r))w.merge(f,r.nodeType?[r]:r);else if(ye.test(r)){for(s=s||p.appendChild(t.createElement("div")),a=(he.exec(r)||["",""])[1].toLowerCase(),l=ge[a]||ge._default,s.innerHTML=l[1]+w.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;w.merge(f,s.childNodes),(s=p.firstChild).textContent=""}else f.push(t.createTextNode(r));for(p.textContent="",h=0;r=f[h++];)if(i&&w.inArray(r,i)>-1)o&&o.push(r);else if(u=oe(r),s=me(p.appendChild(r),"script"),u&&ve(s),n)for(c=0;r=s[c++];)de.test(r.type||"")&&n.push(r);return p}var xe=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function _e(){return!1}function Ce(e,t){return e===function(){try{return m.activeElement}catch(e){}}()==("focus"===t)}function Te(e,t,n,i,o,r){var s,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(a in t)Te(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=_e;else if(!o)return e;return 1===r&&(s=o,(o=function(e){return w().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=w.guid++)),e.each(function(){w.event.add(this,t,o,i,n)})}function Ee(e,t,n){n?(V.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,r,s=V.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=o.call(arguments),V.set(this,t,s),i=n(this,t),this[t](),s!==(r=V.get(this,t))||i?V.set(this,t,!1):r={},s!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else s.length&&(V.set(this,t,{value:w.event.trigger(w.extend(s[0],w.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===V.get(e,t)&&w.event.add(e,t,we)}w.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,u,c,p,f,h,d,g,m=V.get(e);if(Y(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&w.find.matchesSelector(ie,o),n.guid||(n.guid=w.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(L)||[""]).length;u--;)h=g=(a=xe.exec(t[u])||[])[1],d=(a[2]||"").split(".").sort(),h&&(p=w.event.special[h]||{},h=(o?p.delegateType:p.bindType)||h,p=w.event.special[h]||{},c=w.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:d.join(".")},r),(f=l[h])||((f=l[h]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,i,d,s)||e.addEventListener&&e.addEventListener(h,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),w.event.global[h]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,u,c,p,f,h,d,g,m=V.hasData(e)&&V.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(L)||[""]).length;u--;)if(h=g=(a=xe.exec(t[u])||[])[1],d=(a[2]||"").split(".").sort(),h){for(p=w.event.special[h]||{},f=l[h=(i?p.delegateType:p.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=f.length;r--;)c=f[r],!o&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(r,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,d,m.handle)||w.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)w.event.remove(e,h+t[u],n,i,!0);w.isEmptyObject(l)&&V.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,s,a=new Array(arguments.length),l=w.event.fix(e),u=(V.get(this,"events")||Object.create(null))[l.type]||[],c=w.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=w.event.handlers.call(this,l,u),t=0;(o=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((w.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=t[n]).selector+" "]&&(s[o]=i.needsContext?w(o,this).index(u)>-1:w.find(o,this,null,[u]).length),s[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:d(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return fe.test(t.type)&&t.click&&k(t,"input")&&Ee(t,"click",we),!1},trigger:function(e){var t=this||e;return fe.test(t.type)&&t.click&&k(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return fe.test(t.type)&&t.click&&k(t,"input")&&V.get(t,"click")||k(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:_e,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&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.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},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(e,t){w.event.special[e]={setup:function(){return Ee(this,e,Ce),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,i){return Te(this,e,t,n,i)},one:function(e,t,n,i){return Te(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=_e),this.each(function(){w.event.remove(this,e,n,t)})}});var Se=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pe(e,t){return k(e,"table")&&k(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,i,o,r,s,a;if(1===t.nodeType){if(V.hasData(e)&&(a=V.get(e).events)){V.remove(t,"handle events");for(o in a)for(n=0,i=a[o].length;n<i;n++)w.event.add(t,o,a[o][n])}Q.hasData(e)&&(r=Q.access(e),s=w.extend({},r),Q.set(t,s))}}function je(e,t,n,i){t=r(t);var o,s,a,l,u,c,p=0,f=e.length,g=f-1,m=t[0],v=d(m);if(v||f>1&&"string"==typeof m&&!h.checkClone&&ke.test(m))return e.each(function(o){var r=e.eq(o);v&&(t[0]=m.call(this,o,r.html())),je(r,t,n,i)});if(f&&(s=(o=be(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=s),s||i)){for(l=(a=w.map(me(o,"script"),Ne)).length;p<f;p++)u=o,p!==g&&(u=w.clone(u,!0,!0),l&&w.merge(a,me(u,"script"))),n.call(e[p],u,p);if(l)for(c=a[a.length-1].ownerDocument,w.map(a,Ae),p=0;p<l;p++)u=a[p],de.test(u.type||"")&&!V.access(u,"globalEval")&&w.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?w._evalUrl&&!u.noModule&&w._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):y(u.textContent.replace(De,""),u,c))}return e}function He(e,t,n){for(var i,o=t?w.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||w.cleanData(me(i)),i.parentNode&&(n&&oe(i)&&ve(me(i,"script")),i.parentNode.removeChild(i));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,s,a,l,u,c=e.cloneNode(!0),p=oe(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(s=me(c),i=0,o=(r=me(e)).length;i<o;i++)a=r[i],l=s[i],void 0,"input"===(u=l.nodeName.toLowerCase())&&fe.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(t)if(n)for(r=r||me(e),s=s||me(c),i=0,o=r.length;i<o;i++)Me(r[i],s[i]);else Me(e,c);return(s=me(c,"script")).length>0&&ve(s,!p&&me(e,"script")),c},cleanData:function(e){for(var t,n,i,o=w.event.special,r=0;void 0!==(n=e[r]);r++)if(Y(n)){if(t=n[V.expando]){if(t.events)for(i in t.events)o[i]?w.event.remove(n,i):w.removeEvent(n,i,t.handle);n[V.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return F(this,function(e){return void 0===e?w.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 je(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return je(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return je(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return je(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&&(w.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!ge[(he.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,i=[],o=w(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),w(o[a])[t](n),s.apply(i,n.get());return this.pushStack(i)}});var Le=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Oe=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];i=n.call(e);for(o in t)e.style[o]=r[o];return i},qe=new RegExp(ne.join("|"),"i");function Re(e,t,n){var i,o,r,s,a=e.style;return(n=n||Ie(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||oe(e)||(s=w.style(e,t)),!h.pixelBoxStyles()&&Le.test(s)&&qe.test(t)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-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%",ie.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",r=12===n(c.offsetWidth/3),ie.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,r,s,a,l,u=m.createElement("div"),c=m.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,n,i,o;return null==a&&(t=m.createElement("table"),n=m.createElement("tr"),i=m.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",ie.appendChild(t).appendChild(n).appendChild(i),o=e.getComputedStyle(n),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,ie.removeChild(t)),a}}))}();var Be=["Webkit","Moz","ms"],Fe=m.createElement("div").style,Xe={};function $e(e){var t=w.cssProps[e]||Xe[e];return t||(e in Fe?e:Xe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Be.length;n--;)if((e=Be[n]+t)in Fe)return e}(e)||e)}var ze=/^(none|table(?!-c[ea]).+)/,Ue=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"};function Ve(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Qe(e,t,n,i,o,r){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=w.css(e,n+ne[s],!0,o)),i?("content"===n&&(l-=w.css(e,"padding"+ne[s],!0,o)),"margin"!==n&&(l-=w.css(e,"border"+ne[s]+"Width",!0,o))):(l+=w.css(e,"padding"+ne[s],!0,o),"padding"!==n?l+=w.css(e,"border"+ne[s]+"Width",!0,o):a+=w.css(e,"border"+ne[s]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-a-.5))||0),l}function Ke(e,t,n){var i=Ie(e),o=(!h.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,i),r=o,s=Re(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Le.test(s)){if(!n)return s;s="auto"}return(!h.boxSizingReliable()&&o||!h.reliableTrDimensions()&&k(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===w.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,i),(r=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+Qe(e,t,n||(o?"border":"content"),r,i,s)+"px"}function Je(e,t,n,i,o){return new Je.prototype.init(e,t,n,i,o)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Re(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=U(t),l=Ue.test(t),u=e.style;if(l||(t=$e(a)),s=w.cssHooks[t]||w.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,i))?o:u[t];"string"===(r=typeof n)&&(o=te.exec(n))&&o[1]&&(n=ae(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(w.cssNumber[a]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var o,r,s,a=U(t);return Ue.test(t)||(t=$e(a)),(s=w.cssHooks[t]||w.cssHooks[a])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=Re(e,t,i)),"normal"===o&&t in Ge&&(o=Ge[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,i){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ke(e,t,i):Oe(e,Ye,function(){return Ke(e,t,i)})},set:function(e,n,i){var o,r=Ie(e),s=!h.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===w.css(e,"boxSizing",!1,r),l=i?Qe(e,t,i,a,r):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-Qe(e,t,"border",!1,r)-.5)),l&&(o=te.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ve(0,n,l)}}}),w.cssHooks.marginLeft=We(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Re(e,"marginLeft"))||e.getBoundingClientRect().left-Oe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+ne[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=Ve)}),w.fn.extend({css:function(e,t){return F(this,function(e,t,n){var i,o,r={},s=0;if(Array.isArray(t)){for(i=Ie(e),o=t.length;s<o;s++)r[t[s]]=w.css(e,t[s],!1,i);return r}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}}),w.Tween=Je,Je.prototype={constructor:Je,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(w.cssNumber[n]?"":"px")},cur:function(){var e=Je.propHooks[this.prop];return e&&e.get?e.get(this):Je.propHooks._default.get(this)},run:function(e){var t,n=Je.propHooks[this.prop];return this.options.duration?this.pos=t=w.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),n&&n.set?n.set(this):Je.propHooks._default.set(this),this}},Je.prototype.init.prototype=Je.prototype,Je.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=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[$e(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},Je.propHooks.scrollTop=Je.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=Je.prototype.init,w.fx.step={};var Ze,et,tt,nt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function rt(){et&&(!1===m.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(rt):e.setTimeout(rt,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function at(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ne[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function lt(e,t,n){for(var i,o=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function ut(e,t,n){var i,o,r=0,s=ut.prefilters.length,a=w.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Ze||st(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),r=0,s=u.tweens.length;r<s;r++)u.tweens[r].run(i);return a.notifyWith(e,[u,i,n]),i<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ze||st(),duration:n.duration,tweens:[],createTween:function(t,n){var i=w.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,i,o,r,s;for(n in e)if(o=t[i=U(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(s=w.cssHooks[i])&&"expand"in s){r=s.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}(c,u.opts.specialEasing);r<s;r++)if(i=ut.prefilters[r].call(u,e,c,u.opts))return d(i.stop)&&(w._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return w.map(c,lt,u),d(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),w.fx.timer(w.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}w.Animation=w.extend(ut,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ae(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){d(e)?(t=e,e=["*"]):e=e.match(L);for(var n,i=0,o=e.length;i<o;i++)n=e[i],ut.tweeners[n]=ut.tweeners[n]||[],ut.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,s,a,l,u,c,p="width"in t||"height"in t,f=this,h={},d=e.style,g=e.nodeType&&se(e),m=V.get(e,"fxshow");n.queue||(null==(s=w._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,w.queue(e,"fx").length||s.empty.fire()})}));for(i in t)if(o=t[i],it.test(o)){if(delete t[i],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||w.style(e,i)}if((l=!w.isEmptyObject(t))||!w.isEmptyObject(h)){p&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(u=m&&m.display)&&(u=V.get(e,"display")),"none"===(c=w.css(e,"display"))&&(u?c=u:(ue([e],!0),u=e.style.display||u,c=w.css(e,"display"),ue([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===w.css(e,"float")&&(l||(f.done(function(){d.display=u}),null==u&&(c=d.display,u="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),l=!1;for(i in h)l||(m?"hidden"in m&&(g=m.hidden):m=V.access(e,"fxshow",{display:u}),r&&(m.hidden=!g),g&&ue([e],!0),f.done(function(){g||ue([e]),V.remove(e,"fxshow");for(i in h)w.style(e,i,h[i])})),l=lt(g?m[i]:0,i,f),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}}],prefilter:function(e,t){t?ut.prefilters.unshift(e):ut.prefilters.push(e)}}),w.speed=function(e,t,n){var i=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||d(e)&&e,duration:e,easing:n&&t||t&&!d(t)&&t};return w.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in w.fx.speeds?i.duration=w.fx.speeds[i.duration]:i.duration=w.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){d(i.old)&&i.old.call(this),i.queue&&w.dequeue(this,i.queue)},i},w.fn.extend({fadeTo:function(e,t,n,i){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=w.isEmptyObject(e),r=w.speed(t,n,i),s=function(){var t=ut(this,w.extend({},e),r);(o||V.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=w.timers,s=V.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&ot.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=V.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=w.timers,s=i?i.length:0;for(n.finish=!0,w.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(at(t,!0),e,i,o)}}),w.each({slideDown:at("show"),slideUp:at("hide"),slideToggle:at("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(Ze=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),Ze=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){et||(et=!0,rt())},w.fx.stop=function(){et=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},tt=m.createElement("input"),nt=m.createElement("select").appendChild(m.createElement("option")),tt.type="checkbox",h.checkOn=""!==tt.value,h.optSelected=nt.selected,(tt=m.createElement("input")).value="t",tt.type="radio",h.radioValue="t"===tt.value;var ct,pt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return F(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?w.prop(e,t,n):(1===r&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=w.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&k(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),ct={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||w.find.attr;pt[t]=function(e,t,i){var o,r,s=t.toLowerCase();return i||(r=pt[s],pt[s]=o,o=null!=n(e,t,i)?s:null,pt[s]=r),o}});var ft=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function dt(e){return(e.match(L)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}w.fn.extend({prop:function(e,t){return F(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&w.isXMLDoc(e)||(t=w.propFix[t]||t,o=w.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(w.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)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),w.fn.extend({addClass:function(e){var t,n,i,o,r,s,a,l=0;if(d(e))return this.each(function(t){w(this).addClass(e.call(this,t,gt(this)))});if((t=mt(e)).length)for(;n=this[l++];)if(o=gt(n),i=1===n.nodeType&&" "+dt(o)+" "){for(s=0;r=t[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");o!==(a=dt(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,o,r,s,a,l=0;if(d(e))return this.each(function(t){w(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=mt(e)).length)for(;n=this[l++];)if(o=gt(n),i=1===n.nodeType&&" "+dt(o)+" "){for(s=0;r=t[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");o!==(a=dt(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):d(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,o,r,s;if(i)for(o=0,r=w(this),s=mt(e);t=s[o++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&V.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":V.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+dt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;w.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=d(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,w(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(vt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:dt(w.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!k(n.parentNode,"optgroup"))){if(t=w(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,o=e.options,r=w.makeArray(t),s=o.length;s--;)((i=o[s]).selected=w.inArray(w.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var yt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var r,s,a,l,u,p,f,h,v=[i||m],y=c.call(t,"type")?t.type:t,b=c.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!yt.test(y+w.event.triggered)&&(y.indexOf(".")>-1&&(y=(b=y.split(".")).shift(),b.sort()),u=y.indexOf(":")<0&&"on"+y,(t=t[w.expando]?t:new w.Event(y,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),f=w.event.special[y]||{},o||!f.trigger||!1!==f.trigger.apply(i,n))){if(!o&&!f.noBubble&&!g(i)){for(l=f.delegateType||y,yt.test(l+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(i.ownerDocument||m)&&v.push(a.defaultView||a.parentWindow||e)}for(r=0;(s=v[r++])&&!t.isPropagationStopped();)h=s,t.type=r>1?l:f.bindType||y,(p=(V.get(s,"events")||Object.create(null))[t.type]&&V.get(s,"handle"))&&p.apply(s,n),(p=u&&s[u])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,o||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),n)||!Y(i)||u&&d(i[y])&&!g(i)&&((a=i[u])&&(i[u]=null),w.event.triggered=y,t.isPropagationStopped()&&h.addEventListener(y,bt),i[y](),t.isPropagationStopped()&&h.removeEventListener(y,bt),w.event.triggered=void 0,a&&(i[u]=a)),t.result}},simulate:function(e,t,n){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(i,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=V.access(i,t);o||i.addEventListener(e,n,!0),V.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=V.access(i,t)-1;o?V.access(i,t,o):(i.removeEventListener(e,n,!0),V.remove(i,t))}}});var xt=e.location,wt={guid:Date.now()},_t=/\?/;w.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||w.error("Invalid XML: "+(i?w.map(i.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var Ct=/\[\]$/,Tt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,i){var o;if(Array.isArray(t))w.each(t,function(t,o){n||Ct.test(e)?i(e,o):kt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==b(t))i(e,t);else for(o in t)kt(e+"["+o+"]",t[o],n,i)}w.param=function(e,t){var n,i=[],o=function(e,t){var n=d(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){o(this.name,this.value)});else for(n in e)kt(n,e[n],t,o);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&St.test(this.nodeName)&&!Et.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var Dt=/%20/g,Pt=/#.*$/,Nt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,jt=/^\/\//,Ht={},Lt={},It="*/".concat("*"),Ot=m.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(L)||[];if(d(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Rt(e,t,n,i){var o={},r=e===Lt;function s(a){var l;return o[a]=!0,w.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||r||o[u]?r?!(l=u):void 0:(t.dataTypes.unshift(u),s(u),!1)}),l}return s(t.dataTypes[0])||!o["*"]&&s("*")}function Wt(e,t){var n,i,o=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&w.extend(!0,e,i),e}Ot.href=xt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,w.ajaxSettings),t):Wt(w.ajaxSettings,e)},ajaxPrefilter:qt(Ht),ajaxTransport:qt(Lt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,r,s,a,l,u,c,p,f,h=w.ajaxSetup({},n),d=h.context||h,g=h.context&&(d.nodeType||d.jquery)?w(d):w.event,v=w.Deferred(),y=w.Callbacks("once memory"),b=h.statusCode||{},x={},_={},C="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=At.exec(r);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),E(0,t),this}};if(v.promise(T),h.url=((t||h.url||xt.href)+"").replace(jt,xt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(L)||[""],null==h.crossDomain){l=m.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ot.protocol+"//"+Ot.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),Rt(Ht,h,n,T),u)return T;(c=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Pt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Dt,"+")):(f=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(_t.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Nt,"$1"),f=(_t.test(o)?"&":"?")+"_="+wt.guid+++f),h.url=o+f),h.ifModified&&(w.lastModified[o]&&T.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&T.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)T.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(d,T,h)||u))return T.abort();if(C="abort",y.add(h.complete),T.done(h.success),T.fail(h.error),i=Rt(Lt,h,n,T)){if(T.readyState=1,c&&g.trigger("ajaxSend",[T,h]),u)return T;h.async&&h.timeout>0&&(a=e.setTimeout(function(){T.abort("timeout")},h.timeout));try{u=!1,i.send(x,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(t,n,s,l){var p,f,m,x,_,C=n;u||(u=!0,a&&e.clearTimeout(a),i=void 0,r=l||"",T.readyState=t>0?4:0,p=t>=200&&t<300||304===t,s&&(x=function(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(h,T,s)),!p&&w.inArray("script",h.dataTypes)>-1&&w.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,n,i){var o,r,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=u[l+" "+r]||u["* "+r]))for(o in u)if((a=o.split(" "))[1]===r&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(r=a[0],c.unshift(a[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 "+r}}}return{state:"success",data:t}}(h,x,T,p),p?(h.ifModified&&((_=T.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=_),(_=T.getResponseHeader("etag"))&&(w.etag[o]=_)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,p=!(m=x.error))):(m=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",p?v.resolveWith(d,[f,C,T]):v.rejectWith(d,[T,C,m]),T.statusCode(b),b=void 0,c&&g.trigger(p?"ajaxSuccess":"ajaxError",[T,h,p?f:m]),y.fireWith(d,[T,C]),c&&(g.trigger("ajaxComplete",[T,h]),--w.active||w.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,i,o){return d(n)&&(o=o||i,i=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:o,data:n,success:i},w.isPlainObject(e)&&e))}}),w.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(d(e)&&(e=e.call(this[0])),t=w(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 d(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=d(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ft=w.ajaxSettings.xhr();h.cors=!!Ft&&"withCredentials"in Ft,h.ajax=Ft=!!Ft,w.ajaxTransport(function(t){var n,i;if(h.cors||Ft&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Bt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.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 w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),m.head.appendChild(t[0])},abort:function(){n&&n()}}});var Xt,$t=[],zt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||w.expando+"_"+wt.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,s,a=!1!==t.jsonp&&(zt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=d(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(zt,"$1"+o):!1!==t.jsonp&&(t.url+=(_t.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||w.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){s=arguments},i.always(function(){void 0===r?w(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,$t.push(o)),s&&d(r)&&r(s[0]),s=r=void 0}),"script"}),h.createHTMLDocument=((Xt=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((i=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(i)):t=m),o=D.exec(e),r=!n&&[],o?[t.createElement(o[1])]:(o=be([e],t,r),r&&r.length&&w(r).remove(),w.merge([],o.childNodes)));var i,o,r},w.fn.load=function(e,t,n){var i,o,r,s=this,a=e.indexOf(" ");return a>-1&&(i=dt(e.slice(a)),e=e.slice(0,a)),d(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),s.length>0&&w.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?w("<div>").append(w.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var i,o,r,s,a,l,u=w.css(e,"position"),c=w(e),p={};"static"===u&&(e.style.position="relative"),a=c.offset(),r=w.css(e,"top"),l=w.css(e,"left"),("absolute"===u||"fixed"===u)&&(r+l).indexOf("auto")>-1?(s=(i=c.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),d(t)&&(t=t.call(e,n,w.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+o),"using"in t?t.using.call(e,p):c.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),o.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-w.css(i,"marginTop",!0),left:t.left-o.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||ie})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return F(this,function(e,i,o){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=We(h.pixelPosition,function(e,n){if(n)return n=Re(e,t),Le.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){w.fn[i]=function(o,r){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===r?"margin":"border");return F(this,function(t,n,o){var r;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?w.css(t,n,a):w.style(t,n,o,a)},t,s?o:void 0,s)}})}),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.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){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Ut=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),d(e))return i=o.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(o.call(arguments)))}).guid=e.guid=e.guid||w.guid++,r},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=k,w.isFunction=d,w.isWindow=g,w.camelCase=U,w.type=b,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace(Ut,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Yt=e.jQuery,Gt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Gt),t&&e.jQuery===w&&(e.jQuery=Yt),w},void 0===t&&(e.jQuery=e.$=w),w}),
/*! jQuery UI - v1.12.1 - 2017-10-27
* http://jqueryui.com
* Includes: widget.js, data.js, scroll-parent.js, widgets/draggable.js, widgets/droppable.js, widgets/mouse.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.ui=e.ui||{};e.ui.version="1.12.1";
/*!
 * jQuery UI Widget 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */var t,n=0,i=Array.prototype.slice;e.cleanData=(t=e.cleanData,function(n){var i,o,r;for(r=0;null!=(o=n[r]);r++)try{(i=e._data(o,"events"))&&i.remove&&e(o).triggerHandler("remove")}catch(e){}t(n)}),e.widget=function(t,n,i){var o,r,s,a={},l=t.split(".")[0],u=l+"-"+(t=t.split(".")[1]);return i||(i=n,n=e.Widget),e.isArray(i)&&(i=e.extend.apply(null,[{}].concat(i))),e.expr[":"][u.toLowerCase()]=function(t){return!!e.data(t,u)},e[l]=e[l]||{},o=e[l][t],r=e[l][t]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},e.extend(r,o,{version:i.version,_proto:e.extend({},i),_childConstructors:[]}),(s=new n).options=e.widget.extend({},s.options),e.each(i,function(t,i){e.isFunction(i)?a[t]=function(){function e(){return n.prototype[t].apply(this,arguments)}function o(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,r=this._superApply;return this._super=e,this._superApply=o,t=i.apply(this,arguments),this._super=n,this._superApply=r,t}}():a[t]=i}),r.prototype=e.widget.extend(s,{widgetEventPrefix:o&&s.widgetEventPrefix||t},a,{constructor:r,namespace:l,widgetName:t,widgetFullName:u}),o?(e.each(o._childConstructors,function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,r,n._proto)}),delete o._childConstructors):n._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var n,o,r=i.call(arguments,1),s=0,a=r.length;s<a;s++)for(n in r[s])o=r[s][n],r[s].hasOwnProperty(n)&&void 0!==o&&(e.isPlainObject(o)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],o):e.widget.extend({},o):t[n]=o);return t},e.widget.bridge=function(t,n){var o=n.prototype.widgetFullName||t;e.fn[t]=function(r){var s="string"==typeof r,a=i.call(arguments,1),l=this;return s?this.length||"instance"!==r?this.each(function(){var n,i=e.data(this,o);return"instance"===r?(l=i,!1):i?e.isFunction(i[r])&&"_"!==r.charAt(0)?(n=i[r].apply(i,a))!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:e.error("no such method '"+r+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(a.length&&(r=e.widget.extend.apply(null,[r].concat(a))),this.each(function(){var t=e.data(this,o);t?(t.option(r||{}),t._init&&t._init()):e.data(this,o,new n(r,this))})),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=e(i||this.defaultElement||this)[0],this.element=e(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},i!==this&&(e.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===i&&this.destroy()}}),this.document=e(i.style?i.ownerDocument:i.document||i),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i,o,r,s=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(o=s[t]=e.widget.extend({},this.options[t]),r=0;r<i.length-1;r++)o[i[r]]=o[i[r]]||{},o=o[i[r]];if(t=i.pop(),1===arguments.length)return void 0===o[t]?null:o[t];o[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=n}return this._setOptions(s),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,i,o;for(n in t)o=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&o&&o.length&&(i=e(o.get()),this._removeClass(o,n),i.addClass(this._classes({element:i,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var n=[],i=this;function o(o,r){var s,a;for(a=0;a<o.length;a++)s=i.classesElementLookup[o[a]]||e(),s=t.add?e(e.unique(s.get().concat(t.element.get()))):e(s.not(t.element).get()),i.classesElementLookup[o[a]]=s,n.push(o[a]),r&&t.classes[o[a]]&&n.push(t.classes[o[a]])}return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&o(t.keys.match(/\S+/g)||[],!0),t.extra&&o(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,function(i,o){-1!==e.inArray(t.target,o)&&(n.classesElementLookup[i]=e(o.not(t.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){i="boolean"==typeof i?i:n;var o="string"==typeof e||null===e,r={extra:o?t:n,keys:o?e:t,element:o?this.element:e,add:i};return r.element.toggleClass(this._classes(r),i),this},_on:function(t,n,i){var o,r=this;"boolean"!=typeof t&&(i=n,n=t,t=!1),i?(n=o=e(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,o=this.widget()),e.each(i,function(i,s){function a(){if(t||!0!==r.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof s?r[s]:s).apply(r,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||e.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?o.on(u,c,a):n.on(u,a)})},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n).off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var o,r,s=this.options[t];if(i=i||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],r=n.originalEvent)for(o in r)o in n||(n[o]=r[o]);return this.element.trigger(n,i),!(e.isFunction(s)&&!1===s.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(i,o,r){var s;"string"==typeof o&&(o={effect:o});var a=o?!0===o||"number"==typeof o?n:o.effect||n:t;"number"==typeof(o=o||{})&&(o={duration:o}),s=!e.isEmptyObject(o),o.complete=r,o.delay&&i.delay(o.delay),s&&e.effects&&e.effects.effect[a]?i[t](o):a!==t&&i[a]?i[a](o.duration,o.easing,r):i.queue(function(n){e(this)[t](),r&&r.call(i[0]),n()})}});e.widget,e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,i){return!!e.data(t,i[3])}}),e.fn.scrollParent=function(t){var n=this.css("position"),i="absolute"===n,o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var t=e(this);return(!i||"static"!==t.css("position"))&&o.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==n&&r.length?r:e(this[0].ownerDocument||document)},e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());
/*!
 * jQuery UI :data 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */var o=!1;e(document).on("mouseup",function(){o=!1});e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(n){if(!0===e.data(n.target,t.widgetName+".preventClickEvent"))return e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!o){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var n=this,i=1===t.which,r=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(i&&!r&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),o=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,o=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.ui.plugin={add:function(t,n,i){var o,r=e.ui[t].prototype;for(o in i)r.plugins[o]=r.plugins[o]||[],r.plugins[o].push([n,i[o]])},call:function(e,t,n,i){var o,r=e.plugins[t];if(r&&(i||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(o=0;o<r.length;o++)e.options[r[o][0]]&&r[o][1].apply(e.element,n)}},e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(n){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")};
/*!
 * jQuery UI Draggable 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
e.widget("ui.draggable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(t){var n=this.options;return!(this.helper||n.disabled||e(t.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===n.iframeFix?"iframe":n.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var n=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(n).length||e.ui.safeBlur(n)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===e(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var i=this._uiHash();if(!1===this._trigger("drag",t,i))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=this,i=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(i=e.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==n._trigger("stop",t)&&n._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var n=this.options,i=e.isFunction(n.helper),o=i?e(n.helper.apply(this.element[0],[t])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),i&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),n=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==n&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,i,o=this.options,r=this.document[0];this.relativeContainer=null,o.containment?"window"!==o.containment?"document"!==o.containment?o.containment.constructor!==Array?("parent"===o.containment&&(o.containment=this.helper[0].parentNode),(i=(n=e(o.containment))[0])&&(t=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n)):this.containment=o.containment:this.containment=[0,0,e(r).width()-this.helperProportions.width-this.margins.left,(e(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,i,o,r,s=this.options,a=this._isRootNode(this.scrollParent[0]),l=e.pageX,u=e.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),n=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):n=this.containment,e.pageX-this.offset.click.left<n[0]&&(l=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(u=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(l=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(u=n[3]+this.offset.click.top)),s.grid&&(o=s.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,u=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-s.grid[1]:o+s.grid[1]:o,r=s.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,l=n?r-this.offset.click.left>=n[0]||r-this.offset.click.left>n[2]?r:r-this.offset.click.left>=n[0]?r-s.grid[0]:r+s.grid[0]:r),"y"===s.axis&&(l=this.originalPageX),"x"===s.axis&&(u=this.originalPageY)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,n,i){return i=i||this._uiHash(),e.ui.plugin.call(this,t,[n,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,n,i){var o=e.extend({},n,{item:i.element});i.sortables=[],e(i.options.connectToSortable).each(function(){var n=e(this).sortable("instance");n&&!n.options.disabled&&(i.sortables.push(n),n.refreshPositions(),n._trigger("activate",t,o))})},stop:function(t,n,i){var o=e.extend({},n,{item:i.element});i.cancelHelperRemoval=!1,e.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,o))})},drag:function(t,n,i){e.each(i.sortables,function(){var o=!1,r=this;r.positionAbs=i.positionAbs,r.helperProportions=i.helperProportions,r.offset.click=i.offset.click,r._intersectsWith(r.containerCache)&&(o=!0,e.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==r&&this._intersectsWith(this.containerCache)&&e.contains(r.element[0],this.element[0])&&(o=!1),o})),o?(r.isOver||(r.isOver=1,i._parent=n.helper.parent(),r.currentItem=n.helper.appendTo(r.element).data("ui-sortable-item",!0),r.options._helper=r.options.helper,r.options.helper=function(){return n.helper[0]},t.target=r.currentItem[0],r._mouseCapture(t,!0),r._mouseStart(t,!0,!0),r.offset.click.top=i.offset.click.top,r.offset.click.left=i.offset.click.left,r.offset.parent.left-=i.offset.parent.left-r.offset.parent.left,r.offset.parent.top-=i.offset.parent.top-r.offset.parent.top,i._trigger("toSortable",t),i.dropped=r.element,e.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,r.fromOutside=i),r.currentItem&&(r._mouseDrag(t),n.position=r.position)):r.isOver&&(r.isOver=0,r.cancelHelperRemoval=!0,r.options._revert=r.options.revert,r.options.revert=!1,r._trigger("out",t,r._uiHash(r)),r._mouseStop(t,!0),r.options.revert=r.options._revert,r.options.helper=r.options._helper,r.placeholder&&r.placeholder.remove(),n.helper.appendTo(i._parent),i._refreshOffsets(t),n.position=i._generatePosition(t,!0),i._trigger("fromSortable",t),i.dropped=!1,e.each(i.sortables,function(){this.refreshPositions()}))})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,n,i){var o=e("body"),r=i.options;o.css("cursor")&&(r._cursor=o.css("cursor")),o.css("cursor",r.cursor)},stop:function(t,n,i){var o=i.options;o._cursor&&e("body").css("cursor",o._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,n,i){var o=e(n.helper),r=i.options;o.css("opacity")&&(r._opacity=o.css("opacity")),o.css("opacity",r.opacity)},stop:function(t,n,i){var o=i.options;o._opacity&&e(n.helper).css("opacity",o._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(t,n,i){var o=i.options,r=!1,s=i.scrollParentNotHidden[0],a=i.document[0];s!==a&&"HTML"!==s.tagName?(o.axis&&"x"===o.axis||(i.overflowOffset.top+s.offsetHeight-t.pageY<o.scrollSensitivity?s.scrollTop=r=s.scrollTop+o.scrollSpeed:t.pageY-i.overflowOffset.top<o.scrollSensitivity&&(s.scrollTop=r=s.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(i.overflowOffset.left+s.offsetWidth-t.pageX<o.scrollSensitivity?s.scrollLeft=r=s.scrollLeft+o.scrollSpeed:t.pageX-i.overflowOffset.left<o.scrollSensitivity&&(s.scrollLeft=r=s.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(t.pageY-e(a).scrollTop()<o.scrollSensitivity?r=e(a).scrollTop(e(a).scrollTop()-o.scrollSpeed):e(window).height()-(t.pageY-e(a).scrollTop())<o.scrollSensitivity&&(r=e(a).scrollTop(e(a).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(t.pageX-e(a).scrollLeft()<o.scrollSensitivity?r=e(a).scrollLeft(e(a).scrollLeft()-o.scrollSpeed):e(window).width()-(t.pageX-e(a).scrollLeft())<o.scrollSensitivity&&(r=e(a).scrollLeft(e(a).scrollLeft()+o.scrollSpeed)))),!1!==r&&e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(i,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,n,i){var o=i.options;i.snapElements=[],e(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var t=e(this),n=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})})},drag:function(t,n,i){var o,r,s,a,l,u,c,p,f,h,d=i.options,g=d.snapTolerance,m=n.offset.left,v=m+i.helperProportions.width,y=n.offset.top,b=y+i.helperProportions.height;for(f=i.snapElements.length-1;f>=0;f--)u=(l=i.snapElements[f].left-i.margins.left)+i.snapElements[f].width,p=(c=i.snapElements[f].top-i.margins.top)+i.snapElements[f].height,v<l-g||m>u+g||b<c-g||y>p+g||!e.contains(i.snapElements[f].item.ownerDocument,i.snapElements[f].item)?(i.snapElements[f].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[f].item})),i.snapElements[f].snapping=!1):("inner"!==d.snapMode&&(o=Math.abs(c-b)<=g,r=Math.abs(p-y)<=g,s=Math.abs(l-v)<=g,a=Math.abs(u-m)<=g,o&&(n.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),r&&(n.position.top=i._convertPositionTo("relative",{top:p,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:u}).left)),h=o||r||s||a,"outer"!==d.snapMode&&(o=Math.abs(c-y)<=g,r=Math.abs(p-b)<=g,s=Math.abs(l-m)<=g,a=Math.abs(u-v)<=g,o&&(n.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),r&&(n.position.top=i._convertPositionTo("relative",{top:p-i.helperProportions.height,left:0}).top),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:u-i.helperProportions.width}).left)),!i.snapElements[f].snapping&&(o||r||s||a||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[f].item})),i.snapElements[f].snapping=o||r||s||a||h)}}),e.ui.plugin.add("draggable","stack",{start:function(t,n,i){var o,r=i.options,s=e.makeArray(e(r.stack)).sort(function(t,n){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(n).css("zIndex"),10)||0)});s.length&&(o=parseInt(e(s[0]).css("zIndex"),10)||0,e(s).each(function(t){e(this).css("zIndex",o+t)}),this.css("zIndex",o+s.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,n,i){var o=e(n.helper),r=i.options;o.css("zIndex")&&(r._zIndex=o.css("zIndex")),o.css("zIndex",r.zIndex)},stop:function(t,n,i){var o=i.options;o._zIndex&&e(n.helper).css("zIndex",o._zIndex)}});e.ui.draggable;
/*!
 * jQuery UI Droppable 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */e.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,n=this.options,i=n.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});t=arguments[0]},this._addToManager(n.scope),n.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var t=e.ui.ddmanager.droppables[this.options.scope];this._splice(t)},_setOption:function(t,n){if("accept"===t)this.accept=e.isFunction(n)?n:function(e){return e.is(n)};else if("scope"===t){var i=e.ui.ddmanager.droppables[this.options.scope];this._splice(i),this._addToManager(n)}this._super(t,n)},_activate:function(t){var n=e.ui.ddmanager.current;this._addActiveClass(),n&&this._trigger("activate",t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this._removeActiveClass(),n&&this._trigger("deactivate",t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(n)))},_drop:function(t,n){var i=n||e.ui.ddmanager.current,o=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var n=e(this).droppable("instance");if(n.options.greedy&&!n.options.disabled&&n.options.scope===i.options.scope&&n.accept.call(n.element[0],i.currentItem||i.element)&&r(i,e.extend(n,{offset:n.element.offset()}),n.options.tolerance,t))return o=!0,!1}),!o&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(i)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var r=e.ui.intersect=function(){function e(e,t,n){return e>=t&&e<t+n}return function(t,n,i,o){if(!n.offset)return!1;var r=(t.positionAbs||t.position.absolute).left+t.margins.left,s=(t.positionAbs||t.position.absolute).top+t.margins.top,a=r+t.helperProportions.width,l=s+t.helperProportions.height,u=n.offset.left,c=n.offset.top,p=u+n.proportions().width,f=c+n.proportions().height;switch(i){case"fit":return u<=r&&a<=p&&c<=s&&l<=f;case"intersect":return u<r+t.helperProportions.width/2&&a-t.helperProportions.width/2<p&&c<s+t.helperProportions.height/2&&l-t.helperProportions.height/2<f;case"pointer":return e(o.pageY,c,n.proportions().height)&&e(o.pageX,u,n.proportions().width);case"touch":return(s>=c&&s<=f||l>=c&&l<=f||s<c&&l>f)&&(r>=u&&r<=p||a>=u&&a<=p||r<u&&a>p);default:return!1}}}();e.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,n){var i,o,r=e.ui.ddmanager.droppables[t.options.scope]||[],s=n?n.type:null,a=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(i=0;i<r.length;i++)if(!(r[i].options.disabled||t&&!r[i].accept.call(r[i].element[0],t.currentItem||t.element))){for(o=0;o<a.length;o++)if(a[o]===r[i].element[0]){r[i].proportions().height=0;continue e}r[i].visible="none"!==r[i].element.css("display"),r[i].visible&&("mousedown"===s&&r[i]._activate.call(r[i],n),r[i].offset=r[i].element.offset(),r[i].proportions({width:r[i].element[0].offsetWidth,height:r[i].element[0].offsetHeight}))}},drop:function(t,n){var i=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&r(t,this,this.options.tolerance,n)&&(i=this._drop.call(this,n)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,n)))}),i},dragStart:function(t,n){t.element.parentsUntil("body").on("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)})},drag:function(t,n){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var i,o,s,a=r(t,this,this.options.tolerance,n),l=!a&&this.isover?"isout":a&&!this.isover?"isover":null;l&&(this.options.greedy&&(o=this.options.scope,(s=this.element.parents(":data(ui-droppable)").filter(function(){return e(this).droppable("instance").options.scope===o})).length&&((i=e(s[0]).droppable("instance")).greedyChild="isover"===l)),i&&"isover"===l&&(i.isover=!1,i.isout=!0,i._out.call(i,n)),this[l]=!0,this["isout"===l?"isover":"isout"]=!1,this["isover"===l?"_over":"_out"].call(this,n),i&&"isout"===l&&(i.isout=!1,i.isover=!0,i._over.call(i,n)))}})},dragStop:function(t,n){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}},!1!==e.uiBackCompat&&e.widget("ui.droppable",e.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});e.ui.droppable}),
/*!
* jQuery Cookie Plugin
* https://github.com/carhartl/jquery-cookie
*
* Copyright Klaus Hartl
* Released under the MIT license
*/
function(e){e.cookie=function(t,n,i){if(void 0===n){var o=null;if(document.cookie&&""!=document.cookie)for(var r=document.cookie.split(";"),s=0;s<r.length;s++){var a=e.trim(r[s]);if(a.substring(0,t.length+1)==t+"="){o=decodeURIComponent(a.substring(t.length+1));break}}return o}i=i||{},null===n&&(n="",(i=e.extend({},i)).expires=-1);var l,u="";i.expires&&("number"==typeof i.expires||i.expires.toUTCString)&&("number"==typeof i.expires?(l=new Date).setTime(l.getTime()+24*i.expires*60*60*1e3):l=i.expires,u="; expires="+l.toUTCString());var c=i.path?"; path="+i.path:"",p=i.domain?"; domain="+i.domain:"",f=i.secure?"; secure":"";document.cookie=[t,"=",encodeURIComponent(n),u,c,p,f].join("")}}(jQuery),
/*!
 * jQuery UI Touch Punch Improved 0.3.1
 *
 *
 * Copyright 2013, Chris Hutchinson <chris@brushd.com>
 * Original jquery-ui-touch-punch Copyright 2011, Dave Furfero
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 * jquery.ui.widget.js
 * jquery.ui.mouse.js
 */
function(e){var t=!1,n=!1;window.PointerEvent?t=!0:window.MSPointerEvent&&(n=!0);var i=t||n;if(e.support.touch="ontouchend"in document||i,e.support.touch&&e.ui.mouse){var o,r=e.ui.mouse.prototype,s=r._mouseInit,a=r._mouseDestroy;r._touchStart=function(e){o||!i&&!this._mouseCapture(e.originalEvent.changedTouches[0])||(!i||"mouse"!=e.originalEvent.pointerType&&4!=e.originalEvent.pointerType)&&(o=!0,this._touchMoved=!1,l(e,"mouseover"),l(e,"mousemove"),l(e,"mousedown"))},r._touchMove=function(e){o&&(this._touchMoved=!0,l(e,"mousemove"))},r._touchEnd=function(e){o&&(l(e,"mouseup"),l(e,"mouseout"),this._touchMoved||l(e,"click"),o=!1)},r._mouseInit=function(){var i,o=["_touchStart","_touchMove","_touchEnd"],r={};i=t?["pointerdown","pointermove","pointerup"]:n?["MSPointerDown","MSPointerMove","MSPointerUp"]:["touchstart","touchmove","touchend"];for(var a=0;a<o.length;++a)r[i[a]]=e.proxy(this,o[a]);this.element.on(r),s.call(this)},r._mouseDestroy=function(){var i,o=["_touchStart","_touchMove","_touchEnd"],r={};i=t?["pointerdown","pointermove","pointerup"]:n?["MSPointerDown","MSPointerMove","MSPointerUp"]:["touchstart","touchmove","touchend"];for(var s=0;s<o.length;++s)r[i[s]]=e.proxy(this,o[s]);this.element.off(r),a.call(this)}}function l(t,n){if(!(!i&&t.originalEvent.touches.length>1||i&&!t.originalEvent.isPrimary)){var o,r,s,a,l,u=i?t.originalEvent:t.originalEvent.changedTouches[0],c=document.createEvent("MouseEvents"),p=(o=u,r=window.pageXOffset,s=window.pageYOffset,a=o.clientX,l=o.clientY,0===o.pageY&&Math.floor(l)>Math.floor(o.pageY)||0===o.pageX&&Math.floor(a)>Math.floor(o.pageX)?(a-=r,l-=s):(l<o.pageY-s||a<o.pageX-r)&&(a=o.pageX-r,l=o.pageY-s),{clientX:a,clientY:l});e(u.target).is("input")||e(u.target).is("textarea")?t.stopPropagation():t.preventDefault(),c.initMouseEvent(n,!0,!0,window,1,t.screenX||u.screenX,t.screenY||u.screenY,t.clientX||p.clientX,t.clientY||p.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(c)}}}(jQuery),function(){"use strict";var e=new WebKitCSSMatrix;function t(e,t,n){this.x=e,this.y=t,this.z=n}function n(n){for(var i=e,o=n;void 0!=o&&o!==o.ownerDocument.documentElement;){var r=window.getComputedStyle(o,void 0).transform||"none";i=("none"===r?e:new WebKitCSSMatrix(r)).multiply(i),o=o.parentNode}var s=n.offsetWidth,a=n.offsetHeight,l=new t(0,0,0).transformBy(i),u=new t(s,0,0).transformBy(i),c=new t(s,a,0).transformBy(i),p=new t(0,a,0).transformBy(i),f=Math.min(l.x,u.x,c.x,p.x),h=Math.min(l.y,u.y,c.y,p.y),d=n.getBoundingClientRect();return i=e.translate(window.pageXOffset+d.left-f,window.pageYOffset+d.top-h,0).multiply(i)}t.prototype.transformBy=function(n){var i=n.multiply(e.translate(this.x,this.y,this.z));return new t(i.m41,i.m42,i.m43)},window.getTransformationMatrix=n,window.convertPointFromPageToNode=function(e,i,o){return new t(i,o,0).transformBy(n(e).inverse())},window.convertPointFromNodeToPage=function(e,i,o){return new t(i,o,0).transformBy(n(e))}}(),
/*!
 * Heartcode CanvasLoader https://github.com/heartcode/CanvasLoader
 * Copyright (c) 2011 Róbert Pataki
 * Modified by ATOMI
 * Licensed under the MIT license.
 */
function(){"use strict";var e=function(e,t){void 0===t&&(t={}),this.init(e,t)},t=e.prototype,n=["oval","spiral","square","rect","roundRect"],i=/^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,o=function(e,t,n){var i,o=document.createElement(e);for(i in n)o[i]=n[i];return void 0!==t&&t.appendChild(o),o},r=function(e,t){for(var n in t)e.style[n]=t[n];return e},s=function(e,t){for(var n in t)e.setAttribute(n,t[n]);return e},a=function(e,t,n,i){e.save(),e.translate(t,n),e.rotate(i),e.translate(-t,-n),e.beginPath()};t.init=function(e,t){t||(t={}),"string"==typeof e&&(e=document.getElementById(e)),e||(e=document.body),this.cont=o("div",e),t.id&&(this.cont.id=t.id);var n=this.cont.style;n.position="absolute",n.margin="auto",n.left=n.right=n.top=n.bottom=0,n.pointerEvents="none",void 0!==t.zIndex&&(n.zIndex=t.zIndex),this.can=o("canvas",this.cont),this.con=this.can.getContext("2d"),this.cCan=r(o("canvas",this.cont),{display:"none"}),this.cCon=this.cCan.getContext("2d");var i,s,a=["shape","color","diameter","density","range","speed","text"],l=["oval","#2090e6",60,9,1,1,""];for(i=0;i<a.length;++i)this[s=a[i]]=void 0!==t[s]?t[s]:l[i];this.cRGB=this.getRGB(this.color),this.draw(),r(this.cont,{display:"none"})},t.cont={},t.can={},t.con={},t.cCan={},t.cCon={},t.timer=null,t.activeId=0,t.diameter=40,t.setDiameter=function(e){this.diameter=e<1?1:e,this.redraw()},t.getDiameter=function(){return this.diameter},t.cRGB={},t.color="#000000",t.setColor=function(e){this.color=i.test(e)?e:"#000000",this.cRGB=this.getRGB(this.color),this.redraw()},t.getColor=function(){return this.color},t.shape=n[0],t.setShape=function(e){var t;for(t in n)if(e===n[t]){this.shape=e,this.redraw();break}},t.getShape=function(){return this.shape},t.density=40,t.setDensity=function(e){this.density=Math.round(Math.abs(e)),this.density>360&&(this.density=360),this.density<2&&(this.density=2),this.activeId=0,this.redraw()},t.getDensity=function(){return this.density},t.range=1.3,t.setRange=function(e){this.range=Math.abs(e),this.redraw()},t.getRange=function(){return this.range},t.speed=2,t.setSpeed=function(e){this.speed=Math.round(Math.abs(e))},t.getSpeed=function(){return this.speed},t.text="",t.setText=function(e){this.text=e,this.textChanged=!0,this.timer&&this.tick(!0)},t.getText=function(){return this.text},t._pixelRatio=window.devicePixelRatio||1,t.getRGB=function(e){return e="#"===e.charAt(0)?e.substring(1,7):e,{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}},t.draw=function(){var e,t,i,o,l,u,c,p,f=0,h=this.density,d=Math.round(h*this.range),g=Math.max(1e3,this.cCan.width),m=this.cCon,v=this.diameter,y=.47;if(v<1&&(this.diameter=v=1),r(this.cont,{width:v+"px",height:v+"px"}),this.can.offsetWidth<1||this.can.offsetHeight<1)this._pendingDraw=!0;else{delete this._pendingDraw,m.setTransform(1,0,0,1,0,0),m.clearRect(0,0,g,g);var b=Math.round(v*this._pixelRatio);for(s(this.can,{width:b,height:b}),r(this.can,{width:"100%",height:"100%"}),s(this.cCan,{width:b,height:b}),m.scale(this._pixelRatio,this._pixelRatio);f<h;){switch(p=f<=d?1-1/d*f:p=0,u=(270-360/h*f)/180*Math.PI,m.fillStyle="rgba("+this.cRGB.r+","+this.cRGB.g+","+this.cRGB.b+","+p.toString()+")",this.shape){case n[0]:case n[1]:e=.07*v,o=v*y+Math.cos(u)*(v*y-e)-v*y,l=v*y+Math.sin(u)*(v*y-e)-v*y,m.beginPath(),this.shape===n[1]?m.arc(.5*v+o,.5*v+l,e*p,0,2*Math.PI,!1):m.arc(.5*v+o,.5*v+l,e,0,2*Math.PI,!1);break;case n[2]:e=.12*v,o=Math.cos(u)*(v*y-e)+.5*v,l=Math.sin(u)*(v*y-e)+.5*v,a(m,o,l,u),m.fillRect(o,l-.5*e,e,e);break;case n[3]:case n[4]:i=.27*(t=.3*v),o=Math.cos(u)*(i+.13*(v-i))+.5*v,l=Math.sin(u)*(i+.13*(v-i))+.5*v,a(m,o,l,u),this.shape===n[3]?m.fillRect(o,l-.5*i,t,i):(c=.55*i,m.moveTo(o+c,l-.5*i),m.lineTo(o+t-c,l-.5*i),m.quadraticCurveTo(o+t,l-.5*i,o+t,l-.5*i+c),m.lineTo(o+t,l-.5*i+i-c),m.quadraticCurveTo(o+t,l-.5*i+i,o+t-c,l-.5*i+i),m.lineTo(o+c,l-.5*i+i),m.quadraticCurveTo(o,l-.5*i+i,o,l-.5*i+i-c),m.lineTo(o,l-.5*i+c),m.quadraticCurveTo(o,l-.5*i,o+c,l-.5*i))}m.closePath(),m.fill(),m.restore(),++f}this.con.textAlign="center",this.con.textBaseline="middle",this.con.font="bold "+this.detectFontSize()+"px Arial",this.con.fillStyle="rgb("+this.cRGB.r+","+this.cRGB.g+","+this.cRGB.b+")",this.timer&&this.tick(!0)}},t.clean=function(){var e=Math.max(1e3,this.can.width),t=this.con;t.save(),t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,e,e),t.restore()},t.redraw=function(){this.clean(),this.draw()},t.reset=function(){this.timer&&(this.hide(),this.show())},t.detectFontSize=function(){if(this.diameter<90){if(this.shape.toLowerCase().indexOf("rect")>-1){if(this.diameter<65)return 8;if(this.diameter<80)return 10}return 12}return this.diameter<120?14:this.diameter<140?18:22},t.tick=function(e){if(e&&delete this.prevTime,!(this.can.offsetWidth<1||this.can.offsetHeight<1))if(this._pendingDraw)this.draw();else{var t,n=this.con,i=this.diameter,o=Date.now();i<1&&(this.diameter=i=1);var r=this.cont.getBoundingClientRect().width;if(r){var s=window.devicePixelRatio||1;if(Math.abs(r-i)>1&&(s*=r/i),s!=this._pixelRatio)return this._pixelRatio=s,void this.draw()}if(this.prevTime){if((t=Math.floor((o-this.prevTime)*this.speed/100))===this.density&&(t=this.density-1),!t&&!this.textChanged)return;this.activeId+=360/this.density*t,t&&(this.prevTime=100*t/this.speed+this.prevTime)}else this.prevTime=o;var l=i*this._pixelRatio;n.clearRect(0,0,l+1,l+1),a(n,.5*l,.5*l,this.activeId/180*Math.PI),n.drawImage(this.cCan,0,0,l,l),n.restore(),this.text&&(n.save(),n.scale(this._pixelRatio,this._pixelRatio),n.fillText(this.text,i/2,i/2),n.restore(),this.textChanged=!1)}},t.show=function(){if(!this.timer){this.prevTime=null;var e=this,t=function(){e.tick(),e.timer=requestAnimationFrame(t)};t(),r(this.cont,{display:"block"})}},t.hide=function(){this.timer&&(cancelAnimationFrame(this.timer),delete this.timer,this.prevTime=null,r(this.cont,{display:"none"}))},t.kill=function(){this.hide(),this.cont.parentNode&&this.cont.parentNode.removeChild(this.cont)},document.createElement("canvas").getContext&&(window.CanvasLoader=e)}();/*!
 * Copyright (c) Atomi Systems, Inc. All rights reserved.
 * Version: 10.1.0
 * Date: 2025.10.24
 */
function onYouTubeIframeAPIReady(){AtomiAP.onYouTubeIframeAPIReady()}function on3DModelLibReady(){AtomiAP.on3DModelLibReady()}!function(t){"use strict";t=t.noConflict(!0);var i={u:0,M:2,_:3,T:4,C:8,S:10,O:11,P:13,I:14,R:15,N:16,D:17,Y:18,X:19,L:21,F:22,H:23,U:24,B:25,G:26,V:27,K:32,j:90,q:91,J:92,tt:28,et:29,nt:30},s={rt:1,ht:2,B:3,ot:0,ut:5,ft:12,dt:16,vt:17,pt:18,gt:1,Mt:2,bt:3,wt:4,_t:5,yt:6,kt:7,Tt:8},e=1<<29,n=1<<28,r=1<<20,a=1<<19,h=1<<18,o=65536,u=32768,f=0,c=1,l=2,d=0,v=1,p=2,m=3,g=4,M=5,b=6,w=7,_=0,y=2,k=4,T=8,x=16,C=32,S=64,E=128,O=256,P=512,I=1024,R=2048,N=4096,A=0,D=0,Y=1,X=2,L=3,F=4,H=0,U=1,B=2,Z=3,z=4,G=5,V=0,W=1,$=2,K=3,j=4,Q={VISIBLE:0,HIDDEN:1,AUTO:2},q=500,J=501,tt=1,it=2,st=3,et=1,nt=2,rt=3,at=4,ht=1,ot=2,ut=3,ft={xt:1,Ct:2,St:8},ct={NONE:0,ARROW:1,OPEN:2,STEALTH:3,DIAMOND:4,OVAL:5},lt=1,dt=2,vt=4,pt=8,mt=32,gt=64,Mt=256,bt=512,wt={Et:0,Ot:1,Pt:2,M:3,It:8,Rt:9},_t=0,yt=1,kt=1,Tt=2,xt=3,Ct={Nt:0,At:1,Dt:3,rt:4,ht:5,Yt:6,I:7,Xt:8,Lt:9,X:10,K:11},St={Ft:1,Ht:2,Ut:3,Bt:4,Zt:5,zt:6,Gt:7,Vt:8,Wt:9},Et={$t:0,Kt:1,jt:2,Qt:3,qt:4,Xt:5,Jt:6},Ot=1,Pt=2,It=4,Rt=8,Nt=16,At=-1,Dt={3:"ap-click",4:"ap-dblclick",6:"ap-rollover",7:"ap-rollout",10:"ap-keypress",12:"ap-textenter",15:"ap-beforeload",16:"ap-load",17:"ap-unload",21:"ap-check",23:"ap-correct",24:"ap-incorrect",25:"ap-complete",26:"ap-incomplete",27:"ap-timeout",29:"ap-accept",30:"ap-reject",32:"ap-swipeleft",33:"ap-swiperight",34:"ap-swipeup",35:"ap-swipedown",36:"ap-dragstart",37:"ap-dragend",38:"ap-dragenter",39:"ap-dragleave",40:"ap-timer-complete",41:"ap-uncheck",42:"ap-play",43:"ap-pause",44:"ap-ended",45:"ap-change",46:"ap-changing",47:"ap-change",48:"ap-change",49:"ap-dragout"},Yt={ii:1,si:2,ei:3,ni:5,ri:6,oi:7,fi:8,ci:9,li:12,vi:13,pi:14,gi:15,Mi:16,bi:19,wi:20,_i:26,yi:27,At:28,ki:29,Ti:30,xi:31,Ci:32,Nt:33,Si:34,Ei:35,Oi:36,Pi:37,Ii:38,Ri:39,Ni:40,Ai:41,Di:42,Yi:43,Xi:44,Li:45,Fi:46,Hi:47,Ui:48,Bi:49,Zi:50,zi:51,Gi:52,Vi:54},Xt={Wi:0,$i:1,Ki:2,ji:3,Qi:4,qi:5},Lt=0,Ft=1,Ht=2,Ut=3,Bt=0,Zt=2,zt=3,Gt=0,Vt=1,Wt=2,$t=3,Kt=4,jt=5,Qt=8,qt={Ji:1,ss:10,es:20,ns:30,os:40,us:50,fs:60,ls:70,ds:80,vs:90,ps:1e3,ms:2500,gs:3500,Ms:3510,bs:4e3,ws:4010},Jt={"-1":"auto",0:"none",1:"default",5:"crosshair",6:"pointer",7:"text",11:"not-allowed",16:"help",18:"nesw-resize",19:"ns-resize",20:"nwse-resize",21:"ew-resize",22:"all-scroll",24:"wait"},ti={_s:0,ys:1,ks:2,Ts:3,xs:4,Cs:5,Ss:6},ii={Demo:1,Tutorial:2,Practice:4,Test:8},si=0,ei=1,ni=2,ri=3,ai=1,hi=2,oi=3,ui=4,fi=5,ci=6,li=7,di=8,vi=9,pi=10,mi=11,gi=12,Mi=13,bi=14,wi=1,_i=2,yi=3,ki={ACTUAL_SIZE:0,AUTOFIT:1,FULLSCREEN:2},Ti={BOOLEAN:0,TEXT:1,NUMBER:2,COMMAND:3},xi=0,Ci=1,Si=0,Ei=1,Oi=0,Pi=1,Ii=2,Ri=3,Ni={Es:3,Os:4},Ai=0,Di=1,Yi=0,Xi=1,Li=2,Fi=-2,Hi=-1,Ui=1e3,Bi=1e-7,Zi=5e3,zi="string",Gi="http://www.w3.org/2000/svg",Vi="userSpaceOnUse",Wi=Math.PI,$i=Math.abs,Ki=Math.sqrt,ji=Math.pow,Qi=Math.min,qi=Math.max,Ji=Math.cos,ts=Math.sin,is=Math.asin,ss=Math.tan,es=Math.atan2,ns=Math.round,rs=Math.floor,as=Math.ceil,hs=t.noop,os=t.extend,us=t.isFunction,fs=t.isNumeric,cs=Date.now||(Date.now=function(){return(new Date).getTime()}),ls=window.document,ds=window.requestAnimationFrame,vs=window.cancelAnimationFrame,ps=["Webkit","Moz","ms","O"],ms=["webkit","moz","ms","o"],gs={},Ms={},bs=ls.createElement("div");function ws(t){ws.disabled||window.console&&console.log(t)}function _s(t,i,s){return Qi(qi(t,i),s)}function ys(t,i,s){return arguments.length<3&&(s=Bi),i-s<=t&&t<=i+s}function ks(t,i){1==arguments.length&&(i=t);var s,e,n,r=[],a=[];for(s=0;s<t;++s)r.push(s);for(s=t;i>0;)e=Math.floor(Math.random()*s),--s,n=r[e],s!=e&&(r[e]=r[s],r[s]=n),a.push(n),--i,0==s&&(s=t);return a}function Ts(t,i){bs.textContent=t;var s=bs.innerHTML;return i?s.replace(/\n/g,"<br />"):s}function xs(t){return bs.innerHTML=t,bs.textContent||""}function Cs(t,i){return ns(t*ji(10,i))/ji(10,i)}function Ss(i,s){var e=t("<div><div>"+i.html+"</div></div>");e[0].firstChild.style.cssText=i.css,t("*",e).each(function(){if(this.style&&this.style.fontSize){var i=this.style.fontSize,e=i.match(/\D+$/);if(!(e=e&&e[0])||e.search(/inherit|%|em/i)>-1)return;var n=parseFloat(i);if(isNaN(n)){var r=t(this);r.css("font-size",parseFloat(r.css("font-size"))*s)}else n*=s,this.style.fontSize=n+e}}),e=e[0].firstChild,i.css=e.cssText,i.html=e.innerHTML}function Es(t,i,s){for(var e=t.parentNode,n=s.words?t.nodeValue.split(/(\s+)/):t.nodeValue,r=0,a=n.length;r<a;++r){var h,o,u=n[r];if(u)u.trim()?(h=ls.createElement("div"),o=ls.createTextNode(u),h.appendChild(o),h.style.display="inline-block",h.style.position="relative",i[s.words?"words":"chars"].push(h),s.words&&s.chars&&Es(o,i,{chars:!0})):h=ls.createTextNode(u),e.insertBefore(h,t)}e.removeChild(t)}function Os(t){t=rs(t/1e3);var i=rs(t/3600),s=rs(t%3600/60),e=t%60;return i<10&&(i="0"+i),s<10&&(s="0"+s),e<10&&(e="0"+e),i+":"+s+":"+e}function Ps(t){var i,s;return t.indexOf(":")>=0?s=(i=t.split(":")).length-3:(i=t.match(/(\d+h)?(\d+m)?((\d*\.)?\d+s)?/i))[0]&&(s=1),void 0!==s?1e3*(3600*(parseFloat(i[s])||0)+60*(parseFloat(i[s+1])||0)+(parseFloat(i[s+2])||0)):parseInt(t)}function Is(t){return t*Wi/180}function Rs(t,i){for(var s in i)t.setAttribute(s,i[s])}function Ns(t,i,s,e){var n="";if(i||s){var r="";e&&t.style[Bs]&&(t.Ps?delete t.Ps:(t.Ps=!0,r="translate(0px, 0px) ")),n=r+"scale("+(i?-1:1)+", "+(s?-1:1)+")"}t.style[Bs]=n,e&&(t.style[zs]=n?"center":"")}function As(t,i,s,e){return void 0===i?typeof t===zi?t:As(t>>16&255,t>>8&255,255&t,(t>>24&255)/255):void 0===e||1===e?"rgb("+ns(t)+","+ns(i)+","+ns(s)+")":"rgba("+ns(t)+","+ns(i)+","+ns(s)+","+e.toFixed(6)+")"}ws.disabled=!0;var Ds=/[a-zA-Z%]+$/;function Ys(t){var i={unit:null};return typeof t===zi?(i.value=parseFloat(t),i.unit=t.match(Ds),i.unit&&(i.unit=i.unit[0])):i.value=t,i}function Xs(t,i,s,e){if(i in t||!i)return i;var n,r,a=i.charAt(0).toUpperCase()+i.slice(1),h=s.length;for(r=0;r<h;++r)if((n=s[r]+a)in t)return n;return e?"":i}function Ls(t,i,s){return Xs(t,i,ms,s)}function Fs(t,i,s){return Xs(t,i,ps,s)}function Hs(t,i){var s=Fs(bs.style,t,!0);return!!s&&(gs[t]=s,bs.style[s]=i,!(!bs.style[s]||"none"==bs.style[s])||!!(s==t&&(s="Webkit"+t.charAt(0).toUpperCase()+t.slice(1))in bs.style&&(bs.style[s]=i,bs.style[s]))&&(gs[t]=s,!0))}function Us(t,i){try{return t.toLocaleLowerCase(i).normalize()}catch(i){return t.toLowerCase().normalize()}}ds||(ds=window[Ls(window,"requestAnimationFrame")],vs=window[Ls(window,"cancelAnimationFrame")]||window[Ls(window,"cancelRequestAnimationFrame")],ds||(ds=function(t){var i=cs(),s=t.requestAnimationFrameTime?qi(0,16-(i-t.requestAnimationFrameTime)):0;return t.requestAnimationFrameTime=i+s,window.setTimeout(function(){t(cs())},s)},vs=function(t){clearTimeout(t)}),window.requestAnimationFrame=ds,window.cancelAnimationFrame=vs),Ms.clipPath=Hs("clipPath","inset(10%)"),Ms.maskImage=Hs("maskImage","linear-gradient(rgba(0, 0, 0, 1.0), transparent)"),Ms.filter=Hs("filter","contrast(200%)"),Ms.perspective=Hs("perspective","100px"),Ms.perspectiveOrigin=Hs("perspectivOrigin","100px 100px");var Bs=gs.transform=Fs(bs.style,"transform"),Zs="translate3d",zs=gs.transformOrigin=Fs(bs.style,"transformOrigin"),Gs=Ms.perspective?gs.perspective:"perspective",Vs=Ms.perspectiveOrigin?gs.perspectiveOrigin:"perspectiveOrigin",Ws=Ls(ls,"hidden",!0),$s=Ms.clipPath?gs.clipPath:"clip",Ks=Ms.maskImage?gs.maskImage:"maskImage",js=Ms.filter?gs.filter:"filter",Qs=Ms.clipPath?"inset(":"rect(";function qs(t,i){var s=void 0!==i;s||(i=t[Bs]||""),i.indexOf(Zs)<0&&(s=!0,i=Zs+"(0px, 0px, 0px) "+i),s&&(t[Bs]=i)}function Js(t,i,s,e,n,r){if(typeof t==zi)return t;for(var a,h="",o=i+e/2,u=s+n/2,f=[],c=0,l=t.length;c<l;++c){for(var d=t[c],v=[],p=0,m=d.length;p<m;++p)a=Se.rotatePoint(d[p][0]/100*e+i,d[p][1]/100*n+s,r,o,u),v.push(a);f.push(v)}for(Se.browser.chromiums&&function(t,i,s,e,n,r){var a=[];i-=100,s-=100,e+=200,n+=200;for(var h=[],o=0;o<4;++o){var u=i,f=s;1==o?u=i+e:2==o?(u=i+e,f=s+n):3==o&&(u=i,f=s+n);var c=Se.rotatePoint(u,f,r,i+e/2,s+n/2);h.push(c),a.push(c)}for(o=h.length-2;o>0;--o)a.push({x:h[o].x,y:h[o].y});t.push(a)}(f,i,s,e,n,r),c=0,l=f.length;c<l;++c)if(m=(v=f[c]).length){for(h+=" M",p=0;p<m;++p)h+=" "+(a=v[p]).x+" "+a.y;h+=" Z"}return h?'path("'+h+'")':h}var te=function(){for(var t=["fullscreenEnabled fullscreenElement requestFullscreen exitFullscreen fullscreenchange fullscreenerror".split(" "),"webkitFullscreenEnabled webkitFullscreenElement webkitRequestFullscreen webkitExitFullscreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozFullScreenEnabled mozFullScreenElement mozRequestFullScreen mozCancelFullScreen mozfullscreenchange mozfullscreenerror".split(" "),"msFullscreenEnabled msFullscreenElement msRequestFullscreen msExitFullscreen MSFullscreenChange MSFullscreenError".split(" ")],i={},s=0,e=0,n=t.length;e<n;++e)if(t[e][0]in ls){s=e;break}for(e=0,n=t[0].length;e<n;++e)i[t[0][e]]=t[s][e];return t=null,{fullscreenEnabled:function(){return ls[i.fullscreenEnabled]},fullscreenElement:function(){return ls[i.fullscreenElement]},requestFullscreen:function(t){var s=i.requestFullscreen;if(t[s])return t[s]();t.webkitEnterFullscreen&&t.webkitEnterFullscreen()},isElementSupportFullscreen:function(t){return!!t[i.requestFullscreen]||!!t.webkitEnterFullscreen},exitFullscreen:function(){var t=i.exitFullscreen;if(ls[t])return ls[t]();element.webkitExitFullscreen&&element.webkitExitFullscreen()},addEventListener:function(t,s,e){return ls.addEventListener(i[t]||t,s,e)},removeEventListener:function(t,s,e){return ls.removeEventListener(i[t]||t,s,e)}}}();function ie(){var t,i=function(){this.$init.apply(this,arguments)},s=[i.prototype],e=0,n=null;for(us(arguments[0])&&((n=arguments[0]).childClasses||(n.childClasses=[]),n.childClasses.push(i),e=1,s.push(n.prototype)),t=arguments.length;e<t;++e)s.push(arguments[e]);return os.apply(null,s),i.prototype.$init||(i.prototype.$init=hs),i.prototype.constructor=i,i.parentClass=n,i.childClasses=[],i.extend=se,i}function se(t,i,s){t=t||{},arguments.length<2&&(i=!0),arguments.length<3&&(s=!1);var e,n,r,a=this.prototype,h={};for(e in t)void 0!==(n=t[e])&&(void 0===(r=a[e])?a[e]=n:i&&(h[e]=r,a[e]=n));var o,u,f,c,l=this.childClasses;for(o=0,u=l.length;o<u;++o){if(f=l[o],i&&!s){c={},a=f.prototype;for(e in h)a[e]===h[e]&&(c[e]=t[e]);f.extend(c,!0,!1)}f.extend(t,s,s)}return this}var ee=ie({$init:function(){this.clear()},add:function(t){var i={n:null,p:this.Is,d:t};this.Is?this.Is.n=i:(this.Rs=i,this.Ns.front&&(this.Ns.n=i)),this.Is=i,this.Ns.back&&(this.Ns.p=i)},As:function(t,i,s){for(var e=this.Rs;e;){if((i?t(e.d):e.d===t)&&(e.p?e.p.n=e.n:this.Rs=e.n,e.n?e.n.p=e.p:this.Is=e.p,this.Ns.n===e&&(this.Ns.n=e.n),this.Ns.p===e&&(this.Ns.p=e.p),!s))return;e=e.n}},remove:function(t,i){this.As(t,!1,i)},removeIf:function(t,i){this.As(t,!0,i)},empty:function(){return!this.Rs},clear:function(){this.Rs=this.Is=null,this.toFront()},toFront:function(){this.Ns={n:this.Rs,p:null,front:1}},toBack:function(){this.Ns={n:this.null,p:this.Is,back:1}},next:function(){var t=this.Ns.n;return t?(this.Ns=t,t.d):(this.toBack(),null)},previous:function(){var t=this.Ns.p;return t?(this.Ns=t,t.d):(this.toFront(),null)},hasNext:function(){return!!this.Ns.n},hasPrevious:function(){return!!this.Ns.p}}),ne={INITIAL:0,LOADING:1,LOADED:2,ERROR:3,TIMEOUT:4};function re(t){if(!t.type){var i=t.url.substr(t.url.lastIndexOf(".")+1).toLowerCase(),s=i.lastIndexOf("?");s>-1&&(i=i.substring(0,s)),"js"!==i&&"css"!==i&&(i="image"),t.type=i}t.node||(t.node="image"===t.type?new Image:ls.createElement("js"===t.type?"script":"link"));var e,n,r,a,h=t.node,o=function(t){t||(h.removeEventListener("load",u,!1),h.removeEventListener("error",u,!1)),e&&clearTimeout(e)&&(e=null)},u=(n=o,r=t,a="load",function(t){n(!t),r.progress=1,t?t.type===a?(r.status=ne.LOADED,r.onLoad&&r.onLoad()):(r.status=ne.ERROR,ws("Error loading "+r.url+", event "+t.type+(r.node.error?", error "+r.node.error.code:"")),r.onError&&r.onError()):(r.status=ne.TIMEOUT,ws("Timeout loading "+r.url),r.onTimeout&&r.onTimeout()),r.onComplete&&r.onComplete()});switch(h.addEventListener("load",u,!1),h.addEventListener("error",u,!1),isNaN(t.maxTime)||(e=setTimeout(u,1e3*t.maxTime)),t.cancel=function(){return"image"===this.type&&(o(!1),this.node.src="",!0)},t.progress=0,t.status=ne.LOADING,t.type){case"js":h.type="text/javascript",h.src=t.url;break;case"css":h.rel="stylesheet",h.type="text/css",h.href=t.url;break;default:h.src=t.url}"image"!==t.type&&(ls.head||ls.getElementsByTagName("head")[0]||ls.documentElement).insertBefore(h,null);return t}var ae=ie({$init:function(t){this.started=!1,this.paused=!1,this.Ds=0,this.complete=!1,this.items=[],this.loadingItems=[],this.nextIdx=0,this.loadedCount=0,this.options=os({maxConnections:8,maxItemTime:10,holdCompletion:!1},t);var i=!1;(t=this.options).items&&(i=!0,this.add(t.items),delete t.items),this.paused=!!t.paused||!i,this.paused||this.load()},add:function(t){if(t){this.complete&&this.clear(),Array.isArray(t)||(t=[t]);var i,s,e,n,r=this,a=function(){var t=r.loadingItems.indexOf(this);t>-1&&(r.loadingItems.splice(t,1),++r.loadedCount,r.Ys()),r.options.onItemComplete&&r.options.onItemComplete.call(r,this),r.paused||r.complete||r.load()};for(i=0,s=t.length;i<s;++i)(e=t[i])&&(e.url||(e={url:e}),n=os({},e,{progress:0,status:ne.INITIAL,onComplete:a}),this.items.push(n));this.paused||this.load()}},load:function(t){if(this.add(t),this.paused=!1,!this.started&&(this.started=!0,this.options.onStart&&this.options.onStart.call(this),this.Ys(),!isNaN(this.options.maxTime))){var i=this;this.timeoutId=setTimeout(function(){i.timeoutId=null,i.options.onTimeout&&i.options.onTimeout.call(this)},1e3*this.options.maxTime)}var s,e;for(s=this.nextIdx,e=this.items.length;s<e&&!(this.loadingItems.length>=this.options.maxConnections);++s)this.items[s].status===ne.INITIAL?this.Xs(s):s===this.nextIdx&&++this.nextIdx},pause:function(){var t,i;if(!this.paused)for(this.paused=!0,t=this.loadingItems.length-1;t>=0;--t)(i=this.loadingItems[t])&&i.cancel()&&(this.loadingItems.splice(t,1),i.status===ne.LOADING&&(i.status=ne.INITIAL,this.nextIdx=0))},clear:function(){var t=this.paused;this.pause(),this.paused=t,this.started=this.complete=!1,this.Ds=0,this.items.length=0,this.loadingItems.length=0,this.nextIdx=0,this.loadedCount=0},progress:function(){return this.Ds},holdCompletion:function(t){void 0===t&&(t=!0),this.options.holdCompletion!==t&&(this.options.holdCompletion=t,t||this.Ys())},Ys:function(){if(this.started&&!this.complete&&!this.paused){var t=0;if(this.items.length){var i,s;for(t=this.loadedCount,i=0,s=this.loadingItems.length;i<s;++i)t+=this.loadingItems[i].progress;t/=this.items.length}else t=1;t===this.Ds&&0!==t||this.options.holdCompletion&&this.loadedCount===this.items.length||(this.Ds=t,this.options.onProgress&&this.options.onProgress.call(this,t)),this.options.holdCompletion||this.loadedCount!==this.items.length||(this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null),this.complete=!0,this.options.onComplete&&this.options.onComplete.call(this))}},Xs:function(t){var i=this.items[t];i&&(i.maxTime=this.options.maxItemTime,this.loadingItems.push(i),this.options.onItemStart&&this.options.onItemStart.call(this,i),re(i))}});os(Ms,{touch:"ontouchend"in ls,pointer:!!window.PointerEvent,msPointer:!!window.MSPointerEvent});var he,oe,ue="mousedown",fe="mouseup",ce="mousemove",le={NONE:0,LEFT:1,RIGHT:2,UP:4,DOWN:8,HORIZONTAL:3,VERTICAL:12,ALL:15};function de(t,i){return $i(t)>=$i(i)?t<0?le.LEFT:le.RIGHT:i<0?le.UP:le.DOWN}function ve(t){var i=window.pageXOffset,s=window.pageYOffset,e=t.clientX,n=t.clientY;return 0===t.pageY&&rs(n)>rs(t.pageY)||0===t.pageX&&rs(e)>rs(t.pageX)?(e-=i,n-=s):(n<t.pageY-s||e<t.pageX-i)&&(e=t.pageX-i,n=t.pageY-s),{x:e,y:n}}function pe(i,s,e,n){var r=t.Event(s,e);if(t(i).triggerHandler(r),void 0===n||n)for(;!r.isPropagationStopped()&&i;)(i=i.parent)&&t(i).triggerHandler(r)}Ms.pointer?(ue="pointerdown",fe="pointerup",ce="pointermove",he="pointercancel"):Ms.touch?(ue="touchstart",fe="touchend",ce="touchmove",he="touchcancel"):Ms.msPointer&&(ue="MSPointerDown",fe="MSPointerUp",ce="MSPointerMove",he="MSPointerCancel"),oe=fe,he&&(oe+=" "+he),os(t.event.special,{"ap-keypress":{setup:function(){var i=this,s=this.Ls(),e=".apKeypress"+this.Fs;t(s).on("keydown"+e+" keyup"+e,function(t){var s=i.prez&&i.prez(),e=i.Hs(t)&&s&&!s.eventBubbling("ap-keypress");if(i.Us(t),Me.hasKeydown(t.which)==("keydown"==t.type)){var n=Me.combinedCode(t),r=!0;i.Bs?r=i.Bs(n):s&&(r=s.Bs(n)),r&&Me.preventDefault(t),!e&&i.Zs(!1,!0)&&Me.fire(i,t)}})},teardown:function(){t(this.Ls()).off(".apKeypress"+this.Fs)}},"ap-click":{setup:function(){var i=this,s=this.Ls();this.zs=function(s){var e=t(this).data(),n=i.prez&&i.prez(),r=i.Hs(s)&&n&&!n.eventBubbling("ap-click");i.filterEvent(s)||isNaN(e.apSglClickX)||isNaN(e.apSglClickY)||$i(s.pageX-e.apSglClickX)>Se.ClickMaxDistance||$i(s.pageY-e.apSglClickY)>Se.ClickMaxDistance?i.Gs.call(this,s):(i.Us(s),i.Gs.call(this,s),(!r||i.Vs&&i.Vs("ap-click"))&&be.fire("ap-click",i,s,!1))},this.Gs=function(e){t(s).off("mouseup",i.zs).removeData("apSglClickX apSglClickY"),t(ls).off("mouseup",i.Gs)},t(s).on("mousedown.apSglClick"+this.Fs,function(s){if(!i.filterEvent(s)){var e=t(this).data();e.apSglClickX=s.pageX,e.apSglClickY=s.pageY,i.Us(s),t(this).off("mouseup",i.zs).on("mouseup",i.zs),t(ls).off("mouseup",i.Gs).on("mouseup",i.Gs)}})},teardown:function(){var i=this.Ls();t(i).off(".apSglClick"+this.Fs).removeData("apSglClickX apSglClickY"),this.zs&&(t(i).off("mouseup",this.zs),delete this.zs),this.Gs&&(t(ls).off("mouseup",this.Gs),delete this.Gs)}},"ap-dblclick":{setup:function(){var i=this,s=this.Ls();this.Ws=function(e){var n=t(this).data(),r=i.prez&&i.prez(),a=i.Hs(e)&&r&&!r.eventBubbling("ap-click");if(i.filterEvent(e)||isNaN(n.apDblClickX)||isNaN(n.apDblClickY)||$i(e.pageX-n.apDblClickX)>Se.ClickMaxDistance||$i(e.pageY-n.apDblClickY)>Se.ClickMaxDistance)i.$s.call(this,e);else if(i.Us(e),a)i.$s.call(this,e);else if(t(this).off("mouseup",i.Ws).removeData("apDblClickX apDblClickY"),t(ls).off("mouseup",i.$s),n.apDblClickTrue)t(this).removeData("apDblClickTrue"),be.fire("ap-dblclick",i,e,!0);else{var h=cs()-(n.apDblClickStart||0);h>Se.DoubleClickMaxTime?(n.apDblClickTimer?(clearTimeout(n.apDblClickTimer),t(this).removeData("apDblClickStart apDblClickTimer"),be.fire("ap-dblclick",i,e,!1)):t(this).removeData("apDblClickStart apDblClickTimer"),be.fire("ap-dblclick",i,e,!1)):n.apDblClickTimer=setTimeout(function(){t(s).removeData("apDblClickStart apDblClickTimer"),be.fire("ap-dblclick",i,e,!1)},Se.DoubleClickMaxTime-h)}},this.$s=function(e){t(s).off("mouseup",i.Ws).removeData("apDblClickX apDblClickY apDblClickStart apDblClickTrue"),t(ls).off("mouseup",i.$s)},t(s).on("mousedown.apDblClick"+this.Fs,function(s){if(!i.filterEvent(s)){var e=t(this).data(),n=cs();e.apDblClickX=s.pageX,e.apDblClickY=s.pageY,isNaN(e.apDblClickStart)?e.apDblClickStart=n:(e.apDblClickTrue=n-e.apDblClickStart<=Se.DoubleClickMaxTime,e.apDblClickTrue?(e.apDblClickTimer&&clearTimeout(e.apDblClickTimer),t(this).removeData("apDblClickStart apDblClickTimer")):(e.apDblClickTimer&&(clearTimeout(e.apDblClickTimer),t(this).removeData("apDblClickTimer"),be.fire("ap-dblclick",i,s,!1)),e.apDblClickStart=n)),i.Us(s),t(this).off("mouseup",i.Ws).on("mouseup",i.Ws),t(ls).off("mouseup",i.$s).on("mouseup",i.$s)}})},teardown:function(){var i=this.Ls();t(i).off(".apDblClick"+this.Fs).removeData("apDblClickX apDblClickY apDblClickStart apDblClickTimer apDblClickTrue"),this.Ws&&(t(i).off("mouseup",this.Ws),delete this.Ws),this.$s&&(t(ls).off("mouseup",this.$s),delete this.$s)}},"ap-rollover":{setup:function(){if(!Se.browser.mobile){var i=this,s=this.Ls();t(s).on("mouseover.apRollover"+this.Fs,function(s){if(!i.filterEvent(s)&&i.Zs(!1,!0)){var e=i.prez&&i.prez(),n=i.Hs(s)&&e&&!e.eventBubbling("ap-rollover");i.Us(s),n||t(i).triggerHandler(t.Event("ap-rollover",{originalEvent:s.originalEvent||s}))}})}},teardown:function(){t(this.Ls()).off(".apRollover"+this.Fs)}},"ap-rollout":{setup:function(){if(!Se.browser.mobile){var i=this,s=this.Ls();t(s).on("mouseout.apRollout"+this.Fs,function(s){if(!i.filterEvent(s)&&i.Zs(!1,!0)){var e=i.prez&&i.prez(),n=i.Hs(s)&&e&&!e.eventBubbling("ap-rollout");i.Us(s),n||t(i).triggerHandler(t.Event("ap-rollout",{originalEvent:s.originalEvent||s}))}})}},teardown:function(){t(this.Ls()).off(".apRollout"+this.Fs)}},"ap-swipe":{processing:!1,setup:function(){var i=this,s=this.Ls(),e=".apSwipe"+this.Fs;t(s).on("dragstart"+e,function(t){return!1}).on(ue+e,function(s){var n=s.originalEvent;if(!(i.filterEvent(s)||t.event.special["ap-swipe"].processing||n.touches&&n.touches.length>1)){t.event.special["ap-swipe"].processing=!0;var r,a={time:cs(),pos:n.targetTouches?ve(n.targetTouches[0]):{x:n.clientX,y:n.clientY}},h={time:a.time,pos:a.pos},o=t(this).data("apSwipeDir")||le.ALL,u=function(t){n=t.originalEvent,h={time:cs(),pos:n.targetTouches?ve(n.targetTouches[0]):{x:n.clientX,y:n.clientY}},(r=de(h.pos.x-a.pos.x,h.pos.y-a.pos.y))&o&&t.preventDefault()},f=function(s){c.call(this,s),n=s.originalEvent,h.time=cs();var e=h.pos.x-a.pos.x,o=h.pos.y-a.pos.y;((r=de(e,o))&le.HORIZONTAL&&$i(e)>Se.SwipeMinDistance&&$i(o)<Se.SwipeMaxDeflection||r&le.VERTICAL&&$i(o)>Se.SwipeMinDistance&&$i(e)<Se.SwipeMaxDeflection)&&Ki(e*e+o*o)/(h.time-a.time)>Se.SwipeMinVelocity&&i.Zs(!1,!0)&&(t(i).triggerHandler(t.Event("ap-swipe",{value:{direction:r,start:a,stop:h},originalEvent:n})),t(i).triggerHandler(t.Event(function(t,i){switch(i=i||"",t){case le.LEFT:return i+"left";case le.RIGHT:return i+"right";case le.UP:return i+"up";case le.DOWN:return i+"down"}}(r,"ap-swipe"),{value:{direction:r,start:a,stop:h},originalEvent:n})))},c=function(i){t.event.special["ap-swipe"].processing=!1,t(ls).off(ce+e,u).off(fe+e,f),he&&t(ls).off(he+e,c)};t(ls).on(ce+e,u).on(fe+e,f),he&&t(ls).on(he+e,c)}}).css("touchAction","none")},teardown:function(){t(this.Ls()).off(".apSwipe"+this.Fs).css("touchAction","")}},"ap-swipeleft":{setup:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir=(s.apSwipeDir||0)|le.LEFT,this.on("ap-swipe",hs)},teardown:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir&&(s.apSwipeDir&=~le.LEFT),0===s.apSwipeDir&&t(i).removeData("apSwipeDir"),this.off("ap-swipe",hs)}},"ap-swiperight":{setup:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir=(s.apSwipeDir||0)|le.RIGHT,this.on("ap-swipe",hs)},teardown:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir&&(s.apSwipeDir&=~le.RIGHT),0===s.apSwipeDir&&t(i).removeData("apSwipeDir"),this.off("ap-swipe",hs)}},"ap-swipeup":{setup:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir=(s.apSwipeDir||0)|le.UP,this.on("ap-swipe",hs)},teardown:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir&&(s.apSwipeDir&=~le.UP),0===s.apSwipeDir&&t(i).removeData("apSwipeDir"),this.off("ap-swipe",hs)}},"ap-swipedown":{setup:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir=(s.apSwipeDir||0)|le.DOWN,this.on("ap-swipe",hs)},teardown:function(){var i=this.Ls(),s=t(i).data();s.apSwipeDir&&(s.apSwipeDir&=~le.DOWN),0===s.apSwipeDir&&t(i).removeData("apSwipeDir"),this.off("ap-swipe",hs)}}});var me={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",19:"Pause/Break",20:"Caps Lock",27:"Esc",32:"Space",33:"Page Up",34:"Page Down",35:"End",36:"Home",37:"Left Arrow",38:"Up Arrow",39:"Right Arrow",40:"Down Arrow",44:"Print Screen",45:"Insert",46:"Delete",91:"Left Windows",92:"Right Windows",93:"Windows Menu",106:"Numpad *",107:"Numpad +",108:"Separator",173:"-",110:"Numpad .",111:"Numpad /",144:"Num Lock",145:"Scroll Lock",59:";",61:"=",188:",",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ge={combinedCode:function(t,i,s,e,n){var r=0;return i&&(r|=Me.MOD_CTRL),s&&(r|=Me.MOD_SHIFT),e&&(r|=Me.MOD_ALT),n&&(r|=Me.MODE_META),r<<24|t},code:function(t){return 16777215&t},modifiers:function(t){return t>>24},modName:function(t){var i="";return t&Me.MOD_CTRL&&(i+="+Ctrl"),t&Me.MOD_SHIFT&&(i+="+Shift"),t&Me.MOD_ALT&&(i+="+Alt"),t&Me.MODE_META&&(i+=Se.browser.macOS?"+⌘":"+Win"),i.substr(1)},isMouse:function(t){var i=ge.code(t);return i>0&&i<=be.MAX_CODE},name:function(t,i){return ge.isMouse(t)?be.name(t,i):Me.name(t,i)}},Me={MOD_ALT:1,MOD_CTRL:2,MOD_SHIFT:4,MODE_META:8,SHIFT:16,CTRL:17,ALT:18,F1:112,F12:123,F4:115,F5:116,PRTSCR:44,CANCEL:3,PAUSE:19,TAB:9,BACKSPACE:8,NUMBER0:48,NUMBER9:57,A:65,Z:90,W:87,NUMPAD0:96,NUMPAD9:105,ENTER:13,SPACE:32,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT_TAB:4<<24|9,combinedCode:function(t){var i=t.which,s=t.ctrlKey,e=t.shiftKey,n=t.altKey,r=t.metaKey;switch(i){case Me.CTRL:s=!0,i=0;break;case Me.SHIFT:e=!0,i=0;break;case Me.ALT:n=!0,i=0;break;case 224:case 93:if(!Se.browser.macOS)break;case 92:case 91:r=!0,i=0;break;case Me.CANCEL:i=Me.PAUSE;break;case 186:i=59;break;case 171:case 187:i=61;break;case 189:i=173}if(!s&&!n){var a=t.originalEvent||t;a&&a.getModifierState&&a.getModifierState("AltGraph")&&(s=n=!0)}return ge.combinedCode(i,s,e,n,r)},name:function(t){var i=ge.modName(ge.modifiers(t)),s=ge.code(t),e="";return Me.NUMBER0<=s&&s<=Me.NUMBER9||Me.A<=s&&s<=Me.Z?e=String.fromCharCode(s):Me.NUMPAD0<=s&&s<=Me.NUMPAD9?e="Numpad "+(s-Me.NUMPAD0):Me.F1<=s&&s<=Me.F12?e="F"+(s-Me.F1+1):s&&(e=me[s]||""+s),i&&(e=e?i+"+"+e:i),e},hasKeydown:function(t){return t!==this.PRTSCR},shouldPreventDefault:function(t,i,s){if(s&&!i)return t!=Me.TAB&&t!=Me.SHIFT_TAB;var e=ge.modifiers(t),n=ge.code(t);return n==Me.F5||n==Me.F4||n==Me.BACKSPACE&&!i||e&Me.MOD_CTRL&&n==Me.W||e&Me.MOD_ALT&&(n==Me.HOME||n==Me.LEFT||n==Me.RIGHT)},shouldIgnoreIncorrect:function(t){return 0==ge.code(t)||t==Me.TAB||t==Me.SHIFT_TAB},preventDefault:function(t){t.preventDefault();try{t.originalEvent?t.originalEvent.keyCode=0:t.keyCode=0}catch(t){}},fire:function(i,s){t(i).triggerHandler(t.Event("ap-keypress",{value:Me.combinedCode(s),originalEvent:s.originalEvent||s}))}},be={LEFT:1,MIDDLE:2,RIGHT:3,DBLEFT:4,OUTSIDE:5,MAX_CODE:5,fromTouch:!1,combinedCode:function(t,i){var s=t.which;return i&&(s=be.DBLEFT),ge.combinedCode(s,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)},name:function(t,i){var s=ge.modName(ge.modifiers(t)),e=ge.code(t),n="";switch(i=i||Ie,e){case be.LEFT:n=i.text("LeftClick");break;case be.MIDDLE:n=i.text("MiddleClick");break;case be.RIGHT:n=i.text("RightClick");break;case be.DBLEFT:n=i.text("LeftDClick");break;case be.OUTSIDE:n=i.text("ClickOutside");break;default:n=""+e}return s&&(n=n?s+"+"+n:s),n},fire:function(i,s,e,n){s.Zs(!1,!0)&&t(s).triggerHandler(t.Event(i,{value:be.combinedCode(e,n),originalEvent:e.originalEvent||e}))}};if("mousedown"!==ue){var we=function(t){"mouse"!==t.pointerType&&4!==t.pointerType&&(be.fromTouch=!0),ls.removeEventListener(ue,we,!0)};ls.addEventListener(ue,we,!0)}function _e(t,i,s,e){return typeof s==zi?t.object(t.variable(s)):(n=e==Ni.Es?t.topSlide:e==Ni.Os?t.bottomSlide:i)&&n.object(s);var n}function ye(t,i,s){return typeof s==zi&&(s=t.variable(s)),i&&i.timeline(s)}function ke(t,s,e,n){if(function(t,i,s){var e,n,r,a,h,o,u=!1;if(!t||!t.length)return!0;var f=s.currentTarget,c=f&&f.slide;for(e=0,n=t.length;e<n;++e){var l=(r=t[e])[3];if(r[0]||0===e){if(u)break;u=!0}if(u){switch(a=l[1],h=l[0],o=!1,r[1]){case Ct.Nt:a=i.vars.get(a),l[2]?h=i.vars.get(h):i.vars.Ks(l[1])==Ti.NUMBER&&(h=Number(h));break;case Ct.At:(a=_e(i,c,a,l[2]))?h==Fi?(h=l[3],a=a.js.name()):a=a.js.id():(ws("Object not found: "+l[1]),a=h=0);break;case Ct.Dt:f&&f.attempts?(a=f.attempts(),h===Hi&&(h=f.maxAttempts())<0&&(h=1/0)):a=0;break;case Ct.I:a=s.value&&s.value.id&&s.value.id();break;case Ct.Xt:(a=_e(i,c,a,l[2]))?a=a.checked():(ws("Object not found: "+l[1]),a=h=0);break;case Ct.X:case Ct.K:(a=_e(i,c,a,l[2]))?a=a.value():(ws("Object not found: "+l[1]),a=h=0);break;case Ct.Lt:o=h;break;case Ct.ht:a=typeof h===zi?Me.name(s.value):s.value;break;default:a=s.value}switch(r[2]){case St.Ft:o=a<h;break;case St.Ht:o=a>h;break;case St.Ut:o=i.vars.Ks(l[1])==Ti.NUMBER?ys(a,h):a==h;break;case St.Bt:o=a.toLocaleLowerCase&&h.toLocaleLowerCase&&Us(a,i.Qs.language)==Us(h,i.Qs.language);break;case St.Zt:o=i.vars.Ks(l[1])==Ti.NUMBER?!ys(a,h):a!=h;break;case St.zt:o=a.toLocaleLowerCase&&h.toLocaleLowerCase&&Us(a,i.Qs.language)!=Us(h,i.Qs.language);break;case St.Gt:o=a<=h;break;case St.Vt:o=a>=h;break;case St.Wt:var d=h[0]<h[1]?h[0]:h[1],v=h[0]<h[1]?h[1]:h[0];o=a>=d&&a<=v}u=u&&o}}return u}(t[2],s,e)){var r=t[0],a=t[1],h=e.currentTarget,o=h&&h.slide;switch(r){case Yt.ii:s.pause(!0);break;case Yt.si:var u=!1;h&&h.qs&&(u=h.Js,h.qs(!1)),u||s.pause(!1);break;case Yt.ei:s.end();break;case Yt.Fi:var f=a;typeof f==zi&&(f=s.variable(f)),s.restart(1,0,f);break;case Yt.ni:s.showSlideById(a);break;case Yt.ri:typeof(c=a)===zi&&(c=s.variable(c)-1),s.showSlide(c);break;case Yt.oi:typeof(c=a)===zi&&(c=s.variable(c)),s.showSlide(s.slideIndex+c);break;case Yt.fi:var c;typeof(c=a)===zi&&(c=s.variable(c)),(c=s.slideIndex-c)>=0&&s.showSlide(c,{autoDirection:!0});break;case Yt.ci:s.historyBack();break;case Yt.li:try{var l=a;typeof l!==zi&&(l=s.variable(l[1])),(d=window.open("mailto:"+encodeURIComponent(l),"_blank"))&&(d.focus(),setTimeout(function(){!d||d.document.hasFocus&&d.document.hasFocus()||d.close()},1e3))}catch(t){ws(t)}break;case Yt.vi:try{var d,v=a[0],p=a[1];typeof v!==zi&&(v=s.variable(a[1]),p=a[2]),v.match(/\.video$/)?v=v.replace(/\.video$/,"."+Fe.te):v.match(/\.audio$/)&&(v=v.replace(/\.audio$/,"."+Fe.se)),(d=window.open(v,p))?d.focus():ws('Cannot open webpage "'+v+'" in window "'+p+'"')}catch(t){ws(t)}break;case Yt.pi:var m=s.ee(a);try{m&&m.call(h,e,s)}catch(t){ws(t)}break;case Yt.Zi:case Yt.Bi:var g=!0;case Yt.gi:case Yt.yi:case Yt.Mi:case Yt.Si:case Yt.ki:case Yt.Oi:var M,b,w,_;if(C=-2===a[0]?h&&h.dropHelper?e.value:h:_e(s,o,a[0],a[1])){if(g){var y=C.visible();a=y?a[3]:a[2]}var k,T=C.ne(function(t){return!0===t.effectAction});for(_=0;_<T.length;++_)(k=T[_]).actionData===a?(M=k,k.remove()):C.re(k),k.started()&&k.totalTime()<k.totalDuration()&&k.pause(k.totalDuration());if(g&&y!=C.visible()&&(y?C.show():C.hide()),!M){for((M=new $r).actionData=a,M.effectAction=!0,C.ae(M),_=g?0:2;_<a.length;++_)(w=a[_])&&(b=Se.createEffect(C,w[0],w[1],w[2],w[3]))&&M.addChild(b);M.addChild(new Zr(function(){setTimeout(function(){C.re(M)},0),(r===Yt.gi||r===Yt.Si||r===Yt.Oi||r===Yt.Zi)&&n&&n()},{startTime:M.duration(),duration:0}))}if(M.startTime(s.timeline.totalTime()),s.timeline.addChild(M),M.setup(),M.play(0),r===Yt.gi||r===Yt.Si||r===Yt.Oi||r===Yt.Zi)return}break;case Yt.bi:if(s.ended)break;if(typeof a[0]!==zi&&(!a[0]||a[0]<=0))s.submit();else(C=_e(s,o,a[0],a[1]))&&C.Zs(!0,!0)&&C.submit();break;case Yt.wi:if(s.ended)break;if(typeof a[0]!==zi&&(!a[0]||a[0]<=0))s.clear(!0);else(C=_e(s,o,a[0],a[1]))&&C.Zs(!0,!0)&&C.clear(!0);break;case Yt.Ei:case Yt._i:var x=a[1]<Zi&&r==Yt._i;if(s.he(a[0],a[1],a,x,r==Yt.Ei?n:null),r==Yt.Ei)return;break;case Yt.At:var C=_e(s,o,a[0],a[1]),S=a[2];S==Fi&&(S=a[3]),C&&C.state(S);break;case Yt.zi:(C=_e(s,o,a[0],a[1]))&&C.nextState(a[2]);break;case Yt.Gi:(C=_e(s,o,a[0],a[1]))&&C.previousState(a[2]);break;case Yt.Pi:return void s.startTimeline(ye(s,o,a),n);case Yt.Ti:s.startTimeline(ye(s,o,a));break;case Yt.xi:s.pauseTimeline(ye(s,o,a),!0);break;case Yt.Ci:s.pauseTimeline(ye(s,o,a),!1);break;case Yt.Hi:s.clickSequenceBack(o);break;case Yt.Ui:s.clickSequenceForward(o);break;case Yt.Nt:var E=a[1],O=a[2];a[3]?O=s.vars.get(O):s.vars.Ks(E)==Ti.NUMBER&&(O=Number(O));var P=!0;switch(a[0]){case Et.$t:s.vars.set(E,s.vars.get(E)+O);break;case Et.Kt:s.vars.set(E,s.vars.get(E)-O);break;case Et.jt:s.vars.set(E,s.vars.get(E)*O);break;case Et.Qt:s.vars.set(E,s.vars.get(E)/O);break;case Et.qt:s.vars.set(E,O);break;case Et.Xt:s.vars.set(E,!s.vars.get(E));break;case Et.Jt:var I=a[4];void 0===I&&(I="");var R=s.vars.get(E)||"";R?R+=I+O:R=O,s.vars.set(E,R);break;default:P=!1}P&&s.vars.oe(E)&&(s.ue.vars[E]=s.variable(E),s.fe(!0));break;case Yt.Ii:if(typeof(N=a[0])!==zi?(N=s.variable(a[1]),s.showFeedbackByName(N,a[2],a[3]?n:null)):s.showFeedbackById(N,a[1],a[2]?n:null),a[2])return;break;case Yt.Ri:var N;typeof(N=a)!==zi?(N=s.variable(a[1]),s.hideFeedbackByName(N)):s.hideFeedbackById(N);break;case Yt.Ni:s.reviewCourse();break;case Yt.Di:var A={showCorrect:a[2],showIncorrect:a[3],showValues:a[4],showResult:a[5]};if(typeof a[0]!==zi&&(!a[0]||a[0]<=0))s.slide&&s.slide.ce(A),s.bottomSlide&&s.bottomSlide.ce(A),s.topSlide&&s.topSlide.ce(A);else(C=_e(s,o,a[0],a[1]))&&C.ce&&C.ce(A);break;case Yt.Yi:case Yt.Xi:case Yt.Li:if(s.ended)break;(C=_e(s,o,a[0],a[1]))&&C.enabled()&&C.Qs.k==i.H&&(r==Yt.Yi?C.startTimer():r==Yt.Xi?C.pauseTimer():r==Yt.Li&&C.stopTimer());break;case Yt.Ai:var D=-1,Y=a,X=Y?Y.length:0,L=function(){++D<X&&ke(Y[D],s,e,D===X-1?n:L)};if(X>0)return void L();break;case Yt.Vi:var F=a;return typeof F===zi&&(F=s.variable(F)),void s.le(h,F,n)}n&&n()}else n&&n()}var Te=0;function xe(){return++Te}function Ce(t,i){t=(""+t).split("."),i=(""+i).split(".");var s,e,n,r=Qi(t.length,i.length);for(s=0;s<r;++s)if((e=parseInt(t[s]))!==(n=parseInt(i[s])))return e-n;return 0}var Se={version:function(){return"10.1.0"},minPrezVersion:"10.0.0",presentations:[],loadedPrezs:[],unsupportedBrowser:!1,youtubeAPIState:si,mathJaxAPIState:si,model3DLibState:si,messages:{},defaultLang:null,compatible:function(t){return Ce(this.version(),t.mpv)>=0&&Ce(t.v,this.minPrezVersion)>=0},open:function(i,s,e){return e=e||{},this.unsupportedBrowser?(t(function(){}),null):new je(i,s,e)},close:function(t){t&&t.destroy()},find:function(t){var i,s,e,n,r=this.presentations;if(typeof t===zi&&(n=t,t=ls.getElementById(n)),!n&&!t)return null;for(i=0,s=r.length;i<s;++i)if(e=r[i],n&&e.containerId===n||t&&e.container===t)return e;return null},addTranslation:function(t,i,s){this.messages[i]=t,(s||null===this.defaultLang)&&(this.defaultLang=i)},tick:function(t){var i,s,e=this.presentations;for(i=0,s=e.length;i<s;++i)e[i].tick(t)},loadYouTubeIframeAPI:function(){if(this.youtubeAPIState==si){this.youtubeAPIState=ei;var t,i=ls.createElement("script"),s=this;i.src="https://www.youtube.com/iframe_api",(t=ls.getElementsByTagName("script")[0]).parentNode.insertBefore(i,t),setTimeout(function(){var t,i;if(s.youtubeAPIState==ei)for(s.youtubeAPIState=ri,t=0,i=s.presentations.length;t<i;++t)s.presentations[t].ve()},3e4)}},onYouTubeIframeAPIReady:function(){var t,i;if(this.youtubeAPIState==ei)for(this.youtubeAPIState=ni,t=0,i=this.presentations.length;t<i;++t)this.presentations[t].ve()},loadMathJaxAPI:function(t){if(this.mathJaxAPIState==si){this.mathJaxAPIState=ei;var i,s=ls.getElementsByTagName("head")[0];(i=ls.createElement("script")).type="text/x-mathjax-config",i[window.opera?"innerHTML":"text"]='MathJax.Hub.Config({ showProcessingMessages: false, showMathMenu: false, showMathMenuMSIE: true, skipStartupTypeset: true, messageStyle: "none" });MathJax.Hub.Register.StartupHook("End", function () { AtomiAP.onMathJaxAPIReady(); });',s.appendChild(i),window.apMathJaxFontDir=t.length>0&&"/"==t.charAt(t.length-1)?t.substring(0,t.length-1):t,(i=ls.createElement("script")).type="text/javascript",i.src=t+"MathJax.js",s.appendChild(i)}},onMathJaxAPIReady:function(){var t,i;if(this.mathJaxAPIState==ei)for(this.mathJaxAPIState=ni,t=0,i=this.presentations.length;t<i;++t)this.presentations[t].ve()},load3DModelLib:function(t){if(!Se.browser.ie&&this.model3DLibState==si){this.model3DLibState=ei;var i,s=ls.getElementsByTagName("head")[0];(i=ls.createElement("script")).type="text/javascript",i.src=t+"three.js",i.onload=function(e){(i=ls.createElement("script")).type="text/javascript",i.src=t+"GLTFLoader.js",i.onload=function(e){(i=ls.createElement("script")).type="text/javascript",i.src=t+"OrbitControls.js",i.onload=function(t){AtomiAP.on3DModelLibReady()},s.appendChild(i)},s.appendChild(i)},s.appendChild(i)}},on3DModelLibReady:function(){var t,i;if(this.model3DLibState==ei)for(this.model3DLibState=ni,t=0,i=this.presentations.length;t<i;++t)this.presentations[t].ve()},pageVisible:function(){return!Ws||!ls[Ws]},onPageVisibilityChanged:function(){var t,i,s,e;if(this.pageVisible()){if(t=this.pe){for(s=0,e=t.length;s<e;++s)(i=t[s]).allPaused()&&i.pauseAll(!1);t.length=0}}else for(this.pe||(this.pe=[]),s=0,e=(t=this.presentations).length;s<e;++s)(i=t[s]).allPaused()||(i.pauseAll(!0),this.pe.push(i))},me:function(t){t.allPaused()||(t.pauseAll(!0),this.pe||(this.pe=[]),this.pe.push(t))},fullscreen:te};function Ee(t){Se.browser.iDevice&&t.addEventListener("touchstart",function(t){t.preventDefault()},!1)}function Oe(){try{for(var t=Se.presentations;t.length>0;)Se.close(t[0])}catch(t){window.removeEventListener("unload",Oe,!1)}}Se.browser={init:function(){this.initiated||(this.initiated=!0,this.ie=!!ls.documentMode,this.edge=!this.ie&&!!window.StyleMedia,this.safari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),this.iDevice=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"==navigator.platform&&navigator.maxTouchPoints>1,this.iPhone=!!navigator.userAgent.match(/iPhone/i),this.android=!!navigator.userAgent.match(/Android/i),this.mobile=this.iDevice||this.android,this.chromiums=!!window.chrome,this.macOS=navigator.platform.indexOf("Mac")>=0,this.useCSSShadow=!this.edge&&!this.ie,this.firefox=navigator.userAgent.indexOf("Firefox")>=0)}},Se.browser.init(),t(window).resize(function(){var t,i;for(t=0,i=Se.presentations.length;t<i;++t)Se.presentations[t].layout()}),window.addEventListener(Se.browser.iDevice?"pagehide":"beforeunload",Oe,!1),Se.browser.iDevice||window.addEventListener("unload",Oe,!1),t(ls).on("keydown keyup",function(t){var i,s;for(i=0,s=Se.presentations.length;i<s;++i)Se.presentations[i].Me(t)}),Ws&&t(ls).on(Ws.replace(/[H|h]idden/,"")+"visibilitychange",function(){Se.onPageVisibilityChanged()});var Pe=ie({$init:function(t){this.be=arguments.length?t:null},text:function(t){var i,s,e,n=Se.messages[this.be],r=arguments.length;if(e=n&&n[t]||(n=Se.messages[Se.defaultLang])&&n[t]||t,r>1)for(i=1;i<r;++i)s=new RegExp("\\{"+(i-1)+"\\}","g"),e=e.replace(s,arguments[i]);return e},number:function(t){var i,s=this.be||Se.defaultLang,e=""+t;return"ar"!==s&&"ar"!==s.substr(0,2)||(i="۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹".split(" "),e=e.replace(/[0-9]/g,function(t){return i[t]})),e}}),Ie=new Pe;function Re(t){return("0"+t).slice(-2)}function Ne(t){return("0"+(i=t,i+1)).slice(-2);var i}function Ae(t){return t.toString().slice(-2)}var De=/%[^\s%]+%/g,Ye=ie({$init:function(t){this.we=t,this._e={apVersion:{get:function(t){return t.version()}},apAuthor:{get:function(t){return Ts(t.author())}},apHomepage:{get:function(t){return Ts(t.homePage())}},apCopyright:{get:function(t){return Ts(t.copyright())}},apProjectName:{get:function(t){return Ts(t.name())}},apDescription:{get:function(t){return Ts(t.description(),!0)}},apPlayMode:{get:function(t){return Ts(t.ui.ye.text(t.playMode()))}},apCurrentSlideLabel:{get:function(t){return t.currentSlideLabel()}},apElapsedTime:{get:function(t){return Os(t.elapsedTime())}},apElapsedTimeMs:{get:function(t){return t.elapsedTime()}},apRemainingTime:{get:function(t){var i=t.remainingTime();return i%1e3>0&&(i+=1e3),Os(i)}},apRemainingTimeMs:{get:function(t){return t.remainingTime()}},apTotalSlides:{get:function(t){return t.slideCount()}},apTakenSlides:{get:function(t){return t.takenSlideCount()}},apReviewMode:{get:function(t){return t.isReviewingMode()}},apQuizScore:{get:function(t){return t.score()}},apQuizScorePercentage:{get:function(t){return t.percentageScore()}},apQuizMaxScore:{get:function(t){return t.maxScore()}},apQuizPassed:{get:function(t){return Ts(t.ui.ye.text(t.result()?"passed":"failed"))}},apQuizPassedBool:{get:function(t){return t.result()}},apQuizTotalInteractions:{get:function(t){return t.interactionCount()}},apQuizTakenInteractions:{get:function(t){return t.takenInteractionCount()}},apQuizUnTakenInteractions:{get:function(t){return t.interactionCount()-t.takenInteractionCount()}},apQuizCorrectInteractions:{get:function(t){return t.takenInteractionCount(Xt.Ki)}},apQuizIncorrectInteractions:{get:function(t){return t.takenInteractionCount(Xt.ji)}},apDetailedResult:{get:function(t){return t.detailedReportData(!1)}},apDetailedResult2:{get:function(t){return t.detailedReportData(!0)}},apCurrentTime:{get:function(t){var i=new Date,s=i.getHours(),e=i.getMinutes(),n=i.getSeconds();return this.nextUpdate=i.setSeconds(n+1,0),s<10&&(s="0"+s),e<10&&(e="0"+e),n<10&&(n="0"+n),s+":"+e+":"+n}},apCurrentDay:{get:function(t){var i=new Date,s=i.getDay()+1;return this.nextUpdate=i.setHours(24,0,0,0),s}},apCurrentHour:{get:function(t){var i=new Date,s=i.getHours();return this.nextUpdate=i.setHours(s+1,0,0,0),(s<10?"0":"")+s}},apCurrentMinutes:{get:function(t){var i=new Date,s=i.getMinutes();return this.nextUpdate=i.setMinutes(s+1,0,0),(s<10?"0":"")+s}},apCurrentMonth:{get:function(t){var i=(new Date).getMonth()+1;return(i<10?"0":"")+i}},apCurrentYear:{get:function(t){return("0000"+(new Date).getFullYear()).slice(-4)}},apCurrentLocaleDate:{get:function(t){return(new Date).toLocaleDateString()}},apProjectLocaleDate:{get:function(t){return(new Date).toLocaleDateString(t.Qs.language)}},apDateMMDDYYYY:{get:function(t){var i=new Date;return Ne(i.getMonth())+"/"+Re(i.getDate())+"/"+i.getFullYear()}},apDateMMDDYY:{get:function(t){var i=new Date;return Ne(i.getMonth())+"/"+Re(i.getDate())+"/"+Ae(i.getFullYear())}},apDateDDMMYYYY:{get:function(t){var i=new Date;return Re(i.getDate())+"/"+Ne(i.getMonth())+"/"+i.getFullYear()}},apDateDDMMYY:{get:function(t){var i=new Date;return Re(i.getDate())+"/"+Ne(i.getMonth())+"/"+Ae(i.getFullYear())}},apDateYYYYMMDD:{get:function(t){var i=new Date;return i.getFullYear()+"/"+Ne(i.getMonth())+"/"+Re(i.getDate())}},apDateYYMMDD:{get:function(t){var i=new Date;return Ae(i.getFullYear())+"/"+Ne(i.getMonth())+"/"+Re(i.getDate())}},apCurrentSlideIndex:{get:function(t){return t.currentSlideIndex()},set:function(t,i){return t.currentSlideIndex(i),!0},type:Ti.NUMBER},apPause:{get:function(t){return t.paused()},set:function(t,i){if(i=!!i,t.paused()!==i)return t.pause(i),!0}},apResume:{get:function(t){return!t.paused()},set:function(t,i){var s=!i;if(t.paused()!==s)return t.pause(s),!0}},apProgress:{get:function(t){return t.time()},set:function(t,i){t.time(i)},type:Ti.NUMBER},apCurrentSlideProgress:{get:function(t){return t.slideTime()},set:function(t,i){t.slideTime(i)},type:Ti.NUMBER},apSpeed:{get:function(t){return ns(100*t.speed())},set:function(t,i){t.speed(i/100)},type:Ti.NUMBER},apMute:{get:function(t){return t.muted()},set:function(t,i){t.muted(i)}},apVolume:{get:function(t){return ns(100*t.volume())},set:function(t,i){t.volume(i/100)},type:Ti.NUMBER},apCCVisible:{get:function(t){return t.closedCaptionVisible()},set:function(t,i){t.showClosedCaption(i)}},apToolbarVisible:{get:function(t){return t.toolbarVisible()},set:function(t,i){t.showToolbar(i)}},apTOCVisible:{get:function(t){return t.tocVisible()},set:function(t,i){t.showToc(i)}},apCmdNextSlide:{set:function(t,i){i&&t.nextSlide()}},apCmdPreviousSlide:{set:function(t,i){i&&t.previousSlide()}},apCmdFirstSlide:{set:function(t,i){i&&t.firstSlide()}},apCmdLastSlide:{set:function(t,i){i&&t.lastSlide()}},apCmdHistoryBack:{set:function(t,i){i&&t.historyBack()}},apCmdHistoryForward:{set:function(t,i){i&&t.historyForward()}},apCmdEnd:{set:function(t,i){i&&t.end()}},apCmdRestart:{set:function(t,i){i&&t.restart()}},apCmdShowAbout:{set:function(t,i){i&&t.showAbout()}},apSidebarVisible:{get:function(t){return t.sidebarVisible()},set:function(t,i){t.showSidebar(i)}},apLastSessionIncomplete:{get:function(t){return t.ke()}}},this.Te="apCurrentTime apCurrentDay apCurrentHour apCurrentMinutes".split(" ")},get:function(t){var i=this._e[t];if(i)return i.get?i.get(this.we):i.val},set:function(t,i){var s=this._e[t],e=!1;return s||(s=this._e[t]={}),!(s.get&&!s.set)&&(s.set?e=s.set(this.we,i):s.val!==i&&(s.val=i,e=!0),e&&this.xe(s),!0)},remove:function(t){delete this._e[t];var i=this.Te.indexOf(t);i>=0&&this.Te.splice(i,1)},has:function(t){return!!this._e[t]},Ks:function(t,i){var s=this._e[t];if(1==arguments.length)return s?s.type:void 0;2==arguments.length&&(s||(s=this._e[t]={}),s.type=i)},oe:function(t,i){var s=this._e[t];if(1==arguments.length)return s?s.userType:void 0;2==arguments.length&&(s||(s=this._e[t]={}),s.userType=i)},addObserver:function(t,i){var s,e,n;for(s=0,e=t.length;s<e;++s)(n=this._e[t[s]])&&(n.obs||(n.obs=new ee),n.obs.add(i))},removeObserver:function(t){var i,s,e=this._e;for(i in e)(s=e[i]).obs&&s.obs.remove(t,!0)},removeObserverIf:function(t){var i,s,e=this._e;for(i in e)(s=e[i]).obs&&s.obs.removeIf(t,!0)},notifyObservers:function(t){var i=this._e[t];i&&this.xe(i)},xe:function(t){var i,s=t.obs;if(s)for(s.toFront();i=s.next();)i()},replace:function(t){var i=this,s={vars:[]};return s.text=t.replace(De,function(t){var e,n,r,a=t.substring(1,t.length-1),h=a,o="",u=a.indexOf(":");return u>=0&&(h=a.substring(0,u),(e=a.substring(u+1)).length>0&&(o=e)),(n=i._e[h])?(s.vars.indexOf(h)<0&&s.vars.push(h),r=n.get?n.get(i.we):n.val,o&&(r=i.Ce(r,o)),r):t}),s},Ce:function(t,i){var s,e,n,r,a,h,o,u,f,c,l,d,v,p;if(s=parseFloat(t),isNaN(s))return String(t);if(d=String(t),h="en-US",o=!1,u=void 0,f=void 0,c=void 0,(e=0)<(n=i.length)&&("L"===(r=i.charAt(e))?(o=!0,h=this.we.Qs.language||"en-US",e++):"C"===r?(o=!0,h="en-US",e++):"D"===r?(o=!0,h="de-DE",e++):"N"===r&&(o=!1,e++)),e<n&&"I"===i.charAt(e)){for(e++,a="";e<n&&i.charAt(e)>="0"&&i.charAt(e)<="9";)a+=i.charAt(e),e++;a.length>0&&(u=parseInt(a,10))}if(e<n&&"."===i.charAt(e)&&++e<n&&"F"===i.charAt(e)){for(e++,a="";e<n&&i.charAt(e)>="0"&&i.charAt(e)<="9";)a+=i.charAt(e),e++;a.length>0&&(c=f=parseInt(a,10))}void 0===f&&void 0===c&&(v=d.indexOf("."))>=0&&(f=p=d.length-v-1,c=p),l={useGrouping:o},void 0!==u&&(l.minimumIntegerDigits=u),void 0!==f&&(l.minimumFractionDigits=f),void 0!==c&&(l.maximumFractionDigits=c);try{return s.toLocaleString(h,l)}catch(i){try{return s.toLocaleString("en-US",l)}catch(i){return String(t)}}},tick:function(t){var i,s,e;for(i=0,s=this.Te.length;i<s;++i)(e=this._e[this.Te[i]])&&t>=(e.nextUpdate||0)&&this.xe(e)}}),Xe="apElapsedTime apElapsedTimeMs apRemainingTime apRemainingTimeMs apCurrentSlideProgress apProgress";function Le(t,i){var s,e,n=i.split(" ");for(s=0,e=n.length;s<e;++s)t.notifyObservers(n[s])}var Fe=new(ie({$init:function(){var t=ls.createElement("audio"),i=ls.createElement("video");this.se="m4a",this.te="mp4",this.Se=!0,t.canPlayType&&t.canPlayType("audio/aac;").replace(/no/,"")?this.se="m4a":t.canPlayType&&t.canPlayType('audio/ogg; codecs="vorbis"').replace(/no/,"")?this.se="ogg":this.Se=!1,i.canPlayType&&i.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/no/,"")?this.te="mp4":i.canPlayType&&i.canPlayType('video/webm; codecs="vp8"').replace(/no/,"")?this.te="webm":this.Se=!1,this.Ee=!1,this.Oe=!1;try{t.playbackRate=2,this.Oe=2==t.playbackRate}catch(t){}try{t.volume=.51,this.Ee=.51==t.volume}catch(t){}this.Pe=!1;var s=this,e=t.play();void 0!==e&&e.catch(function(t){s.Pe=!0,ws("MediaManager:_requireInitMediaElements: "+s.Pe)}),ws("MediaManager:_canPlayMedia: "+this.Se),ws("MediaManager:_canChangeVolume: "+this.Ee),ws("MediaManager:_canChangePlaybackRate: "+this.Oe),ws("MediaManager:_requireInitMediaElements: "+this.Pe)},canChangeVolume:function(){return this.Ee},canChangePlaybackRate:function(){return this.Oe}}));Se.mediaManager=Fe;var He=ie({$init:function(){this.Ie=[],this.Re=[],this.Ne=[],this.Ae=1,this.De=!1,this.Ye=1,this.Xe=!1,this.Le=6,this.Fe=6,this.He=!1,this.Ue=1},Be:function(t){var i,s,e=t[1]+t[3]+t[5],n=t[0]+t[2]+t[4]+t[9];for(e*=2,n*=2,e+=this.Le+this.Fe,i=0;i<e;++i)s=ls.createElement("audio"),this.Ie.push(s);for(i=0;i<n;++i)s=ls.createElement("video"),this.Re.push(s);this.Xe=t[6]>0},Ze:function(t){this.Ne.push(t)},ze:function(t){var i=this.Ne.indexOf(t);i>-1&&this.Ne.splice(i,1)},Ge:function(){var t,i,s=this.Ne,e=1;for(t=0,i=s.length;t<i;++t){(n=s[t]).Ve>=0&&"playing"===n.js()&&(e*=(100-n.Ve)/100)}if(!(Math.abs(e-this.Ue)<1e-4))for(this.Ue=e,ws("Audio ducking volume scale: "+e),t=0,i=s.length;t<i;++t){var n;(n=s[t]).Ve>=0||(ws("Audio ducking for: "+n.We),n.volume(this.Ae*e))}},audioDuckingVolumeScale:function(){return this.Ue},playbackRate:function(t){if(!arguments.length)return this.Ye;if(Fe.canChangePlaybackRate()){this.Ye=t;var i,s,e=this.Ne;for(i=0,s=e.length;i<s;++i)e[i].playbackRate(t)}else ws("This device does not support changing playback rate")},volume:function(t){if(!arguments.length)return this.Ae;if(Fe.canChangeVolume()){this.Ae=t;var i,s,e=this.Ne;for(i=0,s=e.length;i<s;++i)e[i].volume(t)}else ws("This device does not support changing volume")},muted:function(t){if(!arguments.length)return this.De;this.De=t;var i,s,e=this.Ne;for(i=0,s=e.length;i<s;++i)e[i].muted(t)},$e:function(){var t,i,s=this.Ne,e=this.Ie.concat(this.Re);for(t=0,i=e.length;t<i;++t)e[t].muted=!1;for(t=0,i=s.length;t<i;++t)s[t].$e()},Ke:function(t){var i,s,e=this.Ne;for(i=0,s=e.length;i<s;++i)e[i].Ke(t)},je:function(){for(var t=[this.Ie,this.Re],i=0;i<t.length;++i)for(var s=t[i],e=0;e<s.length;++e){var n=s[e];n.src&&(n.removeAttribute("src"),n.load())}}}),Ue=ie({$init:function(t){this.we=t,this.Qe=[],this.qe=0,this.Je=!1},goBackward:function(t){var i=this.Qe[this.qe-1],s=!1;return i&&(this.Je=!0,--this.qe,t?void 0===t.autoDirection&&(t.autoDirection=!0):t={autoDirection:!0},s=this.we.showSlide(i,t),this.Je=!1),s},goForward:function(t){var i=this.Qe[this.qe+1],s=!1;return i&&(this.Je=!0,++this.qe,s=this.we.showSlide(i,t),this.Je=!1),s},add:function(t){t&&!this.Je&&t!=this.Qe[this.qe]&&(this.qe>=0&&this.qe<this.Qe.length-1&&(this.Qe.length=this.qe+1),this.Qe.push(t),this.qe=this.Qe.length-1)},filter:function(t){var i,s,e=this.Qe,n=[];for(i=0,s=e.length;i<s;++i)t.indexOf(e[i])>=0&&n.push(e[i]);this.Qe=n,this.qe>=n.length&&(this.qe=n.length-1)},clear:function(){this.Qe.length=0,this.qe=0,this.Je=!1},empty:function(){return 0==this.Qe.length}}),Be=/^ap-(prez|slide|ctrl)-/,Ze=new ae({onItemComplete:function(t){t.id&&t.id.tn&&t.id.tn(t.status)}});function ze(t,i,s){var e;if(t&&(t.b&&(t.b.im?(e=i.getResource(t.b.im[0],t.b.im[1]),i.sn.indexOf(e)<0&&s.push(e)):t.b.f&&t.b.f[0]===wt.M&&(e=i.getResource(t.b.f[1],t.b.f[2]),i.sn.indexOf(e)<0&&s.push(e))),t.cc))for(var n=0,r=t.cc.length;n<r;++n){var a=t.cc[n];a&&Ge(a,t,i,s)}}function Ge(t,s,e,n){var r;if(t.s)for(var a=0,h=t.s.length;a<h;++a){var o=t.s[a];o.im?(r=e.getResource(o.im[0],o.im[1]),e.sn.indexOf(r)<0&&n.push(r)):o.f&&o.f[0]===wt.M&&(r=e.getResource(o.f[1],o.f[2]),e.sn.indexOf(r)<0&&n.push(r))}if(t.k==i.T&&void 0!==t.mi&&(r=e.getImgResource(s.i+"."+t.i+(t.g?".png":".jpg")),e.sn.indexOf(r)<0&&n.push(r)),t.cc)for(a=0,h=t.cc.length;a<h;++a){var u=t.cc[a];u&&Ge(u,s,e,n)}}function Ve(t,i,s,e,n,r){r=r||n,t.addChild(new zr(i,"mediaDuration",{startTime:e,duration:0,tweenParams:[0,r]})).addChild(new zr(i,"mediaSrc",{startTime:e,duration:0,tweenParams:[-1,s]})).addChild(new zr(i,"mediaState",{startTime:e,duration:0,tweenParams:["stopped","playing"]})).addChild(new Gr(i,"mediaSeek",{startTime:e,duration:r,tweenParams:[0,1]})).addChild(new zr(i,"mediaState",{startTime:e+n,duration:0,tweenParams:["playing","stopped"]}))}function We(t,i,s){return arguments.length?new Date(t,i,s):new Date}function $e(t){try{var i=function(){var t=Array.prototype.slice.call(arguments),i=t.shift();return t.reverse().map(function(t,s){return String.fromCharCode(t-i-15-s)}).join("")}(2,147,161,78,104,143,149,161,155,153,69,154,140,134,93,156,152,141,143,144,142,127,125,148,126,137,98,139,130,122,132)+1217..toString(36).toLowerCase()+29..toString(36).toLowerCase().split("").map(function(t){return String.fromCharCode(t.charCodeAt()+-71)}).join("")+17799863..toString(36).toLowerCase()+10..toString(36).toLowerCase().split("").map(function(t){return String.fromCharCode(t.charCodeAt()+-39)}).join("")+function(){var t=Array.prototype.slice.call(arguments),i=t.shift();return t.reverse().map(function(t,s){return String.fromCharCode(t-i-11-s)}).join("")}(62,170,225,211,205,151,163,164,199,147,159,198,198,210,200,206,213,161,123,198,186,193,201,170,147,182,143,144,115,139,193,179,193,186,176,173,105);i=i.split("|"),t[i[1]](),t.ui[i[0]](i[2],!1)}catch(i){t.container.innerHTML=""}}function Ke(t){for(var i=[["I",1],["IV",4],["V",5],["IX",9],["X",10],["XL",40],["L",50],["XC",90],["C",100],["CD",400],["D",500],["CM",900],["M",1e3]],s=i.length-1,e="";t>0&&s>=0;){for(var n=i[s];t>=n[1];)e+=n[0],t-=n[1];--s}return e}var je=ie({en:function(){this.ue||(this.ue={});var t=this.ue;t.slides||(t.slides=[]),t.slideIds||(t.slideIds=[]),t.fbs||(t.fbs=[]),t.randomMap||(t.randomMap={}),t.vars||(t.vars={}),t.index=t.index||0,t.ts=t.ts||0,t.elapsedTime=t.elapsedTime||this.nn||0,void 0===t.maxVisitedIdx&&(t.maxVisitedIdx=-1),void 0===t.maxVisitedTs&&(t.maxVisitedTs=-1)},$init:function(i,s,e){var n;this.Fs=xe(),this.en(),this.rn=new Ue(this),this.vars=new Ye(this),this.timeline=null,this.transition=null,this.an=null,this.started=!1,this.ended=!1,this.hn=!1,this.sn=[],this.un=0,this.cn=0,this.ln=[],this.dn=-1,this.vn=[],this.pn=!1,this.mn=si,this.gn={},this.contentState="loading",this.destroyed=!1,this.Mn=!0,this.bn=0,this.wn=new He,i&&typeof i===zi?(this.Qs=null,this._n=i):this.Qs=i||null,typeof s===zi?(n=s,s=ls.getElementById(s)):s&&(n=s.id),this.containerId=n,this.container=s,e=e||{},this.options=e;var r=location.search;if(r){var a,h,o,u=r.substring(1).toLowerCase().split("&");for(a=0,h=u.length;a<h;++a)switch((o=u[a].split("="))[0]){case"slide":e.slide=parseInt(o[1]);break;case"time":e.time=Ps(decodeURIComponent(o[1]));break;case"slidetime":e.slideTime=Ps(decodeURIComponent(o[1]));break;case"autofit":e[o[0]]="false"!=o[1]}}var f=e.preloader;f&&f.range?f.range=f.range/1e3:f={zIndex:2,color:"#2090e6",diameter:60,density:9,range:1,speed:1},this.ui=new Se.UI(f),this.yn=(n?n.replace(Be,"")+"-":"")+this.Fs;var c=this;this.kn=new ae({maxConnections:8,maxTime:120,onItemComplete:function(t){if(c.sn.push(t.url),c.sn.length<=c.cn){if(!c.started){var i=c.sn.length/c.cn;c.ui.loadingUi.setText(rs(100*i)+"%")}}else c.un<10?c.un++:(c.un=0,c.ve())},onTimeout:function(){},onComplete:function(){c.hn=!0,c.ve()},onStart:function(){c.ui.loadingUi.show()},onProgress:function(){}}),this.slide=this.prevSlide=this.bottomSlide=this.topSlide=null,this.slideIndex=-1,this.layoutIndex=-1,this.Tn=[],this.xn=-1,s?this.Cn(s):n&&t(function(){(s=ls.getElementById(n))&&c.Cn(s)})},Sn:function(t){if(!t)return!0;if(this.Qs.hasEquation&&!t.En)return!1;if(!this.hn){var i=[];ze(t,this,i);for(var s=0,e=i.length;s<e;++s)if(this.sn.indexOf(i[s])<0)return!1}return!0},On:function(){return!this.slide||(!(!this.hn||this.Qs.hasEquation&&!this.slide.Qs.En)||this.Sn(this.slide.Qs))},Pn:function(t){t!=this.pn&&(this.pn=t,t?this.In():this.Rn())},ve:function(){if(this.Qs.hasEquation){if(Se.mathJaxAPIState==ei||Se.mathJaxAPIState==si)return;if(Se.mathJaxAPIState==ni&&this.mn==si)return void this.Nn()}if((!this.wn.Xe||Se.youtubeAPIState!=ei&&Se.youtubeAPIState!=si)&&(!this.Qs.has3DModel||Se.browser.ie||Se.model3DLibState!=ei&&Se.model3DLibState!=si))if(!this.started||this.An||this.Dn){if(this.hn||!(this.sn.indexOf(this.cssUrl())<0)){for(var t=0,i=this.Qs.pcs.length;t<i;++t){var s=this.Qs.pcs[t];if(!this.Sn(s))return}var e=isNaN(this.options.slide)?0:this.options.slide-1;if(this.Sn(this.Yn(e))){this.ui.loadingUi.hide();var n=function(){isNaN(this.options.slide)?this.start():this.start(this.options.slide,this.options.slideTime)};if(Se.youtubeAPIState==ri){var r=this;if(this.Xn)return void this.ui.showMsg(this.ui.ye.text("YouTubeError"),!0,void 0,function(){n.call(r)});alert(Ie.text("YouTubeError"))}n.call(this)}}}else this.pn&&this.On()&&this.Pn(!1)},Cn:function(t){this.destroyed||(this.container=t,this.ui.appendTo(t),Se.browser.safari&&qs(this.ui.feedbackSlides()[0].style),this.ui.loadingUi.show(),this._n?Ze.load({url:this._n,type:"js",id:this}):this.tn())},tn:function(t){if(!this.destroyed){if(this._n)if(t===ne.LOADED)this.Qs=Se.loadedPrezs.shift(),this.Qs||(this.contentState="error",this.ui.loadingUi.hide(),alert("Error parsing the presentation. Check the browser console for more information."));else{if(t!==ne.ERROR)return;this.contentState="error",this.ui.loadingUi.hide(),alert(Ie.text("LoadPrezError"))}if(this.Qs?Se.compatible(this.Qs)||(this.contentState="incompatible",this.ui.loadingUi.hide(),alert(Ie.text("IncompatiblePrez"))):this.Qs={},"loading"===this.contentState&&(this.contentState="loaded"),this.Ln())return this.ui.loadingUi.hide(),this.Fn(),void this.Hn();if(Se.presentations.push(this),void 0!==this.options.time&&void 0===this.options.slide){var i=this.Un(this.options.time);i&&(this.options.slide=i.slideIndex+1,this.options.slideTime=i.slideTime)}if(this.options.onReady&&this.options.onReady.call(this),"loaded"===this.contentState){this.resourceLocation=void 0!==this.options.resourceLocation?this.options.resourceLocation:this.Qs.options.resourceLocation||"",this.fileNamePrefix=void 0!==this.options.fileNamePrefix?this.options.fileNamePrefix:this.Qs.options.fileNamePrefix||"",this.playerResource=void 0!==this.options.playerResource?this.options.playerResource:this.Qs.options.playerResource||"";var s=this.options.playMode,e=this.wn,n=this.Qs.params;if(void 0!==this.options.autofit&&(n.DisplayMode[0]=n.DisplayMode[1]=n.DisplayMode[2]=n.DisplayMode[3]=this.options.autofit?ki.AUTOFIT:ki.ACTUAL_SIZE),this.Bn=!0,this.Qs.mcc?this.Zn=this.Qs.mcc.i||0:this.Zn=0,e.Be(this.Qs.mediaStats),this.Qs.ssid&&(this.zn=this.containerId+"-"+ii[s]+this.Qs.ssid),this.lms=this.Qs.options.lms?new Se.LMS(this):null,this.lms&&this.lms.initialize(),this.Gn(),this.nn=this.ue.elapsedTime||0,this.ue.vars)for(var r in this.ue.vars)this.ue.vars.hasOwnProperty(r)&&this.variable(r,this.ue.vars[r]);this.Vn(),this.Qs.hasEquation&&Se.loadMathJaxAPI(this.playerResource),e.Xe&&Se.loadYouTubeIframeAPI(),this.Qs.has3DModel&&Se.load3DModelLib(this.playerResource),this.Wn()}else this.ui.loadingUi.hide()}},Wn:function(){var t=function(t){var i,s,e,n,r=[],a=t.cssUrl(),h=t.Qs,o=0;for(t.sn.indexOf(a)<0&&r.push(a),h.authorImage&&(a=t.getResource(h.authorImage[0],h.authorImage[1]),t.sn.indexOf(a)<0&&r.push(a)),h.companyLogo&&(a=t.getResource(h.companyLogo[0],h.companyLogo[1]),t.sn.indexOf(a)<0&&r.push(a)),s=0,e=t.Tn.length;s<e;++s){var u=t.Tn[s];u.thumbId&&(a=t.getThumbnailResource(u.thumbId),t.sn.indexOf(a)<0&&r.push(a))}for(s=0,e=h.pcs.length;s<e;++s)(i=h.pcs[s])&&ze(i,t,r);if(h.feedbacks)for(s=0,e=h.feedbacks.length;s<e;++s)(i=h.feedbacks[s])&&ze(i,t,r);for(e=h.slides.length,((n=t.ue.index||0)<0||n>=e)&&(n=0),s=n;s<e+n;++s)(i=h.slides[s<e?s:s-e])&&ze(i,t,r),s==n+3&&(o=r.length);return e<=3&&(o=r.length),{preloadCount:o,allResources:r}}(this);this.kn.clear(),this.ui.loadingUi.hide(),this.ui.loadingUi.setText(""),this.Pn(!1),this.hn=!1,this.cn=t.preloadCount+this.sn.length,t.allResources.length&&this.kn.load(t.allResources),this.ve()},Gn:function(){if(this.lms)this.lms.loadSuspendData(),this.$n=this.lms.lastSessionIncomplete();else if(this.zn)try{var t=JSON.parse(localStorage.getItem(this.zn));t&&(this.ue=t),this.$n=!!t}catch(t){ws("Error loading suspend data: "+t)}this.en(),this.vars.notifyObservers("apLastSessionIncomplete")},fe:function(t){if(this.lms)this.lms.storeSuspendData(this.ue,t);else if(this.zn)try{this.ended?localStorage.removeItem(this.zn):localStorage.setItem(this.zn,JSON.stringify(this.ue)),this.Kn=this.ue.ts}catch(t){ws("Error saving suspend data: "+t)}},jn:function(){return this.lms?this.lms.getSuspendDataTS():this.Kn||0},ke:function(){return!!this.$n},version:function(){return this.Qs&&this.Qs.v||""},destroy:function(){if(!this.destroyed){if(this.destroyed=!0,this.started&&!this.ended){this.slide&&this.an&&(this.ue.ts=this.an.time()-this.slide.Qs.st),this.ue.elapsedTime=this.elapsedTime();var t=this.vars._e;for(var i in t)this.vars.oe(i)&&(this.ue.vars[i]=this.vars.get(i));this.fe(!0)}this.lms&&this.lms.terminate();var s=Se.presentations,e=s.indexOf(this);if(e>-1&&s.splice(e,1),this.Qn){for(var n=0;n<this.Qn.length;++n)this.Qn[n].cleanup();this.Qn.length=0}this.pauseAll(),this.qn(),this.Jn(),this.ui.destroy()}},tr:function(t){return(t?"ap-slide-":"ap-ctrl-")+this.yn+"-"},layout:function(){this.ui.layout()},setMaxContentWidth:function(t){this.ui.setMaxContentWidth(t),this.ui.layout()},ir:function(){return this.ui?this.ui.ir:1},object:function(t){var i,s,e=[];if(this.sr)for(s=this.sr.length;--s>=0;)e.push(this.sr[s]);for(e.push(this.slide,this.bottomSlide,this.topSlide),s=0;s<e.length&&!(i=e[s]&&e[s].object(t));++s);return i||null},ee:function(t){return this.Qs.f[t]},er:function(t){var i,s,e=this.Qs.slides;if(!arguments.length)return e||[];for(i=0,s=e.length;i<s;++i)if(e[i].i===t)return e[i];return null},nr:function(t){var i,s,e=this.Qs.slides;for(i=0,s=e.length;i<s;++i)if(xs(e[i].n).trim()===t)return e[i];return null},Yn:function(t){return this.Qs.slides[t]},rr:function(t){var i,s,e=this.Qs.feedbacks;if(!arguments.length)return e||[];for(i=0,s=e.length;i<s;++i)if(e[i].fbi===t)return e[i];return null},hr:function(t){var i,s,e=this.Qs.feedbacks;if(!arguments.length)return e||[];for(i=0,s=e.length;i<s;++i)if(e[i].at===t)return e[i];return null},slideId:function(t){return t>=0&&t<this.Qs.slides.length?this.Qs.slides[t].i:-1},slideCount:function(){return this.Qs.slides.length},showSlideById:function(t){return this.showSlide(this.er(t))},showFeedbackById:function(t,i,s){return this.or(!0,t,i,s)},showFeedbackByName:function(t,i,s){return this.or(!1,t,i,s)},or:function(t,i,s,e){var n=t?this.rr(i):this.hr(i);if(!n)return!1;var r=this.ur(t,i);r>=0&&this.dr(r);var a=void 0!==s&&s>=0,h=n.fbi;if(this.sr||(this.sr=[]),this.fbTransition&&(this.fbTransition.remove(),this.fbTransition.seek(this.fbTransition.totalDuration()),this.fbTransition=null),!this.slide&&this.ui){var o=this.layoutIndex<0?0:this.layoutIndex,u=n.h[o];this.ui.setSlideSize(this.Qs.l[o][0],u)}var f=new fr(this,n),c=this;if(this.sr.push(f),!a&&this.slide&&this.ue.fbs.push(h),this.vr(!!f.Qs.w),!(n.ts&&n.ts[1]>0)||this.allPaused()&&this.ended||(Se.browser.safari&&un(f.node.parentNode,Q.HIDDEN),this.fbTransition=Se.createTransition.apply(Se,[this,f,null].concat(n.ts)),this.fbTransition.addChild(new Zr(function(){var t=c.fbTransition;setTimeout(function(){t&&t.remove()},0)},{startTime:this.fbTransition.duration(),duration:0})),this.fbTransition.startTime(),f.an.addChild(this.fbTransition),this.fbTransition.setup()),a){var l=new Zr(function(){c.hideFeedbackById(h),e&&e()},{startTime:s});f.ae(l),f.an.addChild(l)}else f.pr=e;return f.an.startTime(this.timeline.totalTime()),this.timeline.addChild(f.an),f.an.setup(),f.an.play(0),f.mr(),!0},hideFeedbackById:function(t){this.dr(this.ur(!0,t))},hideFeedbackByName:function(t){this.dr(this.ur(!1,t))},dr:function(i){if(this.sr&&i>=0&&i<this.sr.length){var s=this.sr[i];if(s&&(t(s).triggerHandler("ap-unload"),s.remove(),s.pr&&s.pr(),this.slide)){var e=this.ue.fbs.indexOf(s.Qs.fbi);e>=0&&this.ue.fbs.splice(e,1)}this.sr.splice(i,1)}},hideAllFeedbacks:function(){if(this.sr)for(;this.sr.length;)this.dr(this.sr.length-1);this.ue.fbs.length=0},ur:function(t,i){if(this.sr)for(var s=t?"fbi":"at",e=0,n=this.sr.length;e<n;++e)if(this.sr[e].Qs[s]===i)return e;return-1},firstSlide:function(t){return this.showSlide(0,t)},lastSlide:function(t){return this.showSlide(this.slideCount()-1,t)},currentSlide:function(){return this.slide},nextSlide:function(t){return this.showSlide(this.slideIndex+1,t)},previousSlide:function(t){var i=this.slideIndex-1;return t?void 0===t.autoDirection&&(t.autoDirection=!0):t={autoDirection:!0},i>=0&&this.showSlide(i,t)},historyBack:function(t){return this.rn.empty()&&this.ke()?this.Mr():this.rn.goBackward(t)},historyForward:function(t){return this.rn.goForward(t)},wr:function(t){if(this.prevSlide){var i=this.prevSlide.background,s=this.slide;s&&s._r(),isNaN(t)||t<0||!i?(this.prevSlide.remove(),s&&s.yr()):(this.prevSlide.remove(!0),setTimeout(function(){i.remove(),s&&s.yr()},t)),this.prevSlide=null,this.wn.je()}},kr:function(){for(var t={},i=this.ue.slides,s=0,e=Qi(i.length,this.slideCount());s<e;++s)i[s]&&(t[s]=!0);return t},showClosedCaption:function(i){arguments.length||(i=!0),this.Bn=i,this.Tr&&t(this.Tr.node).css("visibility",i?"visible":"hidden"),this.vars.notifyObservers("apCCVisible"),t(this.ui).trigger("ap-cc",[i])},closedCaptionVisible:function(){return!!this.Bn},closedCaptionLanguageIndex:function(i){if(!arguments.length)return this.Zn;this.Zn=i,this.slide&&this.slide.reloadClosedCaption();var s=-1!=i;this.showClosedCaption(s),t(this.ui).trigger("ap-tool-multiple-language-cc",i)},xr:function(t){var i,s;t?(i=this.slide,s=this.prevSlide):(i=this.prevSlide,s=this.slide),i&&(i.node.style.zIndex=qt.ss,i.background&&(i.background.node.style.zIndex=qt.Ji)),s&&(s.node.style.zIndex=qt.os,s.background&&(s.background.node.style.zIndex=qt.es))},Cr:function(t,i){if(t)for(var s=0,e=t.length;s<e;++s){var n=t[s];n&&(n.mi&&i.push({ctrl:n}),this.Cr(n.cc,i))}},Sr:function(t){this.qn();var s,e,n,r,a=this.Yn(t),h=[];if(a&&a.cc){for(this.Cr(a.cc,h),e=0,n=h.length;e<n;++e)(r=h[e].ctrl)&&((s=new Gn(this,r.k==i.T,r)).Er("Preload "+r.n),s.Or(!0),s.loadResource(r.mi),h[e].player=s);this.ln=h,this.dn=t}},qn:function(){var t,i,s=this.ln;for(t=0,i=s.length;t<i;t++)s[t].player.cleanup();this.ln=[],this.dn=-1},Pr:function(t){var i,s,e,n=this.ln;for(i=0,s=n.length;i<s;++i)if(t.ctrl&&n[i].ctrl==t.ctrl)return e=n[i].player,n.splice(i,1),e.Or(!1),e;return null},showSlideAt:function(t,i){return this.showSlide(t-1,i)},showSlide:function(i,s){if(!this.destroyed){this.Ir&&(this.Ir(),delete this.Ir);var e,n,r=typeof i;if("number"===r?i=this.Yn(i):"string"===r&&(i=this.nr(i)),!i)return this.ended||this.slideIndex!==this.slideCount()-1||this.end(),!1;if(this.hideAllFeedbacks(),!this.ended&&this.slide){var a=this.an.time()-this.slide.Qs.st>=this.slide.Qs.d;(this.slideIndex!=i.index&&a&&!this.an.Mn||this.ue.slides[this.slideIndex])&&this.Rr(this.slideIndex,!0)}e=_s(e=(e="object"==typeof(s=s||{})?s.slideTime:s)||0,0,i.d),void 0!==s.transition?s.transition!=Se.TransitionType.NONE&&(n=[s.transition,s.duration||0,s.direction||0]):e||(n=i.ts),this.transition&&(this.transition.remove(),this.transition.seek(this.transition.totalDuration()),this.transition=null),this.wr();var h=this.layoutIndex<0?0:this.layoutIndex,o=i.h[h];if(this.slide){var u=this.slide.Qs.h[h];u!=o&&this.slide.height(u),this.slide.cleanup()}this.ui.setSlideSize(this.Qs.l[h][0],o),this.prevSlide=this.slide,this.slideIndex=i.index,this.ue.maxVisitedIdx=qi(this.ue.maxVisitedIdx,this.slideIndex),this.ue.maxVisitedTs=qi(this.ue.maxVisitedTs,this.Nr(this.slideIndex,e)),this.Ar=!1,this.dn!=this.slideIndex&&this.qn(),this.slide=new fr(this,i),this.qn(),this.Dr(),this.xr(),this.vr(!!this.slide.Qs.w),this.an.addChild(this.slide.an);var f=this,c=new Zr(function(){void 0!==i.a&&1!=i.a&&!f.demoMode()||f.isReviewingMode()?(f.Ar=!0,f.pause(!0),f.isReviewingMode()&&f.slideIndex===f.slideCount()-1&&f.pauseAll()):(f.Rr(f.slideIndex,!0),f.slideIndex===f.slideCount()-1?(f.pause(!0),f.end()):f.nextSlide())},{startTime:this.slide.an.startTime()+(i.d||0)});this.slide.ae(c),this.an.addChild(c);var l=this.ui.slides()[0];l&&(l.scrollTop=0,l.scrollLeft=0);var d=this.ui.stage()[0];if(d&&(d.scrollTop=0,d.scrollLeft=0),this.prevSlide&&this.prevSlide.background&&(this.prevSlide.background.node.style.overflow="hidden"),!(n&&n[1]>0)||this.allPaused()&&this.ended)void 0!==this.slide.Yr||this.slide.Qs.isFeedback||this.slide.Qs.isBackground||un(this.slide.node.parentNode,Q.VISIBLE);else{var v;this.slide.Yr==Q.AUTO?(this.prevSlide&&this.prevSlide.Yr==Q.AUTO&&(this.prevSlide.Xr(Q.HIDDEN),this.prevSlide.Lr()),(v=this.slide).Xr(Q.HIDDEN),v.Lr()):this.prevSlide&&this.prevSlide.Yr==Q.AUTO?(this.prevSlide.Xr(Q.HIDDEN),this.prevSlide.Lr()):Se.browser.safari&&un(this.slide.node.parentNode,Q.HIDDEN);var p=[this,this.slide,this.prevSlide].concat(n);s.autoDirection&&void 0===s.direction&&p.length<7&&(p[6]=!0),this.transition=Se.createTransition.apply(Se,p),this.transition.addChild(new Zr(function(){var t=f.transition;f.wr(Se.TransitionMinDuration-t.duration()),v&&v.Xr(Q.AUTO),setTimeout(function(){f.xr(),t&&(t.remove(),f.transition===t&&(f.transition=null))},0)},{startTime:this.transition.duration(),duration:0})),this.transition.startTime(this.slide.an.startTime()+e),this.an.addChild(this.transition),this.transition.setup()}this.ended||(this.slide.savedData(!0),this.ue.index=this.slideIndex,this.ue.ts=e,this.lms&&this.lms.setBookmark(xs(i.n),xs(i.de),this.slideIndex),this.fe(!0));var m=this.paused()&&(0!=this.an.time()||this.prevSlide);if(this.an.time()!==i.st+e){if(this.topSlide||this.bottomSlide)for(var g,M=this.timeline.firstChild;M;)g=M.next,M.slide!==f.topSlide&&M.slide!==f.bottomSlide||M.Fr||(M.remove(),M.seek(M.totalDuration())),M=g;this.an.seek(i.st+e)}else{var b=0==this.an.time();this.an.update(this.an.time(),b),b||(this.slide.an.update(0,!0),this.transition&&this.transition.update(0,!0))}m&&this.pause(!1),this.rn.add(i),Le(this.vars,"apTakenSlides apQuizPassed apQuizPassedBool apCurrentSlideIndex apCurrentSlideLabel "+Xe);var w=this.an.time(),_=this.xn;if(this.xn=this.Hr(this.slideIndex,w,0),t(this.ui).trigger("ap-progress",[this.slideIndex,this.xn,w]),this.xn!=_&&t(this.ui).trigger("ap-segment-changed",[this.xn,_]),this.prevSlide){var y=this.prevSlide;t(y).triggerHandler("ap-unload"),y.off()}if(this.slide.Ur.length&&this.container){var k=this.container.getBoundingClientRect(),T=(k.left+k.right)/2,x=(k.top+k.bottom)/2;T>=0&&T<=window.innerWidth&&x>=0&&x<=window.innerHeight&&setTimeout(function(){f.container.focus({preventScroll:!0})},0)}return this.slide.mr(),this.transition||this.wr(Se.TransitionMinDuration),this.Sn(i)?this.Pn(!1):this.Pn(!0),this.wn.Ge(),!0}},Nn:function(){if(Se.mathJaxAPIState==ni&&this.mn==si){this.mn=ei;var t=this,s=function(i){if(!i.En){var s,n;if(i.cc)for(s=0,n=i.cc.length;s<n;++s)e.call(null,i,i.cc[s]);MathJax.Hub.Queue(function(){i.En=!0,t.ve()})}},e=function(t,s){var r,a,h;if(s.s)for(r=0,a=s.s.length;r<a;++r)(h=s.s[r]).m&&h.t&&h.t.length>0&&n.call(null,t,s,h);if(s.k==i.V){var o,u,f=s.table.r;for(r=0,a=f.length;r<a;++r)for(var c=0,l=(o=f[r].c||[]).length;c<l;c++)(u=o[c]).m&&u.t&&u.t.length>0&&n.call(null,t,s,u)}if(s.cc)for(r=0,a=s.cc.length;r<a;++r)e.call(null,t,s.cc[r])},n=function(i,s,e){var n=e.t[0],r=n+(e.t[1]||"");if(!t.gn[r]){t.gn[r]=!0;var a=ls.createElement("div"),h=a.style;e.t[1]&&(h.cssText=e.t[1]),h.position="absolute",h.top=0,h.left=0,h.visibility="hidden",a.innerHTML=n,ls.body.appendChild(a),MathJax.Hub.Queue(["Typeset",MathJax.Hub,a]),MathJax.Hub.Queue(function(){t.gn[r]=a.innerHTML,ls.body.removeChild(a)})}MathJax.Hub.Queue(function(){if(e.t[0]=t.gn[r],t.slide&&t.slide.Qs==i){var a=t.object(s.n);a&&a.js.id()==e.i&&(bs.innerHTML=n,a.html()==bs.innerHTML&&a.html(t.gn[r]))}})};if(this.Qs.pcs&&(this.Qs.pcs[0]&&s.call(null,this.Qs.pcs[0]),this.Qs.pcs[1]&&s.call(null,this.Qs.pcs[1])),this.Qs.feedbacks){this.Qs.feedbacks.length;for(var r=0;r<this.Qs.feedbacks.length;r++)s.call(null,this.Qs.feedbacks[r])}var a,h=this.Qs.slides;for(r=0,a=h.length;r<a;++r)s.call(null,h[r]);t=this;MathJax.Hub.Queue(function(){t.mn=ni,t.ve()})}},Vn:function(){var i=this.Qs;i.Br||(i.Br=i.slides);var s,e,n,r=i.Br||[],a=i.pools||[],h=this.ue.randomMap,o=this.ue.slides,u=this.ue.slideIds,f=i.slides=[],c={};for(e=0,n=o.length;e<n;++e)o[e]&&(c[u[e]]=o[e]);o.length=0,u.length=0;var l=0,d={},v={},p={},m=ii[this.options.playMode];for(e=0;e<r.length;++e){if(void 0===(s=r[e]).m||(s.m&m)===m)if(s.rd)(w=a[s.lp])&&w.length>0&&(p[s.lp]||(p[s.lp]=0),p[s.lp]++,void 0!==h[s.i]&&(v[s.lp]||(v[s.lp]=[]),v[s.lp].push(h[s.i])))}var g,M,b=0;for(e=0;e<r.length;++e)if(void 0===(s=r[e]).m||(s.m&m)===m){if(g=s.i,M=!0,s.rd){var w,_=s.lp;if((w=a[_])&&w.length>0){var y=h[s.i];if(void 0===y){if(M=!1,!d[_]&&(d[_]=ks(w.length,p[_]),v[_])){var k,T,x,C=d[_],S=v[_];for(k=0,T=S.length;k<T;++k)(x=C.indexOf(S[k]))>=0&&C.splice(x,1)}h[s.i]=y=d[_][0],d[_].splice(0,1)}var E=s.i;g=(s=t.extend(!0,{},w[y])).thumbId=s.i,s.i=E}}u[b]=g,M&&c[g]&&(o[b]=c[g]),s.index=b++,s.st=l,l+=s.d,f.push(s)}if(this.toc(i.Zr||i.toc),i.pcs&&((s=i.pcs[0])&&(s.index=r.length,c[s.i]&&(o[s.index]=c[s.i])),(s=i.pcs[1])&&(s.index=r.length+1,c[s.i]&&(o[s.index]=c[s.i]))),i.feedbacks){var O=r.length+2;for(e=0,n=i.feedbacks.length;e<n;++e)(s=i.feedbacks[e]).index=O,c[s.i]&&(o[s.index]=c[s.i]),++O}},toc:function(t){var i=this.Qs,s=[];i.Zr=t,i.toc={n:t.n,e:[]},this.zr(t.e,i.toc.e,s,t.n),s.sort(function(t,i){return t.slideIndex!=i.slideIndex?t.slideIndex-i.slideIndex:t.time!=i.time?t.time-i.time:-(t.isSlide-i.isSlide)});for(var e=0,n=s.length-1;e<=n;++e){var r=(e==n?this.duration():s[e+1].time)-s[e].time;(r>s[e].tocEntry.d||!s[e].tocEntry.d)&&(s[e].tocEntry.d=r)}return this.Tn=s,this.ui.updateTocEntries(i.toc.e,s,this.slideCount(),this.duration()),this},zr:function(i,s,e,n,r){for(var a=0,h=i&&i.length||0;a<h;++a){var o=i[a],u=null,f="",c=[];if(n!=Yi&&(f=r||"",f+=n==Li?Ke(s.length+1):s.length+1,f+="."),o.c&&o.c.length){var l=n==Li?Xi:n;this.zr(o.c,c,e,l,f)}if(o.s&&o.s>0){u=t.extend({},o);var d=this.er(u.s);if(d)u.slideIndex=d.index,u.isSlide=void 0===u.t,u.isSlide&&(u.d=d.d),u.f&&(u.l=d.n),d.rd||(d.thumb_size?u.thumbSize=d.thumb_size:(u.thumbId=d.thumbId||d.i,u.isSlide||(u.thumbId+="_"+u.t))),e.push({time:d.st+(u.t||0),slideIndex:u.slideIndex,title:u.l,thumbId:u.thumbId,isSlide:u.isSlide,tocEntry:u});else{if(!c.length)continue;delete u.s}}else!c.length&&o.c&&o.c.length||(u=t.extend({},o));u&&(u.n=f,u.c=c,s.push(u))}},Hr:function(t,i,s){var e,n=(s||0)+1,r=this.Tn.length,a=!1;for(void 0===i&&(a=!0,i=this.Nr(t,0)),n<0&&(n=0);n<r&&!((e=this.Tn[n]).slideIndex>t||e.time>i);)++n;if((e=this.Tn[--n])&&(e.slideIndex<=t&&e.time<=i||0==n)){if(!a||0==n)return n;for(;e&&e.slideIndex==t;){if(e.isSlide)return n;e=this.Tn[--n]}}return-1},Fn:function(){var i=this.ui,s=this,e=this.Qs,n=s.Qs.l;if(i&&i.create){var r=e.options;if(r.language=e.language,r.textDir=e.textDir,r.responsive=e.responsive,r.projectName=e.projectName,r.authorName=e.author,r.authorDesc=e.authorDescription,r.authorImage=e.authorImage,r.companyLogo=e.companyLogo,r.playerIcons=e.playerIcons,r.playerLayouts=e.playerLayouts,r.playbackRates=e.playbackRates,r.slideCount=this.slideCount(),r.totalDuration=this.duration(),e.mcc){var a=e.mcc.d;r.multipleLanCCs=a||[],r.defautlLanguageCCIndex=e.mcc.i||0}n&&n.length>0&&(r.slideWidth=n[0][0],r.slideHeight=n[0][1]);var h={},o=0;switch(r.playMode){case"Demo":o=0;break;case"Tutorial":o=1;break;case"Practice":o=2;break;case"Test":o=3}for(var u in e.params)h[u]=e.params[u][o];t("#"+this.containerId).attr("data-mode",o+1),0==h.SideBarPos&&(h.ShowSidebarBtn=!1),0==h.TocStyle&&(h.ShowTocBtn=!1),e.ar&&0!=e.ar.length||(h.ShowResourcesBtn=!1),e.av&&e.av.length||(h.ShowAuthorVideo=!1),Fe.canChangePlaybackRate()||(h.ShowSpeedBtn=!1),Fe.canChangeVolume()||(h.ShowVolumeBar=!1);var f=!1;if(e&&e.slides)for(var c=e.slides,l=0,d=c.length;l<d;++l){var v=c[l];if(v&&v.ca&&v.ca.n&&v.ca.n.length){f=!0;break}}f||(h.ShowCCBtn=!1),this.Gr=h.Navigation,i.create("#"+this.containerId,e.toc.e,this.Tn,e.ar,h,r);var p=t(i);p.trigger("ap-pause",[this.allPaused()]),p.trigger("ap-speed",[1]),p.trigger("ap-mute",[this.muted()]),p.trigger("ap-volume",[this.muted()?0:100*this.volume()]),p.trigger("ap-cc",[this.closedCaptionVisible()]),p.trigger("ap-toc",[this.tocVisible()]),p.trigger("ap-sidebar",[this.sidebarVisible()]),p.trigger("ap-resources",[!0]),p.trigger("ap-tool-multiple-language-cc",[this.closedCaptionLanguageIndex()]),this.showToolbar(h.ShowToolbar),h.ShowAuthorVideo&&(s.Qn=[],t(".ap-presenter-video",t("#"+this.containerId)).each(function(t){var i=new jn(s);i.appendTo(this),s.Qn.push(i)}))}},Vr:function(){var i=this.ui,s=this,e=this.Qs,n=s.Qs.l;e.options||(e.options={}),e.params||(e.params={}),this.options.playMode||(this.options.playMode="Tutorial"),e.options.playMode=this.options.playMode,this.Fn(),t(".ap-canvas",s.container).on("dblclick",function(t){var i=window.getSelection&&getSelection();i&&i.removeAllRanges&&i.removeAllRanges()}),s.container.hasAttribute("tabindex")||(s.container.tabIndex=-1),t(s.container).on("contextmenu",function(t){var i=window.getSelection&&getSelection();i&&i.toString&&i.toString()||t.preventDefault()}),this.demoMode()||(t(".ap-canvas",s.container).on("mousedown",function(t){s.Wr(t)}),this.on("ap-click",function(t){s.$r(t)}),t(s.container).on("keydown keyup",function(t){s.Me(t)}));var r=t(this.ui);if(r.on("ui:ap-layout",function(){ws("Enter ui:ap-layout");var t,e,r,a=rs(i.getMaxContentSize().width),h=0,o=!1;if(n)for(t=0;t<n.length;++t)if(a<=n[t][0]||t==n.length-1){h=t,e=n[t][0],r=n[t][1];break}if(h!==s.layoutIndex&&(ws("Change layout from "+s.layoutIndex+" to "+h),s.layoutIndex=h,o=!0,s.slide?r=s.slide.Qs.h[h]:s.sr&&s.sr.length>0&&(r=s.sr[s.sr.length-1].Qs.h[h]),i.setSlideSize(e,r)),o){if(s.slide&&s.slide.onLayoutSwitched(),s.prevSlide&&s.prevSlide.onLayoutSwitched(),s.topSlide&&s.topSlide.onLayoutSwitched(),s.bottomSlide&&s.bottomSlide.onLayoutSwitched(),s.sr)for(t=0;t<s.sr.length;++t){(u=s.sr[t])&&u.onLayoutSwitched()}s.options.onLayoutSwitched&&s.options.onLayoutSwitched.call(s)}else if(s.slide&&s.slide.Lr(),s.prevSlide&&s.prevSlide.Lr(),s.topSlide&&s.topSlide.Lr(),s.bottomSlide&&s.bottomSlide.Lr(),s.sr)for(t=0;t<s.sr.length;++t){var u;(u=s.sr[t])&&u.Lr()}ws("Exit ui:ap-layout")}),r.on("ui:ap-showSlide",function(t,i,e){s.canNavigateTo(i,e)&&s.showSlide(i,e)}),r.on("ui:ap-restart",function(){s.restart()}),r.on("ui:ap-first",function(){s.canNavigateTo(0,0)&&s.firstSlide()}),r.on("ui:ap-last",function(){if(s.slideIndex<s.slideCount()-1){if(!s.canNavigateTo(s.slideCount()-1,0))return;s.lastSlide()}}),r.on("ui:ap-next",function(){if(s.slideIndex<s.slideCount()-1){if(!s.canNavigateTo(s.slideIndex+1,0))return;s.nextSlide()}}),r.on("ui:ap-previous",function(){if(s.slideIndex>0){if(!s.canNavigateTo(s.slideIndex-1,0))return;s.previousSlide()}}),r.on("ui:ap-pause",function(){s.pauseAll(!s.allPaused())}),r.on("ui:ap-speed",function(t,i){s.speed(i)}),r.on("ui:ap-progress",function(t,i){var e=s.Un(i);if(e){if(!s.canNavigateTo(e.slideIndex,e.slideTime))return;s.showSlide(e.slideIndex,e.slideTime)}}),r.on("ui:ap-cc",function(){s.showClosedCaption(!s.closedCaptionVisible())}),r.on("ui:ap-toc",function(){s.showToc(!s.tocVisible())}),r.on("ui:ap-sidebar",function(){s.showSidebar(!s.sidebarVisible())}),r.on("ui:ap-expand-sidebar",function(t,i){s.Kr(i)}),r.on("ui:ap-sound",function(){s.jr?s.Qr():s.muted(!s.muted())}),r.on("ui:ap-volume",function(t,i){s.Qr(),s.volume(i/100)}),r.on("ui:ap-about",function(){s.showAbout()}),r.on("ui:ap-resources",function(){s.showResources(!s.resourcesVisible())}),r.on("ui:ap-exit",function(){s.destroy(),window.close()}),r.on("ui:ap-multiple-language-cc",function(t,i){s.closedCaptionLanguageIndex(i)}),n&&n.length>0&&this.Qs.responsive&&!this.Qs.expandLargestLayout?this.setMaxContentWidth(n[n.length-1][0]):this.layout(),this.started=!0,e.e&&e.e.l&&nn(this,e.e.l,this.demoMode()),this.wn.Xe){var a=Se.browser;(a.ie||a.edge)&&"file:"==window.location.protocol&&i.showMsg(i.ye.text("YouTubeIEError"),!0)}this.Xn=!0},qr:function(t){var i=this.Qs.av;if(this.Qn&&i&&i.length)for(var s=0,e=this.Qn.length;s<e;++s)for(var n=this.Qn[s],r=!1,a=!1,h=0,o=i.length;h<o;++h){var u=i[h],f=u[4]>0?u[3]/u[4]:0;0==h&&(u[1]>0&&t.addChild(new zr(n,"display",{startTime:0,duration:0,tweenParams:["none","none"]})),n.ia.Jr(u[5]||u[2]),n.ia.loadResource(u[0])),t.addChild(new zr(n,"authorVideoRatio",{startTime:u[1],duration:0,tweenParams:[f,f],tweenType:ti.ys})).addChild(new zr(n,"flip",{startTime:u[1],duration:0,tweenParams:[[r,a],[u[6]||!1,u[7]||!1]],tweenType:ti.ys})).addChild(new zr(n,"display",{startTime:u[1],duration:0,tweenParams:["none","block"]})),r=u[6]||!1,a=u[7]||!1,Ve(t,n,u[0],u[1],u[2],u[5]),(!i[h+1]||i[h+1][1]>u[1]+u[2])&&t.addChild(new zr(n,"display",{startTime:u[1]+u[2],duration:0,tweenParams:["block","none"]}))}},ea:function(){if(this.Qn)for(var t=0,i=this.Qn.length;t<i;++t)this.Qn[t].Lr()},Qr:function(){this.jr&&(delete this.jr,this.muted(!1),this.wn.He=!0,this.wn.$e(),t(this.container).off(".apUnmuteOnTap"),this.Qs.options.showUnmuteMsg&&this.ui.hideUnmuteHintMsg())},start:function(i,s){this.ended=!1,this.na=!1;var e=!this.started,n=this.An,r=this.Dn;delete this.An,delete this.Dn,this.Xn||this.Vr();var a,h,o=this,u=this.Qs.slides||[],f=this.Qs.vars||[];if(e)for(a=0,h=f.length;a<h;++a){var c=f[a],l=c[0],d=c[1],v=c[2],p=c[3];this.vars.Ks(l,v),this.vars.oe(l,p),v==Ti.NUMBER&&(d=Number(d)),this.ue.vars.hasOwnProperty(l)&&(d=this.ue.vars[l]),this.vars.set(l,d)}if(r?this.rn.filter(u):this.rn.clear(),this.transition&&(this.transition.remove(),this.transition=null),this.slideIndex=-1,this.slide&&(this.slide.cleanup(),this.slide.remove(),this.slide=null),this.prevSlide&&(this.prevSlide.cleanup(),this.prevSlide.remove(),this.prevSlide=null),this.topSlide&&(this.topSlide.cleanup(),this.topSlide.remove(),this.topSlide=null),this.bottomSlide&&(this.bottomSlide.cleanup(),this.bottomSlide.remove(),this.bottomSlide=null),this.fbTransition&&(this.fbTransition.remove(),this.fbTransition=null),this.sr){for(a=0;a<this.sr.length;++a)this.sr[a].cleanup(),this.sr[a].remove();this.sr.length=0}this.ui.slides().empty(),this.ui.feedbackSlides().empty(),this.wn.je(),this.an&&(this.an.remove(),this.an=null);var m={paused:!0};if(this.timeline&&(m.speed=this.timeline.speed()),this.timeline=new Vr(m),this.an=new $r,this.timeline.addChild(this.an),u.length){var g=u[u.length-1];this.an.addChild(new Zr(hs,{startTime:g.st+g.d}))}if(this.ra(),void 0!==i&&(this.ue.index=i-1,this.ue.fbs.length=0),void 0!==s&&(this.ue.ts=s,this.ue.fbs.length=0),(!e||n||r)&&(this.ue.fbs.length=0),this.ue.index=this.ue.index||0,this.ue.ts=this.ue.ts||0,!Fe.Pe||o.wn.He&&!o.wn.Xe||(o.muted(!0),o.jr=!0,t(o.container).on("mouseup.apUnmuteOnTap",function(i){var s=!1,e=t(".ap-tool-sound",o.container);for(a=0,h=e.length;a<h;++a)if(e[a]===i.target){s=!0;break}s||o.Qr()}),o.Qs.options.showUnmuteMsg&&o.ui.showUnmuteHintMsg()),this.ui.loadingUi.hide(),this.Qs.pcs){var M=this.Qs.pcs[0];M&&(M.isBottom=!0,this.bottomSlide=new fr(this,M),this.qr(this.bottomSlide.an)),(M=this.Qs.pcs[1])&&M.cc&&M.cc.length&&(M.isTop=!0,this.topSlide=new fr(this,M))}return this.lms&&!r&&this.lms.startLesson(),this.bn=0,this.aa&&(clearTimeout(this.aa),delete this.aa),this.Mn=!1,t(this.ui).trigger("ap-pause",[!1]),this.timeline.paused(!1),this.Ir=function(){this.ha=this.timeline.totalTime(),this.topSlide&&(this.topSlide.an.setup(),this.topSlide.an.startTime(0),this.an.addChild(this.topSlide.an)),this.bottomSlide&&(this.bottomSlide.an.setup(),this.bottomSlide.an.startTime(0),this.an.addChild(this.bottomSlide.an))},r||t(this).triggerHandler("ap-load"),this.slide||this.sr&&this.sr.length||this.Mr(),Se.pageVisible()||Se.me(this),this},Rr:function(i,s){t(this.ui).trigger("ap-slideCompleted",[i,this.Hr(i),s])},ra:function(){var t,i,s=this.kr();for(t=0,i=(this.Qs.slides||[]).length;t<i;++t)this.Rr(t,void 0!==s[t]&&s[t])},restart:function(t,i,s){void 0===s&&(s=Se.refreshRandomSlidesOnRestart),this.pauseAll(),this.Jn();var e=this.ue.randomMap||{};return delete this.ue,this.en(),s||(this.ue.randomMap=e),delete this.$n,s?this.refreshRandomSlides(void 0,void 0,t,i):(void 0===t&&(t=1),void 0===i&&(i=0),this.fe(),this.lms&&this.lms.storeScore(),this.An=!0,this.start(t,i))},refreshRandomSlides:function(t,i,s,e){this.pauseAll(),this.Jn();var n=this.Qs.Br||this.Qs.slides||[];if(void 0===t&&void 0===i||1==t&&i==n.length)this.An=!0,t=1,this.ue.randomMap={};else{this.Dn=!0;var r,a,h=this.ue.randomMap;for(r=qi(0,t-1),a=Qi(n.length,i);r<a;++r)delete h[n[r].i]}return delete this.$n,void 0===s&&(s=t),void 0===e&&(e=0),this.ue.index=s-1,this.ue.ts=e,this.Vn(),this.mn=si,this.fe(),this.lms&&this.lms.storeScore(),this.Wn(),this},Mr:function(){var t=this.ue.index||0,i=this.ue.ts||0,s=this.ue.fbs;this.ue.fbs=[];var e=this.showSlide(t,i);if(e&&!this.ended&&s&&s.length&&this.ue.index==t&&this.ue.ts==i)for(var n=0,r=s.length;n<r;++n)this.showFeedbackById(s[n]);return e},seek:function(t,i){return this.showSlide(t,i)},Un:function(t){if(!isNaN(t)){var i,s,e,n=-1,r=0,a=this.Qs.slides;for(s=0,e=a.length;s<e;++s){if(t<(i=a[s]).d){n=s,r=qi(t,0);break}t-=i.d}return n<0&&e>0&&(r=a[n=e-1].d),{slideIndex:n,slideTime:r}}},Nr:function(t,i){var s=this.Qs.slides[t];return s?s.st+(i||0):t<0?0:this.duration()},canNavigateTo:function(t,i){if(this.Gr==xi)return!1;if(this.Gr==Ci){if(this.ue.maxVisitedIdx<t)return!1;if(this.ue.maxVisitedTs<this.Nr(t,i))return!1}return!0},time:function(t){if(!arguments.length)return this.an.time();var i=this.Un(t);return!!i&&this.showSlide(i.slideIndex,i.slideTime)},slideTime:function(t){if(!arguments.length)return this.slide?this.an.time()-this.slide.an.startTime():0;var i=this.slideIndex||0;return i<0&&(i=0),this.showSlide(i,t)},duration:function(t){if(!arguments.length){var i=this.Qs.slides,s=i[i.length-1];return s?s.st+s.d:0}if(t){var e=this.duration();e&&this.speed(e/t)}return this},speed:function(i){if(!arguments.length)return this.timeline.oa;var s=this.Qs.playbackRates;if(s||(s=[.5,1,1.5,2]),s.indexOf(i)<0){for(var e=Number.MAX_VALUE,n=0,r=0,a=s.length;r<a;++r){var h=$i(s[r]-i);h<e&&(e=h,n=r)}i=s[n]}return Fe.canChangePlaybackRate()?(this.timeline.speed(i),t(this.ui).trigger("ap-speed",[i]),this.wn.playbackRate(i),this.vars.notifyObservers("apSpeed"),this):(ws("This device doesn't support changing speed"),this)},ua:function(t){this.timeline.paused(t),this.wn.Ke(t)},pauseAll:function(i){return arguments.length||(i=!0),i=!!i,this.Mn==i?this:(this.Mn=i,i?this.ua(!0):(wr.updateTime(),0==this.bn&&this.ua(!1)),t(this.ui).trigger("ap-pause",[i]),this)},allPaused:function(){return this.Mn},paused:function(){return this.an.paused()},pause:function(t){return arguments.length||(t=!0),!t&&this.Ar?this:(this.an.paused(t),this.vars.notifyObservers("apPause"),this.vars.notifyObservers("apResume"),this)},end:function(t){if(this.ended)return ws("Prez.end() is called when it's already ended"),this;if(this.hideAllFeedbacks(),t){this.ui.showMsg(this.ui.ye.text("MaxPrezTimeReached"),!0);for(var s,e,n,r,a,h=this.er(),o=h.length,u=ii[this.options.playMode];--o>=0;)if(e=h[o].cc)for(n=0,r=e.length;n<r;++n)if(e[n].k===i.F){(void 0===(a=e[n].m)||a&u)&&(s=h[o]),o=-1;break}s&&this.showSlide(s,1)}this.ended=!0,this.pauseAll(!0),Le(this.vars,Xe),this.ue.elapsedTime=this.elapsedTime(),this.ue.maxVisitedTs=qi(this.ue.maxVisitedTs,this.an.time()),this.lms?this.lms.endLesson(t):this.fe(!0);var f=this.Qs.options;return this.demoMode()||f.reportMethod==Bt||this.sendReport(),this},mute:function(t){return arguments.length||(t=!0),this.muted(t)},muted:function(i){var s=this.wn;return arguments.length?(i=!!i,s.muted(i),t(this.ui).trigger("ap-volume",[i?0:100*s.volume()]),t(this.ui).trigger("ap-mute",[s.muted()]),Le(this.vars,"apVolume apMute"),this):s.muted()},volume:function(i){var s=this.wn;return arguments.length?(i=_s(i,0,1),s.muted(0==i),s.volume(i),t(this.ui).trigger("ap-volume",[100*s.volume()]),t(this.ui).trigger("ap-mute",[s.muted()]),Le(this.vars,"apVolume apMute"),this):s.volume()},showAbout:function(){var t=this.Qs,i={Name:this.name(),Author:this.author(),Copyright:this.copyright(),Homepage:this.homePage(),AppHomePage:t.appHomepage,Generator:t.generator+" "+t.v},s=this;return this.ui.showAbout(i,function(){s.pauseAll(!0)},function(){s.pauseAll(!1)}),this},In:function(){if(ws("_increaseBufferingCounter: "+(this.bn+1)),0==this.bn){this.ua(!0);var t=this.ui.loadingUi;this.aa=setTimeout(function(){t.show(),t.setText("")},3e3)}this.bn++},Rn:function(){this.bn<=0?ws("Invalid _decreaseBufferingCounter call"):(this.bn--,ws("_decreaseBufferingCounter: "+this.bn),0==this.bn&&(this.aa&&(clearTimeout(this.aa),delete this.aa),this.ui.loadingUi.hide(),this.Mn||this.ua(!1)))},isBuffering:function(){return this.bn>0},Wr:function(t){var i=cs();this.fa&&i-this.fa<=Se.DoubleClickMaxTime&&t.preventDefault(),this.fa=i},$r:function(t){if(!this.Hs(t)&&this.Zs()&&!this.ended){var i,s=this.sr&&this.sr[this.sr.length-1],e=!1;if(!s){var n,r,a,h,o,u,f,c=[this.slide,this.bottomSlide,this.topSlide],l=be.OUTSIDE;for(a=0,h=c.length;a<h;++a)if(i=c[a])for(f=0;f<2;++f)for(o=0,u=(n=0==f?i.la:i.Ur).length;o<u;++o)(r=n[o]).Zs(!0,!0)&&(e=!0,r.submit(l,!1))}var d=Se.shortcuts.clickSequence;e||!d||!d.mouse||(i=s||this.slide,this.clickSequenceForward(i))}},Bs:function(t,i){var s=this.slide&&this.slide.Ur.length||this.bottomSlide&&this.bottomSlide.Ur.length||this.topSlide&&this.topSlide.Ur.length;return Me.shouldPreventDefault(t,i,s)},Me:function(i){if(i.stopPropagation(),Me.hasKeydown(i.which)==("keydown"==i.type)){var s=Me.combinedCode(i),e=i.target.nodeName.toLowerCase(),n="textarea"===e||"input"===e,r=this.Bs(s,n);if(r&&Me.preventDefault(i),!this.Hs(i)&&this.Zs()&&!this.ended&&!n){var a,h=this.sr&&this.sr[this.sr.length-1],o=!1,u=this.eventBubbling("ap-keypress");if(!h){var f,c,l,d,v,p,m,g,M=!1,b=[this.slide,this.bottomSlide,this.topSlide];for(l=0,d=b.length;l<d;++l)if(a=b[l])for(v=0,p=(c=a.Ur).length;v<p;++v)if((f=c[v]).Zs(!0,!0)){if((g=f.da(s,!0)).result===Xt.Ki){o=!0;var w=t.Event("ap-keypress",{value:Me.combinedCode(i),originalEvent:i.originalEvent||i});t(f).triggerHandler(w),w.isPropagationStopped()&&(u=!1)}g.result!==Xt.Wi&&(M=!0)}}if(o&&!u||(a=h||this.slide)&&a.va("ap-keypress")&&(o=!0,Me.fire(a,i)),!o&&!h)for(l=0,d=b.length;l<d;++l)if(a=b[l])for(m=0;m<2;++m)for(v=0,p=(c=0==m?a.la:a.Ur).length;v<p;++v)(f=c[v]).Zs(!0,!0)&&(o=!0,0==m?f.submit(s,!0):Me.fire(f,i));M&&!r&&Me.preventDefault(i);var _=Se.shortcuts.clickSequence;if(!o&&_)if(a=h||this.slide,_.forward&&_.forward.indexOf(s)>=0){if(this.clickSequenceForward(a))return}else if(_.back&&_.back.indexOf(s)>=0&&this.clickSequenceBack(a))return}}},submit:function(){return this.ended?this:(this.slide&&this.slide.submit(),this.bottomSlide&&this.bottomSlide.submit(),this.topSlide&&this.topSlide.submit(),this)},clear:function(t,i){return this.ended&&!i?this:(this.slide&&this.slide.clear(t,i),this.bottomSlide&&this.bottomSlide.clear(t,i),this.topSlide&&this.topSlide.clear(t,i),this)},pa:function(t,i){var s,e,n,r=t?t.length:0;for(s=0;s<r;++s){if((n=t[s]).i==i)return n;if(n.cc&&(e=this.pa(n.cc,i)))return e}return null},correctResponses:function(e,n){var r,h,o,u,f,c,l,d,v,p,m,g="";switch(n.k){case i.O:for(r=[],o=0,u=(f=n.e.v||[]).length;o<u;++o)n.t==s.rt?r.push(be.name(f[o],this.ui.ye)):r.push(Me.name(f[o]));break;case i.C:case i.K:for(f=n.e.v||[],r=[],n.k==i.C&&(n.f&ft.St)!==ft.St&&(g="{case_matters=false}"),o=0,u=f.length;o<u;++o)r.push(g+f[o]);break;case i.I:var M;for(r=[],o=0,u=(f=n.e.v||[]).length;o<u;++o)(M=this.pa(e.cc,f[o]))&&r.push(M.r);break;case i.L:switch(c=n.cc||[],n.t){case s.bt:case s.gt:case s.Mt:var b;for(r=[],h=[],o=0,u=(f=n.e.v||[]).length;o<u;++o)(b=this.pa(c,f[o]))&&h.push(b.r);r.push(h);break;case s._t:for(r=[],h=[],o=0,u=c.length;o<u;++o)h.push(c[o].r);r.push(h);break;case s.wt:for(r=[],o=0,u=c.length;o<u;++o)if(c[o].k==i.C)if(g=(c[o].f&ft.St)!==ft.St?"{case_matters=false}":"",l=(f=c[o].e.v||[]).length,r.length>0)for(p=r,r=[],v=0;v<p.length;++v)for(d=0;d<l;++d)(m=t.extend({},p[v]))[c[o].r]=g+f[d],r.push(m);else for(d=0;d<l;++d)(m={})[c[o].r]=g+f[d],r.push(m);break;case s.Tt:for(r=[],o=0,u=c.length;o<u;++o)if(c[o].k==i.K)if(l=(f=c[o].e.v||[]).length,r.length>0)for(p=r,r=[],v=0;v<p.length;++v)for(d=0;d<l;++d)(m=t.extend({},p[v]))[c[o].r]=f[d],r.push(m);else for(d=0;d<l;++d)(m={})[c[o].r]=f[d],r.push(m);break;case s.yt:var w,_,y,k,T;for(r=[],h={},y={},o=0,u=c.length;o<u;++o)if(c[o].f&a)for(l=(f=(_=c[o]).e.v||[]).length,d=0;d<l;++d)(w=this.pa(c,f[d]))&&(y[w.r]||(y[w.r]=[]),y[w.r].push(_.r));for(k in y)if(l=(T=y[k]).length,r.length>0)for(p=r,r=[],v=0;v<p.length;++v)for(d=0;d<l;++d)(m=t.extend({},p[v]))[k]=T[d],r.push(m);else for(d=0;d<l;++d)(m={})[k]=T[d],r.push(m);break;case s.kt:r=[]}break;case i.B:for(r=[],o=0,u=(c=n.cc||[]).length;o<u;++o)if(c[o].k==i.O&&c[o].t==s.B)if(l=(f=c[o].e.v||[]).length,r.length>0)for(p=r,r=[],v=0;v<p.length;++v)for(d=0;d<l;++d)(m=t.extend({},p[v]))[c[o].r]=f[d],r.push(m);else for(d=0;d<l;++d)(m={})[c[o].r]=f[d],r.push(m);break;case i.U:r=[];var x=n.e.v||[];for(o=0,u=x.length;o<u;++o)if(g=x[o].c?"":"{case_matters=false}",l=(f=x[o].v||[]).length,r.length>0)for(p=r,r=[],v=0;v<p.length;++v)for(d=0;d<l;++d)(m=t.extend({},p[v]))[x[o].r]=g+f[d],r.push(m);else for(d=0;d<l;++d)(m={})[x[o].r]=g+f[d],r.push(m)}return r},learnerResponse:function(t,e,n){var r,a,h,o,u,f,c;switch(e.k){case i.O:r=ge.name(n.v,this.ui.ye);break;case i.C:case i.K:r=n.v||"";break;case i.I:r="",(f=this.pa(t.cc,n.v))&&(r=f.r);break;case i.L:switch(h=e.cc,e.t){case s.bt:case s.gt:case s.Mt:case s._t:for(r=[],o=0,u=(a=n.v).length;o<u;++o)(f=this.pa(h,a[o]))&&r.push(f.r);break;case s.wt:case s.Tt:r={},a=n.v;for(c in a)(f=this.pa(h,c))&&(r[f.r]=a[c]||"");break;case s.yt:var l,d;r={},a=n.v;for(c in a)if(f=this.pa(h,c))for(o=0,u=(l=a[c]).length;o<u;++o)(d=this.pa(h,l[o]))&&(r[d.r]=f.r);break;case s.kt:var v,p=function(t,s){var e,n,r,a=-1,h=!0;for(n=0,r=t.length;n<r;++n)if(t[n].k==i.Y){if(h?(h=!1,a++,e=0):e++,s==t[n].i)return{row:a,col:e}}else h=!0};for(r={},o=0,u=(a=n.v).length;o<u;++o)(v=p(h,a[o]))&&(1==u?r[e.r]=parseInt(v.col+1):r[e.r+"_"+v.row]=parseInt(v.col+1))}break;case i.B:h=e.cc,r=[],a=n.v;for(c in a)(f=this.pa(h,c))&&f.r?r[f.r]=a[c]:r[e.r]?r[e.r]+=","+a[c]:r[e.r]=a[c];break;case i.U:r={},a=n.v;var m,g=(e.e||{}).v||[];for(m in a)(f=g[m])&&(r[f.r]=a[m])}return r},ma:function(t){if(!t)return 0;var e,n,r,a=0;for(e=0,n=t.length||0;e<n;++e)switch((r=t[e]).k){case i.C:case i.O:case i.K:case i.I:case i.B:case i.U:r.e.f&Rt||a++;break;case i.L:switch(r.t){case s.bt:case s.gt:case s.Mt:case s.wt:case s.Tt:case s._t:case s.yt:case s.kt:r.e.f&Rt||a++;break;default:a+=this.ma(r.cc)}}return a},interactionCount:function(){if(void 0!==this.ga)return this.ga;var t,i,s,e=this.Qs.slides,n=0;for(i=0,s=e.length;i<s;++i)t=e[i],n+=this.ma(t.cc);return this.ga=n,n},takenInteractionCount:function(t){var i,s,e,n,r,a=this.ue.slides,h=0;for(s=0,e=Qi(a.length,this.slideCount());s<e;++s)if(i=a[s])for(n in i)(r=i[n])&&!r.n&&void 0!==r.r&&r.r!=Xt.Wi&&(void 0===t?h++:t==r.r&&h++);return h},takenSlideCount:function(){var t,i,s=this.ue.slides,e=0;for(t=0,i=Qi(s.length,this.slideCount());t<i;++t)s[t]&&e++;return e},score:function(){var t,i,s,e,n,r=this.ue.slides,a=0;for(i=0,s=Qi(r.length,this.slideCount());i<s;++i)if(t=r[i])for(e in t)(n=t[e])&&(a+=n.p||0,n.r==Xt.Ki&&n.sp&&(a-=n.sp));return Cs(a,10)},maxControlScore:function(t){var e,n,r,h,o,u,f,c,l=0,d=t.e.f&Ot&&!(t.e.f&Rt),v=t.e.f&It;if(!d){for(n=t.cc?t.cc.length:0,e=0;e<n;++e)l+=this.maxControlScore(t.cc[e]);return l}if(!v)return t.e.m||0;switch(t.k){case i.O:case i.C:case i.K:case i.I:r=t.e.m||[0],l=qi.apply(null,r);break;case i.L:switch(n=(h=t.cc||[]).length,t.t){case s.gt:case s.bt:if(n>0)for(l=h[0].e.m||0,e=1;e<n;++e)o=h[e],l=qi(l,o.e.m||0);break;case s.Mt:for(u=t.e.v||[],e=0;e<n;++e)o=h[e],u.indexOf(o.i)<0||(l+=o.e.m||0);break;case s.wt:for(e=0;e<n;++e)(o=h[e]).k===i.C&&(o.e.f&It?(r=o.e.m||[0],l+=qi.apply(null,r)):l+=o.e.m||0);break;case s.Tt:for(e=0;e<n;++e)(o=h[e]).k===i.K&&(o.e.f&It?(r=o.e.m||[0],l+=qi.apply(null,r)):l+=o.e.m||0);break;case s.yt:var p,m,g,M,b=[],w=[];for(e=0;e<n;++e)if((o=h[e]).f&a&&(g=o.e.v,M=o.e.m,g&&M&&g.length==M.length))for(f=0,c=g.length;f<c;++f)p=g[f],(m=b.indexOf(p))<0?(b.push(p),w.push(M[f])):w[m]<M[f]&&(w[m]=M[f]);for(e=0,n=w.length;e<n;++e)l+=w[e]}break;case i.B:var _=(k=t.e||{}).v||[],y=k.h;for(n=(h=t.cc||[]).length,y||(l=void 0),e=0;e<n;++e)(o=h[e]).k===i.O&&_.indexOf(o.i)>=0&&(y?l+=o.e.m||0:l=void 0===l?o.e.m||0:qi(l,o.e.m||0));void 0===l&&(l=0);break;case i.U:var k,T=(k=t.e||{}).v||[];for(n=T.length,e=0;e<n;++e){l+=T[e].m||0}}return l},maxScore:function(){if(void 0!==this.Ma)return this.Ma;var t,i,s,e,n,r,a=this.Qs.slides;for(r=0,i=0,s=a.length;i<s;++i)for(e=0,n=(t=a[i].cc||[]).length;e<n;++e)r+=this.maxControlScore(t[e]);return this.Ma=r,r},result:function(){var t=!0,i=this.Qs.options;switch(i.passCondition){case Lt:t=this.percentageScore()>=i.passConditionValue;break;case Ft:t=this.score()>=i.passConditionValue;break;case Ht:t=this.takenInteractionCount(Xt.Ki)>=i.passConditionValue;break;case Ut:t=this.takenSlideCount()>=i.passConditionValue}return t},elapsedTime:function(){return this.ended||(this.ba=this.nn||0,this.slide&&(this.ba+=this.timeline.totalTime()-(this.ha||0))),this.ba||0},sessionTime:function(){return this.elapsedTime()-(this.nn||0)},remainingTime:function(){if(this.ended)return 0;var t=0;return(t=!this.demoMode()&&this.Qs.options.testMaxTime?60*this.Qs.options.testMaxTime*1e3-this.elapsedTime():this.duration()-this.time())<0?0:t},responseResultString:function(t){var i=this.ui.ye;return t?t==Xt.Ki?i.text("Correct"):t==Xt.ji?i.text("Incorrect"):t==Xt.Qi?i.text("Incomplete"):t==Xt.$i?"":"Unknown":"Unknown"},requirements:function(){var t=this.Qs.options,i=this.ui.ye;switch(t.passCondition){case Lt:return i.text("RequirePercent",i.number(t.passConditionValue));case Ft:return i.text("RequirePoints",i.number(t.passConditionValue));case Ht:return i.text("RequireAnswers",i.number(t.passConditionValue));case Ut:return i.text("RequireSlidesViewed",i.number(t.passConditionValue))}return i.text("RequireNone")},interactionTypeName:function(t){var e=this.ui.ye;switch(t.k){case i.O:return t.t==s.rt?e.text("MouseClick"):t.t==s.ht?e.text("KeyStroke"):t.t==s.B?e.text("HotSpot"):"Unknown";case i.C:return e.text("TextBox");case i.K:return e.text("DropdownCtrl");case i.I:return e.text("DropCtrl");case i.L:switch(t.t){case s.bt:return e.text("TrueFalse");case s.gt:return e.text("MultipleChoice");case s.Mt:return e.text("MultipleResponse");case s._t:return e.text("Sequence");case s.wt:return e.text("FillMultipleBlank");case s.Tt:return e.text("SelectMultipleDropdown");case s.yt:return e.text("DragDrop");case s.kt:return e.text("Likert")}break;case i.U:return e.text("FillBlankNew");case i.B:return e.text("HotSpot")}return"Unknown"},formatResponse:function(t,e,n,r){var a,h,o="";switch(n){case i.O:o=t;break;case i.C:case i.K:o=t;break;case i.I:o=t+"[.]"+e;break;case i.L:switch(r){case s.bt:case s.gt:case s.Mt:case s._t:for(o="",a=0,h=t.length||0;a<h;++a)""!=o&&(o+="[,]"),o+=t[a];break;case s.wt:case s.Tt:case s.yt:case s.kt:var u,f=[];o="";for(u in t)t.hasOwnProperty(u)&&f.push(u);for(f.sort(),a=0,h=f.length;a<h;++a)""!=o&&(o+="[,]"),o+=f[a]+"[.]"+t[f[a]]}break;case i.B:case i.U:var c,l=[];o="";for(c in t)t.hasOwnProperty(c)&&l.push(c);for(l.sort(),a=0,h=l.length;a<h;++a)""!=o&&(o+="[,]"),o+=l[a]+"[.]"+t[l[a]]}return o},reportData:function(i,s){var e,n,r,a,h,o,u,f,c,l,d,v,p,m=t.cookie("userid")||"",g=this.ui.ye,M={},b=this.Qs;if(s){for(;""==m;)m=prompt(g.text("EnterUserID"),"");if(null===m)return null;t.cookie("userid",m)}for(M.prezName=b.projectName,M.prezDesc=b.description,M.date=(new Date).toUTCString(),M.userId=m,M.elapsedTime=Math.ceil(this.elapsedTime()/1e3),M.totalSlides=this.slideCount(),M.takenSlides=this.takenSlideCount(),M.totalInteractions=this.interactionCount(),M.takenInteractions=this.takenInteractionCount(),M.correctCount=this.takenInteractionCount(Xt.Ki),M.score=this.score(),M.maxScore=this.maxScore(),M.percentage=M.maxScore&&M.score>0?ns(100*M.score/M.maxScore):0,M.passed=this.result(),M.passCondition=b.options.passCondition,M.passValue=b.options.passConditionValue,M.interactions=[],e=this.ue.slides,l=0,v=Qi(e.length,this.slideCount());l<v;++l)if(n=e[l])for(r in n)if((a=n[r])&&a.r&&!a.n&&(h=b.slides[l],o=this.pa(h.cc,r))){for(c=this.learnerResponse(h,o,a),f=this.correctResponses(h,o),(u={}).type=this.interactionTypeName(o),u.slide=l,u.reportid=o.r,u.attempts=a.a||0,u.result=a.r,p=a.p||0,a.r==Xt.Ki&&a.sp&&(p-=a.sp),u.score=Cs(p,10),u.maxScore=this.maxControlScore(o),u.learnerResponse=this.formatResponse(c,u.reportid,o.k,o.t),u.correctResponses=[],d=0;d<f.length;++d)u.correctResponses.push(this.formatResponse(f[d],u.reportid,o.k,o.t));M.interactions.push(u)}return void 0===i&&(i=Qt),b.options&&b.options.kintoneUrl&&(M.kintoneUrl=b.options.kintoneUrl,M.kintoneApiKey=b.options.kintoneApiKey),i!=jt?this.formatReportData(M,i):M},formatReportData:function(t,i){var s,e,n,r,a,h=t.interactions,o=h.length||0,u="\n",f="\t";this.ui.ye;switch(i){case Gt:case Vt:case Kt:break;case Wt:for(a='<?xml version="1.0" encoding="UTF-8"?>\n',a+="<Content>\n",a+="\t<Report>\n",a+="\t\t<Name>"+Ts(t.prezName)+"</Name>"+u,a+="\t\t<Description>"+Ts(t.prezDesc,!0)+"</Description>"+u,a+="\t\t<Date>"+t.date+"</Date>"+u,a+="\t\t<UserID>"+t.userId+"</UserID>"+u,a+="\t\t<TotalTime>"+t.elapsedTime+"</TotalTime>"+u,a+="\t\t<SlideCount>"+t.totalSlides+"</SlideCount>"+u,a+="\t\t<TakenSlide>"+t.takenSlides+"</TakenSlide>"+u,a+="\t\t<TotalInteraction>"+t.totalInteractions+"</TotalInteraction>"+u,a+="\t\t<TakenInteraction>"+t.takenInteractions+"</TakenInteraction>"+u,a+="\t\t<Correct>"+t.correctCount+"</Correct>"+u,a+="\t\t<Score>"+t.score+"</Score>"+u,a+="\t\t<MaxScore>"+t.maxScore+"</MaxScore>"+u,a+="\t\t<PassCondition>"+t.passCondition+"</PassCondition>"+u,a+="\t\t<PassValue>"+t.passValue+"</PassValue>"+u,a+="\t\t<Percent>"+t.percentage+"</Percent>"+u,a+="\t\t<Result>"+(t.passed?"true":"false")+"</Result>"+u,a+="\t\t<Details>\n",s=0;s<o;++s){for(e=h[s],a+="\t\t\t<Interaction>\n",a+="\t\t\t\t<SlideIndex>"+(parseInt(e.slide)+1)+"</SlideIndex>"+u,a+="\t\t\t\t<ReportID>"+e.reportid+"</ReportID>"+u,a+="\t\t\t\t<Attempts>"+e.attempts+"</Attempts>"+u,a+="\t\t\t\t<Score>"+e.score+"</Score>"+u,a+="\t\t\t\t<MaxScore>"+e.maxScore+"</MaxScore>"+u,a+="\t\t\t\t<Result>"+this.responseResultString(e.result)+"</Result>"+u,a+="\t\t\t\t<Type>"+e.type+"</Type>"+u,a+="\t\t\t\t<LearnerResponse>"+Ts(""+e.learnerResponse)+"</LearnerResponse>"+u,a+="\t\t\t\t<CorrectResponses>\n",n=0,r=e.correctResponses.length;n<r;++n)a+="\t\t\t\t\t<CorrectResponse>"+Ts(""+e.correctResponses[n])+"</CorrectResponse>"+u;a+="\t\t\t\t</CorrectResponses>\n",a+="\t\t\t</Interaction>\n"}a+="\t\t</Details>\n",a+="\t</Report>\n",a+="</Content>\n";break;case $t:case Qt:var c,l={};for(l.Name=t.prezName,l.Description=t.prezDesc,l.Date=t.date,l.UserID=t.userId,l.TotalTime=t.elapsedTime,l.SlideCount=t.totalSlides,l.TakenSlide=t.takenSlides,l.TotalInteraction=t.totalInteractions,l.TakenInteraction=t.takenInteractions,l.Correct=t.correctCount,l.Score=t.score,l.MaxScore=t.maxScore,l.PassCondition=t.passCondition,l.PassValue=t.passValue,l.Percent=t.percentage,l.Result=t.passed,l.Details=[],t.kintoneUrl&&(l.kintoneUrl=t.kintoneUrl,l.kintoneApiKey=t.kintoneApiKey),s=0;s<o;++s)e=h[s],(c={}).SlideIndex=parseInt(e.slide)+1,c.ReportID=e.reportid,c.Attempts=e.attempts,c.Score=e.score,c.MaxScore=e.maxScore,c.Result=this.responseResultString(e.result),c.Type=e.type,c.LearnerResponse=e.learnerResponse,c.CorrectResponses=e.correctResponses,l.Details.push(c);a=i===$t?JSON.stringify(l,null,f):l}return a},detailedReportData:function(t){var i,s,e,n,r,a,h=this.reportData(jt,!1).interactions,o=h.length||0,u=this.ui.ye;for(i="<div class='ap-detailed-result'>",i+="<table width='100%' height='auto' border='1px' bordercolor='#808080' bordercolordark='#808080' bordercolorlight='#C0C0C0' cellspacing='0px' rules='all' frame='box' cellpadding='0px'><thead><tr>",i+="<th width='10%' align='center'>"+u.text("NoSign")+"</th>",i+="<th width='10%' align='center'>"+u.text("SlideIndex")+"</th>",i+="<th width='10%' align='center'>"+u.text("ID")+"</th>",i+="<th width='10%' align='center'>"+u.text("Attempts")+"</th>",i+="<th width='10%' align='center'>"+u.text("Score")+"</th>",i+="<th width='10%' align='center'>"+u.text("MaxScore")+"</th>",i+="<th width='10%' align='center'>"+u.text("Result")+"</th>",t?(i+="<th width='15%' align='center'>"+u.text("LearnerResponse")+"</th>",i+="<th width='15%' align='center'>"+u.text("CorrectResponses")+"</th>"):i+="<th width='30%' align='center'>"+u.text("LearnerResponse")+"</th>",i+="</tr></thead><tbody>",e=0;e<o;++e){if(n=h[e],i+="<tr>",i+="<td align='center'>"+u.number(e+1)+"</td>",i+="<td align='center'>"+u.number(parseInt(n.slide)+1)+"</td>",i+="<td align='center'>"+n.reportid+"</td>",i+="<td align='center'>"+u.number(n.attempts)+"</td>",i+="<td align='center'>"+u.number(n.score)+"</td>",i+="<td align='center'>"+u.number(n.maxScore)+"</td>",i+="<td align='center'>"+this.responseResultString(n.result)+"</td>",i+="<td align='center' class='ap-result-response' style='word-break:break-all'>"+Ts(""+n.learnerResponse)+"</td>",t){for(s="",r=0,a=n.correctResponses.length;r<a;++r)""!=s&&(s+="<br/><br/>"),s+=Ts(""+n.correctResponses[r]);i+="<td align='center' class='ap-result-response' style='word-break:break-all'>"+s+"</td>"}i+="</tr>"}return i+="</tbody></table>",i+="</div>"},sendReport:function(){var i=this.Qs.options,s=this.reportData(i.reportFormat,!0),e=this.ui,n=e.ye;if(null!==s)switch(i.reportMethod){case Zt:case zt:try{var r={type:"POST",url:i.reportAddress,data:"report="+encodeURIComponent(s),timeout:6e4,success:function(t){e.showMsg(n.text("SuccessSendReport"),!0),void 0!=t&&ws("Server Response: "+t)},error:function(t,s,r){var a;r&&(r instanceof Error?a=r.name+": "+r.message:r.toString&&(a=r.toString())),a||(a=n.text("CouldnotSendReport")+i.reportAddress+(s?": "+s:"")),e.showMsg(a,!0)}};e.showMsg(n.text("SendingReport"),!0),t.ajax(r)}catch(t){var a;return a=t instanceof Error?t.name+": "+t.message:t.toString?t.toString():n.text("CouldnotSendReport")+i.reportAddress,e.showMsg(a,!0),!1}}},getResource:function(t,i){if(void 0!==i){var s="png";return 0==i?s="png":1==i?s="jpg":2==i?s="gif":3==i&&(s="svg"),this.resourceLocation+this.fileNamePrefix+"res_"+t+"."+s}return this.resourceLocation+this.fileNamePrefix+"res_"+t},getImgResource:function(t){return this.resourceLocation+this.fileNamePrefix+"img_"+t},getThumbnailResource:function(t){return this.resourceLocation+this.fileNamePrefix+"thumb_"+t+".jpg"},getTextureResource:function(){return this.resourceLocation+this.fileNamePrefix+"tex_"},showToolbar:function(t){return arguments.length||(t=!0),this.ui.showToolbar(t),this.vars.notifyObservers("apToolbarVisible"),this},toolbarVisible:function(){return this.ui.toolbarVisible()},showToc:function(i){return arguments.length||(i=!0),this.ui.showToc(i),t(this.ui).trigger("ap-toc",[i]),this.vars.notifyObservers("apTOCVisible"),this},tocVisible:function(){return this.ui.tocVisible()},showSidebar:function(i){if(arguments.length||(i=!0),this.ui.showSidebar(i),t(this.ui).trigger("ap-sidebar",[i]),this.Qn&&(!i||i&&!this.muted()))for(var s=0,e=this.Qn.length;s<e;++s)this.Qn[s].muted(!i);return i&&this.ea(),this.vars.notifyObservers("apSidebarVisible"),this},sidebarVisible:function(){return this.ui.sidebarVisible()},Kr:function(t){t&&this.ea()},showResources:function(i){return arguments.length||(i=!0),this.ui.showResources(i),t(this.ui).trigger("ap-resources",[i]),this},resourcesVisible:function(){return this.ui.resourcesVisible()},author:function(){return this.Qs.author},homePage:function(){return this.Qs.homepage},copyright:function(){return this.Qs.copyright},name:function(){return this.Qs.projectName},description:function(){return this.Qs.description},currentSlideIndex:function(t){return arguments.length?this.showSlide(t-1):this.slideIndex+1},currentSlideLabel:function(){return this.slide&&this.slide.name()||""},percentageScore:function(){var t=this.score(),i=this.maxScore();return t>=i?100:i&&t>0?ns(100*t/i):0},authorVideoView:function(t){var i=0==arguments.length?0:t;return this.Qn&&this.Qn.length>i?this.Qn[i]:null},playMode:function(){return this.options.playMode},demoMode:function(){return"Demo"==this.options.playMode},registerTimer:function(t){return this.wa?this.wa.push(t):this.wa=[t],this},unregisterTimer:function(t){var i=this.wa.indexOf(t);return i>=0&&this.wa.splice(i,1),this},tick:function(i){if(this.timeline&&!this.timeline.Mn){var s=this.timeline._a,e=(i-s)*this.timeline.oa;if(this.wa&&this.wa.length){var n=this.timeline.ya(e);this.timeline.ka=n.totalTime;for(var r=0;r<this.wa.length;++r)if(this.wa[r].tick(i),this.timeline._a!=s)return}this.timeline.update(e),this.vars.tick(i);var a=this.slide?this.an.time():0,h=this.xn;this.xn=this.Hr(this.slideIndex,a,this.xn),t(this.ui).trigger("ap-progress",[this.slideIndex,this.xn,a]),this.xn!=h&&t(this.ui).trigger("ap-segment-changed",[this.xn,h]);var o=this.elapsedTime();if(!this.Ta||i-this.Ta>=300){this.Ta=i,Le(this.vars,Xe),!this.demoMode()&&this.Qs.options.testMaxTime&&o>=60*this.Qs.options.testMaxTime*1e3&&this.end(!0),this.slide&&this.slide.Qs.w&&this.vr(!0);var u=ls.activeElement,f=u==this.container||(!u||u==ls.body)&&this.container&&this.container.parentElement==ls.body||this.sr&&this.sr.length&&t.contains(this.ui.slides()[0],u);if(f){var c=window.getSelection&&getSelection();c&&c.toString()&&(f=!1)}f&&o>=300&&this.xa()}if(!this.ended){this.slide&&(this.ue.ts=this.an.time()-this.slide.Qs.st),this.ue.elapsedTime=o,this.ue.maxVisitedTs=qi(this.ue.maxVisitedTs,this.an.time());var l=this.vars._e;for(var d in l)this.vars.oe(d)&&(this.ue.vars[d]=this.vars.get(d));this.started&&!this.ended&&this.ue.ts-this.jn()>6e4&&this.fe(!0),this.Qs.mediaPreloading&&this.dn<0&&!this.prevSlide&&this.ue.ts>1e3&&0==this.bn&&this.Sr(this.slideIndex+1)}}},xa:function(){var i=this.sr&&this.sr.length?this.ui.feedbackSlides():this.ui.slides(),s=t('[tabindex]:not([tabindex="-1"])',i).filter(":visible");if(s.length>0){(s=s.toArray()).sort(function(t,i){return t.tabIndex-i.tabIndex});var e=s[0].getBoundingClientRect();if(e.right>0&&e.bottom>0){var n=this.ui.stage()[0].getBoundingClientRect(),r=Math.min(e.right,n.right)-Math.max(e.left,n.left);if((r>30||ys(r,e.right-e.left))&&((r=Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top))>30||ys(r,e.bottom-e.top))){var a=ls.hasFocus();a||this.Ca||(this.Ca=!0,a=!0),a&&s[0].focus({preventScroll:!0})}}}},Ln:function(){var t=this.Qs.ed;if(t){var i=255&t[0],s=255&t[1],e=65535&t[2],n=65535&t[3];if(i&&s&&e&&n==i+s+e){if(0==(t[3]>>16&255))return;if(i=We(e,s-1,i),!isNaN(i)&&i>We())return!1}return!0}},Hn:function(){$e(this)},vr:function(i){var s=this.Ln();if(void 0===s)if(i){var e,n,r,a="A"===this.Qs.generator.charAt(0),h={position:"absolute",display:"block",zIndex:qt.vs},o=a?h:{position:"absolute",display:"block"},u=a?15:50,f="a";if(u+="px",f+="lt",(!this.Sa||!a&&this.Sa[0].childNodes.length<4)&&(this.Sa=t(a?"<img />":"<div><img /><img /><img /><img /></div>"),e="pointer",e+="Event",e+="s",this.Sa.css(e,"none")),r="da",r+="ta",r+=":i",r+="ma",r+="ge",r+="/p",r+="ng",r+=";b",r+="as",r+="e6",r+="4,",r+=this.Qs.wmd,e="min",n="20",n+="0px",o[e+="Width"]=n,e="min",n="50",n+="px",o[e+="Height"]=n,a)this.Sa[0].src!==r&&(this.Sa[0].src=r),this.Sa[0][f]=this.Qs.generator,h.top=h.right=u,h.left="auto";else{var c,l,d,v=this.Sa[0].childNodes;for(l=0,d=v.length;l<d;++l)(c=v[l]).src!==r&&(c.src=r),c[f]=this.Qs.generator,0==l||3==l?(o.left=u,o.right="auto"):(o.left="auto",o.right=u),l<=1?(o.top=u,o.bottom="auto"):(o.top="auto",o.bottom=u),t(c).css(o);h.top=0,h.left=0,h.width="100%",h.height="100%"}this.Sa.css(h);var p=t(".ap-canvas",this.container);this.Sa[0].parentNode&&this.Sa[0].parentNode===p[0]||p.append(this.Sa)}else this.Sa&&this.Sa.hide();else s&&this.Hn()},prez:function(){return this},eventBubbling:function(t,i){return"ap-dblclick"==t&&(t="ap-click"),1==arguments.length?(void 0===(i=this.Ea&&this.Ea[t])&&(i="ap-keypress"!=t&&"ap-click"!=t),i):(this.Ea||(this.Ea={}),this.Ea[t]=i,this)},on:function(t,i){return fn.prototype.on.call(this,t,i)},off:function(t,i){return fn.prototype.off.call(this,t,i)},filterEvent:function(t){var i,s,e=t.target,n=[];if(this.sr)for(s=this.sr.length;--s>=0;)n.push(this.sr[s]);for(n.push(this.slide,this.bottomSlide,this.topSlide),s=0;s<n.length&&!(i=n[s]&&n[s].Oa(e));++s);return!i||fn.prototype.filterEvent.call(i,t)},Ls:function(){return this.ui.canvas()[0]},va:function(t){return fn.prototype.va.call(this,t)},Zs:function(t){return!this.demoMode()&&(t||!this.bn)&&(!this.Mn||this.ended)},Us:function(t){fn.prototype.Us.call(this,t)},Hs:function(t){return fn.prototype.Hs.call(this,t)},cssUrl:function(){return void 0!==this.options.css?this.options.css:this.Qs.options.css},highlightFocus:function(t){if(!arguments.length)return void 0!==this.options.highlightFocus?this.options.highlightFocus:this.Qs.options.hilightFocus;this.options.highlightFocus=t},variable:function(t,i){return 1===arguments.length?this.vars.get(t):this.vars.set(t,i)},startTimeline:function(t,i){return typeof t===zi&&(t=this.slide&&this.slide.timeline(t)),t?(t.remove(),t.Pa&&(t.Pa.remove(),t.Pa=null),t.started()&&t.totalTime()<t.totalDuration()&&t.pause(t.totalDuration()),t.startTime(this.timeline.totalTime()),i&&(t.Pa=new Zr(function(){i.call(t)},{startTime:t.duration(),duration:0}),t.addChild(t.Pa)),this.timeline.addChild(t),t.setup(),t.play(0),t):null},pauseTimeline:function(t,i){return typeof t===zi&&(t=this.slide&&this.slide.timeline(t)),t?(arguments.length<2&&(i=!0),i?t.paused(!0):t.started()?t.paused(!1):this.startTimeline(t),t):null},clickSequenceForward:function(t){var i=(t=t||this.slide)&&t.clickSequence();if(!i)return!1;for(;i&&!i.hasChildAnimations();)i=t.Ia();var s=!1;if(i){if(i.started()){i.remove(),i.totalTime()<i.totalDuration()?i.pause(i.totalDuration()):s=!0;do{i=t.Ia()}while(i&&!i.hasChildAnimations())}}else s=!0;return i?(this.startTimeline(i),!0):t==this.slide&&(!s||this.nextSlide())},clickSequenceBack:function(t){var i=(t=t||this.slide)&&t.clickSequence();if(!i)return!1;for(;i&&!i.hasChildAnimations();)i=t.Ra();if(i&&!i.started()&&(i=t.Ra()),i)return i.remove(),i.reset(),!0;if(t==this.slide&&this.previousSlide()){var s=this.slide;if(s&&s!=t)for(i=s.clickSequence();i&&s==this.slide;)i.remove(),i.pause(i.totalDuration()),i=s.Ia();return!0}return!1},reviewCourse:function(){this.slide&&this.Rr(this.slideIndex,!0),this.na=!0,this.end(),this.firstSlide(),this.pauseAll(!1)},isReviewingMode:function(){return!0===this.na},runAction:function(t,i,s){for(var e=null,n=0,r=this.Qs.adActions.length;n<r;n++){var a=this.Qs.adActions[n];if(a[0]===t){e=a[1];break}}if(e){for(var h=s.currentTarget&&s.currentTarget.slide,o=(n=0,e.length);n<o;n++){var u=e[n],f=u[0],c=u[1],l=u[2]||[],d=u[3];if(d){var v=i[d];switch(f){case Yt.ri:u[1]=v-1;break;case Yt.ni:case Yt.oi:case Yt.fi:case Yt.li:case Yt.vi:case Yt.pi:u[1]=v;break;case Yt.gi:case Yt.Mi:case Yt.Si:case Yt.ki:case Yt.Oi:case Yt.yi:case Yt.Bi:case Yt.Zi:case Yt.bi:case Yt.wi:case Yt.Yi:case Yt.Xi:case Yt.Li:case Yt.Di:case Yt.zi:case Yt.Gi:var p=h&&h.object(v);c[0]=p?p.id():-1;break;case Yt.Ei:case Yt._i:var m=this.Qs;if(void 0!==m.ai)for(var g=0,M=m.ai.length;g<M;++g){var b=m.ai[g];b[1]===v&&(c[0]=b[0],c[1]=b[2])}break;case Yt.At:p=h&&h.object(v[0]);c[0]=p?p.id():-1,c[2]=Fi,c[3]=v[1];break;case Yt.Pi:case Yt.Ti:case Yt.xi:case Yt.Ci:var w=h&&h.timeline(v);u[1]=w?w.id:-1;break;case Yt.Ii:var _=this.hr(v);c[0]=_.fbi;break;case Yt.Ri:_=this.hr(v);u[1]=_.fbi}}g=0;for(var y=l.length;g<y;g++){var k=l[g],T=k[3],x=k[4];if(x){var C=x[0],S=i[C],E=x[1],O=i[E];switch(k[1]){case Ct.Nt:void 0!==C&&(T[1]=S),void 0!==E&&(T[0]=O);break;case Ct.At:S!=O[0]&&(T[0]=T[1]=0),T[1]=S,T[0]=O[1];break;case Ct.Dt:T[0]=O;break;case Ct.I:var P=s.currentTarget&&s.currentTarget.slide&&s.currentTarget.slide.object(O);T[0]=P.id();break;case Ct.Xt:var I=this.slide.object(S);T[1]=I.id(),T[0]=O;break;case Ct.X:I=this.slide.object(S);if(T[1]=I.id(),k[3]==St.Wt){var R=T[0][0],N=T[0][1];if(-1==R&&E&&(O[0]=i[E]),-1==N){var A=x[2];void 0!==A?O[1]=i[A]:void 0!==E&&(O[1]=i[E])}}T[0]=O;break;case Ct.K:I=this.slide.object(S);T[1]=I.id(),T[0]=O;break;case Ct.rt:"left click"===S.toLowerCase()?T[0]=1:"left double-click"===S.toLowerCase()?T[0]=4:"right click"===S.toLowerCase()&&(T[0]=3);break;case Ct.Yt:case Ct.ht:T[0]=S}}}}var D=-1,Y=(o=e.length,this.prez()),X=(n=0,function(){++D<o&&ke(e[D],Y,s,D===o-1?null:X)});X()}},Na:function(){var t,i,s=this.Aa;if(!s){for(s=[],i=0;i<this.wn.Fe;++i)(t=new Gn(this,!1)).Da=!1,t.Or(!0),t.synchronizeWithPrez(!1),s.push(t);this.Aa=s}},Dr:function(){this.Na();var t,i,s,e,n,r,a=this.Aa,h=[],o=function(t,i){!function(t,i){var s,e,n,r,a,h,o,u,f;if(t&&t.l)for(s=0,e=t.l.length;s<e;++s)for(n=0,r=(u=t.l[s][1]).length;n<r;++n)if(((o=u[n])[0]==Yt._i||o[0]==Yt.Ei)&&o[1][1]<Zi){for(f=!1,a=0,h=i.length;a<h;++a)if(i[a][0]==o[1][0]){f=!0;break}f||i.push([o[1][0],o[1][1]])}}(t.e,i);var s,e,n=t.cc;if(n)for(s=0,e=n.length;s<e;++s)o(n[s],i)};for(this.slide&&o(this.slide.Qs,h),r=0,i=0,s=h.length;i<s;++i)for(e=r,n=a.length;e<n;++e)if(!(t=a[e]).Da){t.Er("Play Short Audio Action: "+h[i][0]),t.Jr(h[i][1]),t.loadResource(h[i][0]),r=e+1;break}},Jn:function(){var t,i,s=this.Aa;if(s){for(t=0,i=s.length;t<i;++t)s[t].cleanup();delete this.Aa}},Ya:function(t,i,s,e,n){this.Na(),ws("_playShortAudioResource: "+t);var r,a,h,o=this.Aa;for(a=0,h=o.length;a<h;++a)if(!o[a].Da&&(r||(r=o[a]),o[a].Xa==t)){r=o[a],ws("_playShortAudioResource: Cached player found");break}if(r){var u=function(){ws("_playShortAudioResource: Completed: "+t),r.Da=!1,r.La("ended",u),r.pause(),n&&n()},f=function(){ws("_playShortAudioResource: Error: "+t),r.Da=!1,r.La("error",f),r.pause(),n&&n()};r.Fa("ended",u),r.Fa("error",f),r.Da=!0,r.Xa!=t&&(r.Er("Play Audio Action: "+t),r.Jr(i),r.loadResource(t)),r.play()}else ws("_playShortAudioResource: No available players")},Ha:function(t,s,e,n,r){var a=this.bottomSlide,h=a.Ua(function(t){return t.actionData===e});if(h)h.remove(),h.started()&&h.totalTime()<h.totalDuration()&&h.pause(h.totalDuration());else{if(a.Ba||(a.Ba=0),a.Ba>=this.wn.Le)return;var u=a.defaultCtrlData();u.k=i._,u.mi=t,u.md=s,u.f|=o;var f=a.createChild(u);++a.Ba,(h=new $r).actionData=e,n&&(h.Fr=!0),a.ae(h),Ve(h,f,t,0,s+500,s),h.addChild(new Zr(function(){setTimeout(function(){a.re(h)},0),f.remove(),--a.Ba,r&&r()},{startTime:h.duration(),duration:0}))}h.startTime(this.timeline.totalTime()),this.timeline.addChild(h),h.setup(),h.play(0)},he:function(t,i,s,e,n){i<Zi?this.Ya(t,i,s,e,n):this.Ha(t,i,s,e,n)},Za:function(t,i,s,e,n,r){var a=ls.createElement("canvas");Rs(a,{width:2*s+2,height:2*s+2});var h=a.style;h.position="absolute",h.left=t-s-1+"px",h.top=i-s-1+"px",h.pointerEvents="none",h.zIndex=qt.fs,this.ui.slides()[0].appendChild(a);var o=this.bottomSlide,u=new $r,f=os({},hn,{node:a,slide:o,za:0,Ga:e,Va:n,Wa:s+1,$a:s+1,Ka:s});u.Fr=!0,o.ae(u),u.addChild(new zr(f,"ceProgress",{startTime:0,duration:r,tweenParams:[0,100]})).addChild(new Zr(function(){setTimeout(function(){o.re(u)},0),a.parentNode&&a.parentNode.removeChild(a)},{startTime:r})),u.startTime(this.timeline.totalTime()),this.timeline.addChild(u),u.setup(),u.play(0)},le:function(t,i,s){if(t){var e=new $r;e.actionData=i,t.ae(e),e.addChild(new Zr(function(){setTimeout(function(){t.re(e)},0),s&&s()},{startTime:i,duration:0})),e.startTime(this.timeline.totalTime()),this.timeline.addChild(e),e.setup(),e.play(0)}}}),Qe=ls.createElementNS(Gi,"svg"),qe=Qe.createSVGMatrix(),Je=Qe.createSVGPoint();function tn(t,i,s){Je.x=i,Je.y=s;var e=Je.matrixTransform(t);return{x:e.x,y:e.y}}var sn=ie({$init:function(t,i){this.ja=t,this.Qs=i||[],this.Qa=_,this.qe=-1},useDefault:function(){var t,i,s=0;for(t=0,i=this.Qs.length;t<i;++t)if(this.Qs[t].d){s=t;break}return this.at(s)},is:function(t){var i=this.Qs[this.qe];return i&&i[typeof t===zi?"n":"i"]===t},count:function(){return this.Qs.length||0},at:function(t){if(!arguments.length)return this.qe;var s=this.Qs[t];if(!s)return!1;this.qe=t;var e=this.Qa;void 0!==s.p&&(this.Qa=s.p);var n=s.at;if(s.im){var r=s.im;this.ja.qa(r[0],r[1],n)}else this.ja.imageNode&&(this.ja.imageNode.src="");if(this.ja.Qs.k==i.tt){var a=s.model||[],h=s&&s.w&&s.w[this.ja.slide.we.layoutIndex];if(h&&h.r){var o=h.r,u=Ys(o[2]),f=Ys(o[3]);this.ja.Ja(u,f,a)}}var c,l,d,v=this.ja.shape,p=s.f,m=s.l,g=s.s,M=s.o,b=s.t;if(this.layout(),s.tg&&this.ja.setIconSize){var w=s.tg;if(!!w[6]){var _=(this.Qa&x)===x;v.createIcon(_,w[0],w[1],w[2],As(w[3]),As(w[4]),As(w[5])),v.updateIcon(),this.ja.setIconSize&&this.ja.setIconSize(w[0])}}if(s.sl){var y=s.sl;v.updateSlider(this.ja.value(),As(y[0]),As(y[1]),As(y[2]),y[3],y[4])}if(s.dd){b=void 0;var k=this.ja.Qs.it,T=this.ja.Qs.hi,C=this.ja.Qs.di,S=s.t&&s.t[1];v.updateDropdown(k,T,C,S,As(s.dd[0]),As(s.dd[1]),As(s.dd[2]),As(s.dd[3]),s.dd[4])}if(s.a){if(!s.a.params){s.a.type=s.a[0],s.a.params=s.a.slice(1);var E=s.a.params[0];if(E)for(l=0,d=E.length;l<d;++l)E[l]/=Ui}this.ja.shape.shape(s.a.type,s.a.params)}if(p){if(!p.normed){if(p[0]===wt.Pt){var O,P=p[2];for(l=0,d=P.length;l<d;++l)O=[(c=P[l])[0]],c=c[1],O.push(As(c>>16&255,c>>8&255,255&c)),O.push((c>>24&255)/255),P[l]=O}p.normed=!0}switch(p[0]){case wt.Et:v.fillNone();break;case wt.Ot:c=p[1],v.fillSolid(c>>16&255,c>>8&255,255&c,(c>>24&255)/255);break;case wt.Pt:p[1]?v.fillRadialGradient(p[2],p[3],p[4],p[5],p[6]):v.fillLinearGradient(p[2],p[3],p[4],p[5]);break;case wt.M:p.length>1?v.fillImage(p[1],p[2],p[3],p[4],p[5]):v.fillNone()}}else v.fillNone();if(m?(v.lineWidth(m[0]),c=m[1],v.lineColor(c>>16&255,c>>8&255,255&c,(c>>24&255)/255),v.lineJoin(m[2]),v.lineCap(m[2]),void 0!==m[3]?v.endArrow(m[3],m[4]):v.endArrow(ct.NONE),void 0!==m[5]?v.startArrow(m[5],m[6]):v.startArrow(ct.NONE),v.lineStyle(m[2])):v.lineStyle("none"),this.ja.rotate(s.r||0),this.ja.flip(s.fh,s.fv),g){c=g[3];var I=g[1]-this.ja.rotateToSlide();v.applyEffectShadow(g[0],I,g[2],c>>16&255,c>>8&255,255&c,(c>>24&255)/255)}else v.clearEffectShadow();this.ja.node.style.opacity=isNaN(M)||255==M?"":M/255,s.cla?this.ja.filterEffects(s.cla):this.ja.filterEffects(null),b?(!this.ja.th&&this.ja.html(b[0]||""),this.ja.textStyle(b[1]).textVerticalAlign(b[2])):!this.ja.th&&this.ja.html(""),n||(this.ja.textNode&&(n=(n=this.ja.textNode.textContent.replace(/\r|\n/g," ")).replace(/ +(?= )/g,"").trim()),n||(n=this.ja.Qs.n,this.Qs.length>1&&(n+=" "+s.n))),n?this.ja.accText(n):this.ja.accText("");var R=s.mf;R&&this.ja.mediaFit&&this.ja.mediaFit(R);var N=s.mp;if(N&&this.ja.mediaPosition&&this.ja.mediaPosition(N),this.ih(e,this.Qa),s.lg){var A=s.lg;v.createLegend(A[0],As(A[1]),As(A[2]),A[3]),v.updateLegend(),this.ja.sh()}return this.ja.eh&&(this.ja.shape||this.ja.textContainer)&&(this.ja.parent&&this.ja.parent.nh(),this.ja.rh()),this.ja.ah&&this.ja.ah(),!0},id:function(t){if(!arguments.length){var i=this.Qs[this.qe];return i?i.i:-1}return this.at(this.find("i",t))},name:function(t){if(!arguments.length){var i=this.Qs[this.qe];return i?i.n:""}return this.at(this.find("n",t))},flags:function(t){if(!arguments.length)return this.Qa;var i,s=_,e=this.Qa;return t&x&&(s|=x),t&T?s|=T:t&y?s|=y:t&k?s|=k:t&C?s|=C:t&S?s|=S:t&E?s|=E:t&O?s|=O:t&P?s|=P:t&I?s|=I:t&R?s|=R:t&N&&(s|=N),this.hh=!0,i=this.at(this.find("p",s)),delete this.hh,this.ih(e,t),i},ih:function(t,i){this.Qa=i,!this.hh&&this.ja.oh&&this.ja.oh(t,i)},has:function(t){var i=this.Qs[this.qe];return i&&(i.p&t)===t},find:function(t,i){var s,e;for(s=0,e=this.Qs.length;s<e;++s)if(this.Qs[s][t]===i)return s;return-1},uh:function(t){var i,s=this.Qs[t],e=s&&s.w&&s.w[this.ja.slide.we.layoutIndex];return e&&e.r&&(i=[(e=e.r)[0],e[1],e[4]]),i},layout:function(){var t=this.Qs[this.qe],i=t&&t.w&&t.w[this.ja.slide.we.layoutIndex];if(i){if(!i.normed){var s,e,n,r,a,h=i.p;if(h)for(s=0;s<h.length;++s){if(s<2){if(f=h[s])for(u=0,r=f.length;u<r;++u)for(a=f[u],e=0;e<6;++e)a[e]/=Ui}else for(var o=h[s],u=0;u<o.length;++u){var f,c=o[u];if(c)if(f=c.p)for(e=0,r=f.length;e<r;++e)for(a=f[e],n=0;n<6;++n)a[n]/=Ui}}i.normed=!0}if(i.b&&this.ja.flexbox(i.b),i.c)this.ja.flexChild(i.c);else if(i.r){var l,d,v=i.r,p=Ys(v[2]),m=Ys(v[3]);this.ja.center(1===v[5]||3===v[5],2===v[5]||3===v[5]),this.ja.lh(v[0],v[1],v[4]),"%"===p.unit||"a"===p.unit?p.value/=Ui:p.unit||(p.unit="px"),"%"===m.unit||"a"===m.unit?m.value/=Ui:m.unit||(m.unit="px"),l=!(d="a"===m.unit)&&"a"===p.unit,this.ja.autoWidth(l).autoHeight(d),(d||l)&&(this.ja.dh=d?m.value:p.value,this.ja.vh=!0),l||this.ja.width(p.value+p.unit),d||this.ja.height(m.value+m.unit)}this.ja.shape.path(i.p&&i.p.length?i.p:null),i.f?this.ja.fontScale(i.f):this.ja.fontScale(100),this.ja.alwaysHide(i.h)}}});function en(t){this.ph=t,this.mh=[],this.gh=qt.ps;var i=t.Qs.dd;this.Mh={effect:i[0],scale:i[1],alpha:i[2],posType:i[3],posVal:i[4],maxAccept:i[5],replace:i[6],acceptAny:i[7],acceptIds:i[8]||[]}}function nn(t,i,s){var e,n,r,a;if(i)for(e=0,n=i.length;e<n;++e)r=i[e],a=Dt[r[0]],!r[1]||!r[1].length||s&&"ap-beforeload"!=a&&"ap-load"!=a&&"ap-unload"!=a&&"ap-timer-complete"!=a||t.on(a,function(t){return function(i,s){var e=-1,n=t[1],r=n.length,a=function(){++e<r&&ke(n[e],s,i,a)};a()}}(r))}function rn(t){var i,s=[];if(!(t&&t.node&&t.showProp&&t.hideProp))return s;for(;t;)t.node.style.display===t.hideProp()&&(t.node.style.display=t.showProp(),s.push(t)),t=t.parent;return(i=s[s.length-1])&&i.Lr&&i.Lr(),s}function an(t){var i,s=t.length;if(s){for(i=s;--i>=0;)t[i].node.style.display=t[i].hideProp();t[s-1].Lr&&t[s-1].Lr()}}en.TileMargin=5,en.RevertTime=200,en.DropTime=200,en.ZoomEffectScale=1.1,en.dragEffect=function(i,s,e,n){var r=t(i.node),a=i.node.style;if(s){var h={zIndex:qt.ms,opacity:.8},o=i.bh={zIndex:a.zIndex,opacity:a.opacity},u=i.Qs.dd;if(u)switch(u[0]){case q:r.addClass("ap-ctrl-dragsource-hilight");break;case J:var f=r.css("transform-origin").split(" ");e-=parseFloat(r.css("left"))+parseFloat(f[0]),n-=parseFloat(r.css("top"))+parseFloat(f[1]),o.transform=a[Bs],h.transform="translate("+e+"px, "+n+"px) scale("+en.ZoomEffectScale+", "+en.ZoomEffectScale+") translate("+-e+"px, "+-n+"px)",o.transform&&"none"!==o.transform&&(h.transform+=" "+o.transform)}r.css(h)}else i.bh&&(r.css(i.bh),delete i.bh),r.removeClass("ap-ctrl-dragsource-hilight")},en.dropHoverEffect=function(i,s){var e=i.Qs.dd;if(e)switch(e[0]){case q:s?t(i.node).addClass("ap-ctrl-droptarget-hilight"):t(i.node).removeClass("ap-ctrl-droptarget-hilight");break;case J:s?(i.wh=i.node.style[Bs],i.scaleBy(en.ZoomEffectScale)):void 0!==i.wh&&(i.node.style[Bs]=i.wh,delete i.wh)}},en.revert=function(t,i,s,e,n){var r=t.prez(),a=new $r({startTime:r.timeline.totalTime()}),h=t.node.style.zIndex;t.node.style.zIndex=qt.ms,t.ae(a),a.addChild(new zr(t,"translateX",{startTime:0,duration:e,easing:yr.outQuad,tweenParams:[-i],relative:kr._h})).addChild(new zr(t,"translateY",{startTime:0,duration:e,easing:yr.outQuad,tweenParams:[-s],relative:kr._h})).addChild(new Zr(function(){t.node.style.zIndex=h,n&&n(),setTimeout(function(){t.re(a)},0)},{startTime:a.duration(),duration:0})),r.timeline.addChild(a),a.setup(),a.play(0)},en.prototype={constructor:en,droppedObjects:function(){return this.mh},accepted:function(t){return this.Mh.acceptAny||this.Mh.acceptIds.indexOf(t.id())>=0},drop:function(s,e,n,r){void 0===n&&(n=!0);var a=this.ph,h=this.Mh,o=h.maxAccept<0||this.mh.length<h.maxAccept,u=!1,d=!1;if(s.parent!==a.parent?o=!1:(o||this.mh.length===h.maxAccept&&h.maxAccept>0&&(h.replace?(u=!0,o=!0):d=!0),!o&&!d||h.acceptAny||h.acceptIds.indexOf(s.Qs.i)<0&&(o=u=d=!1)),s.Qs.k==i.S&&s.js.flags(s.js.flags()&~(k|y)),!o)return n&&(s.hasStateFlag(N)&&s.js.flags(N),a.hasStateFlag(N)&&a.js.flags(N),t(a).triggerHandler(t.Event("ap-reject",{value:s})),en.revert(s,r.x,r.y,en.RevertTime)),!!d&&void 0;if(u){var v,p=this.mh[this.mh.length-1];p&&(v=this.startDragOut(p,n),n&&(s.hasStateFlag(N)&&s.js.flags(N),p.hasStateFlag(N)&&p.js.flags(N),t(a).triggerHandler(t.Event("ap-reject",{value:p})),en.revert(p,v.x,v.y,en.RevertTime)))}this.mh.push(s),s.dropTarget=a;var m={w:s.node.clientWidth,h:s.node.clientHeight},g={t:a.node.offsetTop,l:a.node.offsetLeft,w:a.node.clientWidth,h:a.node.clientHeight},M=h.scale/100,b="",w={},_=s.yh={},T=s.node.style;switch(1!==M&&(b="translate("+-m.w/2+"px, "+-m.h/2+"px) scale("+M+", "+M+") translate("+m.w/2+"px, "+m.h/2+"px)",m.w*=M,m.h*=M),h.posType){case c:this.kh(m,g,h.posVal);break;case l:this.Th(m,g,h.posVal);break;case f:m.l=g.l+e.x,m.t=g.t+e.y,s.xh={x:e.x,y:e.y}}var x,C,S,E=t(s.node).css("transform-origin").split(" "),O=t(a.node).css("transform-origin").split(" ");return x=g.l+parseFloat(O[0])-(s.node.offsetLeft+parseFloat(E[0])),C=g.t+parseFloat(O[1])-(s.node.offsetTop+parseFloat(E[1])),"none"===(S=a.node.style.transform)&&(S=""),w.transform="translate("+x+"px, "+C+"px) "+S+" translate("+-x+"px, "+-C+"px) translate("+(m.l-s.node.offsetLeft)+"px, "+(m.t-s.node.offsetTop)+"px) "+b,_.transform=T[Bs],w.zIndex=this.gh++,_.zIndex=T.zIndex,255!=h.alpha&&(w.opacity=h.alpha/255,_.opacity=T.opacity),t(s.node).css(w),s.updateCachedTransform(),n&&(s.hasStateFlag(R)&&s.js.flags(R),a.hasStateFlag(R)&&a.js.flags(R),t(a).triggerHandler(t.Event("ap-accept",{value:s})),a instanceof Tn&&a.submit(s)),!0},startDragOut:function(i,s){var e=this.mh.indexOf(i),n={x:0,y:0};if(e<0)return n;if(this.mh.splice(e,1),delete i.dropTarget,i.yh){var r=i.translate();t(i.node).css(i.yh),i.updateCachedTransform(),delete i.yh;var a=i.translate();n.x=r.translateX-a.translateX,n.y=r.translateY-a.translateY}if(s&&t(this.ph).triggerHandler(t.Event("ap-dragout",{value:i})),this.Mh.posType===l&&(this.Ch=this.Sh=this.Eh=0,this.mh.length)){var h,o,u,f,c=this.ph,d={t:c.node.offsetTop,l:c.node.offsetLeft,w:c.node.clientWidth,h:c.node.clientHeight},v=t(c.node).css("transform-origin").split(" "),p=c.node.style.transform,m=this.Mh.scale/100,g="";for(v[0]=parseFloat(v[0]),v[1]=parseFloat(v[1]),"none"===p&&(p=""),e=0;e<this.mh.length;++e)h={w:(i=this.mh[e]).node.clientWidth,h:i.node.clientHeight},1!==m&&(g="translate("+-h.w/2+"px, "+-h.h/2+"px) scale("+m+", "+m+") translate("+h.w/2+"px, "+h.h/2+"px)",h.w*=m,h.h*=m),this.Th(h,d,this.Mh.posVal),o=t(i.node).css("transform-origin").split(" "),u=d.l+v[0]-(i.node.offsetLeft+parseFloat(o[0])),f=d.t+v[1]-(i.node.offsetTop+parseFloat(o[1])),t(i.node).css("transform","translate("+u+"px, "+f+"px) "+p+" translate("+-u+"px, "+-f+"px) translate("+(h.l-i.node.offsetLeft)+"px, "+(h.t-i.node.offsetTop)+"px) "+g),i.updateCachedTransform()}return n},clear:function(){for(var t=this.mh;t.length;)this.startDragOut(t[t.length-1]);this.gh=qt.ps},layout:function(){for(var t=this.ph;t;){if("none"===t.node.style.display)return;t=t.parent}var i,s,e=this.mh,n=[],r=[];if(e.length){for(;e.length;)i=e[e.length-1],n.push(i),r.push(i.xh||{x:0,y:0}),this.startDragOut(i);for(this.gh=qt.ps,s=n.length-1;s>=0;--s)this.drop(n[s],r[s],!1)}},absolutePosition:function(){return this.Mh.posType===f},kh:function(t,i,s){t.t=i.t+(i.h-t.h)*rs(s/3)/2,t.l=i.l+(i.w-t.w)*(s%3)/2},Th:function(t,i,s){var e,n,r,a,h,o,u;switch(this.Ch||(this.Ch=en.TileMargin),this.Sh||(this.Sh=en.TileMargin),this.Eh||(this.Eh=0),s){case d:case v:case g:case M:default:r=t.w,a=t.h,h=i.w,o=!1;break;case p:case m:case b:case w:r=t.h,a=t.w,h=i.h,o=!0}(this.Ch+r>h?(this.Sh+=this.Eh+en.TileMargin,e=this.Sh,n=en.TileMargin,this.Ch=n+r+en.TileMargin,this.Eh=a):(e=this.Sh,n=this.Ch,this.Ch+=r+en.TileMargin,a>this.Eh&&(this.Eh=a)),o)&&(u=e,e=n,n=u);switch(s){case d:case m:default:t.t=i.t+e,t.l=i.l+n;break;case v:case p:t.t=i.t+i.h-e-t.h,t.l=i.l+n;break;case g:case w:t.t=i.t+e,t.l=i.l+i.w-n-t.w;break;case M:case b:t.t=i.t+i.h-e-t.h,t.l=i.l+i.w-n-t.w}}};var hn={showProp:function(){return"block"},hideProp:function(){return"none"},rotate:function(){return 0},rotateToSlide:function(){for(var t=this,i=0;t&&t!=this.slide;)i+=t.rotate(),t=t.parent;return i},offsetPosition:function(){return this.node?{x:this.node.offsetLeft,y:this.node.offsetTop}:{x:0,y:0}},offsetSize:function(){return this.node?{width:this.node.offsetWidth,height:this.node.offsetHeight}:{width:0,height:0}},transformOrigin:function(t){if(!this.node)return{x:0,y:0};if(t){var i=this.node.getBoundingClientRect(),s=this.slide.node.getBoundingClientRect();return{x:((i.left+i.right)/2-s.left)/this.slide.prez().ir(),y:((i.top+i.bottom)/2-s.top)/this.slide.prez().ir()}}var e=this.offsetSize();return{x:e.width/2,y:e.height/2}},contentBox:function(){var t=this.offsetSize();return{x:0,y:0,width:t.width,height:t.height}},transformedContentBox:function(t){if(!this.node)return{x:0,y:0,width:0,height:0};var i=t?this.slide.node:this.node.parentNode,s=this.node.getBoundingClientRect(),e=i.getBoundingClientRect(),n=this.slide.prez().ir();return{x:(s.left-e.left)/n,y:(s.top-e.top)/n,width:(s.right-s.left)/n,height:(s.bottom-s.top)/n}},rotatedContentBox:function(t,i){var s=this.contentBox(),e=this.transformOrigin();if(t%360){var n=qe.translate(e.x,e.y).rotate(t).translate(-e.x,-e.y),r=tn(n,s.x,s.y),a=tn(n,s.x+s.width,s.y),h=tn(n,s.x+s.width,s.y+s.height),o=tn(n,s.x,s.y+s.height);s.x=Qi(r.x,a.x,h.x,o.x),s.y=Qi(r.y,a.y,h.y,o.y),s.width=qi(r.x,a.x,h.x,o.x)-s.x,s.height=qi(r.y,a.y,h.y,o.y)-s.y}if(i){var u=this.transformOrigin(!0);s.x+=u.x-e.x,s.y+=u.y-e.y}else{var f=this.offsetPosition();s.x+=f.x,s.y+=f.y}return s}},on=ie(hn,{$init:function(t,i){this.node=t,this.parent=i,this.slide=i.slide},showProp:function(){return"inline-block"}});function un(t,i,s){var e=t.style;switch(i){case Q.AUTO:e.pointerEvents="auto",e.overflow="auto",s&&(t.scrollWidth<=t.offsetWidth?e.overflow="hidden auto":t.scrollHeight<=t.offsetHeight&&(e.overflow="auto hidden"));break;case Q.HIDDEN:t.scrollTop=0,t.scrollLeft=0,e.overflow="hidden";break;default:t.scrollTop=0,t.scrollLeft=0,e.overflow="visible"}}var fn=ie(hn,{$init:function(s,e){this.Fs=xe(),this.parent=null,this.slide=s,this.children=[],e=e||{},this.Qs=e,this.node=this.createNode();var n=e.isSlide,o=this;if(this.node.id||(this.node.id=s.we.tr(n)+this.Fs),t(this.node).addClass(n?"ap-slide":"ap-ctrl").css({position:"absolute",pointerEvents:"none"}).on("focus",function(){o.prez()&&o.prez().highlightFocus()&&t(this).addClass("ap-focused")}).on("blur",function(){t(this).removeClass("ap-focused")}),e.f&r){var u={start:function(i,s){var e=this.rlDragCtrl,n=this.style,r={x:0,y:0};if(!e||!e.Zs(!1,!0)||e.prez()&&e.prez().ended)return!1;e.Oh=e.dropTarget||null,e.dropTarget&&(r=e.dropTarget.dropHelper.startDragOut(e,!0)),e.Ph=null,e.Ih=null,e.Rh=e.Nh=0,e.Ah=r.x,e.Dh=r.y,e.Yh={left:n.left,right:n.right,top:n.top,bottom:n.bottom},e.Xh=getTransformationMatrix(this.parentNode).inverse(),e.Lh=e.Xh.transformPoint({x:s.originalPosition.left,y:s.originalPosition.top}),e.Fh=parseFloat(t(this).css("left"))||0,e.Hh=parseFloat(t(this).css("top"))||0,(r.x||r.y)&&(e.Fh+=r.x,e.Hh+=r.y,t(this).css({left:e.Fh+"px",top:e.Hh+"px"}));var a=e.Xh.transformPoint({x:i.pageX,y:i.pageY});e.hasStateFlag(C)&&e.js.flags(C),en.dragEffect(e,!0,a.x,a.y),t(e).triggerHandler(t.Event("ap-dragstart",{originalEvent:i}))},drag:function(i,s){var e,n,r,a=this.rlDragCtrl;if(a&&(e=a.Xh.transformPoint({x:s.position.left,y:s.position.top}),a.Rh=e.x-a.Lh.x,a.Nh=e.y-a.Lh.y,s.position.left=a.Fh+a.Rh,s.position.top=a.Hh+a.Nh,n=this.style.zIndex,this.style.zIndex=-1,r=ls.elementFromPoint(i.clientX,i.clientY),this.style.zIndex=n,r!==a.Ph)){a.Ph=r;for(var h=null;r&&r!==ls.documentElement&&(r.rlDropCtrl?h=r.rlDropCtrl:r.rlDragCtrl&&r.rlDragCtrl.dropTarget&&(h=r.rlDragCtrl.dropTarget),!h);)r=r.parentNode;h&&!h.Zs(!1,!0,!0)&&(h=null),h!==a.Ih&&(a.Ih&&(a.hasStateFlag(O)&&a.js.flags(O),en.dropHoverEffect(a.Ih,!1),t(a.Ih).triggerHandler(t.Event("ap-dragleave",{value:a,originalEvent:i}))),a.Ih=h,h&&(a.hasStateFlag(E)&&a.js.flags(E),en.dropHoverEffect(h,!0),t(a.Ih).triggerHandler(t.Event("ap-dragenter",{value:a,originalEvent:i}))))}},stop:function(i,s){var e,n,r=this.rlDragCtrl;if(r){(e=r.Ih)&&e.dropHelper.absolutePosition()&&(n=convertPointFromNodeToPage(r.node,0,0),n=convertPointFromPageToNode(e.node,n.x,n.y)),en.dragEffect(r,!1);var a,h=r.node.style,o=r.Yh;for(a in o)h[a]=o[a];if(delete r.Yh,r.Rh+=r.Ah,r.Nh+=r.Dh,e)r.hasStateFlag(S)&&r.js.flags(S),en.dropHoverEffect(e,!1),e.dropHelper.drop(r,n,!0,{x:r.Rh,y:r.Nh}),t(r).triggerHandler(t.Event("ap-dragend",{value:r.dropTarget||null,originalEvent:i}));else{var u=r.savedData();u&&u.st?r.state(u.st):r.js.flags(_);var f=function(){if(r.parent&&r.parent.children){var t,i,s,e=r.parent.children;for(i=0,s=e.length;i<s;++i)(t=e[i])instanceof Tn&&t.Zs(!0,!0)&&t.submit(r)}};r.Qs.dd[1]?(r.hasStateFlag(S)&&r.js.flags(S),t(r).triggerHandler(t.Event("ap-dragend",{value:null,originalEvent:i})),en.revert(r,r.Rh,r.Nh,en.RevertTime,f)):(r.hasStateFlag(S)&&r.js.flags(S),r.translateBy(r.Rh,r.Nh),t(r).triggerHandler(t.Event("ap-dragend",{value:null,originalEvent:i})),f())}var c=r.dropTarget||null;r.Oh!=c&&pe(r,"ap-change"),delete r.Oh,delete r.Ph,delete r.Ih,delete r.Lh}}};this.node.rlDragCtrl=this,t(this.node).on("mousedown mouseup",function(t){this.rlDragCtrl&&this.rlDragCtrl.filterEvent(t)||this.rlDragCtrl.Us(t)}).css("touchAction","none").draggable(u),Ee(this.node)}else e.f&a&&(this.dropHelper=new en(this),this.node.rlDropCtrl=this);if(this.Uh=this.node.clientWidth,this.Bh=this.node.clientHeight,this.shape=new mr(this.node,this),this.js=new sn(this,e.s),this.js.useDefault(),e.tm&&this.textMargin(e.tm[0],e.tm[1],e.tm[2],e.tm[3]),!this.flexbox||e.s&&!e.isSlide||this.flexbox(),void 0!==e.c)if(void 0!==e.ext){var f="url("+s.we.getResource(e.c,e.ext)+"), auto";this.cursor(f)}else this.cursor(Jt[e.c]);if(void 0!==e.mi&&e.k!=i._&&e.k!=i.T){var c=!0;this.ia=s.we.Pr({ctrl:e}),this.ia||(c=!1,this.ia=new Gn(s.we,!1));var l=this.ia;l.Er(e.n),l.Jr(e.md),l.Ve=e.audio_ducking,l.synchronizeWithPrez(!0),c||l.loadResource(e.mi)}this.Zh(),e.e&&e.e.l&&nn(this,e.e.l,s.we.demoMode()&&!s.Qs.isFeedback);var d,v,p=e.cc||[];for(d=0,v=p.length;d<v;++d)this.createChild(p[d]);if(this.zh(e.ti),void 0!==e.m){var m=ii[s.we.options.playMode];(e.m&m)!==m&&this.Gh(!1)}void 0!==e.uts&&this.userSelection(1==e.uts),e.f&h&&this.hide()},Zh:function(){},id:function(){return this.Qs.i},createNode:function(){return ls.createElement("div")},prez:function(){return this.slide?this.slide.we:null},mediaPlayer:function(){return this.ia},defaultCtrlData:function(){var t,i,s=this.prez().Qs.l;if((t={e:{},f:0,i:-1,k:-1,m:15,n:"",s:[{a:[0],d:1,id:0,n:"Normal",w:[]}],ti:-1}).i=this.slide.Vh++,0==t.s[0].w.length)for(i=0;i<s.length;++i)t.s[0].w.push([0,0,1,1]);return t},createChild:function(t){var s=function(t,s,e){if(s&&e&&void 0!==e.m){var n=ii[s.we.options.playMode];if(!((e.m&n)==n)&&e.k!=i.O&&e.k!=i.I)return null}var r=cn[t]||cn._default;if(r)return r.apply(null,Array.prototype.slice.call(arguments,1));return null}(t.k,this.slide,t);return s&&this.insertChild(s),s},showProp:function(){return this.Wh?"flex":"block"},autoWidth:function(t){return this.$h=t,t&&(this.Kh=!1,this.Wh?this.dh=(this.node.offsetWidth||this.Uh)/(this.node.offsetHeight||this.Bh)||0:this.dh=(this.node.clientWidth||this.Uh)/(this.node.clientHeight||this.Bh)||0),this},autoHeight:function(t){return this.Kh=t,t&&(this.$h=!1,this.Wh?this.dh=(this.node.offsetWidth||this.Uh)/(this.node.offsetHeight||this.Bh)||0:this.dh=(this.node.clientWidth||this.Uh)/(this.node.clientHeight||this.Bh)||0),this},left:function(t){return arguments.length?(this.node.style.left=fs(t)?t+"px":t,this):this.node.offsetLeft},top:function(t){return arguments.length?(this.node.style.top=fs(t)?t+"px":t,this):this.node.offsetTop},right:function(i){return arguments.length?(this.node.style.right=fs(i)?i+"px":i,this):parseFloat(t(this.node).css("right"))},bottom:function(i){return arguments.length?(this.node.style.bottom=fs(i)?i+"px":i,this):parseFloat(t(this.node).css("bottom"))},width:function(t){return arguments.length?(this.node.style.width=fs(t)?t+"px":t,this.$h=!1,this.Lr(),this):this.Wh?this.node.offsetWidth:this.node.clientWidth},height:function(t){return arguments.length?(this.node.style.height=fs(t)?t+"px":t,this.Kh=!1,this.Lr(),this):this.Wh?this.node.offsetHeight:this.node.clientHeight},lh:function(t,i,s){t=Ys(t),i=Ys(i),"%"===t.unit?t.value/=Ui:t.unit||(t.unit="px"),s===kt||s===Tt?this.right(t.value+t.unit).left("auto"):this.left(t.value+t.unit).right("auto"),"%"===i.unit?i.value/=Ui:i.unit||(i.unit="px"),s===xt||s===Tt?this.bottom(i.value+i.unit).top("auto"):this.top(i.value+i.unit).bottom("auto")},size:function(t,i){return arguments.length?(this.node.style.width=fs(t)?t+"px":t,this.node.style.height=fs(i)?i+"px":i,this.$h=this.Kh=!1,this.Lr(),this):{width:this.node.clientWidth,height:this.node.clientHeight}},accText:function(t){return arguments.length||(t=""),this.node.setAttribute("aria-label",t),this},zh:function(t){isNaN(t)||this!==this.slide&&(-2==t?this.node.tabIndex=-1:-1==t?this.node.removeAttribute("tabIndex"):this.node.tabIndex=t)},Gh:function(t){if(!(this.jh===t||void 0===this.jh&&t)){this.jh=t;var i,s,e,n=t?"":0,r=this.node.childNodes;for(s=0,e=r.length;s<e;++s)1===(i=r[s]).nodeType&&(i.style.opacity=n)}},updateTabIndexGR:function(t){if(this!==this.slide&&t instanceof Sn){var i,s,e,n=this.children,r=this.Qs.ti>0?this.Qs.ti:0,a=t.Qh;for(i=0,s=n.length;i<s;++i)(e=n[i])instanceof Sn&&e.Qh===a&&(t===e?e.node.tabIndex=r:e.node.tabIndex===r&&(e.node.tabIndex=-1))}},contentBox:function(){var i=t(this.node).css("overflow"),s=0,e=0,n=this.node.offsetWidth,r=this.node.offsetHeight;if(i&&"visible"!=i)return{x:s,y:e,width:n-s,height:r-e};var a,h,o,u,f,c=this.shape.contentBox(),l=this.textContainer;for(l&&((a=this.textNode.offsetHeight)>l.offsetHeight?"middle"===this.qh?(h=l.offsetTop-(a-l.offsetHeight)/2,c.height=qi(h+a,c.y+c.height)-Qi(c.y,h),c.y=Qi(c.y,h)):"bottom"===this.qh?(h=l.offsetTop+l.offsetHeight-a)<c.y&&(c.height+=c.y-h,c.y=h):(h=l.offsetTop+a)>c.y+c.height&&(c.height=h-c.y):this.eh&&"auto"===this.node.style.height&&("middle"===this.qh?(c.height=qi(l.offsetTop+l.offsetHeight,c.y+c.height)-Qi(c.y,l.offsetTop),c.y=Qi(c.y,l.offsetTop)):"bottom"===this.qh?l.offsetTop<c.y&&(c.height+=c.y-l.offsetTop,c.y=l.offsetTop):l.offsetTop+l.offsetHeight>c.y+c.height&&(c.height=l.offsetTop+l.offsetHeight-c.y))),s=Qi(s,c.x),e=Qi(e,c.y),n=qi(n,c.x+c.width),r=qi(r,c.y+c.height),o=0,u=this.children.length;o<u;++o)(f=this.children[o]).node.style.display!=f.hideProp()&&(c=f.transformedContentBox(),s=Qi(s,c.x),e=Qi(e,c.y),n=qi(n,c.x+c.width),r=qi(r,c.y+c.height));return{x:s,y:e,width:n-s,height:r-e}},transformedContentBox:function(t){var i=t?this.rotateToSlide():this.rotate();return this.rotatedContentBox(i,t)},Jh:function(t){return t||(t={x:0,y:0},this.parent)?(this.parent&&(this.parent.Jh(t),t.x+=this.parent.node.offsetLeft,t.y+=this.parent.node.offsetTop),t):t},center:function(t,i){this.to=t,this.io=i},centerX:function(){if(this.to){var t=this.Jh().x,i=this.slide.node.clientWidth;this.left((i-this.Uh)/2-t)}},centerY:function(){if(this.io){var t=this.Jh().y,i=this.slide.node.clientHeight;this.top((i-this.Bh)/2-t)}},rotate:function(t){var i=Fr.transform,s=i.get(this);return arguments.length?(s.rotate=t,i.set(this,Xr(s)?"":s),this.animProps&&this.animProps.set("rotate",s.rotate),this):s.rotate},rotateBy:function(t){var i=Fr.transform,s=i.get(this);return s.rotate+=t,i.set(this,Xr(s)?"":s),this.animProps&&this.animProps.set("rotate",s.rotate),this},translate:function(t,i){var s=Fr.transform,e=s.get(this);return arguments.length?(e.translateX=t||0,e.translateY=i||0,s.set(this,Xr(e)?"":e),this.animProps&&(this.animProps.set("translateX",e.translateX),this.animProps.set("translateY",e.translateY)),this):{translateX:e.translateX,translateY:e.translateY}},translateBy:function(t,i){var s=Fr.transform,e=s.get(this);return e.translateX+=t||0,e.translateY+=i||0,s.set(this,Xr(e)?"":e),this.animProps&&(this.animProps.set("translateX",e.translateX),this.animProps.set("translateY",e.translateY)),this},scale:function(t,i){var s=Fr.transform,e=s.get(this);return arguments.length?(1===arguments.length&&(i=t),e.scaleX=t,e.scaleY=i,s.set(this,Xr(e)?"":e),this.animProps&&(this.animProps.set("scaleX",e.scaleX),this.animProps.set("scaleY",e.scaleY)),this):{scaleX:e.scaleX,scaleY:e.scaleY}},scaleBy:function(t,i){var s=Fr.transform,e=s.get(this);return 1===arguments.length&&(i=t),e.scaleX*=t,e.scaleY*=i,s.set(this,Xr(e)?"":e),this.animProps&&(this.animProps.set("scaleX",e.scaleX),this.animProps.set("scaleY",e.scaleY)),this},flip:function(t,i){return this.shape.flip(t,i),this.textContainer&&this.sh(),this},transform:function(t,i,s,e,n){var r=Fr.transform,a=r.get(this);return arguments.length?(a.translateX=t||0,a.translateY=i||0,a.rotate=s||0,a.scaleX=void 0===e?1:e,a.scaleY=void 0===n?a.scaleX:n,r.set(this,Xr(a)?"":a),this.animProps&&this.animProps.set("transform",a),this):a},updateCachedTransform:function(){if(this.animProps){var t=Fr.transform.get(this);this.animProps.set("transform",t)}return this},flexbox:function(t){if(delete this.Wh,t){this.Wh=!0;var i=this.node.style;switch(i.display!==this.hideProp()&&(i.display=this.showProp()),i.flexDirection=t[0]==A?"row":"column",i.flexWrap=t[1]?"wrap":"nowrap",i.boxSizing="border-box",t[2]){case D:i.justifyContent="flex-start";break;case Y:i.justifyContent="center";break;case X:i.justifyContent="flex-end";break;case L:i.justifyContent="space-between";break;case F:i.justifyContent="space-around"}switch(t[3]){case H:i.alignContent="flex-start";break;case U:i.alignContent="center";break;case B:i.alignContent="flex-end";break;case Z:i.alignContent="stretch";break;case z:i.alignContent="space-between";break;case G:i.alignContent="space-around"}this.Xr(t[4])}},Xr:function(t){un(this.node,t)},flexChild:function(t){delete this.so,delete this.eo,delete this.eh;var i=this.node.style;if(t){this.eh=!0,this.Uh=0,this.Bh=0,i.position="relative",i.left="",i.right="",i.top="",i.bottom="",i.flexGrow=t[0],i.flexShrink=t[1];var s=t[2],e=t[3];switch(1===t[9]?this.so={type:"width"}:2===t[9]&&(this.so={type:"height"}),this.so&&"width"===this.so.type?this.so.value=t[2]/Ui:"a"===s?i.width="auto":("%"===(s=Ys(t[2])).unit?s.value/=Ui:s.unit||(s.unit="px"),i.width=s.value+s.unit),this.so&&"height"===this.so.type?this.so.value=t[3]/Ui:"a"===e?i.height="auto":("%"===(e=Ys(t[3])).unit?e.value/=Ui:e.unit||(e.unit="px"),i.height=e.value+e.unit),i.marginTop=t[4]+"px ",i.marginLeft=t[5]+"px",i.marginRight=t[6]+"px",i.marginBottom=t[7]+"px",t[8]){case j:i.alignSelf="auto";break;case V:i.alignSelf="flex-start";break;case W:i.alignSelf="center";break;case $:i.alignSelf="flex-end";break;case K:i.alignSelf="stretch"}t[10]&&(i.minWidth=t[10]+"px"),t[11]&&(i.minHeight=t[11]+"px"),"a"!==s&&"a"!==e||(this.eo=!0)}else i.position="absolute"},no:function(){for(var t,i=this.children,s=0,e=i.length;s<e;++s)(t=i[s]).no&&t.no();this.textContainer&&this.sh(),this.shape&&this.shape.layout()},rh:function(t){for(var i=this.parent,s=null;i&&i.Wh;){if(!((s=i.parent)&&s.Wh&&i.eh)){i.Lr&&(i.Lr(),i.Lr());break}i=s}},nh:function(){if(!Se.browser.safari)return!1;for(var t,i,s,e,n,r,a,h=this.Wh&&"column"===this.node.style.flexDirection,o=!1,u=this.children,f=0,c=u.length;f<c;++f)if(s=(i=u[f]).node.style,t=!1,i.Wh){if(h&&parseInt(s.flexGrow)>0&&"auto"===s.height)for(n=0,r=(e=i.children).length;n<r;++n)if("auto"===(a=e[n]).node.style.height)t=!0;else if("%"===Ys(a.node.style.height).unit){s.height="0%",o=!0;break}i.nh()&&(t&&h&&(s.height="0%"),o=!0)}return o},ro:function(t,i){var s,e,n,r=this.children;if(t===this.Uh&&i===this.Bh&&this.Wh)for(e=0,n=r.length;e<n;++e)(s=r[e]).eh&&(s.Wh?s.Lr():s.node.clientWidth===s.Uh&&s.node.clientHeight===s.Bh||s.Lr())},Lr:function(){if(this.visible())if(this.ao||(this.ao=0),this.ao>10)ws("Recursive checking resized: "+this.name());else{++this.ao;var t=this.node.clientWidth,i=this.node.clientHeight;if(this.Wh&&(t=this.node.offsetWidth,i=this.node.offsetHeight),this.so&&this.parent&&this.parent.Wh){var s=this.parent.node.style.flexDirection||"row";"height"==this.so.type?"row"==s||0==parseInt(this.node.style.flexShrink)?(i=t/this.so.value,this.Uh=t):delete this.so:"column"==s||0==parseInt(this.node.style.flexShrink)?(t=i*this.so.value,this.Bh=i):delete this.so}if(this.ro(t,i),t===this.Uh&&i===this.Bh&&!this.vh)return this.centerX(),this.centerY(),void--this.ao;if(!this.so&&this.eh)this.Uh=t,this.Bh=i,this.onResized(),this.Wh||(this.Uh=this.node.clientWidth,this.Bh=this.node.clientHeight);else{var e=t-this.Uh,n=i-this.Bh;this.Uh=t,this.Bh=i,this.onResized(e,n)}var r,a,h,o=this.children,u=[];for(a=0,h=o.length;a<h;++a)(r=o[a]).Lr(),r.dropHelper&&u.push(r);for(this.ro(t,i),a=0,h=u.length;a<h;++a)u[a].dropHelper.layout();--this.ao}else this.Uh=this.Bh=0},onResized:function(t,i){!this.Kh&&!this.$h||this.eo||(this.dh?this.Kh?(t||this.vh)&&(delete this.vh,this.height(this.Uh/this.dh),this.Kh=!0):(i||this.vh)&&(delete this.vh,this.width(this.dh*this.Bh),this.$h=!0):this.dh=this.Uh/this.Bh||0),delete this.vh,this.so&&(t&&this.width(this.Uh),i&&this.height(this.Bh)),this.centerX(),this.centerY(),this.textContainer&&(this.sh(),this.textVerticalAlign(this.qh)),this.shape.layout(),this.dropTarget&&this.dropTarget.dropHelper?this.dropTarget.dropHelper.layout():this.dropHelper&&(this.dropHelper.layout(),this.parent&&this.parent.ho(this))},oo:function(){var t,i,s=this.children;for(t=0,i=s.length;t<i;++t)s[t].oo()},onLayoutSwitched:function(){this.js.layout();var t,i,s,e=this.children,n=[];for(t=0,i=e.length;t<i;++t)(s=e[t]).onLayoutSwitched(),s.dropHelper&&n.push(s);if(this.Wh)for(t=0,i=e.length;t<i;++t)(s=e[t]).eh&&s.onResized&&s.onResized();for(t=0,i=n.length;t<i;++t)n[t].dropHelper.layout()},insertChild:function(t,i){return t&&(t.parent=this,t.slide=this.slide,isNaN(i)||null===i||i<0&&i>=this.children.length?(t.node.parentNode||this.node.appendChild(t.node),this.children.push(t)):(t.node.parentNode||this.node.insertBefore(t.node,this.children[i].node),this.children.splice(i,0,t)),t.uo(),t.Lr()),this},findObject:function(t,i){var s=[];if(t(this)){if(!i)return this;s.push(this)}for(var e=0,n=this.children.length;e<n;++e){var r=this.children[e].findObject(t,i);if(!i&&r)return r;s=s.concat(r)}return i?s:null},fo:function(t,i){var s=this;return this.findObject(function(e){return e.id()==t&&(i||e!=s)},!1)},remove:function(){if(this.parent){var t=this.parent.children.indexOf(this);t>-1&&this.parent.children.splice(t,1),this.node.parentNode==this.parent.node&&this.parent.node.removeChild(this.node),this.parent=null}return this.lo(),this.cleanup()},uo:function(){var t,i,s=this.slide;for(s.Vh<=this.Qs.i&&(s.Vh=this.Qs.i+1),s.do[this.Qs.i]=this,s.vo[this.Qs.n]=this,t=0,i=this.children.length;t<i;++t)this.children[t].uo()},lo:function(){var t,i,s=this.slide;for(delete s.do[this.Qs.i],delete s.vo[this.Qs.n],t=0,i=this.children.length;t<i;++t)this.children[t].lo()},state:function(t){return arguments.length?void 0!==this.po&&this.po?this:(typeof t===zi?this.js.name(t):this.js.id(t),this.savedCurrentState(t),this):this.js.name()},nextState:function(t){var i=this.js.count(),s=this.js.at()+1;if(s>=i){if(!t)return this;s=0}return s!=this.js.at()&&(this.js.at(s),this.savedCurrentState()),this},previousState:function(t){var i=this.js.count(),s=this.js.at()-1;if(s<0){if(!t)return this;s=i-1}return s!=this.js.at()&&(this.js.at(s),this.savedCurrentState()),this},savedCurrentState:function(t){var i=this.savedData(!0);return i&&(arguments.length?i.st=t:i.st=this.js.id()),this},mo:function(){return ls.createElement("div")},Mo:function(t){if(bs.innerHTML=t,(this.splitTexts?this.splitTexts.bo:this.textNode.innerHTML)!==bs.innerHTML&&(this.textNode.innerHTML=t,this.splitTexts)){var i=function(t){var i={chars:!!t.chars,words:!!t.words};if(t.processStyles){var s,e=[];for(s in t.processStyles)e.push(s);e.length&&(i.processStyles=e.join(","))}return i}(this.splitTexts);delete this.splitTexts,this.splitText(i),this.slide.wo()}},_o:function(){var t="";return this.eo?t+="position: relative;":t+="position: absolute;",this.Qs.k===i.u&&this.Qs.t===s.pt?t+="left: 0%; top: 0%; overflow: auto; word-wrap: break-word; pointer-events: auto;":t+="left: 0; right: 0; word-wrap: break-word; pointer-events: auto;",t},yo:function(){if(!this.textNode){this.textContainer=ls.createElement("div"),this.node.appendChild(this.textContainer);var t=this.textContainer.style;this.eo?(t.position="relative",t.boxSizing="border-box",t.width="100%",t.height=""):(t.position="absolute",t.width="",t.height="",t.boxSizing=""),this.sh(),this.textNode=this.mo(),t=this.textNode.style,this.ko?t.cssText=this.ko:(t.position="absolute",t.left=t.right=0,t.wordWrap="break-word",t.pointerEvents="auto"),this.qh&&this.textVerticalAlign(this.qh),this.textContainer.appendChild(this.textNode),!1===this.jh&&(this.textContainer.style.opacity=0),delete this.To,this.xo&&100!=this.xo&&this.Co()}},html:function(t){if(!arguments.length)return this.textNode?this.textNode.innerHTML:"";if(t+="",!this.textNode&&t&&this.yo(),this.textNode){if(this.xo&&100!=this.xo){this.So=t;var i={css:this.textNode.style.cssText,html:t};Ss(i,this.xo/100),t=i.html}else delete this.So;var s=this,e=this.slide.we.vars,n=e.replace(t);this.Mo(n.text),this.Eo&&(e.removeObserver(this.Eo),delete this.Eo),n.vars.length?(this.Oo=t,this.Eo=function(){s.Mo(e.replace(s.Oo).text)},e.addObserver(n.vars,this.Eo)):delete this.Oo}return this},text:function(t){return arguments.length?this.html(Ts(t,!0)):this.textNode&&this.textNode.textContent||""},splitText:function(i){if(!this.textNode)return this;i&&i.chars&&(i=os({},i,{words:!0}));var s,e,n,r,a,h=this.textNode.innerHTML,o=Se.splitText(this.textNode,i),u=["chars","words"],f=this;o.bo=h,this.splitTexts=o,o.listItems||(o.listItems=[],t("li",this.textContainer).each(function(){o.listItems.push(new on(this,f))}));for(var c=0;c<2;++c){if(1==c){if(!(o=o.processStyles))break;u.length=0;for(n in o)u.push(n)}for(r=0;r<u.length;++r)if(n=u[r],a=o[n])for(s=0,e=a.length;s<e;++s)a[s]=new on(a[s],this)}return this},unsplitText:function(){return this.textNode&&this.splitTexts&&void 0!==this.splitTexts.bo&&(this.textNode.innerHTML=this.splitTexts.bo,delete this.splitTexts),this},textStyle:function(t){return t=(t||"")+this._o(),this.textNode?(this.textNode.style.cssText=t,delete this.To,this.xo&&100!=this.xo&&this.Co()):this.ko=t,this},textVerticalAlign:function(t){if(!arguments.length)return this.qh||"top";if("middle"===t||"top"===t||"bottom"===t){if(this.textNode){var i=this.textNode.style;i.top="",i.bottom="",i[Bs]="","top"===t?(i.top=0,i.bottom="auto",i[Bs]=""):"bottom"===t?(i.top="auto",i.bottom=0,i[Bs]=""):(this.eo||(i.top="50%",i[Bs]="translateY(-50%)"),i.bottom="auto")}this.qh=t}return this},textMargin:function(t,i,s,e){return arguments.length?(this.Po=[t,i,s,e],this.textContainer&&this.sh(),this):(this.Po||(this.Po=[5,5,5,5]),this.Po.slice())},fontScale:function(t){if(!arguments.length)return this.xo||100;if(t!=(this.xo||100)){var i;if(this.xo=t,this.textNode)i=void 0!==this.So?this.So:void 0!==this.Oo?this.Oo:this.html(),this.html(i),this.Co();return this}},Co:function(){this.textNode&&(void 0===this.To&&(this.To=parseFloat(t(this.textNode).css("font-size"))||16),this.textNode.style.fontSize=this.To*this.xo/100+"px")},sh:function(){var t,i=this.textMargin(),s=this.textContainer.style;if(this.eo){if(!this.textNode)return;s.position="relative",s.boxSizing="border-box",s.width="100%",s.left="",s.right="",s.top="",s.bottom="";var e=this.Qs.f;s.height=e&ft.Ct?"100%":"",s.padding=0,this.textNode.style.position="relative",t=this.shape.textMargin(this.node.clientWidth,this.node.clientHeight),s.paddingLeft=i[0]+t[0]+"px",s.paddingRight=i[2]+t[2]+"px";var n=(this.shape.shapeSizeForText(this.textNode.clientWidth,this.textNode.clientHeight+i[1]+i[3])[1]-this.node.clientHeight)/2+"px";s.paddingTop=n,s.paddingBottom=n,t=this.shape.textMargin(this.node.clientWidth,this.node.clientHeight),s.paddingLeft=i[0]+t[0]+"px",s.paddingTop=i[1]+t[1]+"px",s.paddingRight=i[2]+t[2]+"px",s.paddingBottom=i[3]+t[3]+"px","middle"===this.qh?s.top=(this.node.clientHeight-this.textContainer.clientHeight)/2+"px":"bottom"===this.qh&&(s.top=this.node.clientHeight-this.textContainer.clientHeight+"px")}else s.position="absolute",s.padding="",s.width="",s.height="",s.boxSizing="",this.textNode&&(this.textNode.style.position="absolute"),t=this.shape.textMargin(this.node.clientWidth,this.node.clientHeight),s.left=i[0]+t[0]+"px",s.top=i[1]+t[1]+"px",s.right=i[2]+t[2]+"px",s.bottom=i[3]+t[3]+"px"},cursor:function(t){return this.node.style.cursor=t,this},Oa:function(i){var s=null;if(this.node==i)s=this;else if(t.contains(this.node,i)){var e,n=this.children;for(e=n.length-1;e>=0;--e)if(s=n[e].Oa(i))return s;s=this}return s},filterEvent:function(i){var s=!1,e=i.target,n=i.relatedTarget;switch(i.type){case"mouseover":case"mouseout":s=e===this.node||e===this.shape.node||!!n&&t.contains(this.node,n)&&n!==this.node&&n!==this.shape.node;break;case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":case"mouseup":case"click":case"dblclick":s=e===this.node||e===this.shape.node}return s},on:function(i,s){return s?(e=i+"-hdl",n=function(t){return s.call(this,t,this.prez())},this.Io||(this.Io={}),this.Io[e]||(this.Io[e]=[]),this.Io[e].push([s,n]),t(this).on(i,n),this):this;var e,n},off:function(i,s){if(!arguments.length)return t(this).off(),delete this.Io,this;var e,n=i+"-hdl",r=this.Io?this.Io[n]:null;if(s){if(r){for(e=r.length-1;e>=0;--e)if(r[e][0]===s){t(this).off(i,r[e][1]),r.splice(e,1);break}r.length||delete this.Io[n]}}else t(this).off(i),this.Io&&delete this.Io[n];return this},Ls:function(){return this.node},va:function(t){return this.Io&&this.Io[t+"-hdl"]},Us:function(t){var i=t.originalEvent;t.apOrgTarget||i&&i.apOrgTarget||(t.apOrgTarget=this.Fs,i&&(i.apOrgTarget=this.Fs))},Hs:function(t){var i=t.originalEvent,s=t.apOrgTarget||i&&i.apOrgTarget;return s&&s!=this.Fs},show:function(t,i,s){return this.animate(t||Se.EffectType.APPEAR,i,s)},hide:function(t,i,s){return this.animate(t||Se.EffectType.DISAPPEAR,i,s)},alwaysHide:function(t){var i,s;!this.Ro!=!t&&(t?(this.Ro=!0,(i=this.node.style.display)==(s=this.hideProp())&&(i=void 0)):(delete this.Ro,s=this.No),void 0!==s&&(Fr.display.set(this,s),this.animProps&&this.animProps.set("display",s)),void 0!==i&&(this.No=i));return this},animate:function(t,i,s){"object"!=typeof s&&(s={direction:s});var e=new $r,n=this,r=Se.createEffect(this,t,0,i||0,s);if(!r)return this;this.ae(e),e.addChild(r).addChild(new Zr(function(){setTimeout(function(){n.re(e)},0),s.callback&&s.callback.call(n)},{startTime:e.duration(),duration:0}));var a=this.prez();return e.startTime(a.timeline.totalTime()),a.timeline.addChild(e),e.setup(),e.play(0),this},visible:function(){return this.node.style.display!==this.hideProp()},disable:function(t){arguments.length||(t=!0);var i=this.js.flags();return t?i|=T:i&=~T,this.js.flags(i),this},hasStateFlag:function(t){var i=!1;if(this.js){var s,e,n=this.js;for(s=0,e=n.Qs.length;s<e;++s)if((n.Qs[s].p&t)==t){i=!0;break}}return i},enable:function(t){return arguments.length||(t=!0),this.disable(!t)},disabled:function(){return(this.js.flags()&T)===T},enabled:function(){return!this.disabled()},cleanup:function(){var i,s,e=this.Ao,n=this.children;if(e){for(i=0,s=e.length;i<s;++i)e[i].remove();delete this.Ao}for(this.node.rlDragCtrl&&(t(this.node).draggable("destroy"),delete this.node.rlDragCtrl),this.node.rlDropCtrl&&delete this.node.rlDropCtrl,this.Eo&&(this.prez().vars.removeObserver(this.Eo),delete this.Eo,delete this.Oo),this.ia&&this.ia.cleanup(),i=0,s=n.length;i<s;++i)n[i].cleanup();return this},ae:function(t){t&&(t.slide=this.slide,this.Ao?this.Ao.push(t):this.Ao=[t])},re:function(t){if(t&&(t.remove(),this.Ao)){var i=this.Ao.indexOf(t);i>=0&&this.Ao.splice(i,1)}return this},Ua:function(t){var i,s=this.Ao;if(s)for(i=s.length-1;i>=0;--i)if(t(s[i]))return s[i];return null},ne:function(t){var i,s=[],e=this.Ao;if(e)for(i=e.length-1;i>=0;--i)t(e[i])&&s.push(e[i]);return s},qs:function(t){var i=this.slide.we.time();t?(void 0!==this.Do&&(this.Do>=i&&delete this.Js,delete this.Do),!1!==this.Js&&(this.Zs(!0,!0)||this.po)?(this.po&&delete this.po,this.Js=!0,this.slide.we.pause(!0)):!1===this.Js&&delete this.Js):(this.Js&&this.slide.we.pause(!1),this.Js=!1,this.Do=i)},Yo:function(i){var s,e=this.slide.we.timeline,n=this,r=this.prez(),a=function(){n.Zs(!0,!0)&&(n.disable(),r&&!r.ended&&t(n).triggerHandler("ap-timeout"))};i>0?(s=new $r({startTime:0}),this.ae(s),s.addChild(new Zr(a,{startTime:e.totalTime()+i})),e.addChild(s,!0)):a()},savedData:function(t){var i,s=this.slide.savedData(t);return s&&(i=s[this.Qs.i],t&&!i&&(i=s[this.Qs.i]={})),i},submit:function(){if(this.prez()&&this.prez().ended)return this;var t,i,s,e=this.children;for(t=0,i=e.length;t<i;++t)(s=e[t]).Zs(!0,!1)&&s.submit();return this},clear:function(t,i){if(this.prez()&&this.prez().ended&&!i)return this;this.dropHelper&&this.dropHelper.clear();var s,e,n,r=this.children;for(s=0,e=r.length;s<e;++s)n=r[s],t&&!n.Zs(!0,!1)||n.clear(t,i);return this},restore:function(t){t||(t=this.savedData()),this.Qs.rs&&t&&void 0!=t.st&&this.js&&(this.state(t.st),(this.node.clientWidth||this.node.clientHeight)&&this.Lr());var i,s,e=this.children;for(i=0,s=e.length;i<s;++i)e[i].restore();return this},score:function(){var t=this.savedData(),i=0;return t&&(i=t.p||0,t.r==Xt.Ki&&t.sp&&(i-=t.sp)),i},attempts:function(){var t=this.savedData();return t&&t.a||0},Xo:function(t){var i=this.maxAttempts();i>=0&&t>=i&&this.disable()},maxAttempts:function(t){var i=this.Qs.e;return arguments.length?(i||(i=this.Qs.e={}),i.a=t<0?-1:t,this.Xo(this.attempts()),this):i&&void 0!==i.a?i.a:-1},Lo:function(i,s,e,n,r,a,h,o){var u,f=!1,c=!1;switch(s){case Xt.Ki:c=!0,u="ap-correct";break;case Xt.ji:c=!0,u="ap-incorrect";break;case Xt.$i:u="ap-complete";break;case Xt.Qi:f=!0,u="ap-incomplete";break;default:return}var l=this.prez();if(i.r=s,i.v=e,void 0!==n)if(i.p=n,s==Xt.ji){var d=Cs(l.vars.get("apScoreSubtract"),10)||0;i.sp=d}else s==Xt.Ki&&i.sp&&(n-=i.sp);else delete i.p,delete i.sp;if(r?i.n=1:delete i.n,h?i.d=h:delete i.d,c&&!f&&(i.a?++i.a:i.a=1,this.disabled()||(this.Xo(i.a),this.disabled()&&(this.po=!0))),!l.lms||f||r)l.fe(!0);else{var v=this.Qs,p=l.learnerResponse(this.slide.Qs,v,i),m=l.correctResponses(this.slide.Qs,v),g={reportid:v.r,kind:v.k,type:v.t,multiline:v.f&ft.Ct,name:v.n,slideId:this.slide.Qs.i,choices:o?o.choices:void 0,targets:o?o.targets:void 0,sources:o?o.sources:void 0,scales:o?o.scales:void 0};l.lms.storeInteractionData(g,s,n,p,m)}if(t(this).triggerHandler(t.Event(u),{value:a}),void 0!==n&&s==Xt.ji){var M=Cs(l.vars.get("apScoreSubtract"),10)||0;M!=d&&(i.sp=M,l.ended||l.fe(!0))}Le(l.vars,"apQuizScore apQuizScorePercentage apQuizPassed apQuizPassedBool apQuizTakenInteractions apQuizUnTakenInteractions apQuizCorrectInteractions apQuizIncorrectInteractions apDetailedResult apDetailedResult2")},Zs:function(t,i,s){var e=this.prez(),n=(!e.allPaused()||e.ended)&&(s||!e.isBuffering())&&(!t||this.visible())&&this.enabled();if(n){if(e.demoMode()&&!this.slide.Qs.isFeedback)return!1;if(i)for(var r=this.parent;r;){if(t&&!r.visible()||!r.enabled())return!1;r=r.parent}}return n},Fo:function(){if(this.ia){var i,s,e=["play","pause","ended"],n=["ap-play","ap-pause","ap-ended"],r=this,a=function(i){return function(){t(r).triggerHandler(t.Event(i),{})}};for(i=0,s=e.length;i<s;++i)this.ia.Fa(e[i],a(n[i]))}},name:function(){return this.Qs.n||""},Ho:function(){this.Uo&&(this.Uo.parentNode&&this.Uo.parentNode.removeChild(this.Uo),delete this.Uo),this.Bo&&(this.Bo.parentNode&&this.Bo.parentNode.removeChild(this.Bo),delete this.Bo),this.Zo&&(this.Zo.parentNode&&this.Zo.parentNode.removeChild(this.Zo),delete this.Zo),this.zo&&(this.zo.parentNode&&this.zo.parentNode.removeChild(this.zo),delete this.zo),this.slide.Go&&(this.slide.Go.parentNode&&this.slide.Go.parentNode.removeChild(this.slide.Go),delete this.slide.Go)},ce:function(t){var i,s,e,n=this.children;for(i=0,s=n.length;i<s;++i)(e=n[i]).ce&&e.ce(t);return this},Vo:function(t,i){t&&(t.style.alignSelf="middle-right"===i?"flex-end":"center")},Wo:function(t,i){t&&(t.style.position="absolute","top-center"===i?(t.style.left="50%",t.style.transform="translateX(-50%) translateY(-100%)",t.style.textAlign="center"):"middle-right"===i?(t.style.left="100%",t.style.top="50%",t.style.transform="translateY(-50%)",t.style.textAlign="left"):"bottom-center"===i?(t.style.left="50%",t.style.top="100%",t.style.transform="translateX(-50%)",t.style.textAlign="center"):"middle-left"===i?(t.style.top="50%",t.style.transform="translateX(-100%) translateY(-50%)",t.style.textAlign="right"):"bottom-left"===i?(t.style.top="100%",t.style.textAlign="left"):"middle-left-inner"===i?(t.style.top="50%",t.style.transform="translateX(50%) translateY(-50%)",t.style.textAlign="center"):"top-left-outer"===i?(t.style.transform="translateX(-100%)",t.style.textAlign="center"):"top-left-inner"===i?t.style.textAlign="center":(t.style.top="50%",t.style.left="50%",t.style.transform="translateX(-50%) translateY(-50%)",t.style.textAlign="center"))},$o:function(t,i){var s=ls.createElement("div");s.style.position="absolute",s.style.background=t===Xt.Ki?"#2fae62":t===Xt.ji?"#d15327":"#e47c30",s.style.width="100%",s.style.height="40px",s.style.top="100%",s.style.transform="translateY(-100%)";var e=ls.createElement("div"),n=ls.createTextNode(i);return e.style.color="white",e.style.left="50%",e.style.top="50%",e.style.position="absolute",e.style.transform="translate(-50%, -50%)",e.appendChild(n),s.appendChild(e),s},Ko:function(t,i,s){var e=!1;if(Array.isArray(i)){for(var n="",r=0,a=i.length;r<a;++r)n+=i[r],r<a-1&&(n+=", ");i=n,e=!0}var h=ls.createElement("div");h.style.position="absolute",h.style.background=null!==t?t?"#2fae62":"#d15327":"#A9A9A9",h.style.backgroundClip="padding-box",h.style.borderRadius="32px",h.style.border="1px solid #ffffff",h.style.opacity=.8;var o=ls.createElement("div"),u=ls.createTextNode(i);return o.style.color="white",e?(h.style.display="inline-flex",h.style.padding="8px"):(h.style.height=h.style.width="32px",o.style.left="50%",o.style.top="50%",o.style.position="absolute",o.style.transform="translate(-50%, -50%)"),o.appendChild(u),h.appendChild(o),this.Wo(h,s),h.style.zIndex=qt.gs,h},jo:function(t,i,s,e){var n=[],r=rn(this);r.length&&n.push(r);var a,h=s.correctAnswers,o=s.yourAnswerCtrls,u=s.correctAnswerCtrls,f=s.options,c=f.showValues||null!==i&&(o||u),l=this.Qo(i,e||"middle-right",c);l&&(c&&(a=l.querySelector(".ap-feedback-popup"))&&(h?this.qo(a,h):(o||u)&&this.Jo(a,i,o,u,f)),t.tu?t.tu(l,this):t.appendChild(l));for(var d=0,v=n.length;d<v;++d)an(n[d]);return{checkMark:l,popup:a}},Qo:function(i,s,e){var n=this.slide.prez(),r=this,a=n.Qs.playerIcons.correct,h=n.Qs.playerIcons.incorrect,o=ls.createElement("div");o.className="ap-feedback-popup-container";var u=ls.createElement("button");if(o.appendChild(u),null!==i&&(i?u.appendChild(t(a)[0]):u.appendChild(t(h)[0])),u.className="ap-feedback-popup-btn",u.setAttribute("correct",i),this.Vo(u,s),e){u.classList.add("ap-feedback-popup-btn-animation");var f=ls.createElement("div");o.appendChild(f),u.addEventListener("mousedown",function(){var i=f.style,s="none"!==i.display;if(i.display=s?"none":"block",!s){i.left="",i.top="",i.width="",i.height="";var e=r.slide.node.getBoundingClientRect(),n=this.getBoundingClientRect(),a=f.getBoundingClientRect(),h=a.width,o=a.height,u=f.offsetWidth,c=f.offsetHeight,l=h/u,d=o/c;i.width||(u+=.5);var v,p,m,g,M,b=n.left-h,w=n.top-o,_=n.right+h,y=n.bottom+o,k=n.left+n.width/2-h/2,T=k+h;if(k>=e.left&&T<=e.right&&(y<=e.bottom?(v=!0,m=this.offsetTop+this.offsetHeight+(parseInt(t(this).css("marginBottom"))||0)):w>=e.top&&(v=!0,m=this.offsetTop-(parseInt(t(this).css("marginTop"))||0)-c),p=this.offsetLeft+this.offsetWidth/2-u/2),!v&&(b>=e.left||_<=e.right)){v=!0;var x=!0,C=e.right-n.right;b>=e.left?(E=parseInt(t(this).css("marginLeft"))||0,p=this.offsetLeft-E-u,C=n.left-e.left):(E=parseInt(t(this).css("marginRight"))||0,p=this.offsetLeft+this.offsetWidth+E,x=!1),g=u,o>e.height&&(M=(o=e.height)/d,i.height=M+"px",u!==f.offsetWidth&&f.offsetWidth<=C&&(g=f.offsetWidth+.5,x&&(p=this.offsetLeft-E-g)));var S=(n.top+n.bottom)/2-o/2;S<e.top?m=this.offsetTop+(e.top-n.top)/d:S+o>e.bottom&&(m=this.offsetTop+(e.bottom-o-n.top)/d)}if(!v){var E,O=!0,P=e.bottom-n.bottom;P>=n.top-e.top?(E=parseInt(t(this).css("marginBottom"))||0,m=this.offsetTop+this.offsetHeight+E,O=!1):(P=n.top-e.top,E=parseInt(t(this).css("marginTop"))||0,m=this.offsetTop-E-c),h>e.width?(g=e.width/l,i.width=g+"px",M=Qi(P/d-E,f.offsetHeight+.5),p=this.offsetLeft+(e.left-n.left)/l,O&&(m=this.offsetTop-E-M)):(o>P&&(M=P/d-E,i.height=M+"px",O&&(m=this.offsetTop-E-M)),k<e.left?p=0:T>e.right&&(p=this.offsetLeft-f.offsetWidth+(e.right-n.left)/l))}i.left=void 0!==p?p+"px":"",i.top=void 0!==m?m+"px":"",i.width=void 0!==g?g+"px":"",i.height=void 0!==M?M+"px":""}}),ls.addEventListener("mousedown",function(t){var i=t.target;i===f||i===u||f.contains(i)||u.contains(i)||(f.style.display="none")}),n.ui&&t(n.ui).on("ui:ap-layout",function(){f.style.display="none"}),f.className="ap-feedback-popup",f.style.display="none"}return o},Jo:function(i,s,e,n,r){var a=[],h=rn(this);h.length&&a.push(h);var o,u,f,c=this.slide.prez(),l=c.Qs.playerIcons.correct,d=c.Qs.playerIcons.incorrect;function v(t){var i=t.node,s=i.clientWidth,e=i.clientHeight;if(!i){var n=ls.createElement("div");return n.style.width=180,void(n.style.height=180)}s>e?0!==s?(e*=180/s,s=180):(e=180,s=180):0!==e?(s*=180/e,e=180):(e=180,s=180);for(var r=i.cloneNode(!0),a=r.style,h={filter:a.filter};r.attributes.length>0;)r.removeAttributeNode(r.attributes[0]);a=r.style;for(var o in h)a[o]=h[o];a.width=i.clientWidth+"px",a.height=i.clientHeight+"px";var u=1,f=1;0!==i.clientWidth&&(u=Qi(s/i.clientWidth,1)),0!==i.clientHeight&&(f=Qi(e/i.clientHeight,1));var c="translate("+(s-i.clientWidth)/2+"px,"+(e-i.clientHeight)/2+"px)",l=" scale("+u+","+f+")";a.transform=c+l;var d=ls.createElement("div"),v=d.style;return v.width=s+"px",v.height=e+"px",v.margin="6px",v.overflow="hidden",d.appendChild(r),d}if(null!==s)if((o=ls.createElement("div")).innerHTML=c.ui.ye.text("LearnerResponse"),o.className="ap-feedback-popup-title",i.appendChild(o),(u=ls.createElement("div")).className="ap-feedback-popup-answers-container",i.appendChild(u),e.length<=0)u.innerHTML='<div class="ap-feedback-popup-no-answer">--</div>';else for(var p,m,g=0,M=e.length;g<M;++g)if((f=e[g]).node){p=!1;for(var b=0;b<n.length;++b){if(n[b].id()===f.id()){p=!0;break}}var w=ls.createElement("div");w.style.position="relative",(h=rn(f)).length&&a.push(h),w.appendChild(v(f)),!r.showCorrect&&p||!r.showIncorrect&&!p||((m=t(p?l:d)[0]).style="\tposition: absolute; \t\t\t\t\t\t\t\t\tright: 0px; \t\t\t\t\t\t\t\t\tbottom: -5px; \t\t\t\t\t\t\t\t\tbackground-color: white; \t\t\t\t\t\t\t\t\tborder-radius: 32px; \t\t\t\t\t\t\t\t",w.appendChild(m)),u.appendChild(w)}if(r.showValues)if((o=ls.createElement("div")).innerHTML=c.ui.ye.text("CorrectResponses"),o.className="ap-feedback-popup-title",i.appendChild(o),(u=ls.createElement("div")).className="ap-feedback-popup-answers-container",i.appendChild(u),n.length<=0)u.innerHTML='<div class="ap-feedback-popup-no-answer">--</div>';else if(n.length>0)for(g=0,M=n.length;g<M;++g)(f=n[g]).node&&((h=rn(f)).length&&a.push(h),u.appendChild(v(f)));for(g=0,M=a.length;g<M;++g)an(a[g])},qo:function(t,i){var s=ls.createElement("div");if(s.innerHTML=this.slide.prez().ui.ye.text("CorrectResponses"),s.className="ap-feedback-popup-title",s.style.display="inline-block",s.style.overflow="visible",t.appendChild(s),i.length>0){var e,n,r=ls.createElement("ul"),a=r.style;for(a.margin="5px 5px",a.padding="0px 10px 0px 15px",a.maxWidth="500px",a.textAlign="start",t.appendChild(r),e=0;e<i.length;++e)(n=ls.createElement("li")).classList.add("ap-no-select"),n.innerText=i[e],r.appendChild(n)}},iu:function(){if(this.Uo)return this.Uo;var t=ls.createElement("div");t.setAttribute("data-ap-ctrlid",this.id());var i=t.style;return i.position="absolute",i.left="0px",i.top="0px",i.width="100%",i.height="100%",i.zIndex=qt.gs,this.Uo=t,this.node.appendChild(t),t},tu:function(t,i){var s=this.iu();if(s&&i&&t){var e=ls.createElement("div");e.style.position="absolute",e.style.left=i.node.offsetLeft+"px",e.style.top=i.node.offsetTop+"px",e.style.width=i.node.offsetWidth+"px",e.style.height=i.node.offsetHeight+"px",e.style.transform=i.node.style.transform,e.setAttribute("data-ap-ctrlid",i.id()),e.appendChild(t),s.appendChild(e)}},ho:function(t){if(this.Uo){var i,s,e,n,r,a,h,o,u,f=this.node.childNodes;for(i=0,s=f.length;i<s;++i)if((n=(e=f[i]).getAttribute("data-ap-ctrlid"))===this.id().toString()){for(a=0,h=(r=e.childNodes).length;a<h&&(o=r[a],n=parseInt(o.getAttribute("data-ap-ctrlid")),!(u=t?n==t.id()?t:null:this.fo(n))||(o.style.display=u.node.style.display,o.style.left=u.node.offsetLeft+"px",o.style.top=u.node.offsetTop+"px",o.style.width=u.node.offsetWidth+"px",o.style.height=u.node.offsetHeight+"px",o.style.transform=u.node.style.transform,!t));++a);break}}},su:function(t,i){var s=this.slide.prez(),e=ls.createElement("div");return e.innerHTML=t?s.Qs.playerIcons.correct:s.Qs.playerIcons.incorrect,this.Wo(e.firstChild,i),"middle-left"==i?e.firstChild.style.marginLeft="-3px":"middle-right"==i&&(e.firstChild.style.marginLeft="3px"),e.firstChild.style.zIndex=qt.gs,e.firstChild},fillSolid:function(t,i,s,e){return this.shape.fillSolid(t,i,s,e),this},userSelection:function(i){return arguments.length?(i?t(this.node).removeClass("ap-no-select"):t(this.node).addClass("ap-no-select"),this):t(this.node).classList.contains("ap-no-select")},filterEffects:function(t){var i=[];t&&(void 0!==t.hu&&0!==t.hu&&i.push("hue-rotate("+t.hu+"deg)"),void 0!==t.sp&&0!==t.sp&&i.push("sepia("+t.sp+"%)"),void 0!==t.in&&0!==t.in&&i.push("invert("+t.in+"%)"),void 0!==t.gr&&0!==t.gr&&i.push("grayscale("+t.gr+"%)"),void 0!==t.sa&&100!==t.sa&&i.push("saturate("+t.sa+"%)"),void 0!==t.br&&100!==t.br&&i.push("brightness("+t.br+"%)"),void 0!==t.co&&100!==t.co&&i.push("contrast("+t.co+"%)"),void 0!==t.op&&255!==t.op&&i.push("opacity("+t.op/255*100+"%)"));var s=((this.node.style.filter||"").match(/drop-shadow\((?:[^()]+|\([^()]*\))*\)/g)||[]).join(" ")+" "+i.join(" ");this.node.style.filter=s.trim()}}),cn={_default:function(t,i){return new fn(t,i)}};function ln(t){for(var i=arguments.length;--i>0;)cn[arguments[i]]=t}var dn=ie(fn,{$init:function(e,n){var r=e.defaultCtrlData();r.k=i.J,r.t=s.ot,r.margin=n.margin,r.ti=-1;var a=[],h=void 0;if(e.Qs.ca&&(h=e.Qs.ca.r||{}),e.Qs&&e.Qs.h)for(var o=0;o<e.Qs.h.length;o++){var u={};u.r=[0,r.margin,0,0,2,1],h&&h.length&&h.length==e.Qs.h.length&&h[o]&&(u.f=h[o].f||100),a.push(u)}r.s=[{t:["<span></span>",n.textStyle[0],n.textStyle[1]],f:n.fill,w:a,a:0}],fn.prototype.$init.call(this,e,r),this.node.style.zIndex=qt.ds,qs(this.node.style),t(this.node).css("visibility",e.we.Bn?"visible":"hidden")},onResized:function(t,i){if(this.eu&&!0===this.eu)fn.prototype.onResized.call(this,t,i);else{var s=this.slide.width(),e=this.slide.height();this.node.style.width=Math.max(s-2*this.Qs.margin,0)+"px",this.node.style.height=Math.max(e-2*this.Qs.margin,0)+"px";var n=this.innerTextNode(),r=n?n.width()+this.Po[0]+this.Po[2]+1:0,a=n?n.height()+this.Po[1]+this.Po[3]+1:0;this.node.style.width=r+"px",this.node.style.height=a+"px";for(var h=0;h<this.Qs.s.length;h++){var o=this.Qs.s[h].w;for(h=0;h<o.length;h++)o[h].r[2]=r,o[h].r[3]=a}this.js&&this.js.layout(),this.eu=!0,fn.prototype.onResized.call(this,t,i),this.eu=!1}},innerTextNode:function(){return t("span",t(this.textNode)).first()},onLayoutSwitched:function(){if(fn.prototype.onLayoutSwitched.call(this),this.nu){var i=this.innerTextNode();t(i).html(this.nu||""),this.onResized(0,0)}}});ln(function(t,i){return new dn(t,i)},i.J);var vn=ie(fn,{$init:function(t,i){if(this.ru=0,this.au=0,this.ou=!1,this.uu=!1,fn.prototype.$init.call(this,t,i),this.Qs.tmp.type==Ei){var s=this.shape,e=s?s.node:void 0;s&&s.shapeNode;if(e){var n=e.querySelector("defs");n||(n=ls.createElementNS(Gi,"defs"),e.appendChild(n));var r=ls.createElementNS(Gi,"mask");r.id=s.container.id?s.container.id+"-masktimer":"ap-masktimer-"+xe();var a=ls.createElementNS(Gi,"rect");a.setAttribute("x",0),a.setAttribute("y",0),a.setAttribute("width",s.container.clientWidth),a.setAttribute("height",s.container.clientHeight),a.setAttribute("fill","white"),r.appendChild(a);var h=ls.createElementNS(Gi,"path"),o=Se.SHAPE_DEFS[s.Ks];if(o&&o[0]){var u=s.container.clientWidth,f=s.container.clientHeight,c=new cr;o[0].apply(c,[0,0,u,f]),h.setAttribute("d",c.path()),h.setAttribute("fill","black"),r.appendChild(h)}n.appendChild(r),s.fu&&s.fu.setAttribute("mask","url(#"+r.id+")"),s.cu=r}}this.prez().registerTimer(this)},oh:function(t,i){this.lu(),i&T&&this.pauseTimer()},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&t.tm&&(this.ou=t.tm.s,this.au=t.tm.v,this.uu=t.tm.as,this.ru=this.prez().elapsedTime()-this.au,this.lu()),this},cleanup:function(){return this.prez().unregisterTimer(this),fn.prototype.cleanup.call(this)},startTimer:function(){this.ou||(this.au&&this.au!=this.Qs.tmp.duration||(this.au=0),this.ou=!0,this.ru=this.prez().elapsedTime()-this.au,this.tick())},pauseTimer:function(){this.ou&&(this.ou=!1,this.du())},stopTimer:function(){this.ou=!1,this.au=0,this.du(),this.lu()},setTimerValue:function(i){var s=this.getTimerDuration(),e=this.Qs.tmp.countdown;i>s&&(i=s),i<0&&(i=0);var n=this.au;this.au=e?s-i:i,this.ru+=n-this.au,this.ou||(this.du(),this.lu(),this.au==this.Qs.tmp.duration&&t(this).triggerHandler("ap-timer-complete"))},getTimerValue:function(){var t=this.getTimerDuration();return this.Qs.tmp.countdown?t-this.au:this.au},getTimerDuration:function(){return this.Qs.tmp.duration},du:function(){this.savedData(!0).tm={s:this.ou,v:this.au,as:this.uu}},tick:function(){this.ou&&!this.prez().ended&&(this.au=this.prez().elapsedTime()-this.ru,this.au>=this.Qs.tmp.duration&&(this.au=this.Qs.tmp.duration,this.ou=!1),this.du(),this.lu(),this.au==this.Qs.tmp.duration&&t(this).triggerHandler("ap-timer-complete"))},lu:function(){var t=this.Qs.tmp.type,i=this.Qs.tmp.subType,s=this.Qs.tmp.countdown,e=this.Qs.tmp.duration,n=s?e-this.au:this.au,r=this.shape,a=n/e;if(t==Si){var h,o,u,f="";i==Oi?(o=s?Math.ceil(n/1e3):Math.floor(n/1e3),u=Math.floor(o/60),f=("00"+Math.floor(u/60)).toString().slice(-2)+" : "+("00"+u%60).toString().slice(-2)+" : "+("00"+o%60).toString().slice(-2)):i==Pi?(u=s?Math.ceil(n/1e3/60):Math.floor(n/1e3/60),f=("00"+Math.floor(u/60)).toString().slice(-2)+" : "+("00"+u%60).toString().slice(-2)):i==Ii?(o=s?Math.ceil(n/1e3):Math.floor(n/1e3),f=("00"+(u=Math.floor(o/60))).toString().slice(-2)+" : "+("00"+o%60).toString().slice(-2)):i==Ri&&(h=n%1e3,f=("00"+(o=Math.floor(n/1e3))).toString().slice(-2)+" : "+("000"+h).toString().slice(-3)),f!=this.text()&&this.html(f)}else if(t==Ei&&r&&r.cu){var c=r.cu.querySelector("path");if(c){var l=Se.SHAPE_DEFS[r.Ks],d="none"!==r.vu?r.pu:0,v=d%2==0?0:1,p=rs(d/2);if(l&&l[0]){var m=r.container.clientWidth-2*p-2*v,g=r.container.clientHeight-2*p-2*v,M=new cr;l[0].apply(M,[m*a+v+p,p+v,m-m*a,g].concat(r.mu)),c.setAttribute("d",M.path())}}}}});ln(function(t,i){return new vn(t,i)},i.H);var pn=ie(fn,{$init:function(i,s){fn.prototype.$init.call(this,i,s),this.node.setAttribute("role","button");var e=this;t(this.node).on(ue,function(t){e.filterEvent(t)||(e.Us(t),e.gu=!0,setTimeout(function(){e.gu&&(e.Zs(!1,!0)&&e.js.flags(e.js.flags()|y),delete e.gu)},0))}).on(oe,function(t){e.filterEvent(t)||e.Us(t),e.gu&&delete e.gu,e.js.flags(e.js.flags()&~y)}).on("keydown",function(i){i.which!==Me.SPACE&&i.which!==Me.ENTER||!e.Zs(!1,!0)||e.js.has(y)||(i.preventDefault(),i.stopPropagation(),t(e.textNode||e.shape.shapeNode).trigger(t.Event(ue,{pageX:0,pageY:0})))}).on("keyup",function(i){i.which!==Me.SPACE&&i.which!==Me.ENTER||(i.preventDefault(),i.stopPropagation(),t(e.textNode||e.shape.shapeNode).trigger(t.Event(fe,{pageX:0,pageY:0})))})},Zh:function(){this.on("ap-rollover",function(t){this.Zs(!1,!0)&&(this.js.has(C)||this.js.flags(this.js.flags()|k))}).on("ap-rollout",function(){this.gu&&delete this.gu,this.js.has(C)||this.js.flags(this.js.flags()&~(k|y))})}});ln(function(t,i){return new pn(t,i)},i.S);var mn=ie(fn,{$init:function(i,s){fn.prototype.$init.call(this,i,s);var e=this.Qs.vl;Rs(this.node,{role:"slider","aria-valuenow":e[0],"aria-valuemin":e[1],"aria-valuemax":e[2],"aria-step":e[3]});var n=this;if(s.v){this.Mu=s.v,this.bu=s.vm;var r=i.we.vars;this.wu=function(){if(!n._u&&!n.yu){var t=r.get(n.Mu);n.ku=!0,n.value(t),delete n.ku}},r.addObserver([this.Mu],this.wu),this.wu()}t(this.node).on("mousedown mouseup",function(t){n.filterEvent(t)||n.Us(t)}).on(ue,function(i){if(n.Zs(!1,!0)){n.yu=!0;var s=n.getThumbSize(),e=n.value();n.Tu=n.xu(e),(i.offsetX>n.Tu+s[0]||i.offsetX<n.Tu)&&n.Cu(i.offsetX-s[0]/2,!0),n.Tu=i.offsetX-s[0]/2,n.Su={x:i.clientX,y:i.clientY},n.Eu=e,n.Us(i),n.gu=!0,setTimeout(function(){n.gu&&(n.Zs(!1,!0)&&n.js.flags(n.js.flags()|y),delete n.gu)},0);var r=function(t){if(n.yu){var i=getTransformationMatrix(n.node).inverse(),s=i.transformPoint({x:n.Su.x,y:n.Su.y}),e=i.transformPoint({x:t.clientX,y:t.clientY}),r=n.Tu+(e.x-s.x);n.Cu(r,!0),t.preventDefault()}},a=function(i){if(t(ls).off(ce,r).off(fe,a),he&&t(ls).off(he,a),n.gu&&delete n.gu,n.js.flags(n.js.flags()&~y),n.Zs(!1,!0)&&n.yu){delete n.yu;var s=n.value();n.Eu!==s&&(n.bu===Di&&n.Ou(),t(n).triggerHandler("ap-change"))}else delete n.yu};t(ls).on(ce,r).on(fe,a),he&&t(ls).on(he,a)}else i.preventDefault()}).on("keydown",function(t){var i,s=n.Pu(),e=s.value,r=s.max-s.min,a=ns(r/s.step),h=0!==a?ns(r/as(a/ns(a/10))):0;switch(t.which){case Me.HOME:e=s.min,i=n;break;case Me.END:e=s.max,i=n;break;case Me.RIGHT:case Me.UP:e=Qi(s.max,e+s.step),i=n;break;case Me.LEFT:case Me.DOWN:e=qi(s.min,e-s.step),i=n;break;case Me.PAGEUP:e=Qi(s.max,e+h),i=n;break;case Me.PAGEDOWN:e=qi(s.min,e-h),i=n}i&&(t.stopPropagation(),t.preventDefault(),i.Zs(!1,!0)&&e!==s.value&&i.Cu(i.xu(e),!0,!0))}).css("touchAction","none"),Ee(this.node)},Zh:function(){this.on("ap-rollover",function(t){this.Zs(!1,!0)&&this.js.flags(this.js.flags()|k)}).on("ap-rollout",function(){this.gu&&delete this.gu,this.js.flags(this.js.flags()&~(k|y))})},Cu:function(t,i,s){var e=this.Iu(t);this.value(e,i,s)},xu:function(t){var i=this.Pu(),s=this.node.clientWidth,e=0;if(i.max!==i.min){var n=this.getThumbSize();e=(t-i.min)*(s-n[0])/(i.max-i.min)}return e<0&&(e=0),e>s&&(e=s),e},Iu:function(t){var i=this.Pu(),s=this.node.clientWidth,e=i.min;if(0!==s){var n=this.getThumbSize();e=t*(i.max-i.min)/(s-n[0])+i.min}return e},getThumbSize:function(){var t=this.js.Qs[this.js.qe];if(void 0===t)return[24,24];var i=t.sl[3]||24,s=t.sl[4]||nt,e=[0,0];return s==nt?e=[i,i]:s!=rt&&s!=at||(e=[.75*i,i]),e},Pu:function(t){var i=this.Qs.vl,s=parseInt(this.node.getAttribute("aria-valuenow"));if(isNaN(s)&&(s=i[0]),t)return s;var e={value:s,min:parseInt(this.node.getAttribute("aria-valuemin")),max:parseInt(this.node.getAttribute("aria-valuemax")),step:parseInt(this.node.getAttribute("aria-step"))};return isNaN(e.min)&&(e.min=i[1]),isNaN(e.max)&&(e.max=i[2]),isNaN(e.step)&&(e.step=i[3]),e},value:function(i,s,e){if(!arguments.length)return this.Pu(!0);var n=this.Pu(),r=(i-n.min)%n.step;if(i<n.min)i=n.min;else if(i>=n.max)0!==(r=((i=n.max)-n.min)%n.step)&&(i-=r);else if(0!==r){var a=i-r,h=a+n.step;(i=i-a>=h-i?h:a)>n.max&&(i=a)}if(i==n.value)return this;this.node.setAttribute("aria-valuenow",i);var o=this.js.flags();return this.js.flags(o)||this.js.at(this.js.qe),(s&&this.bu===Ai||e&&this.bu===Di||1===arguments.length)&&this.Ou(),s&&t(this).triggerHandler("ap-changing"),e&&t(this).triggerHandler("ap-change"),this},Ou:function(){this.Mu&&this.prez()&&!this.ku&&(this._u=!0,this.prez().vars.set(this.Mu,this.value()),delete this._u)},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)},cleanup:function(){return this.wu&&(this.prez().vars.removeObserver(this.wu),delete this.wu),fn.prototype.cleanup.call(this)}});ln(function(t,i){return new mn(t,i)},i.X);var gn=ie(fn,{$init:function(i,s){fn.prototype.$init.call(this,i,s),s.v&&(this.Mu=s.v,this.Ou());var e=this,n=window.ResizeObserver;n&&new n(function(){e.shape.Ru(),e.shape.updateDropdown()}).observe(this.shape.dropdownNode);t(this.node).on("mousedown mouseup",function(t){e.filterEvent(t)||e.Us(t)}).on("keydown",function(t){t.stopPropagation()}),t(this.shape.dropdownNode).on("change",function(t){if(this.style.display="none",this.offsetWidth,this.style.display="",e.Zs(!1,!0)){if(e.Ou(),e.Nu()===At){var i=e.da();i.result!==Xt.Ki&&i.result!==Xt.$i&&i.result!==Xt.ji||e.submit(i)}pe(e,"ap-change")}else t.preventDefault()}).on("mousedown",function(t){e.Zs(!1,!0)||t.preventDefault()}).on("focus",function(){e.node&&e.prez()&&e.prez().highlightFocus()&&t(e.node).addClass("ap-focused")}).on("blur",function(){e.node&&t(e.node).removeClass("ap-focused")})},accText:function(t){return arguments.length||(t=""),this.shape&&this.shape.dropdownNode&&this.shape.dropdownNode.setAttribute("aria-label",t),this},zh:function(t){this.shape&&this.shape.dropdownNode&&!isNaN(t)&&(-2==t?this.shape.dropdownNode.tabIndex=-1:-1==t?this.shape.dropdownNode.removeAttribute("tabIndex"):this.shape.dropdownNode.tabIndex=t)},value:function(t,i){var s=this.shape.dropdownNode;if(arguments.length){if(i){var e=this.Qs.di;s.selectedIndex=-1!==e?e:0}else for(n=0;n<s.options.length;++n)if(s.options[n].text===t){s.selectedIndex=n;break}return this.Ou(),this}if(s)for(var n=0;n<s.childNodes.length;++n){var r=s.childNodes[n];if(!r.disabled&&r.selected)return r.text}},Nu:function(){var t=this.Qs.e||{},i=t.s||At;return t.f&(Ot|Pt)||(i=At),i},submit:function(t){if(this.prez()&&this.prez().ended)return this;if(!t){if(this.Nu()===At)return this;t=this.da()}if(t.result===Xt.qi&&(t.result=Xt.ji),t.result!==Xt.Wi){for(var i=[],s=this.Qs.it,e=0,n=s.length;e<n;++e)i.push({reportId:e,text:s[e]});this.Lo(this.savedData(!0),t.result,t.answer,t.score,!t.report,t.answer,void 0,{choices:i})}return this},da:function(){var t=this.Qs.e||{},i=t.f,s=(i&Ot)===Ot,e=(i&Rt)!==Rt,n=s&&e,r=n&&(i&It)===It,a=0,h=this.value(),o=Xt.Wi;if(s){var u,f,c,l=t.v||[],d=-1;for(o=Xt.ji,f=0,c=l.length;f<c;++f){if(h===(u=l[f])){d=f,o=Xt.Ki;break}h&&u.substr(0,h.length)===h&&h.length<u.length&&(o=Xt.qi)}o===Xt.Ki?n&&t.m&&(a=r?t.m[d]||0:t.m):void 0===h&&(o=Xt.Qi)}else i&Pt&&(o=void 0!==h?Xt.$i:Xt.Qi);var v={result:o,answer:h,score:n?a:void 0,report:e,prevValue:this.Au||""};return this.Au=h,v},Ou:function(){if(this.Mu&&this.prez()){var t=this.shape.dropdownNode.value,i=this.prez().vars;i.Ks(this.Mu)==Ti.TEXT&&(t=String(t)),i.set(this.Mu,t)}},fontScale:function(t){return arguments.length?t!=(this.xo||100)?(this.xo=t,this.shape.dropdownNode&&this.shape.updateDropdown(),this):void 0:this.xo||100},clear:function(t,i){return this.prez()&&this.prez().ended&&!i?this:this.value("",!0)},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&void 0!==t.a&&this.Xo(t.a),this.value(t&&t.v)},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)},ce:function(t){t=t||{};var i=(((this.Qs.e||{}).f||0)&Ot)===Ot,s=this.savedData();if(i){fn.prototype.Ho.call(this);var e=s&&s.r===Xt.Ki;if((e&&!t.showCorrect||!e&&!t.showIncorrect)&&(e=null),null!==e||t.showValues){var n=(this.Qs.e||{}).v||[""],r=this.jo(this.node,e,{correctAnswers:n,options:t});r.checkMark&&(this.Bo=r.checkMark),r.popup&&(this.zo=r.popup)}if(t.showResult){var a=Xt.Qi;s&&void 0!==s.r&&(a=s.r);var h=this.$o(a,this.slide.prez().responseResultString(a));h&&(this.slide.node.appendChild(h),this.slide.Go=h)}}}});ln(function(t,i){return new gn(t,i)},i.K);var Mn=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i),this.on("ap-dblclick",function(t,i){this.Zs(!1,!0)&&this.submit(t.value,!1)})},Zh:function(){var t=this.prez().options.playMode;"Tutorial"!==t&&"Practice"!==t||this.on("ap-incorrect",function(){this.Gh(!0)})},uo:function(){this.slide.la.push(this),fn.prototype.uo.call(this)},submit:function(t,i){if(this.prez()&&this.prez().ended)return this;if(!arguments.length)return this;var s=this.Qs.e||{},e=s.f,n=(e&Rt)!==Rt,r=n,a=r&&(e&It)===It,h=0,o=s.v||[],u=Xt.ji,f=-1;if(i||(o.length?f=o.indexOf(t):ge.code(t)!==be.OUTSIDE&&(f=0)),f>=0)u=Xt.Ki,r&&s.m&&(h=a?s.m[f]||0:s.m);else if(i&&Me.shouldIgnoreIncorrect(t))return this;return this.Lo(this.savedData(!0),u,t,r?h:void 0,!n,t),this},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&void 0!==t.a&&this.Xo(t.a),this},ce:function(t){t=t||{};var i=this.Qs.e||{},s=i.f||0,e=i.v||[],n=(s&Ot)===Ot,r=this.savedData();if(n){fn.prototype.Ho.call(this);var a=r&&r.r===Xt.Ki;if((a&&!t.showCorrect||!a&&!t.showIncorrect)&&(a=null),(null!==a||t.showValues)&&(this.Gh(!0),null!==a||t.showValues)){for(var h=[],o=0;o<e.length;o++)h.push(be.name(e[o],this.slide.prez().ui.ye));var u=this.jo(this.node,a,{correctAnswers:h,options:t});u.checkMark&&(this.Bo=u.checkMark),u.popup&&(this.zo=u.popup)}if(t.showResult){var f=Xt.Qi;r&&void 0!==r.r&&(f=r.r);var c=this.$o(f,this.slide.prez().responseResultString(f));c&&(this.slide.node.appendChild(c),this.slide.Go=c)}}}}),bn=ie(fn,{$init:function(i,s){fn.prototype.$init.call(this,i,s);var e=this;t(this.node).on("mousedown mouseup",function(t){e.filterEvent(t)||(e.Us(t),be.fromTouch&&"mousedown"==t.type&&e.Zs(!1,!0)&&e.submit(be.combinedCode(t),!1))}),this.on("ap-keypress",function(t,i){this.Zs(!1,!0)&&this.submit(t.value,!0)})},Zh:function(){var t=this.prez().options.playMode;"Tutorial"!==t&&"Practice"!==t||this.on("ap-incorrect",function(){this.Gh(!0)})},uo:function(){this.slide.Ur.push(this),fn.prototype.uo.call(this)},submit:function(t,i){if(this.prez()&&this.prez().ended)return this;if(!arguments.length)return this;var s=this.da(t,i);return s.result!==Xt.Wi&&this.Lo(this.savedData(!0),s.result,s.answer,s.score,!s.report,s.answer),this},da:function(t,i){var s=this.Qs.e||{},e=s.f,n=(e&Rt)!==Rt,r=n,a=r&&(e&It)===It,h=0,o=s.v||[],u=Xt.ji,f=-1;return i?f=o.length?o.indexOf(t):0:ge.code(t)!==be.OUTSIDE&&(f=0),f>=0?(u=Xt.Ki,r&&s.m&&(h=a?s.m[f]||0:s.m)):i&&Me.shouldIgnoreIncorrect(t)&&(u=Xt.Wi),{result:u,answer:t,score:r?h:void 0,report:n}},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&void 0!==t.a&&this.Xo(t.a),this},ce:function(t){t=t||{};var i=this.Qs.e||{},s=i.f||0,e=i.v||[],n=(s&Ot)===Ot,r=this.savedData();if(n){fn.prototype.Ho.call(this);var a=r&&r.r===Xt.Ki;if((a&&!t.showCorrect||!a&&!t.showIncorrect)&&(a=null),null!==a||t.showValues){this.Gh(!0);for(var h=[],o=0;o<e.length;o++)h.push(ge.name(e[o],this.slide.prez().ui.ye));var u=this.jo(this.node,a,{correctAnswers:h,options:t});u.checkMark&&(this.Bo=u.checkMark),u.popup&&(this.zo=u.popup)}if(t.showResult){var f=Xt.Qi;r&&void 0!==r.r&&(f=r.r);var c=this.$o(f,this.slide.prez().responseResultString(f));c&&(this.slide.node.appendChild(c),this.slide.Go=c)}}},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)},Bs:function(t){return this.Zs(!1,!0)?this.da(t,!0).result!=Xt.Wi:Me.shouldPreventDefault(t,!1,!0)}}),wn=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i)}});function _n(t){return arguments.length?(this.textNode||this.yo(),t+="",this.textNode.value=t,this.Du=t,this.Ou(),this):this.textNode&&this.textNode.value||""}function yn(){return[this.Yu.firstCorrectValue()]}ln(function(t,i){return i.t===s.ht?new bn(t,i):i.t===s.rt?new Mn(t,i):i.t===s.B?new wn(t,i):void 0},i.O);var kn=ie(fn,{$init:function(i,s){this.Du="",this.th=!0,s.v&&(this.Mu=s.v),fn.prototype.$init.call(this,i,s),this.yo(),this.Xu();var e=this;t(this.node).on("mousedown",function(t){e.Zs(!1,!0)?e.filterEvent(t)||(e.Us(t),t.target!==e.textNode&&(t.preventDefault(),e.textNode.focus())):t.preventDefault()}).on("mouseup",function(t){e.filterEvent(t)||e.Us(t)}),t(this.textNode).on("focus",function(i){e.Zs(!1,!0)?e.prez()&&e.prez().highlightFocus()&&t(e.node).addClass("ap-focused"):i.preventDefault()}).on("blur",function(i){e.Zs(!1,!0)?t(e.node).removeClass("ap-focused"):i.preventDefault()})},mo:function(){var i,s,e=this.Qs.f;e&ft.Ct?i=ls.createElement("textarea"):((i=ls.createElement("input")).type=e&ft.xt?"password":"text",i.autocomplete="off"),i.spellcheck=!1,(s=i.style).border="none",s.margin=s.padding=0,s.backgroundColor="transparent",s.outline="none",this.disabled()&&(i.disabled=!0);var n=this.Nu(),r=this;return n===At?t(i).on("input",function(t){if(r.Zs(!1,!0)){var i=r.da();i.answer!==i.prevValue&&(i.result===Xt.Ki||i.result===Xt.$i||i.result===Xt.ji&&i.prevValue.substr(0,i.answer.length)!==i.answer)&&r.submit(i)}}):n>0&&t(i).on("keydown keyup",function(t){Me.hasKeydown(t.which)===("keydown"===t.type)&&Me.combinedCode(t)===n&&r.Zs(!1,!0)&&(Me.preventDefault(t),t.stopPropagation(),r.submit())}),t(i).on("change",function(t){r.Zs(!1,!0)&&r.Lu()}),i},Lu:function(){var t=this.value();this.Du!=t&&(this.Du=t,pe(this,"ap-change"))},accText:function(t){return arguments.length||(t=""),this.yo(),this.textNode&&this.textNode.setAttribute("aria-label",t),this},zh:function(t){isNaN(t)||(this.yo(),-2==t?this.textNode.tabIndex=-1:-1==t?this.textNode.removeAttribute("tabIndex"):this.textNode.tabIndex=t)},html:_n,text:_n,value:_n,caseSensitive:function(){return(this.Qs.f&ft.St)===ft.St},_o:function(){var t=fn.prototype._o.call(this)+"border: none; margin: 0; padding: 0; background: transparent; width: 100%; outline: none;";return this.Qs.f&ft.Ct&&(t+=" height: 100%; resize: none;"),t},clear:function(t,i){return this.prez()&&this.prez().ended&&!i?this:this.text("")},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&void 0!==t.a&&this.Xo(t.a),this.text(t&&t.v||"")},oh:function(t,i){this.textNode&&(this.textNode.disabled=(i&T)==T)},Nu:function(){var t=this.Qs.e||{},i=t.s||At;return t.f&(Ot|Pt)||(i=At),i},submit:function(t){if(this.prez()&&this.prez().ended)return this;if(!t){if(this.Nu()===At)return this;this.Lu(),t=this.da()}return t.result===Xt.qi&&(t.result=Xt.ji),t.result!==Xt.Wi&&this.Lo(this.savedData(!0),t.result,t.answer,t.score,!t.report,t.answer),this},da:function(){var i=this.Qs.e||{},s=i.f,e=(s&Ot)===Ot,n=(s&Rt)!==Rt,r=e&&n,a=r&&(s&It)===It,h=0,o=this.value(),u=Xt.Wi,f=this.prez()?this.prez().Qs.language:void 0;if(e){var c,l,d,v=!this.caseSensitive(),p=v?Us(o,f):o,m=i.v||[""],g=-1;for(u=Xt.ji,l=0,d=m.length;l<d;++l){if(c=m[l],v&&(c=Us(c,f)),p===c){g=l,u=Xt.Ki;break}c.substr(0,p.length)===p&&p.length<c.length&&(u=Xt.qi)}u===Xt.Ki?r&&i.m&&(h=a?i.m[g]||0:i.m):o||(u=Xt.Qi)}else s&Pt&&(u=o?Xt.$i:Xt.Qi);o!==this.Au&&(this.Ou(),t(this).triggerHandler(t.Event("ap-textenter",{value:o})));var M={result:u,answer:o,score:r?h:void 0,report:n,prevValue:this.Au||""};return this.Au=o,M},Ou:function(){if(this.Mu&&this.prez()){var t=this.textNode.value,i=this.prez().vars;i.Ks(this.Mu)==Ti.NUMBER&&(t=Number(t)),i.set(this.Mu,t)}},firstCorrectValue:function(){var t=this.Qs.e;return t&&t.v&&t.v.length>0&&t.v[0]?t.v[0]:""},Xu:function(){var t=this.slide,i=((this.Qs.e.f||0)&Ot)===Ot;if(t.we.demoMode()&&i){for(var s=t.an,e=0,n=0,r=null,a=null,h=(t.Qs.tl[0]||null)[2],o=0,u=null!==h?h.length:0;o<u;++o)if(h[o][0]==this.Qs.i){for(var f=h[o][1],c=0,l=null!==f?f.length:0;c<l;++c){var d=f[c];if(d&&d[0]>=Se.EffectType.ENTRANCE_START&&d[0]<=Se.EffectType.ENTRANCE_END&&!r?r=d:d&&d[0]>=Se.EffectType.EXIT_START&&d[0]<=Se.EffectType.EXIT_END&&!a&&(a=d,r&&r[1]>0&&a[0]===Se.EffectType.DISAPPEAR&&a[1]<r[1]&&(a=null)),r&&a)break}break}var v,p=e=r?r[1]:0,m=n=a?a[1]+a[2]-e:t.Qs.d-e,g=n-500;if(r)(v=r[2])>0&&(v>m&&(v=m),m-=v,p+=v,g-=v);if(a)(v=a[2])>0&&(v>m&&(v=m),g-=v);var M=new zr(this,"text",{startTime:p,duration:g,tweenParams:[yn],tweenType:ti.Ts});return M&&s.addChild(M),this}},ce:function(t){t=t||{};var i=(((this.Qs.e||{}).f||0)&Ot)===Ot,s=this.savedData();if(i){fn.prototype.Ho.call(this);var e=s&&s.r===Xt.Ki;if((e&&!t.showCorrect||!e&&!t.showIncorrect)&&(e=null),null!==e||t.showValues){var n=(this.Qs.e||{}).v||[""],r=this.jo(this.node,e,{correctAnswers:n,options:t});r.checkMark&&(this.Bo=r.checkMark),r.popup&&(this.zo=r.popup)}if(t.showResult){var a=Xt.Qi;s&&void 0!==s.r&&(a=s.r);var h=this.$o(a,this.slide.prez().responseResultString(a));h&&(this.slide.node.appendChild(h),this.slide.Go=h)}}},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)}});ln(function(t,i){return new kn(t,i)},i.C);var Tn=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i)},Zh:function(){var t=this.prez().options.playMode;"Tutorial"!==t&&"Practice"!==t||this.on("ap-incorrect",function(){this.Gh(!0)})},submit:function(t){var i=this.prez();if(i&&i.ended)return this;if(!t)return this;for(var s,e=this.Qs.e||{},n=e.f,r=(n&Rt)!==Rt,a=r,h=a&&(n&It)===It,o=!1,u=0,f=t,c=[{reportId:this.Qs.r,text:this.text()}],l=[],d=e.v||[],v=0,p=d.length;v<p;++v)(s=this.slide.fo(d[v]))&&l.push({reportId:s.Qs.r,text:s.text()});if(this.dropHelper.droppedObjects().indexOf(t)<0){if(!this.dropHelper.accepted(t)||this.dropHelper.droppedObjects().length)return this;o=!1,t=null}else{var m=(e.v||[]).indexOf(t.id());m>=0?(o=!0,a&&e.m&&(u=h?e.m[m]||0:e.m)):o=!1}var g,M=this.savedData(!0),b=o?P:I;f&&f.hasStateFlag(b)&&f.js.flags(b),this.hasStateFlag(b)&&this.js.flags(b),this.dropHelper.absolutePosition()&&t&&t.xh&&(g=[t.xh.x,t.xh.y]),this.Lo(M,o?Xt.Ki:Xt.ji,t?t.id():0,a?u:void 0,!r,t,g,{targets:c,sources:l});var w=this.maxAttempts();return M.a!=w&&-1!=w||(f.hasStateFlag(b)&&f.savedCurrentState(),this.hasStateFlag(b)&&this.savedCurrentState()),this},restore:function(t){if(this.clear(),!t&&!(t=this.savedData()))return this;if(this.Qs.rs&&t.st&&(this.state(t.st),(this.node.clientWidth||this.node.clientHeight)&&this.Lr()),void 0!==t.a&&this.Xo(t.a),t.v){var i=this.slide.object(t.v),s={x:t.d?t.d[0]:0,y:t.d?t.d[1]:0};if(i){var e=i.savedData();i.Qs.rs&&e&&e.st&&(i.state(e.st),(i.node.clientWidth||i.node.clientHeight)&&i.Lr()),this.dropHelper.drop(i,s,!1)}}return this},ce:function(t){t=t||{};var i=this.Qs.e||{},s=i.f||0,e=i.v||[],n=(s&Ot)===Ot,r=this.savedData();if(n){fn.prototype.Ho.call(this);var a=r&&r.r===Xt.Ki;if(a&&t.showCorrect||!a&&t.showIncorrect)(u=this.su(a,"middle-left"))&&(this.node.appendChild(u),a?this.Bo=u:this.Zo=u);if(t.showCorrect)for(var h=0;h<e.length;h++){var o,u;if(o=this.slide.object(e[h]))fn.prototype.Ho.call(o),(u=this.su(!0,"middle-left"))&&(o.node.appendChild(u),o.Bo=u)}if(t.showIncorrect)if(r&&void 0!==r.v)if(e.indexOf(r.v)<0)if(o=this.slide.object(r.v))fn.prototype.Ho.call(o),(u=this.su(!1,"middle-left"))&&(o.node.appendChild(u),o.Zo=u);if(t.showResult){var f=Xt.Qi;r&&void 0!==r.r&&(f=r.r);var c=this.$o(f,this.slide.prez().responseResultString(f));c&&(this.slide.node.appendChild(c),this.slide.Go=c)}(t.showCorrect||t.showValues)&&this.Gh(!0)}},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)}});ln(function(t,i){return new Tn(t,i)},i.I);var xn=ie(fn,{$init:function(i,s){this.Fu=16,fn.prototype.$init.call(this,i,s);var e=this;t(this.node).on(ue,function(t){e.filterEvent(t)||(e.Us(t),e.gu=!0,setTimeout(function(){e.gu&&(e.Zs(!1,!0)&&e.js.flags(e.js.flags()|y),delete e.gu)},0))}).on(oe,function(t){e.filterEvent(t)||e.Us(t),e.gu&&delete e.gu,e.js.flags(e.js.flags()&~y)})},Zh:function(){this.on("ap-rollover",function(t){this.Zs(!1,!0)&&this.js.flags(this.js.flags()|k)}).on("ap-rollout",function(){this.gu&&delete this.gu,this.js.flags(this.js.flags()&~(k|y))})},textMargin:function(t,i,s,e){if(!arguments.length){var n=fn.prototype.textMargin.call(this);if(this.isShowToggleButton()){var r=this.Fu+rs(2*qi(7,this.Fu/4));if(n[0]+=r,this.eo){var a=this.textContainer?this.textContainer.style:null;a&&(a.paddingTop=n[1]+"px",a.paddingBottom=n[3]+"px"),this.node.clientHeight<r&&(n[1]+=(r-this.node.clientHeight)/2,n[3]+=(r-this.node.clientHeight)/2)}}return n}return fn.prototype.textMargin.call(this,t,i,s,e)},isShowToggleButton:function(){var t=this.js,i=t.Qs[t.qe];return i.tg&&!!i.tg[6]},check:function(t){return arguments.length||(t=!0),this.Hu(t,!1),this},Hu:function(t,i){var s=this.js.flags(),e=!1;this.checked()!==t&&(e=!0,t?s|=x:s&=~x),this.js.flags(s),i&&e&&this.Uu(t)},Uu:function(i){t(this).triggerHandler(i?"ap-check":"ap-uncheck")},checked:function(){return(this.js.flags()&x)===x},oh:function(t,i){this.node.setAttribute("aria-checked",i&x?"true":"false")},clear:function(t,i){return this.prez()&&this.prez().ended&&!i?this:(this.Hu(!1,!1),this)},setIconSize:function(t){this.Fu!==t&&(this.Fu=t,this.textContainer&&this.sh())},value:function(t){return arguments.length?(this.Hu(t,!1),this):this.checked()},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)}}),Cn=ie(xn,{$init:function(i,s){xn.prototype.$init.call(this,i,s),this.node.setAttribute("role","checkbox");var e=this;t(this.node).on("keydown",function(t){var i;switch(t.which){case Me.SPACE:i=e;break;case Me.TAB:var s=e.node.tabIndex;if(void 0===s||-1==s)break;var n=t.shiftKey?e.Bu():e.Zu();n&&(n.zh(s),e.zh(-2),t.stopPropagation(),t.preventDefault(),n.Zs(!1,!0)&&n.node.focus())}i&&(t.stopPropagation(),t.preventDefault(),i.Zs(!1,!0)&&(i.Hu(!i.checked(),!0),i!==e&&i.node.focus()))})},Zh:function(){xn.prototype.Zh.call(this),this.on("ap-click",function(){this.Zs(!1,!0)&&this.Hu(!this.checked(),!0)})},Uu:function(t){xn.prototype.Uu.call(this,t),pe(this,"ap-change")},Zu:function(){var t=null,i=null,s=!1;if(this.parent&&!(this.parent instanceof fr)){var e=void 0,n=this.parent.savedData();n&&n.s&&(e=n.s);var r,a,h,o=this.parent.children;for(r=0,a=o.length;r<a;++r)if((h=e?o[e.indexOf(r)]:o[r])instanceof Cn){if(!h.disabled()&&(i||(i=h),s)){t=h;break}h===this&&(s=!0)}}return t},Bu:function(){var t=null,i=null,s=!1;if(this.parent&&!(this.parent instanceof fr)){var e=void 0,n=this.parent.savedData();n&&n.s&&(e=n.s);var r,a,h=this.parent.children;for(r=h.length-1;r>=0;--r)if((a=e?h[e.indexOf(r)]:h[r])instanceof Cn){if(!a.disabled()&&(i||(i=a),s)){t=a;break}a===this&&(s=!0)}}return t}});ln(function(t,i){return new Cn(t,i)},i.D);var Sn=ie(xn,{$init:function(i,s){xn.prototype.$init.call(this,i,s),this.node.setAttribute("role","radio");var e=this;t(this.node).on("keydown",function(t){var i;switch(t.which){case Me.SPACE:i=e;break;case Me.LEFT:case Me.UP:i=e.zu();break;case Me.RIGHT:case Me.DOWN:i=e.Gu()}i&&(t.stopPropagation(),t.preventDefault(),!i.checked()&&i.Zs(!1,!0)&&(i.Hu(!0,!0),i!==e&&i.node.focus()))})},Zh:function(){xn.prototype.Zh.call(this),this.on("ap-click",function(){this.Zs(!1,!0)&&!this.checked()&&this.Hu(!0,!0)})},radioGroup:function(t){return arguments.length?(this.Qh=t,this):this.Qh},Hu:function(t,i){if(t&&this.parent&&!(this.parent instanceof fr)){var s,e,n,r=this.Qh,a=this.parent.children;for(s=0,e=a.length;s<e;++s)(n=a[s])!==this&&n instanceof Sn&&n.Qh===r&&n.Hu(!1,i)}xn.prototype.Hu.call(this,t,i),t&&this.parent&&-1===this.node.tabIndex&&this.parent.updateTabIndexGR(this)},Uu:function(t){xn.prototype.Uu.call(this,t),t&&pe(this,"ap-change")},zu:function(){var t=null,i=null,s=!1;if(this.parent&&!(this.parent instanceof fr)){var e=void 0,n=this.parent.savedData();n&&n.s&&(e=n.s);var r,a,h=this.parent.children;for(r=h.length-1;r>=0;--r)if((a=e?h[e.indexOf(r)]:h[r])instanceof Sn&&a.Qh===this.Qh){if(!a.disabled()&&(i||(i=a),s)){t=a;break}a===this&&(s=!0)}}return t||i===this||(t=i),t},Gu:function(){var t=null,i=null,s=!1;if(this.parent&&!(this.parent instanceof fr)){var e=void 0,n=this.parent.savedData();n&&n.s&&(e=n.s);var r,a,h,o=this.parent.children;for(r=0,a=o.length;r<a;++r)if((h=e?o[e.indexOf(r)]:o[r])instanceof Sn&&h.Qh===this.Qh){if(!h.disabled()&&(i||(i=h),s)){t=h;break}h===this&&(s=!0)}}return t||i===this||(t=i),t}});ln(function(t,i){return new Sn(t,i)},i.Y);var En=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i)},textMargin:function(i,s,e,n){if(!arguments.length){var r=parseFloat(t(this.textNode).css("font-size"))||8,a=Qi(qi(8,r),64),h=fn.prototype.textMargin.call(this),o=a+rs(2*qi(6,a/4));if(h[0]+=o,this.eo){var u=this.textContainer?this.textContainer.style:null;u&&(u.paddingTop=h[1]+"px",u.paddingBottom=h[3]+"px"),this.node.clientHeight<o&&(h[1]+=(o-this.node.clientHeight)/2,h[3]+=(o-this.node.clientHeight)/2)}return h}return fn.prototype.textMargin.call(this,i,s,e,n)}});function On(){return arguments.length?this:""}ln(function(t,i){return new En(t,i)},i.et);var Pn=ie(fn,{$init:function(s,e){this.Vu=!!e.egs,fn.prototype.$init.call(this,s,e);var n=this.node.style;if((!this.Wh||n.overflow.indexOf("auto")<0)&&(this.node.style.pointerEvents="none"),this.Vu&&(this.node.style.pointerEvents="visiblepainted"),e.k==i.nt){var r=this;t(this.node).on("mousedown mouseup",function(t){r.filterEvent(t)||r.Us(t)})}if(e.msf&&(n.zIndex=qt.Ms),e.cr){var a=e.cr;n.borderTopLeftRadius=a[0]+"px",n.borderTopRightRadius=a[1]+"px",n.borderBottomRightRadius=a[2]+"px",n.borderBottomLeftRadius=a[3]+"px"}},filterEvent:function(t){if(this.Vu)return!this.Oa(t.target);if(("mouseover"==t.type||"mouseout"==t.type)&&fn.prototype.filterEvent.call(this,t))return!0;var i=this.Oa(t.target);return!i||fn.prototype.filterEvent.call(i,t)},html:On});function In(t,i){var s,e,n=i.js.uh(t.js.at());if(n||(n=i.js.uh(0)),n){var r=rn(t);t.lh(n[0],n[1],n[2]),s=t.node.offsetLeft||0,e=t.node.offsetTop||0,(n=t.js.uh(t.js.at()))&&(t.lh(n[0],n[1],n[2]),s-=t.node.offsetLeft||0,e-=t.node.offsetTop||0,t.translate(s,e)),an(r)}}var Rn=ie(Pn,{$init:function(e,n){Pn.prototype.$init.call(this,e,n),this.Wu=this.Qs.t;var r,a,h,o=this.children,u=this.Qs.e||{};u.v;if((this.Qs.e&&this.Qs.e.f&Nt||this.Wu==s._t)&&(this.$u=!0,this.Ku(),this.Wu!=s._t&&this.zh(this.Qs.ti)),this.Wu===s.kt){var f=0;for(r=0,a=o.length;r<a;++r)(h=o[r]).radioGroup?h.radioGroup(f):++f}else if(this.Wu===s._t){var c=this,l={start:function(i,s){var e=this.rlControl,n=this.style;if(!e||!e.Zs(!1,!0)||e.prez()&&e.prez().ended)return!1;if(e.ju=e.sequentialOrder,e.parent&&e.parent.Wh){e.Xh=getTransformationMatrix(this.parentNode).inverse(),e.Lh=e.Xh.transformPoint({x:s.originalPosition.left,y:s.originalPosition.top}),e.Lh.x+=s.originalPosition.left-(parseFloat(this.offsetLeft)||0),e.Lh.y+=s.originalPosition.top-(parseFloat(this.offsetTop)||0);var r=e.textContainer,a=r.style;en.dragEffect(e,!0);var h=ls.createElement("div"),o=r.cloneNode(!0);(l=h.style).position="relative",["flexGrow","flexShrink","width","height","alignSelf","margin","order"].forEach(function(t){l[t]=n[t]}),o.style.visibility="hidden",h.appendChild(o),e.Qu={position:n.position,width:n.width,height:n.height,left:n.left,top:n.top};var u=c.prez().ir(),f=e.node.getBoundingClientRect();n.width=f.width/u+"px",n.height=f.height/u+"px",n.position="absolute",e.qu={position:a.position,padding:a.padding,width:a.width,height:a.height,left:a.left,top:a.top,right:a.right,bottom:a.bottom},["left","right"].forEach(function(t){var i="padding"+t.charAt(0).toUpperCase()+t.slice(1);a[t]=a[i],a[i]=""}),a.position="absolute",a.width="",a.height="",t(h).addClass("ap-ctrl-drop-placeholder"),this.parentNode.appendChild(h),e.Ju=h,e.hasStateFlag(C)&&e.js.flags(C),t(e).triggerHandler(t.Event("ap-dragstart",{originalEvent:i}))}else{e.Yh={left:n.left,right:n.right,top:n.top,bottom:n.bottom},e.Xh=getTransformationMatrix(this.parentNode).inverse(),e.Lh=e.Xh.transformPoint({x:s.originalPosition.left,y:s.originalPosition.top}),e.Lh.x+=s.originalPosition.left-(parseFloat(t(this).css("left"))||0),e.Lh.y+=s.originalPosition.top-(parseFloat(t(this).css("top"))||0),en.dragEffect(e,!0);var l;h=ls.createElement("div");(l=h.style).position="absolute",["left","right","top","bottom","width","height",Bs].forEach(function(t){l[t]=n[t]}),t(h).addClass("ap-ctrl-drop-placeholder"),this.parentNode.appendChild(h),e.Ju=h,e.hasStateFlag(C)&&e.js.flags(C),t(e).triggerHandler(t.Event("ap-dragstart",{originalEvent:i}))}},stop:function(i,s){var e=this.rlControl;if(e)if(en.dragEffect(e,!1),e.parent&&e.parent.Wh){var n,r=e.node.style,a=e.textContainer.style,h=e.Qu,o=e.qu;r.order=e.sequentialOrder;for(n in h)r[n]=h[n];for(n in o)a[n]=o[n];delete e.Qu,delete e.qu,(u=e.Ju)&&u.parentNode&&u.parentNode.removeChild(u),delete e.Ju,e.hasStateFlag(S)&&e.js.flags(S),delete this.tf,delete this.if,delete this.sf,t(e).triggerHandler(t.Event("ap-dragend",{value:null,originalEvent:i})),e.sequentialOrder!=e.ju&&pe(e,"ap-change")}else{var u;In(e,e.parent.children[e.sequentialOrder]),(u=e.Ju)&&u.parentNode&&u.parentNode.removeChild(u),delete e.Ju,e.hasStateFlag(S)&&e.js.flags(S),t(e).triggerHandler(t.Event("ap-dragend",{value:null,originalEvent:i})),e.sequentialOrder!=e.ju&&pe(e,"ap-change")}},drag:function(t,i){var s,e,n,r=this.rlControl;if(r)if(s=r.Xh.transformPoint({x:i.position.left,y:i.position.top}),i.position.left=i.originalPosition.left+s.x-r.Lh.x,i.position.top=i.originalPosition.top+s.y-r.Lh.y,r.parent&&r.parent.Wh)for(e=this.style.zIndex,this.style.zIndex=-1,n=ls.elementFromPoint(t.clientX,t.clientY),this.style.zIndex=e;n&&n!==ls.documentElement;){if(n.rlControl){var a=!0;if(n&&n.rlControl){a=this.tf!==n.rlControl;var h=i.position.top;if(a)this.tf=n.rlControl,delete this.if;else if(void 0===this.sf)a=!0;else if(void 0===this.if)h!=this.sf&&(this.if=h>this.sf);else{var o=h>this.sf;o!=this.if&&h!=this.sf&&(this.if=o,a=!0)}this.sf=h}if(a&&n.rlControl!==r&&r.parent){var u=r.sequentialOrder,f=n.rlControl.sequentialOrder,c=r.parent.children;for(r.Ju.style.order=n.style.order,l=0,d=c.length;l<d;++l)(v=c[l])===r?v.sequentialOrder=f:((p=v.sequentialOrder)>u&&--p,p>=f&&++p,p!==v.sequentialOrder&&(v.sequentialOrder=p,v.node.style.order=p))}break}(n=n.parentNode)&&n!==ls.documentElement||delete this.tf}else for(e=this.style.zIndex,this.style.zIndex=-1,n=ls.elementFromPoint(t.clientX,t.clientY),this.style.zIndex=e;n&&n!==ls.documentElement;){if(n.rlControl){if(n.rlControl!==r&&r.parent){u=r.sequentialOrder,f=n.rlControl.sequentialOrder,c=r.parent.children;var l,d,v,p,m=r.Ju.style,g=n.style;for(["left","right","top","bottom",Bs].forEach(function(t){m[t]=g[t]}),l=0,d=c.length;l<d;++l)(v=c[l])===r?v.sequentialOrder=f:((p=v.sequentialOrder)>u&&--p,p>=f&&++p,p!==v.sequentialOrder&&(v.sequentialOrder=p,In(v,c[p])))}break}n=n.parentNode}}};for(r=0,a=o.length;r<a;++r)(h=o[r]).node.rlControl=h,t(h.node).on("mousedown mouseup",function(t){this.rlControl&&this.rlControl.filterEvent(t)||this.rlControl.Us(t)}).css("touchAction","none").draggable(l),Ee(h.node)}this.Wu===s.gt&&this.node.setAttribute("role","radiogroup"),this.Wu===s.kt&&this.zh(this.Qs.ti),this.Qs.k===i.B&&(this.ef=!1,u.h&&(this.ef=1==u.h,this.ef&&u.tl&&(this.nf=u.tl)),this.rf=new Fn(this))},onResized:function(t,i){fn.prototype.onResized.call(this,t,i),this.$u&&this.shuffleAnswers(null,!0),this.ho()},onLayoutSwitched:function(){fn.prototype.onLayoutSwitched.call(this),this.$u&&this.shuffleAnswers(null,!0),this.ho()},zh:function(t){if(!isNaN(t)){var i=this.Qs.t;if(i!=s._t&&i!=s.yt){var e=this.savedData(),n=void 0;e&&e.s&&(n=e.s);var r,a,h,o=this.children,u=-1,f=[];for(r=0,a=o.length;r<a;++r)n?(h=o[n.indexOf(r)]).zh(h.Qs.ti):h=o[r],h instanceof Sn?(u=h.Qh,f.indexOf(u)<0?(t>=0&&h.zh(t),f.push(u)):h.zh(-2)):h instanceof kn?h.zh(t):h instanceof Cn&&(n&&t>=0?0==r?h.zh(t):h.zh(-2):h.zh(t))}else fn.prototype.zh.call(this,t)}},Ku:function(){var t,i=this.savedData();if(i&&i.s)return i.s;switch(this.Wu){case s.bt:case s.gt:case s.Mt:case s._t:t=ks(this.children.length);break;case s.yt:var e,n,a=this.children,h=0;for(e=0,n=a.length;e<n;++e)a[e].Qs.f&r&&++h;t=ks(h)}return t&&(i||(i=this.savedData(!0)),i.s=t),t},shuffleAnswers:function(t,i){if(t)this.savedData(!0).s=t;else if(!(t=this.Ku()))return this;if(this.$u=!0,this.Uh||this.Bh){var e,n,a=this.children;switch(this.Wu){case s.bt:case s.gt:case s.Mt:for(e=0,n=a.length;e<n;++e)this.Wh?a[e].node.style.order=t[e]:In(a[e],a[t[e]]);break;case s._t:for(e=0,n=a.length;e<n;++e)i&&void 0!==a[e].sequentialOrder||(a[e].sequentialOrder=t[e]),this.Wh?a[e].node.style.order=a[e].sequentialOrder:In(a[e],a[a[e].sequentialOrder]);break;case s.yt:var h,o=[];for(e=0,n=a.length;e<n;++e)(h=a[e]).Qs.f&r&&o.push(h);for(e=0,n=Qi(o.length,t.length);e<n;++e)i&&o[e].dropTarget||(this.Wh?o[e].node.style.order=t[e]:In(o[e],o[t[e]]))}return this}},submit:function(){if(this.prez()&&this.prez().ended)return this;var t,e,n,h,o,u,f,c,l,d,v,p,m,g,M=this.children,b=this.Qs.e||{},w=b.f,y=(w&Ot)===Ot,k=(w&Rt)!==Rt,T=y&&k,x=T&&(w&It)===It,C=0,S=!1,E=!1;if(this.Qs.k==i.B){for(u=b.v||[],f=[],c={},t=0,e=M.length;t<e;++t)o=M[t],this.rf&&this.rf.isAnswerSelected(o.id())&&(f.push(o),y&&(!S&&u.indexOf(o.id())<0&&(S=!0),x&&(C+=o.Qs.e.m)));this.rf&&this.rf.getSavedAnswers(c),E=!this.rf.isAnswered()&&(!y||u.length>0),y&&!S&&(S=!this.rf.hasIncorrectAnswer(u)),S&&x&&this.ef&&(C=0),!y||S||E||this.ef&&u.length!==f.length&&(S=!0)}else switch(this.Wu){case s.gt:case s.bt:case s.Mt:for(u=b.v||[],f=[],c=[],l=[],t=0,e=M.length;t<e;++t)(o=M[t]).checked&&o.checked()&&(f.push(o),c.push(o.id()),y&&(!S&&u.indexOf(o.id())<0&&(S=!0),x&&(C+=o.Qs.e.m))),((this.Wu===s.gt||this.Wu===s.bt)&&o instanceof Sn||this.Wu===s.Mt&&o instanceof Cn)&&l.push({reportId:o.Qs.r,text:o.text()});E=0===f.length&&(!y||u.length>0),S&&x&&this.Wu===s.Mt&&(C=0),!y||S||E||u.length===f.length||(S=!0);break;case s.wt:var O,R,N,A,D,Y=this.prez()?this.prez().Qs.language:void 0;for(f=[],c={},t=0,e=M.length;t<e;++t)if((o=M[t])instanceof kn)if(f.push(o),N=o.value(),c[o.id()]=N,O=o.Qs.e||{},D=!o.caseSensitive(),y){for(D&&(N=Us(N,Y)),R=-1,n=0,h=(u=O.v||[""]).length;n<h;++n)if(A=u[n],D&&(A=Us(A,Y)),N===A){R=n;break}!S&&R<0&&N&&(S=!0),!E&&R<0&&!N&&(E=!0),x&&R>=0&&O.m&&(O.f&It?C+=O.m[R]||0:C+=O.m)}else E||N||(E=!0);break;case s.Tt:var X,L,F;for(f=[],c={},l=[],t=0,e=M.length;t<e;++t)if((o=M[t])instanceof gn){f.push(o),F=o.value(),c[o.id()]=F,X=o.Qs.e||{};var H=[];if(o.Qs.it)for(n=0;n<o.Qs.it.length;++n)H.push({id:n,text:o.Qs.it[n]});if(l.push({reportId:o.Qs.r,text:o.text(),children:H}),y){for(L=-1,n=0,h=(u=X.v||[]).length;n<h;++n)if(F===u[n]){L=n;break}!S&&L<0&&void 0!==F&&(S=!0),!E&&L<0&&void 0===F&&(E=!0),x&&L>=0&&X.m&&(X.f&It?C+=X.m[L]||0:C+=X.m)}else E||void 0!==F||(E=!0)}break;case s._t:for(x=!1,(f=M.slice()).sort(function(t,i){return t.sequentialOrder-i.sequentialOrder}),l=[],c=[],t=0,e=f.length;t<e;++t)c.push(f[t].id()),l.push({reportId:f[t].Qs.r,text:f[t].text()});if(y&&!S)for(t=0,e=M.length;t<e;++t)if(M[t].sequentialOrder!==t){S=!0;break}break;case s.yt:var U,B,Z,z,G,V,W,$=[],K=[];for(f=[],c={},d=[],v=[],t=0,e=M.length;t<e;++t)if((o=M[t]).Qs.f&a?d.push({reportId:o.Qs.r,text:o.text()}):o.Qs.f&r&&v.push({reportId:o.Qs.r,text:o.text()}),o.dropHelper){u=(V=o.Qs.e||{}).v||[],f.push(o),c[o.id()]=Z=[],(z=o.dropHelper.absolutePosition())&&(m||(m={}),m[o.id()]=W=[]);var j=!1;for(n=0,h=(U=o.dropHelper.droppedObjects()).length;n<h;++n)B=U[n],Z.push(B.id()),z&&(B.xh?W.push([B.xh.x,B.xh.y]):W.push([0,0])),K.push(B.id()),y&&(G=u.indexOf(B.id()),!S&&G<0&&(S=!0,j=!1),G>=0&&!j&&(j=!0),x&&G>=0&&V.m&&(C+=V.m[G]||0));var Q=j?P:I;for(y&&o.hasStateFlag(Q)&&(o.js.flags(Q),o.savedCurrentState()),n=0,h=U.length;n<h;++n)if(B=U[n],K.push(B.id()),y){var q=u.indexOf(B.id()),J=_;J=q<0?I:P,B.hasStateFlag(J)&&(B.js.flags(J),B.savedCurrentState())}if(y&&!S&&Z.length!==u.length)for(n=0,h=u.length;n<h;++n)Z.indexOf(u[n])<0&&$.push(u[n])}if(y&&!S)for(t=0,e=$.length;t<e;++t)if(K.indexOf($[t])<0){S=!0;break}K.length||y&&!$.length||(E=!0);break;case s.kt:f=[],c=[];var tt,it=0;t=0,e=M.length,p=[];for(var st,et,nt,rt=[];t<e;)(o=M[t]).Qs.t===s.ut&&(st=o.text()),o.Qs.t===s.dt&&rt.push(o.text()),o.radioGroup&&(o.Qh!==it?(it=o.Qh,void 0!==tt&&(f.push(tt),c.push(tt?tt.id():0)),tt=o.checked()?o:null,p.push({text:st||p.length+1+"",scales:[]})):o.checked()&&(tt=o),nt=p[p.length-1].scales,rt.length>=nt.length&&(et=rt[nt.length]),et||(et=nt.length+1+""),nt.push({reportId:nt.length+1,text:et})),++t;void 0!==tt&&(f.push(tt),c.push(tt?tt.id():0)),E=f.indexOf(null)>=0;break;default:return this}g=E?Xt.Qi:S?Xt.ji:y?Xt.Ki:Xt.$i,T&&!x&&g===Xt.Ki&&(C=b.m||0);var at={choices:l,targets:d,sources:v,scales:p};return this.Lo(this.savedData(!0),g,c,T?C:void 0,!k,f,m,at),this},clear:function(t,e){return this.prez()&&this.prez().ended&&!e?this:(this.Wu===s._t&&this.shuffleAnswers(),this.Qs.k===i.B&&this.rf.clear(),fn.prototype.clear.call(this,t,e))},disable:function(t){arguments.length||(t=!0);var i,s,e=this.children;for(i=0,s=e.length;i<s;++i)e[i].disable(t);return fn.prototype.disable.call(this,t)},restore:function(t){if(!t&&!(t=this.savedData()))return fn.prototype.restore.call(this,t),this.clear(void 0,!0);void 0!==t.a&&this.Xo(t.a),!t.s||this.Wu===fn._t&&t.v||this.shuffleAnswers(t.s);var e,n,r,a=t.v,h=this.children;switch(this.Wu){case s.bt:case s.gt:case s.Mt:case s.kt:for(a||(a=[]),e=0,n=h.length;e<n;++e)(r=h[e]).check&&r.check(a.indexOf(r.id())>=0);break;case s.wt:for(a||(a={}),e=0,n=h.length;e<n;++e)(r=h[e])instanceof kn&&r.value(a[r.id()]||"");break;case s.Tt:for(a||(a={}),e=0,n=h.length;e<n;++e)(r=h[e])instanceof gn&&r.value(a[r.id()]||"");break;case s._t:var o;if(a&&a.length)for(e=0,n=h.length;e<n;++e)r=h[e],(o=a.indexOf(r.Qs.i))>=0&&(r.sequentialOrder=o,this.Wh?r.node.style.order=o:In(r,h[o]));break;case s.yt:var u,f,c,l,d,v,p=t.d||{};for(e=0,n=h.length;e<n;++e)if((r=h[e]).restore(),r.dropHelper)for(u=a&&a[r.id()]||[],c=p[r.id()]||[],r.dropHelper.clear(),d=0,v=u.length;d<v;++d)(f=this.slide.object(u[d]))&&(l=c[d],r.dropHelper.drop(f,{x:l?l[0]:0,y:l?l[1]:0},!1))}if(this.Qs.k==i.B)for(this.rf.restoreSavedAnswers(a),e=0,n=h.length;e<n;++e)(r=h[e]).restore();return this},cleanup:function(){if(this.Wu===s._t){var i,e,n,r=this.children;for(i=0,e=r.length;i<e;++i)(n=r[i]).node.rlControl&&(t(n.node).draggable("destroy"),delete n.node.rlControl),n.Ju&&n.Ju.parentNode&&n.Ju.parentNode.removeChild(n.Ju)}return fn.prototype.cleanup.call(this)},ce:function(t){t=t||{};var e=this.Qs.e||{},n=((e.f||0)&Ot)===Ot,r=this.savedData();if(n){switch(this.Wu){case s.bt:case s.gt:case s.Mt:var a=[];r&&(a=r.v||[]);for(var h=e.v||[],o=0;o<this.children.length;++o){var u=(E=this.children[o]).id();if(fn.prototype.Ho.call(E),t.showCorrect)if(h.indexOf(u)>=0)(M=this.su(!0,"middle-left"))&&(E.node.appendChild(M),E.Bo=M);if(t.showIncorrect)if(a.indexOf(u)>=0&&h.indexOf(u)<0)(M=this.su(!1,"middle-left"))&&(E.node.appendChild(M),E.Zo=M)}break;case s.wt:a={};var f=this.prez()?this.prez().Qs.language:void 0;r&&(a=r.v||{});for(o=0;o<this.children.length;++o){if((E=this.children[o])instanceof kn){h=(E.Qs.e||{}).v||[""];var c=!E.caseSensitive(),l=a[E.id()],d=[];if(c)for(var v=0;v<h.length;v++)d.push(Us(h[v],f));else d=h;if(((b=d.indexOf(c?Us(l,f):l)>=0)&&!t.showCorrect||!b&&!t.showIncorrect)&&(b=null),fn.prototype.Ho.call(E),null!==b||t.showValues)(C=E.jo(this,b,{correctAnswers:h,options:t})).checkMark&&(E.Bo=C.checkMark),C.popup&&(E.zo=C.popup)}}break;case s.Tt:a={};r&&(a=r.v||{});for(o=0;o<this.children.length;++o){if((E=this.children[o])instanceof gn){h=(E.Qs.e||{}).v||[],l=a[E.id()];if(((b=h.indexOf(l)>=0)&&!t.showCorrect||!b&&!t.showIncorrect)&&(b=null),fn.prototype.Ho.call(E),null!==b||t.showValues)(C=E.jo(this,b,{correctAnswers:h,options:t})).checkMark&&(E.Bo=C.checkMark),C.popup&&(E.zo=C.popup)}}break;case s._t:var p=this.children,m=p.slice(),g=[];m.sort(function(t,i){return t.sequentialOrder-i.sequentialOrder});for(o=0;o<m.length;o++)g.push(m[o].id());for(a=r.v||g,o=0;o<p.length;o++){var M,b=(l=a[o])===(E=p[o]).id();if(fn.prototype.Ho.call(E),b&&t.showCorrect||!b&&t.showIncorrect)(M=this.Ko(b,(o+1).toString(),"middle-left-inner"))&&(E.node.appendChild(M),b?E.Bo=M:E.Zo=M)}break;case s.yt:fn.prototype.Ho.call(this);for(var w={},_=(o=0,this.children.length);o<_;++o){if((E=this.children[o]).dropHelper&&E.Qs.e&&E.Qs.e.v)for(h=E.Qs.e.v,v=0;v<h.length;++v){var y=h[v];w[y]?++w[y]:w[y]=1}}for(o=0,_=this.children.length;o<_;++o){if((E=this.children[o]).dropHelper){b=!0,h=(E.Qs.e||{}).v||[];var k=E.dropHelper.droppedObjects(),T=[];for(v=0;v<h.length;++v){(x=this.slide.object(h[v]))&&T.push(x)}if(k.length>T.length)b=!1;else{for(v=0;v<k.length;++v)if(T.indexOf(k[v])<0){b=!1;break}if(b&&k.length<T.length)for(v=0;v<T.length;++v){var x=T[v];if(k.indexOf(x)<0){if(!(w[x.id()]>1)){b=!1;break}if(!x.dropTarget){b=!1;break}}}}if(b&&t.showCorrect||!b&&t.showIncorrect||t.showValues){var C,S=t.showValues&&!(b&&t.showCorrect||!b&&t.showIncorrect);(C=E.jo(this,S?null:b,{yourAnswerCtrls:k,correctAnswerCtrls:T,options:t},"middle-center")).checkMark&&(E.Bo=C.checkMark),C.popup&&(E.zo=C.popup)}}}}if(this.Qs.k==i.B){for(h=e.v||[],o=0;o<this.children.length;++o){var E;(E=this.children[o])instanceof wn&&E.Gh(!!(t.showValues&&h.indexOf(E.id())>=0))}var O=this.rf.getHotSpotEffects();if(O)for(o=0;o<O.length;++o){var P,I=O[o],R=h.indexOf(I.answerId)>=0;P=R&&t.showCorrect||!R&&t.showIncorrect?R?"#2fae62":"#d15327":this.rf.af,I.color(P)}}if(fn.prototype.Ho.call(this.slide),t.showResult){var N=Xt.Qi;r&&void 0!==r.r&&(N=r.r);var A=this.$o(N,this.slide.prez().responseResultString(N));A&&(this.slide.node.appendChild(A),this.slide.Go=A)}}},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)},Vs:function(t){return this.Qs.k==i.B&&"ap-click"==t},filterEvent:function(t){return this.Qs.k!=i.B||"mousedown"!=t.type&&"mouseup"!=t.type?Pn.prototype.filterEvent.call(this,t):!this.Oa(t.target)}});ln(function(t,s){return s.k==i.L&&s.t||s.k==i.B?new Rn(t,s):new Pn(t,s)},i.L,i.F,i.B,i.nt);var Nn=ie(hn,{$init:function(t,i){i.Qs.isFeedback?this.node=t.ui.feedbackSlides()[0]:this.node=t.ui.slides()[0],this.slide=i}});ln(function(t,i){return new Nn(t,i)},i.q);var An=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i)},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("img"),s=i.style;return t.tabIndex=-1,t.appendChild(i),s.position="absolute",s.width="100%",s.height="100%",s.pointerEvents="auto",this.imageNode=i,i.addEventListener("dragstart",function(t){t.preventDefault()},!1),t},ah:function(){var t,i,s,e,n,r=this.shape,a=this.imageNode.style;if(r&&r.Ks){var h=(n=r.hf()).fillPaths&&n.fillPaths.length>0,o=n.multiplePaths&&n.fillPaths&&n.fillPaths.length>0;if(h||o){var u="",f=[],c=n.fillPaths;(i=ls.createElementNS(Gi,"svg")).style.visibility="hidden",this.node.appendChild(i);for(var l=0;l<c.length;l++){var d=c[l].path;u+=d+" ",(s=ls.createElementNS(Gi,"path")).setAttribute("d",d),i.appendChild(s);var v=vr(s);f.push(v),i.removeChild(s)}this.node.removeChild(i),e=this.uf(f),t=u.trim()}else t=n.fill||"",(s=ls.createElementNS(Gi,"path")).setAttribute("d",t),(i=ls.createElementNS(Gi,"svg")).appendChild(s),i.style.visibility="hidden",this.node.appendChild(i),e=vr(s),this.node.removeChild(i);if(a.clipPath='path("'+t+'")',a.left=e.x+"px",a.top=e.y+"px",a.width=e.width+"px",a.height=e.height+"px",this.shape&&this.shape.ff&&this.Bh&&e.height>this.Bh&&(a.top=-e.y+this.Bh-e.height+"px"),this.shape&&this.shape.cf&&this.Uh&&e.width>this.Uh&&(a.left=-e.x+this.Uh-e.width+"px"),0!=e.x||0!=e.y){var p=Se.SHAPE_DEFS[r.Ks],m=r.container.clientWidth,g=r.container.clientHeight,M=new cr;if(p&&p[0]){var b=p[0].apply(M,[-e.x,-e.y,m,g].concat(r.mu));if(b&&b.fillPaths&&b.fillPaths.length){for(var w="",_=0;_<b.fillPaths.length;_++)w+=b.fillPaths[_].path+" ";a.clipPath='path("'+w.trim()+'")'}else if(b&&b.multiplePaths&&b.fillPaths){for(w="",_=0;_<b.fillPaths.length;_++)w+=b.fillPaths[_].path+" ";a.clipPath='path("'+w.trim()+'")'}else a.clipPath='path("'+M.path()+'")'}}}else r&&(a.clipPath="")},uf:function(t){if(!t||0===t.length)return{x:0,y:0,width:0,height:0};for(var i=t[0].x,s=t[0].y,e=t[0].x+t[0].width,n=t[0].y+t[0].height,r=1;r<t.length;r++){var a=t[r];i=Math.min(i,a.x),s=Math.min(s,a.y),e=Math.max(e,a.x+a.width),n=Math.max(n,a.y+a.height)}return{x:i,y:s,width:e-i,height:n-s}},onResized:function(t,i){fn.prototype.onResized.call(this,t,i),this.ah()},qa:function(t,i,s){this.imageNode.src=this.prez().getResource(t,i),s?this.imageNode.setAttribute("alt",s):this.imageNode.removeAttribute("alt"),this.shape.lf(t,i)},html:On,flip:function(t,i){return Ns(this.imageNode,t,i),fn.prototype.flip.call(this,t,i)},mediaFit:function(t){if(!arguments.length)return this.imageNode.style.objectFit;this.imageNode.style.objectFit=t},mediaPosition:function(t){if(!arguments.length)return this.imageNode.style.objectPosition;this.imageNode.style.objectPosition=t}});function Dn(i,s,e){function n(){var n=50+s;n=""==i.value?50+s:t(i).apInputTagAutoWidth()+s,n+="px";var r=i.style.width!=n;t(i).css({width:n}),r&&e&&e()}s=s||0;var r="keyup,keypress,focus,blur,change".split(",");for(var a in r)i.addEventListener(r[a],n,!1);n()}ln(function(t,i){return new An(t,i)},i.M),t.fn.apInputTagAutoWidth=function(){t.fn.apInputTagAutoWidth.fakeEl||(t.fn.apInputTagAutoWidth.fakeEl=t("<span>").hide().appendTo(ls.body));var i=i||this.val()||this.text();i=i.replace(/ /g,"."),t.fn.apInputTagAutoWidth.fakeEl.text(i).css("font-family",this.css("font-family")).css("font-size",this.css("font-size")).css("font-weight",this.css("font-weight")).css("font-weight",this.css("font-weight")).css("font-variant",this.css("font-variant"));var s=parseInt(t.fn.apInputTagAutoWidth.fakeEl.width())+5;return s<50&&(s=50),s};var Yn=ie(fn,{$init:function(i,s){fn.prototype.$init.call(this,i,s),this.yo();var e=this;if(t(this.node).on("mousedown mouseup",function(t){e.filterEvent(t)||e.Us(t)}),this.df=[],this.vf=[],this.textNode){this.df=t(this.textNode).find("input");for(var n=0,r=this.df.length;n<r;++n){var a=this.df[n];this.vf.push(a.parentNode),a.spellcheck=!1,t(a).on("focus",function(t){e.Zs(!1,!0)||t.preventDefault()}).on("blur",function(t){e.Zs(!1,!0)||t.preventDefault()}).on("mousedown",function(t){e.Zs(!1,!0)||t.preventDefault()}),Dn(a,void 0,function(){e.rh&&e.rh()})}t(this.textNode).on("change",function(){e.Zs(!1,!0)&&pe(e,"ap-change")})}this.zh(s.ti)},zh:function(t){if(!isNaN(t))if(this.yo(),-2==t)this.textNode.tabIndex=-1;else if(-1==t)this.textNode.removeAttribute("tabIndex");else if(this.df&&this.df.length>0)for(var i=0,s=this.df.length;i<s;++i){this.df[i].tabIndex=t}},allInputValues:function(t){var i=[];if(this.df&&0!=this.df.length&&t)for(var s=0,e=this.df.length;s<e;++s){var n=this.df[s];arguments.length||i.push(n&&n.value||""),n||this.yo();var r=t[s]?t[s]+"":"";n.value=r}else for(s=0,e=this.df.length;s<e;++s){n=this.df[s];arguments.length||i.push(n&&n.value||""),n||this.yo(),n.value=""}return arguments.length?(this.pf(),this):i},_o:function(){return fn.prototype._o.call(this)+"border: none; margin: 0; padding: 0; width: 100%; outline: none;"},clear:function(t,i){return this.prez()&&this.prez().ended&&!i?this:this.allInputValues([])},restore:function(t){return fn.prototype.restore.call(this,t),t||(t=this.savedData()),t&&void 0!==t.a&&this.Xo(t.a),this.allInputValues(t&&t.v||{})},oh:function(t,i){if(this.df){var s,e=(i&T)==T,n=this.df.length;for(s=0;s<n;++s)this.df[s].disabled=e}},submit:function(){if(this.prez()&&this.prez().ended)return this;var t,i,s,e,n,r,a,h,o,u,f,c,l,d,v=this.df,p=this.Qs.e||{},m=p.f,g=(m&Ot)===Ot,M=(m&Rt)!==Rt,b=g&&M,w=b&&(m&It)===It,_=0,y=!1,k=!1,T=p.v||[],x=this.prez()?this.prez().Qs.language:void 0;for(a=[],h={},t=0,i=v.length;t<i;++t)if(n=v[t],a.push(n),f=n.value,h[t]=f,g){if(!(o=T[t]))continue;for((l=!o.c)&&(f=Us(f,x)),u=-1,s=0,e=(r=o.v||[""]).length;s<e;++s)if(c=r[s],l&&(c=Us(c,x)),f===c){u=s;break}!y&&u<0&&f&&(y=!0),!k&&u<0&&!f&&(k=!0),w&&u>=0&&o.m&&(_+=o.m||0)}else k||f||(k=!0);return d=k?Xt.Qi:y?Xt.ji:g?Xt.Ki:Xt.$i,b&&!w&&d===Xt.Ki&&(_=p.m||0),this.Lo(this.savedData(!0),d,h,b?_:void 0,!M,a,void 0),this},ce:function(t){t=t||{};var i=this.Qs.e||{},s=((i.f||0)&Ot)===Ot,e=this.savedData();if(s){var n={},r=this.prez()?this.prez().Qs.language:void 0;e&&(n=e.v||{});for(var a=[],h=i.v||[],o=this.df,u=0;u<o.length;++u){_=o[u];var f=h[u],c=f.v||[""],l=!f.c,d=n[u],v=[];if(l)for(var p=0;p<c.length;p++)v.push(Us(c[p],r));else v=c;var m=v.indexOf(l?Us(d,r):d)>=0;a.push({correct:m,arrCorrectValues:v.slice(),inputNode:_})}if(this.gf){u=0;for(var g=this.gf.length;u<g;++u){var M=this.gf[u];M&&M.parentNode&&M.parentNode.removeChild(M)}}if(this.gf=[],this.Mf)for(u=0,g=this.Mf.length;u<g;++u){var b=this.Mf[u];b&&b.parentNode&&b.parentNode.removeChild(b)}this.Mf=[];var w=0;(t.showCorrect||t.showIncorrect)&&(w=18),t.showValues&&(w+=2,w+=18);for(u=0,g=a.length;u<g;++u){var _,y=a[u];if(((m=y.correct)&&!t.showCorrect||!m&&!t.showIncorrect)&&(m=null),Dn(_=y.inputNode,w),null!==m||t.showValues){var k=this.jo(this.node,m,{correctAnswers:y.arrCorrectValues.slice(),options:t});k.checkMark&&(this.gf.push(k.checkMark),this.vf[u].appendChild(k.checkMark)),k.popup&&this.Mf.push(k.popup)}}if(fn.prototype.Ho.call(this.slide),t.showResult){var T=Xt.Qi;e&&void 0!==e.r&&(T=e.r);var x=this.$o(T,this.slide.prez().responseResultString(T));x&&(this.slide.node.appendChild(x),this.slide.Go=x)}}},Zs:function(t,i,s){return(!this.prez()||!this.prez().ended)&&fn.prototype.Zs.call(this,t,i,s)},pf:function(){for(var t=this.df,i=this,s=0,e=t.length;s<e;++s)Dn(t[s],void 0,function(){i.rh&&i.rh()})}});ln(function(t,i){return new Yn(t,i)},i.U);var Xn=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i),this.bf=0},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("div");i.style.top="50%",i.style.left="50%",i.style.width=this.Qs.ge.w+"px",i.style.height=this.Qs.ge.h+"px",i.style.position="absolute",i.style[Bs]="translate(-50%, -50%)";var s=ls.createElement("canvas");return Rs(s,{width:this.Qs.ge.w,height:this.Qs.ge.h}),this.wf=s,i.appendChild(s),t.appendChild(i),t}});ln(function(t,i){return new Xn(t,i)},i.P);var Ln=ie({$init:function(t,i,s,e,n,r){this.x=t,this.y=i,this.answerId=parseInt(s);var a=2*e,h=ls.createElement("div"),o=h.style;if(h.className="ap-hotspot",o.pointerEvents="auto",o.left=t,o.top=i,o.width=a+"px",o.height=a+"px",o[Bs]="translate3d("+-e+"px, "+-e+"px, 0px)",r){var u=ls.createElement("div");u.className="hs-ring",h.appendChild(u)}this.node=h,this.color(n)},color:function(t){this.node.style.backgroundColor=t,this.node.firstChild&&(this.node.firstChild.style.borderColor=t)}}),Fn=ie({$init:function(t){this.ja=t,this._f=[];var i=t.children[0];i&&i instanceof An||(i=t),this.yf=i.node;var s=t.Qs;if(this.kf=s.hs[0],this.af=As(s.hs[1]),!t.prez().demoMode()){t.node.style.pointerEvents="auto";var e=this;t.on("ap-click",function(t){if(this.Zs(!1,!0)){var i=t.originalEvent,s=this.Oa(i.target);if(s){var n=e.yf,r=convertPointFromPageToNode(n,i.pageX,i.pageY);r.x=100*(r.x+n.scrollLeft)/(n.clientWidth||1),r.y=100*(r.y+n.scrollTop)/(n.clientHeight||1),r.x=r.x.toFixed(2)+"%",r.y=r.y.toFixed(2)+"%",e.addHotSpotEffect(r.x,r.y,s.id())&&pe(s,"ap-change")}}})}},clear:function(){for(var t=this._f,i=0;i<t.length;++i)this.yf.removeChild(t[i].node);t.length=0},addHotSpotEffect:function(i,s,e){var n=this.ja,r=this._f;if(n.ef){if(r.length==n.nf)return!1}else this.clear();var a=this,h=new Ln(i,s,e,this.kf,this.af,!n.prez().isReviewingMode());return t(h.node).on("mousedown",function(){a.ja.Zs(!1,!0)&&(a.removeHotSpotEffect(h),pe(a.ja.fo(h.answerId,!0)||a.ja,"ap-change"))}),this.yf.appendChild(h.node),r.push(h),!0},removeHotSpotEffect:function(t){var i=this._f.indexOf(t);i>=0&&(this._f.splice(i,1),this.yf.removeChild(t.node))},getHotSpotEffects:function(){return this._f},isAnswered:function(){return this._f.length>0},isAnswerSelected:function(t){for(var i=this._f,s=0;s<i.length;s++)if(i[s].answerId==t)return!0;return!1},getSavedAnswers:function(t){for(var i=this._f,s=0;s<i.length;s++){var e=i[s],n="("+e.x+","+e.y+")";t[e.answerId]?t[e.answerId]+=","+n:t[e.answerId]=n}},restoreSavedAnswers:function(t){if(this.clear(),t)for(var i in t){var s=t[i];if(s){if((s=s.replace(/[()]/g,"").split(",")).length%2!=0)continue;for(var e=0;e<s.length;e+=2)this.addHotSpotEffect(s[e],s[e+1],i)}}},hasIncorrectAnswer:function(t){for(var i=this._f,s=0;s<i.length;s++)if(t.indexOf(i[s].answerId)<0)return!1;return!0}}),Hn={LINEWIDTH:6,CIRCLE_RADIUS_MAX:40,RECTANGLE_HEIGHT_ARROW:160,RECTANGLE_WIDTH_ARROW:40,ARROW_HEIGHT:80,HOLD_CIRCLE_RADIUS:25,PINCH_IN_OUT_ANGLE:Wi/6,TWO_FINGERS_TAP_ANGLE:Wi/18,TWO_FINGERS_CIRCLE_RADIUS_DOUBLE:20,TWO_FINGERS_CIRCLE_RADIUS_SINGLE:15,TWO_FINGERS_BETA_MIN:Wi/36,TWO_FINGERS_BETA_MAX:Wi/3,TWO_FINGERS_DOUBLE_BETA_MIN:Wi/6,TWO_FINGERS_DOUBLE_BETA_MAX:Wi/3,CIRCLE_LEFT_RIGHT_RADIUS:60,LEFT_RIGHT_ROTATE_ARROW_WIDTH:30,ROTATE_ARROW_HEIGHT:50,INNER_CIRCLE_RADIUS:25,Motivate:function(t){return yr.linear(t)},fadeIn:function(t,i){i<=.3&&(t*=i/.3);return t},fadeOut:function(t,i){i>=.8&&(i>1&&(i=1),t*=1-(i-.8)/(1-.8));return t},drawUpArrowPath:function(t,i,s){t.beginPath(),t.moveTo(0,0),t.lineTo(-i,i),t.lineTo(-i/2,i),t.lineTo(0,s),t.lineTo(i/2,i),t.lineTo(i,i),t.closePath(),t.fill()},drawUpLeftCurveArrowPath:function(t,i,s,e){var n=(i*i/4-e*i)/2/(Math.sqrt(e*e-s*s)-e+i/2)+e-i/2,r=(i*i/4+e*i)/2/(Math.sqrt(e*e-s*s)-e-i/2)+e+i/2;t.beginPath(),t.moveTo(0,-i),t.lineTo(-i,0),t.lineTo(-i/2,0),t.arc(-n-i/2,0,n,0,Math.asin(s/n)),t.arc(i/2-r,0,r,-2*Wi+Math.asin(s/r),0,!0),t.lineTo(i,0),t.fill(),t.closePath()},drawUpRightCurveArrowPath:function(t,i,s,e){var n=(i*i/4-e*i)/2/(Math.sqrt(e*e-s*s)-e+i/2)+e-i/2,r=(i*i/4+e*i)/2/(Math.sqrt(e*e-s*s)-e-i/2)+e+i/2;t.beginPath(),t.moveTo(0,-i),t.lineTo(-i,0),t.lineTo(-i/2,0),t.arc(r-i/2,0,r,-Wi,-Wi-Math.asin(s/r),!0),t.arc(n+i/2,0,n,Wi-Math.asin(s/n),Wi,!1),t.lineTo(i,0),t.fill(),t.closePath()},drawSingleTap:function(t,i,s,e,n,r){var a=this.LINEWIDTH,h=this.CIRCLE_RADIUS_MAX,o=n.call(null,e)*(h-a)+a;t.lineWidth=a;var u=this.fadeIn(1,e);u=this.fadeOut(u,e),t.globalAlpha=u,t.strokeStyle=r,t.clearRect(i-h-a,s-h-a,2*(h+a),2*(h+a)),t.beginPath(),t.arc(i,s,o,0,2*Wi),t.stroke(),t.closePath()},drawDoubleTap:function(t,i,s,e,n,r){var a=this.CIRCLE_RADIUS_MAX,h=n.call(null,e)*(a-this.LINEWIDTH-15)+this.LINEWIDTH+15;t.lineWidth=this.LINEWIDTH;var o=this.fadeIn(1,e);o=this.fadeOut(o,e),t.globalAlpha=o,t.strokeStyle=r,t.clearRect(i-a-15,s-a-15,2*(a+15),2*(a+15)),t.beginPath(),t.arc(i,s,h,0,2*Wi),t.stroke(),t.closePath(),h>.3*(a-this.LINEWIDTH-15)+this.LINEWIDTH+15&&(t.beginPath(),t.arc(i,s,h-15,0,2*Wi),t.stroke(),t.closePath())},drawHold:function(t,i,s,e,n,r){var a=this.HOLD_CIRCLE_RADIUS,h=this.LINEWIDTH/2,o=.5*a,u=Wi/4,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.strokeStyle=r,t.fillStyle=r;var c=2*Wi*n.call(null,e);t.clearRect(i-(a+2*o),s-(a+2*o),2*(a+2*o),2*(a+2*o)),t.beginPath(),t.lineWidth=this.LINEWIDTH,t.arc(i,s,a,0,2*Wi),t.stroke(),t.closePath(),t.translate(i+Math.cos(u)*(a+o)+h*Math.sin(Wi/4),s-Math.sin(u)*(a+o)-h*Math.cos(Wi/4)),t.beginPath(),t.lineWidth=this.LINEWIDTH/2,t.arc(0,0,o,0,2*Wi),t.stroke(),t.closePath(),t.setTransform(1,0,0,1,0,0),t.translate(i+Math.cos(u)*(a+o)+h*Math.sin(Wi/4),s-Math.sin(u)*(a+o)-h*Math.cos(Wi/4)),t.beginPath(),t.lineWidth=this.LINEWIDTH/2,t.moveTo(0,0),t.arc(0,0,o,-Wi/2+c,1.5*Wi,!0),t.fill(),t.closePath(),t.setTransform(1,0,0,1,0,0)},drawSwipeUp:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=o-h,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i,s+u/2-n.call(null,e)*u),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawSwipeDown:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=o-h,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i,s-u/2+n.call(null,e)*u),t.rotate(Wi),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawSwipeRight:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=o-h,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i-u/2+n.call(null,e)*u,s),t.rotate(Wi/2),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawSwipeLeft:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=o-h,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i+u/2-n.call(null,e)*u,s),t.fillStyle=r,t.rotate(1.5*Wi),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawPinchIn:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=this.PINCH_IN_OUT_ANGLE,f=Math.sin(u)*(o-h),c=this.fadeIn(1,e);c=this.fadeOut(c,e),t.globalAlpha=c,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i,s);var l=-Math.sin(u)*o+h*Math.sin(u)+n.call(null,e)*f,d=-l/Math.tan(u);t.translate(l,d),t.rotate(u),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,i,s);var v=Math.sin(u)*o-h*Math.sin(u)-n.call(null,e)*f,p=-v/Math.tan(u);t.translate(v,p),t.rotate(Wi+u),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawPinchOut:function(t,i,s,e,n,r){var a=this.RECTANGLE_WIDTH_ARROW/2,h=this.ARROW_HEIGHT,o=this.RECTANGLE_HEIGHT_ARROW,u=this.PINCH_IN_OUT_ANGLE,f=Math.sin(u)*(o-h),c=this.fadeIn(1,e);c=this.fadeOut(c,e),t.globalAlpha=c,t.fillStyle=r,t.clearRect(i-o,s-o,2*o,2*o),t.translate(i,s);var l=h*Math.sin(u)+n.call(null,e)*f,d=-l/Math.tan(u);t.translate(l,d),t.rotate(u),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,i,s);var v=-h*Math.sin(u)-n.call(null,e)*f,p=-v/Math.tan(u);t.translate(v,p),t.rotate(Wi+u),this.drawUpArrowPath(t,a,h),t.setTransform(1,0,0,1,0,0)},drawTwoFingersTap:function(t,i,s,e,n,r){var a=this.TWO_FINGERS_CIRCLE_RADIUS_SINGLE,h=this.TWO_FINGERS_TAP_ANGLE,o=this.TWO_FINGERS_BETA_MIN,u=this.TWO_FINGERS_BETA_MAX,f=this.fadeIn(1,e);f=this.fadeOut(f,e),t.globalAlpha=f,t.strokeStyle=r;var c=o+n.call(null,e)*(u-o),l=a/Math.cos(c);t.clearRect(i-4*a,s-4*a,8*a,8*a),t.lineWidth=this.LINEWIDTH,t.lineJoin="round",t.lineCap="round",t.translate(i,s),t.rotate(-60*h/Wi),t.beginPath(),t.arc(a,0,l,Wi-c,-Wi+c,!0),t.arc(-a,0,l,-c,-2*Wi+c,!0),t.stroke(),t.closePath(),t.setTransform(1,0,0,1,0,0)},drawTwoFingersDoubleTap:function(t,i,s,e,n,r){var a=this.TWO_FINGERS_CIRCLE_RADIUS_DOUBLE,h=this.TWO_FINGERS_TAP_ANGLE,o=this.TWO_FINGERS_DOUBLE_BETA_MIN,u=this.TWO_FINGERS_DOUBLE_BETA_MAX,f=o+n.call(null,e)*(u-o),c=a/Math.cos(f);t.clearRect(i-4*a,s-4*a,8*a,8*a),t.translate(i,s),t.rotate(-60*h/Wi),t.lineWidth=this.LINEWIDTH;var l=this.fadeIn(1,e);if(l=this.fadeOut(l,e),t.globalAlpha=l,t.strokeStyle=r,t.lineJoin="round",t.lineCap="round",t.beginPath(),t.arc(-a,0,c,-f,-2*Wi+f,!0),t.arc(a,0,c,Wi-f,-Wi+f,!0),t.stroke(),t.closePath(),c*Math.sin(f)>15){var d=Math.atan((c*Math.sin(f)-15)/a),v=a/Math.cos(d);t.beginPath(),t.arc(-a,0,v,-d,-2*Wi+d,!0),t.arc(a,0,v,+Wi-d,-Wi+d,!0),t.stroke()}t.setTransform(1,0,0,1,0,0)},drawFingers:function(t,i,s,e,n,r){var a=this.INNER_CIRCLE_RADIUS,h=this.RECTANGLE_WIDTH_ARROW/2,o=this.RECTANGLE_HEIGHT_ARROW,u=this.fadeIn(1,e);u=this.fadeOut(u,e),t.globalAlpha=u,t.fillStyle=r,t.clearRect(i-o-a,s-o-a,2*(o+a),2*(o+a));var f=Wi/2,c=o-80;t.translate(i-a-o+80+n.call(null,e)*c,s),t.rotate(f),this.drawUpArrowPath(t,h,80),t.setTransform(1,0,0,1,0,0),f=Wi/4,c=Math.sin(f)*(o-80),t.translate(i,s);var l=Math.sin(f)*(-o-a+80)+n.call(null,e)*c,d=l/Math.tan(f);t.translate(l,d),t.rotate(Wi-f),this.drawUpArrowPath(t,h,80),t.setTransform(1,0,0,1,0,0),f=Wi,c=o-80,t.translate(i,s-a-o+80+n.call(null,e)*c),t.rotate(f),this.drawUpArrowPath(t,h,80),t.setTransform(1,0,0,1,0,0),f=Wi/6,c=Math.sin(f)*(o-80),t.translate(i,s);d=-(l=Math.sin(f)*(o+a-80)-n.call(null,e)*c)/Math.tan(f);t.translate(l,d),t.rotate(Wi+f),this.drawUpArrowPath(t,h,80),t.setTransform(1,0,0,1,0,0),f=Wi/3,c=Math.sin(f)*(o-80),t.translate(i,s),d=-(l=Math.sin(f)*(o+a-80)-n.call(null,e)*c)/Math.tan(f),t.translate(l,d),t.rotate(Wi+f),this.drawUpArrowPath(t,h,80),t.setTransform(1,0,0,1,0,0)},drawRotateLeft:function(t,i,s,e,n,r){var a=this.LEFT_RIGHT_ROTATE_ARROW_WIDTH/2,h=this.ROTATE_ARROW_HEIGHT,o=this.CIRCLE_LEFT_RIGHT_RADIUS,u=this.fadeIn(1,e);u=this.fadeOut(u,e),t.globalAlpha=u,t.fillStyle=r;var f=Is(110+60*n.call(null,e));t.clearRect(0,0,400,400),t.translate(i+Math.cos(f)*o,s-Math.sin(f)*o),t.rotate(-f),this.drawUpLeftCurveArrowPath(t,a,h,o),t.setTransform(1,0,0,1,0,0);var c=Is(200+60*n.call(null,e));t.translate(i+Math.cos(c)*o,s-Math.sin(c)*o),t.rotate(-c),this.drawUpLeftCurveArrowPath(t,a,h,o),t.setTransform(1,0,0,1,0,0)},drawRotateRight:function(t,i,s,e,n,r){var a=this.LEFT_RIGHT_ROTATE_ARROW_WIDTH/2,h=this.ROTATE_ARROW_HEIGHT,o=this.CIRCLE_LEFT_RIGHT_RADIUS,u=this.fadeIn(1,e);u=this.fadeOut(u,e),t.globalAlpha=u,t.fillStyle=r;var f=Is(150-60*n.call(null,e));t.clearRect(0,0,400,400),t.translate(i+Math.cos(f)*o,s-Math.sin(f)*o),t.rotate(Wi-f),this.drawUpRightCurveArrowPath(t,a,h,o),t.setTransform(1,0,0,1,0,0);var c=Is(60-60*n.call(null,e));t.translate(i+Math.cos(c)*o,s-Math.sin(c)*o),t.rotate(Wi-c),this.drawUpRightCurveArrowPath(t,a,h,o),t.setTransform(1,0,0,1,0,0)},renderGestureEffect:function(t,i,s,e,n,r){switch(i){case ai:this.drawSingleTap(t,s,e,n,this.Motivate,r);break;case hi:this.drawDoubleTap(t,s,e,n,this.Motivate,r);break;case oi:this.drawHold(t,s,e,n,this.Motivate,r);break;case ui:this.drawTwoFingersTap(t,s,e,n,this.Motivate,r);break;case fi:this.drawTwoFingersDoubleTap(t,s,e,n,this.Motivate,r);break;case ci:this.drawSwipeUp(t,s,e,n,this.Motivate,r);break;case di:this.drawSwipeDown(t,s,e,n,this.Motivate,r);break;case vi:this.drawSwipeLeft(t,s,e,n,this.Motivate,r);break;case li:this.drawSwipeRight(t,s,e,n,this.Motivate,r);break;case vi:this.drawSwipeLeft(t,s,e,n,this.Motivate,r);break;case pi:this.drawRotateLeft(t,s,e,n,this.Motivate,r);break;case mi:this.drawRotateRight(t,s,e,n,this.Motivate,r);break;case gi:this.drawPinchIn(t,s,e,n,this.Motivate,r);break;case Mi:this.drawPinchOut(t,s,e,n,this.Motivate,r);break;case bi:this.drawFingers(t,s,e,n,this.Motivate,r)}},renderMouseEffect:function(t,i,s,e,n,r,a){t.clearRect(0,0,2*a+4,2*a+4);var h=n*a;if(t.strokeStyle=r,t.lineWidth=2,t.lineJoin="round",t.lineCap="round",i==wi)t.beginPath(),t.arc(s,e,h,0,2*Math.PI),t.stroke();else if(i==_i)for(;h>0;)t.beginPath(),t.arc(s,e,h,0,2*Math.PI),t.stroke(),h-=9;else i==yi&&t.strokeRect(s-h,e-h,2*h,2*h)}},Un=ie(An,{$init:function(t,s){this.Tf=s;var e=2*s.hl_size,n=2*s.hl_size,r=t.defaultCtrlData();r.i=s.id,r.k=i.j,r.m=s.showMode,r.ti=-1;var a=[];if(t.Qs&&t.Qs.h)for(var h=0;h<t.Qs.h.length;h++){var o=s.pos[h][0]-e/2,u=s.pos[h][1]-n/2,f={};f.r=[o,u,e,n],a.push(f)}r.s=[{w:a}],r.ti=-1,An.prototype.$init.call(this,t,r),this.node.style.zIndex=qt.fs,this.node.style.pointerEvents="none",this.imageNode.style.pointerEvents="none",this.xf=os({},hn,{node:this.imageNode,slide:this.slide})},Cf:function(){var t,i=this.slide,s=this.Tf.cursors;if(s&&s.length){(t=new Vr({startTime:0})).addChild(new zr(this,"display",{startTime:0,duration:0,tweenParams:["none","block"]}));for(var e=0;e<s.length;e++)for(var n=0;n<this.slide.Qs.h.length;n++){var r=0,a=s[e].points[n].length;2==a?r=2:4==a&&(r=1);for(var h=0;h<r;h++)s[e].points[n].push(s[e].points[n][0]),s[e].points[n].push(s[e].points[n][1]);0==e&&s[e].points[n].push(1)}var o=0,u=0,f=0,c=0,l=0,d="";for(e=0;e<s.length;e++){var v=s[e],p=s[e+1],m=v.start,g=v.stop,M=v.move;if(v.img){var b=v.img.w,w=v.img.h,_=this.Tf.hl_size-v.img.hpx,y=this.Tf.hl_size-v.img.hpy,k=this.slide.prez().getResource(v.img.id,v.img.ext);t.addChild(new zr(this.xf,"src",{startTime:o,duration:0,tweenParams:[d,k],tweenType:ti.ys})),t.addChild(new zr(this.xf,"width",{startTime:o,duration:0,tweenParams:[u,b],tweenType:ti.ys})),t.addChild(new zr(this.xf,"height",{startTime:o,duration:0,tweenParams:[f,w],tweenType:ti.ys})),t.addChild(new zr(this.xf,"left",{startTime:o,duration:0,tweenParams:[c,_],tweenType:ti.ys})),t.addChild(new zr(this.xf,"top",{startTime:o,duration:0,tweenParams:[l,y],tweenType:ti.ys})),u=b,f=w,c=_,l=y,d=k}else 0==e&&(t.addChild(new zr(this.xf,"width",{startTime:o,duration:0,tweenParams:[0,0],tweenType:ti.ys})),t.addChild(new zr(this.xf,"height",{startTime:o,duration:0,tweenParams:[0,0],tweenType:ti.ys})));var T=this.slide.prez().layoutIndex;if(void 0!=v.click&&(void 0!==v.sound||v.click_eff)&&function(t,s,e){i.an.addChild(new Zr(function(){var n=i.prez();void 0!==t.sound&&n.he(t.sound,t.sdur,t,!0),t.click_eff&&n.Za(s,e,t.click_eff.r,t.click_eff.type,As(t.click_eff.color),1e3)},{startTime:o+v.click}))}(v,this.Tf.pos[T][0]+v.points[T][0],this.Tf.pos[T][1]+v.points[T][1]),p){var x=[];for(n=0;n<v.points.length;n++){var C=v.points[n],S=p.points[n];x.push([C,S])}t.addChild(new zr(this,"position",{startTime:o+m,duration:M,tweenParams:[x[T]],tweenType:ti.ks,easing:yr.inOutQuad}))}m>=0?o+=m+g+M:o=-1}o>0&&t.addChild(new zr(this,"display",{startTime:o,duration:0,tweenParams:["block","none"]}))}return t}});ln(function(t,i){return new Un(t,i)},i.j);var Bn=ie({$init:function(t){this.we=t,this.we.wn.Ze(this)},js:function(t){},Sf:function(t){},Ef:function(){},Of:function(){},Pf:function(){},nativePlayer:function(){},state:function(){},pause:function(t){},play:function(t){},position:function(){},seek:function(t){},playbackRate:function(t){},volume:function(t){},muted:function(t){},cleanup:function(){this.we.wn.ze(this)},$e:function(){}}),Zn=ie({$init:function(i,s){var e=s.nativePlayer(),n=i.ui;this.If=n,this.ia=s,this.Rf=e,this.we=i,this.Nf="video"==e.nodeName.toLowerCase();var r=n.Af,a=n.ye;this.Df="",this.Nf?this.Df=t('<div class="ap-media-toolbar" media-type="video" tabindex="-1"> \t\t\t\t\t\t<div class="ap-media-play ap-media-btn" \t\t\t\t\t\t\ttitle="'+a.text("Play")+'" aria-label="'+a.text("Play")+'" \t\t\t\t\t\t\trole="button" tabindex="0" style="pointer-events: auto" \t\t\t\t\t\t> \t\t\t\t\t\t\t<div class="ap-media-play-icon">'+r.pause+r.play+'</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="ap-media-toolbar-bottom" style="pointer-events: auto"  tabindex="-1"> \t\t\t\t\t\t\t<div class="ap-media-tool-container" tabindex="-1"> \t\t\t\t\t\t\t\t<div class="ap-media-tool-left"> \t\t\t\t\t\t\t\t\t<div class="ap-media-time-label ap-no-select" role="presentation">0:06 / 0:40</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<div class="ap-media-tool-right" tabindex="-1"> \t\t\t\t\t\t\t\t\t<div class="ap-media-cc-btn ap-media-btn" \t\t\t\t\t\t\t\t\t\ttitle="'+a.text("ClosedCaption")+'" aria-label="'+a.text("ClosedCaption")+'" \t\t\t\t\t\t\t\t\t\trole="button" aria-pressed="false" tabindex="0" \t\t\t\t\t\t\t\t\t>'+r.ccshow+r.cchide+'</div> \t\t\t\t\t\t\t\t\t<div class="ap-media-cc-menu" role="menu" style="display: none"> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t<div class="ap-media-mute ap-media-btn" \t\t\t\t\t\t\t\t\t\ttitle="'+a.text("Mute")+'" aria-label="'+a.text("Mute")+'" \t\t\t\t\t\t\t\t\t\trole="button" aria-pressed="false" tabindex="0" \t\t\t\t\t\t\t\t\t>'+r.sound+r.mute+'</div> \t\t\t\t\t\t\t\t\t<div class="ap-media-fullscreen ap-media-btn" \t\t\t\t\t\t\t\t\t\ttitle="'+a.text("FullScreen")+'" aria-label="'+a.text("FullScreen")+'" \t\t\t\t\t\t\t\t\t\trole="button" aria-pressed="false" data-value="false" tabindex="0" \t\t\t\t\t\t\t\t\t>'+r.fullscreen+r.exitfullscreen+'</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t<div class="ap-media-progressbar" role="slider" tabindex="0" aria-valuemin="0" aria-valuemax="0" aria-valuenow="0"> \t\t\t\t\t\t\t\t<div class="ap-media-progress-background"></div> \t\t\t\t\t\t\t\t<div class="ap-media-play-progress"></div> \t\t\t\t\t\t\t\t<div class="ap-media-progress-grabber"></div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t </div>')[0]:this.Df=t('<div class="ap-media-toolbar" media-type="audio" style="pointer-events: auto" tabindex="-1"> \t\t\t\t\t\t<div class="ap-media-play ap-media-btn" role="button" tabindex="0" title="'+a.text("Play")+'" aria-label="'+a.text("Play")+'">'+r.pause+r.play+'</div> \t\t\t\t\t\t<div class="ap-media-time-label ap-no-select" role="presentation">0:06 / 0:40</div> \t\t\t\t\t\t<div class="ap-media-progressbar" role="slider" tabindex="0" aria-valuemin="0" aria-valuemax="0" aria-valuenow="0"> \t\t\t\t\t\t\t<div class="ap-media-progress-background"></div> \t\t\t\t\t\t\t<div class="ap-media-play-progress"></div> \t\t\t\t\t\t\t<div class="ap-media-progress-grabber"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="ap-media-mute ap-media-btn" role="button" aria-pressed="true" tabindex="0" \t\t\t\t\t\t\ttitle="'+a.text("Mute")+'" aria-label="'+a.text("Mute")+'" \t\t\t\t\t\t>'+r.sound+r.mute+"</div> \t\t\t\t\t </div>")[0],this.Yf=t(".ap-media-toolbar-bottom",this.Df),this.Xf=t(".ap-media-play",this.Df),this.Lf=t(".ap-media-mute",this.Df),this.Ff=t(".ap-media-cc-btn",this.Df),this.Hf=t(".ap-media-cc-menu",this.Df),this.Uf=t(".ap-media-fullscreen",this.Df),this.Bf=t(".ap-media-progressbar",this.Df),this.Zf=t(".ap-media-play-progress",this.Df),this.zf=t(".ap-media-progress-grabber",this.Df),this.Gf=t(".ap-media-time-label",this.Df),this.Nf&&(te.fullscreenEnabled()||te.isElementSupportFullscreen(e))||this.Uf.hide(),this.Vf=!0,this.Wf=!1,this.mute(e.muted),this.pause(e.paused||e.ended),this.$f(),this.updateFullScreenButton(!1,this.shouldDisableFullScreen())},$f:function(){var i=this,s=this.Df,e=this.ia,n=this.Rf,r=this.Lf,a=this.Ff,h=this.Uf,o=this.Bf,u=this.zf,f=this.Xf,c=this.we;this.Nf?(s.onmouseover=function(){i.show(!0,!0)},s.onmousemove=function(){i.show(!0,!0)},s.onmouseleave=function(){i.show(!1)},[f,r,a,h,o].forEach(function(s){s.on("mouseover",function(){i.Wf=!0}).on("mouseleave",function(){i.Wf=!1}).on("focus",function(){i.show(!0,!0),c&&c.highlightFocus()&&t(this).addClass("ap-focused")}).on("blur",function(){t(this).removeClass("ap-focused")})})):[f,r,o].forEach(function(i){i.on("focus",function(){c&&c.highlightFocus()&&t(this).addClass("ap-focused")}).on("blur",function(){t(this).removeClass("ap-focused")})}),n.onpause=function(){i.pause(!0),i.show(!0),i.update()},n.onended=function(){this.paused||this.pause()},n.onplay=function(){i.pause(!1)},f.on("mousedown",function(){n.paused||n.ended?e.play():e.pause()}),a&&a.on("mousedown",function(){e.Kf(),i.showCCMenu()}),n.onvolumechange=function(){i.mute(n.muted)},r.on("mousedown",function(){n.muted=!n.muted}),h.on("click",function(s){"true"!==t(this).attr("aria-disabled")&&i.fullscreen()});var l=function(){return te.fullscreenElement()==s.parentNode||n.webkitDisplayingFullscreen};o.on("mousedown",function(e){var r=l()?1:i.If.ir,a=(e.pageX-this.offsetLeft*r-t(s).offset().left)/(this.offsetWidth*r);n.currentTime=a*n.duration}).on("keydown",function(t){var i=n.currentTime,s=i,e=n.duration,r=e/100,a=e/10;switch(t.which){case Me.DOWN:case Me.LEFT:s=qi(i-r,0);break;case Me.UP:case Me.RIGHT:s=Qi(i+r,e);break;case Me.PAGEDOWN:s=qi(i-a,0);break;case Me.PAGEUP:s=Qi(i+a,e);break;case Me.HOME:s=0;break;case Me.END:s=e}s!==i&&(n.currentTime=s)}),u.css("touchAction","none").draggable({containment:o,axis:"x",start:function(){i.jf=!0},drag:function(e,r){var a=r.position.left,h=this.offsetWidth/2,u=l()?1:i.If.ir,f=e.pageX-o.position().left-t(s).offset().left-h*u-r.originalPosition.left*u;a=r.originalPosition.left+f/u,a=Math.max(Math.min(a,o[0].offsetWidth-h),-h),r.position.left=a;var c=(a+h)/o[0].offsetWidth;n.currentTime=c*n.duration,i.update()},stop:function(){i.jf=!1;var t=l()?1:i.If.ir,s=(this.offsetLeft+6*t)/o[0].offsetWidth;n.currentTime=s*n.duration}}),s.onkeydown=function(i){if(32==i.which||13==i.which){var s=t(i.target);"button"==s.attr("role")&&(i.stopPropagation(),s.trigger("click",[i.which]),s.trigger("mousedown",[i.which]))}}},getNode:function(){return this.Df},update:function(){var t=this.Bf,i=this.Zf,s=this.zf,e=this.Gf,n=this.Rf,r=t[0].offsetWidth,a=isNaN(n.duration)?0:n.currentTime/n.duration;i.css({transform:"scaleX("+a+")"}),this.jf||s.css({left:a*r-6+"px"}),e[0].innerHTML=AtomiAP.formatMSString(1e3*n.currentTime)+" / "+AtomiAP.formatMSString(isNaN(n.duration)?0:1e3*n.duration),t.attr("aria-valuenow",n.currentTime),isNaN(n.duration)||t.attr("aria-valuemax")===n.duration+""||t.attr("aria-valuemax",n.duration),this.Vf&&this.Nf&&(n.paused||this.Wf?n.currentTime>0&&this.show(!0,!0):((void 0===this.Qf||this.Qf>n.currentTime)&&(this.Qf=n.currentTime),n.currentTime-this.Qf>2&&this.show(!1)))},pause:function(t){var i=this.Xf,s=i.attr("data-value");(s=s?"false"===s:void 0)!==t&&i.attr("data-value",!t);var e=this.If.ye,n=t?e.text("Play"):e.text("Pause");i.attr("title",n),i.attr("aria-label",n)},show:function(t,i){t!==this.Vf?this.Yf&&(t||this.Rf.paused||this.Wf||this.isCCMenuShown()?(this.Yf.stop().fadeTo(0,1),this.Xf.stop().fadeTo(0,.8),this.Vf=!0):(this.Yf.fadeTo(500,0),this.Xf.fadeTo(500,0),this.Vf=!1,this.Qf=void 0),this.qf&&this.qf(this.Vf)):i&&this.Xf.stop().fadeTo(0,.8)},mute:function(t){var i=this.Lf;i.attr("aria-pressed",t).attr("data-value",t);var s=this.If.ye,e=t?s.text("Unmute"):s.text("Mute");i.attr("title",e).attr("aria-label",e)},showCC:function(t){var i=this.Ff;if(i.attr("aria-pressed",t).attr("data-value",t),!this.Jf){var s=this.If.ye,e=t?s.text("HideCC"):s.text("ShowCC");i.attr("title",e).attr("aria-label",e)}},disableCC:function(){var t=this.Ff;t&&t.hide()},createCCMenu:function(i){if(!(i.length<=1)&&(this.Jf=!0,!(t(".ap-media-menu-item",this.Hf).length>0)))for(var s,e,n=this.ia,r=this,a=this.Hf[0],h=this.Ff,o=-1,u=i.length;o<u;++o)s=i[o],(e=t(-1===o?'\t\t\t\t\t\t<div class="ap-media-menu-item" tabindex="0" role="menuitemradio">'+this.If.ye.text("HideCC")+"</div>\t\t\t\t\t":'\t\t\t\t\t\t<div class="ap-media-menu-item" tabindex="0" role="menuitemradio" lang='+s.c+">"+s.n+"</div>\t\t\t\t\t"))[0].qe=o,e.on("mousedown",function(){-1===this.qe&&n.tc(!1),n.Kf(this.getAttribute("lang")),r.showCCMenu(!1)}).on("keydown",function(i){i.which==Me.ENTER||i.which==Me.SPACE?(i.stopPropagation(),t(i.target).trigger("mousedown",[i.which])):i.which==Me.TAB&&(!i.shiftKey&&this.qe===u-1||i.shiftKey&&-1===this.qe)&&(h.focus(),r.showCCMenu(!1),i.stopPropagation(),i.preventDefault())}),a.appendChild(e[0])},showCCMenu:function(i){if(this.Jf){for(var s,e=t(".ap-media-menu-item",this.Hf),n=0,r=e.length,a=this.ia;n<r;++n)s=e[n],!a.ic&&0==n||a.ic&&a.sc&&s.getAttribute("lang")===a.sc?s.setAttribute("aria-checked","true"):s.setAttribute("aria-checked","false");arguments.length<=0?this.Hf.toggle():i?this.Hf.show():this.Hf.hide(),r>0&&(this.isCCMenuShown()?e[0].focus():this.Ff.focus())}},isCCMenuShown:function(){return this.Hf&&"none"!==this.Hf[0].style.display},fullscreen:function(){te.fullscreenEnabled()?te.fullscreenElement()==this.Df.parentNode?(te.exitFullscreen(),Se.browser.ie&&this.updateFullScreenButton(!1)):te.requestFullscreen(this.Df.parentNode):te.isElementSupportFullscreen(this.Rf)&&te.requestFullscreen(this.Rf)},exitFullScreen:function(){te.fullscreenEnabled()&&te.fullscreenElement()==this.Df.parentNode&&(te.exitFullscreen(),Se.browser.ie&&this.updateFullScreenButton(!1))},onFullScreenChange:function(){var t=te.fullscreenElement()===this.Df.parentNode||this.Rf.webkitDisplayingFullscreen;this.updateFullScreenButton(t,this.shouldDisableFullScreen())},updateFullScreenButton:function(t,i){var s=this.Uf;s.attr("aria-pressed",t).attr("data-value",t);var e=this.If.ye,n=t?e.text("ExitFullScreen"):e.text("FullScreen");s.attr("title",n).attr("aria-label",n),arguments.length>1&&s.attr("aria-disabled",i)},shouldDisableFullScreen:function(){return Se.browser.safari&&!!te.fullscreenElement()&&te.fullscreenElement()!==this.Df.parentNode&&!this.Rf.webkitDisplayingFullscreen},resize:function(){var t=this.Df,i=this.Bf,s=this.zf,e=this.Rf,n=isNaN(e.duration)?0:e.currentTime/e.duration;this.jf||s.css({left:n*i[0].offsetWidth-6+"px"}),t.offsetWidth<200?t.setAttribute("size",200):t.removeAttribute("size")},tabIndex:function(i){if(!isNaN(i)){var s,e=[this.Xf,this.Ff,this.Lf,this.Uf,this.Bf];if(this.Jf){var n=t(".ap-media-menu-item",this.Hf);n.length>0&&(e=e.concat(n))}for(var r=0,a=e.length;r<a;++r)(s=e[r])&&(-2==i?s.attr("tabIndex",-1):-1==i?s.removeAttr("tabIndex"):s.attr("tabIndex",i))}}}),zn=["error","ended","loadstart","durationchange","loadedmetadata","loadeddata","canplay","waiting","playing","canplaythrough","stalled","emptied","suspend"],Gn=ie(Bn,{$init:function(t,i,s){for(this.Nf=i,this.ec=i?t.wn.Re.pop():t.wn.Ie.pop();this.ec.attributes.length>0;)this.ec.removeAttribute(this.ec.attributes[0].name);Bn.prototype.$init.call(this,t),this.We="",this.nc=0,this.rc=void 0,this.ac="stopped",this.hc=!1,this.oc=!1,this.uc=!1,this.fc=[],this.lc=[],this.dc=[],this.vc=!1,this.pc=!1,this.mc=!1,this.gc=!1,this.Mc=!0,this.bc=void 0,this.wc=!1,s&&s.cas&&i&&(this.createCCNode(),this.addCC(s.cas,s.cass)),this._c()},Or:function(t){this.gc!=t&&(this.gc=t,t||this.rc&&prez.In())},createToolbar:function(){if(!this.ec)return null;this.yc=new Zn(this.we,this);var i=this.yc.getNode();return this.Nf&&(this.kc=t(".ap-media-cc-btn",i)),i},getToolbar:function(){return this.yc},createCCNode:function(){return this.Tc=t(' \t\t\t\t<div class="ap-media-cc-container"> \t\t\t\t\t<span class="ap-media-cc"></span> \t\t\t\t</div> \t\t\t'),this.xc=t(".ap-media-cc",this.Tc[0]),this.Tc[0]},getCCNodeContainer:function(){return this.Tc?this.Tc[0]:null},addCC:function(t,i){if(this.Nf){if(t.length<=0)return this.Tc.hide(),void(this.kc&&this.kc.hide());if(i){var s=this.xc[0].style,e=i.c,n=i.b,r="font-family:'"+i.n+"';";r+="font-size:"+i.s+"px;",r+="color:"+As(e)+";",s.cssText=r,s.backgroundColor=As(n),this.tc(!!i.de)}for(var a,h,o,u,f=this.ec,c=f.getElementsByTagName("track");c[0];)c[0].remove();for(h=0,o=t.length;h<o;++h)u=t[h],(a=ls.createElement("track")).label=u.n,a.kind="captions",a.srclang=u.c,a.src=this.we.getResource(u.res+".vtt"),f.appendChild(a),u.de&&i.de&&(this.sc=u.c);this.sc||(this.sc=t[0].c);var l=f.textTracks;for(h=0,o=l.length;h<o;++h)l[h].mode="hidden"}},updateCCOnToolbar:function(t,i){var s=this.yc;if(t){var e=this.xc;s&&(e.attr("toolbar-show",s.Vf?"true":"false"),s.qf=function(t){e.attr("toolbar-show",t?"true":"false")},s.createCCMenu(t)),this.tc(!!i.de)}else s&&s.disableCC()},Cc:function(t){var i=t.activeCues,s=this.xc;s.attr("srclang",t.language),i&&i.length>0?(s.html(i[0].text),s.show()):s.hide()},Kf:function(t,i){var s=this.ec,e=s.getElementsByTagName("track");if(typeof t===zi&&t){this.sc=t;var n,r,a,h=s.textTracks;for(r=0,a=h.length;r<a;++r)if((n=h[r]).language===t){this.Cc(n);break}this.tc(!0),this.onCCChanged&&!i&&this.onCCChanged(t)}else 1===e.length?(this.tc(i?t:!this.ic),this.onCCChanged&&!i&&this.onCCChanged(this.ic)):i&&this.tc(t)},tc:function(t){this.ic=!!t,t?this.Tc.show():this.Tc.hide(),this.yc&&this.yc.showCC(!!t)},Fa:function(t,i){this.ec&&(this.ec.addEventListener(t,i),this.lc.push([t,i]))},La:function(t,i){if(this.ec){this.ec.removeEventListener(t,i);var s,e,n=this.lc;for(s=0,e=n.length;s<e;++s)if(n[s][0]==t&&n[s][1]==i){n.splice(s,1);break}}},_c:function(){if(this.ec){var t,i,s=this.fc,e=this;for(t=0,i=zn.length;t<i;++t){var n=function(t){e.Sc(t)};s.push(n),this.ec.addEventListener(zn[t],n)}var r=this;this.Ec=function(){r.Oc()},this.ec.addEventListener("timeupdate",this.Ec);var a,h=this.ec.getElementsByTagName("track");for(t=0,i=h.length;t<i;++t)if(a=h[t].track){var o=function(){this.language===r.sc&&r.Cc(this)};this.dc.push(o),a.addEventListener("cuechange",o)}}},Pc:function(){if(this.ec){var t,i,s=this.fc,e=this.lc;for(t=0,i=zn.length;t<i;++t)this.ec.removeEventListener(zn[t],s[t]);for(s=[],this.ec.removeEventListener("timeupdate",this.Ec),delete this.Ec,t=0,i=e.length;t<i;++t)this.ec.removeEventListener(e[t][0],e[t][1]);e=[];var n,r=this.ec.getElementsByTagName("track");for(t=0,i=r.length;t<i;++t)(n=r[t].track)&&n.removeEventListener("cuechange",this.dc[t])}},synchronizeWithPrez:function(t){if(!arguments.length)return this.oc;this.oc=t},backgroundAudio:function(t){if(!arguments.length)return this.uc;this.uc=t},Ic:function(t){var i=this.we,s=this.rc;t!=this.rc&&(this.rc=t,this.gc||(t?i.In():void 0!==s&&i.Rn()))},Sc:function(t){var i=this.ec?this.ec.readyState:-1,s=t.type;if(ws("MediaPlayer::_onPlayerEvent:"+this.We+"|event: "+s+" | state: "+i),"loadeddata"==t.type){var e=this.we.wn;this.volume(e.volume()*(this.Ve>=0?1:e.audioDuckingVolumeScale())),this.muted(e.muted()),this.playbackRate(e.playbackRate()),void 0!==this.bc&&this.Sf(this.bc||0)}if(this.wc||"canplay"!=s&&"canplaythrough"!=s&&"error"!=s&&"ended"!=s&&"playing"!=s||(this.wc=!0),!this.vc&&this.ec){if("error"==s)return this.vc=!0,void(this.oc&&this.Ic(!1));if("ended"==s)return this.pc=!0,void(this.oc&&this.Ic(!1));if(this.oc)switch(i){case 0:case 1:case 2:this.Ic(!0);break;case 3:this.Ic(!(!Se.browser.ie&&!Se.browser.safari&&this.wc));break;case 4:this.Ic(!this.wc);break;default:this.Ic(!0)}}},Oc:function(t){this.yc&&this.yc.update()},Rc:function(){return this.ec},Er:function(t){this.We=t},Jr:function(t){this.nc=(0|t)/1e3},Nc:function(){return this.nc},Ac:function(){return this.Xa},loadResource:function(t){if(this.ec){void 0===t&&(t=-1),this.pc=!0,this.Ic(!1),this.vc=!1,this.pc=!1,this.Mc=!0,this.bc=void 0,this.wc=!1;try{this.Xa=t,this.ec.src=-1!=t?this.we.getResource(t+"."+(this.Nf?Fe.te:Fe.se)):"",this.ec.load()}catch(t){ws("MediaPlayer::loadResource:"+this.We+"|exception: "+t.toString())}}},js:function(t){if(!arguments.length)return this.ac;if(this.ac=t,this.ec){try{if(ws("MediaPlayer::state |"+this.We+"|"+t),"stopped"==t)this.ec.pause();else if(!this.hc&&!this.Dc){var i=this.ec.play();if(void 0!==i){var s=this;i.catch(function(t){ws("MediaPlayer::state|play error: "+t),"NotAllowedError"==t.name&&(s.mc=!0)})}this.pc=!1}}catch(t){ws("MediaPlayer::state Set Exception | "+this.We+"|"+t.toString())}this.we.wn.Ge()}},Sf:function(t){if(arguments.length){if(!this.Mc||!this.ec)return;var i=this.ec.readyState,s=t*this.nc;if(0==i)return ws("MediaPlayer::_ts Media Not Ready | "+this.We+"|"+s+"| set failed"),void(this.bc=t);this.Mc=!1,this.bc=void 0;try{ws("MediaPlayer::_ts |"+this.We+"|"+s+"| set");var e=this.ec.currentTime;e<.2&&s-e>=0&&s-e<.2?ws("MediaPlayer::_ts |"+this.We+"|"+s+"| difference too small"):this.ec.currentTime=s}catch(t){ws("MediaPlayer::_ts Set Exception | "+this.We+"|"+t.toString())}}else try{return 0!=this.nc&&this.ec?this.ec.currentTime/this.nc:0}catch(t){return ws("MediaPlayer::_ts Get Exception | "+this.We+"|"+t.toString()),0}},Ef:function(){this.Mc=!0},Yc:function(t){if(ws("MediaPlayer::_onParentPause from "+(t?"timeline":"prez")+" | "+this.We),!this.hc&&!this.Dc&&(this.hc=t,this.Dc=!t,this.ec&&!this.pc))try{this.ec.pause()}catch(i){ws("MediaPlayer::_onParentPause from "+(t?"timeline":"prez")+" Exception | "+this.We+"|"+i.toString())}},Xc:function(t){if(ws("MediaPlayer::_onParentPlay from "+(t?"timeline":"prez")+" | "+this.We),t){if(!this.hc)return;this.hc=!1}else{if(!this.Dc)return;this.Dc=!1}if(this.ec&&!this.pc&&"stopped"!=this.ac)try{var i=this.ec.play();if(void 0!==i){var s=this;i.catch(function(i){ws("MediaPlayer::_onParentPlay from "+(t?"timeline":"prez")+" PException | "+s.We+"|"+i),"NotAllowedError"==i.name&&(s.mc=!0)})}}catch(i){ws("MediaPlayer::_onParentPlay from "+(t?"timeline":"prez")+" Exception | "+this.We+"|"+i.toString())}},Of:function(){this.Xc(!0)},Pf:function(){this.Yc(!0)},Ke:function(t){t?this.Yc(!1):this.Xc(!1)},nativePlayer:function(){return this.ec},state:function(){return this.js()},pause:function(t){this.js("stopped"),void 0!==t&&this.seek(t)},play:function(t){void 0!==t&&this.seek(t),this.js("playing")},position:function(){return this.Sf()*(1e3*this.nc)},seek:function(t){t|=0,t=this.nc>0?t/(1e3*this.nc):0,this.Ef(),this.Sf(t)},playbackRate:function(t){if(!arguments.length)return this.ec?this.ec.playbackRate:1;try{this.ec&&(this.ec.playbackRate=t,this.ec.defaultPlaybackRate=t)}catch(t){ws("MediaPlayer::playbackRate Exception | "+this.We+"|"+t.toString())}return this},volume:function(t){if(!arguments.length)return this.ec?this.ec.volume:1;try{t<0&&(t=0),t>1&&(t=1),this.ec&&(this.ec.volume=t,ws("MediaPlayer::volume | "+this.We+"| set: "+t+"| get: "+this.ec.volume))}catch(t){ws("MediaPlayer::volume Exception | "+this.We+"|"+t.toString())}return this},muted:function(t){if(!arguments.length)return!this.ec||this.ec.muted;try{this.ec&&(this.ec.muted=t,ws("MediaPlayer::muted | "+this.We+"| set: "+t+"| get: "+this.ec.muted))}catch(t){ws("MediaPlayer::muted Exception | "+this.We+"|"+t.toString())}return this},cleanup:function(){Bn.prototype.cleanup.call(this);var t=this.ec;if(t){this.pc=!0,this.Ic(!1),this.Pc(),this.ec=null;try{t.paused||t.pause()}catch(t){ws("MediaPlayer::cleanup Exception | "+this.We+"|"+t.toString())}this.Nf?this.we.wn.Re.unshift(t):this.we.wn.Ie.unshift(t)}},$e:function(){if(this.mc){if(this.mc=!1,this.uc||(this.Mc=!0),this.hc)return;if("stopped"==this.ac)return;if(this.pc||!this.ec)return;try{var t=this.ec.play();void 0!==t&&t.catch(function(t){ws("MediaPlayer::_updateUnmute|play error: "+t)})}catch(t){ws("MediaPlayer::_updateUnmute Exception | "+this.We+"|"+t.toString())}}},Lc:function(){if(!this.pc&&this.ec&&!this.ec.paused){this.ec.pause(),this.pc=!0;var t,i,s=this.lc;for(t=0,i=s.length;t<i;++t)"ended"==s[t][0]&&s[t][1].call()}}}),Vn=ie(fn,{createMedia:function(i,s){var r=this,a=this.Qs,h=!0,f=i;if(s){var c=(f=ls.createElement("div")).style;c.position="absolute",c.left=0,c.top=0,c.width="100%",c.height="100%",i.appendChild(f),this.Fc=f}this.ia=this.slide.we.Pr({ctrl:a}),this.ia||(h=!1,this.ia=new Gn(this.slide.we,s,a));var l=this.ia,d=l.Rc(),v=d.style;if(f.appendChild(d),l.Ve=a.audio_ducking,this.ec=d,v.position="absolute",v.left="0px",v.top="0px",v.width="100%",v.height="100%",v.pointerEvents="auto",a.f&e&&d.setAttribute("loop",""),s&&a.f&o&&void 0!==a.mi){var p,m=ls.createElement("img"),g=m.style;p=this.slide.we.getImgResource(this.slide.Qs.i+"."+a.i),p+=a.g?".png":".jpg",m.src=p,g.position="absolute",g.left="0px",g.top="0px",g.width="100%",g.height="100%",g.pointerEvents="auto",this.Hc?v.objectFit=this.Hc:v.objectFit="contain",this.Uc&&(v.objectPosition=this.Uc),f.appendChild(m),this.Bc=m,this.Zc(!0)}if(l.Er(a.n),l.Jr(a.md),l.synchronizeWithPrez(a.f&o),s?(d.setAttribute("playsinline",""),d.setAttribute("disablePictureInPicture","")):l.backgroundAudio(a.f&n),l.getCCNodeContainer()&&i.appendChild(l.getCCNodeContainer()),h||l.loadResource(a.mi),this.Fo(),s){if(a.g){var M=ls.createElement("canvas"),b=M.style;f.appendChild(M),this.zc=M,Rs(M,{width:a.v_w,height:a.v_h}),b.position="absolute",b.top="0px",b.left="0px",b.width="100%",b.height="100%",b.pointerEvents="auto",v.width="1px",v.height="1px",v[zs]="",v[Bs]="",this.Gc=function(){r.Vc(!0)},this.Wc=function(){r.Vc(!1)},d.addEventListener("play",this.Gc),d.addEventListener("pause",this.Wc),d.addEventListener("ended",this.Wc)}this.$c=function(){var i=te.fullscreenElement(),s=t(r.node);i==r.node?s.hasClass("ap-fullscreen")||(s.addClass("ap-fullscreen"),r.Lr()):s.hasClass("ap-fullscreen")&&(s.removeClass("ap-fullscreen"),r.Lr()),l.yc&&l.yc.onFullScreenChange()},te.addEventListener("fullscreenchange",this.$c,!1),this.on("ap-ended",function(){l.yc&&l.yc.exitFullScreen()})}if(a.f&u){var w=l.createToolbar();if(w){i.appendChild(w),l.updateCCOnToolbar(a.cas,a.cass);var _=this.savedData();_&&void 0!==_.mdcc&&l.Kf(_.mdcc,!0),l.onCCChanged=function(t){var i=r.savedData(!0);i&&(i.mdcc=t)}}t(w).on("mousedown mouseup",function(t){r.filterEvent(t)||r.Us(t)})}},html:On,player:function(){return this.ia},zh:function(t){fn.prototype.zh.call(this,t),this.ia.yc&&this.ia.yc.tabIndex(t)}}),Wn=ie(Vn,{createNode:function(){var t=fn.prototype.createNode.call(this);return this.createMedia(t,!1),t},onResized:function(t,i){fn.prototype.onResized.call(this,t,i),this.ia&&this.ia.yc&&this.ia.yc.resize()}});ln(function(t,i){return new Wn(t,i)},i._);var $n=!1,Kn=ie(Vn,{Vc:function(t){if(ws("Update green screen: "+t),t){if(!this.Kc){var i=this;this.Kc=setInterval(function(){i.jc()},100)}}else this.Kc&&(clearInterval(this.Kc),delete this.Kc)},Zc:function(t){var i,s=this.ia,e=this.Bc;if(s&&e&&(i=s.Rc()))if(t){if(e.style.display="block",!this.Qc){var n=this;this.Qc=function(){n.Zc(!1)},i.addEventListener("timeupdate",this.Qc)}}else e.style.display="none",this.Qc&&(i.removeEventListener("timeupdate",this.Qc),delete this.Qc)},createNode:function(){var t=fn.prototype.createNode.call(this);return this.createMedia(t,!0),t},ah:function(){var t,i,s,e,n,r=this.shape,a=this.Fc.style;if(r&&r.Ks){var h=(n=r.hf()).fillPaths&&n.fillPaths.length>0,o=n.multiplePaths&&n.fillPaths&&n.fillPaths.length>0;if(h||o){var u="",f=[],c=n.fillPaths;(i=ls.createElementNS(Gi,"svg")).style.visibility="hidden",this.node.appendChild(i);for(var l=0;l<c.length;l++){var d=c[l].path;u+=d+" ",(s=ls.createElementNS(Gi,"path")).setAttribute("d",d),i.appendChild(s);var v=vr(s);f.push(v),i.removeChild(s)}this.node.removeChild(i),e=this.uf(f),t=u.trim()}else t=n.fill||"",(s=ls.createElementNS(Gi,"path")).setAttribute("d",t),(i=ls.createElementNS(Gi,"svg")).appendChild(s),i.style.visibility="hidden",this.node.appendChild(i),e=vr(s),this.node.removeChild(i);if(a.clipPath='path("'+t+'")',a.left=e.x+"px",a.top=e.y+"px",a.width=e.width+"px",a.height=e.height+"px",this.shape&&this.shape.ff&&this.Bh&&e.height>this.Bh&&(a.top=-e.y+this.Bh-e.height+"px"),this.shape&&this.shape.cf&&this.Uh&&e.width>this.Uh&&(a.left=-e.x+this.Uh-e.width+"px"),0!=e.x||0!=e.y){var p=Se.SHAPE_DEFS[r.Ks],m=r.container.clientWidth,g=r.container.clientHeight,M=new cr;if(p&&p[0]){var b=p[0].apply(M,[-e.x,-e.y,m,g].concat(r.mu));if(b&&b.fillPaths&&b.fillPaths.length){for(var w="",_=0;_<b.fillPaths.length;_++)w+=b.fillPaths[_].path+" ";a.clipPath='path("'+w.trim()+'")'}else if(b&&b.multiplePaths&&b.fillPaths){for(w="",_=0;_<b.fillPaths.length;_++)w+=b.fillPaths[_].path+" ";a.clipPath='path("'+w.trim()+'")'}else a.clipPath='path("'+M.path()+'")'}}}else r&&(a.clipPath="")},uf:function(t){if(!t||0===t.length)return{x:0,y:0,width:0,height:0};for(var i=t[0].x,s=t[0].y,e=t[0].x+t[0].width,n=t[0].y+t[0].height,r=1;r<t.length;r++){var a=t[r];i=Math.min(i,a.x),s=Math.min(s,a.y),e=Math.max(e,a.x+a.width),n=Math.max(n,a.y+a.height)}return{x:i,y:s,width:e-i,height:n-s}},onResized:function(t,i){fn.prototype.onResized.call(this,t,i),this.qc(),this.ah()},qc:function(){if(!this.Qs.g&&this.ia){var t=this.shape,i=this.node.offsetWidth,s=this.node.offsetHeight,e=this.Qs.v_w,n=this.Qs.v_h,r=this.ia.Rc(),a=this.ia.getToolbar(),h=r.style,o=te.fullscreenElement()==this.node,u=this.Hc,f=this.Uc;i<=0||s<=0||e<=0||n<=0||(u?h.objectFit=u:$i(e/n-i/s)>.01&&!o||t&&(t.Jc||t.Ks)?h.objectFit="fill":(h.objectFit="contain",h.width="100%",h.height="100%",Se.browser.chromiums?(h[zs]="0% 0%",h[Bs]="scaleX(1) scaleY(1)"):(h[zs]="",h[Bs]="")),f&&(h.objectPosition=f),a&&a.resize())}},cleanup:function(){if(this.Zc(!1),te.removeEventListener("fullscreenchange",this.$c,!1),this.Qs.g&&this.ia){var t=this.ia.Rc();t&&(t.removeEventListener("play",this.Gc),t.removeEventListener("pause",this.Wc),t.removeEventListener("ended",this.Wc)),this.Vc(!1)}return fn.prototype.cleanup.call(this)},jc:function(){var t,i,s,e,n,r,a,h,o,u,f,c,l,d=this.Qs.g,v=this.zc;if(d&&this.ia&&(t=v.getContext("2d"))){h=((r=d[0])>>16&255)-(a=255*d[1]/100),o=(r>>16&255)+a,u=(r>>8&255)-a,f=(r>>8&255)+a,c=(255&r)-a,l=(255&r)+a,t.drawImage(this.ia.Rc(),0,0,v.width,v.height);try{for(s=(i=t.getImageData(0,0,v.width,v.height)).data,e=0,n=s.length;e<n;e+=4)s[e]>h&&s[e]<o&&s[e+1]>u&&s[e+1]<f&&s[e+2]>c&&s[e+2]<l&&(s[e+3]=0);t.putImageData(i,0,0)}catch(t){$n||($n=!0,"file:"==window.location.protocol&&alert(this.prez().ui.ye.text("GreenScreenError")))}}},flip:function(t,i){return Ns(this.Fc,t,i),fn.prototype.flip.call(this,t,i)},mediaFit:function(t){if(!arguments.length){if(void 0!==this.Hc)return this.Hc;if(this.ia){var i=this.ia.Rc();return getComputedStyle(i).objectFit}return null}(this.Hc=t,this.ia)&&((i=this.ia.Rc()).style.objectFit=t,this.Bc&&(this.Bc.style.objectFit=t));return this},mediaPosition:function(t){if(!arguments.length){if(void 0!==this.Uc)return this.Uc;if(this.ia){var i=this.ia.Rc();return getComputedStyle(i).objectPosition}return null}(this.Uc=t,this.ia)&&((i=this.ia.Rc()).style.objectPosition=t,this.Bc&&(this.Bc.style.objectPosition=t));return this}});ln(function(t,i){return new Kn(t,i)},i.T);var jn=ie({$init:function(t){this.ia=new Gn(t,!0),this.ia.Rc().setAttribute("playsinline",""),this.ia.synchronizeWithPrez(!0),this.ia.muted=function(t){var i=Gn.prototype.muted;return arguments.length?((t||!t&&this.we.sidebarVisible())&&i.call(this,t),this):i.call(this)},this.node=null,this.il=0},appendTo:function(t){this.node=t,this.node.appendChild(this.ia.Rc()),this.node.style.display="none"},cleanup:function(){this.ia&&(this.ia.cleanup(),this.ia=null,this.node&&(this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.node=null))},muted:function(t){if(!arguments.length)return this.ia.muted();this.ia.muted(t)},flip:function(t,i){Ns(this.node,t,i)},aspectRatio:function(t){if(!arguments.length)return this.il;this.il=t},Lr:function(){}}),Qn=-1,qn=0,Jn=1,tr=2,ir=3,sr=5,er=ie(Bn,{$init:function(t,i,s){Bn.prototype.$init.call(this,t),this.ja=i,this.We="",this.nc=3600,this.rc=void 0,this.ac="stopped",this.hc=!1,this.vc=!1,this.pc=!1,this.Mc=!0,this.el=!1,this.nl=void 0;var e,n=i.rl,r={rel:0,showinfo:0,autoplay:0,playsinline:1},a=this;this.al=s.auto_play,!0===s.play_range?(this.hl=(s.start_time||0)/1e3,this.ol=(s.stop_time||0)/1e3):(this.hl=0,this.ol=0),r.controls=s.hide_controls?0:1,r.iv_load_policy=s.hide_annotations?3:1,r.start=this.hl,r.autoplay=this.al?1:0,this.ol>0&&(r.end=this.ol),e=new YT.Player(n,{height:"100%",width:"100%",videoId:s.youtube_id,playerVars:r,events:{onReady:function(){a.ul()},onStateChange:function(){a.fl()},onError:function(){a.cl()}}}),this.dl=e},Er:function(t){this.We=t},pl:function(t){switch(t){case Qn:return"unstarted";case qn:return"ended";case Jn:return"playing";case tr:return"paused";case ir:return"buffering";case sr:return"videocued";default:return"invalid"}},Ic:function(t){var i=this.we,s=this.rc;if(t!=this.rc)if(this.rc=t,t)i.In();else if(void 0!==s&&(i.Rn(),this.ml)){delete this.ml;try{this.dl.pauseVideo()}catch(t){ws("YouTubeMediaPlayer::_updateBufferingState pauseVideo Exception | "+this.We+"|"+t.toString())}}},js:function(t){if(!arguments.length)return this.ac;if(this.ac=t,this.el)try{ws("YouTubeMediaPlayer::state |"+this.We+"|"+t),"stopped"==t?this.dl.pauseVideo():this.hc||this.Dc||(delete this.ml,this.dl.playVideo(),this.pc=!1)}catch(t){ws("YouTubeMediaPlayer::state Set Exception | "+this.We+"|"+t.toString())}},Sf:function(t){var i=this.dl;if(arguments.length){if(!this.el)return;if(!this.Mc)return;var s,e;this.Mc=!1,s=t*this.nc+this.hl;try{(e=i.getCurrentTime())-s>-1&&e-s<1?ws("YouTubeMediaPlayer::_ts |"+this.We+"|"+e+"| too small difference"):(ws("YouTubeMediaPlayer::_ts |"+this.We+"|"+s+"| set"),s>=(this.ol>0?this.ol:i.getDuration())-1?(ws("YouTubeMediaPlayer::_ts seek ts is larger than duration | "+this.We+"|"+s),i.stopVideo(),this.pc=!0,this.Ic(!1)):i.seekTo(s,!0))}catch(t){ws("YouTubeMediaPlayer::_ts Set Exception | "+this.We+"|"+t.toString())}}else try{return 0==this.nc?0:this.el?(i.getCurrentTime()-this.hl)/this.nc:0}catch(t){return ws("YouTubeMediaPlayer::_ts Get Exception | "+this.We+"|"+t.toString()),0}},Ef:function(){this.Mc=!0},Yc:function(t){if(ws("YouTubeMediaPlayer::_onParentPause from "+(t?"timeline":"prez")+" | "+this.We),!this.hc&&!this.Dc&&(this.hc=t,this.Dc=!t,this.dl&&this.el&&!this.pc))if("stopped"==this.ac&&this.dl.getPlayerState()==Jn&&(this.ac="playing"),this.rc)this.ml=!0;else try{this.dl.pauseVideo()}catch(i){ws("YouTubeMediaPlayer::_onParentPause from "+(t?"timeline":"prez")+" Exception | "+this.We+"|"+i.toString())}},Xc:function(t){if(ws("YouTubeMediaPlayer::_onParentPlay from "+(t?"timeline":"prez")+" | "+this.We),t){if(!this.hc)return;this.hc=!1}else{if(!this.Dc)return;this.Dc=!1}if(this.dl&&this.el&&!this.pc&&"stopped"!=this.ac)try{delete this.ml,this.dl.playVideo()}catch(i){ws("YouTubeMediaPlayer::_onParentPlay from "+(t?"timeline":"prez")+" Exception | "+this.We+"|"+i.toString())}},Of:function(){this.Xc(!0)},Pf:function(){this.Yc(!0)},Ke:function(t){t?this.Yc(!1):this.Xc(!1)},nativePlayer:function(){return this.dl},state:function(){return this.js()},pause:function(t){this.js("stopped"),void 0!==t&&this.seek(t)},play:function(t){void 0!==t&&this.seek(t),this.js("playing")},position:function(){return this.Sf()*(1e3*this.nc)},seek:function(t){t|=0,t=this.nc>0?t/(1e3*this.nc):0,this.Ef(),this.Sf(t)},playbackRate:function(t){if(!arguments.length)return this.el?this.dl.getPlaybackRate():1;try{if(!this.el)return;this.dl.setPlaybackRate(t)}catch(t){ws("YouTubeMediaPlayer::playbackRate Exception | "+this.We+"|"+t.toString())}return this},volume:function(t){if(!arguments.length)return this.el?this.dl.getVolume()/100:1;try{if(!this.el)return;t<0&&(t=0),t>1&&(t=1),this.dl.setVolume(100*t)}catch(t){ws("YouTubeMediaPlayer::volume Exception | "+this.We+"|"+t.toString())}return this},muted:function(t){if(!arguments.length)return!!this.el&&this.dl.isMuted();try{if(!this.el)return;t?this.dl.mute():this.dl.unMute()}catch(t){ws("YouTubeMediaPlayer::muted Exception | "+this.We+"|"+t.toString())}return this},ul:function(){if(ws("YouTubeMediaPlayer::_onPlayerReady | "+this.We),this.el)ws("YouTubeMediaPlayer::_onPlayerReady repeated state| "+this.We);else{this.el=!0;var t=this.we.wn;this.volume(t.volume()),this.muted(t.muted()),this.playbackRate(t.playbackRate()),"playing"!=this.ac||this.hc||this.Dc?this.dl.pauseVideo():(this.ml,this.dl.playVideo())}},fl:function(){if(!this.vc&&this.dl){var i=this.dl.getPlayerState(),s=this.ja;if(ws("YouTubeMediaPlayer::_onPlayerStateChanged | "+this.We+"|"+this.pl(i)),this.al)switch(i){case Qn:case sr:this.Ic(!1);break;case qn:this.pc=!0,this.Ic(!1);break;case Jn:case tr:this.Ic(!1);break;case ir:this.pc?this.Ic(!1):this.Ic(!0)}switch(i){case qn:this.pc=!0,t(s).triggerHandler(t.Event("ap-ended"),{});break;case Jn:t(s).triggerHandler(t.Event("ap-play"),{});break;case tr:t(s).triggerHandler(t.Event("ap-pause"),{})}}},cl:function(){this.vc=!0,this.dl&&this.al&&this.Ic(!1)},cleanup:function(){Bn.prototype.cleanup.call(this),this.dl&&(this.pc=!0,this.el=!1,this.Ic(!1),this.dl=null)}}),nr=ie(fn,{$init:function(t,i){if(fn.prototype.$init.call(this,t,i),Se.youtubeAPIState==ni&&(this.ia=new er(t.we,this,i.YT_params),this.ia.Er(i.n),this.ia.Ve=i.audio_ducking),i.YT_params.disable_scaling){var s,e=this.prez(),n=this;this.gl=function(){n.Ml()},e&&e.ui&&(s=e.ui.canvas())&&s.on("ap-scaleChanged",this.gl)}},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("div"),s=ls.createElement("div"),e=i.style;if(t.style.overflow="hidden",e.pointerEvents="auto",e.position="absolute",e.left="0px",e.top="0px",this.Qs.YT_params.disable_scaling){var n,r=this.prez();n=r?r.ir():1,e.width=100*n+"%",e.height=100*n+"%",e[zs]=1==n?"":"0% 0%",e[Bs]=1==n?"":"scale("+1/n+", "+1/n+")"}else e.width="100%",e.height="100%";return e.border="none",t.appendChild(i),this.ec=i,i.appendChild(s),this.rl=s,t},Ml:function(){if(this.ec){var t,i=this.prez(),s=this.ec.style;t=i?i.ir():1,s.width=100*t+"%",s.height=100*t+"%",s[zs]=1==t?"":"0% 0%",s[Bs]=1==t?"":"scale("+1/t+", "+1/t+")"}},cleanup:function(){if(this.Qs.YT_params.disable_scaling){var t,i=this.prez();i&&i.ui&&(t=i.ui.canvas())&&t.off("ap-scaleChanged",this.gl),delete this.gl}return fn.prototype.cleanup.call(this)},html:On,player:function(){return this.ia}});ln(function(t,i){return new nr(t,i)},i.R);var rr=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i);var s,e,n=this.frameNode,r=i.web_params;if(r.embed_code?"srcdoc"in n?n.srcdoc=r.embed_code:(e=function(t){t.target.removeEventListener("load",e,!1);var i=t.target.contentDocument;i.open(),i.write(r.embed_code),i.close()},n.addEventListener("load",e,!1)):(s=this,n.onload=function(){s.bl},n.onerror=function(){s.wl},this._l=setTimeout(function(){s.yl()},2e4),r.address?n.src=r.address:r.entrypoint?n.src=this.prez().getResource(r.html_package)+"/"+r.entrypoint:n.src=this.prez().getResource(r.html_package+".html")),i.web_params.disable_scaling){var a,h=this.prez(),o=this;this.gl=function(){o.Ml()},h&&h.ui&&(a=h.ui.canvas())&&a.on("ap-scaleChanged",this.gl)}},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("iframe"),s=i.style,e=this.Qs.web_params.scrolling;if(s.pointerEvents="auto",s.position="absolute",s.left="0px",s.top="0px",this.Qs.web_params.disable_scaling){var n,r=this.prez();n=r?r.ir():1,s.width=100*n+"%",s.height=100*n+"%",s[zs]=1==n?"":"0% 0%",s[Bs]=1==n?"":"scale("+1/n+", "+1/n+")"}else s.width="100%",s.height="100%";return s.border="none",s.overflow=e?"auto":"hidden",Rs(i,{allow:"fullscreen",scrolling:e?"auto":"no"}),t.appendChild(i),this.frameNode=i,t},bl:function(){clearTimeout(this._l)},wl:function(){clearTimeout(this._l)},yl:function(){},Ml:function(){var t,i=this.prez(),s=this.frameNode.style;t=i?i.ir():1,s.width=100*t+"%",s.height=100*t+"%",s[zs]=1==t?"":"0% 0%",s[Bs]=1==t?"":"scale("+1/t+", "+1/t+")"},cleanup:function(){if(this.Qs.web_params.disable_scaling){var t,i=this.prez();i&&i.ui&&(t=i.ui.canvas())&&t.off("ap-scaleChanged",this.gl),delete this.gl}return clearTimeout(this._l),fn.prototype.cleanup.call(this)},html:On});ln(function(t,i){return new rr(t,i)},i.N);var ar=ie(fn,{$init:function(t,i){fn.prototype.$init.call(this,t,i)},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("div");i.style.position="absolute",i.style.width="100%",i.style.height="100%",i.style.pointerEvents="auto";var s=ls.createElement("canvas");return s.style.position="absolute",s.style.width="100%",s.style.height="100%",this.kl=s,i.appendChild(s),t.appendChild(i),t},Tl:function(){ls.xl||(ls.xl={});var t=void 0,i=this.Qs.chart;if(i&&void 0!=i.chartID&&(t=ls.xl[i.chartID]),t){if((s=t.canvas)==this.kl)return t;t.canvas&&t.canvas.remove(),t.destroy(),ls.xl[i.chartID]=void 0,t=void 0}if(this.kl&&0!=this.kl.clientWidth&&0!=this.kl.clientHeight&&(this.kl.style.pointerEvents="visiblePainted",this.node.style.pointerEvents="none",(p=this.kl.getContext("2d"))&&i&&i.type&&i.data&&i.options)){var s,e=i.data,n=i.options,r=e.normed,a=n.normed;if(!r){for(var h=e.datasets||[],o=0,u=h.length;o<u;++o){for(var f=h[o],c=f.data||[],l=0;l<c.length;++l)void 0!=c[l].x&&void 0!=c[l].y&&void 0!=c[l].v?(c[l].x=c[l].x/1e3,c[l].y=c[l].y/1e3,c[l].v=c[l].v/1e3):void 0!=c[l].x&&void 0!=c[l].y?(c[l].x=c[l].x/1e3,c[l].y=c[l].y/1e3):c[l]=c[l]/1e3;if(f.borderDash)for(var d=0;d<f.borderDash.length;++d)f.borderDash[d]=f.borderDash[d]/1e3}e.normed=!0}if(n&&!a){if(n.devicePixelRatio=this.Cl(),"bubble"==i.type){var v=n.elements;if(v&&v.point){v.point.radius=function(t){return t.dataset.data[t.dataIndex].v}}}n.scales&&(this.Sl(n.scales.r),this.Sl(n.scales.x),this.Sl(n.scales.x1),this.Sl(n.scales.y),this.Sl(n.scales.y1)),n.normed=!0}if(void 0==t)if(s=this.kl){var p=s.getContext("2d");ls.xl[i.chartID]=new Chart(p,i),t=ls.xl[i.chartID]}}return t},El:function(){var t=1,i=this.node.getBoundingClientRect();if(i){var s=this.node.offsetWidth,e=this.node.offsetHeight;0===s||0===e?0!==s?t=i.width/s:0!==e&&(t=i.height/e):t=qi(i.width/s,i.height/e)}return t},Cl:function(){return(window.devicePixelRatio||1)*this.El()+.5},Lr:function(){if(fn.prototype.Lr.call(this),this.visible()){var t=this.Tl();t&&(t.resize(),t.update())}},Ol:function(){var t=this.Tl();if(t&&t.config&&t.config.options){var i=this.Cl();t.config.options.devicePixelRatio!==i&&(t.config.options.devicePixelRatio=i,t.resize())}},Sl:function(t){if(t){var i=t.gridLines,s=t.angleLines;if(i&&i.borderDash)for(var e=0;e<i.borderDash.length;++e)i.borderDash[e]=i.borderDash[e]/1e3;if(s&&s.borderDash)for(e=0;e<s.borderDash.length;++e)s.borderDash[e]=s.borderDash[e]/1e3}}});ln(function(t,i){return new ar(t,i)},i.G);var hr=ie(fn,{$init:function(t,i){if(this.Pl=[],this.Il=[],this.Rl=0,this.Nl=0,this.Al=[],fn.prototype.$init.call(this,t,i),this.Dl){var s=this.Dl;s.innerHTML="",s.style.borderCollapse="collapse",s.style.borderSpacing="0px",s.style.position="absolute",s.style.pointerEvents="auto";var e=i.table;if(e.r){for(var n=e.r,r=0;r<n.length;r++){var a=n[r]||[];if(a){for(var h,o=s.insertRow(-1),u=a.c||[],f=[],c=0;c<u.length;++c){var l=o.insertCell(-1),d=ls.createElement("div");l.appendChild(d),l.textContainer=d;var v=u[c]||[];if(this.Yl(v)){var p=new mr(l,this);l.shape=p}v&&(v.t&&l.textContainer&&(this.cellHtml(l,v.t[0]),h=l.textContainer.style,v.t[1]&&(h.cssText=v.t[1]),v.t[2]&&this.textVerticalAlignForCell(l,v.t[2])),v.f&&this.fillCell(l,v.f),this.cellBorderLeft(l,v.ll),this.cellBorderTop(l,v.lt),this.cellBorderRight(l,v.lr),this.cellBorderBottom(l,v.lb),v.w&&this.cellWidth(l,v.w/1e3+"%"),v.h&&this.cellHeight(l,v.h/1e3+"%"),v.ccs&&(l.colSpan=v.ccs),v.crs&&(l.rowSpan=v.crs),f.push(l),this.Il.push(l),this.Al.push(v),this.Nl=Math.max(this.Nl,f.length))}this.Pl.push(f)}}this.Rl=this.Pl.length}this.sh(),this.Co()}},createNode:function(){var t=fn.prototype.createNode.call(this),i=ls.createElement("table");return i.style.width="100%",i.style.height="100%",this.Dl=i,t.appendChild(i),t},textVerticalAlignForCell:function(t,i){return 1==arguments.length?t.qh||"top":("middle"!==i&&"top"!==i&&"bottom"!==i||(t.textContainer&&(t.vAlign=i),t.qh=i),this)},yo:function(){},createTextNode:function(){},sh:function(){var t=this.Il,i=this.Al;if(i.length==t.length)for(var s=0,e=i.length;s<e;s++){var n=this.Il[s],r=this.Al[s].tm||[5,5,5,5],a=n.style;a.paddingLeft=r[0]+"px",a.paddingTop=r[1]+"px",a.paddingRight=r[2]+"px",a.paddingBottom=r[3]+"px",n.qh&&this.textVerticalAlignForCell(n,n.qh)}},fontScale:function(t){if(!arguments.length)return this.xo||100;if(t!=(this.xo||100)){this.xo=t;for(var i=this.Il||[],s=0,e=i.length;s<e;s++){var n,r=i[s];if(r.textContainer)n=void 0!==r.So?r.So:void 0!==r.Oo?r.Oo:r.textContainer.innerHTML,r.textContainer.innerHTML=n,this.Co()}return this}},Co:function(){void 0===this.To&&(this.To=parseFloat(t(this.textNode).css("font-size"))||16);for(var i=this.Il,s=0,e=i.length;s<e;s++){var n=i[s];n.textContainer&&(n.textContainer.style.fontSize=this.To*this.xo/100+"px")}},Lr:function(){if(fn.prototype.Lr.call(this),this.visible()&&this.Dl){var t=this.Dl.clientWidth||0,i=this.Dl.clientHeight||0;this.node.clientWidth<t&&(this.node.style.width=t+"px"),this.node.clientHeight<i&&(this.node.style.height=i+"px")}},onResized:function(t,i){fn.prototype.onResized.call(this,t,i);for(var s=this.Il,e=0,n=s.length;e<n;e++){var r=s[e];if(r.shape){r.shape.layout();var a=this.Xl(r);2==a.length&&r.shape&&r.shape.node&&(r.shape.node.style.left=a[0]+"px",r.shape.node.style.top=a[1]+"px",r.textContainer&&(r.textContainer.style.position="absolute",r.textContainer.style.left=a[0]+"px",r.textContainer.style.top=a[1]+"px",r.textContainer.style.width=parseInt(r.clientWidth)+"px"))}}},Ol:function(){if(Se.browser.firefox&&this.Dl){var t=this.node.getBoundingClientRect();if(t){var i=this.Al;if(0!=i.length&&void 0!=i){var s=1,e=this.node.offsetWidth,n=this.node.offsetHeight;0===e||0===n?0!==e?s=t.width/e:0!==n&&(s=t.height/n):s=qi(t.width/e,t.height/n);for(var r=window.devicePixelRatio||1,a=1/r,h=this.Dl.rows,o=0,u=0,f=h.length;u<f;u++){var c=h[u].cells;if(!(o>=i.length))for(var l=0,d=c.length;l<d;l++){var v=c[l];if(void 0!=i[o]&&void 0!=i[o].ll){var p=i[o].ll[0]/1e3;if(s<.99){var m=qi(rs(p/(s*r)*a),1);m*s<1&&(p=(m+1)*a)}v.style.borderWidth=p+"px"}o++}}}}}},fillCell:function(t,i){var s,e=t.shape;if(i){if(!i.normed){if(i[0]===wt.Pt)for(var n,r=i[2],a=0,h=r.length;a<h;++a)n=[(s=r[a])[0]],s=s[1],n.push(As(s>>16&255,s>>8&255,255&s)),n.push((s>>24&255)/255),r[a]=n;i.normed=!0}switch(i[0]){case wt.Et:e.fillNone();break;case wt.Ot:var o=As((s=i[1])>>16&255,s>>8&255,255&s,(s>>24&255)/255);t.style.backgroundColor=o;break;case wt.Pt:i[1]?e.fillRadialGradient(i[2],i[3],i[4],i[5],i[6]):e.fillLinearGradient(i[2],i[3],i[4],i[5]);break;case wt.M:i.length>1?e.fillImage(i[1],i[2],i[3],i[4],i[5]):e.fillNone()}}else e.fillNone()},cellBorderLeft:function(t,i){if(t&&i){var s=i[1],e=As(s>>16&255,s>>8&255,255&s,(s>>24&255)/255);t.style.borderLeft=i[0]/1e3+"px solid "+e}else t.style.borderLeft=""},cellBorderTop:function(t,i){if(t&&i){var s=i[1],e=As(s>>16&255,s>>8&255,255&s,(s>>24&255)/255);t.style.borderTop=i[0]/1e3+"px solid "+e}else t.style.borderTop=""},cellBorderRight:function(t,i){if(t&&i){var s=i[1],e=As(s>>16&255,s>>8&255,255&s,(s>>24&255)/255);t.style.borderRight=i[0]/1e3+"px solid "+e}else t.style.borderRight=""},cellBorderBottom:function(t,i){if(t&&i){var s=i[1],e=As(s>>16&255,s>>8&255,255&s,(s>>24&255)/255);t.style.borderBottom=i[0]/1e3+"px solid "+e}else t.style.borderBottom=""},cellWidth:function(t,i){t.style.width=i},cellHeight:function(t,i){t.style.height=i},getCellNode:function(t,i){var s,e,n,r,a;if(s=this.Dl)for(n=s.rows,r=0;r<n.length;r++)if(r==t)for(e=n[r].cells,a=0;a<e.length;a++)if(a==i)return e[a];return null},Ll:function(t){var i,s,e,n,r;if(i=this.Dl)for(e=i.rows,n=0;n<e.length;n++)for(s=e[n].cells,r=0;r<s.length;r++)if(s[r]==t)return[n,r];return[]},Xl:function(t){var i=parseInt(t.offsetLeft);i+=parseInt(t.style.borderLeftWidth)||0;var s=parseInt(t.offsetTop);return[i,s+=parseInt(t.style.borderTopWidth)||0]},Fl:function(){var t,i,s,e=this.Qs.table;if(e.r)for(var n=e.r,r=0;r<n.length;r++){var a=n[r]||[];if(a){i=a.c||[];for(var h=0;h<i.length;++h)s=i[h]||[],(t=this.getCellNode(r,h))&&(this.cellBorderLeft(t,s.ll),this.cellBorderTop(t,s.lt),this.cellBorderRight(t,s.lr),this.cellBorderBottom(t,s.lb))}}},Yl:function(t){return t.f&&(t.f[0]==wt.Pt||t.f[0]==wt.M)},cellHtml:function(t,i){if(!arguments.length)return t.textContainer?t.textNode.innerHTML:"";if(i+="",t.textContainer){if(t.xo&&100!=t.xo){t.So=i;var s={css:t.textContainer.style.cssText,html:i};Ss(s,t.xo/100),i=s.html}else delete t.So;var e=this,n=this.slide.we.vars,r=n.replace(i);this.Hl(t,r.text),t.Eo&&(n.removeObserver(t.Eo),delete t.Eo),r.vars.length?(t.Oo=i,t.Eo=function(){e.Hl(t,n.replace(t.Oo).text)},n.addObserver(r.vars,t.Eo)):delete t.Oo}return t},Hl:function(t,i){t.textContainer.innerHTML=i},cleanup:function(){var t,i,s,e,n,r,a=this.Pl;for(s=0,n=a.length;s<n;++s)for(e=0,r=(t=a[s]).length;e<r;++e)(i=t[e])&&i.Eo&&(this.prez().vars.removeObserver(i.Eo),delete i.Eo,delete i.Oo);return fn.prototype.cleanup.call(this)}});ln(function(t,i){return new hr(t,i)},i.V);var or=!1,ur=ie(fn,{createNode:function(){var i=fn.prototype.createNode.call(this),s=this;if(t(i).on("mousedown mouseup",function(t){s.filterEvent(t)||s.Us(t)}),Se.browser.ie){var e=ls.createElement("img"),n=e.style;return i.tabIndex=-1,i.appendChild(e),n.position="absolute",n.width="100%",n.height="100%",n.pointerEvents="auto",this.imageNode=e,e.addEventListener("dragstart",function(t){t.preventDefault()},!1),i}var r=ls.createElement("div");return r.className="3d_model",r.style.position="absolute",r.style.width="100%",r.style.height="100%",r.style.pointerEvents="auto",this.webGLRenderer=new THREE.WebGLRenderer({antialias:!0,alpha:!0,preserveDrawingBuffer:!0}),this.webGLRenderer.setClearColor(0,0),this.webGLRenderer.setPixelRatio(window.devicePixelRatio),this.webGLRenderer.outputEncoding=THREE.sRGBEncoding,this.webGLRenderer.physicallyCorrectLights=!0,this.scene=new THREE.Scene,this.camera=new THREE.PerspectiveCamera(45,1,.1,1e4),r.appendChild(this.webGLRenderer.domElement),this.modelNode=r,i.appendChild(r),i},Ul:function(){return!!(this.Qs.f&r)},Bl:function(){or||(or=!0,"file:"==window.location.protocol&&alert(this.prez().ui.ye.text("3DModelError")))},Ja:function(t,i,s){if(!this.Zl){var e=this;this.Zl=setInterval(function(){e.Bl()},100)}if(Se.browser.ie){if(0==s.length)return void(this.imageNode.src="");var n=s.res_img;return n+=".png",void(this.imageNode.src=this.prez().getImgResource(n))}var r=s.res_id,a=this.prez().getResource(r+".glb"),h=s.scene_id,o=s.rx/1e5*Wi/180,u=s.ry/1e5*Wi/180,f=s.rz/1e5*Wi/180,c=s.px/1e5,l=s.py/1e5,d=s.pz/1e5,v=s.lx/1e5,p=s.ly/1e5,m=s.lz/1e5,g=s.fov/1e5,M=s.unit/1e5,b=s.pre_x/1e5,w=s.pre_y/1e5,_=s.pre_z/1e5,y=s.post_x/1e5,k=s.post_y/1e5,T=s.post_z/1e5,x=s.frame/1e5,C=s.duration,S=(s.draggable,s.bKeepRatio),E=this.webGLRenderer,O=!1;t.unit||i.unit?(E.domElement.style.width="100%",E.domElement.style.height="100%",E.domElement.style.display="block",O=!0):(E.setSize(t.value,i.value),E.setViewport(0,0,t.value,i.value));var P=this.scene;P.clear();var I=this.camera;I.clear(),I.fov=g,I.aspect=S?t.value/i.value:1,I.position.x=c,I.position.y=l,I.position.z=d;var R=new THREE.Vector3(v,p,m);I.lookAt(R);var N=new THREE.AmbientLight(8421504,.5);P.add(N);var A=new THREE.PointLight(16760704,9.765625);A.position.set(.61,1.97,.454-d),I.add(A);var D=new THREE.PointLight(6724082,12.25);D.position.set(-1.0545,1.42,1.6-d),I.add(D);var Y=new THREE.PointLight(14531071,3.125);Y.position.set(-1.05,1.61,-.97-d),I.add(Y),I.updateProjectionMatrix(),P.add(I);var X,L=new THREE.GLTFLoader,F=new THREE.Clock,H=(this.slide.Qs.d,this.disabled());if(!H&&!this.Ul()){var U=new THREE.OrbitControls(I,E.domElement);U.target=R,U.update()}var B=this.prez().getTextureResource(),Z=(new THREE.CubeTextureLoader).setPath(B).load(["px.jpg","nx.jpg","py.jpg","ny.jpg","pz.jpg","nz.jpg"]);Z.minFilter=THREE.LinearMipMapLinearFilter,Z.magFilter=THREE.LinearFilter,Z.wrapS=THREE.ClampToEdgeWrapping,Z.wrapT=THREE.ClampToEdgeWrapping,Z.generateMipmaps=!0,Z.needsUpdate=!0,L.load(a,function(t){t.scene.traverse(function(t){t.isMesh&&(Array.isArray(t.material)?t.material:[t.material]).forEach(function(t){t.side=THREE.DoubleSide,t.envMap=Z,t.transmission=0})});var i=t.scene;if(function(t){var i=new THREE.Matrix4,s=new THREE.Matrix4;s.scale(new THREE.Vector3(M,M,M)),i.multiply(s);var e=new THREE.Matrix4,n=new THREE.Matrix4;n.makeRotationZ(f),e.multiply(n);var r=new THREE.Matrix4;r.makeRotationY(u),e.multiply(r);var a=new THREE.Matrix4;a.makeRotationX(o),e.multiply(a),i.multiply(e);var h=new THREE.Matrix4;h.setPosition(new THREE.Vector3(b,w,_)),i.multiply(h);var c=new THREE.Matrix4;c.setPosition(new THREE.Vector3(y,k,T));var l=new THREE.Matrix4;l.multiplyMatrices(c,i),t.applyMatrix4(l)}(i),C>0){X=new THREE.AnimationMixer(i);for(var s=t.animations,e=0;e!==s.length;++e)if(h==e){var n=s[e];X.clipAction(n).play()}}P.add(i)}),function t(){!function(t){if(O){var i=E.domElement,s=i.clientWidth,e=i.clientHeight;(t||i.width!==s||i.height!==e)&&(E.setSize(s,e,!1),I.aspect=S?s/e:1,I.updateProjectionMatrix())}}();requestAnimationFrame(t);if(X)if(x<0){var i=F.getDelta();i=H?0:i,X.update(i)}else X.setTime(x/1e3);E.render(P,I)}()},flip:function(t,i){return this.imageNode&&Ns(this.imageNode,t,i),this.modelNode&&Ns(this.modelNode,t,i),fn.prototype.flip.call(this,t,i)},html:On});ln(function(t,i){return new ur(t,i)},i.tt);var fr=ie(Pn,{$init:function(t,s,e){(s=s||{}).isSlide=!0,this.we=t,this.do={0:this},this.vo={},this.la=[],this.Ur=[],this.Vh=1,(void 0!==s.fbi||s.isBackground&&e&&void 0!==e.Qs.fbi)&&(s.isFeedback=!0);var n=!s.isBackground&&!s.isTop&&!s.isBottom;(s.isBackground||(this.an=new $r({startTime:s.st||0}),this.ae(this.an)),this.zl=[],this.Gl=[],this.Vl=0,Pn.prototype.$init.call(this,e||this,s),this.nh)&&(this.nh()&&this.no());var r=this.node.style;if(r.left=0,r.top=0,r.width="100%",r.height="100%",n){var a={isBackground:!0,h:s.h,fb:s.fb};if(s.b&&(s.b.f&&(a.s=[{f:s.b.f}]),s.b.im&&(a.cc=[{k:i.M,s:[{im:s.b.im,w:s.b.w,a:s.b.a,f:s.b.f,mf:s.b.mf,mp:s.b.mp}],m:ii.Demo|ii.Tutorial|ii.Practice|ii.Test}]),s.b.ct)){var h=s.b.ct;if(a.cc)for(var o=0;o<h.length;++o)a.cc.push(h[o]);else a.cc=s.b.ct}this.background=new fr(t,a,this),this.children.push(this.background)}if(s.isBackground)r.zIndex=s.isFeedback?qt.bs:qt.es;else if(s.isTop?r.zIndex=qt.us:s.isBottom?r.zIndex=qt.ns:r.zIndex=s.isFeedback?qt.ws:qt.os,s.at&&this.node.setAttribute("aria-label",s.at),s.ca&&s.ca.n&&s.ca.n.length?this.reloadClosedCaption():!s.isFeedback&&n&&t.Tr&&(t.Tr.slide=this,this.an.addChild(new zr(t.Tr,"display",{startTime:0,duration:0,tweenParams:["block","none"]}))),this.Wl=void 0,s.cp&&void 0!==s.cp.m){var u=ii[this.we.options.playMode];if((s.cp.m&u)==u){var f=new Un(this,s.cp);t.ui.slides()[0].appendChild(f.node),-1!=s.cp.hl_type&&(f.node.style.borderRadius=0===s.cp.hl_type?"50%":0,f.node.style.backgroundColor=As(s.cp.hl_color)),this.Wl=f}}if(s.isFeedback?t.ui.feedbackSlides()[0].appendChild(this.node):t.ui.slides()[0].appendChild(this.node),!s.isBackground){this.Lr(),this.$l(),this.restore();var c,l=new Nn(t,this);u=ii[this.we.options.playMode];if(s.i>=0)(c=Se.createZoomAndPan(l,s.z,t.layoutIndex,u))&&this.an.addChild(c);if(this.Wl)(c=this.Wl.Cf())&&this.an.addChild(c);for(var d in this.do){var v=this.do[d];v.Qs.ta&&v.splitText&&v.splitText({chars:v.Qs.ta&Se.TextEffectFlags.CHARS,words:v.Qs.ta&Se.TextEffectFlags.WORDS,processStyles:"backgroundColor, textDecoration"})}for(var p=0;this.Kl(p,!1);)++p;for(p=0;this.Kl(p,!0);)++p}},flexbox:function(){if(this.Qs.fb){var t=this.Qs.fb[this.we.layoutIndex];t.b&&fn.prototype.flexbox.call(this,t.b)}},Xr:function(t){this.Yr=t,this.Qs.isFeedback?un(this.node,t):this.Qs.isBackground?(this.node.style.position=t==Q.AUTO?"sticky":"absolute",this.node.style.overflow="hidden"):un(this.we.ui.slides()[0],t,!0)},$l:function(){this.Qs.isFeedback||this.Qs.isBackground||this.Yr!=Q.AUTO||this.Xr(Q.AUTO)},_r:function(){if(this.Yr===Q.AUTO&&!this.Qs.isFeedback&&!this.Qs.isBackground&&this.background){var t=this.we.ui.slides()[0];this.jl={x:t.offsetHeight>t.scrollHeight,y:t.offsetWidth>t.scrollWidth}}},yr:function(){if(this.Yr===Q.AUTO&&!this.Qs.isFeedback&&!this.Qs.isBackground&&this.background&&this.jl){var t=this.we.ui.slides()[0];this.jl.x===t.offsetHeight>t.scrollHeight&&this.jl.y===t.offsetWidth>t.scrollWidth||this.background.Lr(),delete this.jl}},onResized:function(t,i){Pn.prototype.onResized.call(this,t,i),this.$l()},width:function(t){return arguments.length?(this.background&&this.background.width(t),Pn.prototype.width.call(this,t)):Pn.prototype.width.call(this)},height:function(t){return arguments.length?(this.background&&this.background.height(t),Pn.prototype.height.call(this,t)):Pn.prototype.height.call(this)},size:function(t,i){return arguments.length?(this.background&&this.background.size(t,i),Pn.prototype.size.call(this,t,i)):Pn.prototype.size.call(this,t,i)},onLayoutSwitched:function(){var t=this.node.clientWidth,i=this.node.clientHeight;if(t!=this.Uh||i!=this.Bh){var s=t-this.Uh,e=i-this.Bh;this.Uh=t,this.Bh=i,Pn.prototype.onResized.call(this,s,e)}this.flexbox&&this.flexbox(),Pn.prototype.onLayoutSwitched.call(this),this.nh&&this.nh();var n=this,r=function(t){if(t&&t.children)for(var i,s=0,e=n===t?2:1;s<e;++s)for(var a=0,h=t.children.length;a<h;++a)(i=t.children[a]).eh&&(i.so||!i.Wh&&i.shape||i.textContainer)&&i.Lr(),r(i)};r(this),this.we.Tr&&this.we.Tr.onLayoutSwitched()},object:function(t){return(typeof t===zi?this.vo[t]:this.do[t])||null},timeline:function(t){if(!arguments.length)return this.an;var i,s,e=typeof t===zi?"name":"id";for(i=0,s=this.zl.length;i<s;++i)if(this.zl[i][e]===t){var n=this.zl[i];return n&&n.Ql&&i>0&&(this.re(n),n=this.Kl(i,!1)),n}return null},wo:function(){for(var t=this.zl.concat(this.Gl),i=0,s=t.length;i<s;++i)t[i].Ql=!0},Kl:function(t,i){var s,e,n,r,a,h,o,u=0!==t||i?null:this.an,f=i?this.Qs.cs:this.Qs.tl;if(f&&(f=f[t]),!f)return u;for(u||(u=new $r,this.ae(u)),i?(u.id=xe(),u.ql=1,this.Gl[t]=u):(u.id=f[0],u.name=f[1],this.zl[t]=u,f=f[2]||[]),e=0,n=f.length;e<n;++e)if(s=f[e],h=this.object(s[0])){for(r=0,a=(s=s[1]||[]).length;r<a;++r)if(Se.createEffect&&(o=Se.createEffect.apply(Se,[h].concat(s[r]))))switch(s[r][0]){case Se.EffectType.PAUSE:case Se.EffectType.TIME_OUT:this.we.demoMode()||(o.startTime(o.startTime()+this.Qs.st),this.we.an.addChild(o),h.ae(o));break;default:u.addChild(o)}}else ws("Object not found: "+s[0]);return u.setup(),u},remove:function(i){return t(this).off(),this.node.parentNode&&this.node.parentNode.removeChild(this.node),this.background&&!i&&this.background.remove(),this.cleanup()},cleanup:function(){return"sticky"==this.node.style.position&&(this.node.style.position="absolute"),this.Wl&&(this.Wl.cleanup(),this.Wl.node.parentNode&&this.Wl.node.parentNode.removeChild(this.Wl.node)),fn.prototype.cleanup.call(this)},clickSequence:function(){var t=this.Gl[this.Vl];return t&&t.Ql&&(this.re(t),t=this.Kl(this.Vl,!0)),t||null},Ia:function(){return this.Vl<this.Gl.length-1?(++this.Vl,this.clickSequence()):null},Ra:function(){return this.Vl>0?(--this.Vl,this.clickSequence()):null},Lr:function(){if(fn.prototype.Lr.call(this),this.ao||(this.ao=0),this.ao>10)ws("Recursive checking resized: "+this.name());else{++this.ao,this.we.Tr&&this.we.Tr.slide==this&&this.we.Tr.onResized(0,0);for(var t=this,s=this.findObject(function(s){var e=s.Qs.k;return(e==i.G||e==i.V)&&s!=t},!0),e=0,n=s.length;e<n;++e)s[e].Ol();--this.ao}},savedData:function(t){var i=this.we.ue.slides,s=i[this.Qs.index];return t&&!s&&(s=i[this.Qs.index]={}),s},fillSolid:function(t,i,s,e){return this.background&&this.background.shape.fillSolid(t,i,s,e),this},reloadClosedCaption:function(){var t=this.Qs,i=this.we,s=i.Zn||0,e=ii[this.we.options.playMode];if((i.Qs.cc.modes&e)==e){if(i.Qs.responsive&&i.Tr&&i.Tr.slide&&i.Tr.slide.Qs.i!=this.Qs.i){var n=i.Tr;(a=i.ui.canvas())&&n.node&&n.node.remove(),delete i.Tr}if(!i.Tr){var r={};r.fill=i.Qs.cc.fill,r.textStyle=i.Qs.cc.textStyle,r.margin=i.Qs.cc.margin;var a;n=new dn(this,r);i.Tr=n,(a=i.ui.canvas())&&a.append(n.node)}i.Tr.slide=this,i.Jl&&(this.an.removeChild(i.Jl),delete i.Jl);for(var h=new Vr({startTime:0}),o=0;o<t.ca.n.length;o++){var u=t.ca.n[o];0==o&&u.startTime>0&&h.addChild(new zr(this.we.Tr,"display",{startTime:0,duration:0,tweenParams:["block","none"]})),h.addChild(new zr(this.we.Tr,"display",{startTime:u.startTime,duration:0,tweenParams:["none","block"]})),h.addChild(new zr(this.we.Tr,"ccNode",{startTime:u.startTime,duration:0,tweenParams:["",u.texts[s]],tweenType:ti.ys})),h.addChild(new zr(this.we.Tr,"display",{startTime:u.startTime+u.duration,duration:0,tweenParams:["block","none"]}))}this.an.addChild(h),i.Jl=h}},Oa:function(t){var i=fn.prototype.Oa.call(this,t);return!i&&this.background&&(i=this.background.Oa(t)),i},filterEvent:function(t){var i=t.target,s=this.Oa(i);return s||this.Qs.isFeedback||!(s=this.we.bottomSlide&&this.we.bottomSlide.Oa(i))&&this.we.topSlide&&(s=this.we.topSlide.Oa(i)),!s||fn.prototype.filterEvent.call(s,t)},Ls:function(){var t=this.node.parentNode;return t||(t=this.Qs.isFeedback?this.we.ui.feedbackSlides()[0]:this.we.ui.slides()[0]),t||this.node},mr:function(){this.Qs.csa&&this.we.clickSequenceForward(this),t(this).triggerHandler("ap-load")}}),cr=ie({$init:function(){this.td=""},path:function(t){return arguments.length?(this.td=t,this):this.td},clear:function(){return this.td="",this},addPath:function(t){return this.td+=" "+t,this},moveTo:function(t,i){return this.td+=" M"+t+","+i,this},lineTo:function(t,i){return this.td+=" L"+t+","+i,this},arcTo:function(t,i,s,e,n,r){return this.td+=" A"+t+","+i+" 0 "+(n?1:0)+","+(r?1:0)+" "+s+","+e,this},cubicTo:function(t,i,s,e,n,r){return this.td+=" C"+t+","+i+" "+s+","+e+" "+n+","+r,this},quadraticTo:function(t,i,s,e){return this.td+=" Q"+t+","+i+" "+s+","+e,this},closeSubpath:function(){return this.td+=" Z",this},addEllipse:function(t,i,s,e){return this.moveTo(t-s,i).arcTo(s,e,t+s,i,!0,!0).arcTo(s,e,t-s,i,!0,!0).closeSubpath()},addRect:function(t,i,s,e){return this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath()},addRoundedRect:function(t,i,s,e,n,r){return this.moveTo(t,i+r).arcTo(n,r,t+n,i,!1,!0).lineTo(t+s-n,i).arcTo(n,r,t+s,i+r,!1,!0).lineTo(t+s,i+e-r).arcTo(n,r,t+s-n,i+e,!1,!0).lineTo(t+n,i+e).arcTo(n,r,t,i+e-r,!1,!0).closeSubpath()},addMarker:function(t,i,s){var e,n,r;switch(n=(0==(e=i%3)?2:1==e?3:5)*s,r=(0==(e=rs(i/3))?2:1==e?3:5)*s,t){case ct.ARROW:this.moveTo(0,0).lineTo(n,-r/2).lineTo(n,r/2).closeSubpath();break;case ct.OPEN:var a=es(r/2,n),h=rs(s/ts(a)/2);this.moveTo(n+h,-r/2).lineTo(h,0).lineTo(n+h,r/2);break;case ct.STEALTH:this.moveTo(0,0).lineTo(n,-r/2).lineTo(n/2,0).lineTo(n,r/2).closeSubpath();break;case ct.DIAMOND:this.moveTo(-n/2,0).lineTo(0,-r/2).lineTo(n/2,0).lineTo(0,r/2).closeSubpath();break;case ct.OVAL:this.addEllipse(0,0,n/2,r/2)}return this}});var lr={};function dr(t){var i=lr[t];if(!i){var s,e=[],n=[],r=1,a=1,h=-1,o=-1;for(s=0;s<t;s++)e[2*s]=Ji(2*Wi*s/t-Wi/2),n[2*s]=ts(2*Wi*s/t-Wi/2),e[2*s]<r&&(r=e[2*s]),n[2*s]<a&&(a=n[2*s]),e[2*s]>h&&(h=e[2*s]),n[2*s]>o&&(o=n[2*s]),e[2*s+1]=Ji(2*Wi*((2*s+1)/2)/t-Wi/2),n[2*s+1]=ts(2*Wi*((2*s+1)/2)/t-Wi/2);i=lr[t]={cXs:e,cYs:n,minX:r,minY:a,maxX:h,maxY:o}}return i}function vr(t){var i;try{i=t.getBBox()}catch(t){i={x:0,y:0,width:0,height:0}}return{x:i.x,y:i.y,width:i.width,height:i.height}}var pr=Se.browser.ie||Se.browser.edge,mr=ie(hn,{$init:function(t,i){this.parent=i,this.slide=i.slide,this.container=t,this.sd=wt.Et,this.vu="none",this.pu=1,this.nd="black",this.ad=1,this.hd="round",this.od="miter",this.Ks=0,this.mu=[],this.Vu=i.Vu},path:function(t){var i,s=null;if(t)for(s=[],i=0;i<t.length;++i)if(i<2)s.push(t[i].slice());else for(var e=t[i],n=0;n<e.length;++n){var r=e[n];if(r){var a=r.p;s.push(a.slice()),s[s.length-1].f=r.f}}this.Jc=s,this.Xn()?this.Ru():this.ud()&&this.Vr()},shape:function(t,i){this.Ks=t,this.mu=i,this.fd(),this.Xn()?this.Ru():this.ud()&&this.Vr()},fd:function(){if(!(!this.Xn()||this.hasArrow()||this.Jc&&this.Jc.length)){var t=!!(this.ld&&this.ld.length>1),i=!!(this.vd&&this.vd.length>1),s=Se.SHAPE_DEFS[this.Ks];if(s&&s[0]){var e=this.container.clientWidth||100,n=this.container.clientHeight||100,r=new cr,a=s[0].apply(r,[0,0,e,n].concat(this.mu||[])),h=!1,o=!1;a&&a.multiplePaths&&(h=!!(a.fillPaths&&a.fillPaths.length>1),o=!!(a.linePaths&&a.linePaths.length>1)),t===h&&i===o||this.pd()}}},pd:function(){this.shapeNode&&this.node&&this.node.removeChild(this.shapeNode),this.shapeNode=null,this.fu=null,this.gd=null,this.ld=null,this.vd=null,this.Md=null,this.bd=null,this.wd=null,this._d=null,this.yd()},yd:function(){if(this.node){var t=this.node.querySelector("defs");t&&(this.kd&&this.kd.parentNode&&(this.kd.parentNode.removeChild(this.kd),this.kd=null),this.Td&&this.Td.parentNode&&(this.Td.parentNode.removeChild(this.Td),this.Td=null),this.xd&&this.xd.parentNode&&(this.xd.parentNode.removeChild(this.xd),this.xd=null,this.Cd=null),this.Sd&&this.Sd.parentNode&&(this.Sd.parentNode.removeChild(this.Sd),this.Sd=null,this.Ed=null,this.Od=null,this.Pd=null,this.Id=null,this.Rd=null),0===t.children.length&&t.parentNode.removeChild(t)),this.Nd&&this.Nd.parentNode&&(this.Nd.parentNode.removeChild(this.Nd),this.Nd=null)}},flip:function(t,i){this.shapeNode&&Ns(this.shapeNode,t,i,!0),t?this.cf=1:delete this.cf,i?this.ff=1:delete this.ff},lineStyle:function(t){if(typeof t!==zi&&(t=t&lt?"solid":t&dt?"dotted":t&vt?"dashed":t&pt?"dash-dotted":"none"),this.vu=t,this.Vu){var i=this.parent.node.style;if("none"===t)i.borderStyle="none";else{var s="dash-dotted"===t?"dashed":t;i.borderStyle=s}}else if("none"===t){if(this.bd)this.bd.style.display=t;else if(this.vd)for(var e=0;e<this.vd.length;e++)this.vd[e].element.style.stroke=t;else this.gd&&(this.gd.style.stroke=t);this.Ad(),this.Dd()&&this.Ru()}else if(this.Xn()){if(this.bd)this.bd.style.display="";else if(this.vd)for(e=0;e<this.vd.length;e++)this.vd[e].element.style.stroke=this.nd||"black";else this.gd&&(this.gd.style.stroke=this.nd||"black");var n="none",r=this.pu||0;switch(t){case"solid":n="none";break;case"dotted":n="0.01 "+2*r;break;case"dashed":n=2*r+" "+2*r;break;case"dash-dotted":case"dot-dashed":n=2*r+" "+2*r+" 0 "+2*r;break;default:n=t}if(this.vd)for(e=0;e<this.vd.length;e++)this.vd[e].element.style.strokeDasharray=n;else this.gd&&(this.gd.style.strokeDasharray=n);this.Ad(),this.Dd()&&this.Ru()}else this.ud()&&this.Vr()},lineJoin:function(t){if(typeof t!==zi&&(t=t&Mt?"round":t&bt?"bevel":"miter"),this.od=t,!this.Vu)if(this.vd)for(var i=0;i<this.vd.length;i++)this.vd[i].element.style.strokeLinejoin=t;else this.gd&&(this.gd.style.strokeLinejoin=t)},lineCap:function(t){if(typeof t!==zi){var i="butt";t&mt?i="square":t&gt&&(i="round"),t=i}if(this.hd=t,!this.Vu)if(this.vd)for(var s=0;s<this.vd.length;s++)this.vd[s].element.style.strokeLinecap=t;else this.gd&&(this.gd.style.strokeLinecap=t)},lineWidth:function(t){if(this.pu=t,this.Vu)this.parent.node.style.borderWidth=t+"px";else if(this.Xn()){if(this.Ad(),this.Dd()&&this.Ru(),this.vd)for(var i=0;i<this.vd.length;i++)this.vd[i].element.style.strokeWidth=t;else this.gd&&(this.gd.style.strokeWidth=t);if(this.hasArrow()&&(this.Ru(),this.wd&&(this.wd.style.strokeWidth=t),this._d&&(this._d.style.strokeWidth=t)),"none"!==this.vu&&this.lineStyle(this.vu),Se.browser.chromiums){var s=this.node.style;parseInt(s.minWidth)<t&&(s.minWidth=t+"px",s.minHeight=t+"px")}}else this.ud()&&this.Vr()},Ad:function(){if(this.shapeNode){var t=this.pu%2/2;t&&"none"!==this.vu?this.shapeNode.setAttribute("transform","translate("+t+", "+t+")"):this.shapeNode.removeAttribute("transform")}},lineColor:function(t,i,s,e){if(typeof t===zi?(this.nd=t,e=i):this.nd=As(t,i,s),this.ad=void 0===e?1:e,this.Vu){var n=this.parent.node.style,r=this.ad<1?this.nd.replace("rgb(","rgba(").replace(")",", "+this.ad+")"):this.nd;n.borderColor=r}else{var a;if(this.bd)this.bd.style.opacity=this.ad,this.gd.style.stroke=this.nd,this.wd&&(a=this.wd.style,this.Yd&&this.Yd.type!==ct.NONE?this.Yd.type===ct.OPEN?(a.stroke=this.nd,a.fill="none"):(a.stroke="none",a.fill=this.nd):a.stroke=a.fill="none"),this._d&&(a=this._d.style,this.Xd&&this.Xd.type!==ct.NONE?this.Xd.type===ct.OPEN?(a.stroke=this.nd,a.fill="none"):(a.stroke="none",a.fill=this.nd):a.stroke=a.fill="none");else if(this.vd)for(var h=0;h<this.vd.length;h++)"none"!==this.vu&&(this.vd[h].element.style.stroke=this.nd),this.vd[h].element.style.strokeOpacity=this.ad;else this.gd&&("none"!==this.vu&&(this.gd.style.stroke=this.nd),this.gd.style.strokeOpacity=this.ad)}},startArrow:function(t,i){this.Yd={type:t,size:i},this.Vu||(this.Xn()?(this.Ru(),this.lineColor(this.nd,this.ad)):this.ud()&&this.Vr())},endArrow:function(t,i){this.Xd={type:t,size:i},this.Vu||(this.Xn()?(this.Ru(),this.lineColor(this.nd,this.ad)):this.ud()&&this.Vr())},fillNone:function(){if(this.sd=wt.Et,this.Ld(),this.Vu){var t=this.parent.node.style;return t.backgroundColor="transparent",void(t.backgroundImage="none")}if(this.ld)for(var i=0;i<this.ld.length;i++){var s=this.ld[i];"none"===s.fillType?s.element.style.fill="none":(s.element.style.fill="white",s.element.style.fillOpacity=0)}else this.fu&&(!this.Jc||function(t){for(var i=[],s=0,e=t.length;s<e;++s){var n=t[s];n&&(i=i.concat(n))}return function(t){var i=t.length;if(i>1&&t[i-1][6])return t[i-1][6]&&2==t[i-1][6];return!1}(i)}(this.Jc)?(this.fu.style.fill="white",this.fu.style.fillOpacity=0):this.fu.style.fill="none")},fillSolid:function(t,i,s,e){if(this.sd=wt.Ot,this.Ld(),typeof t===zi?(this.Fd=t,e=i):this.Fd=As(t,i,s),this.Hd=void 0===e?1:e,this.Vu){var n=this.parent.node.style,r=this.Hd<1?this.Fd.replace("rgb(","rgba(").replace(")",", "+this.Hd+")"):this.Fd;return n.backgroundColor=r,void(n.backgroundImage="none")}if(this.Xn())if(this.ld)for(var a=0;a<this.ld.length;a++){var h=this.ld[a],o=this.Fd,u=this.Hd;switch(h.fillType){case"none":o="none",u=0;break;case"normal":break;case"lighten":o=this.Ud(this.Fd,.3);break;case"lightenLess":o=this.Ud(this.Fd,.15);break;case"darken":o=this.Bd(this.Fd,.3);break;case"darkenLess":o=this.Bd(this.Fd,.15)}h.element.style.fill=o,h.element.style.fillOpacity=u}else this.fu&&(this.fu.style.fill=this.Fd,this.fu.style.fillOpacity=this.Hd);else this.ud()&&this.Vr()},Ud:function(t,i){if(0===t.indexOf("#")){var s=t.slice(1),e=parseInt(s.substr(0,2),16),n=parseInt(s.substr(2,2),16),r=parseInt(s.substr(4,2),16);return"#"+((1<<24)+((e=Math.round(e+(255-e)*i))<<16)+((n=Math.round(n+(255-n)*i))<<8)+(r=Math.round(r+(255-r)*i))).toString(16).slice(1)}if(0===t.indexOf("rgb")){var a=t.match(/\d+/g);if(a){e=parseInt(a[0]),n=parseInt(a[1]),r=parseInt(a[2]);return"rgb("+(e=Math.round(e+(255-e)*i))+","+(n=Math.round(n+(255-n)*i))+","+(r=Math.round(r+(255-r)*i))+")"}}return t},Bd:function(t,i){if(0===t.indexOf("#")){var s=t.slice(1),e=parseInt(s.substr(0,2),16),n=parseInt(s.substr(2,2),16),r=parseInt(s.substr(4,2),16);return"#"+((1<<24)+((e=Math.round(e*(1-i)))<<16)+((n=Math.round(n*(1-i)))<<8)+(r=Math.round(r*(1-i)))).toString(16).slice(1)}if(0===t.indexOf("rgb")){var a=t.match(/\d+/g);if(a)return"rgb("+(e=Math.round(parseInt(a[0])*(1-i)))+","+(n=Math.round(parseInt(a[1])*(1-i)))+","+(r=Math.round(parseInt(a[2])*(1-i)))+")"}return t},Zd:function(t){var i,s;return"string"==typeof t[1]?(i=t[1],s=t[2]):(i=As(t[1],t[2],t[3]),s=t[4]),void 0===s&&(s=1),s<1&&(0===i.indexOf("rgba")?i=i.replace(/,\s*[\d.]+\)$/,", "+s+")"):0===i.indexOf("rgb")&&(i=i.replace("rgb(","rgba(").replace(")",", "+s+")"))),i},zd:function(t,i,s,e){for(var n=(i+90)%360,r=e/100,a=[],h=0;h<t.length;++h){var o=t[h],u=50+(o[0]-50)*r+s,f=this.Zd(o);a.push({position:u,color:f})}var c=[];for(h=0;h<a.length;h++){var l=a[h];c.push(l.color+" "+l.position+"%")}return"linear-gradient("+n+"deg, "+c.join(", ")+")"},Gd:function(t,i,s,e,n){var r=this.parent.node.getBoundingClientRect();if(!r.width||!r.height)return"";for(var a=Ki(r.width*r.width/4+r.height*r.height/4),h="radial-gradient(ellipse "+a/r.width*e+"% "+a/r.height*n+"% at "+(50+i)+"% "+(50+s)+"%",o=0;o<t.length;o++){var u=t[o];h+=", "+this.Zd(u)+" "+u[0]+"%"}return h+=")"},fillLinearGradient:function(t,i,s,e){if(this.sd=wt.It,this.Vd=i,this.Wd=t,this.$d=s,this.Kd=e,this.Ld(),this.Vu){var n=this.parent.node.style;return n.backgroundImage=this.zd(t,i,s,e),n.backgroundRepeat="no-repeat",n.backgroundSize="100% 100%",void(n.backgroundPosition="center")}if(this.Xn()){if(!this.kd){this.kd=ls.createElementNS(Gi,"linearGradient"),this.kd.id=this.container.id?this.container.id+"-lgrad":"ap-lgrad-"+xe(),this.kd.setAttribute("gradientUnits",Vi);var r=this.node.querySelector("defs");r||(r=ls.createElementNS(Gi,"defs"),this.node.appendChild(r)),r.appendChild(this.kd)}if(this.ld)for(var a=0;a<this.ld.length;a++){var h=this.ld[a];switch(h.fillType){case"none":h.element.style.fill="none",h.element.style.fillOpacity=0;break;case"normal":case"lighten":case"lightenLess":case"darken":case"darkenLess":default:h.element.style.fill="url(#"+this.kd.id+")",h.element.style.fillOpacity=1,this.jd(h.element,h.fillType)}}else this.fu&&(this.fu.style.fill="url(#"+this.kd.id+")",this.fu.style.fillOpacity=1);this.fillAngle(i),this.fillColorStops(t),this.fillLinearGradientTransform(s,e)}else this.ud()&&this.Vr()},fillRadialGradient:function(t,i,s,e,n){if(this.sd=wt.Rt,this.Wd=t,this.Qd=i,this.qd=s,this.Jd=e,this.tv=n,this.Ld(),this.Vu){var r=this.parent.node.style;return r.backgroundImage=this.Gd(t,i,s,e,n),r.backgroundRepeat="no-repeat",r.backgroundSize="100% 100%",void(r.backgroundPosition="center")}if(this.Xn()){if(!this.Td){this.Td=ls.createElementNS(Gi,"radialGradient"),this.Td.id=this.container.id?this.container.id+"-rgrad":"ap-rgrad-"+xe(),this.Td.setAttribute("gradientUnits",Vi);var a=this.node.querySelector("defs");a||(a=ls.createElementNS(Gi,"defs"),this.node.appendChild(a)),a.appendChild(this.Td)}if(this.ld)for(var h=0;h<this.ld.length;h++){var o=this.ld[h];switch(o.fillType){case"none":o.element.style.fill="none",o.element.style.fillOpacity=0;break;case"normal":case"lighten":case"lightenLess":case"darken":case"darkenLess":default:o.element.style.fill="url(#"+this.Td.id+")",o.element.style.fillOpacity=1,this.jd(o.element,o.fillType)}}else this.fu&&(this.fu.style.fill="url(#"+this.Td.id+")",this.fu.style.fillOpacity=1);var u=vr(this.node),f=u.x+u.width/2,c=u.y+u.height/2,l=Ki(u.width*u.width/4+u.height*u.height/4);Rs(this.Td,{cx:f,cy:c,r:l}),this.fillColorStops(t),this.fillRadialGradientTransform(i,s,e,n)}else this.ud()&&this.Vr()},jd:function(t,i){switch(i){case"lighten":t.style.filter="brightness(1.3)";break;case"lightenLess":t.style.filter="brightness(1.15)";break;case"darken":t.style.filter="brightness(0.7)";break;case"darkenLess":t.style.filter="brightness(0.85)";break;case"normal":default:t.style.filter=""}},fillAngle:function(t){if((t%=360)<0&&(t+=360),this.Vd=t,this.sd===wt.It&&this.kd){var i,s,e,n,r=ss(t*Wi/180),a=1+r*r,h=vr(this.node);t<90?(i=h.x,s=h.y,e=h.x+h.width,n=h.y+h.height):t<180?(e=h.x,n=h.y+h.height,i=h.x+h.width,s=h.y):t<270?(e=h.x,n=h.y,i=h.x+h.width,s=h.y+h.height):(i=h.x,s=h.y+h.height,e=h.x+h.width,n=h.y),Rs(this.kd,{x1:(i+r*s)/a,y1:(i+r*s)*r/a,x2:(e+r*n)/a,y2:(e+r*n)*r/a}),this.fillLinearGradientTransform(this.$d,this.Kd)}},fillColorStops:function(t){var i,s,e,n,r,a,h;if(this.Wd=t,this.sd===wt.It?i=this.kd:this.sd===wt.Rt&&(i=this.Td),i){for(;s=i.lastChild;)i.removeChild(s);for(n=0,r=t.length;n<r;++n)e=t[n],s=ls.createElementNS(Gi,"stop"),typeof e[1]===zi?(a=e[1],h=e[2]):(a=As(e[1],e[2],e[3]),h=e[4]),void 0===h&&(h=1),Rs(s,{offset:e[0]+"%","stop-color":a,"stop-opacity":h}),i.appendChild(s)}},fillLinearGradientTransform:function(t,i){if(this.sd===wt.It&&this.kd){this.$d=t,this.Kd=i;var s,e,n,r=vr(this.node),a=this.kd,h="";0!=t&&(s=this.Vd*Wi/180,h+="translate("+r.width*t/100*Ji(s)+", "+r.width*t/100*ts(s)+")"),100!=i&&(e=r.width/2,n=r.height/2,""!=h&&(h+=" "),h+="translate("+e+", "+n+") scale("+i/100+") translate("+-e+", "+-n+")"),h?a.setAttribute("gradientTransform",h):a.removeAttribute("gradientTransform")}},fillRadialGradientTransform:function(t,i,s,e){if(this.sd===wt.Rt&&this.Td){this.Qd=t,this.Jd=s,this.qd=i,this.tv=e;var n,r,a=vr(this.node),h=this.Td,o="";0==t&&0==i||(o="translate("+a.width*t/100+", "+a.height*i/100+")"),100==s&&100==e||(n=a.x+a.width/2,r=a.y+a.height/2,""!=o&&(o+=" "),o+="translate("+n+", "+r+") scale("+s/100+","+e/100+") translate("+-n+", "+-r+")"),o?h.setAttribute("gradientTransform",o):h.removeAttribute("gradientTransform")}},fillImage:function(t,e,n,r,a){if(this.sd=wt.M,this.iv=t,this.sv=e,this.ev=n,this.nv=r,this.rv=a,this.Ld(),this.Vu){var h=this.parent.node.style,o=this.parent.prez().getResource(t,e);return h.backgroundImage="url("+o+")",void(n===yt?(h.backgroundSize="100% 100%",h.backgroundRepeat="no-repeat"):n===_t&&(h.backgroundSize=r+"px "+a+"px",h.backgroundRepeat="repeat"))}if(this.Xn()){if(!this.xd){this.xd=ls.createElementNS(Gi,"pattern"),this.Cd=ls.createElementNS(Gi,"image"),this.xd.appendChild(this.Cd),Rs(this.xd,{id:this.container.id?this.container.id+"-imgfill":"ap-imgfill-"+xe(),patternUnits:"userSpaceOnUse"});var u=this.node.querySelector("defs");u||(u=ls.createElementNS(Gi,"defs"),this.node.appendChild(u)),u.appendChild(this.xd)}o=this.parent.prez().getResource(t,e);if(this.Cd.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),n===yt)if((m=this.parent).Qs.t!==s.ft){if(Rs(this.xd,{width:"100%",height:"100%"}),Rs(this.Cd,{width:"100%",height:"100%",preserveAspectRatio:"none"}),m.Qs.k==i.V&&this.container&&"TD"==this.container.tagName){var f=this.container;Rs(this.xd,{width:parseInt(f.clientWidth)+"px",height:parseInt(f.clientHeight)+"px"}),Rs(this.Cd,{width:parseInt(f.clientWidth)+"px",height:parseInt(f.clientHeight)+"px",preserveAspectRatio:"none"})}}else{var c=m.slide;if(c){var l=-m.node.offsetLeft,d=-m.node.offsetTop,v=c.Uh,p=c.Bh;Rs(this.xd,{x:l+"px",y:d+"px",width:v+"px",height:p+"px"}),Rs(this.Cd,{width:v+"px",height:p+"px",preserveAspectRatio:"none"})}}else if(n===_t){var m;(m=this.parent).Qs.t!==s.ft?(Rs(this.xd,{width:r+"px",height:a+"px"}),Rs(this.Cd,{width:r+"px",height:a+"px",preserveAspectRatio:"none"})):(Rs(this.xd,{x:-m.node.offsetLeft+"px",y:-m.node.offsetTop+"px",width:r+"px",height:a+"px"}),Rs(this.Cd,{width:r+"px",height:a+"px",preserveAspectRatio:"none"}))}if(this.ld)for(var g=0;g<this.ld.length;g++){var M=this.ld[g];switch(M.fillType){case"none":M.element.style.fill="none",M.element.style.fillOpacity=0;break;case"normal":case"lighten":case"lightenLess":case"darken":case"darkenLess":default:M.element.style.fill="url(#"+this.xd.id+")",M.element.style.fillOpacity=1,this.jd(M.element,M.fillType)}}else this.fu&&(this.fu.style.fill="url(#"+this.xd.id+")",this.fu.style.fillOpacity=1)}else this.ud()&&this.Vr()},hv:function(){switch(this.sd){case wt.Et:this.fillNone();break;case wt.Ot:this.fillSolid(this.Fd,this.Hd);break;case wt.It:this.fillLinearGradient(this.Wd,this.Vd,this.$d,this.Kd);break;case wt.Rt:this.fillRadialGradient(this.Wd,this.Qd,this.qd,this.Jd,this.tv);break;case wt.M:this.fillImage(this.iv,this.sv,this.ev,this.nv,this.rv)}},applyEffectShadow:function(t,i,s,e,n,r,a){this.ov=t,this.uv=i,this.cv=s,this.lv=e,this.dv=n,this.vv=r,this.pv=As(e,n,r),this.mv=a,this.Ld();var h,o=s*Ji(i/180*Wi),u=s*ts(i/180*Wi);if(Se.browser.useCSSShadow){h="drop-shadow("+o+"px "+u+"px "+t/3+"px "+As(e,n,r,a)+")";var f=this.parent.node.style,c=f.filter||"",l=f.WebkitFilter||"",d=/drop-shadow\((?:[^()]+|\([^()]*\))*\)/g,v=c.replace(d,"").trim(),p=l.replace(d,"").trim(),m=v?h+" "+v:h,g=p?h+" "+p:h;f.filter=m,f.WebkitFilter=g,Se.browser.safari&&(this.parent.gv=!0,qs(f))}if(this.Xn()){if(Se.browser.useCSSShadow)return;if(this.lf(this.Mv,this.bv),this.shapeNode.removeAttribute("filter"),this.Sd)(M=this.node.querySelector("defs"))&&M.removeChild(this.Sd),delete this.Sd,delete this.Ed,delete this.Od,delete this.Pd,delete this.Id,delete this.Rd;pr&&this.Nd&&(this.shapeNode.removeChild(this.Nd),delete this.Nd),this.Sd=ls.createElementNS(Gi,"filter"),this.Sd.id=this.container.id?this.container.id+"-dropshadow":"ap-dropshadow-"+xe(),this.Ed=ls.createElementNS(Gi,"feFlood"),this.Od=ls.createElementNS(Gi,"feComposite"),this.Pd=ls.createElementNS(Gi,"feOffset"),this.Id=t>0?ls.createElementNS(Gi,"feGaussianBlur"):null,this.Rd=ls.createElementNS(Gi,"feComposite");var M,b=this.Sd;b.appendChild(this.Ed),b.appendChild(this.Od),b.appendChild(this.Pd),t>0&&b.appendChild(this.Id),b.appendChild(this.Rd),(M=this.node.querySelector("defs"))||(M=ls.createElementNS(Gi,"defs"),this.node.appendChild(M)),M.appendChild(b);var w,_,y,k,T=vr(this.node);if(k=this.pu+("miter"==this.od?10:0),T.x-=k,T.y-=k,T.width+=2*k,T.height+=2*k,w={x:T.x-t+o,y:T.y-t+u,width:T.width+2*t,height:T.height+2*t},_=Math.min(T.x,w.x),y=Math.min(T.y,w.y),e=Math.max(T.x+T.width,w.x+w.width),r=Math.max(T.y+T.height,w.y+w.height),pr){this.Nd=ls.createElementNS(Gi,"path");var x=new cr;x.addRect(_,y,e-_,r-y),this.Nd.setAttribute("d",x.path()),this.shapeNode.appendChild(this.Nd)}Rs(this.Sd,{id:this.container.id?this.container.id+"-dropshadow":"ap-dropshadow-"+xe(),filterUnits:Vi,primitiveUnits:Vi,style:"color-interpolation-filters:sRGB",x:_,y:y,width:e-_,height:r-y}),Rs(this.Ed,{result:"flood","flood-color":this.pv,"flood-opacity":this.mv}),Rs(this.Od,{result:"composite1",operator:"in",in2:"SourceGraphic",in:"flood"}),Rs(this.Pd,{result:"offset",in:"composite1",dx:o,dy:u}),this.Id&&Rs(this.Id,{result:"blur",in:"offset",stdDeviation:t/3}),Rs(this.Rd,{result:"composite2",operator:"over",in2:t>0?"blur":"offset",in:"SourceGraphic"}),this.shapeNode.setAttribute("filter","url(#"+this.Sd.id+")")}else this.ud()&&this.Vr()},clearEffectShadow:function(){if(void 0!=this.ov){if(delete this.ov,delete this.uv,delete this.cv,delete this.lv,delete this.dv,delete this.vv,delete this.pv,delete this.mv,Se.browser.useCSSShadow)return this.parent.node.style.WebkitFilter="",this.parent.node.style.filter="",void delete this.parent.gv;if(this.shapeNode.removeAttribute("filter"),this.Sd){var t=this.node.querySelector("defs");t&&t.removeChild(this.Sd),delete this.Sd,delete this.Ed,delete this.Od,delete this.Pd,delete this.Id,delete this.Rd}pr&&this.Nd&&(this.shapeNode.removeChild(this.Nd),delete this.Nd),this.lf(),this.Ld()}},wv:function(){if(void 0==this.ov)this.clearEffectShadow();else{var t=this.parent.js.Qs[this.parent.js.qe].s,i=t?t[1]-this.parent.rotateToSlide():this.uv;this.applyEffectShadow(this.ov,i,this.cv,this.lv,this.dv,this.vv,this.mv)}},lf:function(t,i){if(this.Mv=t,this.bv=i,this.Xn()){if(Se.browser.useCSSShadow)return;if(void 0!=this.Mv&&void 0!=this.ov){this._v||(this._v=ls.createElementNS(Gi,"image"));var s=this._v,e=this.parent.prez().getResource(t,i);this.shapeNode.appendChild(s),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e),Rs(s,{x:"0",y:"0",width:"100%",height:"100%",preserveAspectRatio:"none"}),this.parent.imageNode&&(this.parent.imageNode.style.display="none")}else this._v&&(this.shapeNode.removeChild(this._v),delete this._v,this.parent.imageNode&&(this.parent.imageNode.style.display="block"))}else this.ud()&&this.Vr()},Ld:function(){if(!Se.browser.useCSSShadow){var t,i=void 0!=this.ov&&this.sd==wt.Et,s=this.parent.textContainer;if(s)if(t=s.style,i){var e=this.cv*Math.cos(this.uv/180*Math.PI),n=this.cv*Math.sin(this.uv/180*Math.PI),r=this.pv.substring(4,this.pv.length-1).replace(/ /g,"").split(","),a="rgba("+r[0]+", "+r[1]+", "+r[2]+", "+this.mv+")";t.textShadow=e+"px "+n+"px "+this.ov+"px "+a}else t.textShadow=""}},layout:function(){if(this.Ru(),this.yv){var t=this.parent.node.clientHeight/2;this.parent&&this.parent.textContainer&&(t=this.parent.textContainer.offsetTop+this.parent.textContainer.clientHeight/2),this.yv.translate(0,t)}if(this.sliderThumbPath&&this.updateSlider(this.parent.value()),this.dropdownNode&&this.updateDropdown(),this.kv){var i=this.container.clientHeight;this.kv.translate(0,i/2),this.updateLegend()}this.sd!==wt.It&&this.sd!==wt.Rt&&this.sd!=wt.M||this.hv(),this.wv(),(this.cf||this.ff)&&this.flip(this.cf,this.ff)},remove:function(){this.node&&(this.container.removeChild(this.node),this.node=this.shapeNode=this.bd=this.gd=this.wd=this._d=this.fu=null)},textMargin:function(t,i){var s,e=[0,0,0,0],n=Se.SHAPE_DEFS[this.Ks];return n&&n[1]&&(e=n[1].apply(null,[t,i].concat(this.mu)),this.cf&&(s=e[0],e[0]=e[2],e[2]=s),this.ff&&(s=e[1],e[1]=e[3],e[3]=s)),e},shapeSizeForText:function(t,i){var s=[t,i],e=Se.SHAPE_DEFS[this.Ks];return e&&e[2]&&(s=e[2].apply(null,[t,i].concat(this.mu))),s},createIcon:function(t,i,s,e,n,r,a){this.Xn()||this.Vr(),this.Tv={checked:t,iconSize:i,iconType:s,colorCheckMark:a,colorFill:n,colorBorder:r,borderWidth:e},this.yv||(this.yv={init:function(){this.border=ls.createElementNS(Gi,"path"),this.fill=ls.createElementNS(Gi,"path"),this.mark=ls.createElementNS(Gi,"path")},appendTo:function(t){t.appendChild(this.border),t.appendChild(this.fill),t.appendChild(this.mark)},translate:function(t,i){this.border.setAttribute("transform","translate("+t+","+i+")"),this.fill.setAttribute("transform","translate("+t+","+i+")"),this.mark.setAttribute("transform","translate("+t+","+i+")")}},this.yv.init(),this.yv.appendTo(this.shapeNode))},updateIcon:function(){if(this.yv&&this.Tv){var t=this.parent.Qs.k;t==i.D?this.xv():t==i.Y&&this.Cv()}},xv:function(){var t=this.Tv.iconSize/16,i=this.Tv.iconSize-4*rs(qi(t,1)+.5),s=rs(Qi(-7,-this.Tv.iconSize/4))-2*rs(qi(t,1)+.5),e=i/2,n=new cr;0==this.Tv.colorFill.indexOf("rgba")&&(this.yv.border.style.fillRule="evenodd",n.addRect(-s,-e,i,i)),n.addRect(-s-this.Tv.borderWidth,-e-this.Tv.borderWidth,i+2*this.Tv.borderWidth,i+2*this.Tv.borderWidth),this.yv.border.style.fill=this.Tv.colorBorder,this.yv.border.setAttribute("d",n.path());var r=new cr;if(r.addRect(-s,-e,i,i),this.yv.fill.style.fill=this.Tv.colorFill,this.yv.fill.setAttribute("d",r.path()),this.Tv.checked){24==this.Fu&&(this.Sv==tt?(++e,++s):this.Sv==st&&++e);var a=new cr;switch(this.Tv.iconType){case tt:a.moveTo(2.5*t-s,5*t-e).lineTo(4.5*t-s,7*t-e).lineTo(9.5*t-s,2*t-e).lineTo(11*t-s,3.5*t-e).lineTo(4.5*t-s,10*t-e).lineTo(1*t-s,6.5*t-e);break;case it:a.moveTo(2.5*t-s,5*t-e).lineTo(4.5*t-s,7*t-e).lineTo(14.5*t-s,-3*t-e).lineTo(16*t-s,-1.5*t-e).lineTo(4.5*t-s,10*t-e).lineTo(1*t-s,6.5*t-e);break;case st:a.moveTo(3*t-s,5*t-e).lineTo(4.5*t-s,8*t-e).lineTo(13.5*t-s,-2*t-e).lineTo(16*t-s,-.5*t-e).lineTo(4.5*t-s,11*t-e).lineTo(0*t-s,6.5*t-e)}this.yv.mark.style.fill=this.Tv.colorCheckMark,this.yv.mark.setAttribute("d",a.path())}else this.yv.mark.setAttribute("d","")},Cv:function(){var t,i,s,e=this.Tv.iconSize/16,n=this.Tv.iconSize/2,r=n+qi(rs(this.Tv.iconSize/4),7);switch(this.Tv.iconType){case tt:t=n-2*e,i=n-4*e;break;case it:t=n-2*e,i=n-3*e;break;case st:t=n-2*e,i=n-2*e}s=n-2*e+this.Tv.borderWidth;var a=new cr;0==this.Tv.colorFill.indexOf("rgba")&&(this.yv.border.style.fillRule="evenodd",a.addEllipse(r,0,s-this.Tv.borderWidth,s-this.Tv.borderWidth)),a.addEllipse(r,0,s,s),this.yv.border.style.fill=this.Tv.colorBorder,this.yv.border.setAttribute("d",a.path());var h=new cr;if(h.addEllipse(r,0,t,t),this.yv.fill.style.fill=this.Tv.colorFill,this.yv.fill.setAttribute("d",h.path()),this.Tv.checked){var o=new cr;o.addEllipse(r,0,i,i),this.yv.mark.style.fill=this.Tv.colorCheckMark,this.yv.mark.setAttribute("d",o.path())}else this.yv.mark.setAttribute("d","")},updateSliderProps:function(t,i,s,e,n,r){this.Ev||(this.Ev={sliderValue:0,colorTrack:"",colorThumb:"",colorBorder:"",sliderSize:24,sliderType:nt}),void 0!==t&&(this.Ev.sliderValue=t),void 0!==i&&(this.Ev.colorTrack=i),void 0!==s&&(this.Ev.colorThumb=s),void 0!==e&&(this.Ev.colorBorder=e),void 0!==n&&(this.Ev.sliderSize=n),void 0!==r&&(this.Ev.sliderType=r)},updateSlider:function(t,i,s,e,n,r){this.Xn()||this.Vr(),this.updateSliderProps(t,i,s,e,n,r);var a=this.container.clientWidth,h=this.container.clientHeight,o=[this.Ev.sliderSize,this.Ev.sliderSize];this.gd.style.pointerEvents="none";var u=0;u=.5,this.sliderTrackPath||(this.sliderTrackPath=ls.createElementNS(Gi,"path"),this.sliderTrackPath.style.pointerEvents="none",this.sliderTrackPath.style.strokeWidth=1,this.shapeNode.appendChild(this.sliderTrackPath)),this.sliderTrackPath.style.stroke=this.Ev.colorBorder,this.sliderTrackPath.style.fill=this.Ev.colorTrack;var f=new cr,c=a>3?3:a;f.addRoundedRect(u,h/2-o[0]/6+u,a,o[0]/3,c,c),this.sliderTrackPath.setAttribute("d",f.path()),a<o[0]&&this.Ev.sliderType!=et&&this.sliderTrackPath.setAttribute("d","");var l=this.parent.xu(this.Ev.sliderValue);this.sliderProgressPath||(this.sliderProgressPath=ls.createElementNS(Gi,"path"),this.sliderProgressPath.style.pointerEvents="none",this.sliderProgressPath.style.strokeWidth=0,this.shapeNode.appendChild(this.sliderProgressPath)),this.sliderProgressPath.style.fill=this.Ev.colorThumb;var d=new cr,v=l;this.Ev.sliderType!=et&&(v=l+o[0]/2),c=v>3?3:v,d.addRoundedRect(ns(.5),h/2-o[0]/6+ns(.5),qi(v-1,0),o[0]/3-1,c,c),this.sliderProgressPath.setAttribute("d",d.path()),this.sliderThumbPath||(this.sliderThumbPath=ls.createElementNS(Gi,"path"),this.sliderThumbPath.style.pointerEvents="none",this.sliderThumbPath.style.strokeWidth=1,this.shapeNode.appendChild(this.sliderThumbPath)),this.sliderThumbPath.style.stroke=this.Ev.colorBorder,this.sliderThumbPath.style.fill=this.Ev.colorThumb,this.parent.node.setAttribute("aria-valuenow",this.Ev.sliderValue);var p=l+u,m=new cr;this.Ev.sliderType==nt?m.addEllipse(p+o[0]/2,h/2+u,o[0]/2,o[1]/2):this.Ev.sliderType==rt?(o=[.75*this.Ev.sliderSize,this.Ev.sliderSize],m.addRect(p,h/2-o[1]/2+u,o[0],o[1])):this.Ev.sliderType==at&&(o=[.75*this.Ev.sliderSize,this.Ev.sliderSize],m.moveTo(p,h/2-o[1]/2).lineTo(p,h/2+o[1]/4+u).lineTo(p+o[0]/2,h/2+2*o[1]/3+u).lineTo(p+o[0],h/2+o[1]/4+u).lineTo(p+o[0],h/2-o[1]/2+u).lineTo(p,h/2-o[1]/2+u)),this.sliderThumbPath.setAttribute("d",m.path()),this.handledMousePath||(this.handledMousePath=ls.createElementNS(Gi,"path"),this.handledMousePath.style.pointerEvents="visiblepainted",this.handledMousePath.style.fill="white",this.handledMousePath.style.fillOpacity=0,this.shapeNode.appendChild(this.handledMousePath));var g=new cr;g.addRect(0,0,a,h),this.handledMousePath.setAttribute("d",g.path())},updateDropdownProps:function(t,i,s,e,n,r){this.Ov||(this.Ov={textStyle:"",bgColorArrow:"",colorArrow:"",colorBorder:"",bgColor:"",dropdownType:ht}),void 0!==t&&(this.Ov.textStyle=t),void 0!==i&&(this.Ov.bgColorArrow=i),void 0!==s&&(this.Ov.colorArrow=s),void 0!==e&&(this.Ov.colorBorder=e),void 0!==n&&(this.Ov.bgColor=n),void 0!==r&&(this.Ov.dropdownType=r)},updateDropdown:function(i,s,e,n,r,a,h,o,u){var f;if(this.Xn()||this.Vr(),this.updateDropdownProps(n,r,a,h,o,u),this.dropdownNode)f=this.dropdownNode.style;else{if(this.dropdownNode=ls.createElement("select"),this.dropdownNode.className="ap-select",(f=this.dropdownNode.style).pointerEvents="auto",f.webkitAppearance="none",f.mozAppearance="none",f.position="absolute",f.left="0px",f.top="50%",f.transform="translate(0%, -50%)",f.width="100%",f.textOverflow="ellipsis",f.cursor="inherit",f.marginTop="0px",f.marginBottom="0px",f.paddingTop="1px",f.paddingBottom="1px",-1==e){var c=ls.createElement("option");c.value="",c.text=s,c.selected="selected",c.disabled="disabled",c.hidden="hidden",this.dropdownNode.add(c)}for(var l=0;l<i.length;++l){var d=ls.createElement("option");d.value=i[l],d.text=i[l],this.dropdownNode.add(d)}-1!==e&&(this.dropdownNode.selectedIndex=e),this.node.parentNode.appendChild(this.dropdownNode)}this.dropdownNode.disabled=this.parent.disabled(),this.dropdownNode.disabled&&this.dropdownNode.blur(),f.cssText+=this.Ov.textStyle,f.borderStyle="none",f.backgroundColor="rgba(0,0,0,0)";var v,p=(parseFloat(t(this.dropdownNode).css("font-size"))||16)*(void 0!==this.parent.xo?this.parent.xo/100:1)+"px";f.fontSize=p,this.parent.eh&&this.parent.eo&&(f.position="relative",this.parent.node&&"auto"===this.parent.node.style.height&&$i(this.parent.node.clientHeight-this.dropdownNode.offsetHeight)<1?(f.top="",f.transform=""):(f.top="50%",f.transform="translate(0%, -50%)"));for(l=0;l<this.dropdownNode.childNodes.length;++l)(v=this.dropdownNode.childNodes[l].style).cssText+=this.Ov.textStyle,v.fontSize=p,v.backgroundColor=this.Ov.bgColor;var m=this.dropdownNode.clientWidth,g=this.dropdownNode.clientHeight,M=this.node.clientHeight/2-g/2;this.bgPath||(this.bgPath=ls.createElementNS(Gi,"path"),this.bgPath.style.pointerEvents="none",this.bgPath.style.strokeWidth=1,this.shapeNode.appendChild(this.bgPath)),this.bgPath.style.fill=this.Ov.bgColor,this.bgPath.style.stroke=this.Ov.colorBorder,this.arrowBgPath||(this.arrowBgPath=ls.createElementNS(Gi,"path"),this.arrowBgPath.style.pointerEvents="none",this.arrowBgPath.style.strokeWidth=0,this.arrowBgPath.style.stroke="rgba(0,0,0,0)",this.shapeNode.appendChild(this.arrowBgPath)),this.arrowBgPath.style.fill=this.Ov.bgColorArrow,this.arrowPath||(this.arrowPath=ls.createElementNS(Gi,"path"),this.arrowPath.style.pointerEvents="none",this.arrowPath.style.strokeWidth=2,this.shapeNode.appendChild(this.arrowPath)),this.arrowPath.style.stroke=this.Ov.colorArrow,this.bgLine||(this.bgLine=ls.createElementNS(Gi,"path"),this.bgLine.style.pointerEvents="none",this.bgLine.style.strokeWidth=1,this.shapeNode.appendChild(this.bgLine)),this.bgLine.style.stroke=this.Ov.colorBorder;var b=this.dropdownNode.clientLeft,w=b+m,_=new cr,y=g,k=0,T=m>y?y/2:0,x=0;if(Se.browser.firefox&&(T-=5,x=3),f.paddingRight=y-x+"px",f.paddingLeft=T+"px",(u=this.Ov.dropdownType)==ht)_.addRect(b,M,m,g),(C=new cr).addRect(w-y,M,y,g).closeSubpath(),this.arrowBgPath.setAttribute("d",C.path()),this.bgLine.setAttribute("d",_.path());else if(u==ot){k=y<m?y/8:m/8,_.addRoundedRect(b,M,m,g,k,k),(C=new cr).moveTo(w-y,M).lineTo(w-k,M).arcTo(k,k,w,M+k,!1,!0).lineTo(w,M+g-k).arcTo(k,k,w-k,M+g,!1,!0).lineTo(w-y,M+g).closeSubpath(),this.arrowBgPath.setAttribute("d",C.path()),this.bgLine.setAttribute("d",_.path())}else{var C;k=y<m?y/2:m/2,_.addRoundedRect(b,M,m,g,k,k),(C=new cr).moveTo(w-3*k,M).lineTo(w-k,M).arcTo(k,k,w-k,M+g,!1,!0).lineTo(w-3*k,M+g).lineTo(w-3*k,M).closeSubpath(),this.arrowBgPath.setAttribute("d",C.path()),this.bgLine.setAttribute("d",_.path())}this.bgPath.setAttribute("d",_.path());var S=0,E=0,O=0;u==ht||u==ot?(O=(E=3*y/8)/2,S=y/2-E/2):u==ut&&(O=(E=3*k/4)/2,S=y/2);var P=new cr;P.moveTo(b+m-S,M+g/2-O/2).lineTo(b+m-S-E/2,M+g/2+O/2).lineTo(b+m-S-E,M+g/2-O/2),this.arrowPath.setAttribute("d",P.path())},createLegend:function(t,i,s,e){this.Xn()||this.Vr(),this.Pv={colorFill:i,colorBorder:s,borderWidth:t,lineStyle:e},this.kv||(this.kv={init:function(){this.fill=ls.createElementNS(Gi,"path"),this.border=ls.createElementNS(Gi,"path")},appendTo:function(t){t.appendChild(this.fill),t.appendChild(this.border)},translate:function(t,i){this.fill.setAttribute("transform","translate("+t+","+i+")"),this.border.setAttribute("transform","translate("+t+","+i+")")}},this.kv.init(),this.kv.appendTo(this.shapeNode))},updateLegend:function(){if(this.kv&&this.Pv){var i=parseFloat(t(this.parent.textNode).css("font-size"))||8,s=Qi(qi(8,i),64),e=s-4,n=rs(Qi(-6,-s/4))-2,r=e/2,a=Qi(this.Pv.borderWidth,6),h=new cr;h.addRect(-n,-r,e,e),this.kv.fill.style.fill=this.Pv.colorFill,this.kv.fill.setAttribute("d",h.path());var o=new cr;o.addRect(-n,-r,e,e);var u=this.kv.border.style;if(u.stroke=this.Pv.colorBorder,u.strokeWidth=a,this.Pv.lineStyle){var f=this.Pv.lineStyle;u.strokeLinejoin=f[0],u.strokeLinecap=f[1];var c=0,l=1,d=2,v=3,p="none";switch(f[2]){case c:p="none";break;case l:p="0.01 "+2*a;break;case v:p=2*a+" "+2*a;break;case d:p=2*a+" "+2*a+" 0 "+2*a;break;default:p=f[2]}u.strokeDasharray=p}this.kv.border.setAttribute("d",o.path())}},ud:function(){return(this.Jc||void 0!==this.Ks)&&("none"!==this.vu||this.sd!==wt.Et||!Se.browser.useCSSShadow&&void 0!=this.ov&&void 0!=this.Mv)},Xn:function(){var t=!1;return this.hasArrow()?this.bd&&(t=!0):this.shapeNode&&(t=!0),t},Vr:function(){var t,i=!1;if(!this.node){var e=ls.createElementNS(Gi,"svg");(t=e.style).width="100%",t.height="100%",t.minWidth="10px",t.minHeight="10px",t.position="absolute",t.overflow="visible",t.top=0,t.left=0,this.container.insertBefore(e,this.container.firstChild),this.node=e}if(this.hasArrow())this.bd||(i=!0,this.shapeNode&&this.node.removeChild(this.shapeNode),this.shapeNode=ls.createElementNS(Gi,"g"),this.fu=ls.createElementNS(Gi,"path"),this.fu.style.stroke="none",this.shapeNode.appendChild(this.fu),this.bd=ls.createElementNS(Gi,"g"),this.gd=ls.createElementNS(Gi,"path"),this.gd.style.fill="none",this.bd.appendChild(this.gd),this.wd=ls.createElementNS(Gi,"path"),(t=this.wd.style).strokeLinecap="round",t.strokeLinejoin="miter",this.bd.appendChild(this.wd),this._d=ls.createElementNS(Gi,"path"),(t=this._d.style).strokeLinecap="round",t.strokeLinejoin="miter",this.bd.appendChild(this._d),this.shapeNode.appendChild(this.bd),this.node.appendChild(this.shapeNode));else if(this.Jc&&this.Jc.length){if(!this.bd){if(i=!0,this.shapeNode&&this.node.removeChild(this.shapeNode),this.shapeNode=ls.createElementNS(Gi,"g"),this.fu=ls.createElementNS(Gi,"path"),this.fu.style.stroke="none",this.shapeNode.appendChild(this.fu),this.Jc.length>2){this.Md=[];for(var n=0;n<this.Jc.length;++n)if(!(n<2)){var r=this.Jc[n];if(r){var a=ls.createElementNS(Gi,"path");a.style.fill=r.f,a.style.stroke="none",this.shapeNode.appendChild(a),this.Md.push(a)}}}this.gd=ls.createElementNS(Gi,"path"),this.gd.style.fill="none",this.shapeNode.appendChild(this.gd),this.node.appendChild(this.shapeNode)}}else if(!this.shapeNode){i=!0,this.shapeNode=ls.createElementNS(Gi,"g");var h=Se.SHAPE_DEFS[this.Ks];if(h&&h[0]){var o=this.container.clientWidth||100,u=this.container.clientHeight||100,f=new cr,c=h[0].apply(f,[0,0,o,u].concat(this.mu));if(c&&c.multiplePaths){if(c.fillPaths&&c.fillPaths.length){this.ld=[];for(n=0;n<c.fillPaths.length;n++){var l=ls.createElementNS(Gi,"path");l.style.stroke="none",this.shapeNode.appendChild(l),this.ld.push({element:l,fillType:c.fillPaths[n].fill})}this.fu=this.ld[0].element}else this.fu=ls.createElementNS(Gi,"path"),this.fu.style.stroke="none",this.shapeNode.appendChild(this.fu);if(c.linePaths&&c.linePaths.length){this.vd=[];for(n=0;n<c.linePaths.length;n++){var d=ls.createElementNS(Gi,"path");d.style.fill="none",this.shapeNode.appendChild(d),this.vd.push({element:d,strokeType:c.linePaths[n].stroke})}this.gd=this.vd[0].element}else this.parent.Qs.t==s.ft?(this.gd=ls.createElementNS(Gi,"path"),this.shapeNode.appendChild(this.gd)):this.gd=this.fu}else this.fu=ls.createElementNS(Gi,"path"),this.shapeNode.appendChild(this.fu),this.parent.Qs.t==s.ft?(this.gd=ls.createElementNS(Gi,"path"),this.shapeNode.appendChild(this.gd)):this.gd=this.fu}this.node.appendChild(this.shapeNode)}i&&((t=this.shapeNode.style).pointerEvents="visiblePainted",t.strokeMiterlimit=10,t.fill=t.stroke="none",(this.cf||this.ff)&&this.flip(this.cf,this.ff),this.Ru(),void 0!==this.od&&this.lineJoin(this.od),void 0!==this.hd&&this.lineCap(this.hd),this.lineWidth(this.pu),this.lineColor(this.nd,this.ad),this.lineStyle(this.vu),this.hv(),this.wv())},hasArrow:function(){return this.Iv()&&(this.Yd&&this.Yd.type!==ct.NONE||this.Xd&&this.Xd.type!==ct.NONE)},Iv:function(){return this.Jc&&this.Jc.length>0&&this.Jc[1]&&this.Jc[1].length>1&&this.pu},hf:function(){var t=this.container.clientWidth,i=this.container.clientHeight,e=new cr,n={fill:"",line:"",startArrow:"",startArrowTransform:"",endArrow:"",endArrowTransform:""};if(!t&&!i)return n;if(Se.browser.chromiums&&this.parent.Qs.t==s.ft){var r=this.slide.offsetSize(),a=qi(ns(r.width/10),t);a%2==1&&++a,this.node.style.width=a+"px",(a=qi(ns(r.height/10),i))%2==1&&++a,this.node.style.height=a+"px"}if(this.Jc){var h=this.Jc;if(void 0===h.w){var o=function(t){var i=new cr,s=ls.createElementNS(Gi,"svg"),e=ls.createElementNS(Gi,"path"),n=s.style;n.position="absolute",n.top=n.left="-10000px",n.visibility="hidden";for(var r=0,a=t.length;r<a;++r){var h=t[r];h&&gr(i,h)}e.setAttribute("d",i.path()),s.appendChild(e),ls.body.appendChild(s);var o=vr(e);return ls.body.removeChild(s),o}(h);h.w=o.width,h.h=o.height}n.w===t&&n.h===i||(h=function(t,i,s){for(var e=[],n=0,r=t.length;n<r;++n){var a=t[n];if(a){var h=Mr(a,i,s);e.push(h)}}return e}(h,h.w?t/h.w:1,h.h?i/h.h:1));for(var u=0,f=h.length;u<f;++u){e.clear();var c,l,d,v,p,m,g=h[u];1==u&&this.Iv()&&(this.Yd&&this.Yd.type!==ct.NONE&&(c=g[0].slice(),d=es(c[5]-c[1],c[4]-c[0]),(m=new cr).addMarker(this.Yd.type,this.Yd.size,this.pu),n.startArrow=m.path(),n.startArrowTransform="translate("+c[0]+","+c[1]+") rotate("+180*d/Wi+")",v=br(this.Yd.type,this.Yd.size,this.pu),g[0][0]+=v*Ji(d),g[0][1]+=v*ts(d)),this.Xd&&this.Xd.type!==ct.NONE&&(l=g[p=g.length-1].slice(),d=es(l[3]-l[1],l[2]-l[0]),(m=new cr).addMarker(this.Xd.type,this.Xd.size,this.pu),n.endArrow=m.path(),n.endArrowTransform="translate("+l[0]+","+l[1]+") rotate("+180*d/Wi+")",v=br(this.Xd.type,this.Xd.size,this.pu),g[p][0]+=v*Ji(d),g[p][1]+=v*ts(d))),gr(e,g),c&&(g[0]=c),l&&(g[p]=l),1==u&&(n.line=e.path()),(c||l)&&(e.clear(),gr(e,g)),0==u&&(n.fill=e.path()),u>=2&&(n.decorators||(n.decorators=[]),n.decorators.push(e.path()))}}else{var M=Se.SHAPE_DEFS[this.Ks];if(M&&M[0]){var b;if(this.Dd()){var w="none"!==this.vu?this.pu:0,_=w%2==0?0:1,y=rs(w/2);b=M[0].apply(e,[-y-_,-y-_,t+2*y+_,i+2*y+_].concat(this.mu))}else b=M[0].apply(e,[0,0,t,i].concat(this.mu));if(b&&b.multiplePaths){if(b.fillPaths&&b.fillPaths.length?(n.fillPaths=b.fillPaths,n.fill=b.fillPaths[0].path):n.fill=b.fill||"",b.linePaths&&b.linePaths.length){n.linePaths=b.linePaths;var k="";for(u=0;u<b.linePaths.length;u++)k+=" "+b.linePaths[u].path;n.line=k}else n.line=b.line||n.fill;if(b.decorators&&b.decorators.length){n.decorators=[];for(u=0;u<b.decorators.length;u++)n.decorators.push(b.decorators[u].path)}}else n.fill=n.line=e.path()}}return n},Ru:function(){var t=this.hf();if(this.ld&&t.fillPaths)for(var e=0;e<this.ld.length&&e<t.fillPaths.length;e++)this.ld[e].element.setAttribute("d",t.fillPaths[e].path);else if(this.fu){var n=this.parent;if(n.Qs.t===s.ft){var r=this.slide;if(r){var a={x:-n.node.offsetLeft-1,y:-n.node.offsetTop-1,width:r.Uh+2,height:r.Bh+2};this.cf&&(a.x=-(r.Uh-n.node.offsetLeft-n.node.offsetWidth)-1),this.ff&&(a.y=-(r.Bh-n.node.offsetTop-n.node.offsetHeight)-1);var h=new cr;h.addRect(a.x,a.y,a.width,a.height),t.fill&&(t.fill+=h.path())}}12===this.Ks||this.Md&&this.Md.length||(this.fu.style.fillRule="evenodd"),this.fu.setAttribute("d",t.fill)}if(this.vd&&t.linePaths)for(e=0;e<this.vd.length&&e<t.linePaths.length;e++)this.vd[e].element.setAttribute("d",t.linePaths[e].path);else this.gd!==this.fu&&this.gd.setAttribute("d",t.line);if(this.wd&&(this.wd.setAttribute("d",t.startArrow),t.startArrowTransform?this.wd.setAttribute("transform",t.startArrowTransform):this.wd.removeAttribute("transform")),this._d&&(this._d.setAttribute("d",t.endArrow),t.endArrowTransform?this._d.setAttribute("transform",t.endArrowTransform):this._d.removeAttribute("transform")),this.parent.Qs.k==i.H&&this.cu){var o=this.cu.querySelector("rect"),u="none"!==this.vu?this.pu:0,f=u%2==0?0:1,c=rs(u/2),l=this.container.clientWidth,d=this.container.clientHeight;o&&(o.setAttribute("x",-u),o.setAttribute("y",-u),o.setAttribute("width",l+2*u),o.setAttribute("height",d+2*u));var v=this.cu.querySelector("path");if(v){var p=new cr,m=Se.SHAPE_DEFS[this.Ks],g=this.parent.Qs.tmp.duration,M=(this.parent.Qs.tmp.countdown?g-this.parent.au:this.parent.au)/g;l=l-2*c-2*f,d=d-2*c-2*f;m&&m[0]&&(m[0].apply(p,[l*M+f+c,c+f,l-l*M,d].concat(this.mu)),v.setAttribute("d",p.path()))}}if(this.Md&&this.Md.length>0&&t.decorators&&t.decorators.length==this.Md.length)for(e=0;e<this.Md.length;++e)this.Md[e].setAttribute("d",t.decorators[e])},Dd:function(){var t=this.parent.Qs.k;return t==i.M&&0==this.Ks||t==i.X||t==i.K||t==i.G||t==i.V},offsetPosition:function(){return{x:0,y:0}},offsetSize:function(){return this.node?this.parent.offsetSize():{width:0,height:0}},contentBox:function(){if(!this.node)return{x:0,y:0,width:0,height:0};var t=vr(this.node),i=(this.pu||0)/2*("miter"===this.od?10:1);if(i&&(t.x-=i,t.y-=i,t.width+=2*i,t.height+=2*i),void 0!==this.ov){var s=this.cv*Ji(this.uv/180*Wi),e=this.cv*ts(this.uv/180*Wi),n=this.ov,r={x:t.x+s-n,y:t.y+e-n,width:t.width+2*n,height:t.height+2*n},a=t.x+t.width,h=t.y+t.height;t.x=Qi(t.x,r.x),t.y=Qi(t.y,r.y),t.width=qi(a,r.x+r.width)-t.x,t.height=qi(h,r.y+r.height)-t.y}return t},transformedContentBox:function(t){var i=t?this.rotateToSlide():this.rotate();return this.rotatedContentBox(i,t)}});function gr(t,i){var s,e,n,r,a=null;for(n=0,r=i.length;n<r;++n)(s=i[n])[6]&&1==s[6]||0===n?(t.moveTo(s[0],s[1]),a=s):t.cubicTo(e[4],e[5],s[2],s[3],s[0],s[1]),s[6]&&2==s[6]&&(a&&(t.cubicTo(s[4],s[5],a[2],a[3],a[0],a[1]),a=null),t.closeSubpath()),e=s}function Mr(t,i,s){var e,n,r,a,h,o=[],u=qe.scaleNonUniform(i,s);for(n=0,r=t.length;n<r;++n)a=[],h=tn(u,(e=t[n])[0],e[1]),a[0]=h.x,a[1]=h.y,h=tn(u,e[2],e[3]),a[2]=h.x,a[3]=h.y,h=tn(u,e[4],e[5]),a[4]=h.x,a[5]=h.y,a[6]=e[6],o[n]=a;return o}function br(t,i,s){var e=i%3,n=(0===e?2:1===e?3:5)*s;switch(t){case ct.ARROW:case ct.OPEN:case ct.STEALTH:return i<3?2.5*n/4:2*n/4;default:return 0}}var wr={FPS:60,INTERVAL:16,time:0,syncTimes:[],timerId:null,isRunning:function(){return!!this.timerId},start:function(){this.stop(),_r()},stop:function(){this.timerId&&(cancelAnimationFrame(this.timerId),this.timerId=null)},now:function(){var t=this.syncTimes;return t.length?t[t.length-1]:this.time},updateTime:function(){this.syncTimes.length=0,this.time=Date.now()},pushSync:function(t){this.syncTimes.push(t)},popSync:function(){this.syncTimes.pop()},adjustLag:function(){}};function _r(){wr.updateTime(),wr.timerId=requestAnimationFrame(_r),Se.tick(wr.time)}var yr={linear:function(t){return t},inQuad:function(t){return t*t},doubleInQuad:function(t){return t*t*t*t*t*t},outQuad:function(t){return-t*(t-2)},inOutQuad:function(t){return t<.5?2*t*t:2*t*(2-t)-1},inBounce:function(t){yr.outBounce(1-t)},outBounce:function(t){return 1===t?1:t<4/11?7.5625*t*t:t<8/11?7.5625*(t-=6/11)*t+.75:t<10/11?7.5625*(t-=9/11)*t+.9375:7.5625*(t-=21/22)*t+.984375}},kr={Rv:0,Nv:1,Av:2,Dv:3,_h:4,Yv:5,Xv:6,Lv:7},Tr=ie({$init:function(t,i){this.s=t,this.d=i-t},resolveRelative:function(t,i,s,e){var n,r;switch(t){case kr.Nv:n=i,r=s;break;case kr.Av:n=i,r=i+s;break;case kr.Dv:n=s,r=i;break;case kr._h:n=i-s,r=i;break;case kr.Yv:n=i+s,r=i+e;break;case kr.Xv:case kr.Lv:n=i*s,r=i*e;break;default:n=s,r=e}this.$init(n,r)},value:function(t){return this.s+this.d*t}}),xr={_default:function(t,i){return new Tr(t,i)}};function Cr(t,i){return void 0===xr[i]&&(xr[i]=t,!0)}function Sr(t){return(xr[t]||xr._default).apply(null,Array.prototype.slice.call(arguments,1))}var Er=ie(Tr,{$init:function(t,i){this.s=t,this.e=void 0===i?t:i},value:function(t){return t<1?this.s:this.e}});function Or(t,i,s){var e=s*s,n=e*s,r=1-s,a=r*r,h=a*r,o=3*a*s,u=3*r*e;return{x:h*t[0]+o*t[4]+u*i[2]+n*i[0],y:h*t[1]+o*t[5]+u*i[3]+n*i[1]}}function Pr(t,i,s,e,n){var r=rs(s[e].t),a=(s[e].t+s[e+1].t)/2-r,h=Or(t,i,a),o={x:s[e].x,y:s[e].y},u={x:s[e+1].x,y:s[e+1].y},f=0;return(Ir(h,{x:(o.x+u.x)/2,y:(o.y+u.y)/2})>n||Ir(o,u)>4*n)&&(h.t=r+a,s.splice(e+1,0,h),f=1+Pr(t,i,s,e+1,n),f+=Pr(t,i,s,e,n)),f}function Ir(t,i){var s=i.x-t.x,e=i.y-t.y;return Ki(s*s+e*e)}Cr(function(t,i){return new Er(t,i)},ti.ys);var Rr=ie(Tr,{$init:function(t,i){this.Fv=i||{translateX:0,translateY:0},this.points(t)},value:function(t){var i=this.Hv(t),s=rs(i),e=this.Uv,n=e.length-2;s<0?(s=0,i=0):(s>n&&(s=n),(i-=s)>1&&(i=1));var r,a,h,o,u,f,c,l,d,v=Or(e[s],e[s+1],i),p=i;return p<1e-6?p=1e-6:p>.999999&&(p=.999999),o=e[s],u=e[s+1],c=(f=p)*f,a={x:3*(d=(l=1-f)*l)*(o[4]-o[0])+6*l*f*(u[2]-o[4])+3*c*(u[0]-u[2]),y:3*d*(o[5]-o[1])+6*l*f*(u[3]-o[5])+3*c*(u[1]-u[3])},180*es(a.y,a.x)/Wi,(t<0||t>1)&&(r=Ki(a.x*a.x+a.y*a.y))>0&&(h=t>1?t-1:t,v.x+=h*this.Bv*a.x/r,v.y+=h*this.Bv*a.y/r),{translateX:v.x+this.Fv.translateX,translateY:v.y+this.Fv.translateY}},points:function(t){t&&t.length||(t=[[0,0,0,0,0,0]]),1===t.length&&(t[1]=t[0]),this.Uv=t,this.Zv(),this.zv()},Zv:function(){this.td=[];var t,i,s,e,n=this.Uv,r=n.length-1,a=this.td;for(t=0;t<r;++t)for(i=0;i<4;++i)s=i/4,(e=Or(n[t],n[t+1],s)).t=t+s,a.push(e);for(r>=0&&a.push({x:n[r][0],y:n[r][1],t:r}),t=r-1;t>=0;--t)for(i=3;i>=0;--i)Pr(n[t],n[t+1],a,4*t+i,2)},zv:function(){var t,i=this.td,s=0,e=i.length-1;for(t=0;t<e;++t)i[t].l=s,s+=Ir(i[t],i[t+1]);e>=0&&(i[e].l=s),this.Bv=s,this.Gv=[];var n,r,a=this.Gv,h=s;for(this.Vv=10,t=0,s=0;t<e;)if(i[t+1].l<s)++t;else if(n=i[t],r=i[t+1],a.push({l:s,t:r.l>n.l?n.t+(s-n.l)*(r.t-n.t)/(r.l-n.l):n.t}),(s+=10)>h)break;0===a.length&&a.push({l:0,t:0}),e>=0&&(a.length<2||a[a.length-1].t<i[e].t)&&a.push({l:h,t:i[e].t})},Hv:function(t){var i,s,e,n,r=t*this.Bv,a=this.Gv,h=a.length;return 0===h?i=0:1===h?i=a[0].t:(e=a[s=this.Vv>0?Qi(qi(0,rs(r/this.Vv)),h-2):0],i=(n=a[s+1]).l>e.l?e.t+(r-e.l)*(n.t-e.t)/(n.l-e.l):e.t),i}});Cr(function(t,i){return new Rr(t,i)},ti.ks);var Nr=ie(Tr,{$init:function(t){this.Wv=t||""},value:function(t){var i=this.Wv;if(t>=0||t<=1){var s=i.length,e=s*t;e>s&&(e=s),i=i.substring(0,e)}return i}});Cr(function(t){return new Nr(t)},ti.Ts);var Ar=ie(Tr,{$init:function(t,i){this.$v=t||[],this.Kv=i||[]},value:function(t){for(var i=[],s=this.$v,e=this.Kv,n=0,r=s.length;n<r;++n){for(var a=s[n],h=e[n],o=[],u=0,f=a.length;u<f;++u)u<3&&(a[u]=a[u]<0?0:a[u]>255?255:a[u],h[u]=h[u]<0?0:h[u]>255?255:h[u]),3==u&&(a[u]=a[u]<0?0:a[u]>1?1:a[u],h[u]=h[u]<0?0:h[u]>1?1:h[u]),o.push(a[u]+(h[u]-a[u])*t);i.push(o)}return i}});Cr(function(t,i){return new Ar(t,i)},ti.xs);var Dr=ie(Tr,{$init:function(t,i,s){var e,n,r,a;if(this.jv=[],this.Qv=[],t&&i)for(s||(t=[t],i=[i]),this.jv=t,e=0,n=Qi(t.length,i.length);e<n;++e){var h=t[e],o=i[e],u=[];for(r=0,a=Qi(h.length,o.length);r<a;++r)u.push([o[r][0]-h[r][0],o[r][1]-h[r][1]]);this.Qv.push(u)}},value:function(t){for(var i=this.jv,s=this.Qv,e=[],n=0,r=s.length;n<r;++n){for(var a=i[n],h=s[n],o=[],u=0,f=h.length;u<f;++u)o.push([a[u][0]+h[u][0]*t,a[u][1]+h[u][1]*t]);e.push(o)}return e}});Cr(function(t,i,s){return new Dr(t,i,s)},ti.Cs);var Yr=ie(Tr,{$init:function(t,i){var s,e;if(this.qv=t||[],this.Jv=[],t&&i)for(s=0,e=Qi(t.length,i.length);s<e;++s)this.Jv.push(i[s]-t[s])},value:function(t){var i,s,e=this.qv,n=this.Jv,r=[];for(i=0,s=n.length;i<s;++i)r.push(e[i]+n[i]*t);return r}});function Xr(t){return ys(t.translateX,0)&&ys(t.translateY,0)&&ys(t.rotate,0)&&ys(t.scaleX,1)&&ys(t.scaleY,1)}function Lr(i){var s=t(i).css("transform");return"none"!=s&&"matrix"!=s.substr(0,6)&&(bs.parentNode||ls.body.appendChild(bs),bs.style.display="block",bs.style[Bs]=s,s=t(bs).css("transform"),bs.parentNode&&bs.parentNode.removeChild(bs)),s}Cr(function(t,i){return new Yr(t,i)},ti.Ss);var Fr={transform:{children:["translateX","translateY","rotate","scaleX","scaleY"],get:function(t){var i,s,e,n=rn(t),r={translateX:0,translateY:0,rotate:0,scaleX:1,scaleY:1},a=Lr(t.node);if("matrix("==a.substr(0,7)||(i="matrix3d("==a.substr(0,9))){for(s=0,e=(a=a.substring(i?9:7,a.length-1).split(",")).length;s<e;++s)a[s]=parseFloat(a[s]);i&&(a[2]=a[4],a[3]=a[5],a[4]=a[12],a[5]=a[13]),r.translateX=a[4]||0,r.translateY=a[5]||0,r.scaleX=Ki(a[0]*a[0]+a[1]*a[1]),0===r.scaleX?(r.scaleY=Ki(a[2]*a[2]+a[3]*a[3]),0===r.scaleY?r.rotate=0:r.rotate=180*es(-a[2],a[3])/Wi):(r.scaleY=(a[0]*a[3]-a[1]*a[2])/r.scaleX,r.rotate=180*es(a[1],a[0])/Wi)}return an(n),r},set:function(t,i){if(t.slide&&t.slide._r(),i&&typeof i!=zi){if(Xr(i)&&!t.gv)i="";else if(Se.forceGPU||t.gv)i=Zs+"("+i.translateX+"px, "+i.translateY+"px, 0px) rotate("+i.rotate+"deg) scale("+i.scaleX+", "+i.scaleY+")";else{var s=ts(i.rotate*Wi/180),e=Ji(i.rotate*Wi/180);i="matrix("+i.scaleX*e+", "+i.scaleX*s+", "+-i.scaleY*s+", "+i.scaleY*e+", "+i.translateX+", "+i.translateY+")"}t.node.style[Bs]=i}else t.gv?qs(t.node.style,i):t.node.style[Bs]=i;t.slide&&t.slide.yr()}},transform3d:{children:["translate3dX","translate3dY","translate3dZ","rotate3dX","rotate3dY","rotate3dZ","scale3dX","scale3dY","scale3dZ"],get:function(t){var i,s,e={translate3dX:0,translate3dY:0,translate3dZ:0,rotate3dX:0,rotate3dY:0,rotate3dZ:0,scale3dX:1,scale3dY:1,scale3dZ:1},n=Lr(t.node);if("matrix3d("==n.substr(0,9)){for(i=0,s=(n=n.substring(9,n.length-1).split(",")).length;i<s;++i)n[i]=parseFloat(n[i]);e.translate3dX=n[12]||0,e.translate3dY=n[13]||0,e.translate3dZ=n[14]||0,e.scale3dX=Ki(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]),e.scale3dY=Ki(n[4]*n[4]+n[5]*n[5]+n[6]*n[6]),e.scale3dZ=Ki(n[8]*n[8]+n[9]*n[9]+n[10]*n[10]);var r=180/Wi;e.rotate3dY=-is(_s(n[2],-1,1))*r,$i(n[2])<.99999?(e.rotate3dX=es(-n[6],n[10])*r,e.rotate3dZ=es(-n[1],n[0])*r):(e.rotate3dX=es(n[9],n[5])*r,e.rotate3dZ=0)}return e},set:function(t,i){i="translate3d("+i.translate3dX+"px, "+i.translate3dY+"px, "+i.translate3dZ+"px) scale3d("+i.scale3dX+", "+i.scale3dY+", "+i.scale3dZ+") rotateX("+i.rotate3dX+"deg) rotateY("+i.rotate3dY+"deg) rotateZ("+i.rotate3dZ+"deg)",t.node.style[Bs]=i}},resetTransform:{order:1e3,get:function(i){return t(i.node).css("transform")},set:function(t,i){t.node.style[Bs]=i},add:function(t,i){return i},rawProp:function(t){return["transform",{translateX:0,translateY:0,rotate:0,scaleX:1,scaleY:1}]},tween:ti.ys},resetTransform3d:{order:1e3,get:function(i){return t(i.node).css("transform")},set:function(t,i){t.node.style[Bs]=i},add:function(t,i){return i},rawProp:function(t){return["transform3d",{translate3dX:0,translate3dY:0,translate3dZ:0,rotate3dX:0,rotate3dY:0,rotate3dZ:0,scale3dX:1,scale3dY:1,scale3dZ:1}]},tween:ti.ys},position:{base:"transform",children:["translateX","translateY"],tween:ti.ks},translateX:{base:"transform"},translateY:{base:"transform"},rotate:{base:"transform"},translate3dX:{base:"transform3d"},translate3dY:{base:"transform3d"},translate3dZ:{base:"transform3d"},rotate3dX:{base:"transform3d"},rotate3dY:{base:"transform3d"},rotate3dZ:{base:"transform3d"},scale3dX:{base:"transform3d"},scale3dY:{base:"transform3d"},scale3dZ:{base:"transform3d"},transformOrigin:{children:["transformOriginX","transformOriginY","transformOriginZ"],get:function(i){for(var s={transformOriginX:0,transformOriginY:0,transformOriginZ:0},e=t(i.node).css(zs),n=0,r=(e=e.substring(0,e.length-1).split(" ")).length;n<r;++n)e[n]=parseFloat(e[n]);return s.transformOriginX=e[0]||0,s.transformOriginY=e[1]||0,s.transformOriginZ=e[2]||0,s},set:function(t,i){t.node.style[zs]=i.transformOriginX+"px "+i.transformOriginY+"px "+i.transformOriginZ+"px"}},transformOriginX:{base:"transformOrigin"},transformOriginY:{base:"transformOrigin"},transformOriginZ:{base:"transformOrigin"},scaleX:{base:"transform",add:function(t,i){return t*i}},scaleY:{base:"transform",add:function(t,i){return t*i}},opacity:{get:function(i){return t(i.node).css("opacity")},set:function(t,i){t.node.style.opacity=i},add:function(t,i){return t*i}},resetOpacity:{order:1e3,get:function(i){return t(i.node).css("opacity")},set:function(t,i){t.node.style.opacity=i},add:function(t,i){return i},rawProp:function(t){return typeof t==zi&&(t=parseFloat(t),isNaN(t)&&(t=1)),["opacity",t]},tween:ti.ys},zIndex:{get:function(i){return t(i.node).css("z-index")},set:function(t,i){t.node.style.zIndex=i}},perspective:{get:function(i){return i.node.parentNode?t(i.node.parentNode).css(Gs):0},set:function(t,i){t.node.parentNode&&(t.node.parentNode.style[Gs]=i+"px")}},perspectiveOrigin:{children:["perspectiveOriginX","perspectiveOriginY"],get:function(i){var s,e={perspectiveOriginX:0,perspectiveOriginY:0};if(i.node.parentNode){for(var n=0,r=(s=(s=t(i.node.parentNode).css(Vs)).substring(0,s.length-1).split(" ")).length;n<r;++n)s[n]=parseFloat(s[n]);e.perspectiveOriginX=s[0]||0,e.perspectiveOriginY=s[1]||0}return e},set:function(t,i){var s=t.node.parentNode;s&&(s.style[Vs]=i.perspectiveOriginX+"px "+i.perspectiveOriginY+"px")}},perspectiveOriginX:{base:"perspectiveOrigin"},perspectiveOriginY:{base:"perspectiveOrigin"},display:{get:function(i){return t(i.node).css("display")},set:function(i,s){i.Ro?(i.No=s,s=i.hideProp?i.hideProp():"none",i.No==s&&delete i.No):delete i.No,i.node.style.display=s;var e=i.hideProp?i.hideProp():"none";s==e&&ls.activeElement&&(i.node==ls.activeElement||t.contains(i.node,ls.activeElement))&&ls.activeElement.blur(),i.Lr&&i.Lr(),i.rh&&i.rh(),s==e&&i.ia&&i.ia.Lc&&i.ia.Lc()},add:function(t,i){return i},tween:ti.ys},resetClip:{order:1e3,get:function(i){return t(i.node).css($s)},set:function(t,i){t.node.style[$s]=i}},clip:{order:1,children:["clipTop","clipRight","clipBottom","clipLeft"],get:function(i){var s,e,n,r,a=t(i.node).css($s);if(a.substr(0,Qs.length)===Qs)a=a.substring(Qs.length,a.length-1).split(" "),s=parseFloat(a[0]),1==a.length?e=n=r=s:(e=parseFloat(a[1]),2==a.length?(n=s,r=e):(n=parseFloat(a[2]),r=3==a.length?e:parseFloat(a[3])));else{var h=i.contentBox&&i.contentBox();h||(h={x:0,y:0,width:i.node.offsetWidth,height:i.node.offsetHeight}),s=h.y,e=(r=h.x)+h.width,n=s+h.height,Ms.clipPath&&(e=i.node.offsetWidth-e,n=i.node.offsetHeight-n)}return{clipTop:s,clipRight:e,clipBottom:n,clipLeft:r}},set:function(t,i){t.node.style[$s]=i&&typeof i!==zi?Qs+i.clipTop+"px "+i.clipRight+"px "+i.clipBottom+"px "+i.clipLeft+"px)":i}},clipTop:{base:"clip"},clipRight:{base:"clip"},clipBottom:{base:"clip"},clipLeft:{base:"clip"},ccNode:{get:function(i){return t(i.textNode).html()||""},set:function(i,s){s=s||"",i.textNode&&(t(i.textNode).html(s),i.nu=s,i.onResized&&i.onResized(0,0))}},src:{get:function(i){return t(i.node).attr("src")||""},set:function(i,s){t(i.node).attr("src",s||"")}},ceProgress:{get:function(t){return t.za},set:function(t,i){t.za=i,Hn.renderMouseEffect(t.node.getContext("2d"),t.Ga,t.Wa,t.$a,i/100,t.Va,t.Ka)}},geProgress:{get:function(t){return t.bf},set:function(i,s){if(i.bf=s,i.wf){var e=i.wf,n=e.getContext("2d"),r=i.Qs.ge.type,a=t(e).attr("width"),h=t(e).attr("height"),o=Math.round(a/2),u=Math.round(h/2),f=As(i.Qs.ge.color),c=s/100;Hn.renderGestureEffect(n,r,o,u,c,f)}},add:function(t,i){return i}},width:{get:function(i){return t(i.node).css("width")},set:function(t,i){t.node.style.width=i+"px"}},height:{get:function(i){return t(i.node).css("height")},set:function(t,i){t.node.style.height=i+"px"}},left:{get:function(i){return t(i.node).css("left")},set:function(t,i){t.node.style.left=i+"px"}},top:{get:function(i){return t(i.node).css("top")},set:function(t,i){t.node.style.top=i+"px"}},mediaSrc:{get:function(t){if(t.ia)return t.ia.Ac()},set:function(t,i){t.ia&&t.ia.loadResource(i)},add:function(t,i){return i},tween:ti.ys},mediaDuration:{get:function(t){if(t.ia)return t.ia.Nc()},set:function(t,i){t.ia&&t.ia.Jr(i)},add:function(t,i){return i},tween:ti.ys},mediaState:{get:function(t){return t.ia?t.ia.js():"stopped"},set:function(t,i){t.ia&&t.ia.js(i)},add:function(t,i){return i},tween:ti.ys},mediaSeek:{get:function(t){return t.ia?t.ia.Sf():0},set:function(t,i){t.ia&&t.ia.Sf(i)},add:function(t,i){return i}},text:{get:function(t){return t.html?t.html():""},set:function(t,i){i=i||"",t.html&&t.html(i)},add:function(t,i){return i}},timerState:{get:function(t){return t.ou||!1},set:function(t,i){i&&!t.uu&&(t.uu=!0,(!t.enabled||t.enabled())&&t.startTimer&&t.startTimer())},add:function(t,i){return i},tween:ti.ys},svgOpacity:{get:function(t){return t.shape&&t.shape.shapeNode?t.shape.shapeNode.style.opacity:-1},set:function(t,i){t.shape&&t.shape.shapeNode&&(t.shape.shapeNode.style.opacity=i)}},authorVideoRatio:{get:function(t){return t.aspectRatio&&t.aspectRatio()},set:function(t,i){t.aspectRatio&&t.aspectRatio(i)},order:-1},backgroundColor:{get:function(i){return t(i.node).css("backgroundColor")},set:function(t,i){t.node.style.backgroundColor=i},add:function(t,i){return i}},textDecoration:{get:function(i){return t(i.node).css("textDecoration")},set:function(t,i){t.node.style.textDecoration=i},add:function(t,i){return i}},listStyleType:{get:function(i){return t(i.node).css("listStyleType")},set:function(t,i){t.node.style.listStyleType=i},add:function(t,i){return i},tween:ti.ys},gradientMaskImage:{children:["gradientType","gradientDirection","gradColorStops"],get:function(i){var s={gradientType:"linear-gradient",gradientDirection:"to right",gradColorStops:[]},e=t(i.node).css(Ks);if("none"==e||""==e)return s;s.gradientType=e.substring(0,e.indexOf("(")-1);for(var n=0,r=(e=e.substring(e.indexOf("(")+1,e.lastIndexOf(")")).split(/,(?![^(]*\))(?![^"']*["'](?:[^"']*["'][^"']*["'])*[^"']*$)/)).length;n<r;++n)if(0!==n)for(var a=e[n].split(" "),h=0,o=a.length;h<o;++h){var u=[];if(0!==h)u.push(a[h]),s.gradColorStops.push(u);else{var f=a[h].substring(a[h].indexOf("(")+1,a[h].lastIndexOf(")")).split(",");u.push(f[0]||0),u.push(f[1]||0),u.push(f[2]||0),u.push(f[3]||0)}}else s.gradientDirection=e[n];return s},set:function(t,i){var s;if(""==i.gradientType||""==i.gradientDirection||0==i.gradColorStops.length)s="";else{s=i.gradientType+"("+i.gradientDirection+", ";for(var e=i.gradColorStops,n=0,r=e.length;n<r;++n)s+="rgba("+e[n][0]+","+e[n][1]+","+e[n][2]+","+e[n][3]+") "+e[n][4]+"%",s+=n!==r-1?", ":"";s+=")"}if(t instanceof fr||!t.shape&&!t.shapeNode||t.shapeNode||t.html==On)t.node.style[Ks]=s;else{var a=t.contentBox(),h=a.width,o=a.height;for(n=0;n<t.node.childNodes.length;++n){var u=t.node.childNodes[n];u.isSameNode(t.textContainer)&&(u=t.textContainer.childNodes[0]),u.style.webkitMaskSize=h+"px "+o+"px",u.style.webkitMaskPosition="50% 50%",u.style[Ks]=s}}}},gradientType:{base:"gradientMaskImage",tween:ti.ys,add:function(t,i){return i}},gradientDirection:{base:"gradientMaskImage",tween:ti.ys,add:function(t,i){return i}},gradColorStops:{base:"gradientMaskImage",tween:ti.xs,add:function(t,i){return i}},resetMaskImage:{order:1e3,get:function(i){return t(i.node).css(Ks)},set:function(t,i){if("none"!=i)if(t instanceof fr||!t.shape&&!t.shapeNode||t.shapeNode||t.html==On)t.node.style[Ks]=i;else{t.textContainer&&(t.textContainer.childNodes[0].style[Ks]=i);for(var s=0;s<t.node.childNodes.length;++s){t.node.childNodes[s].style[Ks]=i}t.node.style[Ks]=i}},add:function(t,i){return i},tween:ti.ys},clipPath:{get:function(i){var s=t(i.node).css($s);return"none"==s?"":s},set:function(t,i){var s=t instanceof fr,e=s?0:-t.rotateToSlide(),n=s?os({x:0,y:0},t.offsetSize()):t.contentBox();t.node.style[$s]=Js(i,n.x,n.y,n.width,n.height,e)},tween:ti.Cs,add:function(t,i){return i}},resetClipPath:{order:1e3,get:function(i){return t(i.node).css("clip-path")},set:function(t,i){"none"!=i&&(t.node.style[$s]=i)},add:function(t,i){return i},tween:ti.ys},filter:{children:["contrast","brightness","hueRotate","dropShadow"],get:function(t){var i={contrast:100,brightness:100,hueRotate:0,dropShadow:"0px 0px 0px rgba(0,0,0,0)"},s=t.node.style[js],e=s.indexOf("contrast(");-1!==e&&(e+="contrast(".length,i.contrast=s.substring(e,s.indexOf(")",e)));var n=s.indexOf("brightness(");-1!==n&&(n+="brightness(".length,i.brightness=s.substring(n,s.indexOf(")",n)));var r=s.indexOf("hue-rotate(");-1!==r&&(r+="hue-rotate(".length,i.hueRotate=s.substring(r,s.indexOf(")",r)));var a=s.indexOf("drop-shadow(");return-1!==a&&(a+="drop-shadow(".length,i.dropShadow=s.substring(a,s.lastIndexOf(")"))),i},set:function(t,i){var s="";ys(i.contrast,100)||(s+="contrast("+i.contrast+"%)"),ys(i.brightness,100)||(s&&(s+=" "),s+="brightness("+i.brightness+"%)"),0!==i.hueRotate&&(""!==s&&(s+=" "),s+="hue-rotate("+i.hueRotate+"deg)"),"0px 0px 0px rgba(0,0,0,0)"!==i.dropShadow&&(""!==s&&(s+=" "),s+="drop-shadow("+i.dropShadow+")"),t.node.style[js]=s}},contrast:{base:"filter",add:function(t,i){return t*i/100}},brightness:{base:"filter",add:function(t,i){return t*i/100}},hueRotate:{base:"filter"},dropShadow:{base:"filter",add:function(t,i){return i}},gradientOverlay:{children:["gradOverlayType","gradOverlayDirection","gradOverlayColorStops"],get:function(i){var s={gradOverlayType:"linear-gradient",gradOverlayDirection:"to right",gradOverlayColorStops:[]},e=ls.getElementById("gradientOverlay"+i.node.id);if(!e)return s;var n=t(e).css("background-image");s.gradOverlayType=n.substring(0,n.indexOf("(")-1);for(var r=0,a=(n=n.substring(n.indexOf("(")+1,n.lastIndexOf(")")).split(/,(?![^(]*\))(?![^"']*["'](?:[^"']*["'][^"']*["'])*[^"']*$)/)).length;r<a;++r)if(0!==r)for(var h=n[r].split(" "),o=0,u=h.length;o<u;++o){var f=[];if(0!==o)f.push(h[o]),s.gradOverlayColorStops.push(f);else{var c=h[o].substring(h[o].indexOf("(")+1,h[o].lastIndexOf(")")).split(",");f.push(c[0]||0),f.push(c[1]||0),f.push(c[2]||0),f.push(c[3]||0)}}else s.gradOverlayDirection=n[r];return s},set:function(t,i){var s=ls.getElementById("gradientOverlay"+t.node.id);if(null===s){(s=ls.createElement("div")).id="gradientOverlay"+t.node.id;var e=s.style,n=t.node.style;e.position="absolute",e.left=n.left,e.top=n.top,e.width=n.width,e.height=n.height,e.zIndex=qt.ls,Se.browser.safari&&(e[Bs]="translate3d(0px, 0px,"+t.node.offsetWidth/2+"px)"),t.node.parentNode&&t.node.parentNode.appendChild(s)}for(var r=i.gradOverlayType+"("+i.gradOverlayDirection+", ",a=i.gradOverlayColorStops,h=0,o=a.length;h<o;++h)r+="rgba("+a[h][0]+","+a[h][1]+","+a[h][2]+","+a[h][3]+") "+a[h][4]+"%",r+=h!==o-1?", ":"";s.style.backgroundImage=r+")"}},gradOverlayType:{base:"gradientOverlay",tween:ti.ys,add:function(t,i){return i}},gradOverlayDirection:{base:"gradientOverlay",tween:ti.ys,add:function(t,i){return i}},gradOverlayColorStops:{base:"gradientOverlay",tween:ti.xs,add:function(t,i){return i}},resetGradOverlay:{order:1e3,get:function(i){var s=ls.getElementById("gradientOverlay"+i.node.id);return s?t(s).css("background-image"):""},set:function(t,i){var s=ls.getElementById("gradientOverlay"+t.node.id);s&&t.node.parentNode&&t.node.parentNode.removeChild(s)},add:function(t,i){return i},tween:ti.ys},cropNodes:{children:["cropNodesCount","polygonsCropNodes","transOrgXCropNodes","transOrgYCropNodes","transOrgZCropNodes","xCropNodes","yCropNodes","zCropNodes","rotateXCropNodes","rotateYCropNodes","rotateZCropNodes","opacityCropNodes"],get:function(t){return{cropNodesCount:0,polygonsCropNodes:[],transOrgXCropNodes:[],transOrgYCropNodes:[],transOrgZCropNodes:[],xCropNodes:[],yCropNodes:[],zCropNodes:[],rotateXCropNodes:[],rotateYCropNodes:[],rotateZCropNodes:[],opacityCropNodes:[]}},set:function(t,i){for(var s=0;s<i.cropNodesCount;++s){var e=t.node.id+"_cropNode_"+s,n=ls.getElementById(e);if(null==n){(n=t.node.cloneNode(!0)).id=e,n.name="cropNode";for(var r=t.node.getElementsByTagName("canvas"),a=n.getElementsByTagName("canvas"),h=0;h<r.length;++h){var o=r[h],u=a[h];u.width=o.width,u.height=o.height,u.getContext("2d").drawImage(o,0,0)}t.node.parentNode&&t.node.parentNode.appendChild(n)}for(var f=i.polygonsCropNodes[s],c="polygon(",l=(h=0,f.length);h<l;++h)c+=f[h][0]+"% "+f[h][1]+(h!==l-1?"%, ":"%");c+=")",n.style[$s]=c,n.style[zs]=(i.transOrgXCropNodes[s]||0)+"px "+(i.transOrgYCropNodes[s]||0)+"px "+(i.transOrgZCropNodes[s]||0)+"px";var d="translate3d("+(i.xCropNodes[s]||0)+"px, "+(i.yCropNodes[s]||0)+"px, "+(i.zCropNodes[s]||0)+"px) rotateX("+(i.rotateXCropNodes[s]||0)+"deg) rotateY("+(i.rotateYCropNodes[s]||0)+"deg) rotateZ("+(i.rotateZCropNodes[s]||0)+"deg)";n.style[Bs]=d,n.style.opacity=void 0!==i.opacityCropNodes[s]?i.opacityCropNodes[s]:1}}},cropNodesCount:{base:"cropNodes",tween:ti.ys},polygonsCropNodes:{base:"cropNodes",tween:ti.ys},transOrgXCropNodes:{base:"cropNodes",tween:ti.Ss},transOrgYCropNodes:{base:"cropNodes",tween:ti.Ss},transOrgZCropNodes:{base:"cropNodes",tween:ti.Ss},xCropNodes:{base:"cropNodes",tween:ti.Ss},yCropNodes:{base:"cropNodes",tween:ti.Ss},zCropNodes:{base:"cropNodes",tween:ti.Ss},rotateXCropNodes:{base:"cropNodes",tween:ti.Ss},rotateYCropNodes:{base:"cropNodes",tween:ti.Ss},rotateZCropNodes:{base:"cropNodes",tween:ti.Ss},opacityCropNodes:{base:"cropNodes",tween:ti.Ss},resetCropNodes:{order:1e3,get:function(t){return 0},set:function(t,i){for(var s=i,e=0;e<s;++e){var n=t.node.id+"_cropNode_"+e,r=ls.getElementById(n);null!==r&&t.node.parentNode&&t.node.parentNode.removeChild(r)}},tween:ti.ys},flip:{get:function(t){return[!1,!1]},set:function(t,i){Array.isArray(i)&&t.flip&&t.flip(i[0],i[1])}},visibility:{get:function(t){return t.node.style.visibility},set:function(t,i){t.node.style.visibility=i},add:function(t,i){return i},tween:ti.ys}},Hr=ie({$init:function(t){this.Yu=t,this.tp={}},apply:function(t){this.toTarget(t,this.get(t))},toTarget:function(t,i){var s,e,n,r=Fr[t];if(r)if(r.set)r.set(this.Yu,i);else if(r.base&&(s=Fr[r.base])&&s.set){if(e=this.get(r.base))if(e.hasOwnProperty(t))e[t]=i;else if(i)for(n in i)e[n]=i[n];else e=i;else e=i;s.set(this.Yu,e)}},fromTarget:function(t){var i,s,e,n,r,a,h=Fr[t];if(h)if(h.get)s=h.get(this.Yu);else if(h.base&&(i=Fr[h.base])&&i.get&&(s=i.get(this.Yu)))if(h.children&&(a=h.children.length)){for(e={},r=0;r<a;++r)e[n=h.children[r]]=s[n];s=e}else void 0!==s[t]&&(s=s[t]);return s},get:function(t){var i,s,e,n,r=Fr[t];if(r&&r.children&&(n=r.children.length))for(i={},e=0;e<n;++e)i[s=r.children[e]]=this.tp[s];else i=this.tp[t];return i},set:function(t,i){var s,e,n,r=Fr[t];if(r&&r.children&&(n=r.children.length))for(e=0;e<n;++e)s=r.children[e],this.tp[s]=i?i[s]:i;else this.tp[t]=i;if(r&&r.rawProp){var a=r.rawProp(i);this.set(a[0],a[1])}},add:function(t,i){var s,e,n,r,a,h,o=Fr[t];if(o&&o.children&&(h=o.children.length))for(o.rawProp&&(s={}),a=0;a<h;++a)r=o.children[a],e=(n=Fr[r])&&n.add?n.add(this.tp[r],i?i[r]:i):(this.tp[r]||0)+(i?i[r]:i),this.tp[r]=e,o.rawProp&&(s[r]=e);else s=o&&o.add?o.add(this.tp[t],i):(this.tp[t]||0)+i,this.tp[t]=s;if(o&&o.rawProp){var u=o.rawProp(s);this.set(u[0],u[1])}}}),Ur=ie({$init:function(t){this.options=t=os({speed:1,repeat:1,alternated:!1,paused:!1,startTime:0},t),this.oa=t.speed||1e-9,this.ip=t.repeat||1,this.ep=1,this.np=t.alternated,this._a=t.startTime,this.rp=void 0,this.ap=void 0,this.hp=void 0,this.ka=0,this.Mn=t.paused,this.up=null,this.fp=null},started:function(t){return arguments.length?(!1===t&&(this.hp=void 0),this):void 0!==this.hp},speed:function(t){return arguments.length?(this.oa=t||1e-9,this.Mn||this.startTime((this.up?this.up.ka:wr.now())-this.ka/this.oa),this):this.oa},repeat:function(t){return arguments.length?(this.ip=t||1,Br(this,!0),this):this.ip},alternated:function(t){return arguments.length?(this.np=t,this):this.np},startTime:function(t){if(!arguments.length)return this._a;if(t!==this._a)if(this.up){var i=this.up;i.removeChild(this),this._a=t,i.addChild(this)}else this._a=t;return this},endTime:function(t){return this._a+(t?this.duration():this.totalDuration())/this.oa},duration:function(t){return arguments.length?(this.rp=t,Br(this,!0),this):this.rp},totalDuration:function(t){return arguments.length?this.ip>0?this.duration(t/this.ip):this:(void 0===this.ap&&(void 0===this.rp&&this.duration(),-1===this.ip?this.ap=1e11:-2===this.ip?this.ap=this.up?(this.up.duration()-this._a)*this.oa:this.rp:this.ap=this.ip*this.rp),this.ap)},play:function(t){return void 0!==t&&this.seek(t),this.paused(!1)},pause:function(t){return this.paused(!0),void 0!==t&&this.seek(t),this},paused:function(t){if(!arguments.length)return this.Mn;if(t=!!t,this.Mn!==t){this.Mn=t;for(var i=this;i&&!i.Mn;)i.startTime((i.up?i.up.ka:wr.now())-i.ka/i.oa),i=i.up;t||this.update(this.ka)}return this},dp:function(){for(var t=this;t;){if(t.Mn)return!0;t=t.up}return!1},seek:function(t){return this.totalTime(t)},time:function(t){return arguments.length?(t=_s(t,0,this.duration()),this.np&&this.ep%2==0&&(t=this.rp-t),this.totalTime(t+(this.ep-1)*this.rp)):this.hp||0},totalTime:function(t){if(!arguments.length)return this.ka;t<0&&(t=0),this.vp(t),this.update(t,!0);for(var i=this;i&&!i.Mn;)i.startTime((i.up?i.up.ka:wr.now())-i.ka/i.oa),i=i.up;return this},vp:function(t){this.hp=void 0},parent:function(t){return arguments.length?(t?t.addChild(this):this.remove(),this):this.up},timeline:function(){return this.fp},remove:function(){return this.up&&this.up.removeChild(this),this},setup:function(){},update:function(t,i){},ya:function(t){var i=void 0===this.rp?this.duration():this.rp,s=void 0===this.ap?this.totalDuration():this.ap,e=1,n={totalTime:t,uncapTime:t,active:t>-Bi&&t<s+Bi};return t<Bi||0===i?(t>-Bi&&t<Bi?n.totalTime=n.uncapTime=0:t<0&&(n.totalTime=0),t=0):(t>s-Bi&&(t<s+Bi&&(t=s,n.totalTime=n.uncapTime=t),t>s&&(t=s)),1!==this.ip&&(0===(e=as(t/i))&&(e=1),t-=(e-1)*i,this.np&&e%2==0&&(t=i-t),t>i?t=i:t<0&&(t=0),e<this.ip?this.uncapTime=t:(this.uncapTime-=(e-1)*i,this.np&&e%2==0&&(this.uncapTime=i-this.uncapTime)))),n.time=t,n.cycle=e,n},pp:function(t){this.fp=t},gp:function(t,i){return!0},Mp:function(t){},hasChildAnimations:function(){return!1}});function Br(t,i){for(;t;)t.ap=void 0,i?i=!1:t.rp=void 0,t=t.up}var Zr=ie(Ur,{$init:function(t,i){this.isEvent=!0,this.bp=!1,Ur.prototype.$init.call(this,i),this.rp=this.options.duration||0,this.wp=t},update:function(t,i){t=this.ya(t),this.ep=t.cycle,this.ka=t.totalTime,this.hp=t.time,this.bp||(this.bp=!0,this.wp&&this.wp(this.hp,i))},vp:function(t){Ur.prototype.vp.call(this,t),this.bp=t>0}}),zr=ie(Ur,{$init:function(t,i,s){if(Ur.prototype.$init.call(this,s),(s=this.options).tweenParams||(s.tweenParams=[]),void 0===s.relative&&(s.relative=kr.Rv),void 0===s.tweenType){var e=Fr[i];e&&(s.tweenType=e.tween)}this.Yu=t,t.animProps||(t.animProps=new Hr(t)),this._p=i,this.rp=s.duration||0,this.yp=s.additive||!1,this.kp=s.easing||yr.linear,s.revert&&(this.Tp=!0),us(this.options.tweenParams[0])||(this.xp=Sr.apply(null,[s.tweenType].concat(s.tweenParams)))},setup:function(){if(us(this.options.tweenParams[0]))this.xp=Sr.apply(null,[this.options.tweenType].concat(this.options.tweenParams[0].apply(this,this.options.tweenParams.slice(1))));else if(this.options.relative!==kr.Rv){var t=this.Cp(this.options.relative==kr.Lv);this.xp.resolveRelative.apply(this.xp,[this.options.relative,t].concat(this.options.tweenParams))}},update:function(t,i){t=this.ya(t);var s=this.hp!=t.time||this.ep!=t.cycle,e=this.kp(this.rp?t.time/this.rp:1);this.Tp&&t.totalTime>=this.ap&&(e=0),this.ep=t.cycle,this.hp=t.time,this.ka=t.totalTime,this.yp?this.Yu.animProps.add(this._p,this.xp.value(e)):this.Yu.animProps.set(this._p,this.xp.value(e)),this.fp&&s&&this.fp.Sp(this._p,this.Yu)},pp:function(t){t!==this.fp&&(this.fp&&this.fp.Ep(this._p,this.Yu),this.fp=t,t&&t.Op(this._p,this.Yu))},gp:function(t,i){return this!==i&&(this.Yu===i.Yu&&(this.update(t,!0),this.hp=void 0),!0)},Cp:function(t){var i;if(this.fp&&!t){for(var s=0,e=this,n=this.fp,r=os({},this.Yu.animProps.tp);e&&e!==n;)s=e._a+s/e.oa,e=e.up;n.gp(s,this),i=this.Yu.animProps.get(this._p),this.Yu.animProps.tp=r}else i=this.Yu.animProps.fromTarget(this._p);return i}}),Gr=ie(zr,{Mp:function(t){var i=this.Yu.ia;i&&((i.uc||this.fp&&this.fp.ql?i.we&&i.we.timeline.Mn:this.dp())?i.Pf():i.Of())},update:function(t,i){var s=this.Yu.ia,e=!1;!s||!i&&this.started()||(this.fp&&this.fp.ql?(e=!this.Pp,this.Pp=!0):s.uc?(e=!this.Ip,this.Ip=!0):e=!0,e&&s.Ef()),this.Ip&&t>=this.totalDuration()&&delete this.Ip,zr.prototype.update.call(this,s&&s.uc?0:t)},vp:function(t){t<=0&&delete this.Ip,Ur.prototype.vp.call(this,t)},setup:function(){delete this.Pp,delete this.Ip,zr.prototype.setup.call(this)}}),Vr=ie(Ur,{$init:function(t){Ur.prototype.$init.call(this,t),this.firstChild=this.lastChild=null},setup:function(){for(var t=this.firstChild;t;)t.setup(),t=t.next},duration:function(t){if(!arguments.length){if(void 0===this.rp){var i,s=this.lastChild;for(t=0;s;)(s.ip>0||-1===s.ip)&&(i=s._a+s.totalDuration()/s.oa)>t&&(t=i),s=s.prev;this.rp=t}return this.rp}return t&&(this.rp||this.duration())&&this.speed(this.rp/t),this},totalDuration:function(t){return arguments.length?(this.ip>0&&t&&(this.ap||this.totalDuration())&&this.speed(this.ap/t),this):void 0!==this.ap?this.ap:Ur.prototype.totalDuration.call(this)},update:function(t,i){var s=this.ya(t);s.cycle>1&&this.ka<(s.cycle-1)*this.rp&&this.started()&&(this.update((s.cycle-1)*this.rp,i),this.vp(t)),this.ep=s.cycle,this.hp=s.time,this.ka=s.totalTime;for(var e,n=this.dp(),r=s.time,a=this.firstChild;a&&!(a._a>r)&&(e=a.next,a.Mn||(a.update((r-a._a)*a.oa,i),!a.firstChild||this.ep===s.cycle&&this.hp===r&&this.dp()===n));)a=e},pp:function(t){if(t!==this.fp){for(var i=this.firstChild;i;)i.pp(t),i=i.next;this.fp=t}},addChild:function(t,i){if(t.isEvent&&!this.isTimeline)return ws("Only timeline can add timing event"),this;t.up&&t.remove();for(var s=this.lastChild;s&&(i?s._a>=t._a:s._a>t._a);)s=s.prev;return s?(t.next=s.next,t.prev=s,t.next?t.next.prev=t:this.lastChild=t,s.next=t):(t.next=this.firstChild,this.firstChild?this.firstChild.prev=t:this.lastChild=t,this.firstChild=t),t.up=this,t.pp(this.isTimeline?this:this.fp),void 0!==this.rp&&t.endTime()>this.rp&&(this.rp=t.endTime(),Br(this,!0)),this},removeChild:function(t){return t.up===this&&(t.prev?t.prev.next=t.next:this.firstChild=t.next,t.next?t.next.prev=t.prev:this.lastChild=t.prev,t.prev=t.next=null,t.up=null,t.fp&&t.pp(null),void 0!==this.rp&&t.endTime()>=this.rp&&Br(this,!1)),this},removeChildIf:function(t){for(var i,s=this.firstChild;s;)i=s.next,t(s)&&this.removeChild(s),s=i;return this},paused:function(t){if(!arguments.length)return Ur.prototype.paused.call(this);Ur.prototype.paused.call(this,t);for(var i=this.firstChild;i;)i.Mp(t),i=i.next;return this},gp:function(t,i){if(this===i)return!1;t=this.ya(t).time;for(var s=this.firstChild;s;){if(s._a<=t&&!s.gp((t-s._a)*s.oa,i))return!1;s=s.next}return!0},vp:function(t){Ur.prototype.vp.call(this,t),t=this.ya(t).uncapTime;for(var i=this.firstChild;i;)i.vp((t-i._a)*i.oa),i=i.next},Mp:function(t){Ur.prototype.Mp.call(this,t);for(var i=this.firstChild;i;)i.Mp(t),i=i.next},hasChildAnimations:function(){return!!this.firstChild}});function Wr(t,i){return t.active-i.active||t.order-i.order}var $r=ie(Vr,{isTimeline:!0,$init:function(t){Vr.prototype.$init.call(this,t),this.Rp=[]},setup:function(){var t,i,s,e,n,r,a=this.Rp,h=a.length,o=[];for(r=0;r<h;++r)t=a[r].target,(s=a[r].props).display&&(s.display.value=t.animProps.fromTarget("display"));for(r=0;r<h;++r){var u=rn(a[r].target);u.length&&o.push(u)}for(r=0;r<h;++r){t=a[r].target,s=a[r].props,e={};for(i in s)Fr[i]&&Fr[i].base?e[Fr[i].base]=1:e[i]=1;delete e.display;for(i in e)if(n=t.animProps.fromTarget(i),s[i])s[i].value=n;else for(i in n)s[i]?s[i].value=n[i]:s[i]={value:n[i],count:0}}for(Vr.prototype.setup.call(this),r=0,h=o.length;r<h;++r)an(o[r])},update:function(t,i){t=this.ya(t),this.ep=t.cycle,this.ka=t.totalTime;var s,e,n=this.dp();if(i||this.hp!==t.time){this.Np();var r,a,h,o=this.hp=t.time,u=!1,f=!1,c=!0;if(!n)for(s=this.firstChild;s&&!(s._a>t.time);){if(e=s.next,s.isEvent&&!s.Mn&&!s.bp)for(this.hp=o=s._a,this.ka=t.totalTime+o-t.time,h=0;h<2;++h){for(1===h&&(this.Ap(i),c=!1),r=this.firstChild,f=!0;r&&!(r._a>o);){if(a=r.next,!r.Mn&&(0===h&&!r.isEvent||1===h&&r.isEvent)&&(r.update((o-r._a)*r.oa,i),(r.isEvent||r.firstChild)&&(this.ep!==t.cycle||this.hp!==o||this.dp()!==n))){u=!0;break}r=a}if(u)break}if(u)break;s=e}if(!(u||this.hp===t.time&&f))for(this.hp=o=t.time,this.ka=t.totalTime,r=this.firstChild;r&&!(r._a>o)&&(a=r.next,r.Mn||r.isEvent||(r.update((o-r._a)*r.oa,i),c=!0,!r.firstChild||this.ep===t.cycle&&this.hp===o&&this.dp()===n));)r=a;c&&this.Ap(i)}else if(!n)for(s=this.firstChild;s&&!(s._a>t.time)&&(e=s.next,!s.isEvent||s._a!==this.hp||s.Mn||s.bp||(s.update(0,i),this.ep===t.cycle&&this.hp===t.time&&this.dp()===n));)s=e},reset:function(){this.pause(0),this.Np(),this.Ap(!0),this.started(!1)},Np:function(){var t,i,s,e,n,r=this.Rp;for(e=0,n=r.length;e<n;++e){t=r[e].target,s=r[e].props;for(i in s)s[i].active=!1,(s[i].count||void 0===t.animProps.get(i))&&t.animProps.set(i,s[i].value)}},Ap:function(t){var i,s,e,n,r,a,h,o,u,f,c=this.Rp;for(a=0,h=c.length;a<h;++a){f=c[a].target,r=c[a].props,s={};for(n in r)(t||r[n].active)&&(e={name:n,active:r[n].active?1:0,order:0},Fr[n]&&(Fr[n].base?(e.name=Fr[n].base,e.order=Fr[e.name].order||0):e.order=Fr[n].order||0),s[e.name]?e.active&&(s[e.name].active=1):s[e.name]=e);i=[];for(n in s)i.push(s[n]);for(i.sort(Wr),o=0,u=i.length;o<u;++o)f.animProps.apply(i[o].name)}},gp:function(t,i){var s,e,n,r,a,h=this.Rp;for(r=0,a=h.length;r<a;++r)if((s=h[r].target)===i.Yu){n=h[r].props;for(e in n)n[e].active=!1,s.animProps.set(e,n[e].value)}return Vr.prototype.gp.call(this,t,i)},pp:function(t){this.fp=t},Op:function(t,i){var s,e,n,r,a,h=this.Rp;for(r=0,a=h.length;r<a;++r)if(h[r].target===i){s=h[r];break}if(s||(s={target:i,props:{},count:0},h.push(s)),e=s.props,(n=Fr[t])&&n.children&&(a=n.children.length))for(r=0;r<a;++r)e[t=n.children[r]]?++e[t].count:(e[t]={count:1},++s.count);else e[t]?++e[t].count:(e[t]={count:1},++s.count)},Ep:function(t,i){var s,e,n,r,a,h,o=this.Rp;for(a=0,h=o.length;a<h;++a)if(o[a].target===i){s=o[a],r=a;break}if(s){if(e=s.props,(n=Fr[t])&&n.children&&(h=n.children.length))for(a=0;a<h;++a)e[t=n.children[a]]&&(e[t].count>1?--e[t].count:(delete e[t],--s.count));else e[t]&&(e[t].count>1?--e[t].count:(delete e[t],--s.count));s.count<=0&&o.splice(r,1)}},Sp:function(t,i){var s,e,n,r,a,h=this.Rp;for(r=0,a=h.length;r<a;++r)if(h[r].target===i){s=h[r];break}if(s)if(e=s.props,(n=Fr[t])&&n.children&&(a=n.children.length))for(r=0;r<a;++r)e[t=n.children[r]]&&(e[t].active=!0);else e[t]&&(e[t].active=!0)}});os(Se,{$:t,jQuery:t,Easing:yr,MarkerType:ct,GradientType:{LINEAR:0,RADIAL:1},GradientShape:{CIRCLE:0,ELLIPSE:1},GradientSize:{CLOSE_SIDE:0,FAR_SIDE:1,CLOSE_CORNER:2,FAR_CORNER:3},FillType:wt,DisplayMode:ki,Object:fn,color:As,createClass:ie,Locale:Pe,SVGShape:mr,ShapePath:cr,ClickMaxDistance:1,DoubleClickMaxTime:400,SwipeMinDistance:30,SwipeMaxDeflection:200,SwipeMinVelocity:.3,TransitionMinDuration:500,AutoTransitionDirection:!0,Timeline:$r,Animation:zr,MediaAnimation:Gr,AnimationGroup:Vr,TimingEvent:Zr,RelativeTweenType:kr,TweenType:ti,logDebug:ws,ZIndex:qt,ControlKind:i,ControlType:s,TextBoxFlags:ft,ResponseResult:Xt,PlayModes:ii,animatedProperties:Fr,DragDrop:en,htmlEscape:Ts,htmlToText:xs,Key:Me,splitText:function(t,i){var s=[],e={};if((i=i||{words:!0}).chars||i.words){var n,r;if(i.chars&&(e.chars=[]),i.words&&(e.words=[]),e.processStyles={},i.processStyles){var a=i.processStyles.split(",");for(n=0,r=a.length;n<r;++n)e.processStyles[a[n].trim()]=[]}for(function t(i,s,e){if(i){for(var n in e)i.style&&i.style[n]&&e[n].push(i);for(var r=0,a=i.childNodes.length;r<a;++r){var h=i.childNodes[r];3==h.nodeType?s.push(h):t(h,s,e)}}}(t,s,e.processStyles),n=0,r=s.length;n<r;++n)Es(s[n],e,i)}return e},support:Ms,forceGPU:!Se.browser.chromiums,shortcuts:{build:ge.combinedCode,clickSequence:{forward:[Me.RIGHT,Me.DOWN],back:[Me.LEFT,Me.UP],mouse:!0}},addStar:function(t,i,s,e,n,r,a){var h,o=dr(a),u=o.cXs,f=o.cYs,c=o.minX,l=o.minY,d=e/(o.maxX-c),v=n/(o.maxY-l);for(t.moveTo(i+(u[0]-c)*d,s+(f[0]-l)*v).lineTo(i+(u[1]*r-c)*d,s+(f[1]*r-l)*v),h=1;h<a;++h)t.lineTo(i+(u[2*h]-c)*d,s+(f[2*h]-l)*v).lineTo(i+(u[2*h+1]*r-c)*d,s+(f[2*h+1]*r-l)*v);t.closeSubpath()},clamp:_s,addRectCallout:function(t,i,s,e,n,r,a){var h=r[0],o=r[1],u=i+e/2*(1+h),f=s+n/2*(1+o),c=a?.2*Qi(e,n):0;t.moveTo(i+c,s),h<=0&&o<=0&&$i(h)<=$i(o)?(t.lineTo(i+.2*e,s).lineTo(u,f).lineTo(i+.4*e,s).lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h<=0&&o<=0&&$i(h)>$i(o)?(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+4*n/10).lineTo(u,f).lineTo(i,s+2*n/10),a&&t.arcTo(c,c,i+c,s,!1,!0)):h>0&&o<=0&&$i(h)<=$i(o)?(t.lineTo(i+6*e/10,s).lineTo(u,f).lineTo(i+8*e/10,s).lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h>0&&o<=0&&$i(h)>$i(o)?(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+2*n/10).lineTo(u,f).lineTo(i+e,s+4*n/10).lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h<=0&&o>0&&$i(h)>$i(o)?(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+.8*n).lineTo(u,f).lineTo(i,s+6*n/10).lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h<=0&&o>0&&$i(h)<=$i(o)?(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+4*e/10,s+n).lineTo(u,f).lineTo(i+2*e/10,s+n).lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h>0&&o>0&&$i(h)>$i(o)?(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+6*n/10).lineTo(u,f).lineTo(i+e,s+.8*n).lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)):h>0&&o>0&&$i(h)<=$i(o)&&(t.lineTo(i+e-c,s),a&&t.arcTo(c,c,i+e,s+c,!1,!0),t.lineTo(i+e,s+n-c),a&&t.arcTo(c,c,i+e-c,s+n,!1,!0),t.lineTo(i+.8*e,s+n).lineTo(u,f).lineTo(i+6*e/10,s+n).lineTo(i+c,s+n),a&&t.arcTo(c,c,i,s+n-c,!1,!0),t.lineTo(i,s+c),a&&t.arcTo(c,c,i+c,s,!1,!0)),t.closeSubpath()},getStarPathData:dr,refreshRandomSlidesOnRestart:!0}),window.AtomiAP=Se,wr.start()}(jQuery),function(t){"use strict";var i=t.addStar,s=t.clamp,e=t.addRectCallout,n=t.ShapePath,r=t.getStarPathData;t.SHAPE_DEFS={0:[function(t,i,s,e){this.addRect(t,i,s,e)}],1:[function(t,i,s,e,n){var r=n[0]*Math.min(s/2,e/2);this.addRoundedRect(t,i,s,e,r,r)},function(t,i,s){var e=s[0]*Math.min(t/2,i/2),n=Math.round(e*(1-Math.sqrt(2)/2));return[n,n,n,n]},function(t,i,s){var e;return t<i?(e=t/(1-s[0]*(1-Math.sqrt(2)/2)),e=2*Math.round((e-t)/2)):(e=i/(1-s[0]*(1-Math.sqrt(2)/2)),e=2*Math.round((e-i)/2)),[t+e,i+e]}],2:[function(t,i,s,n,r){e(this,t,i,s,n,r,!1)}],3:[function(t,i,s,n,r){e(this,t,i,s,n,r,!0)},function(t,i){var s=.2*Math.min(t,i),e=Math.round(s*(1-Math.sqrt(2)/2));return[e,e,e,e]},function(t,i){var s,e;return t<i?e=i+.4*(s=t/(1-.4*(1-Math.cos(Math.PI/4))))*(1-Math.cos(Math.PI/4)):s=t+.4*(e=i/(1-.4*(1-Math.cos(Math.PI/4))))*(1-Math.cos(Math.PI/4)),[Math.round(s),Math.round(e)]}],4:[function(t,i,e,n,r){var a=t+s(e-Math.min(e,n)*r[0],0,e),h=i+n/2*r[1];this.moveTo(t,h).lineTo(a,h).lineTo(a,i).lineTo(t+e,i+n/2).lineTo(a,i+n).lineTo(a,i+n-r[1]*n/2).lineTo(t,i+n-r[1]*n/2).closeSubpath()},function(t,i,e){var n=s(t-Math.min(t,i)*e[0],0,t),r=i/2*e[1],a=i-2*r;return[0,r,i<=0?0:Math.round((t-n)*a/i),r]},function(t,i,s){var e=s[0],n=s[1];if(n<0&&(n=0),n>1&&(n=1),n<1){var r=i/(1-n),a=t+(1-n)*e*r;if(a<r){var h=1-(1-n)*e;h>.001&&(a=t/h)}return[Math.round(a),Math.round(r)]}return[t,i]}],5:[function(t,i,e,n,r){var a=t+s(Math.min(e,n)*r[0],0,e),h=i+n/2*r[1];this.moveTo(a,i).lineTo(a,h).lineTo(t+e,h).lineTo(t+e,i+n-r[1]*n/2).lineTo(a,i+n-r[1]*n/2).lineTo(a,i+n).lineTo(t,i+n/2).closeSubpath()},function(t,i,e){var n=s(Math.min(t,i)*e[0],0,t),r=i/2*e[1],a=i-2*r;return[i<=0?0:Math.round(n*a/i),r,0,r]},function(t,i,s){var e=s[0],n=s[1];if(n<0&&(n=0),n>1&&(n=1),n<1){var r=i/(1-n),a=t+(1-n)*e*r;if(a<r){var h=1-(1-n)*e;h>.001&&(a=t/h)}return[Math.round(a),Math.round(r)]}return[t,i]}],6:[function(t,i,e,n,r){var a=i+s(Math.min(e,n)*r[0],0,n),h=t+e/2*r[1];this.moveTo(t,a).lineTo(t+e/2,i).lineTo(t+e,a).lineTo(t+e-r[1]*e/2,a).lineTo(t+e-r[1]*e/2,i+n).lineTo(h,i+n).lineTo(h,a).lineTo(t,a).closeSubpath()},function(t,i,e){var n=s(Math.min(t,i)*e[0],0,i),r=t/2*e[1],a=t-2*r;return[r,t<0?0:Math.round(n*a/t),r,0]},function(t,i,s){var e=s[0],n=s[1];if(n<0&&(n=0),n>1&&(n=1),n<1){var r=t/(1-n),a=i+(1-n)*e*r;if(a<r){var h=1-(1-n)*e;h>.001&&(a=i/h)}return[Math.round(r),Math.round(a)]}return[t,i]}],7:[function(t,i,e,n,r){var a=s(n-Math.min(e,n)*r[0],0,n),h=t+e/2*r[1],o=i+a;this.moveTo(t,o).lineTo(h,o).lineTo(h,i).lineTo(t+e-e/2*r[1],i).lineTo(t+e-e/2*r[1],o).lineTo(t+e,o).lineTo(t+e/2,i+n).closeSubpath()},function(t,i,e){var n=s(i-Math.min(t,i)*e[0],0,i),r=t/2*e[1],a=n,h=t-2*r;return[r,0,r,t<=0?0:Math.round((i-a)*h/t)]},function(t,i,s){var e=s[0],n=s[1];if(n<0&&(n=0),n>1&&(n=1),n<1){var r=t/(1-n),a=i+(1-n)*e*r;if(a<r){var h=1-(1-n)*e;h>.001&&(a=i/h)}return[Math.round(r),Math.round(a)]}return[t,i]}],8:[function(t,i,s,e,n){var r=t+s/2*(1+n[0]),a=i+e/2*(1+n[1]),h=Math.atan2(n[1],n[0]),o=h-.15,u=h+.15;this.moveTo(r,a),this.lineTo(t+s/2+s/2*Math.cos(o),i+e/2+e/2*Math.sin(o)),this.arcTo(s/2,e/2,t+s/2+s/2*Math.cos(u),i+e/2+e/2*Math.sin(u),!0,!1),this.closeSubpath()},function(t,i){var s=1-Math.sqrt(2)/2,e=Math.round(t*s/2),n=Math.round(i*s/2);return[e,n,e,n]},function(t,i){var s=1-Math.sqrt(2)/2,e=t/(1-s),n=i/(1-s);return[t+Math.round(e-t),i+Math.round(n-i)]}],9:[function(t,i,s,e,n){var r=n[0]*Math.min(s/2,e/2);this.moveTo(t+r,i).lineTo(t+s-r,i).lineTo(t+s-r,i+r).lineTo(t+s,i+r).lineTo(t+s,i+e-r).lineTo(t+s-r,i+e-r).lineTo(t+s-r,i+e).lineTo(t+r,i+e).lineTo(t+r,i+e-r).lineTo(t,i+e-r).lineTo(t,i+r).lineTo(t+r,i+r).closeSubpath()},function(t,i,s){var e=s[0]*Math.min(t/2,i/2);return[e,e,e,e]},function(t,i,s){var e;return s[0]<1?t<i?[e=t/(1-s[0]),i+e-t]:[t+(e=i/(1-s[0]))-i,e]:[t,i]}],10:[function(t,i,s,e){this.addEllipse(t+s/2,i+e/2,s/2,e/2)},function(t,i){var s=1-Math.sqrt(2)/2,e=Math.round(t*s/2),n=Math.round(i*s/2);return[e,n,e,n]},function(t,i){var s=1-Math.sqrt(2)/2,e=t/(1-s),n=i/(1-s);return[t+Math.round(e-t),i+Math.round(n-i)]}],11:[function(t,i,s,e){this.moveTo(t+s/2,i).lineTo(t+s,i+e/2).lineTo(t+s/2,i+e).lineTo(t,i+e/2).closeSubpath()},function(t,i){var s=Math.round(t/4),e=Math.round(i/4);return[s,e,s,e]},function(t,i){return[2*t,2*i]}],12:[function(t,i,s,e,n){var r=t+s/2+n[0]*s/2,a=i+e/2+n[1]*e/2;this.moveTo(t+s/11,i+3/7*e).quadraticTo(t+1.3/11*s,i+1.1/7*e,t+3.8/11*s,i+1.9/7*e).quadraticTo(t+4.6/11*s,i+1/7*e,t+6/11*s,i+1.5/7*e).quadraticTo(t+6.8/11*s,i+.8/7*e,t+7.8/11*s,i+1.3/7*e).quadraticTo(t+9.5/11*s,i+.5/7*e,t+10/11*s,i+2/7*e).quadraticTo(t+1*s,i+2.4/7*e,t+10.5/11*s,i+3.2/7*e).quadraticTo(t+12/11*s,i+4.6/7*e,t+9.8/11*s,i+5.1/7*e).quadraticTo(t+9.5/11*s,i+6.8/7*e,t+7.5/11*s,i+6.2/7*e).quadraticTo(t+6/11*s,i+8/7*e,t+4.3/11*s,i+6.5/7*e).quadraticTo(t+2.6/11*s,i+e,t+1.5/11*s,i+6/7*e).quadraticTo(t+-.2/11*s,i+6/7*e,t+.5/11*s,i+4.5/7*e).quadraticTo(t-.5/11*s,i+3.7/7*e,t+1/11*s,i+3/7*e).closeSubpath().addEllipse(r,a,.2/11*s,.2/11*s).addEllipse(r+(t+s/2-r)/6,a+(i+e/2-a)/6,.5/11*s,.5/11*s).addEllipse(r+(t+s/2-r)/2.5,a+(i+e/2-a)/2.5,.8/11*s,.8/11*s)},function(t,i){var s=Math.round(t/8),e=Math.round(i/4);return[s,e,s,e]},function(t,i){return[t+Math.round(t/3),2*i]}],14:[function(t,i,s,e,n){var r=n[0]*s/2,a=n[1]*e/2;this.moveTo(t,i+e/2).lineTo(t+r,i).lineTo(t+r,i+a).lineTo(t+s-r,i+a).lineTo(t+s-r,i).lineTo(t+s,i+e/2).lineTo(t+s-r,i+e).lineTo(t+s-r,i+e-a).lineTo(t+r,i+e-a).lineTo(t+r,i+e).closeSubpath()},function(t,i,s){var e=Math.round(s[0]*t/2),n=Math.round(i*(s[1]/2));return[e,n,e,n]},function(t,i,s){var e=s[0],n=s[1];return e<1&&n<1?[Math.round(t/(1-e)),Math.round(i/(1-n))]:[t,i]}],15:[function(t,i,s,e,n){var r=n[0]*s/2,a=n[1]*e/2;this.moveTo(t,i+a).lineTo(t+s/2,i).lineTo(t+s,i+a).lineTo(t+s-r,i+a).lineTo(t+s-r,i+e-a).lineTo(t+s,i+e-a).lineTo(t+s/2,i+e).lineTo(t,i+e-a).lineTo(t+r,i+e-a).lineTo(t+r,i+a).closeSubpath()},function(t,i,s){var e=Math.round(t*(s[0]/2)),n=Math.round(s[1]*i/2);return[e,n,e,n]},function(t,i,s){var e=s[0],n=s[1];return e<1&&n<1?[Math.round(t/(1-e)),Math.round(i/(1-n))]:[t,i]}],16:[function(t,i,s,e,n){var r=n[0]*s,a=n[1]*e,h=Math.min(n[2],n[0])*s,o=Math.max(n[3],n[1])*e;this.moveTo(t,i).lineTo(t+h,i).lineTo(t+h,i+o).lineTo(t+r,i+o).lineTo(t+r,i+a).lineTo(t+s,i+e/2).lineTo(t+r,i+e-a).lineTo(t+r,i+e-o).lineTo(t+h,i+e-o).lineTo(t+h,i+e).lineTo(t,i+e).closeSubpath()},function(t,i,s){return[0,0,Math.round(t*(1-Math.min(s[2],s[0]))),0]},function(t,i,s){var e=Math.min(s[2],s[0]);return e>0?[Math.round(t/e),i]:[t,i]}],17:[function(t,i,s,e,n){var r=n[1]*s,a=n[2]*e,h=Math.max(n[0],n[1])*s,o=Math.min(n[2],n[3])*e;this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+o).lineTo(t+s-h,i+o).lineTo(t+s-h,i+a).lineTo(t+s-r,i+a).lineTo(t+s/2,i+e).lineTo(t+r,i+a).lineTo(t+h,i+a).lineTo(t+h,i+o).lineTo(t,i+o).closeSubpath()},function(t,i,s){return[0,0,0,Math.round(i*(1-Math.min(s[2],s[3])))]},function(t,i,s){var e=Math.min(s[2],s[3]);return[t,Math.round(i/e)]}],18:[function(t,i,s,e,n){var r=n[0]*s,a=n[1]*e,h=Math.max(n[2],n[0])*s,o=Math.max(n[3],n[1])*e;this.moveTo(t+h,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t+h,i+e).lineTo(t+h,i+e-o).lineTo(t+r,i+e-o).lineTo(t+r,i+e-a).lineTo(t,i+e/2).lineTo(t+r,i+a).lineTo(t+r,i+o).lineTo(t+h,i+o).closeSubpath()},function(t,i,s){return[Math.round(Math.max(s[2],s[0])*t),0,0,0]},function(t,i,s){var e=Math.max(s[2],s[0]);return e<1?[Math.round(t/(1-e)),i]:[t,i]}],19:[function(t,i,s,e,n){var r=n[1]*s,a=n[2]*e,h=Math.max(n[0],n[1])*s,o=Math.max(n[2],n[3])*e;this.moveTo(t+s/2,i).lineTo(t+r,i+a).lineTo(t+h,i+a).lineTo(t+h,i+o).lineTo(t,i+o).lineTo(t,i+e).lineTo(t+s,i+e).lineTo(t+s,i+o).lineTo(t+s-h,i+o).lineTo(t+s-h,i+a).lineTo(t+s-r,i+a).closeSubpath()},function(t,i,s){return[0,Math.round(Math.max(s[2],s[3])*i),0,0]},function(t,i,s){var e=Math.max(s[2],s[3]);return e<1?[t,Math.round(i/(1-e))]:[t,i]}],20:[function(t,i,s,e,n){var r=n[0],a=n[1];this.moveTo(t+s*r,i).lineTo(t+s,i+e/2).lineTo(t+s*r,i+e).lineTo(t+s*r,i+e*(1-a/2)).lineTo(t,i+e*(1-a/2)).lineTo(t+(s-s*r)/2,i+e/2).lineTo(t,i+e*a/2).lineTo(t+s*r,i+e*a/2).closeSubpath()},function(t,i,s){var e=s[0],n=s[1];return[Math.round(t*(1-e)/2),Math.round(i/2*n),Math.round(t-t*((1-e)*n+e)),Math.round(i/2*n)]},function(t,i,s){var e=s[0],n=s[1];return n<1&&e>0?[Math.round(t/((1-e)*n+e-(1-e)/2)),Math.round(i/(1-n))]:[t,i]}],21:[function(t,i,s,e,n){var r=s*n[0];this.moveTo(t,i).lineTo(t+r,i).lineTo(t+s,i+e/2).lineTo(t+r,i+e).lineTo(t,i+e).lineTo(t+s-r,i+e/2).closeSubpath()},function(t,i,s){var e=s[0];return[Math.round(t*(1-e)),0,Math.round(t*(1-e)),0]}],22:[function(t,i,s,e,n){this.moveTo(t+n[0]*s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath()},function(t,i,s){var e=s[0];return[Math.round(t*e/2),Math.round(i/2),Math.round((1-e)*t/2),0]},function(t,i){return[Math.round(2*t),Math.round(2*i)]}],23:[function(t,i,s,e,n){this.moveTo(t,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath()},function(t,i){return[Math.round(1*t/10),Math.round(6*i/10),Math.round(4*t/10),Math.round(1*i/10)]},function(t,i){return[Math.round(2*t),Math.round(10*i/3)]}],24:[function(t,i,s,e,n){this.moveTo(t+.2*s,i).lineTo(t+s,i).lineTo(t+.8*s,i+e).lineTo(t,i+e).closeSubpath()},function(t,i){return[Math.round(.2*t),0,Math.round(.2*t),0]},function(t,i){return[Math.round(t/.6),Math.round(i)]}],25:[function(t,i,s,e,n){this.moveTo(t+s/2,i).lineTo(t+s,i+e/2*(1-Math.cos(2*Math.PI/4.7))).lineTo(t+s/2+s/2/Math.cos(2*Math.PI/20)*Math.sin(2*Math.PI/10),i+e).lineTo(t+s/2-s/2/Math.cos(2*Math.PI/20)*Math.sin(2*Math.PI/10),i+e).lineTo(t,i+e/2*(1-Math.cos(2*Math.PI/4.7))).closeSubpath()},function(t,i){return[Math.round(t/4),Math.round(i/4),Math.round(t/4),Math.round(i/4)]},function(t,i){return[2*t,2*i]}],26:[function(t,i,s,e,n){var r=n[0]*Math.min(s/2,e/2);this.moveTo(t,i+e/2).lineTo(t+r,i+e).lineTo(t+s-r,i+e).lineTo(t+s,i+e/2).lineTo(t+s-r,i).lineTo(t+r,i).closeSubpath()},function(t,i,s){var e=Math.pow(3,s[0]),n=Math.round(e*Math.min(t/10,i/10));return[n,n,n,n]},function(t,i,s){var e,n,r=Math.pow(3,s[0]);return t<i?n=i+r*(e=t/(1-2*r/10))/5:e=t+r*(n=i/(1-2*r/10))/5,[Math.round(e),Math.round(n)]}],27:[function(t,i,s,e,n){var r=n[0]*Math.min(s/2,e/2);this.moveTo(t+r,i).lineTo(t+s-r,i).lineTo(t+s,i+r).lineTo(t+s,i+e-r).lineTo(t+s-r,i+e).lineTo(t+r,i+e).lineTo(t,i+e-r).lineTo(t,i+r).closeSubpath()},function(t,i,s){var e=.70710678118*s[0]*Math.min(t/2,i/2);return[e,e,e,e]},function(t,i,s){if(s[0]>1)return[t,i];var e,n,r=.70710678118*s[0];return t<i?n=i+r*(e=t/(1-r)):e=t+r*(n=i/(1-r)),[Math.round(e),Math.round(n)]}],28:[function(t,i,s,e,n){var r=n[0]*Math.min(s/2,e/2);this.moveTo(t,i+r).cubicTo(t,i+r,t+r,i+r,t+r,i).lineTo(t+s-r,i).cubicTo(t+s-r,i,t+s-r,i+r,t+s,i+r).lineTo(t+s,i+e-r).cubicTo(t+s,i+e-r,t+s-r,i+e-r,t+s-r,i+e).lineTo(t+r,i+e).cubicTo(t+r,i+e,t+r,i+e-r,t,i+e-r).closeSubpath()},function(t,i,s){var e=Math.round(s[0]*Math.min(t/2,i/2)*Math.cos(Math.PI/4));return[e,e,e,e]},function(t,i,s){if(s[0]>1/Math.cos(Math.PI/4))return[t,i];var e=0;return t<i?e=(t/(1-s[0]*Math.cos(Math.PI/4))-t)/2:t>i&&(e=(i/(1-s[0]*Math.cos(Math.PI/4))-i)/2),[t+Math.round(2*e),i+Math.round(2*e)]}],31:[function(t,i,s,e){this.moveTo(t+s/2,i+e).cubicTo(t-s/2,i+e/4,t+s/4,i-e/3,t+s/2,i+e/4).cubicTo(t+.75*s,i-e/3,t+1.5*s,i+e/4,t+s/2,i+e).closeSubpath()},function(t,i){return[Math.round(.2*t),Math.round(.25*i),Math.round(.2*t),Math.round(.35*i)]},function(t,i){return[Math.round(5*t/3),Math.round(5*i/2)]}],32:[function(t,i,s,e,n){this.moveTo(t+s,i+e).cubicTo(t,i+e,t,i+e/2,t,i+e/2).cubicTo(t,i+e/2,t,i,t+s,i).cubicTo(t+n[0]*s,i,t+n[0]*s,i+e/2,t+n[0]*s,i+e/2).cubicTo(t+n[0]*s,i+e/2,t+n[0]*s,i+e,t+s,i+e).closeSubpath()},function(t,i,s){return[Math.round(t*s[0]/3),Math.round(i*(1-s[0])/2),Math.round(t*(1-s[0])),Math.round(i*(1-s[0])/2)]},function(t,i,s){var e=s[0];return e>0?[Math.round(t/e*1.5),Math.round(i/e)]:[t,i]}],36:[function(t,i,s,e,n){var r,a=.5*s/Math.min(s,e);(r=n[0])>a&&(r=a),r<0&&(r=0);var h=r*Math.min(s,e);this.moveTo(t,i+e).lineTo(t+h,i).lineTo(t+s-h,i).lineTo(t+s,i+e).closeSubpath()},function(t,i,s){var e,n,r=s[0];return e=.5*t/Math.min(t,i),[n=i/3*(s=r<0?0:r>e?e:r)/e,i/3*s/e*2,n,0]},function(t,i,s){return[t*(1+2*s[0]),i*(1+2*s[0])]}],44:[function(t,i,s,e,n){this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+.8*e).lineTo(t+s/2,i+e).lineTo(t,i+.8*e).closeSubpath()},function(t,i){return[0,0,0,.2*i]},function(t,i){return[t,5/4*i]}],46:[function(t,i,s,e,n){this.moveTo(t+s/6,i).lineTo(t,i+e/2).lineTo(t+s/6,i+e).lineTo(t+s-s/6,i+e).cubicTo(t+5/6*s,i+e,t+s,i+e,t+s,i+e/2).cubicTo(t+s,i,t+5/6*s,i,t+5/6*s,i).closeSubpath()},function(t,i){return[t/6,0,t/6,0]},function(t,i){return[3*t/2,i]}],47:[function(t,i,s,e,n){this.moveTo(t+.2*s,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).lineTo(t,i+.2*e).closeSubpath()},function(t,i){return[0,.1*i,0,0]},function(t,i){return[t,Math.round(10*i/9)]}],48:[function(t,i,e,n,r){var a=s(r[0]*Math.min(e,n),0,e);this.moveTo(t,i).lineTo(t+e-a,i).lineTo(t+e,i+n/2).lineTo(t+e-a,i+n).lineTo(t,i+n).closeSubpath()},function(t,i,e){return[0,0,s(e[0]*Math.min(t,i),0,t)/2,0]},function(t,i,s){var e=s[0];if(e>0){var n=i,r=t+e*n/2;return r<n&&(r=Math.round(2*t/(2-e))),[Math.round(r),Math.round(n)]}return[t,i]}],49:[function(t,i,s,e,n){this.moveTo(t+s/6,i).cubicTo(t-s/18,i-e/35,t-s/18,i+36*e/35,t+s/6,i+e).lineTo(t+s,i+e).cubicTo(t+7*s/9,i+36*e/35,t+7*s/9,i-e/35,t+s,i).lineTo(t+s/6,i).closeSubpath()},function(t,i){return[t/6,0,t/6,0]},function(t,i){return[3*t/2,i]}],50:[function(t,i,s,e,n){var r=n[1]*s/2,a=n[0]*e/2;r<=0?this.moveTo(t-2*r,i+a).cubicTo(t+s/4-2*r,i-2.5*a,t+3*s/4,i+5*a,t+s,i+a).lineTo(t+s+2*r,i+e-a).cubicTo(t+3*s/4+2.2*r,i+e+2.5*a,t+s/4,i+e-5*a,t,i+e-a).lineTo(t-2*r,i+a):this.moveTo(t,i+a).cubicTo(t+s/4,i-2.5*a,t+3*s/4-2*r,i+5*a,t+s-2*r,i+a).lineTo(t+s,i+e-a).cubicTo(t+3*s/4,i+e+2.5*a,t+s/4+2*r,i+e-5*a,t+2*r,i+e-a).lineTo(t,i+a),this.closeSubpath()},function(t,i,s){var e=s[1]*t/2,n=s[0]*i/2;return[2*Math.abs(e),2.2*n,2*Math.abs(e),2.2*n]},function(t,i,s){return[t+2*(t*Math.abs(s[1])/(1-2*Math.abs(s[1]))),i+2*(i*s[0]/(1-2.2*s[0]))]}],52:[function(t,s,e,n,r,a){i(this,t,s,e,n,r[0],a)},function(t,i,s,e){var n=r(e),a=n.cXs,h=n.cYs,o=n.minX,u=n.minY,f=n.maxX,c=n.maxY,l=s[0],d=t/(f-o),v=i/(c-u),p=0,m=0;if(5===e)return[p=t-(a[1]*l-o)*d,m=(h[1]*l-u)*v,p,i-(h[5]*l-u)*v];switch(e){case 4:case 6:case 8:p=t-(a[1]*l-o)*d,m=(h[1]*l-u)*v;break;case 12:p=t-(a[3]*l-o)*d,m=(h[3]*l-u)*v;break;case 24:p=t-(a[5]*l-o)*d,m=(h[5]*l-u)*v}return[p,m,p,m]},function(t,i,s,e){var n=s[0],a=0,h=0,o=r(e),u=o.cXs,f=o.cYs,c=o.minX,l=o.minY,d=o.maxX,v=o.maxY;if(0==n)return[t,i];if(5==e)return[Math.round(t*(d-c)/(-d-c+2*u[1]*n)),Math.round(i*(v-l)/((f[5]-f[1])*n))];switch(e){case 4:case 6:case 8:a=Math.round((d-u[1]*n)/(-d-c+2*u[1]*n)*t),h=Math.round((f[1]*n-l)/(v-l-2*(f[1]*n-l))*i);break;case 12:a=Math.round((d-u[3]*n)/(-d-c+2*u[3]*n)*t),h=Math.round((f[3]*n-l)/(v-l-2*(f[3]*n-l))*i);break;case 24:a=Math.round((d-u[5]*n)/(-d-c+2*u[5]*n)*t),h=Math.round((f[5]*n-l)/(v-l-2*(f[5]*n-l))*i)}return[t+2*a,i+2*h]}],592:[function(t,i,s,e,r){var a=4969*s/21699,h=6215*s/21600,o=13135*s/21600,u=16640*s/21600,f=7570*e/21600,c=16515*e/21600,l=e*r[0],d=c-l,v=c+l,p=1125*s/21600,m=1125*e/21600,g=new n;g.addEllipse(t+s/2,i+e/2,s/2,e/2);var M=new n;M.addEllipse(t+h+p,i+f,p,m),M.addEllipse(t+o+p,i+f,p,m);var b=new n;b.addEllipse(t+s/2,i+e/2,s/2,e/2);var w=new n;w.addEllipse(t+h+p,i+f,p,m),w.addEllipse(t+o+p,i+f,p,m);var _=new n;return _.moveTo(t+u,i+d).cubicTo(t+s-h,i+v,t+s/2,i+v,t+s/2,i+v).cubicTo(t+s/2,i+v,t+h,i+v,t+a,i+d),{multiplePaths:!0,fillPaths:[{path:g.path()},{path:M.path(),fill:"darkenLess"}],linePaths:[{path:b.path()},{path:w.path()},{path:_.path()}]}},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[Math.round(n),Math.round(r)]}],621:[function(t,i,s,e,r){var a=r[0]*Math.min(s,e),h=3*a/2,o=2*a,u=s-a,f=s-a/2,c=e-a,l=e-a/2,d=new n;d.moveTo(t,i+c),d.arcTo(a/2,a/2,t+a/2,i+e,!1,!0),d.lineTo(t+a/2,i+l),d.arcTo(a/4,a/4,t+a,i+c,!1,!1),d.lineTo(t+a,i+c),d.lineTo(t+a,i+a/2),d.arcTo(a/2,a/2,t+a+a/2,i,!1,!0),d.lineTo(t+f,i),d.arcTo(a/2,a/2,t+s,i+a/2,!1,!0),d.lineTo(t+u,i+a),d.lineTo(t+u,i+l),d.arcTo(a/2,a/2,t+u-a/2,i+e,!1,!0),d.closeSubpath(),d.moveTo(t+o,i+a/2),d.arcTo(a/2,a/2,t+a,i,!1,!1),d.arcTo(a/4,a/4,t+a+a/2,i+a/2,!1,!1),d.closeSubpath();var v=new n;v.moveTo(t+a,i),v.arcTo(a/2,a/2,t+o,i+a/2,!1,!1),v.arcTo(a/4,a/4,t+a+a/2,i+a/2,!1,!1),v.closeSubpath(),v.moveTo(t+a,i+l),v.arcTo(a/2,a/2,t,i+c,!1,!1),v.arcTo(a/4,a/4,t+a/2,i+c,!1,!1),v.closeSubpath();var p=new n;p.moveTo(t+a,i+c),p.lineTo(t+a,i+a/2),p.arcTo(a/2,a/2,t+a+a/2,i,!1,!0),p.lineTo(t+f,i),p.arcTo(a/2,a/2,t+s,i+a/2,!1,!0),p.lineTo(t+u,i+a),p.lineTo(t+u,i+l),p.arcTo(a/2,a/2,t+u-a/2,i+e,!1,!0),p.lineTo(t+a/2,i+e),p.arcTo(a/2,a/2,t,i+c,!1,!1),p.closeSubpath();var m=new n;return m.moveTo(t+a,i+a/2),m.arcTo(a/2,a/2,t+o,i,!1,!1),m.arcTo(a/4,a/4,t+a+a/2,i+a/2,!1,!1),m.lineTo(t+o,i+a/2),m.moveTo(t+u,i+a),m.lineTo(t+h,i+a),m.moveTo(t+a/2,i+c),m.arcTo(a/4,a/4,t+a,i+l,!1,!1),m.lineTo(t+a,i+l),m.moveTo(t+a/2,i+e),m.arcTo(a/2,a/2,t,i+c,!1,!0),m.lineTo(t+a,i+c),{multiplePaths:!0,fillPaths:[{path:d.path()},{path:v.path(),fill:"darkenLess"}],linePaths:[{path:p.path()},{path:m.path()}]}},function(t,i,s){var e=s[0]*Math.min(t,i),n=i-e/2;return[Math.round(e),Math.round(e/2),Math.round(e),Math.round(i-n)]},function(t,i,s){return[t,i]}],596:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2],o=n[3],u=n[4];a<0&&(a=0),a>.25&&(a=.25),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>(1-r*Math.min(s,e)/e)*e/Math.min(s,e)&&(h=(1-r*Math.min(s,e)/e)*e/Math.min(s,e)),u<(h+r)*Math.min(s,e)/e&&(u=(h+r)*Math.min(s,e)/e),u>1&&(u=1);var f=r*Math.min(s,e),c=a*Math.min(s,e),l=c-f/2,d=e*u,v=d-h*Math.min(s,e),p=s-l;o<0&&(o=0),o>Math.min(p/2,v)/Math.min(s,e)&&(o=Math.min(p/2,v)/Math.min(s,e));var m=o*Math.min(s,e),g=m-f,M=Math.max(g,0),b=f+M,w=s-c,_=w-c,y=_+l,k=p-m,T=y-M;this.moveTo(t,i+e).lineTo(t,i+m).arcTo(m,m,t+m,i,!1,!0).lineTo(t+k,i).arcTo(m,m,t+p,i+m,!1,!0).lineTo(t+p,i+v).lineTo(t+s,i+v).lineTo(t+w,i+d).lineTo(t+_,i+v).lineTo(t+y,i+v).lineTo(t+y,i+b).arcTo(M,M,t+T,i+f,!1,!1).lineTo(t+b,i+f).arcTo(M,M,t+f,i+b,!1,!1).lineTo(t+f,i+e).closeSubpath()}],612:[function(t,i,s,e,n){var r=s/2*Math.sqrt(2)*n[0],a=e/2*Math.sqrt(2)*n[0],h=s/2+r*Math.sqrt(2)/2,o=e/2-a*Math.sqrt(2)/2,u=(s/2+h)/2,f=(e/2+o)/2;this.arcTo(s/2,e/2,t+s/2,i+e,!1,!0).quadraticTo(t+u,i,t+h,i+o).quadraticTo(t+s,i+f,t+s,i+e/2).arcTo(s/2,e/2,t+s/2,i,!1,!0).arcTo(s/2,e/2,t,i+e/2,!1,!0)},function(t,i){var s=1-Math.sqrt(2)/2,e=Math.round(t*s/2),n=Math.round(i*s/2);return[e,n,e,n]},function(t,i){var s=1-Math.sqrt(2)/2,e=t/(1-s),n=i/(1-s);return[Math.round(e),Math.round(n)]}],590:[function(t,i,s,e,n){var r=n[0],a=.5-r,h=30274*a/32768,o=12540*a/32768,u=3*(.5-h)/4,f=3*(.5-o)/4,c=u+.03662,l=f+.03662,d=f+.125,v=1-u,p=1-c,m=1-l,g=1-d,M=18436*s/21600,b=3163*e/21600,w=3163*s/21600,_=18436*e/21600,y=s*u,k=s*c,T=s*l,x=s*d,C=s*v,S=s*p,E=s*m,O=s*g,P=s*r,I=s*a,R=e*a,N=e*u,A=e*c,D=e*l,Y=e*d,X=e*v,L=e*p,F=e*m,H=e*g;this.moveTo(t+s,i+e/2).lineTo(t+C,i+H).lineTo(t+C,i+Y).closeSubpath(),this.moveTo(t+M,i+b).lineTo(t+S,i+D).lineTo(t+E,i+A).closeSubpath(),this.moveTo(t+s/2,i).lineTo(t+O,i+N).lineTo(t+x,i+N).closeSubpath(),this.moveTo(t+w,i+b).lineTo(t+T,i+A).lineTo(t+k,i+D).closeSubpath(),this.moveTo(t,i+e/2).lineTo(t+y,i+Y).lineTo(t+y,i+H).closeSubpath(),this.moveTo(t+w,i+_).lineTo(t+k,i+F).lineTo(t+T,i+L).closeSubpath(),this.moveTo(t+s/2,i+e).lineTo(t+x,i+X).lineTo(t+O,i+X).closeSubpath(),this.moveTo(t+M,i+_).lineTo(t+E,i+L).lineTo(t+S,i+F).closeSubpath(),this.moveTo(t+P,i+e/2).addEllipse(t+s/2,i+e/2,I,R)},function(t,i,s){var e=23170*(.5-s[0])/32768,n=.5-e,r=t*n,a=i*(.5+e),h=i*n;return[Math.round(r),Math.round(h),Math.round(t-2*r),Math.round(a-h)]},function(t,i,s){return[t,i]}],669:[function(t,i,s,e,n){var r=7349*s/2e4,a=7349*e/2e4,h=n[0]*Math.min(s,e)/2,o=s/2-r,u=s/2-h,f=s/2+h,c=s/2+r,l=e/2-a,d=e/2-h,v=e/2+h,p=e/2+a;this.moveTo(t+o,i+d).lineTo(t+u,i+d).lineTo(t+u,i+l).lineTo(t+f,i+l).lineTo(t+f,i+d).lineTo(t+c,i+d).lineTo(t+c,i+v).lineTo(t+f,i+v).lineTo(t+f,i+p).lineTo(t+u,i+p).lineTo(t+u,i+v).lineTo(t+o,i+v).closeSubpath()},function(t,i,s){var e=t/2-7349*t/2e4,n=i/2-s[0]*Math.min(t,i)/2;return[Math.round(e),Math.round(n),Math.round(t-2*e),Math.round(i-2*n)]},function(t,i,s){return[t,i]}],671:[function(t,i,s,e,n){var r=n[0]*Math.min(s,e),a=Math.atan(e/s),h=Math.sin(a),o=Math.cos(a),u=Math.sqrt(s*s+e*e),f=u-51965*u/1e5,c=o*f/2,l=h*f/2,d=h*r/2,v=o*r/2,p=c-d,m=l+v,g=c+d,M=l-v,b=(s/2-g)*Math.tan(a)+M,w=s-g,_=s-p,y=(e/2-m)/Math.tan(a),k=_-y,T=p+y,x=e-m,C=e-M,S=e-b;this.moveTo(t+p,i+m).lineTo(t+g,i+M).lineTo(t+s/2,i+b).lineTo(t+w,i+M).lineTo(t+_,i+m).lineTo(t+k,i+e/2).lineTo(t+_,i+x).lineTo(t+w,i+C).lineTo(t+s/2,i+S).lineTo(t+g,i+C).lineTo(t+p,i+x).lineTo(t+T,i+e/2).closeSubpath()},function(t,i,s){var e=s[0]*Math.min(t,i),n=Math.atan(i/t),r=Math.sin(n),a=Math.cos(n),h=Math.sqrt(t*t+i*i),o=h-51965*h/1e5,u=a*o/2-r*e/2,f=r*o/2-a*e/2;return[Math.round(u),Math.round(f),Math.round(t-2*u),Math.round(i-2*f)]},function(t,i,s){return[t,i]}],622:[function(t,i,s,e,n){},function(t,i,s){var e=s[0]*Math.min(t,i),n=t-e,r=i-e/2;return[Math.round(e),Math.round(e/4),Math.round(t-n),Math.round(i-r)]},function(t,i,s){return[t,i]}],37:[function(t,i,s,e,n){var r=n[0]*Math.min(s,e),a=t+r,h=i+r,o=t+s-r,u=i+e-r;this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath(),this.moveTo(a,h).lineTo(o,h).lineTo(o,u).lineTo(a,u).closeSubpath()},function(t,i,s){var e=Math.round(s[0]*Math.min(t,i));return[e,e,e,e]},function(t,i,s){var e=s[0]*Math.min(t,i),n=t+2*e,r=i+2*e;return[Math.round(n),Math.round(r)]}],663:[function(t,i,s,e,n){this.moveTo(t+s/6,i),this.cubicTo(t-s/18,i-e/35,t-s/18,i+36*e/35,t+s/6,i+e),this.lineTo(t+s,i+e),this.cubicTo(t+7*s/9,i+36*e/35,t+7*s/9,i-e/35,t+s,i),this.lineTo(t+s/6,i),this.closeSubpath()},function(t,i,s){var e=Math.round(t/6);return[e,0,e,0]},function(t,i,s){return[t+2*Math.round(t/4),i]}],589:[function(t,i,s,e,n){var r=n[0],a=n[1],h=e*r,o=10*h/3,u=h-o,f=h+o,c=e-h,l=c-o,d=c+o,v=s*a,p=2*s*a,m=(Math.abs(v),p>0?0:p),g=-m,M=p>0?p:0,b=s-M,w=(m+b)/6,_=g+w,y=(m+b)/3,k=g+y,T=(g+b)/2,x=T+w,C=(x+b)/2,S=M,E=s+m,O=S+w,P=S+y,I=(S+E)/2,R=I+w,N=(R+E)/2;this.moveTo(t+g,i+h).cubicTo(t+_,i+u,t+k,i+f,t+T,i+h).cubicTo(t+x,i+u,t+C,i+f,t+b,i+h).lineTo(t+E,i+c).cubicTo(t+N,i+d,t+R,i+l,t+I,i+c).cubicTo(t+P,i+d,t+O,i+l,t+S,i+c).closeSubpath()},function(t,i,s){var e=s[0],n=2*t*s[1],r=n>0?0:n,a=-r,h=n>0?n:0,o=t-2*h,u=h,f=t+2*r,c=Math.max(a,u),l=2*e*i,d=t-(c+Math.min(o,f)),v=i-(l+(i-4*e*i));return[Math.round(c),Math.round(l),Math.round(d),Math.round(v)]},function(t,i,s){var e=s[0],n=2*t*s[1],r=n>0?0:n,a=-r,h=n>0?n:0,o=t-2*h,u=h,f=t+2*r,c=Math.max(a,u),l=2*e*i,d=t-(c+Math.min(o,f)),v=i-(l+(i-4*e*i));return[Math.round(c),Math.round(l),Math.round(d),Math.round(v)]}],43:[function(t,i,s,e,n){var r=n[0]*Math.min(s,e),a=t+s/2,h=i+e/2,o=s/2,u=e/2,f=o-r,c=u-r;this.moveTo(a+o,h).arcTo(o,u,a,h+u,!1,!0).arcTo(o,u,a-o,h,!1,!0).arcTo(o,u,a,h-u,!1,!0).arcTo(o,u,a+o,h,!1,!0).closeSubpath(),this.moveTo(a+f,h).arcTo(f,c,a,h-c,!1,!1).arcTo(f,c,a-f,h,!1,!1).arcTo(f,c,a,h+c,!1,!1).arcTo(f,c,a+f,h,!1,!1).closeSubpath()},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[Math.round(n),Math.round(r)]}],591:[function(t,i,s,e,n){var r=s/2.16,a=e/2.16;this.moveTo(t+.8472*r,i+0*a).lineTo(t+1.286*r,i+.608*a).lineTo(t+1.105*r,i+.6797*a).lineTo(t+1.6577*r,i+1.2007*a).lineTo(t+1.4767*r,i+1.2877*a).lineTo(t+2.16*r,i+2.16*a).lineTo(t+1.0012*r,i+1.4915*a).lineTo(t+1.2222*r,i+1.3987*a).lineTo(t+.5022*r,i+.9705*a).lineTo(t+.7602*r,i+.8382*a).lineTo(t+0*r,i+.389*a).closeSubpath()},function(t,i,s){var e=Math.round(.4*t),n=Math.round(.35*i);return[e,n,t-(e+Math.round(.2*t)),i-(n+Math.round(.3*i))]},function(t,i,s){return[Math.round(t/.2),Math.round(i/.3)]}],594:[function(t,i,s,e,r){var a=r[0]*Math.min(s,e),h=e-a,o=s-a,u=new n;u.moveTo(t,i+a).lineTo(t+o,i+a).lineTo(t+o,i+e).lineTo(t,i+e).closeSubpath();var f=new n;f.moveTo(t+o,i+a).lineTo(t+s,i).lineTo(t+s,i+h).lineTo(t+o,i+e).closeSubpath();var c=new n;c.moveTo(t,i+a).lineTo(t+a,i).lineTo(t+s,i).lineTo(t+o,i+a).closeSubpath();var l=new n;return l.moveTo(t,i+a).lineTo(t+a,i).lineTo(t+s,i).lineTo(t+s,i+h).lineTo(t+o,i+e).lineTo(t,i+e).closeSubpath(),l.moveTo(t,i+a).lineTo(t+o,i+a).lineTo(t+s,i),l.moveTo(t+o,i+a).lineTo(t+o,i+e),{multiplePaths:!0,fillPaths:[{path:u.path()},{path:f.path(),fill:"darkenLess"},{path:c.path(),fill:"lightenLess"}],linePaths:[{path:l.path()}]}},function(t,i,s){var e=s[0]*Math.min(t,i),n=e/2,r=t-e,a=i;return[Math.round(0),Math.round(n),Math.round(t-(0+r)),Math.round(i-(n+a))]},function(t,i,s){var e=t+s[0]*Math.min(t,i),n=i;return[Math.round(e),Math.round(n)]}],633:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=new n;l.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var d=new n;d.moveTo(t+h,i).lineTo(t+h,i+e);var v=new n;return v.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f),{multiplePaths:!0,fillPaths:[{path:l.path()}],linePaths:[{path:d.path()},{path:v.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],593:[function(t,i,s,e,r){var a=r[0]*Math.min(s,e),h=t+s-a,o=i+e-a,u=new n;u.moveTo(t+a,i+a).lineTo(h,i+a).lineTo(h,o).lineTo(t+a,o).closeSubpath();var f=new n;f.moveTo(t,i).lineTo(t+s,i).lineTo(h,i+a).lineTo(t+a,i+a).closeSubpath();var c=new n;c.moveTo(t,i+e).lineTo(t+a,o).lineTo(h,o).lineTo(t+s,i+e).closeSubpath();var l=new n;l.moveTo(t,i).lineTo(t+a,i+a).lineTo(t+a,o).lineTo(t,i+e).closeSubpath();var d=new n;d.moveTo(t+s,i).lineTo(t+s,i+e).lineTo(h,o).lineTo(h,i+a).closeSubpath();var v=new n;return v.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath(),v.moveTo(t+a,i+a).lineTo(h,i+a).lineTo(h,o).lineTo(t+a,o).closeSubpath(),v.moveTo(t,i).lineTo(t+a,i+a),v.moveTo(t,i+e).lineTo(t+a,o),v.moveTo(t+s,i).lineTo(h,i+a),v.moveTo(t+s,i+e).lineTo(h,o),{multiplePaths:!0,fillPaths:[{path:u.path()},{path:f.path(),fill:"lightenLess"},{path:c.path(),fill:"darkenLess"},{path:l.path(),fill:"lighten"},{path:d.path(),fill:"darken"}],linePaths:[{path:v.path()}]}},function(t,i,s){var e=s[0]*Math.min(t,i),n=e,r=e,a=t-2*e,h=i-2*e;return[Math.round(n),Math.round(r),Math.round(t-(n+a)),Math.round(i-(r+h))]},function(t,i,s){var e=s[0]*Math.min(t,i),n=t+2*e,r=i+2*e;return[Math.round(n),Math.round(r)]}],659:[function(t,i,s,e,n){var r=t+s/2,a=i+e/2;this.moveTo(t,i).lineTo(t+s,i).lineTo(r,a).lineTo(t+s,i+e).lineTo(t,i+e).lineTo(r,a).closeSubpath()},function(t,i,s){var e=t/4,n=i/4,r=e,a=n,h=t-2*e,o=i-2*n;return[Math.round(r),Math.round(a),Math.round(t-(r+h)),Math.round(i-(a+o))]},function(t,i,s){var e=t/.5,n=i/.5;return[Math.round(e),Math.round(n)]}],649:[function(t,i,s,e,n){var r=s/2.16,a=.3475*r,h=1.8125*r,o=(2.16-1.8125)*r;this.moveTo(t+a,i),this.lineTo(t+h,i),this.arcTo(o,e/2,t+h,i+e,!1,!0),this.lineTo(t+a,i+e),this.arcTo(o,e/2,t+a,i,!1,!0),this.closeSubpath()},function(t,i,s){var e=Math.round(.1018*t/2.16);return[e,0,e,0]},function(t,i,s){return[t,i]}],638:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=new n;f.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var c=new n;c.moveTo(t+h,i).lineTo(t+h,i+e);var l=new n;return l.moveTo(t+h,i+a).lineTo(t+u,i+o),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:f.path()},{path:c.path()},{path:l.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],640:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=e*r[6],d=s*r[7],v=new n;v.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var p=new n;p.moveTo(t+h,i).lineTo(t+h,i+e);var m=new n;return m.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f).lineTo(t+d,i+l),{multiplePaths:!0,fillPaths:[{path:v.path()}],linePaths:[{path:v.path()},{path:p.path()},{path:m.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],637:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=e*r[6],d=s*r[7],v=new n;v.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var p=new n;return p.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f).lineTo(t+d,i+l),{multiplePaths:!0,fillPaths:[{path:v.path()}],linePaths:[{path:p.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],634:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=e*r[6],d=s*r[7],v=new n;v.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var p=new n;p.moveTo(t+h,i).lineTo(t+h,i+e);var m=new n;return m.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f).lineTo(t+d,i+l),{multiplePaths:!0,fillPaths:[{path:v.path()}],linePaths:[{path:p.path()},{path:m.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],636:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=new n;l.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var d=new n;return d.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f),{multiplePaths:!0,fillPaths:[{path:l.path()}],linePaths:[{path:d.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],648:[function(t,i,s,e,r){var a=s/2.16,h=e/2.16,o=new n;o.moveTo(t+0*a,i+2.0782*h).cubicTo(t+.9298*a,i+2.3542*h,t+.9298*a,i+1.8022*h,t+1.8595*a,i+1.8022*h).lineTo(t+1.8595*a,i+.3675*h).lineTo(t+0*a,i+.3675*h).closeSubpath(),o.moveTo(t+.1532*a,i+.3675*h).lineTo(t+.1532*a,i+.1815*h).lineTo(t+2*a,i+.1815*h).lineTo(t+2*a,i+1.6252*h).cubicTo(t+1.9298*a,i+1.6252*h,t+1.8595*a,i+1.6352*h,t+1.8595*a,i+1.6352*h).lineTo(t+1.8595*a,i+.3675*h).closeSubpath(),o.moveTo(t+.2972*a,i+.1815*h).lineTo(t+.2972*a,i+0*h).lineTo(t+2.16*a,i+0*h).lineTo(t+2.16*a,i+1.4392*h).cubicTo(t+2.08*a,i+1.4392*h,t+2*a,i+1.4467*h,t+2*a,i+1.4467*h).lineTo(t+2*a,i+.1815*h).closeSubpath();var u=new n;u.moveTo(t+0*a,i+.3675*h).lineTo(t+1.8595*a,i+.3675*h).lineTo(t+1.8595*a,i+1.8022*h).cubicTo(t+.9298*a,i+1.8022*h,t+.9298*a,i+2.3542*h,t+0*a,i+2.0782*h).closeSubpath(),u.moveTo(t+.1532*a,i+.3675*h).lineTo(t+.1532*a,i+.1815*h).lineTo(t+2*a,i+.1815*h).lineTo(t+2*a,i+1.6252*h).cubicTo(t+1.9298*a,i+1.6252*h,t+1.8595*a,i+1.6352*h,t+1.8595*a,i+1.6352*h),u.moveTo(t+.2972*a,i+.1815*h).lineTo(t+.2972*a,i+0*h).lineTo(t+2.16*a,i+0*h).lineTo(t+2.16*a,i+1.4392*h).cubicTo(t+2.08*a,i+1.4392*h,t+2*a,i+1.4467*h,t+2*a,i+1.4467*h);var f=new n;return f.moveTo(t+0*a,i+2.0782*h).cubicTo(t+.9298*a,i+2.3542*h,t+.9298*a,i+1.8022*h,t+1.8595*a,i+1.8022*h).lineTo(t+1.8595*a,i+1.6352*h).cubicTo(t+1.8595*a,i+1.6352*h,t+1.9298*a,i+1.6252*h,t+2*a,i+1.6252*h).lineTo(t+2*a,i+1.4467*h).cubicTo(t+2*a,i+1.4467*h,t+2.08*a,i+1.4392*h,t+2.16*a,i+1.4392*h).lineTo(t+2.16*a,i+0*h).lineTo(t+.2972*a,i+0*h).lineTo(t+.2972*a,i+.1815*h).lineTo(t+.1532*a,i+.1815*h).lineTo(t+.1532*a,i+.3675*h).lineTo(t+0*a,i+.3675*h).closeSubpath(),{multiplePaths:!0,fillPaths:[{path:o.path()}],linePaths:[{path:u.path()},{path:f.path()}]}},function(t,i,s){var e=.3675*i/2.16,n=1.8595*t/2.16,r=i*(2.0782-.3675)/2.16;return[0,Math.round(e),Math.round(t-n),Math.round(i-(e+r))]},function(t,i,s){var e=t/(1.8595/2.16),n=i/.7919907407407406;return[Math.round(e),Math.round(n)]}],595:[function(t,i,s,e,r){var a=r[0],h=r[1];a<0&&(a=0),a>1&&(a=1);var o=.84375*s/Math.min(s,e);h<0&&(h=0),h>o&&(h=o);var u=5*Math.min(s,e)/32,f=s-Math.min(s,e)*h,c=e*a/2,l=e/2-c,d=e/2+c,v=new n,p=new n,m=new n;return v.moveTo(t,i+l),v.lineTo(t+Math.min(s,e)/32,i+l),v.lineTo(t+Math.min(s,e)/32,i+d),v.lineTo(t,i+d),v.closeSubpath(),p.moveTo(t+Math.min(s,e)/16,i+l),p.lineTo(t+Math.min(s,e)/8,i+l),p.lineTo(t+Math.min(s,e)/8,i+d),p.lineTo(t+Math.min(s,e)/16,i+d),p.closeSubpath(),m.moveTo(t+u,i+l),m.lineTo(t+f,i+l),m.lineTo(t+f,i),m.lineTo(t+s,i+e/2),m.lineTo(t+f,i+e),m.lineTo(t+f,i+d),m.lineTo(t+u,i+d),m.closeSubpath(),{multiplePaths:!0,fillPaths:[{path:v.path()},{path:p.path()},{path:m.path()}],linePaths:[{path:v.path()},{path:p.path()},{path:m.path()}]}},function(t,i,s){var e=s[0],n=s[1];e<0&&(e=0),e>1&&(e=1);var r=.84375*t/Math.min(t,i);n<0&&(n=0),n>r&&(n=r);var a=5*Math.min(t,i)/32,h=Math.min(t,i)*n,o=t-h,u=i*e/2,f=i/2-u,c=i/2+u;return[Math.round(a),Math.round(f),Math.round(t-(o+(t-o)/2)),Math.round(i-c)]},function(t,i,s){return[t,i]}],618:[function(t,i,s,e,r){var a=r[0]*Math.min(s,e),h=s-a,o=e-a,u=new n;u.moveTo(t+a,i),u.arcTo(a,a,t,i+a,!1,!0),u.lineTo(t,i+o),u.arcTo(a,a,t+a,i+e,!1,!0),u.lineTo(t+h,i+e),u.arcTo(a,a,t+s,i+o,!1,!0),u.lineTo(t+s,i+a),u.arcTo(a,a,t+h,i,!1,!0),u.closeSubpath();var f=new n;return f.moveTo(t+a,i+e),f.arcTo(a,a,t,i+o,!1,!0),f.lineTo(t,i+a),f.arcTo(a,a,t+a,i,!1,!0),f.moveTo(t+h,i),f.arcTo(a,a,t+s,i+a,!1,!0),f.lineTo(t+s,i+o),f.arcTo(a,a,t+h,i+e,!1,!0),{multiplePaths:!0,fillPaths:[{path:u.path()}],linePaths:[{path:f.path()}]}},function(t,i,s){var e=s[0]*Math.min(t/2,i/2),n=Math.round(e*(1-Math.sqrt(2)/2));return[n,n,n,n]},function(t,i,s){return s[0]>1?[t,i]:(t<i?(e=t/(1-s[0]*(1-Math.sqrt(2)/2)),e=2*Math.round((e-t)/2)):(e=i/(1-s[0]*(1-Math.sqrt(2)/2)),e=2*Math.round((e-i)/2)),[t+e,i+e]);var e}],607:[function(t,i,s,e,n){var r=s*n[0],a=e*n[0];this.moveTo(t,i+a).lineTo(t+r,i).lineTo(t+s,i).lineTo(t,i+e).closeSubpath()},function(t,i,s){var e=t*s[0],n=(e+t)/2,r=i*s[0],a=n,h=(r+i)/2;return[Math.round(0),Math.round(0),Math.round(t-a),Math.round(i-h)]},function(t,i,s){var e=t*s[0],n=(e+t)/2,r=i*s[0],a=(r+i)/2;return[Math.round(n),Math.round(a)]}],606:[function(t,i,s,e,n){var r=n[1];r<0&&(r=0),r>s/Math.min(s,e)&&(r=s/Math.min(s,e));var a=r*Math.min(s,e),h=e-e*a/s,o=n[0];o<0&&(o=0),o>h/Math.min(s,e)&&(o=h/Math.min(s,e));var u=o*Math.min(s,e),f=s-u*s/e,c=e-a*e/s;this.moveTo(t,i).lineTo(t+s,i).lineTo(t+f,i+u).lineTo(t+a,i+u).lineTo(t+a,i+c).lineTo(t,i+e).closeSubpath()},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],610:[function(t,i,s,e,n){var r=n[0]*Math.min(s,e),a=s/2-r,h=e/2-r,o=Math.atan(e/s),u=h*Math.cos(o),f=a*Math.sin(o),c=a*h/Math.sqrt(u*u+f*f),l=r/2,d=Math.atan(l/c),v=2*d,p=-Math.PI+v,m=Math.atan(e/s)-d,g=h*Math.cos(m),M=a*Math.sin(m),b=a*h/Math.sqrt(g*g+M*M),w=b*Math.cos(m),_=b*Math.sin(m),y=s/2+w,k=e/2+_,T=s/2-w,x=e/2-_,C=180*Math.atan2(Math.tan(-m),h/a)/Math.PI,S=180+180*Math.atan2(Math.tan(-(p+m)),h/a)/Math.PI-C;Math.abs(S)>180&&(S=180*Math.atan2(Math.tan(-(p+m)),h/a)/Math.PI-C);var E=s/2,O=e/2,P=t+E,I=i+O;this.moveTo(t,I),this.arcTo(E,O,P,i+e,!1,!1),this.arcTo(E,O,t+s,I,!1,!1),this.arcTo(E,O,P,i,!1,!1),this.arcTo(E,O,t,I,!1,!1),this.closeSubpath(),this.moveTo(t+y,i+k);var R=-S,N=(C+R)*Math.PI/180,A=a,D=h,Y=t+r+A,X=i+r+D,L=Y+A*Math.cos(N),F=X+D*Math.sin(N),H=Math.abs(R)>180,U=R<0;this.arcTo(A,D,L,F,H,U),this.moveTo(t+T,i+x);var B=-S,Z=(C+180+B)*Math.PI/180,z=Y+A*Math.cos(Z),G=X+D*Math.sin(Z),V=Math.abs(B)>180,W=B<0;this.arcTo(A,D,z,G,V,W)},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[Math.round(n),Math.round(r)]}],605:[function(t,i,s,e,n){this.moveTo(t+s/11,i+3/7*e),this.quadraticTo(t+1.3/11*s,i+1.1/7*e,t+3.8/11*s,i+1.9/7*e),this.quadraticTo(t+4.6/11*s,i+1/7*e,t+6/11*s,i+1.5/7*e),this.quadraticTo(t+6.8/11*s,i+.8/7*e,t+7.8/11*s,i+1.3/7*e),this.quadraticTo(t+9.5/11*s,i+.5/7*e,t+10/11*s,i+2/7*e),this.quadraticTo(t+1*s,i+2.4/7*e,t+10.5/11*s,i+3.2/7*e),this.quadraticTo(t+12/11*s,i+4.6/7*e,t+9.8/11*s,i+5.1/7*e),this.quadraticTo(t+9.5/11*s,i+6.8/7*e,t+7.5/11*s,i+6.2/7*e),this.quadraticTo(t+6/11*s,i+8/7*e,t+4.3/11*s,i+6.5/7*e),this.quadraticTo(t+2.6/11*s,i+e,t+1.5/11*s,i+6/7*e),this.quadraticTo(t+-.2/11*s,i+6/7*e,t+.5/11*s,i+4.5/7*e),this.quadraticTo(t-.5/11*s,i+3.7/7*e,t+1/11*s,i+3/7*e),this.closeSubpath();var r=-e/11;this.clear(),this.moveTo(t+s/11,i+3/7*e+r),this.quadraticTo(t+1.3/11*s,i+1.1/7*e+r,t+3.8/11*s,i+1.9/7*e+r),this.quadraticTo(t+4.6/11*s,i+1/7*e+r,t+6/11*s,i+1.5/7*e+r),this.quadraticTo(t+6.8/11*s,i+.8/7*e+r,t+7.8/11*s,i+1.3/7*e+r),this.quadraticTo(t+9.5/11*s,i+.5/7*e+r,t+10/11*s,i+2/7*e+r),this.quadraticTo(t+1*s,i+2.4/7*e+r,t+10.5/11*s,i+3.2/7*e+r),this.quadraticTo(t+12/11*s,i+4.6/7*e+r,t+9.8/11*s,i+5.1/7*e+r),this.quadraticTo(t+9.5/11*s,i+6.8/7*e+r,t+7.5/11*s,i+6.2/7*e+r),this.quadraticTo(t+6/11*s,i+8/7*e+r,t+4.3/11*s,i+6.5/7*e+r),this.quadraticTo(t+2.6/11*s,i+e+r,t+1.5/11*s,i+6/7*e+r),this.quadraticTo(t+-.2/11*s,i+6/7*e+r,t+.5/11*s,i+4.5/7*e+r),this.quadraticTo(t-.5/11*s,i+3.7/7*e+r,t+1/11*s,i+3/7*e+r),this.closeSubpath()},function(t,i,s){var e=Math.round(t/8),n=Math.round(i/4);return[e,n,e,n]},function(t,i,s){return[t+2*Math.round(t/6),i+2*Math.round(i/2)]}],625:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2];a<0&&(a=0),a>.5&&(a=.5),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>(1-2*a)/2&&(h=(1-2*a)/2);var o=h*Math.min(s,e),u=a*Math.min(s,e),f=r*Math.min(s,e)/2,c=s/2-u,l=s/2+u,d=s/2-f,v=s/2+f,p=s-o,m=e/2-u,g=e/2+u,M=e/2-f,b=e/2+f,w=e-o;this.moveTo(t,i+e/2).lineTo(t+o,i+m).lineTo(t+o,i+M).lineTo(t+d,i+M).lineTo(t+d,i+o).lineTo(t+c,i+o).lineTo(t+s/2,i).lineTo(t+l,i+o).lineTo(t+v,i+o).lineTo(t+v,i+M).lineTo(t+p,i+M).lineTo(t+p,i+m).lineTo(t+s,i+e/2).lineTo(t+p,i+g).lineTo(t+p,i+b).lineTo(t+v,i+b).lineTo(t+v,i+w).lineTo(t+l,i+w).lineTo(t+s/2,i+e).lineTo(t+c,i+w).lineTo(t+d,i+w).lineTo(t+d,i+b).lineTo(t+o,i+b).lineTo(t+o,i+g).closeSubpath()},function(t,i,s){var e=s[0],n=s[1],r=s[2];n<0&&(n=0),n>.5&&(n=.5),e<0&&(e=0),e>2*n&&(e=2*n),r<0&&(r=0),r>(1-2*n)/2&&(r=(1-2*n)/2);var a=r*Math.min(t,i),h=n*Math.min(t,i),o=e*Math.min(t,i)/2,u=i/2-o,f=i/2+o,c=o*a/h;return[Math.round(c),Math.round(u),Math.round(c),Math.round(i-f)]},function(t,i,s){var e=s[0],n=s[1],r=s[2];n<0&&(n=0),n>.5&&(n=.5),e<0&&(e=0),e>2*n&&(e=2*n),r<0&&(r=0),r>(1-2*n)/2&&(r=(1-2*n)/2);var a=r*Math.min(t,i),h=n*Math.min(t,i),o=e*Math.min(t,i)/2,u=i/2-o,f=o*a/h;return[Math.round(t+2*f),Math.round(i+2*(i/2-u))]}],612:[function(t,i,s,e,n){var r=n[0],a=s/2*Math.sqrt(2)*r,h=e/2*Math.sqrt(2)*r,o=s/2+a*Math.sqrt(2)/2,u=e/2-h*Math.sqrt(2)/2,f=(s/2+o)/2,c=(e/2+u)/2,l=t+s/2,d=i+e/2,v=s/2,p=e/2;this.moveTo(l-v,d),this.arcTo(v,p,l,d-p,!1,!0),this.quadraticTo(t+f,i,t+o,i+u),this.quadraticTo(t+s,i+c,t+s,i+e/2),this.arcTo(v,p,l,d+p,!1,!0),this.arcTo(v,p,l-v,d,!1,!0)},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],650:[function(t,i,s,e,n){this.moveTo(t,i+e/2).lineTo(t+s/5,i).lineTo(t+4*s/5,i).lineTo(t+s,i+e/2).lineTo(t+4*s/5,i+e).lineTo(t+s/5,i+e).closeSubpath()},function(t,i,s){return[Math.round(t/5),0,Math.round(t/5),0]},function(t,i,s){return[t,i]}],654:[function(t,i,s,e,n){this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+4*e/5).lineTo(t+s/2,i+e).lineTo(t,i+4*e/5).closeSubpath()},function(t,i,s){return[0,0,0,Math.round(i/5)]},function(t,i,s){var e=5*i/4;return[t,Math.round(e)]}],641:[function(t,i,s,e,n){this.addRect(t,i,s,e)},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],645:[function(t,i,s,e,r){var a=new n;a.addRect(t,i,s,e);var h=new n;h.moveTo(t+s/8,i).lineTo(t+s/8,i+e).moveTo(t+7*s/8,i).lineTo(t+7*s/8,i+e);var o=new n;return o.addRect(t,i,s,e),{multiplePaths:!0,fillPaths:[{path:a.path()}],linePaths:[{path:h.path()},{path:o.path()}]}},function(t,i,s){return[Math.round(t/8),0,Math.round(t/8),0]},function(t,i,s){return[t,i]}],650:[function(t,i,s,e,n){this.moveTo(t,i+e/2).lineTo(t+s/5,i).lineTo(t+4*s/5,i).lineTo(t+s,i+e/2).lineTo(t+4*s/5,i+e).lineTo(t+s/5,i+e).closeSubpath()},function(t,i,s){return[Math.round(t/5),0,Math.round(t/5),0]},function(t,i,s){return[t,i]}],651:[function(t,i,s,e,n){this.moveTo(t,i+e/5).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath()},function(t,i,s){return[0,Math.round(i/5),0,0]},function(t,i,s){return[t,i]}],652:[function(t,i,s,e,n){this.moveTo(t,i).lineTo(t+s,i).lineTo(t+4*s/5,i+e).lineTo(t+s/5,i+e).closeSubpath()},function(t,i,s){return[Math.round(t/5),0,Math.round(t/5),0]},function(t,i,s){return[t,i]}],655:[function(t,i,s,e,n){this.moveTo(t,i+e/5).lineTo(t+s/5,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath()},function(t,i,s){return[0,Math.round(i/5),0,0]},function(t,i,s){return[t,i]}],656:[function(t,i,s,e,n){this.moveTo(t,i+e/10),this.arcTo(s/4,e/10,t+s/2,i+e/10,!1,!1),this.arcTo(s/4,e/10,t+s,i+e/10,!1,!0),this.lineTo(t+s,i+18*e/20),this.arcTo(s/4,e/10,t+s/2,i+18*e/20,!1,!1),this.arcTo(s/4,e/10,t,i+18*e/20,!1,!0),this.closeSubpath()},function(t,i,s){return[0,Math.round(i/5),0,Math.round(i/5)]},function(t,i,s){return[t,i]}],657:[function(t,i,s,e,r){var a=t+s/2,h=i+e/2,o=s/2,u=e/2,f=new n;f.addEllipse(a,h,o,u);var c=Math.cos(45*Math.PI/180),l=Math.sin(45*Math.PI/180),d=new n;d.moveTo(a-o*c,h-u*l).lineTo(a+o*c,h+u*l).moveTo(a+o*c,h-u*l).lineTo(a-o*c,h+u*l);var v=new n;return v.addEllipse(a,h,o,u),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:d.path()},{path:v.path()}]}},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],658:[function(t,i,s,e,r){var a=t+s/2,h=i+e/2,o=s/2,u=e/2,f=new n;f.addEllipse(a,h,o,u);var c=new n;c.moveTo(a,i).lineTo(a,i+e).moveTo(t,h).lineTo(t+s,h);var l=new n;return l.addEllipse(a,h,o,u),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:c.path()},{path:l.path()}]}},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],660:[function(t,i,s,e,r){var a=new n;a.moveTo(t,i+e/2).lineTo(t+s/2,i).lineTo(t+s,i+e/2).lineTo(t+s/2,i+e).closeSubpath();var h=new n;h.moveTo(t,i+e/2).lineTo(t+s,i+e/2);var o=new n;return o.moveTo(t,i+e/2).lineTo(t+s/2,i).lineTo(t+s,i+e/2).lineTo(t+s/2,i+e).closeSubpath(),{multiplePaths:!0,fillPaths:[{path:a.path()}],linePaths:[{path:h.path()},{path:o.path()}]}},function(t,i,s){return[Math.round(t/4),Math.round(i/4),Math.round(t/4),Math.round(i/4)]},function(t,i,s){return[t,i]}],662:[function(t,i,s,e,n){this.moveTo(t,i).lineTo(t+s,i).lineTo(t+s/2,i+e).closeSubpath()},function(t,i,s){return[Math.round(t/4),0,Math.round(t/4),Math.round(i/2)]},function(t,i,s){return[t,i]}],604:[function(t,i,s,e,r){var a=r[0]*Math.min(s,e),h=a/5,o=s-a,u=o+h,f=e-a,c=f+h,l=new n;l.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+f).lineTo(t+o,i+e).lineTo(t,i+e).closeSubpath();var d=new n;d.moveTo(t+o,i+e).lineTo(t+u,i+c).lineTo(t+s,i+f).closeSubpath();var v=new n;return v.moveTo(t+o,i+e).lineTo(t+u,i+c).lineTo(t+s,i+f).lineTo(t+o,i+e).lineTo(t,i+e).lineTo(t,i).lineTo(t+s,i).lineTo(t+s,i+f),{multiplePaths:!0,fillPaths:[{path:l.path()},{path:d.path(),fill:"darkenLess"}],linePaths:[{path:v.path()}]}},function(t,i,s){var e=s[0]*Math.min(t,i);return[0,0,0,Math.round(e)]},function(t,i,s){return[t,i]}],647:[function(t,i,s,e,n){var r=s/2.16,a=e/2.16;this.moveTo(t+0*r,i+0*a).lineTo(t+2.16*r,i+0*a).lineTo(t+2.16*r,i+1.7322*a).cubicTo(t+1.08*r,i+1.7322*a,t+1.08*r,i+2.3922*a,t+0*r,i+2.0172*a).closeSubpath()},function(t,i,s){var e=17322*i/21600,n=Math.round(.05*Math.min(t,e));return[n,n,n,Math.round(i-e+n)]},function(t,i,s){return[t,i]}],620:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2],o=n[3];a<0&&(a=0),a>.5&&(a=.5),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>.5&&(h=.5);var u=Math.min(s,e),f=r*u,c=a*u,l=c-f/2,d=h*u,v=s-d,p=e-l,m=Math.min(v,p);o<0&&(o=0),o>m/u&&(o=m/u);var g=o*u,M=g-f,b=Math.max(M,0),w=f+b,_=s-d,y=l+f,k=y+l,T=l+g,x=y+b;this.moveTo(t,i+e).lineTo(t,i+T).arcTo(g,g,t+g,i+l,!1,!0).lineTo(t+_,i+l).lineTo(t+_,i).lineTo(t+s,i+c).lineTo(t+_,i+k).lineTo(t+_,i+y).lineTo(t+w,i+y).arcTo(b,b,t+f,i+x,!1,!1).lineTo(t+f,i+e).closeSubpath()},function(t,i,s){var e=Math.round(.1*Math.min(t,i));return[e,e,e,e]},function(t,i,s){return[t,i]}],639:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=new n;l.addRect(t,i,s,e);var d=new n;d.moveTo(t+h,i).lineTo(t+h,i+e);var v=new n;return v.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f),{multiplePaths:!0,fillPaths:[{path:l.path()}],linePaths:[{path:l.path()},{path:d.path()},{path:v.path()}]}},function(t,i,s){var e=Math.round(.05*Math.min(t,i));return[e,e,e,e]},function(t,i,s){return[t,i]}],642:[function(t,i,s,e,n){var r=Math.min(s,e)/6,a=s-r,h=e-r;this.moveTo(t,i+r),this.arcTo(r,r,t+r,i,!1,!0),this.lineTo(t+a,i),this.arcTo(r,r,t+s,i+r,!1,!0),this.lineTo(t+s,i+h),this.arcTo(r,r,t+a,i+e,!1,!0),this.lineTo(t+r,i+e),this.arcTo(r,r,t,i+h,!1,!0),this.closeSubpath()},function(t,i,s){var e=Math.min(t,i),n=Math.round(29289*e/6e5);return[n,n,n,n]},function(t,i,s){var e=Math.min(t,i),n=2*Math.round(29289*e/6e5);return[t+n,i+n]}],643:[function(t,i,s,e,n){var r=t+s/2,a=i+e/2;this.moveTo(t,a).lineTo(r,i).lineTo(t+s,a).lineTo(r,i+e).closeSubpath()},function(t,i,s){var e=t/4,n=i/4;return[Math.round(e),Math.round(n),Math.round(e),Math.round(n)]},function(t,i,s){return[t,i]}],644:[function(t,i,s,e,n){var r=s/5;this.moveTo(t,i+e).lineTo(t+r,i).lineTo(t+s,i).lineTo(t+s-r,i+e).closeSubpath()},function(t,i,s){var e=t/5,n=Math.round(.05*Math.min(t,i));return[Math.round(e+n),n,Math.round(e+n),n]},function(t,i,s){return[t,i]}],653:[function(t,i,s,e,n){var r=t+s/2,a=i+e/2,h=s/2,o=e/2;this.addEllipse(r,a,h,o)},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],661:[function(t,i,s,e,n){this.moveTo(t,i+e).lineTo(t+s/2,i).lineTo(t+s,i+e).closeSubpath()},function(t,i,s){var e=t/4,n=i/2,r=t-2*e,a=i/2,h=Math.round(.1*Math.min(r,a));return[Math.round(e+h),Math.round(n+h),Math.round(t-e-r+h),Math.round(i-n-a+h)]},function(t,i,s){return[t,i]}],646:[function(t,i,s,e,r){var a=new n;a.addRect(t,i,s,e);var h=new n;h.moveTo(t+s/8,i).lineTo(t+s/8,i+e),h.moveTo(t,i+e/8).lineTo(t+s,i+e/8);var o=new n;return o.addRect(t,i,s,e),{multiplePaths:!0,fillPaths:[{path:a.path()}],linePaths:[{path:o.path()},{path:h.path()}]}},function(t,i,s){var e=t/8,n=i/8,r=Math.round(.02*Math.min(t,i));return[Math.round(e+r),Math.round(n+r),r,r]},function(t,i,s){return[t,i]}],617:[function(t,i,s,e,n){var r=Math.min(s,e),a=e/r,h=s/r,o=n[0];o<0&&(o=0),o>a&&(o=a);var u=n[1];u<0&&(u=0),u>h&&(u=h);var f=u*r,c=e-o*r;this.moveTo(t,i),this.lineTo(t+f,i),this.lineTo(t+f,i+c),this.lineTo(t+s,i+c),this.lineTo(t+s,i+e),this.lineTo(t,i+e),this.closeSubpath()},function(t,i,s){var e=Math.min(t,i),n=i/e,r=t/e,a=s[0];a<0&&(a=0),a>n&&(a=n);var h=s[1];h<0&&(h=0),h>r&&(h=r);var o=i-a*e;return[0,Math.round(o),0,0]},function(t,i,s){var e=Math.min(t,i),n=i/e,r=t/e,a=s[0];a<0&&(a=0),a>n&&(a=n);var h=s[1];h<0&&(h=0),h>r&&(h=r);var o=i/a,u=t;return[Math.round(u),Math.round(o)]}],664:[function(t,i,s,e,n){this.moveTo(t,i),this.lineTo(t+s/2,i),this.arcTo(s/2,e/2,t+s/2,i+e,!1,!0),this.lineTo(t,i+e),this.closeSubpath()},function(t,i,s){var e=t/2*(1+Math.cos(45*Math.PI/180)),n=i/2*(1-Math.sin(45*Math.PI/180));return[0,Math.round(n),Math.round(t-e),Math.round(n)]},function(t,i,s){return[t,i]}],671:[function(t,i,s,e,n){var r=n[0]*Math.min(s,e),a=Math.atan(e/s),h=Math.sin(a),o=Math.cos(a),u=Math.tan(a),f=Math.sqrt(s*s+e*e),c=f-51965*f/1e5,l=o*c/2,d=h*c/2,v=h*r/2,p=o*r/2,m=l-v,g=d+p,M=l+v,b=d-p,w=(s/2-M)*u+b,_=s-M,y=s-m,k=(e/2-g)/u,T=y-k,x=m+k,C=e-g,S=e-b,E=e-w;this.moveTo(t+m,i+g),this.lineTo(t+M,i+b),this.lineTo(t+s/2,i+w),this.lineTo(t+_,i+b),this.lineTo(t+y,i+g),this.lineTo(t+T,i+e/2),this.lineTo(t+y,i+C),this.lineTo(t+_,i+S),this.lineTo(t+s/2,i+E),this.lineTo(t+M,i+S),this.lineTo(t+m,i+C),this.lineTo(t+x,i+e/2),this.closeSubpath()},function(t,i,s){var e=s[0]*Math.min(t,i),n=Math.atan(i/t),r=Math.sin(n),a=Math.cos(n),h=Math.sqrt(t*t+i*i),o=h-51965*h/1e5,u=a*o/2-r*e/2,f=r*o/2-a*e/2;return[Math.round(u),Math.round(f),Math.round(u),Math.round(f)]},function(t,i,s){var e=s[0]*Math.min(t,i),n=Math.atan(i/t),r=Math.sin(n),a=Math.cos(n),h=Math.sqrt(t*t+i*i),o=h-51965*h/1e5,u=t+2*(a*o/2-r*e/2),f=i+2*(r*o/2-a*e/2);return[Math.round(u),Math.round(f)]}],674:[function(t,i,s,e,n){var r=n[0],a=1e3*n[1],h=n[2];r<0&&(r=0),r>.5&&(r=.5),a<70&&(a=70),a>110&&(a=110),h<0&&(h=0),h>1-2*r&&(h=1-2*r);var o=r*e,u=h*e/2,f=.7349*s/2,c=s/2-f,l=s/2+f,d=e/2-u,v=e/2+u,p=d-o,m=v+o,g=a-90,M=e/2*Math.tan(g*Math.PI/180),b=Math.sqrt(M*M+e/2*(e/2)),w=b*o/(e/2),_=s/2+M-w/2,y=_-M*p/(e/2),k=_-M*d/(e/2),T=_-M*v/(e/2),x=_-M*m/(e/2),C=_+w,S=y+w,E=k+w,O=T+w,P=x+w,I=o*(e/2)/b,R=g>0?_+I:C,N=g>0?_:C-I,A=o*M/b,D=g>0?A:0,Y=g>0?0:-A,X=s-R,L=s-N,F=e-D,H=e-Y;this.moveTo(t+c,i+p).lineTo(t+y,i+p).lineTo(t+N,i+Y).lineTo(t+R,i+D).lineTo(t+S,i+p).lineTo(t+l,i+p).lineTo(t+l,i+d).lineTo(t+E,i+d).lineTo(t+O,i+v).lineTo(t+l,i+v).lineTo(t+l,i+m).lineTo(t+P,i+m).lineTo(t+L,i+H).lineTo(t+X,i+F).lineTo(t+x,i+m).lineTo(t+c,i+m).lineTo(t+c,i+v).lineTo(t+T,i+v).lineTo(t+k,i+d).lineTo(t+c,i+d).closeSubpath()},function(t,i,s){var e=s[0],n=s[2];e<0&&(e=0),e>.36745&&(e=.36745),n<0&&(n=0),n>1-2*e&&(n=1-2*e);var r=i/2-n*i/2-e*i,a=t/2-.7349*t/2;return[Math.round(a),Math.round(r),Math.round(a),Math.round(r)]},function(t,i,s){var e=s[0],n=s[2];e<0&&(e=0),e>.36745&&(e=.36745),n<0&&(n=0),n>1-2*e&&(n=1-2*e);var r=t+2*(t/2-.7349*t/2),a=i+2*(i/2-n*i/2-e*i);return[Math.round(r),Math.round(a)]}],669:[function(t,i,s,e,n){var r=7349*s/2e4,a=7349*e/2e4,h=n[0]*Math.min(s,e)/2,o=s/2-r,u=s/2-h,f=s/2+h,c=s/2+r,l=e/2-a,d=e/2-h,v=e/2+h,p=e/2+a;this.moveTo(t+o,i+d),this.lineTo(t+u,i+d),this.lineTo(t+u,i+l),this.lineTo(t+f,i+l),this.lineTo(t+f,i+d),this.lineTo(t+c,i+d),this.lineTo(t+c,i+v),this.lineTo(t+f,i+v),this.lineTo(t+f,i+p),this.lineTo(t+u,i+p),this.lineTo(t+u,i+v),this.lineTo(t+o,i+v),this.closeSubpath()},function(t,i,s){var e=t/2-7349*t/2e4,n=i/2-s[0]*Math.min(t,i)/2;return[Math.round(e),Math.round(n),Math.round(e),Math.round(n)]},function(t,i,s){var e=t+2*(t/2-7349*t/2e4),n=i+2*(i/2-s[0]*Math.min(t,i)/2);return[Math.round(e),Math.round(n)]}],668:[function(t,i,s,e,n){var r=i+e/2,a=s/6;this.moveTo(t,r),this.lineTo(t+s/6,i),this.lineTo(t+5*s/6,i),this.arcTo(a,e/2,t+5*s/6,i+e,!1,!0),this.lineTo(t+s/6,i+e),this.closeSubpath()},function(t,i,s){var e=t/6,n=t/6;return[Math.round(e),0,Math.round(n),0]},function(t,i,s){var e=3*t/2,n=i;return[Math.round(e),Math.round(n)]}],673:[function(t,i,s,e,n){var r=n[0],a=n[1];r<0&&(r=0),r>.36745&&(r=.36745),a<0&&(a=0),a>1-2*r&&(a=1-2*r);var h=r*e,o=a*e/2,u=.7349*s/2,f=e/2-o,c=e/2+o,l=f-h,d=c+h,v=s/2-u,p=s/2+u;this.moveTo(t+v,i+l),this.lineTo(t+p,i+l),this.lineTo(t+p,i+f),this.lineTo(t+v,i+f),this.closeSubpath(),this.moveTo(t+v,i+c),this.lineTo(t+p,i+c),this.lineTo(t+p,i+d),this.lineTo(t+v,i+d),this.closeSubpath()},function(t,i,s){var e=s[0],n=s[1];e<0&&(e=0),e>.36745&&(e=.36745),n<0&&(n=0),n>1-2*e&&(n=1-2*e);var r=i/2-n*i/2-e*i,a=t/2-.7349*t/2;return[Math.round(a),Math.round(r),Math.round(a),Math.round(r)]},function(t,i,s){var e=s[0],n=s[1];e<0&&(e=0),e>.36745&&(e=.36745),n<0&&(n=0),n>1-2*e&&(n=1-2*e);var r=t+2*(t/2-.7349*t/2),a=i+2*(i/2-n*i/2-e*i);return[Math.round(r),Math.round(a)]}],666:[function(t,i,s,e,r){var a=e/3,h=i+a/2,o=s/2,u=a/2,f=new n;f.moveTo(t,h),f.arcTo(o,u,t+s,h,!1,!0),f.lineTo(t+s,i+5*e/6),f.arcTo(o,u,t,i+5*e/6,!1,!0),f.closeSubpath();var c=new n;c.moveTo(t,h),c.arcTo(o,u,t+s,h,!1,!1);var l=new n;return l.moveTo(t,h),l.arcTo(o,u,t+s,h,!1,!0),l.lineTo(t+s,i+5*e/6),l.arcTo(o,u,t,i+5*e/6,!1,!0),l.closeSubpath(),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:c.path()},{path:l.path()}]}},function(t,i,s){var e=i/3,n=i-e-i/2;return[0,Math.round(e),0,Math.round(n)]},function(t,i,s){var e=i+2*(i/3);return[t,Math.round(e)]}],672:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2];r<.01&&(r=.01),r>.36745&&(r=.36745);var o=(.7349+-r)/4,u=.36745*s/e,f=Math.min(o,u);h<.01&&(h=.01),h>f&&(h=f);var c=.7349+-4*h-r;a<0&&(a=0),a>c&&(a=c);var l=e*r/2,d=e*h,v=.7349*s/2,p=e/2-l,m=e/2+l,g=p-(n=e*a+d),M=e-(i+g-i),b=s/2-v,w=s/2+v,_=s/2;this.addEllipse(t+_,i+g,d,d),this.addEllipse(t+_,i+M,d,d),this.moveTo(t+b,i+p),this.lineTo(t+w,i+p),this.lineTo(t+w,i+m),this.lineTo(t+b,i+m),this.closeSubpath()},function(t,i,s){var e=s[0];e<.01&&(e=.01),e>.36745&&(e=.36745);var n=i*e/2,r=.7349*t/2,a=i/2-n,h=i/2+n,o=t/2-r,u=t/2+r;return[Math.round(o),Math.round(a),Math.round(t-u),Math.round(i-h)]},function(t,i,s){var e=s[0];e<.01&&(e=.01),e>.36745&&(e=.36745);var n=i*e/2,r=.7349*t/2,a=t+2*(t/2-r),h=i/2+n+(i/2-n);return[Math.round(a),Math.round(h)]}],670:[function(t,i,s,e,n){var r=n[0]*e/2,a=7349*s/2e4,h=s/2-a,o=s/2+a,u=e/2-r,f=e/2+r;this.moveTo(t+h,i+u),this.lineTo(t+o,i+u),this.lineTo(t+o,i+f),this.lineTo(t+h,i+f),this.closeSubpath()},function(t,i,s){var e=t/2-7349*t/2e4,n=i/2-s[0]*i/2;return[Math.round(e),Math.round(n),Math.round(e),Math.round(n)]},function(t,i,s){var e=t+2*(t/2-7349*t/2e4),n=i+2*(i/2-s[0]*i/2);return[Math.round(e),Math.round(n)]}],667:[function(t,i,s,e,r){var a=new n;a.moveTo(t+s/6,i).lineTo(t+5*s/6,i).arcTo(s/6,e/2,t+5*s/6,i+e,!1,!0).lineTo(t+s/6,i+e).arcTo(s/6,e/2,t+s/6,i,!1,!0).closeSubpath();var h=new n;h.moveTo(t+5*s/6,i).arcTo(s/6,e/2,t+5*s/6,i+e,!1,!1);var o=new n;return o.moveTo(t+s/6,i).lineTo(t+5*s/6,i).arcTo(s/6,e/2,t+5*s/6,i+e,!1,!0).lineTo(t+s/6,i+e).arcTo(s/6,e/2,t+s/6,i,!1,!0).closeSubpath(),{multiplePaths:!0,fillPaths:[{path:a.path()}],linePaths:[{path:h.path()},{path:o.path()}]}},function(t,i,s){return[Math.round(t/6),0,Math.round(t/3),0]},function(t,i,s){return[t,i]}],628:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2];a<0&&(a=0),a>.5&&(a=.5),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>(1-2*a)/2&&(h=(1-2*a)/2);var o=h*Math.min(s,e),u=a*Math.min(s,e),f=r*Math.min(s,e)/2,c=s/2-u,l=s/2+u,d=s/2-f,v=s/2+f,p=s-o,m=e-2*a*Math.min(s,e),g=e-u,M=g+f,b=g-f;this.moveTo(t,i+g),this.lineTo(t+o,i+m),this.lineTo(t+o,i+b),this.lineTo(t+d,i+b),this.lineTo(t+d,i+o),this.lineTo(t+c,i+o),this.lineTo(t+s/2,i),this.lineTo(t+l,i+o),this.lineTo(t+v,i+o),this.lineTo(t+v,i+b),this.lineTo(t+p,i+b),this.lineTo(t+p,i+m),this.lineTo(t+s,i+g),this.lineTo(t+p,i+e),this.lineTo(t+p,i+M),this.lineTo(t+o,i+M),this.lineTo(t+o,i+e),this.closeSubpath()},function(t,i,s){var e=s[0],n=s[1],r=s[2];n<0&&(n=0),n>.5&&(n=.5),e<0&&(e=0),e>2*n&&(e=2*n),r<0&&(r=0),r>(1-2*n)/2&&(r=(1-2*n)/2);var a=r*Math.min(t,i),h=n*Math.min(t,i),o=e*Math.min(t,i)/2,u=i-h,f=u+o,c=u-o,l=o*a/h;return[Math.round(l),Math.round(c),Math.round(l),Math.round(i-f)]},function(t,i,s){return[t,i]}],627:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2],o=n[3];a<0&&(a=0),a>.5*e/Math.min(s,e)&&(a=.5*e/Math.min(s,e)),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>.5*s/Math.min(s,e)&&(h=.5*s/Math.min(s,e)),o<r&&(o=r),o>1-h*Math.min(s,e)/(s/2)&&(o=1-h*Math.min(s,e)/(s/2));var u=a*Math.min(s,e),f=r*Math.min(s,e)/2,c=e/2-u,l=e/2-f,d=e/2+f,v=e/2+u,p=h*Math.min(s,e),m=s-p,g=s*o/2,M=s/2-g,b=s/2+g;this.moveTo(t,i+e/2),this.lineTo(t+p,i+c),this.lineTo(t+p,i+l),this.lineTo(t+M,i+l),this.lineTo(t+M,i),this.lineTo(t+b,i),this.lineTo(t+b,i+l),this.lineTo(t+m,i+l),this.lineTo(t+m,i+c),this.lineTo(t+s,i+e/2),this.lineTo(t+m,i+v),this.lineTo(t+m,i+d),this.lineTo(t+b,i+d),this.lineTo(t+b,i+e),this.lineTo(t+M,i+e),this.lineTo(t+M,i+d),this.lineTo(t+p,i+d),this.lineTo(t+p,i+v),this.closeSubpath()},function(t,i,s){var e=s[0],n=s[1],r=s[2],a=s[3];n<0&&(n=0),n>.5*i/Math.min(t,i)&&(n=.5*i/Math.min(t,i)),e<0&&(e=0),e>2*n&&(e=2*n),r<0&&(r=0),r>.5*t/Math.min(t,i)&&(r=.5*t/Math.min(t,i)),a<e&&(a=e),a>1-r*Math.min(t,i)/(t/2)&&(a=1-r*Math.min(t,i)/(t/2));var h=t/2-t*a/2;return[Math.round(h),0,Math.round(h),0]},function(t,i,s){return[t,i]}],626:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2],o=n[3];a<0&&(a=0),a>.5&&(a=.5),r<0&&(r=0),r>2*a&&(r=2*a),h<0&&(h=0),h>.5-a&&(h=.5-a),o<r&&(o=r),o>1-2*h&&(o=1-2*h);var u=o*s/2,f=o*e/2,c=a*Math.min(s,e),l=r*Math.min(s,e)/2,d=h*Math.min(s,e),v=s-d,p=s/2-u,m=s/2+u,g=s/2-c,M=s/2+c,b=s/2-l,w=s/2+l,_=e-d,y=e/2-f,k=e/2+f,T=e/2-c,x=e/2+c,C=e/2-l,S=e/2+l;this.moveTo(t,i+e/2),this.lineTo(t+d,i+T),this.lineTo(t+d,i+C),this.lineTo(t+p,i+C),this.lineTo(t+p,i+y),this.lineTo(t+b,i+y),this.lineTo(t+b,i+d),this.lineTo(t+g,i+d),this.lineTo(t+s/2,i),this.lineTo(t+M,i+d),this.lineTo(t+w,i+d),this.lineTo(t+w,i+y),this.lineTo(t+m,i+y),this.lineTo(t+m,i+C),this.lineTo(t+v,i+C),this.lineTo(t+v,i+T),this.lineTo(t+s,i+e/2),this.lineTo(t+v,i+x),this.lineTo(t+v,i+S),this.lineTo(t+m,i+S),this.lineTo(t+m,i+k),this.lineTo(t+w,i+k),this.lineTo(t+w,i+_),this.lineTo(t+M,i+_),this.lineTo(t+s/2,i+e),this.lineTo(t+g,i+_),this.lineTo(t+b,i+_),this.lineTo(t+b,i+k),this.lineTo(t+p,i+k),this.lineTo(t+p,i+S),this.lineTo(t+d,i+S),this.lineTo(t+d,i+x),this.closeSubpath()},function(t,i,s){var e=s[0],n=s[1],r=s[2],a=s[3];n<0&&(n=0),n>.5&&(n=.5),e<0&&(e=0),e>2*n&&(e=2*n),r<0&&(r=0),r>.5-n&&(r=.5-n),a<e&&(a=e),a>1-2*r&&(a=1-2*r);var h=a*t/2,o=a*i/2,u=t/2-h,f=t/2+h,c=i/2-o,l=i/2+o;return[Math.round(u),Math.round(c),Math.round(t-f),Math.round(i-l)]},function(t,i,s){return[t,i]}],623:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2];a<0&&(a=0),a>.5&&(a=.5);var o=2*a;r<0&&(r=0),r>o&&(r=o);var u=1-o;h<0&&(h=0),h>u&&(h=u);var f=h*Math.min(s,e),c=2*a*Math.min(s,e),l=s-c,d=e-c,v=a*Math.min(s,e),p=s-v,m=e-v,g=r*Math.min(s,e)/2,M=p-g,b=p+g,w=m-g,_=m+g;this.moveTo(t,i+m),this.lineTo(t+f,i+d),this.lineTo(t+f,i+w),this.lineTo(t+M,i+w),this.lineTo(t+M,i+f),this.lineTo(t+l,i+f),this.lineTo(t+p,i),this.lineTo(t+s,i+f),this.lineTo(t+b,i+f),this.lineTo(t+b,i+_),this.lineTo(t+f,i+_),this.lineTo(t+f,i+e),this.closeSubpath()},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],630:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=new n;l.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var d=new n;return d.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f),{multiplePaths:!0,fillPaths:[{path:l.path()}],linePaths:[{path:l.path()},{path:d.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],631:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=e*r[4],c=s*r[5],l=e*r[6],d=s*r[7],v=new n;v.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var p=new n;return p.moveTo(t+h,i+a).lineTo(t+u,i+o).lineTo(t+c,i+f).lineTo(t+d,i+l),{multiplePaths:!0,fillPaths:[{path:v.path()}],linePaths:[{path:v.path()},{path:p.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],629:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=new n;f.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var c=new n;return c.moveTo(t+h,i+a).lineTo(t+u,i+o),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:f.path()},{path:c.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],632:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=new n;f.moveTo(t,i).lineTo(t+s,i).lineTo(t+s,i+e).lineTo(t,i+e).closeSubpath();var c=new n;c.moveTo(t+h,i).lineTo(t+h,i+e);var l=new n;return l.moveTo(t+h,i+a).lineTo(t+u,i+o),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:c.path()},{path:l.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],624:[function(t,i,s,e,n){var r=n[0],a=n[1],h=n[2]*Math.min(s,e),o=2*a*Math.min(s,e),u=a*Math.min(s,e),f=r*Math.min(s,e)/2,c=s-o,l=s-u,d=l-f,v=l+f,p=e-r*Math.min(s,e);this.moveTo(t,i+p),this.lineTo(t+d,i+p),this.lineTo(t+d,i+h),this.lineTo(t+c,i+h),this.lineTo(t+l,i),this.lineTo(t+s,i+h),this.lineTo(t+v,i+h),this.lineTo(t+v,i+e),this.lineTo(t,i+e),this.closeSubpath()},function(t,i,s){var e=s[0],n=s[1],r=(s[2],Math.min(t,i),Math.min(t,i),n*Math.min(t,i)),a=e*Math.min(t,i)/2,h=t-r,o=h+a,u=i-e*Math.min(t,i);return[0,Math.round(u),Math.round(t-o),0]},function(t,i,s){return[t,i]}],597:[function(t,i,s,e,n){var r=s/2.16,a=e/2.16;this.moveTo(t+1.08*r,i+.58*a).lineTo(t+1.4522*r,i+0*a).lineTo(t+1.4155*r,i+.5325*a).lineTo(t+1.838*r,i+.4457*a).lineTo(t+1.6702*r,i+.7315*a).lineTo(t+2.1097*r,i+.8137*a).lineTo(t+1.7607*r,i+1.0475*a).lineTo(t+2.16*r,i+1.329*a).lineTo(t+1.6837*r,i+1.2942*a).lineTo(t+1.8145*r,i+1.8095*a).lineTo(t+1.402*r,i+1.4457*a).lineTo(t+1.3247*r,i+1.9737*a).lineTo(t+1.0532*r,i+1.4935*a).lineTo(t+.8485*r,i+2.16*a).lineTo(t+.7715*r,i+1.5627*a).lineTo(t+.4762*r,i+1.7617*a).lineTo(t+.5667*r,i+1.3937*a).lineTo(t+.0135*r,i+1.4587*a).lineTo(t+.3722*r,i+1.1775*a).lineTo(t+0*r,i+.8615*a).lineTo(t+.4627*r,i+.7617*a).lineTo(t+.037*r,i+.2295*a).lineTo(t+.7312*r,i+.632*a).lineTo(t+.8352*r,i+.2295*a).closeSubpath()},function(t,i,s){var e=Math.round(.4627*t/2.16),n=Math.round(.632*i/2.16);return[e,n,e,n]},function(t,i,s){return[t,i]}],598:[function(t,i,s,e,n){var r=s/2.16,a=e/2.16;this.moveTo(t+1.1462*r,i+.4342*a).lineTo(t+1.479*r,i+0*a).lineTo(t+1.4525*r,i+.5777*a).lineTo(t+1.8007*r,i+.3172*a).lineTo(t+1.638*r,i+.6532*a).lineTo(t+2.16*r,i+.6645*a).lineTo(t+1.6985*r,i+.9402*a).lineTo(t+1.827*r,i+1.129*a).lineTo(t+1.638*r,i+1.231*a).lineTo(t+1.8877*r,i+1.5632*a).lineTo(t+1.464*r,i+1.435*a).lineTo(t+1.4942*r,i+1.737*a).lineTo(t+1.218*r,i+1.5935*a).lineTo(t+1.1612*r,i+1.8842*a).lineTo(t+.9872*r,i+1.737*a).lineTo(t+.87*r,i+1.9712*a).lineTo(t+.7527*r,i+1.8125*a).lineTo(t+.4917*r,i+2.16*a).lineTo(t+.4805*r,i+1.824*a).lineTo(t+.1285*r,i+1.7825*a).lineTo(t+.333*r,i+1.537*a).lineTo(t+0*r,i+1.2877*a).lineTo(t+.3935*r,i+1.1592*a).lineTo(t+.1172*r,i+.827*a).lineTo(t+.5372*r,i+.7817*a).lineTo(t+.4502*r,i+.3625*a).lineTo(t+.855*r,i+.6382*a).lineTo(t+.9722*r,i+.1887*a).closeSubpath()},function(t,i,s){var e=Math.round(.5372*t/2.16),n=Math.round(.6382*i/2.16);return[e,n,e,n]},function(t,i,s){return[t,i]}],603:[function(t,i,s,e,r){var a=.5*e/Math.min(s,e),h=Math.max(0,Math.min(r[0],a))*Math.min(s,e)/2,o=e-h,u=new n;u.moveTo(t,i+h),u.arcTo(s/2,h,t+s,i+h,!1,!1),u.lineTo(t+s,i+o),u.arcTo(s/2,h,t,i+o,!1,!0),u.closeSubpath();var f=new n;f.addEllipse(t+s/2,i+h,s/2,h);var c=new n;c.moveTo(t,i+h),c.arcTo(s/2,h,t+s,i+h,!1,!0),c.lineTo(t+s,i+o),c.arcTo(s/2,h,t,i+o,!1,!0),c.lineTo(t,i+h);var l=new n;return l.addEllipse(t+s/2,i+h,s/2,h),{multiplePaths:!0,fillPaths:[{path:u.path()},{path:f.path(),fill:"lighten"}],linePaths:[{path:c.path()},{path:l.path()}]}},function(t,i,s){var e=.5*i/Math.min(t,i),n=Math.max(0,Math.min(s[0],e))*Math.min(t,i)/2,r=2*n,a=i-(i-3*n)-r;return[0,Math.round(r),0,Math.round(a)]},function(t,i,s){return[t,i]}],602:[function(t,i,s,e,r){var a=r[0],h=r[1],o=r[2];a<0&&(a=0),a>1&&(a=1),h<.25&&(h=.25),h>.75&&(h=.75),o<Math.max(0,a-(1-a)/2)&&(o=Math.max(0,a-(1-a)/2)),o>a&&(o=a);var u=s/2-s*h/2,f=u+s/8,c=s-f,l=s-u,d=s-s/8,v=e*o,p=4*v/s,m=f*f/s,g=p*(f-m),M=f/2,b=p*M,w=s-M,_=(m=e*a)-v,y=p*(u-u*u/s),k=y+_,T=e-m,x=(14*v/16+T)/2,C=y+T,S=k+T,E=u/2,O=p*E+T,P=s-E,I=g+_,R=new n;R.moveTo(t,i).quadraticTo(t+M,i+b,t+f,i+g).lineTo(t+u,i+k).cubicTo(t+u+(s/2-u)/2.295,i+m,t+s/2,i+m,t+s/2,i+m).cubicTo(t+s/2,i+m,t+l-(s/2-u)/2.295,i+m,t+l,i+k).lineTo(t+c,i+g).quadraticTo(t+w,i+b,t+s,i).lineTo(t+d,i+x).lineTo(t+s,i+T).quadraticTo(t+P,i+O,t+l,i+C).lineTo(t+l,i+S).cubicTo(t+l-(s/2-u)/2.295,i+e,t+s/2,i+e,t+s/2,i+e).cubicTo(t+s/2,i+e,t+u+(s/2-u)/2.295,i+e,t+u,i+S).lineTo(t+u,i+C).quadraticTo(t+E,i+O,t,i+T).lineTo(t+s/8,i+x).closeSubpath();var N=new n;N.moveTo(t+f,i+I).lineTo(t+f,i+g).lineTo(t+u,i+k).cubicTo(t+u+(s/2-u)/2.295,i+m,t+s/2,i+m,t+s/2,i+m).cubicTo(t+s/2,i+m,t+l-(s/2-u)/2.295,i+m,t+l,i+k).lineTo(t+c,i+g).lineTo(t+c,i+I).cubicTo(t+c-(s/2-f)/2,i+m,t+s/2,i+m,t+s/2,i+m).cubicTo(t+s/2,i+m,t+f+(s/2-f)/2,i+m,t+f,i+I);var A=new n;return A.moveTo(t,i).quadraticTo(t+M,i+b,t+f,i+g).lineTo(t+u,i+k).cubicTo(t+u+(s/2-u)/2.295,i+m,t+s/2,i+m,t+s/2,i+m).cubicTo(t+s/2,i+m,t+l-(s/2-u)/2.295,i+m,t+l,i+k).lineTo(t+c,i+g).quadraticTo(t+w,i+b,t+s,i).lineTo(t+d,i+x).lineTo(t+s,i+T).quadraticTo(t+P,i+O,t+l,i+C).lineTo(t+l,i+S).cubicTo(t+l-(s/2-u)/2.295,i+e,t+s/2,i+e,t+s/2,i+e).cubicTo(t+s/2,i+e,t+u+(s/2-u)/2.295,i+e,t+u,i+S).lineTo(t+u,i+C).quadraticTo(t+E,i+O,t,i+T).lineTo(t+s/8,i+x).closeSubpath(),A.moveTo(t+u,i+k).lineTo(t+u,i+C),A.moveTo(t+l,i+C).lineTo(t+l,i+k),A.moveTo(t+f,i+I).lineTo(t+f,i+g),A.moveTo(t+c,i+g).lineTo(t+c,i+I),{multiplePaths:!0,fillPaths:[{path:R.path()},{path:N.path(),fill:"darkenLess"}],linePaths:[{path:A.path()}]}},function(t,i,s){var e=s[0],n=s[1],r=s[2];e=Math.max(0,Math.min(e,1));var a=t/2-t*(n=Math.max(.25,Math.min(n,.75)))/2,h=a+t/8,o=i*(r=Math.max(Math.max(0,e-(1-e)/2),Math.min(r,e))),u=4*o/t,f=h*h/t,c=u*(a-a*a/t)+((f=i*e)-o);return[Math.round(a),Math.round(f),Math.round(a),Math.round(f-c)]},function(t,i,s){var e=s[0],n=s[1],r=s[2];e=Math.max(0,Math.min(e,1));var a=t/2-t*(n=Math.max(.25,Math.min(n,.75)))/2,h=a+t/8,o=i*(r=Math.max(Math.max(0,e-(1-e)/2),Math.min(r,e))),u=4*o/t,f=h*h/t,c=u*(a-a*a/t)+((f=i*e)-o),l=t-2*a+2*a,d=i-2*f+c+2*f-c;return[Math.round(l),Math.round(d)]}],599:[function(t,i,s,e,n){},function(t,i,s){var e=s[0],n=t/2-t*s[1]/2,r=n+t/64,a=t-2*n-t/32,h=i-(i-i*(1-e));return[Math.round(r),Math.round(0),Math.round(t-r-a),Math.round(i-0-h)]},function(t,i,s){return[t,i]}],600:[function(t,i,s,e,n){},function(t,i,s){var e=s[0],n=t/2-t*s[1]/2,r=i*e;return[Math.round(n),2*Math.round(r),Math.round(n),Math.round(r)]},function(t,i,s){var e=1e3*s[0],n=t/2-t*(1e3*s[1])/2,r=i*e;return[Math.round(n),Math.round(r),Math.round(n),0]}],601:[function(t,i,s,e,r){var a=r[0],h=r[1],o=r[2];a<0&&(a=0),a>1&&(a=1),h<.25&&(h=.25),h>.75&&(h=.75),o<Math.max(0,a-(1-a)/2)&&(o=Math.max(0,a-(1-a)/2)),o>a&&(o=a);var u=s/2-s*h/2,f=u+s/8,c=s-f,l=s-u,d=s-s/8,v=e*o,p=4*v/s,m=f*f/s,g=p*(f-m),M=e-g,b=f/2,w=e-p*b,_=s-b,y=(m=e*a)-v,k=p*(u-u*u/s),T=k+y,x=e-T,C=e-m,S=e-(14*v/16+C)/2,E=e-(k+C),O=e-(T+C),P=u/2,I=e-(p*P+C),R=s-P,N=g+y,A=e-N,D=new n;D.moveTo(t,i+e),D.quadraticTo(t+b,i+w,t+f,i+M),D.lineTo(t+u,i+x);var Y=t+u+(s/2-u)/2.295,X=i+C,L=t+s/2,F=i+C;D.cubicTo(Y,X,L,F,L,F);var H=t+l-(s/2-u)/2.295,U=i+C;D.cubicTo(L,F,H,U,t+l,i+x),D.lineTo(t+c,i+M),D.quadraticTo(t+_,i+w,t+s,i+e),D.lineTo(t+d,i+S),D.lineTo(t+s,i+m),D.quadraticTo(t+R,i+I,t+l,i+E),D.lineTo(t+l,i+O);var B=t+l-(s/2-u)/2.295,Z=i,z=t+s/2,G=i;D.cubicTo(B,Z,z,G,z,G);var V=t+u+(s/2-u)/2.295,W=i;D.cubicTo(z,G,V,W,t+u,i+O),D.lineTo(t+u,i+E),D.quadraticTo(t+P,i+I,t,i+m),D.lineTo(t+s/8,i+S),D.closeSubpath();var $=new n;$.moveTo(t+f,i+A),$.lineTo(t+f,i+M),$.lineTo(t+u,i+x);var K=t+u+(s/2-u)/2.295,j=i+C,Q=t+s/2,q=i+C;$.cubicTo(K,j,Q,q,Q,q);var J=t+l-(s/2-u)/2.295,tt=i+C;$.cubicTo(Q,q,J,tt,t+l,i+x),$.lineTo(t+c,i+M),$.lineTo(t+c,i+A);var it=t+c-(s/2-f)/2,st=i+C,et=t+s/2,nt=i+C;$.cubicTo(it,st,et,nt,et,nt);var rt=t+f+(s/2-f)/2,at=i+C;$.cubicTo(et,nt,rt,at,t+f,i+A),$.closeSubpath();var ht=new n;ht.moveTo(t,i+e),ht.quadraticTo(t+b,i+w,t+f,i+M),ht.lineTo(t+u,i+x),ht.cubicTo(t+u+(s/2-u)/2.295,i+C,t+s/2,i+C,t+s/2,i+C),ht.cubicTo(t+s/2,i+C,t+l-(s/2-u)/2.295,i+C,t+l,i+x),ht.lineTo(t+c,i+M),ht.quadraticTo(t+_,i+w,t+s,i+e),ht.lineTo(t+d,i+S),ht.lineTo(t+s,i+m),ht.quadraticTo(t+R,i+I,t+l,i+E),ht.lineTo(t+l,i+O),ht.cubicTo(t+l-(s/2-u)/2.295,i,t+s/2,i,t+s/2,i),ht.cubicTo(t+s/2,i,t+u+(s/2-u)/2.295,i,t+u,i+O),ht.lineTo(t+u,i+E),ht.quadraticTo(t+P,i+I,t,i+m),ht.lineTo(t+s/8,i+S),ht.closeSubpath();var ot=new n;return ot.moveTo(t+u,i+x),ot.lineTo(t+u,i+E),ot.moveTo(t+l,i+E),ot.lineTo(t+l,i+x),ot.moveTo(t+f,i+A),ot.lineTo(t+f,i+M),ot.moveTo(t+c,i+M),ot.lineTo(t+c,i+A),{multiplePaths:!0,fillPaths:[{path:D.path()},{path:$.path(),fill:"darkenLess"}],linePaths:[{path:ht.path()},{path:ot.path()}]}},function(t,i,s){var e=s[0],n=s[1],r=s[2];e<0&&(e=0),e>1&&(e=1),n<.25&&(n=.25),n>.75&&(n=.75),r<Math.max(0,e-(1-e)/2)&&(r=Math.max(0,e-(1-e)/2)),r>e&&(r=e);var a=t/2-t*n/2,h=i*r,o=i*e,u=i-o,f=i-(4*h/t*(a-a*a/t)+(o-h)+u);return[Math.round(a),Math.round(f),Math.round(a),Math.round(i-u)]},function(t,i,s){var e=s[0],n=s[1],r=s[2];e<0&&(e=0),e>1&&(e=1),n<.25&&(n=.25),n>.75&&(n=.75),r<Math.max(0,e-(1-e)/2)&&(r=Math.max(0,e-(1-e)/2)),r>e&&(r=e);var a=t/2-t*n/2,h=i*r,o=i*e,u=i-o,f=i-(4*h/t*(a-a*a/t)+(o-h)+u),c=t-2*a+2*a,l=u-f+f+(i-u);return[Math.round(c),Math.round(l)]}],635:[function(t,i,s,e,r){var a=e*r[0],h=s*r[1],o=e*r[2],u=s*r[3],f=new n;f.addRect(t,i,s,e);var c=new n;return c.moveTo(t+h,i+a),c.lineTo(t+u,i+o),{multiplePaths:!0,fillPaths:[{path:f.path()}],linePaths:[{path:f.path()},{path:c.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],613:[function(t,i,s,e,r){var a=Math.min(s,e),h=.5*e/a,o=Math.max(0,Math.min(r[1],h)),u=Math.max(0,Math.min(r[0],o))*a,f=o*a,c=e/2-(u+f)/4,l=2*c,d=l*l-u*u,v=Math.sqrt(Math.abs(d))*s/l,p=v/a,m=Math.max(0,Math.min(r[2],p))*a,g=c+u,M=s*s-m*m,b=Math.sqrt(Math.abs(M))*c/s,w=c+b,_=g+b,y=(f-u)/2,k=w-y,T=_+y,x=e-f/2,C=s-m,S=Math.atan(b/m),E=180*Math.atan2(Math.tan(-S),c/s)/Math.PI,O=u/2,P=Math.atan(O/v),I=180*Math.atan2(Math.tan(-P),c/s)/Math.PI,R=new n;R.moveTo(t,i+c);for(var N=-E,A=180*Math.PI/180,D=(180+N)*Math.PI/180,Y=(D-A)/8,X=1;X<=8;X++){A+=Y;var L=t+s+s*Math.cos(A),F=i+c+c*Math.sin(A);R.lineTo(L,F)}R.lineTo(t+C,i+k),R.lineTo(t+s,i+x),R.lineTo(t+C,i+T),R.lineTo(t+C,i+_);var H=-(180+E),U=E;A=H*Math.PI/180,Y=((D=(H+U)*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+u+c+c*Math.sin(A);R.lineTo(L,F)}R.closeSubpath();var B=new n;B.moveTo(t,i+c+u);var Z=90+I;A=90*Math.PI/180,Y=((D=(90+Z)*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+u+c+c*Math.sin(A);B.lineTo(L,F)}var z=180-I,G=-(90-I);A=z*Math.PI/180,Y=((D=(z+G)*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+c+c*Math.sin(A);B.lineTo(L,F)}B.closeSubpath();var V=new n;V.moveTo(t,i+c),A=180*Math.PI/180,Y=((D=(180-E)*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+c+c*Math.sin(A);V.lineTo(L,F)}V.lineTo(t+C,i+k),V.lineTo(t+s,i+x),V.lineTo(t+C,i+T),V.lineTo(t+C,i+_),A=-(180+E)*Math.PI/180,Y=((D=(-(180+E)+E)*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+u+c+c*Math.sin(A);V.lineTo(L,F)}V.lineTo(t,i+c),A=180*Math.PI/180,Y=((D=90*Math.PI/180)-A)/8;for(X=1;X<=8;X++){A+=Y;L=t+s+s*Math.cos(A),F=i+c+c*Math.sin(A);V.lineTo(L,F)}return V.lineTo(t+s,i+u),{multiplePaths:!0,fillPaths:[{path:R.path()},{path:B.path(),fill:"darkenLess"}],linePaths:[{path:V.path()}]}},function(t,i,s){return[0,0,0,0]},function(t,i,s){return[t,i]}],608:[function(t,i,s,e,n){var r=1e3*n[0],a=1e3*n[1];a=(a%360+360)%360;var h=t+s/2,o=i+e/2,u=s/2,f=e/2,c=(r=(r%360+360)%360)*Math.PI/180,l=a*Math.PI/180,d=h+u*Math.cos(c),v=o+f*Math.sin(c),p=h+u*Math.cos(l),m=o+f*Math.sin(l),g=a-r;g<0&&(g+=360);var M=g>180;this.moveTo(d,v),this.arcTo(u,f,p,m,M,!0),this.closeSubpath()},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],611:[function(t,i,s,e,n){var r=1e3*n[0],a=1e3*n[1];a=(a%360+360)%360;var h=t+s/2,o=i+e/2,u=s/2,f=e/2,c=(r=(r%360+360)%360)*Math.PI/180,l=a*Math.PI/180,d=h+u*Math.cos(c),v=o+f*Math.sin(c),p=h+u*Math.cos(l),m=o+f*Math.sin(l),g=a-r;g<0&&(g+=360);var M=g>180;this.moveTo(h,o),this.lineTo(d,v),this.arcTo(u,f,p,m,M,!0),this.closeSubpath()},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],665:[function(t,i,s,e,n){var r=t+s/2,a=i+e/2,h=s/2,o=e/2;this.moveTo(r,i),this.arcTo(h,o,t+s,a,!1,!0);var u=i+e/2*(1+Math.sin(45*Math.PI/180)),f=Math.asin((u-a)/o),c=r+h*Math.cos(f);this.arcTo(h,o,c,u,!1,!0),this.lineTo(t+s,u),this.lineTo(t+s,i+e),this.lineTo(c,i+e),this.lineTo(r,i+e),this.arcTo(h,o,r,i,!1,!0),this.closeSubpath()},function(t,i,s){var e=1-Math.sqrt(2)/2,n=Math.round(t*e/2),r=Math.round(i*e/2);return[n,r,n,r]},function(t,i,s){var e=1-Math.sqrt(2)/2,n=t/(1-e),r=i/(1-e);return[t+2*Math.round((n-t)/2),i+2*Math.round((r-i)/2)]}],609:[function(t,i,s,e,n){var r=1e3*n[0],a=1e3*n[1],h=n[2]*Math.min(s,e),o=s/2-h,u=e/2-h;o<0&&(o=0),u<0&&(u=0);for(var f=t+s/2,c=i+e/2,l=s/2,d=e/2,v=r*Math.PI/180,p=a*Math.PI/180,m=f+l*Math.cos(v),g=c+d*Math.sin(v),M=f+l*Math.cos(p),b=c+d*Math.sin(p),w=f+o*Math.cos(v),_=c+u*Math.sin(v),y=f+o*Math.cos(p),k=c+u*Math.sin(p),T=a-r;T<=0;)T+=360;for(;T>360;)T-=360;var x=T>180;this.moveTo(m,g),this.arcTo(l,d,M,b,x,!0),this.lineTo(y,k),o>0&&u>0&&this.arcTo(o,u,w,_,x,!1),this.closeSubpath()},function(t,i,s){var e=1e3*s[0],n=1e3*s[1],r=s[2]*Math.min(t,i),a=e*Math.PI/180,h=n*Math.PI/180,o=n-e,u=o>0?o:o+360,f=t/2*Math.abs(Math.sin(a)),c=i/2*Math.abs(Math.cos(a)),l=t/2*Math.abs(Math.cos(Math.atan(f/c))),d=i/2*Math.abs(Math.sin(Math.atan(f/c))),v=t/2*Math.abs(Math.sin(h)),p=i/2*Math.abs(Math.cos(h)),m=t/2*Math.abs(Math.cos(Math.atan(v/p))),g=i/2*Math.abs(Math.sin(Math.atan(v/p))),M=t/2-r,b=i/2-r,w=M*Math.sin(n*Math.PI/180),_=b*Math.cos(n*Math.PI/180),y=M*Math.abs(Math.cos(Math.atan(w/_))),k=b*Math.abs(Math.sin(Math.atan(w/_))),T=M*Math.sin(e*Math.PI/180),x=b*Math.cos(e*Math.PI/180),C=M*Math.abs(Math.cos(Math.atan(T/x))),S=b*Math.abs(Math.sin(Math.atan(T/x))),E=0,O=0,P=0,I=0,R=0,N=0,A=0,D=0;e>=0&&e<90?(E=t/2+l,O=i/2+d,A=t/2+C,D=i/2+S):e>=90&&e<180?(E=t/2-l,O=i/2+d,A=t/2-C,D=i/2+S):e>=180&&e<270?(E=t/2-l,O=i/2-d,A=t/2-C,D=i/2-S):e>=270&&e<360&&(E=t/2+l,O=i/2-d,A=t/2+C,D=i/2-S),n>=0&&n<90?(P=t/2+y,I=i/2+k,R=t/2+m,N=i/2+g):n>=90&&n<180?(P=t/2-y,I=i/2+k,R=t/2-m,N=i/2+g):n>=180&&n<270?(P=t/2-y,I=i/2-k,R=t/2-m,N=i/2-g):n>=270&&n<360&&(P=t/2+y,I=i/2-k,R=t/2+m,N=i/2-g);var Y=u-(360-e),X=Math.max(Math.max(E,P),Math.max(R,A)),L=Y>0?t:X,F=90-e,H=u-(F>0?F:450-e),U=Math.max(Math.max(O,I),Math.max(N,D)),B=H>0?i:U,Z=180-e,z=u-(Z>0?Z:540-e),G=Math.min(Math.min(E,P),Math.min(R,A)),V=z>0?0:G,W=270-e,$=u-(W>0?W:630-e),K=Math.min(Math.min(O,I),Math.min(N,D)),j=$>0?0:K;return[Math.round(V),Math.round(j),Math.round(t-L),Math.round(i-B)]},function(t,i,s){var e=1e3*s[0],n=1e3*s[1],r=s[2]*Math.min(t,i),a=e*Math.PI/180,h=n*Math.PI/180,o=n-e,u=o>0?o:o+360,f=t/2*Math.abs(Math.sin(a)),c=i/2*Math.abs(Math.cos(a)),l=t/2*Math.abs(Math.cos(Math.atan(f/c))),d=i/2*Math.abs(Math.sin(Math.atan(f/c))),v=t/2*Math.abs(Math.sin(h)),p=i/2*Math.abs(Math.cos(h)),m=t/2*Math.abs(Math.cos(Math.atan(v/p))),g=i/2*Math.abs(Math.sin(Math.atan(v/p))),M=t/2-r,b=i/2-r,w=M*Math.sin(n*Math.PI/180),_=b*Math.cos(n*Math.PI/180),y=M*Math.abs(Math.cos(Math.atan(w/_))),k=b*Math.abs(Math.sin(Math.atan(w/_))),T=M*Math.sin(e*Math.PI/180),x=b*Math.cos(e*Math.PI/180),C=M*Math.abs(Math.cos(Math.atan(T/x))),S=b*Math.abs(Math.sin(Math.atan(T/x))),E=0,O=0,P=0,I=0,R=0,N=0,A=0,D=0;e>=0&&e<90?(E=t/2+l,O=i/2+d,A=t/2+C,D=i/2+S):e>=90&&e<180?(E=t/2-l,O=i/2+d,A=t/2-C,D=i/2+S):e>=180&&e<270?(E=t/2-l,O=i/2-d,A=t/2-C,D=i/2-S):e>=270&&e<360&&(E=t/2+l,O=i/2-d,A=t/2+C,D=i/2-S),n>=0&&n<90?(P=t/2+y,I=i/2+k,R=t/2+m,N=i/2+g):n>=90&&n<180?(P=t/2-y,I=i/2+k,R=t/2-m,N=i/2+g):n>=180&&n<270?(P=t/2-y,I=i/2-k,R=t/2-m,N=i/2-g):n>=270&&n<360&&(P=t/2+y,I=i/2-k,R=t/2+m,N=i/2-g);var Y=u-(360-e),X=Math.max(Math.max(E,P),Math.max(R,A)),L=Y>0?t:X,F=90-e,H=u-(F>0?F:450-e),U=Math.max(Math.max(O,I),Math.max(N,D)),B=H>0?i:U;Math.min(Math.min(E,P),Math.min(R,A)),Math.min(Math.min(O,I),Math.min(N,D));return[Math.round(L),Math.round(B)]}],619:[function(t,i,s,e,n){},function(t,i,s){var e=8*s[0]*Math.min(t/2,i/2),n=Math.round(e*(1-Math.sqrt(2)/2));return[n,n,n,n]},function(t,i,s){if(s[0]>1)return[t,i];var e,n=8*s[0]*(1-Math.sqrt(2)/2);if(t<i){var r=t/(1-n);return[t+(e=2*Math.round((r-t)/2)),i+e]}var a=i/(1-n);return[t+(e=2*Math.round((a-i)/2)),i+e]}]}}(AtomiAP),function(t){t.EffectType={START:0,NONE:0,ENTRANCE_START:200,APPEAR:200,FADE_IN:201,FLY_IN:202,PEEK_IN:203,FLOAT_IN:204,WIPE_IN:205,ZOOM_IN:206,GROW_TURN_IN:207,SHAPE_IN:208,SWIVEL_IN:209,BOUNCE_IN:210,EXPAND_IN:211,SPINNER_IN:212,STRETCH_IN:213,COMPRESS_IN:214,SPLIT_IN:215,RANDOM_BARS_IN:216,BLINDS_IN:217,WEDGE_IN:218,DISSOLVE_IN:219,WHEEL_IN:220,STRIPS_IN:221,CHECKERBOARD_IN:222,BASIC_FLOAT_IN:223,CREDITS_IN:224,BOOMERANG_IN:225,CENTER_REVOLVE_IN:226,RISE_UP:228,PINWHEEL_IN:229,BASIC_SWIVEL_IN:230,ENTRANCE_END:232,EXIT_START:400,DISAPPEAR:400,FADE_OUT:401,FLY_OUT:402,PEEK_OUT:403,FLOAT_OUT:404,WIPE_OUT:405,ZOOM_OUT:406,SHRINK_TURN_OUT:407,SHAPE_OUT:408,SWIVEL_OUT:409,BOUNCE_OUT:410,CONTRACT_OUT:411,SPINNER_OUT:412,STRETCH_OUT:413,COLLAPSE_OUT:414,SPLIT_OUT:415,RANDOM_BARS_OUT:416,BLINDS_OUT:417,WEDGE_OUT:418,DISSOLVE_OUT:419,WHEEL_OUT:420,STRIPS_OUT:421,CHECKERBOARD_OUT:422,BASIC_FLOAT_OUT:423,CREDITS_OUT:424,BOOMERANG_OUT:425,CENTER_REVOLVE_OUT:426,SINK_DOWN:428,PINWHEEL_OUT:429,BASIC_SWIVEL_OUT:430,EXIT_END:432,EMPHASIS_START:600,PULSE:600,TEETER:601,SPIN:602,GROW_SHRINK:603,TRANSPARENCY:604,COMPLEMENTARY_COLOR:605,COMPLEMENTARY_COLOR2:606,CONTRASTING_COLOR:607,DARKEN_COLOR:608,DESATURATE_COLOR:609,LIGHTEN_COLOR:610,PULSE_COLOR:611,BLINK:612,EMPHASIS_END:613,MOTION_PATH_START:800,MOTION_PATH_END:807,EXTENSION_START:1e3,PAUSE:1e3,TIME_OUT:1001,MEDIA_PLAY:1002,MEDIA_STOP:1003,MEDIA_SEEK:1004,GESTURE_PROGRESS:1005,TIMER_START:1006,EXTENSION_END:1007},t.EffectDirection={BOTTOM:1,LEFT:2,RIGHT:3,TOP:4,BOTTOM_LEFT:5,BOTTOM_RIGHT:6,TOP_LEFT:7,TOP_RIGHT:8,IN:9,OUT:10,ACROSS:11,CLOCKWISE:12,COUNTER_CLOCKWISE:13,HORIZONTAL:14,VERTICAL:15,WEDGE:16,CIRCLE_IN:17,CIRCLE_OUT:18,DIAMOND_IN:19,DIAMOND_OUT:20,PLUS_IN:21,PLUS_OUT:22,VERTICAL_OUT:23,VERTICAL_IN:24,HORIZONTAL_OUT:25,HORIZONTAL_IN:26,CENTER:27,THROUGH_BLACK:32,THROUGH_BLACK_FROM_RIGHT:33,THROUGH_BLACK_FROM_LEFT:34,SMOOTHLY:35,SMOOTHLY_FROM_RIGHT:36,SMOOTHLY_FROM_LEFT:37,ZOOM_ROTATE:38,ROTATE_2_SPOKES:39,ROTATE_3_SPOKES:40,ROTATE_4_SPOKES:41,ROTATE_8_SPOKES:42,LEFT_DOWN:43,LEFT_UP:44,RIGHT_DOWN:45,RIGHT_UP:46,DOWN:47},t.EffectOptionId={EFFECT_OPTION_DIR:0,EFFECT_OPTION_PATH_TYPE:1,EFFECT_OPTION_SIZE:2},t.TextEffectFlags={CHARS:1,WORDS:2};var i,s,e=t.EffectType,n=t.EffectDirection,r=t.EffectOptionId,a=t.Animation,h=t.MediaAnimation,o=t.AnimationGroup,u=t.Timeline,f=t.TimingEvent,c=t.Easing,l=c.outQuad,d=c.inQuad,v=c.doubleInQuad,p=c.linear,m="twostate",g=t.RelativeTweenType,M=1e-4,b=!1;function w(i,s,e,n,r,o,u,f,c,l){var d={startTime:n,duration:r,tweenParams:o,easing:u,additive:void 0===c,relative:f,revert:l};u==m&&(d.easing=p,d.tweenType=t.TweenType.ys),"scale"===e?(i.addChild(new a(s,"scaleX",d)),i.addChild(new a(s,"scaleY",d))):"mediaSeek"===e?i.addChild(new h(s,e,d)):i.addChild(new a(s,e,d))}function _(t,i,s,e){var n,r,a,h,o,u,f=[];for(n=0,r=t.length;n<r;++n){for(h=t[n],o=[],a=0;a<6;a+=2)u=y(h[a],h[a+1],i,s,e),o.push(u.x,u.y);f.push(o)}return f}t.rotatePoint=function(t,i,s,e,n){if(s%360){t-=e=e||0,i-=n=n||0,s=s*Math.PI/180;var r=Math.cos(s),a=Math.sin(s);return{x:r*t-a*i+e,y:a*t+r*i+n}}return{x:t,y:i}};var y=t.rotatePoint;function k(t,i,s){var e,n,r,a=t[this.Yu.slide.prez().layoutIndex];if(!a.normed){for(n=0,r=a.length;n<r;++n){e=a[n];for(var h=0;h<6;++h)e[h]=e[h]/1e3}a.normed=!0}var o=this.Yu.animProps.fromTarget(this._p),u=this.Yu.score?this.Yu:this.Yu.parent;if(u&&i){var f=u.transformOrigin(!0);o.translateX-=f.x,o.translateY-=f.y}if(u&&u!=this.Yu){var c=-u.rotate()%360;if(c){var l=a["r"+c];if(!l){var d=i?f:{x:0,y:0};l=a["r"+c]=_(a,c,d.x,d.y)}a=l}}return void 0!==s&&((e=a[n=1==s?0:a.length-1]?a[n].slice():[0,0,0,0,0,0])[2]=e[4]=e[0],e[3]=e[5]=e[1],a=[e,e.slice()]),[a,o]}function T(t,i,s,e){var n=(t+s)/2,r=(i+e)/2;return[[t,i,t,i,n,r],[s,e,n,r,s,e]]}function x(t,i){var s=this.Cp(),e=this.Yu.animProps.fromTarget(this._p),r=this.Yu.transformedContentBox(!0),a=this.Yu.slide,h=0,o=0;switch(r.x+=s.translateX-e.translateX,r.y+=s.translateY-e.translateY,t){case n.LEFT:h=-r.x-r.width;break;case n.TOP:o=-r.y-r.height;break;case n.RIGHT:h=a.offsetSize().width-r.x;break;case n.BOTTOM:o=a.offsetSize().height-r.y;break;case n.TOP_LEFT:h=-r.x-r.width,o=-r.y-r.height;break;case n.TOP_RIGHT:h=a.offsetSize().width-r.x,o=-r.y-r.height;break;case n.BOTTOM_RIGHT:h=a.offsetSize().width-r.x,o=a.offsetSize().height-r.y;break;case n.BOTTOM_LEFT:h=-r.x-r.width,o=a.offsetSize().height-r.y}var u=this.Yu.parent&&this.Yu.parent.rotateToSlide()||0,f=y(h,o,-u);return h=f.x,o=f.y,[i?T(0,0,h,o):T(h,o,0,0)]}function C(t,i){var s=this.Yu.parent&&this.Yu.parent.rotateToSlide()||0,e=y(0,t==n.TOP?-100:100,-s);return[i?T(0,0,e.x,e.y):T(e.x,e.y,0,0)]}function S(t,i){var s=this.Yu.transformedContentBox(!0),e=this.Yu.parent&&this.Yu.parent.rotateToSlide()||0,r=0,a=0;switch(t){case n.LEFT:r=-s.width;break;case n.TOP:a=-s.height;break;case n.RIGHT:r=s.width;break;case n.BOTTOM:a=s.height;break;case n.TOP_LEFT:r=-s.width,a=-s.height;break;case n.TOP_RIGHT:r=s.width,a=-s.height;break;case n.BOTTOM_RIGHT:r=s.width,a=s.height;break;case n.BOTTOM_LEFT:r=-s.width,a=s.height}var h=y(r,a,-e);return r=h.x,a=h.y,[i?T(0,0,r,a):T(r,a,0,0)]}function E(t,i){var s,e,r=this.Yu,a=r.contentBox(),h=a.width,o=a.height;return s=50*((a=r.transformedContentBox(!0)).width/h-1),e=50*(a.height/o-1),t==n.BOTTOM?i?[[[-s,-100-e],[100+s,-100-e],[100+s,-e],[-s,-e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[-s,-100-e],[100+s,-100-e],[100+s,-e],[-s,-e]]]:t==n.BOTTOM_LEFT?i?[[[100+s,-100-e],[200+s,-100-e],[200+s,-e],[100+s,-e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[100+s,-100],[200+s,-100-e],[200+s,-e],[100+s,-e]]]:t==n.LEFT?i?[[[100+s,-e],[200+s,-e],[200+s,100+e],[100+s,100+e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[100+s,-e],[200+s,-e],[200+s,100+e],[100+s,100+e]]]:t==n.TOP_LEFT?i?[[[100+s,100+e],[200+s,100+e],[200+s,200+e],[100+s,200+e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[100+s,100+e],[200+s,100+e],[200+s,200+e],[100+s,200+e]]]:t==n.TOP?i?[[[-s,100+e],[100+s,100+e],[100+s,200+e],[0,200+e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[-s,100+e],[100+s,100+e],[100+s,200+e],[-s,200+e]]]:t==n.TOP_RIGHT?i?[[[-100-s,100+e],[-s,100+e],[-s,200+e],[-100-s,200+e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[-100-s,100+e],[-s,100+e],[-s,200+e],[-100-s,200+e]]]:t==n.RIGHT?i?[[[-100,-e],[-s,-e],[-s,100+e],[-100-s,100+e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[-100-s,-e],[-s,-e],[-s,100+e],[-100-s,100+e]]]:t==n.BOTTOM_RIGHT?i?[[[-100-s,-100-e],[-s,-100-e],[-s,-e],[-100-s,-e]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[-100-s,-100-e],[-s,-100-e],[-s,-e],[-100-s,-e]]]:[]}function O(t,i){var s=this.Yu.rotateToSlide();return t==n.BOTTOM?i?[-s+"deg"]:[180-s+"deg"]:t==n.BOTTOM_LEFT?i?[45-s+"deg"]:[225-s+"deg"]:t==n.BOTTOM_RIGHT?i?[-s-45+"deg"]:[135-s+"deg"]:t==n.TOP?i?[180-s+"deg"]:[-s+"deg"]:t==n.TOP_RIGHT?i?[225-s+"deg"]:[45-s+"deg"]:t==n.TOP_LEFT?i?[135-s+"deg"]:[-s-45+"deg"]:t==n.LEFT?i?[90-s+"deg"]:[-s-90+"deg"]:t==n.RIGHT?i?[-s-90+"deg"]:[90-s+"deg"]:[]}function P(t,i){var s,e,r=this.Yu,a=r.contentBox(),h=a.width,o=a.height;return s=50*((a=r.transformedContentBox(!0)).width/h-1),e=50*(a.height/o-1),t==n.IN?i?[[[-s,-e],[-s,100+e],[-s,100+e],[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e],[-s,100+e],[100+s,100+e],[100+s,-e]],[[-s,-e],[-s,100+e],[50,100+e],[50,50],[50,50],[50,50],[50,50],[50,100+e],[100+s,100+e],[100+s,-e]]]:[[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]],[[50,50],[50,50],[50,50],[50,50]]]:t==n.OUT?i?[[[50,50],[50,50],[50,50],[50,50]],[[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e]]]:[[[-s,-e],[-s,100+e],[50,100+e],[50,50],[50,50],[50,50],[50,50],[50,100+e],[100+s,100+e],[100+s,-e]],[[-s,-e],[-s,100+e],[-s,100+e],[-s,-e],[100+s,-e],[100+s,100+e],[-s,100+e],[-s,100+e],[100+s,100+e],[100+s,-e]]]:t==n.DIAMOND_IN?i?[[[-1-s,-1-e],[-1-s,101+e],[-50-s,50],[50,-50-e],[150+s,50],[50,150+e],[-50-s,50],[-1-s,101+e],[101+s,101+e],[101+s,-1-e]],[[-s,-e],[-s,100+e],[50,50],[50,50],[50,50],[50,50],[50,50],[-s,100+e],[100+s,100+e],[100+s,-e]]]:[[[-50-s,50],[50,150+e],[150+s,50],[50,-50-e]],[[50,50],[50,50],[50,50],[50,50]]]:t==n.DIAMOND_OUT?i?[[[50,50],[50,50],[50,50],[50,50]],[[-50-s,50],[50,150+e],[150+s,50],[50,-50-e]]]:[[[-s,-e],[-s,100+e],[50,50],[50,50],[50,50],[50,50],[50,50],[-s,100+e],[100+s,100+e],[100+s,-e]],[[-1-s,-1-e],[-1-s,101+e],[-50-s,50],[50,-50-e],[150+s,50],[50,150+e],[-50-s,50],[-1-s,101+e],[101+s,101+e],[101+s,-1-e]]]:t==n.PLUS_IN?i?[[[[-s,-e],[-s,-e],[-s,-e],[-s,-e]],[[100+s,-e],[100+s,-e],[100+s,-e],[100+s,-e]],[[100+s,100+e],[100+s,100+e],[100+s,100+e],[100+s,100+e]],[[-s,100+e],[-s,100+e],[-s,100+e],[-s,100+e]]],[[[-s,-e],[50,-e],[50,50],[-s,50]],[[100+s,-e],[50,-e],[50,50],[100+s,50]],[[100+s,100+e],[50,100+e],[50,50],[100+s,50]],[[-s,100+e],[50,100+e],[50,50],[-s,50]]],!0]:[[[-s,-e],[-s,100+e],[-s,100+e],[-s,100+e],[100+s,100+e],[100+s,100+e],[100+s,100+e],[100+s,-e],[100+s,-e],[100+s,-e],[-s,-e],[-s,-e]],[[-s,50],[-s,50],[50,50],[50,100+e],[50,100+e],[50,50],[100+s,50],[100+s,50],[50,50],[50,-e],[50,-e],[50,50]]]:t==n.PLUS_OUT?i?[[[-s,50],[-s,50],[50,50],[50,100+e],[50,100+e],[50,50],[100+s,50],[100+s,50],[50,50],[50,-e],[50,-e],[50,50]],[[-s,-e],[-s,100+e],[-s,100+e],[-s,100+e],[100,100+e],[100+s,100+e],[100+s,100+e],[100+s,-e],[100+s,-e],[100+s,-e],[-s,-e],[-s,-e]]]:[[[[-s,-e],[50,-e],[50,50],[-s,50]],[[100+s,-e],[50,-e],[50,50],[100+s,50]],[[100+s,100+e],[50,100+e],[50,50],[100+s,50]],[[-s,100+e],[50,100+e],[50,50],[-s,50]]],[[[-s,-e],[-s,-e],[-s,-e],[-s,-e]],[[100+s,-e],[100+s,-e],[100+s,-e],[100+s,-e]],[[100+s,100+e],[100+s,100+e],[100+s,100+e],[100+s,100+e]],[[-s,100+e],[-s,100+e],[-s,100+e],[-s,100+e]]],!0]:[]}function I(t){var i,s=this.Yu.rotateToSlide();return t==n.VERTICAL_IN||t==n.HORIZONTAL_IN?i=t==n.VERTICAL_IN?90-s+"deg":180-s+"deg":t!=n.VERTICAL_OUT&&t!=n.HORIZONTAL_OUT||(i=t==n.VERTICAL_OUT?90-s+"deg":180-s+"deg"),[i]}function R(t){var i=this.Yu.rotateToSlide();return[t==n.VERTICAL?90-i+"deg":180-i+"deg"]}function N(t,i){var s,e,r,a,h=this.Yu,o=h.contentBox(),u=o.width,f=o.height;s=(o=h.transformedContentBox(!0)).width,e=o.height;var c=(100+(r=100*(s/u-1)))/7,l=(100+(a=100*(e/f-1)))/5,d=[],v=[];if(t==n.HORIZONTAL)for(var p=0;p<5;++p){var m=[M=[-r/2,-a/2+p*l],b=[100+r/2,-a/2+p*l],[100+r/2,-a/2+p*l],[-r/2,-a/2+p*l]],g=[M,b,[100+r/2,-a/2+(p+1)*l],[-r/2,-a/2+(p+1)*l]];d.push(m),v.push(g)}else for(p=0;p<7;++p){var M,b;m=[M=[-r/2+p*c,-a/2],b=[-r/2+p*c,100+a/2],b,M],g=[M,b,[-r/2+(p+1)*c,100+a/2],[-r/2+(p+1)*c,-a/2]];d.push(m),v.push(g)}return i?[d,v,!0]:[v,d,!0]}function A(t,i){var s,e,n=this.Yu,r=n.contentBox(),a=r.width,h=r.height;return s=50*((r=n.transformedContentBox(!0)).width/a-1),e=50*(r.height/h-1),0==t?i?[[[50,-e],[50,50],[50,-e]],[[-s,-e],[50,50],[100+s,-e]]]:[[[50,50],[50,-e],[-s,-e],[-s,100+e],[100+s,100+e],[100+s,-e],[50,-e]],[[50,50],[-s,-e],[-s,-e],[-s,100+e],[100+s,100+e],[100+s,-e],[100+s,-e]]]:1==t?i?[[[-s,-e],[-s,-e],[50,50],[100+s,-e],[100+s,-e]],[[-s,-e],[-s,100+e],[50,50],[100+s,100+e],[100+s,-e]]]:[[[50,50],[-s,-e],[-s,100+e],[100+s,100+e],[100+s,-e]],[[50,50],[-s,100+e],[-s,100+e],[100+s,100+e],[100+s,100+e]]]:2==t?i?[[[-s,-e],[-s,100+e],[-s,100+e],[50,50],[100+s,100+e],[100+s,100+e],[100+s,-e]],[[-s,-e],[-s,100+e],[50,100+e],[50,50],[50,100+e],[100+s,100+e],[100+s,-e]]]:[[[50,50],[-s,100+e],[100+s,100+e]],[[50,50],[50,100+e],[50,100+e]]]:[]}function D(t){var i,s,e=this.Yu,n=e.contentBox(),r=n.width,a=n.height;if(i=100*((n=e.transformedContentBox(!0)).width/r-1),s=100*(n.height/a-1),!this.Yu.dissolvePolygons){this.Yu.dissolvePolygons=[];for(var h=(100+i)/50,o=(100+s)/50,u=0;u<50;++u)for(var f=0;f<50;++f){var c=[[u*h-i/2,f*o-s/2],[(u+1)*h-i/2+1,f*o-s/2],[(u+1)*h-i/2+1,(f+1)*o-s/2+1],[u*h-i/2,(f+1)*o-s/2+1]];this.Yu.dissolvePolygons.push(c)}}for(var l=[],d=0;d<t.length;++d)l.push(this.Yu.dissolvePolygons[t[d]]);return[l]}function Y(t,i,s){var e,r,a,h,o=this.Yu,u=o.contentBox(),f=u.width,c=u.height;e=(u=o.transformedContentBox(!0)).width,r=u.height;var l=100+(a=50*(e/f-1)),d=100+(h=50*(r/c-1));if(t==n.CLOCKWISE){if(0==i)return s?[[[50,-h],[50,50],[50,-h]],[[50,-h],[50,50],[100+a,-h]]]:[[[50,-h],[50,50],[50,-h],[100+a,-h],[100+a,100+h],[-a,100+h],[-a,-h]],[[50,-h],[50,50],[100+a,-h],[100+a,-h],[100+a,100+h],[-a,100+h],[-a,-h]]];if(1==i)return s?[[[50,-h],[50,50],[100+a,-h],[100+a,-h]],[[50,-h],[50,50],[100+a,100+h],[100+a,-h]]]:[[[50,-h],[50,50],[100+a,-h],[100+a,100+h],[-a,100+h],[-a,-h]],[[50,-h],[50,50],[100+a,100+h],[100+a,100+h],[-a,100+h],[-a,-h]]];if(2==i)return s?[[[50,-h],[50,50],[100+a,100+h],[100+a,100+h],[100+a,-h]],[[50,-h],[50,50],[-a,100+h],[100+a,100+h],[100+a,-h]]]:[[[50,-h],[50,50],[100+a,100+h],[-a,100+h],[-a,-h]],[[50,-h],[50,50],[-a,100+h],[-a,100+h],[-a,-h]]];if(3==i)return s?[[[50,-h],[50,50],[-a,100+h],[-a,100+h],[100+a,100+h],[100+a,-h]],[[50,-h],[50,50],[-a,-h],[-a,100+h],[100+a,100+h],[100+a,-h]]]:[[[50,-h],[50,50],[-a,100+h],[-a,-h]],[[50,-h],[50,50],[-a,-h],[-a,-h]]];if(4==i)return s?[[[50,-h],[50,50],[-a,-h],[-a,-h],[-a,100+h],[100+a,100+h],[100+a,-h]],[[50,-h],[50,50],[50,-h],[-a,-h],[-a,100+h],[100+a,100+h],[100+a,-h]]]:[[[50,-h],[50,50],[-a,-h]],[[50,-h],[50,50],[50,-h]]]}else if(t==n.ROTATE_2_SPOKES){s?(B=[[50,50],[50,-h],[50,-h]],V=[[50,50],[50,-h],[l,-h]],Z=[[50,50],[50,d],[50,d]],W=[[50,50],[50,d],[-a,d]],j=[[50,50],[50,-h],[l,-h],[l,-h]],tt=[[50,50],[50,-h],[l,-h],[l,d]],Q=[[50,50],[50,d],[-a,d],[-a,d]],it=[[50,50],[50,d],[-a,d],[-a,-h]],w=[[50,50],[50,-h],[l,-h],[l,d],[l,d]],k=[[50,50],[50,-h],[l,-h],[l,d],[50,d]],_=[[50,50],[50,d],[-a,d],[-a,-h],[-a,-h]],T=[[50,50],[50,d],[-a,d],[-a,-h],[50,-h]]):(B=[[50,50],[50,-h],[l,-h],[l,d],[50,d]],V=[[50,50],[l,-h],[l,-h],[l,d],[50,d]],Z=[[50,50],[50,d],[-a,d],[-a,-h],[50,-h]],W=[[50,50],[-a,d],[-a,d],[-a,-h],[50,-h]],j=[[50,50],[l,-h],[l,d],[50,d]],tt=[[50,50],[l,d],[l,d],[50,d]],Q=[[50,50],[-a,d],[-a,-h],[50,-h]],it=[[50,50],[-a,-h],[-a,-h],[50,-h]],w=[[50,50],[l,d],[50,d]],k=[[50,50],[50,d],[50,d]],_=[[50,50],[-a,-h],[50,-h]],T=[[50,50],[50,-h],[50,-h]]);var v=[B,Z],p=[V,W],m=[j,Q],g=[tt,it],M=[w,_],b=[k,T];if(0==i)return[v,p,!0];if(1==i)return[m,g,!0];if(2==i)return[M,b,!0]}else if(t==n.ROTATE_3_SPOKES){var w,_,y,k,T,x,C,S,E,O,P,I,R,N,A,D,Y,X;s?(B=[[50,50],[50,-h],[50,-h]],V=[[50,50],[50,-h],[3*l/4,-h]],Z=[[50,50],[l,3*d/4],[l,3*d/4]],W=[[50,50],[l,3*d/4],[l,d]],z=[[50,50],[-a,3*d/4],[-a,3*d/4]],$=[[50,50],[-a,3*d/4],[-a,50]],j=[[50,50],[50,-h],[3*l/4,-h],[3*l/4,-h]],tt=[[50,50],[50,-h],[3*l/4,-h],[l,-h]],Q=[[50,50],[l,3*d/4],[l,d],[l,d]],it=[[50,50],[l,3*d/4],[l,d],[3*l/4,d]],q=[[50,50],[-a,3*d/4],[-a,50],[-a,50]],st=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4]],w=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,-h]],k=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4]],_=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[3*l/4,d]],T=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d]],y=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,d/4]],x=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h]],C=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,d/4]],O=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,50]],S=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d],[50,d]],P=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d],[-a,d]],E=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h],[-a,-h]],I=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h],[l/4,-h]],R=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,50],[l,50]],D=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,50],[l,3*d/4]],N=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d],[-a,d],[-a,d]],Y=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],A=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h],[l/4,-h],[l/4,-h]],X=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]]):(B=[[50,50],[50,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,50],[l,3*d/4]],V=[[50,50],[3*l/4,-h],[3*l/4,-h],[l,-h],[l,d/4],[l,50],[l,3*d/4]],Z=[[50,50],[l,3*d/4],[l,d],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],W=[[50,50],[l,d],[l,d],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],z=[[50,50],[-a,3*d/4],[-a,50],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]],$=[[50,50],[-a,50],[-a,50],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]],j=[[50,50],[3*l/4,-h],[l,-h],[l,d/4],[l,50],[l,3*d/4]],tt=[[50,50],[l,-h],[l,-h],[l,d/4],[l,50],[l,3*d/4]],Q=[[50,50],[l,d],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],it=[[50,50],[3*l/4,d],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],q=[[50,50],[-a,50],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]],st=[[50,50],[-a,d/4],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]],w=[[50,50],[l,-h],[l,d/4],[l,50],[l,3*d/4]],k=[[50,50],[l,d/4],[l,d/4],[l,50],[l,3*d/4]],_=[[50,50],[3*l/4,d],[50,d],[-a,d],[-a,3*d/4]],T=[[50,50],[50,d],[50,d],[-a,d],[-a,3*d/4]],y=[[50,50],[-a,d/4],[-a,-h],[l/4,-h],[50,-h]],x=[[50,50],[-a,-h],[-a,-h],[l/4,-h],[50,-h]],C=[[50,50],[l,d/4],[l,50],[l,3*d/4]],O=[[50,50],[l,50],[l,50],[l,3*d/4]],S=[[50,50],[50,d],[-a,d],[-a,3*d/4]],P=[[50,50],[-a,d],[-a,d],[-a,3*d/4]],E=[[50,50],[-a,-h],[l/4,-h],[50,-h]],I=[[50,50],[l/4,-h],[l/4,-h],[50,-h]],R=[[50,50],[l,50],[l,3*d/4]],D=[[50,50],[l,3*d/4],[l,3*d/4]],N=[[50,50],[-a,d],[-a,3*d/4]],Y=[[50,50],[-a,3*d/4],[-a,3*d/4]],A=[[50,50],[l/4,-h],[50,-h]],X=[[50,50],[50,-h],[50,-h]]);v=[B,Z,z],p=[V,W,$],m=[j,Q,q],g=[tt,it,st],M=[w,_,y],b=[k,T,x];var L=[C,S,E],F=[O,P,I],H=[R,N,A],U=[D,Y,X];if(0==i)return[v,p,!0];if(1==i)return[m,g,!0];if(2==i)return[M,b,!0];if(3==i)return[L,F,!0];if(4==i)return[H,U,!0]}else if(t==n.ROTATE_4_SPOKES){var B,Z,z,G,V,W,$,K,j,Q,q,J,tt,it,st,et;s?(B=[[50,50],[50,-h],[50,-h]],V=[[50,50],[50,-h],[l,-h]],Z=[[50,50],[l,50],[l,50]],W=[[50,50],[l,50],[l,d]],z=[[50,50],[50,d],[50,d]],$=[[50,50],[50,d],[-a,d]],G=[[50,50],[-a,50],[-a,50]],K=[[50,50],[-a,50],[-a,-h]],j=[[50,50],[50,-h],[l,-h],[l,-h]],tt=[[50,50],[50,-h],[l,-h],[l,50]],Q=[[50,50],[l,50],[l,d],[l,d]],it=[[50,50],[l,50],[l,d],[50,d]],q=[[50,50],[50,d],[-a,d],[-a,d]],st=[[50,50],[50,d],[-a,d],[-a,50]],J=[[50,50],[-a,50],[-a,-h],[-a,-h]],et=[[50,50],[-a,50],[-a,-h],[50,-h]]):(B=[[50,50],[50,-h],[l,-h],[l,50]],V=[[50,50],[l,-h],[l,-h],[l,50]],Z=[[50,50],[l,50],[l,d],[50,d]],W=[[50,50],[l,d],[l,d],[50,d]],z=[[50,50],[50,d],[-a,d],[-a,50]],$=[[50,50],[-a,d],[-a,d],[-a,50]],G=[[50,50],[-a,50],[-a,-h],[50,-h]],K=[[50,50],[-a,-h],[-a,-h],[50,-h]],j=[[50,50],[l,-h],[l,50]],tt=[[50,50],[l,50],[l,50]],Q=[[50,50],[l,d],[50,d]],it=[[50,50],[50,d],[50,d]],q=[[50,50],[-a,d],[-a,50]],st=[[50,50],[-a,50],[-a,50]],J=[[50,50],[-a,-h],[50,-h]],et=[[50,50],[50,-h],[50,-h]]);v=[B,Z,z,G],p=[V,W,$,K],m=[j,Q,q,J],g=[tt,it,st,et];if(0==i)return[v,p,!0];if(1==i)return[m,g,!0]}else if(t==n.ROTATE_8_SPOKES){var nt,rt,at,ht,ot,ut,ft,ct,lt,dt,vt,pt,mt,gt,Mt,bt;return s?(nt=[[50,50],[50,-h],[50,-h]],lt=[[50,50],[50,-h],[l,-h]],rt=[[50,50],[l,-h],[l,-h]],dt=[[50,50],[l,-h],[l,50]],at=[[50,50],[l,50],[l,50]],vt=[[50,50],[l,50],[l,d]],ht=[[50,50],[l,d],[l,d]],pt=[[50,50],[l,d],[50,d]],ot=[[50,50],[50,d],[50,d]],mt=[[50,50],[50,d],[-a,d]],ut=[[50,50],[-a,d],[-a,d]],gt=[[50,50],[-a,d],[-a,50]],ft=[[50,50],[-a,50],[-a,50]],Mt=[[50,50],[-a,50],[-a,-h]],ct=[[50,50],[-a,-h],[-a,-h]],bt=[[50,50],[-a,-h],[50,-h]]):(nt=[[50,50],[50,-h],[l,-h]],lt=[[50,50],[l,-h],[l,-h]],rt=[[50,50],[l,-h],[l,50]],dt=[[50,50],[l,50],[l,50]],at=[[50,50],[l,50],[l,d]],vt=[[50,50],[l,d],[l,d]],ht=[[50,50],[l,d],[50,d]],pt=[[50,50],[50,d],[50,d]],ot=[[50,50],[50,d],[-a,d]],mt=[[50,50],[-a,d],[-a,d]],ut=[[50,50],[-a,d],[-a,50]],gt=[[50,50],[-a,50],[-a,50]],ft=[[50,50],[-a,50],[-a,-h]],Mt=[[50,50],[-a,-h],[-a,-h]],ct=[[50,50],[-a,-h],[50,-h]],bt=[[50,50],[50,-h],[50,-h]]),[v=[nt,rt,at,ht,ot,ut,ft,ct],p=[lt,dt,vt,pt,mt,gt,Mt,bt],!0]}return[]}function X(t,i){var s,e=this.Yu.rotateToSlide();return t==n.LEFT_DOWN?s=i?225-e+"deg":45-e+"deg":t==n.RIGHT_DOWN?s=i?135-e+"deg":-e-45+"deg":t==n.LEFT_UP?s=i?-e-45+"deg":135-e+"deg":t==n.RIGHT_UP&&(s=i?45-e+"deg":225-e+"deg"),[s]}function L(t,i){var s,e,r,a,h=this.Yu,o=h.contentBox(),u=o.width,f=o.height;s=(o=h.transformedContentBox(!0)).width,e=o.height;var c=(100+(r=100*(s/u-1)))/6,l=(100+(a=100*(e/f-1)))/6;if(startPolygons=[],endPolygons=[],t==n.ACROSS)for(var d=0;d<6;++d)for(var v=0;v<7;++v){var p=[g=d%2?[v*c-r/2,d*l-a/2]:[(v-.5)*c-r/2,d*l-a/2],M=g,b=d%2?[v*c-r/2,(d+1)*l-a/2]:[(v-.5)*c-r/2,(d+1)*l-a/2],w=b],m=[g,d%2?[(v+1)*c-r/2,d*l-a/2]:[(v+.5)*c-r/2,d*l-a/2],d%2?[(v+1)*c-r/2,(d+1)*l-a/2]:[(v+.5)*c-r/2,(d+1)*l-a/2],w];startPolygons.push(p),endPolygons.push(m)}else for(d=0;d<7;++d)for(v=0;v<6;++v){var g,M,b,w;p=[g=v%2?[v*c-r/2,d*l-a/2]:[v*c-r/2,(d-.5)*l-a/2],M=v%2?[(v+1)*c-r/2,d*l-a/2]:[(v+1)*c-r/2,(d-.5)*l-a/2],b=M,w=g],m=[g,M,v%2?[(v+1)*c-r/2,(d+1)*l-a/2]:[(v+1)*c-r/2,(d+.5)*l-a/2],v%2?[v*c-r/2,(d+1)*l-a/2]:[v*c-r/2,(d+.5)*l-a/2]];startPolygons.push(p),endPolygons.push(m)}return i?[startPolygons,endPolygons,!0]:[endPolygons,startPolygons,!0]}function F(t,i,s){var e,n,r=this.Yu.parent&&-this.Yu.parent.rotateToSlide()||0;if(0==i)e=s?y(0,0,r):y(t[0],t[1],r),n=y(t[2],t[3],r);else{if(1!=i)return[null,{translateX:-(e=y(t[0],t[1],r)).x,translateY:-e.y}];e=y(0,0,r),n=s?y(t[0]-t[2],t[1]-t[3],r):y(-t[2],-t[3],r)}return[T(e.x,e.y,n.x,n.y)]}function H(t,i){return F.call(this,[500,-400,-50,70],t,i)}function U(t,i){return F.call(this,[500,-120,0,70],t,i)}function B(t,i){if(0==t){var s=this.Yu.transformedContentBox(!0);s.y+=this.Cp().translateY-this.Yu.animProps.fromTarget(this._p).translateY;var e=this.Yu.slide.offsetSize().height-s.y,n=-s.y-s.height}var r,a,h;i?0==t?(r=a=n,this.Yu.Dp=e-n,this.Yu.Yp=-e):1==t?(h=!0,r=0,a=this.Yu.Dp,delete this.Yu.Dp):(r=a=this.Yu.Yp,delete this.Yu.Yp):0==t?(h=!0,r=e,a=n,this.Yu.Xp=-n):(r=a=this.Yu.Xp,delete this.Yu.Xp);var o=this.Yu.parent&&this.Yu.parent.rotateToSlide()||0;return r=y(0,r,-o),h?(a=y(0,a,-o),[T(r.x,r.y,a.x,a.y)]):[null,{translateX:r.x,translateY:r.y}]}function Z(t,i){if(0==t){var s=this.Yu.transformedContentBox(!0);s.y+=this.Cp().translateY-this.Yu.animProps.fromTarget(this._p).translateY;var e=this.Yu.slide.offsetSize().height-s.y}var n,r;i?(n=0,0==t?(r=-30,this.Yu.riseUpSetupOutVal=e):1==t?r=this.Yu.riseUpSetupOutVal+30:(n=r=-this.Yu.riseUpSetupOutVal,delete this.Yu.riseUpSetupOutVal)):0==t?(n=e,r=-30):(n=0,r=30);var a=this.Yu.parent&&this.Yu.parent.rotateToSlide()||0;return n=y(0,n,-a),i&&t>1?[null,{translateX:n.x,translateY:n.y}]:(r=y(0,r,-a),[T(n.x,n.y,r.x,r.y)])}function z(t,i){var s=197*.5522847498,e=112*.4477152502,n=_([[0,0,0,0,s,0],[197,112,197,e,197,224-e],[0,224,s,224,0,224]],-(this.Yu.parent&&this.Yu.parent.rotateToSlide()||0));if(i)return 0==t?[n]:[null,{translateX:n[0][0]-n[2][0],translateY:n[0][1]-n[2][1]}];var r=n[2][0],a=n[2][1];if(0==t)return[null,{translateX:r,translateY:a}];n.reverse();for(var h=0;h<n.length;++h){var o,u,f=n[h];for(o=f[2],f[2]=f[4],f[4]=o,o=f[3],f[3]=f[5],f[5]=o,u=0;u<f.length;u+=2)f[u]=f[u]-r,f[u+1]=f[u+1]-a}return[n]}function G(t,i){return t*=i?this.Yu.slide.offsetSize().height/100:this.Yu.slide.offsetSize().width/100,[this.Cp(),t]}t.createZoomAndPan=function(t,s,e,n){var r=new o({startTime:0});if(w(r,t,"scale",0,0,[1],i,g.Nv,b),w(r,t,"translateX",0,0,[0],i,g.Nv,b),w(r,t,"translateY",0,0,[0],i,g.Nv,b),s&&s.length)for(var a=0;a<s.length;a++){var h=s[a];if(void 0!==h.m&&(h.m&n)==n){var u,f,c=h.scale[e]/100,l=h.pos[e];u=1===l.ux?[G,-l.x*c/1e3]:[-l.x*c],f=1===l.uy?[G,-l.y*c/1e3,!0]:[-l.y*c],w(r,t,"scale",h.startTime,h.duration,[c],i,g.Nv,b),w(r,t,"translateX",h.startTime,h.duration,u,i,g.Nv,b),w(r,t,"translateY",h.startTime,h.duration,f,i,g.Nv,b)}}return r},t.createEffect=function(a,h,u,v,g){u=u||0,v=v||0,g=g||{};var _={r:"repeat",d:"direction",a:"alternated",p:"path",t:"text"};for(var y in _)void 0!==g[y]&&(g[_[y]]=g[y]);if(h===e.PAUSE)return new f(function(){a.qs&&a.qs(!0)},{startTime:u});if(h===e.TIME_OUT)return new f(function(){a.Yo&&a.Yo(v)},{startTime:u});var T,F,G=new o({startTime:u,repeat:g.repeat||1,alternated:!!g.alternated}),V=g.direction,W=[],$=g.text&&g.text[0]&&a.splitText&&a.html&&a.html(),K=v;if($){var j=g.text[1];a.shape&&a.shape.node?W.push(a.shape):K=j;var Q={chars:g.text[0]&t.TextEffectFlags.CHARS,words:g.text[0]&t.TextEffectFlags.WORDS,processStyles:"backgroundColor, textDecoration"},q=a.splitTexts;if((!q||Q.chars&&!q.chars||Q.words&&!q.words)&&(a.splitText(Q),q=a.splitTexts),Q.chars&&q&&q.chars)for(nt=0,T=q.chars.length;nt<T;++nt)W.push(q.chars[nt]);if(Q.words&&q&&q.words)for(nt=0,T=q.words.length;nt<T;++nt)W.push(q.words[nt])}else W.push(a);var J=t.browser.iDevice,tt=[];if(h==e.FADE_IN)tt=[["opacity",0,1,[0,1],l]];else if(h==e.FLY_IN)tt=[["position",0,1,[x,V],l]];else if(h==e.PEEK_IN)tt=[["clipPath",0,1,[E,V,!0],l],["resetClipPath",1,0,[""]],["position",0,1,[S,V,!1],l]];else if(h==e.FLOAT_IN)tt=[["position",0,1,[C,V],l],["opacity",0,1,[0,1],l]];else if(h==e.WIPE_IN&&t.support.maskImage)tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[O,V,!0]],["gradColorStops",0,.2,[[[0,0,0,1,0],[0,0,0,0,0]],[[0,0,0,1,0],[0,0,0,0,10]]]],["gradColorStops",.2,.8,[[[0,0,0,1,0],[0,0,0,0,10]],[[0,0,0,1,100],[0,0,0,0,110]]]],["resetMaskImage",1,0,[""]]];else if(h==e.ZOOM_IN)tt=[["scale",0,1,[0,1],l],["opacity",0,1,[0,1],l]],J&&tt.push(["svgOpacity",0,1,[.9,1]]);else if(h==e.GROW_TURN_IN)tt=[["rotate",0,1,[90,0],l],["scale",0,1,[0,1],l],["opacity",0,1,[0,1],l]],J&&tt.push(["svgOpacity",0,1,[.9,1]]);else if(h==e.SWIVEL_IN||h==e.BASIC_SWIVEL_IN)tt=[[h==e.SWIVEL_IN||V==n.HORIZONTAL?"scaleX":"scaleY",[0,.2,[0,1],.2,.2,[1,M],.4,.2,[1,-1e4],.6,.2,[1,-M],.8,.2,[1,1e4]],l]],h==e.SWIVEL_IN&&tt.push(["opacity",0,1,[0,1],l]),J&&tt.push(["svgOpacity",0,1,[.9,1]]);else if(h==e.BOUNCE_IN)tt=[["translateX",0,1,[-150,0],p],["translateY",0,1,[-250,0],c.outBounce],["scaleY",[7/22,1/22,[1,.8],8/22,1/22,[1,1.25],15/22,1/22,[1,.9],16/22,1/22,[1,1/.9],19/22,1/22,[1,.95],20/22,1/22,[1,1/.95]],p],["opacity",0,.05,[0,1],p]];else if(h==e.EXPAND_IN)tt=[["scaleX",0,1,[.8,1],l],["opacity",0,1,[0,1],l]];else if(h==e.SPINNER_IN)tt=[["rotate",0,1,[0,-360],l],["opacity",0,1,[100/255,1],l]];else if(h==e.STRETCH_IN)tt=[["scaleX",0,1,[0,1],l]],J&&tt.push(["svgOpacity",0,1,[.9,1]]);else if(h==e.COMPRESS_IN)tt=[["scaleX",0,1,[1.5,1],l],["opacity",0,1,[0,1],l]];else if(h==e.SHAPE_IN)V==n.IN||V==n.OUT||V==n.DIAMOND_IN||V==n.DIAMOND_OUT||V==n.PLUS_OUT?tt=[["clipPath",0,1,[P,V,!0]],["resetClipPath",1,0,[""]]]:V==n.PLUS_IN?tt=[["clipPath",0,1,[P,V,!0]],["resetClipPath",1,0,[""]]]:V==n.CIRCLE_IN&&t.support.maskImage?tt=[["gradientType",0,1,["radial-gradient"]],["gradientDirection",0,1,["circle at center"]],["gradColorStops",0,.8,[[[0,0,0,0,100],[0,0,0,1,120]],[[0,0,0,0,0],[0,0,0,1,20]]]],["gradColorStops",.8,.2,[[[0,0,0,0,0],[0,0,0,1,20]],[[0,0,0,0,0],[0,0,0,1,0]]]],["resetMaskImage",1,0,[""]]]:V==n.CIRCLE_OUT&&t.support.maskImage&&(tt=[["gradientType",0,1,["radial-gradient"]],["gradientDirection",0,1,["circle at center"]],["gradColorStops",0,.2,[[[0,0,0,1,0],[0,0,0,0,0]],[[0,0,0,1,0],[0,0,0,0,20]]]],["gradColorStops",.2,.8,[[[0,0,0,1,0],[0,0,0,0,20]],[[0,0,0,1,100],[0,0,0,0,120]]]],["resetMaskImage",1,0,[""]]]);else if(h==e.SPLIT_IN&&t.support.maskImage){V==n.VERTICAL_IN||V==n.HORIZONTAL_IN?tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[I,V]],["gradColorStops",0,.8,[it=[[0,0,0,1,-10],[0,0,0,0,0],[0,0,0,0,100],[0,0,0,1,110]],st=[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]]]],["gradColorStops",.8,.2,[ot=[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]],ut=[[0,0,0,1,50],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,50]]]],["resetMaskImage",1,0,[""]]]:V!=n.VERTICAL_OUT&&V!=n.HORIZONTAL_OUT||(tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[I,V,!0]],["gradColorStops",0,.2,[it=[[0,0,0,0,50],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,50]],st=[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]]]],["gradColorStops",.2,.8,[ot=[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]],ut=[[0,0,0,0,-10],[0,0,0,1,0],[0,0,0,1,100],[0,0,0,0,110]]]],["resetMaskImage",1,0,[""]]])}else if(h==e.RANDOM_BARS_IN&&t.support.maskImage){for(var it=[],st=[],et=.5,nt=0;nt<200;++nt){var rt=parseInt(5*Math.random()+1),at=[0,0,0,0,nt*et];it.push(at);var ht=nt%rt?[0,0,0,.2,nt*et]:[0,0,0,1,nt*et];st.push(ht)}var ot=[],ut=[];for(nt=0;nt<200;++nt)ot[nt]=st[nt],ut[nt]=[0,0,0,1,nt*et];tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[R,V]],["gradColorStops",0,.5,[it,st]],["gradColorStops",.5,.5,[ot,ut]],["resetMaskImage",1,0,[""]]]}else if(h==e.BLINDS_IN)tt=[["clipPath",0,1,[N,V,!0]],["resetClipPath",1,0,[""]]];else if(h==e.WEDGE_IN)tt=[["clipPath",[0,1/3,[A,0,!0],1/3,1/3,[A,1,!0],2/3,1/3,[A,2,!0]]],["resetClipPath",1,0,[""]]];else if(h==e.DISSOLVE_IN){var ft=50,ct=1/((yt=50)+1);tt.push(["clipPath",0,ct,[[0,0,0,0]],m]);var lt=[];for(nt=0;nt<yt*ft;++nt)lt.push(nt);u=ct;var dt=[],vt=0;for(nt=0;nt<yt;++nt){for(var pt=0;pt<ft;++pt){rt=parseInt(Math.random()*(lt.length-1));dt[vt]=lt[rt],lt.splice(rt,1),vt++}nt==yt-1&&(ct=1-u);var mt=["clipPath",u,ct,[D,dt.slice()],m];tt.push(mt),u+=ct}tt.push(["resetClipPath",1,0,[""]])}else if(h==e.WHEEL_IN)V==n.CLOCKWISE?tt=[["clipPath",[0,.125,[Y,V,0,!0],.125,.25,[Y,V,1,!0],.375,.25,[Y,V,2,!0],.625,.25,[Y,V,3,!0],.875,.125,[Y,V,4,!0]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_2_SPOKES?tt=[["clipPath",[0,1/3,[Y,V,0,!0],1/3,1/3,[Y,V,1,!0],2/3,1/3,[Y,V,2,!0]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_3_SPOKES?tt=[["clipPath",[0,.2,[Y,V,0,!0],.2,.2,[Y,V,1,!0],.4,.2,[Y,V,2,!0],.6,.2,[Y,V,3,!0],.8,.2,[Y,V,4,!0]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_4_SPOKES?tt=[["clipPath",[0,.5,[Y,V,0,!0],.5,.5,[Y,V,1,!0]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_8_SPOKES&&(tt=[["clipPath",0,1,[Y,V,0,!0]],["resetClipPath",1,0,[""]]]);else if(h==e.STRIPS_IN&&t.support.maskImage)tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[X,V,!0]],["gradColorStops",0,1,[[[0,0,0,1,-10],[0,0,0,0,0]],[[0,0,0,1,100],[0,0,0,0,110]]]],["resetMaskImage",1,0,[""]]];else if(h==e.CHECKERBOARD_IN)tt=[["clipPath",0,1,[L,V,!0]],["resetClipPath",1,0,[""]]];else if(h==e.BASIC_FLOAT_IN)tt=[["rotate",0,.8,[-90,0]],["position",[0,.8,[H,0],.8,.2,[H,1]]],["opacity",0,.8,[0,1]]];else if(h==e.CREDITS_IN)tt=[["position",[0,.65,[B,0],1,0,[B,1]]]];else if(h==e.BOOMERANG_IN)tt=[["rotate",0,.5,[-90,0]],["scaleX",[0,.5,[1,.05],.55,.45,[1,20]]],["position",[0,.5,[U,0],.55,.45,[U,1]]],["opacity",0,.5,[0,1]]];else if(h==e.PINWHEEL_IN)tt=[["rotate",0,1,[720,0]],["scale",0,1,[0,1]],["opacity",0,1,[0,1]]];else if(h==e.RISE_UP)tt=[["opacity",0,1,[0,1]],["position",[0,.9,[Z,0],.9,.1,[Z,1]]]];else if(h==e.CENTER_REVOLVE_IN)tt=[["position",[0,0,[z,0],.4,.6,[z,1]]],["opacity",0,.1,[0,1]]];else if(h==e.PULSE)tt=[["scale",[0,.5,[1,1.2],.5,.5,[1,5/6]]],["opacity",[0,.5,[1,100/255],.5,.5,[1,2.55]]]];else if(h==e.TEETER)tt=[["rotate",[0,1/8,[0,-10],1/8,1/8,[0,10],.25,1/8,[0,10],3/8,1/8,[0,-10],.5,1/8,[0,-10],5/8,1/8,[0,10],.75,1/8,[0,10],7/8,1/8,[0,-10]]]];else if(h==e.SPIN)tt=[["rotate",0,1,[0,V==n.CLOCKWISE?360:-360]]];else if(h==e.GROW_SHRINK){var gt,Mt,bt,wt=[.5,.75,1.25,1.5],_t=g.o||[];for(nt=0;nt<_t.length;++nt)2==_t[nt].length&&(Mt=_t[nt][0],bt=_t[nt][1],Mt==r.EFFECT_OPTION_DIR?V=bt:Mt==r.EFFECT_OPTION_SIZE&&(gt=wt[bt]));tt=[[V==n.HORIZONTAL?"scaleX":V==n.VERTICAL?"scaleY":"scale",[0,.99,[1,gt],.99,.01,[1,1/gt]]]]}else if(h==e.LIGHTEN_COLOR)tt=[["brightness",[0,.99,[100,150],.99,.01,[100,100/150*100]]],["contrast",[0,.99,[100,50],.99,.01,[100,200]]]];else if(h==e.DARKEN_COLOR)tt=[["brightness",[0,.99,[100,50],.99,.01,[100,200]]],["contrast",[0,.99,[100,50],.99,.01,[100,200]]]];else if(h==e.DESATURATE_COLOR)tt=[["contrast",[0,.99,[100,M],.99,.01,[100,1e8]]]];else if(h==e.PULSE_COLOR)tt=[["brightness",[0,.5,[100,400],.5,.5,[100,25]]],["contrast",[0,.5,[100,50],.5,.5,[100,200]]]];else if(h==e.TRANSPARENCY)tt=[["opacity",[0,.99,[.5,.5],.99,.01,[1,2]]]];else if(h==e.BLINK)tt=[["opacity",[0,.5,[.01,.01],.5,.5,[100,100]]]];else if(h==e.COMPLEMENTARY_COLOR)tt=[["hueRotate",[0,.99,[0,120],.99,.01,[0,-120]]]];else if(h==e.COMPLEMENTARY_COLOR2)tt=[["hueRotate",[0,.99,[0,270],.99,.01,[0,-270]]]];else if(h==e.CONTRASTING_COLOR)tt=[["hueRotate",[0,.99,[0,200],.99,.01,[0,-200]]]];else if(h==e.FADE_OUT)tt=[["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.FLY_OUT)tt=[["position",0,1,[x,V,!0],d,s,void 0,!0]];else if(h==e.PEEK_OUT)tt=[["clipPath",0,1,[E,V,!1],d],["resetClipPath",1,0,[""]],["position",0,1,[S,V,!0],d,s,void 0,!0]];else if(h==e.FLOAT_OUT)tt=[["position",0,1,[C,V,!0],d,s,void 0,!0],["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.WIPE_OUT&&t.support.maskImage)tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[O,V,!1]],["gradColorStops",0,.8,[[[0,0,0,1,100],[0,0,0,0,110]],[[0,0,0,1,0],[0,0,0,0,10]]]],["gradColorStops",.8,.2,[[[0,0,0,1,0],[0,0,0,0,10]],[[0,0,0,1,0],[0,0,0,0,0]]]],["resetMaskImage",1,0,[""]]];else if(h==e.ZOOM_OUT)tt=[["scale",[0,1,[1,M],1,0,[1,1e4]],d],["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.SHRINK_TURN_OUT)tt=[["rotate",[0,1,[0,90],1,0,[0,-90]],d],["scale",[0,1,[1,M],1,0,[1,1e4]],d],["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.SWIVEL_OUT||h==e.BASIC_SWIVEL_OUT)tt=[[h==e.SWIVEL_OUT||V==n.HORIZONTAL?"scaleX":"scaleY",[0,.2,[1,M],.2,.2,[1,-1e4],.4,.2,[1,-M],.6,.2,[1,1e4],.8,.2,[1,M],1,0,[1,1e4]],d]],h==e.SWIVEL_OUT&&tt.push(["opacity",[0,1,[1,M],1,0,[1,1e4]],d]);else if(h==e.BOUNCE_OUT)tt=[["translateX",[0,1,[0,150],1,0,[0,-150]],p],["translateY",[0,1,[0,250],1,0,[0,-250]],c.outBounce],["scaleY",[7/22,1/22,[1,.8],8/22,1/22,[1,1.25],15/22,1/22,[1,.9],16/22,1/22,[1,1/.9],19/22,1/22,[1,.95],20/22,1/22,[1,1/.95]],p],["opacity",[.95,1,[1,M],1,0,[1,1e4]],p]];else if(h==e.SHAPE_OUT)V==n.IN||V==n.OUT||V==n.DIAMOND_IN||V==n.DIAMOND_OUT||V==n.PLUS_IN?tt=[["clipPath",0,1,[P,V,!1]],["resetClipPath",1,0,[""]]]:V==n.PLUS_OUT?tt=[["clipPath",0,1,[P,V,!1]],["resetClipPath",1,0,[""]]]:V==n.CIRCLE_IN&&t.support.maskImage?tt=[["gradientType",0,1,["radial-gradient"]],["gradientDirection",0,1,["circle at center"]],["gradColorStops",0,.8,[[[0,0,0,1,100],[0,0,0,0,120]],[[0,0,0,1,0],[0,0,0,0,20]]]],["gradColorStops",.8,.2,[[[0,0,0,1,0],[0,0,0,0,20]],[[0,0,0,1,0],[0,0,0,0,0]]]],["resetMaskImage",1,0,[""]]]:V==n.CIRCLE_OUT&&t.support.maskImage&&(tt=[["gradientType",0,1,["radial-gradient"]],["gradientDirection",0,1,["circle at center"]],["gradColorStops",0,.2,[[[0,0,0,0,0],[0,0,0,1,0]],[[0,0,0,0,0],[0,0,0,1,20]]]],["gradColorStops",.2,.8,[[[0,0,0,0,0],[0,0,0,1,20]],[[0,0,0,0,100],[0,0,0,1,120]]]],["resetMaskImage",1,0,[""]]]);else if(h==e.CONTRACT_OUT)tt=[["scaleX",[0,1,[1,.8],1,0,[1,1.25]],d],["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.SPINNER_OUT)tt=[["rotate",0,1,[0,360],d],["opacity",[0,1,[1,100/255],1,0,[1,2.55]],d]];else if(h==e.STRETCH_OUT)tt=[["scaleX",[0,1,[1,1.5],1,0,[1,2/3]],d],["opacity",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.COLLAPSE_OUT)tt=[["scaleX",[0,1,[1,M],1,0,[1,1e4]],d]];else if(h==e.SPLIT_OUT&&t.support.maskImage){V==n.VERTICAL_IN||V==n.HORIZONTAL_IN?tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[I,V]],["gradColorStops",0,.8,[it=[[0,0,0,0,-10],[0,0,0,1,0],[0,0,0,1,100],[0,0,0,0,110]],st=[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]]]],["gradColorStops",.8,.2,[ot=[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]],ut=[[0,0,0,0,50],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,50]]]],["resetMaskImage",1,0,[""]]]:V!=n.VERTICAL_OUT&&V!=n.HORIZONTAL_OUT||(tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[I,V]],["gradColorStops",0,.2,[it=[[0,0,0,1,50],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,50]],st=[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]]]],["gradColorStops",.2,.8,[ot=[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]],ut=[[0,0,0,1,-10],[0,0,0,0,0],[0,0,0,0,100],[0,0,0,1,110]]]],["resetMaskImage",1,0,[""]]])}else if(h==e.RANDOM_BARS_OUT&&t.support.maskImage){for(it=[],st=[],et=.5,nt=0;nt<200;++nt){rt=parseInt(5*Math.random()+1),at=[0,0,0,1,nt*et];it.push(at);ht=nt%rt?[0,0,0,.8,nt*et]:[0,0,0,0,nt*et];st.push(ht)}for(ot=[],ut=[],nt=0;nt<200;++nt)ot[nt]=st[nt],ut[nt]=[0,0,0,0,nt*et];tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[R,V]],["gradColorStops",0,.5,[it,st]],["gradColorStops",.5,.5,[ot,ut]],["resetMaskImage",1,0,[""]]]}else if(h==e.BLINDS_OUT)tt=[["clipPath",0,1,[N,V,!1]],["resetClipPath",1,0,[""]]];else if(h==e.WEDGE_OUT)tt=[["clipPath",[0,1/3,[A,0,!1],1/3,1/3,[A,1,!1],2/3,1/3,[A,2,!1]]],["resetClipPath",1,0,[""]]];else if(h==e.DISSOLVE_OUT){var yt=50;for(ft=50,lt=[],nt=0;nt<yt*ft;++nt)lt.push(nt);for(u=(yt-1)/yt,dt=[],vt=0,nt=0;nt<yt;++nt){for(pt=0;pt<ft;++pt){rt=parseInt(Math.random()*(lt.length-1));dt[vt]=lt[rt],lt.splice(rt,1),vt++}mt=["clipPath",u,1/yt,[D,dt.slice()],m];tt.push(mt),u-=1/yt}tt.push(["resetClipPath",1,0,[""]])}else h==e.WHEEL_OUT?V==n.CLOCKWISE?tt=[["clipPath",[0,.125,[Y,V,0,!1],.125,.25,[Y,V,1,!1],.375,.25,[Y,V,2,!1],.625,.25,[Y,V,3,!1],.875,.125,[Y,V,4,!1]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_2_SPOKES?tt=[["clipPath",[0,1/3,[Y,V,0,!1],1/3,1/3,[Y,V,1,!1],2/3,1/3,[Y,V,2,!1]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_3_SPOKES?tt=[["clipPath",[0,.2,[Y,V,0,!1],.2,.2,[Y,V,1,!1],.4,.2,[Y,V,2,!1],.6,.2,[Y,V,3,!1],.8,.2,[Y,V,4,!1]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_4_SPOKES?tt=[["clipPath",[0,.5,[Y,V,0,!1],.5,.5,[Y,V,1,!1]]],["resetClipPath",1,0,[""]]]:V==n.ROTATE_8_SPOKES&&(tt=[["clipPath",0,1,[Y,V,0,!1]],["resetClipPath",1,0,[""]]]):h==e.STRIPS_OUT&&t.support.maskImage?tt=[["gradientType",0,1,["linear-gradient"]],["gradientDirection",0,1,[X,V,!1]],["gradColorStops",0,1,[[[0,0,0,0,-10],[0,0,0,1,0]],[[0,0,0,0,100],[0,0,0,1,110]]]],["resetMaskImage",1,0,[""]]]:h==e.CHECKERBOARD_OUT?tt=[["clipPath",0,1,[L,V,!1]],["resetClipPath",1,0,[""]]]:h==e.BASIC_FLOAT_OUT?tt=[["rotate",[.2,.8,[0,-90],1,0,[0,90]]],["position",[0,.2,[H,0,!0],.2,.8,[H,1,!0],1,0,[H,2,!0]]],["opacity",[.2,.8,[1,M],1,0,[1,1e4]]]]:h==e.CREDITS_OUT?tt=[["position",[0,0,[B,0,!0],.35,.65,[B,1,!0],1,0,[B,2,!0]]]]:h==e.BOOMERANG_OUT?tt=[["rotate",[.55,.45,[0,-90],1,0,[0,90]]],["scaleX",[0,.5,[1,.05],.55,.45,[1,20]]],["position",[0,.5,[U,0,!0],.55,.45,[U,1,!0],1,0,[U,2,!0]]],["opacity",[0,1,[1,M],1,0,[1,1e4]]]]:h==e.PINWHEEL_OUT?tt=[["rotate",[0,1,[0,720],1,0,[0,-720]]],["scale",[0,1,[1,M],1,0,[1,1e4]]],["opacity",[0,1,[1,M],1,0,[1,1e4]]]]:h==e.SINK_DOWN?tt=[["opacity",[0,1,[1,M],1,0,[1,1e4]]],["position",[0,.1,[Z,0,!0],.1,.9,[Z,1,!0],1,0,[Z,2,!0]]]]:h==e.CENTER_REVOLVE_OUT?tt=[["position",[0,.6,[z,0,!0],1,0,[z,1,!0]]],["opacity",[.9,.1,[1,M],1,0,[1,1e4]]]]:h>=e.MOTION_PATH_START&&h<=e.MOTION_PATH_END?tt=[["position",0,1,[k,g.path[0],g.path[1]],i,s,b]]:h==e.GESTURE_PROGRESS?tt=[["geProgress",0,1,[0,100]]]:h==e.TIMER_START?tt=[["timerState",0,1,[!1,!0]]]:h==e.MEDIA_PLAY?tt=[["mediaState",0,0,["stopped","playing"]]]:h==e.MEDIA_STOP?tt=[["mediaState",1,0,["playing","stopped"]]]:h==e.MEDIA_SEEK&&(tt=[["mediaSeek",0,1,[0,v?1:0]]]);var kt,Tt=a.showProp?a.showProp():"block",xt=a.hideProp?a.hideProp():"none",Ct=W.length>=2?K+(W.length-2)*j+v:v;if(h>=e.ENTRANCE_START&&h<=e.ENTRANCE_END){if(w(G,a,"display",0,0,[xt,Tt]),$)for(tt.unshift(["opacity",0,0,[0,1],i,s,b]),tt.unshift(["visibility",0,0,[""]]),nt=0,T=W.length;nt<T;++nt)w(G,W[nt],"opacity",0,0,[1,0],i,s,b)}else if(h>=e.EXIT_START&&h<=e.EXIT_END)w(G,a,"display",Ct,0,[Tt,xt]),$&&tt.push(["visibility",1,0,["","hidden"]]);else if(h>=e.MOTION_PATH_START&&h<=e.MOTION_PATH_END&&$)for(nt=0,T=W.length;nt<T;++nt)w(G,W[nt],"position",0,0,[{translateX:0,translateY:0}],m,s,b);for(nt=0,T=W.length;nt<T;++nt)for(kt=0==nt?0:K+j*(nt-1),pt=0,F=tt.length;pt<F;++pt)if(mt=tt[pt],Array.isArray(mt[1])){var St,Et=mt[1],Ot=Et.length;for(St=0;St<Ot;St+=3)w(G,W[nt],mt[0],kt+Et[St]*v,Et[St+1]*v,Et[St+2],mt[2],mt[3],mt[4],mt[5])}else w(G,W[nt],mt[0],kt+mt[1]*v,mt[2]*v,mt[3],mt[4],mt[5],mt[6],mt[7]);if($){var Pt,It,Rt,Nt=!1;if(q&&q.processStyles)for(Pt in q.processStyles)if((Rt=q.processStyles[Pt])&&Rt.length){Nt=!0;break}var At=Ct,Dt=G;if(g.repeat>1&&(At=Ct*g.repeat,(h>=e.MOTION_PATH_START&&h<=e.MOTION_PATH_END||Nt||q&&q.listItems&&q.listItems.length)&&(Dt=new o({startTime:u}),G.startTime(0),Dt.addChild(G))),q){if(q.listItems)for(nt=0,T=q.listItems.length;nt<T;++nt)It=q.listItems[nt].node.style.listStyleType||"",w(Dt,q.listItems[nt],"listStyleType",0,0,[It,"none"]),w(Dt,q.listItems[nt],"listStyleType",At,0,["none",It]);if(q.processStyles)for(Pt in q.processStyles)if((Rt=q.processStyles[Pt])&&Rt.length){for(nt=W[0]==a.shape?1:0,T=W.length;nt<T;++nt)for(pt=Rt.length-1;pt>=0;--pt)if(t.$.contains(Rt[pt].node,W[nt].node)){It=Rt[pt].node.style[Pt],w(Dt,W[nt],Pt,0,0,["",It],m,s,b);break}for(nt=0,T=Rt.length;nt<T;++nt)It=Rt[nt].node.style[Pt],w(Dt,Rt[nt],Pt,0,0,[It,""],m,s,b),w(Dt,Rt[nt],Pt,At,0,["",It],m,s,b)}}if(h>=e.ENTRANCE_START&&h<=e.ENTRANCE_END)for(nt=0,T=W.length;nt<T;++nt)w(G,W[nt],"resetOpacity",Ct,0,[""]);else if(h>=e.EXIT_START&&h<=e.EXIT_END)for(nt=0,T=W.length;nt<T;++nt)w(G,W[nt],"visibility",Ct,0,[""]);else if(h>=e.MOTION_PATH_START&&h<=e.MOTION_PATH_END&&(!g.repeat||g.repeat>0)){var Yt=2;for(g.repeat>1&&g.alternated&&(Yt=g.repeat%2+1),w(Dt,a,"position",At,0,[k,g.path[0],g.path[1],Yt],i,s,b),nt=0,T=W.length;nt<T;++nt)w(Dt,W[nt],"resetTransform",At,0,[""])}}return Dt||G};var V={NONE:0,CUT:1,FADE:2,PUSH:3,WIPE:4,ZOOM:5,COVER:6,UNCOVER:7,REVEAL:8,FLY_THROUGH:9,SPLIT:11,BARS:12,CLOCK:13,RANDOM_BARS:17,SHAPE:18,DISSOLVE:23,FLASH:39,FLIP:45,COMB:46,GALLERY:47,DOORS:48,CUBE:49,BOX:50,SWITCH:51,PAN:52,CONVEYOR:53,ROTATE:54,WINDOW:55,ORBIT:56,FERRIS_WHEEL:57};function W(t,i,s,e,n,r,a,h,o){var u=i.slide,f=i.slideBG;u&&w(t,u,s,n*e,r*e,a,h,o,b),f&&w(t,f,s,n*e,r*e,a,h,o,b)}t.TransitionType=V,t.createTransition=function(i,s,e,r,a,h,o){if(t.AutoTransitionDirection&&o&&s&&e){var f=e.Qs.index,c=s.Qs.index;isNaN(f)||isNaN(c)||c!=f-1||(h=function(t){switch(t){case n.BOTTOM:case n.LEFT:case n.RIGHT:case n.TOP:t=5-t;break;case n.BOTTOM_LEFT:case n.BOTTOM_RIGHT:case n.TOP_LEFT:case n.TOP_RIGHT:t=13-t;break;case n.THROUGH_BLACK_FROM_RIGHT:t=n.THROUGH_BLACK_FROM_LEFT;break;case n.THROUGH_BLACK_FROM_LEFT:t=n.THROUGH_BLACK_FROM_RIGHT;break;case n.SMOOTHLY_FROM_RIGHT:t=n.SMOOTHLY_FROM_LEFT;break;case n.SMOOTHLY_FROM_LEFT:t=n.SMOOTHLY_FROM_RIGHT}return t}(h))}var p=s?s.offsetSize():{width:0,height:0},M=e?e.offsetSize():{width:0,height:0},b=new u({startTime:0}),w={slide:s,slideBG:null},_={slide:null,slideBG:s?s.background:null},y={slide:w.slide,slideBG:_.slideBG},k={slide:e,slideBG:null},T={slide:null,slideBG:e?e.background:null},x={slide:k.slide,slideBG:T.slideBG};if(r==V.CUT)h==n.NONE?W(b,y,"opacity",a,0,.1,[0,1]):h==n.THROUGH_BLACK&&(W(b,y,"opacity",a,0,.5,[0,0]),W(b,y,"opacity",a,.5,.5,[1,1]),W(b,w,"gradOverlayType",a,0,1,["linear-gradient"]),W(b,w,"gradOverlayDirection",a,0,1,["to right"]),W(b,w,"gradOverlayColorStops",a,0,.5,[[[0,0,0,0,0],[0,0,0,0,100]]],m),W(b,w,"gradOverlayColorStops",a,.5,.4,[[[0,0,0,1,0],[0,0,0,1,100]]],m),W(b,w,"gradOverlayColorStops",a,.9,.1,[[[0,0,0,0,0],[0,0,0,0,100]]],m),W(b,w,"resetGradOverlay",a,1,0,[""]));else if(r==V.FADE)h==n.SMOOTHLY?W(b,y,"opacity",a,0,1,[0,1]):h==n.THROUGH_BLACK&&(W(b,y,"opacity",a,0,.5,[0,0]),W(b,y,"opacity",a,.5,.5,[1,1]),W(b,w,"gradOverlayType",a,0,1,["linear-gradient"]),W(b,w,"gradOverlayDirection",a,0,1,["to right"]),W(b,w,"gradOverlayColorStops",a,0,.5,[[[0,0,0,0,0],[0,0,0,0,100]],[[0,0,0,1,0],[0,0,0,1,100]]]),W(b,w,"gradOverlayColorStops",a,.5,.5,[[[0,0,0,1,0],[0,0,0,1,100]],[[0,0,0,0,0],[0,0,0,0,100]]]),W(b,w,"resetGradOverlay",a,1,0,[""]));else if(r==V.PUSH)h==n.BOTTOM?(W(b,y,"translateY",a,0,1,[p.height,0],l),W(b,x,"translateY",a,0,1,[0,-M.height],l)):h==n.LEFT?(W(b,y,"translateX",a,0,1,[-p.width,0],l),W(b,x,"translateX",a,0,1,[0,M.width],l)):h==n.RIGHT?(W(b,y,"translateX",a,0,1,[p.width,0],l),W(b,x,"translateX",a,0,1,[0,-M.width],l)):h==n.TOP&&(W(b,y,"translateY",a,0,1,[-p.height,0],l),W(b,x,"translateY",a,0,1,[0,M.height],l));else if(r==V.WIPE&&t.support.maskImage)W(b,y,"gradientType",a,0,1,["linear-gradient"]),W(b,y,"gradColorStops",a,0,1,[[[0,0,0,1,-30],[0,0,0,0,0]],[[0,0,0,1,100],[0,0,0,0,130]]]),h==n.BOTTOM?W(b,y,"gradientDirection",a,0,1,["to top"]):h==n.LEFT?W(b,y,"gradientDirection",a,0,1,["to right"]):h==n.RIGHT?W(b,y,"gradientDirection",a,0,1,["to left"]):h==n.TOP?W(b,y,"gradientDirection",a,0,1,["to bottom"]):h==n.BOTTOM_LEFT?W(b,y,"gradientDirection",a,0,1,["to top right"]):h==n.BOTTOM_RIGHT?W(b,y,"gradientDirection",a,0,1,["to top left"]):h==n.TOP_LEFT?W(b,y,"gradientDirection",a,0,1,["to bottom right"]):h==n.TOP_RIGHT&&W(b,y,"gradientDirection",a,0,1,["to bottom left"]),W(b,y,"resetMaskImage",a,1,0,[""]);else if(r==V.ZOOM)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,y,"transformOriginX",a,0,0,[.5*p.width],m),W(b,y,"transformOriginY",a,0,0,[.5*p.height],m),W(b,x,"transformOriginX",a,0,0,[.5*M.width],m),W(b,x,"transformOriginY",a,0,0,[.5*M.height],m),h==n.IN?(i.xr(!0),W(b,y,"scale3dX",a,0,1,[.4,1]),W(b,y,"scale3dY",a,0,1,[.4,1]),W(b,x,"opacity",a,0,1,[1,0]),W(b,x,"scale3dX",a,0,1,[1,5]),W(b,x,"scale3dY",a,0,1,[1,5])):h==n.OUT?(i.xr(!0),W(b,y,"scale3dX",a,0,1,[5,1]),W(b,y,"scale3dY",a,0,1,[5,1]),W(b,x,"opacity",a,0,1,[1,0]),W(b,x,"scale3dX",a,0,1,[1,.4]),W(b,x,"scale3dY",a,0,1,[1,.4])):h==n.ZOOM_ROTATE&&(W(b,y,"opacity",a,0,1,[0,1]),W(b,y,"scale3dX",a,0,1,[.1,1],d),W(b,y,"scale3dY",a,0,1,[.1,1],d),W(b,y,"rotate3dZ",a,0,1,[360,0])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.COVER)h==n.BOTTOM?W(b,y,"translateY",a,0,1,[p.height],l,g.Dv):h==n.LEFT?W(b,y,"translateX",a,0,1,[-p.width],l,g.Dv):h==n.RIGHT?W(b,y,"translateX",a,0,1,[p.width],l,g.Dv):h==n.TOP?W(b,y,"translateY",a,0,1,[-p.height],l,g.Dv):h==n.BOTTOM_LEFT?(W(b,y,"translateY",a,0,1,[p.height],l,g.Dv),W(b,y,"translateX",a,0,1,[-p.width],l,g.Dv)):h==n.BOTTOM_RIGHT?(W(b,y,"translateY",a,0,1,[p.height],l,g.Dv),W(b,y,"translateX",a,0,1,[p.width],l,g.Dv)):h==n.TOP_RIGHT?(W(b,y,"translateY",a,0,1,[-p.height],l,g.Dv),W(b,y,"translateX",a,0,1,[p.width],l,g.Dv)):h==n.TOP_LEFT&&(W(b,y,"translateY",a,0,1,[-p.height],l,g.Dv),W(b,y,"translateX",a,0,1,[-p.width],l,g.Dv));else if(r==V.UNCOVER)i.xr(!0),h==n.BOTTOM?W(b,x,"translateY",a,0,1,[0,-M.height],d):h==n.LEFT?W(b,x,"translateX",a,0,1,[0,M.width],d):h==n.RIGHT?W(b,x,"translateX",a,0,1,[0,-M.width],d):h==n.TOP?W(b,x,"translateY",a,0,1,[0,M.height],d):h==n.BOTTOM_LEFT?(W(b,x,"translateY",a,0,1,[0,-M.height],d),W(b,x,"translateX",a,0,1,[0,M.width],d)):h==n.BOTTOM_RIGHT?(W(b,x,"translateY",a,0,1,[0,-M.height],d),W(b,x,"translateX",a,0,1,[0,-M.width],d)):h==n.TOP_RIGHT?(W(b,x,"translateY",a,0,1,[0,M.height],d),W(b,x,"translateX",a,0,1,[0,-M.width],d)):h==n.TOP_LEFT&&(W(b,x,"translateY",a,0,1,[0,M.height],d),W(b,x,"translateX",a,0,1,[0,M.width],d));else if(r==V.REVEAL)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,w,"translate3dX",a,0,1,[.05*p.width,0]),W(b,w,"translate3dZ",a,0,1,[.2*p.width,0]),W(b,k,"translate3dX",a,0,1,[0,-.05*M.width]),W(b,k,"translate3dZ",a,0,1,[0,.2*M.width]),h==n.SMOOTHLY_FROM_RIGHT||h==n.SMOOTHLY_FROM_LEFT?(W(b,_,"opacity",a,0,1,[0,1]),W(b,w,"opacity",a,0,.5,[0,0]),W(b,w,"opacity",a,.5,.5,[0,1]),W(b,k,"opacity",a,0,.5,[1,0]),W(b,k,"opacity",a,.5,.5,[0,0])):h!=n.THROUGH_BLACK_FROM_RIGHT&&h!=n.THROUGH_BLACK_FROM_LEFT||(W(b,w,"opacity",a,0,.5,[0],m),W(b,w,"opacity",a,.5,.5,[1],m),W(b,_,"opacity",a,0,.5,[0],m),W(b,_,"opacity",a,.5,.5,[1],m),W(b,k,"opacity",a,.5,.5,[0],m),W(b,T,"opacity",a,.5,.5,[0],m),W(b,w,"gradOverlayType",a,0,1,["linear-gradient"]),W(b,w,"gradOverlayDirection",a,0,1,["to right"]),h==n.THROUGH_BLACK_FROM_RIGHT?(W(b,w,"gradOverlayColorStops",a,0,.5,[[[0,0,0,0,0],[0,0,0,0,100]],[[0,0,0,1,110],[0,0,0,0,200]]]),W(b,w,"gradOverlayColorStops",a,.5,.5,[[[0,0,0,1,110],[0,0,0,0,200]],[[0,0,0,1,-100],[0,0,0,0,0]]])):h==n.THROUGH_BLACK_FROM_LEFT&&(W(b,w,"gradOverlayColorStops",a,0,.5,[[[0,0,0,0,0],[0,0,0,0,100]],[[0,0,0,0,-100],[0,0,0,1,-10]]]),W(b,w,"gradOverlayColorStops",a,.5,.5,[[[0,0,0,0,-100],[0,0,0,1,-10]],[[0,0,0,0,0],[0,0,0,1,200]]])),W(b,w,"resetGradOverlay",a,1,0,[""]),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""]));else if(r==V.SPLIT&&t.support.maskImage){W(b,y,"gradientType",a,0,1,["linear-gradient"]),h==n.VERTICAL_OUT||h==n.HORIZONTAL_OUT?(W(b,y,"gradColorStops",a,0,.2,[[[0,0,0,0,50],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,50]],[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]]]),W(b,y,"gradColorStops",a,.2,.8,[[[0,0,0,0,40],[0,0,0,1,50],[0,0,0,1,50],[0,0,0,0,60]],[[0,0,0,0,-10],[0,0,0,1,0],[0,0,0,1,100],[0,0,0,0,110]]]),W(b,y,"gradientDirection",a,0,1,[h==n.VERTICAL_OUT?"to right":"to bottom"])):h!=n.VERTICAL_IN&&h!=n.HORIZONTAL_IN||(W(b,y,"gradColorStops",a,0,.8,[[[0,0,0,1,-10],[0,0,0,0,0],[0,0,0,0,100],[0,0,0,1,110]],[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]]]),W(b,y,"gradColorStops",a,.8,.2,[[[0,0,0,1,40],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,60]],[[0,0,0,1,50],[0,0,0,0,50],[0,0,0,0,50],[0,0,0,1,50]]]),W(b,y,"gradientDirection",a,0,1,[h==n.VERTICAL_IN?"to right":"to bottom"])),W(b,y,"resetMaskImage",a,1,0,[""])}else if(r==V.RANDOM_BARS&&t.support.maskImage){W(b,y,"gradientType",a,0,1,["linear-gradient"]);for(var C=[],S=[],E=0;E<200;++E){var O=parseInt(5*Math.random()+1),P=[0,0,0,0,.5*E];C.push(P);var I=E%O?[0,0,0,.2,.5*E]:[0,0,0,1,.5*E];S.push(I)}W(b,y,"gradColorStops",a,0,.5,[C,S],d);var R=[],N=[];for(E=0;E<200;++E)R[E]=S[E],N[E]=[0,0,0,1,.5*E];W(b,y,"gradColorStops",a,.5,.5,[R,N],d),W(b,y,"gradientDirection",a,0,1,[h==n.VERTICAL?"to right":"to bottom"]),W(b,y,"resetMaskImage",a,1,0,[""])}else if(r==V.SHAPE){if(h==n.CIRCLE_OUT&&t.support.maskImage)W(b,y,"gradientType",a,0,1,["radial-gradient"]),W(b,y,"gradientDirection",a,0,1,["circle at center"]),W(b,y,"gradColorStops",a,0,.2,[[[0,0,0,1,0],[0,0,0,0,0]],[[0,0,0,1,0],[0,0,0,0,20]]]),W(b,y,"gradColorStops",a,.2,.8,[[[0,0,0,1,0],[0,0,0,0,20]],[[0,0,0,1,100],[0,0,0,0,120]]]),W(b,y,"resetMaskImage",a,1,0,[""]);else if(h==n.IN){W(b,y,"clipPath",a,0,1,[[[0,0],[0,100],[0,100],[0,0],[100,0],[100,100],[0,100],[0,100],[100,100],[100,0]],[[0,0],[0,100],[50,100],[50,50],[50,50],[50,50],[50,50],[50,100],[100,100],[100,0]]]),W(b,y,"resetClipPath",a,1,0,[""])}else if(h==n.OUT)W(b,y,"clipPath",a,0,1,[[[50,50],[50,50],[50,50],[50,50]],[[0,0],[0,100],[100,100],[100,0]]]),W(b,y,"resetClipPath",a,1,0,[""]);else if(h==n.DIAMOND_OUT)W(b,y,"clipPath",a,0,1,[[[50,50],[50,50],[50,50],[50,50]],[[-50,50],[50,150],[150,50],[50,-50]]]),W(b,y,"resetClipPath",a,1,0,[""]);else if(h==n.PLUS_OUT){W(b,y,"clipPath",a,0,1,[[[0,50],[0,50],[50,50],[50,100],[50,100],[50,50],[100,50],[100,50],[50,50],[50,0],[50,0],[50,50]],[[0,0],[0,100],[0,100],[0,100],[100,100],[100,100],[100,100],[100,0],[100,0],[100,0],[0,0],[0,0]]]),W(b,y,"resetClipPath",a,1,0,[""])}}else if(r==V.CLOCK){if(h==n.CLOCKWISE)W(b,y,"clipPath",a,0,.125,[[[50,0],[50,50],[50,0]],[[50,0],[50,50],[100,0]]]),W(b,y,"clipPath",a,.125,.25,[[[50,0],[50,50],[100,0],[100,0]],[[50,0],[50,50],[100,100],[100,0]]]),W(b,y,"clipPath",a,.375,.25,[[[50,0],[50,50],[100,100],[100,100],[100,0]],[[50,0],[50,50],[0,100],[100,100],[100,0]]]),W(b,y,"clipPath",a,.625,.25,[[[50,0],[50,50],[0,100],[0,100],[100,100],[100,0]],[[50,0],[50,50],[0,0],[0,100],[100,100],[100,0]]]),W(b,y,"clipPath",a,.875,.125,[[[50,0],[50,50],[0,0],[0,0],[0,100],[100,100],[100,0]],[[50,0],[50,50],[50,0],[0,0],[0,100],[100,100],[100,0]]]);else if(h==n.COUNTER_CLOCKWISE)W(b,y,"clipPath",a,0,.125,[[[50,0],[50,50],[50,0]],[[0,0],[50,50],[50,0]]]),W(b,y,"clipPath",a,.125,.25,[[[0,0],[0,0],[50,50],[50,0]],[[0,0],[0,100],[50,50],[50,0]]]),W(b,y,"clipPath",a,.375,.25,[[[0,0],[0,100],[0,100],[50,50],[50,0]],[[0,0],[0,100],[100,100],[50,50],[50,0]]]),W(b,y,"clipPath",a,.625,.25,[[[0,0],[0,100],[100,100],[100,100],[50,50],[50,0]],[[0,0],[0,100],[100,100],[100,0],[50,50],[50,0]]]),W(b,y,"clipPath",a,.875,.125,[[[0,0],[0,100],[100,100],[100,0],[100,0],[50,50],[50,0]],[[0,0],[0,100],[100,100],[100,0],[50,0],[50,50],[50,0]]]);else{var A=p.height/(p.width+p.height),D=(1-A)/2;W(b,y,"clipPath",a,0,D,[[[50,0],[50,50],[50,0]],[[0,0],[50,50],[100,0]]]),W(b,y,"clipPath",a,D,A,[[[0,0],[0,0],[50,50],[100,0],[100,0]],[[0,0],[0,100],[50,50],[100,100],[100,0]]]),W(b,y,"clipPath",a,1-D,D,[[[0,0],[0,100],[0,100],[50,50],[100,100],[100,100],[100,0]],[[0,0],[0,100],[50,100],[50,50],[50,100],[100,100],[100,0]]])}W(b,y,"resetClipPath",a,1,0,[""])}else if(r==V.FLASH)W(b,x,"opacity",a,0,.25,[1],m),W(b,x,"opacity",a,.25,.75,[0],m),W(b,x,"contrast",a,0,.25,[100,0]),W(b,x,"brightness",a,0,.25,[100,300]),W(b,y,"opacity",a,0,.25,[0],m),W(b,y,"opacity",a,.25,.75,[1],m),W(b,y,"contrast",a,.25,.75,[0,100]),W(b,y,"brightness",a,.25,.75,[300,100]);else if(r==V.DISSOLVE){var Y=2.5,X=2.5,L=[];for(E=0;E<40;++E)for(var F=0;F<40;++F){var H=[[E*Y,F*X],[(E+1)*Y+1,F*X],[(E+1)*Y+1,(F+1)*X+1],[E*Y,(F+1)*X+1]];L.push(H)}var U=0,B=[],Z=0;for(E=0;E<40;++E){for(F=0;F<40;++F){O=parseInt(Math.random()*(L.length-1));B[Z]=L[O],L.splice(O,1),Z++}W(b,y,"clipPath",a,U,.025,[B.slice()],m),U+=.025}W(b,y,"resetClipPath",a,1,0,[""])}else if(r==V.BARS){Y=100/7,X=20;var z=[],G=[];if(h==n.HORIZONTAL)for(E=0;E<5;++E){var $=[j=[0,E*X],Q=[100,E*X],[100,E*X],[0,E*X]],K=[j,Q,[100,(E+1)*X],[0,(E+1)*X]];z.push($),G.push(K)}else for(E=0;E<7;++E){var j,Q;$=[j=[E*Y,0],Q=[E*Y,100],[E*Y,100],[E*Y,0]],K=[j,Q,[(E+1)*Y,100],[(E+1)*Y,0]];z.push($),G.push(K)}W(b,y,"clipPath",a,0,1,[z,G,!0]),W(b,y,"resetClipPath",a,1,0,[""])}else if(r==V.COMB&&t.support.clipPath){i.xr(!0),W(b,x,"opacity",a,0,1,[0,0]);var q=[];if(h==n.HORIZONTAL){W(b,x,"cropNodesCount",a,0,1,[10]);var J=[],tt=[];for(E=0;E<10;++E)q.push([[0,E/10*100],[100,E/10*100],[100,(E+1)/10*100],[0,(E+1)/10*100]]),J.push(0),tt.push(E%2?-M.width:M.width);W(b,x,"xCropNodes",a,0,1,[J,tt])}else{W(b,x,"cropNodesCount",a,0,1,[14]);var it=[],st=[];for(E=0;E<14;++E)q.push([[E/14*100,0],[E/14*100,100],[(E+1)/14*100,100],[(E+1)/14*100,0]]),it.push(0),st.push(E%2?-M.height:M.height);W(b,x,"yCropNodes",a,0,1,[it,st])}W(b,x,"polygonsCropNodes",a,0,1,[q]),W(b,x,"resetCropNodes",a,1,0,[h==n.HORIZONTAL?10:14])}else if(r==V.DOORS&&t.support.clipPath){if(i.xr(!0),W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,y,"scale3dX",a,0,1,[.4,1],d),W(b,y,"scale3dY",a,0,1,[.4,1],d),W(b,y,"translate3dZ",a,0,0,[-1],m),W(b,x,"translate3dZ",a,0,0,[1],m),W(b,x,"cropNodesCount",a,0,1,[2]),h==n.VERTICAL){var et=[];for(E=0;E<2;++E)et.push([[E/2*100,0],[(E+1)/2*100,0],[(E+1)/2*100,100],[E/2*100,100]]);W(b,x,"polygonsCropNodes",a,0,1,[et]),W(b,x,"xCropNodes",a,0,1,[[0,0],[-M.width,M.width]],v);var nt=[M.width,M.width],rt=[2,2],at=[M.width+2,M.width+2];W(b,T,"zCropNodes",a,0,1,[[0,0],nt],v),W(b,k,"zCropNodes",a,0,1,[rt,at],v),W(b,x,"transOrgXCropNodes",a,0,1,[[0,M.width],[M.width,0]],v),W(b,x,"transOrgZCropNodes",a,0,1,[[0,0],[-M.width/2,-M.width/2]],v),W(b,x,"rotateYCropNodes",a,0,1,[[0,0],[90,-90]],v)}else{for(et=[],E=0;E<2;++E)et.push([[0,E/2*100],[0,(E+1)/2*100],[100,(E+1)/2*100],[100,E/2*100]]);W(b,x,"polygonsCropNodes",a,0,1,[et]),W(b,x,"yCropNodes",a,0,1,[[0,0],[-M.height,M.height]],v),W(b,x,"zCropNodes",a,0,1,[rt=[0,0],at=[2*M.height,2*M.height]],v),W(b,x,"transOrgYCropNodes",a,0,1,[[0,M.height],[M.height,0]],v),W(b,x,"transOrgZCropNodes",a,0,1,[[0,0],[-M.height,-M.height]],v),W(b,x,"rotateXCropNodes",a,0,1,[[0,0],[90,-90]],v)}var ht=[1,1],ot=[0,0];W(b,x,"opacity",a,.1,0,[0],m),W(b,x,"opacityCropNodes",a,0,.1,[[0,0],[1,1]],v),W(b,x,"opacityCropNodes",a,.1,.9,[ht,ot],d),W(b,x,"resetCropNodes",a,1,0,[2]),W(b,y,"resetTransform3d",a,1,0,[""])}else if(r==V.FLIP)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,y,"transformOriginX",a,0,0,[.5*p.width],m),W(b,y,"transformOriginY",a,0,0,[.5*p.height],m),W(b,y,"opacity",a,0,0,[0],m),W(b,y,"opacity",a,.5,0,[1],m),W(b,x,"transformOriginX",a,0,0,[.5*M.width],m),W(b,x,"transformOriginY",a,0,0,[.5*M.height],m),W(b,x,"opacity",a,0,0,[1],m),W(b,x,"opacity",a,.5,0,[0],m),W(b,T,"translate3dZ",a,0,0,[-.01,-.01]),W(b,_,"translate3dZ",a,0,0,[-.01,-.01]),h==n.RIGHT?(W(b,y,"rotate3dY",a,0,1,[180,360]),W(b,x,"rotate3dY",a,0,1,[0,180])):(W(b,y,"rotate3dY",a,0,1,[-180,-360]),W(b,x,"rotate3dY",a,0,1,[0,-180])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.GALLERY)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,T,"translate3dZ",a,0,0,[-.01,-.01]),W(b,_,"translate3dZ",a,0,0,[-.01,-.01]),h==n.RIGHT?(W(b,x,"translate3dX",a,0,.3,[0,-.03*M.width]),W(b,x,"transformOriginX",a,0,.3,[M.width,1.03*M.width]),W(b,x,"rotate3dY",a,0,.3,[0,-24]),W(b,x,"translate3dX",a,.3,.4,[-.03*M.width,-1.03*M.width]),W(b,x,"transformOriginX",a,.3,.4,[1.03*M.width,2.03*M.width]),W(b,x,"rotate3dY",a,.3,.4,[-24,-24]),W(b,x,"translate3dX",a,.7,.3,[-1.03*M.width,-1.03*M.width]),W(b,x,"transformOriginX",a,.7,.3,[2.03*M.width,2.03*M.width]),W(b,x,"rotate3dY",a,.7,.3,[-24,0]),W(b,y,"translate3dX",a,0,.3,[p.width+1,p.width+1]),W(b,y,"transformOriginX",a,0,.3,[1,1]),W(b,y,"rotate3dY",a,0,.3,[0,-24]),W(b,y,"translate3dX",a,.3,.4,[p.width+1,0]),W(b,y,"transformOriginX",a,.3,.4,[1,p.width]),W(b,y,"rotate3dY",a,.3,.4,[-24,-24]),W(b,y,"translate3dX",a,.7,.3,[0,0]),W(b,y,"transformOriginX",a,.7,.3,[p.width,p.width]),W(b,y,"rotate3dY",a,.7,.3,[-24,0])):(W(b,x,"translate3dX",a,0,.3,[0,.03*M.width]),W(b,x,"transformOriginX",a,0,.3,[0,-.03*M.width]),W(b,x,"rotate3dY",a,0,.3,[0,24]),W(b,x,"translate3dX",a,.3,.4,[.03*M.width,1.03*M.width]),W(b,x,"transformOriginX",a,.3,.4,[-.03*M.width,-1.03*M.width]),W(b,x,"rotate3dY",a,.3,.4,[24,24]),W(b,x,"translate3dX",a,.7,.3,[1.03*M.width,1.03*M.width]),W(b,x,"transformOriginX",a,.7,.3,[-1.03*M.width,-1.03*M.width]),W(b,x,"rotate3dY",a,.7,.3,[24,0]),W(b,y,"translate3dX",a,0,.3,[-p.width-1,-p.width-1]),W(b,y,"transformOriginX",a,0,.3,[p.width+1,p.width+1]),W(b,y,"rotate3dY",a,0,.3,[0,24]),W(b,y,"translate3dX",a,.3,.4,[-p.width-1,0]),W(b,y,"transformOriginX",a,.3,.4,[p.width+1,0]),W(b,y,"rotate3dY",a,.3,.4,[24,24]),W(b,y,"translate3dX",a,.7,.3,[0,0]),W(b,y,"transformOriginX",a,.7,.3,[0,0]),W(b,y,"rotate3dY",a,.7,.3,[24,0])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.SWITCH)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,w,"zIndex",a,0,0,[t.ZIndex.ss],m),W(b,w,"zIndex",a,.5,0,[t.ZIndex.os],m),W(b,_,"zIndex",a,0,0,[t.ZIndex.Ji],m),W(b,_,"zIndex",a,.5,0,[t.ZIndex.es],m),W(b,k,"zIndex",a,0,0,[t.ZIndex.os],m),W(b,k,"zIndex",a,.5,0,[t.ZIndex.ss],m),W(b,T,"zIndex",a,0,0,[t.ZIndex.es],m),W(b,T,"zIndex",a,.5,0,[t.ZIndex.Ji],m),h==n.RIGHT?(W(b,x,"translate3dX",a,0,.5,[0,.525*M.width]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.25*M.width-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.25*M.width]),W(b,x,"transformOriginX",a,0,.5,[0,-.025*M.width]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dY",a,0,.5,[0,-20]),W(b,x,"translate3dX",a,.5,.5,[.525*M.width,0]),W(b,T,"translate3dZ",a,.5,.5,[-.25*M.width-.01,-.25*M.width-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.25*M.width,-.25*M.width]),W(b,x,"transformOriginX",a,.5,.5,[-.025*M.width,.5*M.width]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dY",a,.5,.5,[-20,-20]),W(b,y,"translate3dX",a,0,.5,[0,-.525*p.width]),W(b,_,"translate3dZ",a,0,.5,[-.25*p.width-.01,-.25*p.width-.01]),W(b,w,"translate3dZ",a,0,.5,[-.25*p.width,-.25*p.width]),W(b,y,"transformOriginX",a,0,.5,[p.width,1.025*p.width]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dY",a,0,.5,[0,20]),W(b,y,"translate3dX",a,.5,.5,[-.525*p.width,0]),W(b,_,"translate3dZ",a,.5,.5,[-.25*p.width-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.25*p.width,0]),W(b,y,"transformOriginX",a,.5,.5,[1.025*p.width,0]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dY",a,.5,.5,[20,0])):(W(b,x,"translate3dX",a,0,.5,[0,-.525*M.width]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.25*M.width-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.25*M.width]),W(b,x,"transformOriginX",a,0,.5,[M.width,1.025*M.width]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dY",a,0,.5,[0,20]),W(b,x,"translate3dX",a,.5,.5,[-.525*M.width,0]),W(b,T,"translate3dZ",a,.5,.5,[-.25*M.width-.01,-.25*M.width-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.25*M.width,-.25*M.width]),W(b,x,"transformOriginX",a,.5,.5,[1.025*M.width,.5*M.width]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dY",a,.5,.5,[20,20]),W(b,y,"translate3dX",a,0,.5,[0,.525*p.width]),W(b,_,"translate3dZ",a,0,.5,[-.25*p.width-.01,-.25*p.width-.01]),W(b,w,"translate3dZ",a,0,.5,[-.25*p.width,-.25*p.width]),W(b,y,"transformOriginX",a,0,.5,[0,-.025*p.width]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dY",a,0,.5,[0,-20]),W(b,y,"translate3dX",a,.5,.5,[.525*p.width,0]),W(b,_,"translate3dZ",a,.5,.5,[-.25*p.width-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.25*p.width,0]),W(b,y,"transformOriginX",a,.5,.5,[-.025*p.width,0]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dY",a,.5,.5,[-20,0])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.BOX)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),h==n.RIGHT?(W(b,x,"translate3dX",a,0,.5,[0,-.55*M.width]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.75*M.width-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.width]),W(b,x,"transformOriginX",a,0,.5,[M.width,1.05*M.width]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dY",a,0,.5,[0,45]),W(b,x,"translate3dX",a,.5,.5,[-.55*M.width,-1.1*M.width]),W(b,T,"translate3dZ",a,.5,.5,[-.75*M.width-.01,-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.width,0]),W(b,x,"transformOriginX",a,.5,.5,[1.05*M.width,1.1*M.width]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dY",a,.5,.5,[45,90]),W(b,y,"translate3dX",a,0,.5,[1.1*p.width,.55*p.width]),W(b,_,"translate3dZ",a,0,.5,[-.01,-.75*p.width-.01]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.width]),W(b,y,"transformOriginX",a,0,.5,[-.1*p.width,-.05*p.width]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dY",a,0,.5,[-90,-45]),W(b,y,"translate3dX",a,.5,.5,[.55*p.width,0]),W(b,_,"translate3dZ",a,.5,.5,[-.75*p.width-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.width,0]),W(b,y,"transformOriginX",a,.5,.5,[-.05*p.width,0]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dY",a,.5,.5,[-45,0])):h==n.BOTTOM?(W(b,x,"translate3dY",a,0,.5,[0,-.55*M.height]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.75*M.height-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.height]),W(b,x,"transformOriginY",a,0,.5,[M.height,1.05*M.height]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dX",a,0,.5,[0,-45]),W(b,x,"translate3dY",a,.5,.5,[-.55*M.height,-1.1*M.height]),W(b,T,"translate3dZ",a,.5,.5,[-.75*M.height-.01,-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.height,0]),W(b,x,"transformOriginY",a,.5,.5,[1.05*M.height,1.1*M.height]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dX",a,.5,.5,[-45,-90]),W(b,y,"translate3dY",a,0,.5,[1.1*p.height,.55*p.height]),W(b,_,"translate3dZ",a,0,.5,[-.01,-.75*p.height-.01]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.height]),W(b,y,"transformOriginY",a,0,.5,[-.1*p.height,-.05*p.height]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dX",a,0,.5,[90,45]),W(b,y,"translate3dY",a,.5,.5,[.55*p.height,0]),W(b,_,"translate3dZ",a,.5,.5,[-.75*p.height-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.height,0]),W(b,y,"transformOriginY",a,.5,.5,[-.05*p.height,0]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dX",a,.5,.5,[45,0])):h==n.LEFT?(W(b,x,"translate3dX",a,0,.5,[0,.55*M.width]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.75*M.width-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.width]),W(b,x,"transformOriginX",a,0,.5,[0,-.05*M.width]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dY",a,0,.5,[0,-45]),W(b,x,"translate3dX",a,.5,.5,[.55*M.width,1.1*M.width]),W(b,T,"translate3dZ",a,.5,.5,[-.75*M.width-.01,-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.width,0]),W(b,x,"transformOriginX",a,.5,.5,[-.05*M.width,-.1*M.width]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dY",a,.5,.5,[-45,-90]),W(b,y,"translate3dX",a,0,.5,[-1.1*p.width,-.55*p.width]),W(b,_,"translate3dZ",a,0,.5,[-.01,-.75*p.width-.01]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.width]),W(b,y,"transformOriginX",a,0,.5,[1.1*p.width,1.05*p.width]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dY",a,0,.5,[0,45]),W(b,y,"translate3dX",a,.5,.5,[-.55*p.width,0]),W(b,_,"translate3dZ",a,.5,.5,[-.75*p.width-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.width,0]),W(b,y,"transformOriginX",a,.5,.5,[1.05*p.width,p.width]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dY",a,.5,.5,[45,0])):(W(b,x,"translate3dY",a,0,.5,[0,.55*M.height]),W(b,T,"translate3dZ",a,0,.5,[-.01,-.75*M.height-.01]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.height]),W(b,x,"transformOriginY",a,0,.5,[0,-.05*M.height]),W(b,x,"transformOriginZ",a,0,.5,[0,0]),W(b,x,"rotate3dX",a,0,.5,[0,45]),W(b,x,"translate3dY",a,.5,.5,[.55*M.height,1.1*M.height]),W(b,T,"translate3dZ",a,.5,.5,[-.75*M.height-.01,-.01]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.height,0]),W(b,x,"transformOriginY",a,.5,.5,[-.05*M.height,-.1*M.height]),W(b,x,"transformOriginZ",a,.5,.5,[0,0]),W(b,x,"rotate3dX",a,.5,.5,[45,90]),W(b,y,"translate3dY",a,0,.5,[-1.1*p.height,-.55*p.height]),W(b,_,"translate3dZ",a,0,.5,[-.01,-.75*p.height-.01]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.height]),W(b,y,"transformOriginY",a,0,.5,[1.1*p.height,1.05*p.height]),W(b,y,"transformOriginZ",a,0,.5,[0,0]),W(b,y,"rotate3dX",a,0,.5,[-90,-45]),W(b,y,"translate3dY",a,.5,.5,[-.55*p.height,0]),W(b,_,"translate3dZ",a,.5,.5,[-.75*p.height-.01,-.01]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.height,0]),W(b,y,"transformOriginY",a,.5,.5,[1.05*p.height,p.height]),W(b,y,"transformOriginZ",a,.5,.5,[0,0]),W(b,y,"rotate3dX",a,.5,.5,[-45,0])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.CUBE)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,T,"translate3dZ",a,0,0,[-.01,-.01]),W(b,_,"translate3dZ",a,0,0,[-.01,-.01]),h!=n.RIGHT&&h!=n.LEFT||(i.xr(!0),W(b,_,"zIndex",a,.2,0,[t.ZIndex.es],m),W(b,w,"zIndex",a,.2,0,[t.ZIndex.os],m),W(b,T,"zIndex",a,.2,0,[t.ZIndex.Ji],m),W(b,k,"zIndex",a,.2,0,[t.ZIndex.ss],m)),h==n.RIGHT?(W(b,x,"translate3dX",a,0,1,[0,-M.width]),W(b,x,"transformOriginX",a,0,0,[M.width,M.width]),W(b,x,"rotate3dY",a,0,1,[0,-90]),W(b,y,"translate3dX",a,0,1,[M.width,0]),W(b,y,"transformOriginX",a,0,0,[0,0]),W(b,y,"rotate3dY",a,0,1,[90,0])):h==n.BOTTOM?(W(b,w,"perspectiveOriginY",a,0,1,[M.height,0]),W(b,x,"translate3dY",a,0,1,[0,-M.height]),W(b,x,"transformOriginY",a,0,0,[M.height,M.height]),W(b,x,"rotate3dX",a,0,1,[0,90]),W(b,y,"translate3dY",a,0,1,[M.height,0]),W(b,y,"transformOriginY",a,0,0,[0,0]),W(b,y,"rotate3dX",a,0,1,[-90,0])):h==n.LEFT?(W(b,x,"translate3dX",a,0,1,[0,p.width]),W(b,x,"transformOriginX",a,0,0,[0,0]),W(b,x,"rotate3dY",a,0,1,[0,90]),W(b,y,"translate3dX",a,0,1,[-p.width,0]),W(b,y,"transformOriginX",a,0,0,[p.width,p.width]),W(b,y,"rotate3dY",a,0,1,[-90,0])):(W(b,w,"perspectiveOriginY",a,0,1,[0,p.height]),W(b,x,"translate3dY",a,0,1,[0,p.height]),W(b,x,"transformOriginY",a,0,0,[0,0]),W(b,x,"rotate3dX",a,0,1,[0,-90]),W(b,y,"translate3dY",a,0,1,[-p.height,0]),W(b,y,"transformOriginY",a,0,0,[p.height,p.height]),W(b,y,"rotate3dX",a,0,1,[90,0])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.FLY_THROUGH)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,w,"transformOriginX",a,0,0,[.5*p.width],m),W(b,w,"transformOriginY",a,0,0,[.5*p.height],m),W(b,y,"opacity",a,0,1,[0,1]),W(b,x,"opacity",a,0,1,[1,0]),W(b,k,"transformOriginX",a,0,0,[.5*M.width],m),W(b,k,"transformOriginY",a,0,0,[.5*M.height],m),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h==n.IN?(W(b,k,"scale3dX",a,0,1,[1,4]),W(b,k,"scale3dY",a,0,1,[1,4]),W(b,w,"scale3dX",a,0,1,[.5,1]),W(b,w,"scale3dY",a,0,1,[.5,1])):(W(b,k,"scale3dX",a,0,1,[1,.5]),W(b,k,"scale3dY",a,0,1,[1,.5]),W(b,w,"scale3dX",a,0,1,[4,1]),W(b,w,"scale3dY",a,0,1,[4,1])),W(b,y,"resetTransform3d",a,1,0,[""]),W(b,x,"resetTransform3d",a,1,0,[""]);else if(r==V.PAN)W(b,_,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h==n.RIGHT?(W(b,k,"translate3dX",a,0,1,[0,-M.width]),W(b,w,"translate3dX",a,0,1,[p.width,0])):h==n.BOTTOM?(W(b,k,"translate3dY",a,0,1,[0,-M.height]),W(b,w,"translate3dY",a,0,1,[p.height,0])):h==n.LEFT?(W(b,k,"translate3dX",a,0,1,[0,M.width]),W(b,w,"translate3dX",a,0,1,[-p.width,0])):(W(b,k,"translate3dY",a,0,1,[0,M.height]),W(b,w,"translate3dY",a,0,1,[-p.height,0])),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""]);else if(r==V.CONVEYOR)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,_,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h==n.RIGHT?(W(b,k,"translate3dX",a,0,.3,[0,-.03*M.width]),W(b,k,"transformOriginX",a,0,.3,[M.width,1.03*M.width]),W(b,k,"rotate3dY",a,0,.3,[0,-24]),W(b,k,"translate3dX",a,.3,.4,[-.03*M.width,-1.03*M.width]),W(b,k,"transformOriginX",a,.3,.4,[1.03*M.width,2.03*M.width]),W(b,k,"rotate3dY",a,.3,.4,[-24,-24]),W(b,k,"translate3dX",a,.7,.3,[-1.03*M.width,-1.03*M.width]),W(b,k,"transformOriginX",a,.7,.3,[2.03*M.width,2.03*M.width]),W(b,k,"rotate3dY",a,.7,.3,[-24,0]),W(b,w,"translate3dX",a,0,.3,[p.width+1,p.width+1]),W(b,w,"transformOriginX",a,0,.3,[1,1]),W(b,w,"rotate3dY",a,0,.3,[0,-24]),W(b,w,"translate3dX",a,.3,.4,[p.width+1,0]),W(b,w,"transformOriginX",a,.3,.4,[1,p.width]),W(b,w,"rotate3dY",a,.3,.4,[-24,-24]),W(b,w,"translate3dX",a,.7,.3,[0,0]),W(b,w,"transformOriginX",a,.7,.3,[p.width,p.width]),W(b,w,"rotate3dY",a,.7,.3,[-24,0])):(W(b,k,"translate3dX",a,0,.3,[0,.03*M.width]),W(b,k,"transformOriginX",a,0,.3,[0,-.03*M.width]),W(b,k,"rotate3dY",a,0,.3,[0,24]),W(b,k,"translate3dX",a,.3,.4,[.03*M.width,1.03*M.width]),W(b,k,"transformOriginX",a,.3,.4,[-.03*M.width,-1.03*M.width]),W(b,k,"rotate3dY",a,.3,.4,[24,24]),W(b,k,"translate3dX",a,.7,.3,[1.03*M.width,1.03*M.width]),W(b,k,"transformOriginX",a,.7,.3,[-1.03*M.width,-1.03*M.width]),W(b,k,"rotate3dY",a,.7,.3,[24,0]),W(b,w,"translate3dX",a,0,.3,[-p.width-1,-p.width-1]),W(b,w,"transformOriginX",a,0,.3,[p.width+1,p.width+1]),W(b,w,"rotate3dY",a,0,.3,[0,24]),W(b,w,"translate3dX",a,.3,.4,[-p.width-1,0]),W(b,w,"transformOriginX",a,.3,.4,[p.width+1,0]),W(b,w,"rotate3dY",a,.3,.4,[24,24]),W(b,w,"translate3dX",a,.7,.3,[0,0]),W(b,w,"transformOriginX",a,.7,.3,[0,0]),W(b,w,"rotate3dY",a,.7,.3,[24,0])),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""]);else if(r==V.ROTATE)W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,_,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h!=n.RIGHT&&h!=n.LEFT||(W(b,k,"opacity",a,0,.8,[1,1]),W(b,k,"opacity",a,.8,.2,[0,0]),W(b,w,"opacity",a,0,.2,[0,0]),W(b,w,"opacity",a,.2,.8,[1,1])),h==n.RIGHT?(W(b,k,"translate3dX",a,0,1,[0,-M.width]),W(b,k,"transformOriginX",a,0,0,[M.width],m),W(b,k,"rotate3dY",a,0,1,[0,-90]),W(b,w,"translate3dX",a,0,1,[p.width,0]),W(b,w,"transformOriginX",a,0,0,[0],m),W(b,w,"rotate3dY",a,0,1,[90,0])):h==n.BOTTOM?(W(b,k,"perspectiveOriginY",a,0,1,[M.height,0]),W(b,k,"translate3dY",a,0,1,[0,-M.height]),W(b,k,"transformOriginY",a,0,0,[M.height],m),W(b,k,"rotate3dX",a,0,1,[0,90]),W(b,w,"perspectiveOriginY",a,0,1,[y.height,0]),W(b,w,"translate3dY",a,0,1,[p.height,0]),W(b,w,"transformOriginY",a,0,0,[0],m),W(b,w,"rotate3dX",a,0,1,[-90,0])):h==n.LEFT?(W(b,k,"translate3dX",a,0,1,[0,M.width]),W(b,k,"transformOriginX",a,0,0,[0],m),W(b,k,"rotate3dY",a,0,1,[0,90]),W(b,w,"translate3dX",a,0,1,[-p.width,0]),W(b,w,"transformOriginX",a,0,0,[p.width],m),W(b,w,"rotate3dY",a,0,1,[-90,0])):(W(b,k,"perspectiveOriginY",a,0,1,[0,M.height]),W(b,k,"translate3dY",a,0,1,[0,M.height]),W(b,k,"transformOriginY",a,0,0,[0],m),W(b,k,"rotate3dX",a,0,1,[0,-90]),W(b,w,"perspectiveOriginY",a,0,1,[0,M.height]),W(b,w,"translate3dY",a,0,1,[-p.height,0]),W(b,w,"transformOriginY",a,0,0,[p.height],m),W(b,w,"rotate3dX",a,0,1,[90,0])),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""]);else if(r==V.WINDOW){if(W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,w,"scale3dX",a,0,1,[.4,1],d),W(b,w,"scale3dY",a,0,1,[.4,1],d),W(b,k,"zIndex",a,0,0,[t.ZIndex.os+1],m),W(b,y,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"opacity",a,0,0,[0],m),W(b,k,"cropNodesCount",a,0,1,[2]),h==n.VERTICAL){for(et=[],E=0;E<2;++E)et.push([[E/2*100,0],[(E+1)/2*100,0],[(E+1)/2*100,100],[E/2*100,100]]);W(b,k,"polygonsCropNodes",a,0,1,[et]),W(b,k,"xCropNodes",a,0,1,[[0,0],[-M.width,M.width]],v),W(b,k,"zCropNodes",a,0,1,[rt=[0,0],at=[M.width,M.width]],v),W(b,k,"transOrgXCropNodes",a,0,1,[[0,M.width],[M.width,0]],v),W(b,k,"transOrgZCropNodes",a,0,1,[[0,0],[-M.width/2,-M.width/2]],v),W(b,k,"rotateYCropNodes",a,0,1,[[0,0],[90,-90]],v)}else{for(et=[],E=0;E<2;++E)et.push([[0,E/2*100],[0,(E+1)/2*100],[100,(E+1)/2*100],[100,E/2*100]]);W(b,k,"polygonsCropNodes",a,0,1,[et]),W(b,k,"yCropNodes",a,0,1,[[0,0],[-M.height,M.height]],v),W(b,k,"zCropNodes",a,0,1,[rt=[0,0],at=[2*M.height,2*M.height]],v),W(b,k,"transOrgYCropNodes",a,0,1,[[0,M.height],[M.height,0]],v),W(b,k,"transOrgZCropNodes",a,0,1,[[0,0],[-M.height,-M.height]],v),W(b,k,"rotateXCropNodes",a,0,1,[[0,0],[90,-90]],v)}W(b,k,"opacityCropNodes",a,0,1,[ht=[1,1],ot=[0,0]]),W(b,k,"resetCropNodes",a,1,0,[2]),W(b,w,"resetTransform3d",a,1,0,[""])}else r==V.ORBIT?(W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,_,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h==n.RIGHT?(W(b,k,"translate3dX",a,0,.5,[0,-.55*M.width]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.width]),W(b,k,"transformOriginX",a,0,.5,[M.width,1.05*M.width]),W(b,k,"transformOriginZ",a,0,.5,[0,0]),W(b,k,"rotate3dY",a,0,.5,[0,45]),W(b,k,"translate3dX",a,.5,.5,[-.55*M.width,-1.1*M.width]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.width,0]),W(b,k,"transformOriginX",a,.5,.5,[1.05*M.width,1.1*M.width]),W(b,k,"transformOriginZ",a,.5,.5,[0,0]),W(b,k,"rotate3dY",a,.5,.5,[45,90]),W(b,w,"translate3dX",a,0,.5,[1.1*p.width,.55*p.width]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.width]),W(b,w,"transformOriginX",a,0,.5,[-.1*p.width,-.05*p.width]),W(b,w,"transformOriginZ",a,0,.5,[0,0]),W(b,w,"rotate3dY",a,0,.5,[-90,-45]),W(b,w,"translate3dX",a,.5,.5,[.55*p.width,0]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.width,0]),W(b,w,"transformOriginX",a,.5,.5,[-.05*p.width,0]),W(b,w,"transformOriginZ",a,.5,.5,[0,0]),W(b,w,"rotate3dY",a,.5,.5,[-45,0])):h==n.BOTTOM?(W(b,k,"translate3dY",a,0,.5,[0,-.55*M.height]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.height]),W(b,k,"transformOriginY",a,0,.5,[M.height,1.05*M.height]),W(b,k,"transformOriginZ",a,0,.5,[0,0]),W(b,k,"rotate3dX",a,0,.5,[0,-45]),W(b,k,"translate3dY",a,.5,.5,[-.55*M.height,-1.1*M.height]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.height,0]),W(b,k,"transformOriginY",a,.5,.5,[1.05*M.height,1.1*M.height]),W(b,k,"transformOriginZ",a,.5,.5,[0,0]),W(b,k,"rotate3dX",a,.5,.5,[-45,-90]),W(b,w,"translate3dY",a,0,.5,[1.1*p.height,.55*p.height]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.height]),W(b,w,"transformOriginY",a,0,.5,[-.1*p.height,-.05*p.height]),W(b,w,"transformOriginZ",a,0,.5,[0,0]),W(b,w,"rotate3dX",a,0,.5,[90,45]),W(b,w,"translate3dY",a,.5,.5,[.55*p.height,0]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.height,0]),W(b,w,"transformOriginY",a,.5,.5,[-.05*p.height,0]),W(b,w,"transformOriginZ",a,.5,.5,[0,0]),W(b,w,"rotate3dX",a,.5,.5,[45,0])):h==n.LEFT?(W(b,k,"translate3dX",a,0,.5,[0,.55*M.width]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.width]),W(b,k,"transformOriginX",a,0,.5,[0,-.05*M.width]),W(b,k,"transformOriginZ",a,0,.5,[0,0]),W(b,k,"rotate3dY",a,0,.5,[0,-45]),W(b,k,"translate3dX",a,.5,.5,[.55*M.width,1.1*M.width]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.width,0]),W(b,k,"transformOriginX",a,.5,.5,[-.05*M.width,-.1*M.width]),W(b,k,"transformOriginZ",a,.5,.5,[0,0]),W(b,k,"rotate3dY",a,.5,.5,[-45,-90]),W(b,w,"translate3dX",a,0,.5,[-1.1*p.width,-.55*p.width]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.width]),W(b,w,"transformOriginX",a,0,.5,[1.1*p.width,1.05*p.width]),W(b,w,"transformOriginZ",a,0,.5,[0,0]),W(b,w,"rotate3dY",a,0,.5,[0,45]),W(b,w,"translate3dX",a,.5,.5,[-.55*p.width,0]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.width,0]),W(b,w,"transformOriginX",a,.5,.5,[1.05*p.width,p.width]),W(b,w,"transformOriginZ",a,.5,.5,[0,0]),W(b,w,"rotate3dY",a,.5,.5,[45,0])):(W(b,k,"translate3dY",a,0,.5,[0,.55*M.height]),W(b,k,"translate3dZ",a,0,.5,[0,-.75*M.height]),W(b,k,"transformOriginY",a,0,.5,[0,-.05*M.height]),W(b,k,"transformOriginZ",a,0,.5,[0,0]),W(b,k,"rotate3dX",a,0,.5,[0,45]),W(b,k,"translate3dY",a,.5,.5,[.55*M.height,1.1*M.height]),W(b,k,"translate3dZ",a,.5,.5,[-.75*M.height,0]),W(b,k,"transformOriginY",a,.5,.5,[-.05*M.height,-.1*M.height]),W(b,k,"transformOriginZ",a,.5,.5,[0,0]),W(b,k,"rotate3dX",a,.5,.5,[45,90]),W(b,w,"translate3dY",a,0,.5,[-1.1*p.height,-.55*p.height]),W(b,w,"translate3dZ",a,0,.5,[0,-.75*p.height]),W(b,w,"transformOriginY",a,0,.5,[1.1*p.height,1.05*p.height]),W(b,w,"transformOriginZ",a,0,.5,[0,0]),W(b,w,"rotate3dX",a,0,.5,[-90,-45]),W(b,w,"translate3dY",a,.5,.5,[-.55*p.height,0]),W(b,w,"translate3dZ",a,.5,.5,[-.75*p.height,0]),W(b,w,"transformOriginY",a,.5,.5,[1.05*p.height,p.height]),W(b,w,"transformOriginZ",a,.5,.5,[0,0]),W(b,w,"rotate3dX",a,.5,.5,[-45,0])),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""])):r==V.FERRIS_WHEEL&&(W(b,w,"perspective",a,0,0,[p.width],m),W(b,w,"perspectiveOriginX",a,0,0,[.5*p.width],m),W(b,w,"perspectiveOriginY",a,0,0,[.5*p.height],m),W(b,_,"opacity",a,0,1,[0,1]),W(b,T,"opacity",a,0,1,[1,0]),W(b,k,"zIndex",a,0,0,[t.ZIndex.ns+1],m),h==n.RIGHT?(W(b,k,"translate3dY",a,0,1,[0,M.height]),W(b,k,"translate3dZ",a,0,1,[0,.5*M.height]),W(b,k,"transformOriginX",a,0,0,[0],m),W(b,k,"transformOriginY",a,0,0,[0],m),W(b,k,"transformOriginZ",a,0,0,[0],m),W(b,k,"rotate3dX",a,0,1,[0,45]),W(b,k,"rotate3dZ",a,0,1,[0,10]),W(b,w,"translate3dX",a,0,1,[-p.width,0]),W(b,w,"translate3dY",a,0,1,[-2*p.height,0]),W(b,w,"translate3dZ",a,0,1,[-p.width,0]),W(b,w,"transformOriginX",a,0,0,[0],m),W(b,w,"transformOriginY",a,0,0,[0],m),W(b,w,"transformOriginZ",a,0,0,[0],m),W(b,w,"rotate3dX",a,0,1,[-45,0]),W(b,w,"rotate3dZ",a,0,1,[-40,0])):(W(b,k,"translate3dY",a,0,1,[0,M.height]),W(b,k,"translate3dZ",a,0,1,[0,.5*M.height]),W(b,k,"transformOriginX",a,0,0,[M.width],m),W(b,k,"transformOriginY",a,0,0,[0],m),W(b,k,"transformOriginZ",a,0,0,[0],m),W(b,k,"rotate3dX",a,0,1,[0,45]),W(b,k,"rotate3dZ",a,0,1,[0,-10]),W(b,w,"translate3dX",a,0,1,[p.width,0]),W(b,w,"translate3dY",a,0,1,[-2*p.height,0]),W(b,w,"translate3dZ",a,0,1,[-p.width,0]),W(b,w,"transformOriginX",a,0,1,[p.width,0]),W(b,w,"transformOriginY",a,0,0,[0],m),W(b,w,"transformOriginZ",a,0,0,[0],m),W(b,w,"rotate3dX",a,0,1,[-45,0]),W(b,w,"rotate3dZ",a,0,1,[40,0])),W(b,w,"resetTransform3d",a,1,0,[""]),W(b,k,"resetTransform3d",a,1,0,[""]));return b}}(AtomiAP),function(t){"use strict";t.formatMSString=function(t){var i,s,e;return s=((e=Math.round(t/1e3))-(i=e%60))/60,i=i>=10?""+i:"0"+i,(s=s>=10?""+s:"0"+s)+":"+i}}(window.AtomiAP=window.AtomiAP||{}),function(t,i){"use strict";var s=t.DisplayMode,e=t.createClass({$init:function(e){this.Lp={responsive:!1,slideWidth:500,slideHeight:800},this.Xn=!1,this.Fp=[],this.Hp=[],this.ir=1,this.mu=null,this.ye=null,this.Up=null,this.Bp=null,this.Zp=null,this.zp=null,this.Gp=null,this.Vp=null,this.Wp="",this.$p=i('\t\t\t\t<div class="ap-content-area">\t\t\t\t\t<div class="ap-stage" style="z-index: 1">\t\t\t\t\t\t<div class="ap-canvas" style="overflow:hidden; z-index: 1">\t\t\t\t\t\t\t<div class="ap-slides" style="transform-origin: 0% 0%; width: 100%; height: 100%; position: absolute; top: 0; left: 0"></div>\t\t\t\t\t\t\t<div class="ap-feedback-slides" style="transform-origin: 0% 0%; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none;"></div>\t\t\t\t\t\t</div>\t\t\t\t\t</div>\t\t\t\t</div>')[0],this.loadingUi=new CanvasLoader(this.$p,e);var n=this;this.Kp={mode:s.AUTOFIT,prevMode:s.AUTOFIT,register:function(){var e=this;this.jp=function(){var r=t.fullscreen.fullscreenElement();if(r){var a=i(n.Wp)[0];r==a&&(i(a).addClass("ap-fullscreen"),requestAnimationFrame(function(){n.layout()}))}else i(n.Wp).removeClass("ap-fullscreen"),e.mode==s.FULLSCREEN?e.changeMode(e.prevMode):n.layout()},t.fullscreen.addEventListener("fullscreenchange",this.jp,!1)},unregister:function(){t.fullscreen.removeEventListener("fullscreenchange",this.jp,!1)},changeMode:function(e){if(this.mode!=e){var r=n.stage()[0];r&&(r.scrollLeft=r.scrollTop=0),this.prevMode=this.mode,this.mode=e,i(n).trigger("ui:ap-displayModeChanged",[e]),this.mode==s.FULLSCREEN?t.fullscreen.requestFullscreen(i(n.Wp)[0]):t.fullscreen.fullscreenElement()?t.fullscreen.exitFullscreen():n.layout()}}}},container:function(){return i(this.Wp)},stage:function(){return i(".ap-stage",i(this.Wp))},canvas:function(){return i(".ap-canvas",i(this.Wp))},contentArea:function(){return i(".ap-content-area",i(this.Wp))},slides:function(){return i(".ap-slides",this.Wp)},feedbackSlides:function(){return i(".ap-feedback-slides",this.Wp)},sidebar:function(){return i(".ap-side-bar",i(this.Wp))},sidebarExpand:function(){return i(".ap-side-bar-expand",i(this.Wp))},companyLogo:function(){return i(".ap-company-logo",i(this.Wp))},presenterInfo:function(){return i(".ap-presenter-info",i(this.Wp))},tocContainer:function(){return i(".ap-toc-container",i(this.Wp))},resourcesContainer:function(){return i(".ap-resources-container",i(this.Wp))},topbar:function(){return i(".ap-toolbar-top",i(this.Wp))},bottombar:function(){return i(".ap-toolbar-bottom",i(this.Wp))},toolbar:function(){return this.bottombar()},showToc:function(t){this.Up&&(t?(this.Up.show(),this.Up.scrollToCurrentEntry()):this.Up.hide(),2==this.mu.TocStyle&&this.layout())},tocVisible:function(){return!(!this.Up||!this.Up.isShow())},showSidebar:function(t){t?(this.sidebar().show(),this.sidebarExpand().attr("sidebar-show",!0),this.tocVisible()&&this.Up.scrollToCurrentEntry()):(this.sidebar().hide(),this.sidebarExpand().attr("sidebar-show",!1)),this.layout(),t&&"false"===this.sidebarExpand().attr("data-value")&&this.Kr(!0,!0)},sidebarVisible:function(){var t=this.sidebar();return t&&"none"!=t.css("display")},showResources:function(t){this.Vp&&(t?this.Vp.show():this.Vp.hide())},resourcesVisible:function(){return this.Vp&&this.Vp.isShow()},autoHidePlayerBar:function(t){0==arguments.length?(this.Zp&&this.Zp.autoHide(),this.Bp&&this.Bp.autoHide()):(this.Zp&&this.Zp.isAutoHide()||this.Bp&&this.Bp.isAutoHide())!=t&&(this.Zp&&this.Zp.autoHide(t),this.Bp&&this.Bp.autoHide(t),this.layout())},showTopbar:function(t){this.Zp&&(t?this.Zp.show():this.Zp.hide(),this.layout())},topbarVisible:function(){return this.Zp&&this.Zp.visible()},showBottombar:function(t){this.Bp&&(t?this.Bp.show():this.Bp.hide(),this.layout())},bottombarVisible:function(){return this.Bp&&this.Bp.visible()},showToolbar:function(t){this.showBottombar(t)},toolbarVisible:function(){return this.bottombarVisible()},isAutoFit:function(){return this.Kp.mode==s.AUTOFIT||this.Kp.mode==s.FULLSCREEN},getMaxContentSize:function(){var t,s,e,n,r,a,h=this.mu.SideBarPos,o=this.topbar(),u=this.bottombar(),f=this.sidebar(),c=i(this.Wp),l=parseInt(this.contentArea().css("padding-left"));return t=0==f.length||"none"==f.css("display")||0==h||f[0].hasAttribute("collapse")?0:f[0].offsetWidth,s=0==o.length||"none"==o.css("display")?0:o.outerHeight(!0),e=0==u.length||"none"==u.css("display")?0:u.outerHeight(!0),a=c.width()-t-(t>0?3:2)*l,r=c.height()-s-e-2*l,n=a,void 0!==this.Qp&&a>this.Qp&&(a=this.Qp),{width:a,height:r,maxContainerWidth:n}},setMaxContentWidth:function(t){this.Qp=t},setSlideSize:function(i,s){this.Lp.slideWidth===i&&this.Lp.slideHeight===s||(t.logDebug("Change slide size from "+this.Lp.slideWidth+"x"+this.Lp.slideHeight+" to "+i+"x"+s),this.Lp.slideWidth=i,this.Lp.slideHeight=s,this.layout())},getContainerFitRect:function(){var t,s,e,n,r,a,h,o,u=this.mu.SideBarPos,f=this.topbar(),c=this.bottombar(),l=this.sidebar(),d=this.contentArea(),v=i(this.Wp),p=d.width(),m=d.height(),g=d.position().top,M=parseInt(d.css("padding-left")),b=0;return 0!=l.length&&"none"!=l.css("display")&&0!=u||(p-=M),0==f.length||"none"==f.css("display")?(n=e=r=0,m-=M,b=g+=M):(n=f.outerWidth(!0),e=f.outerHeight(!0),r=g-(f.position().top+e)),0==c.length||"none"==c.css("display")?(h=a=o=0,m-=M):(h=c.outerWidth(!0),a=c.outerHeight(!0),o=c.position().top-(g+m)),t=Math.max(p,n,h),s=m+e+r+a+o,{x:(v.width()-t)/2,y:b,width:t,height:s}},layout:function(){if(this.Xn){var t,e,n,r,a,h,o,u,f,c=this.Lp.slideWidth,l=this.Lp.slideHeight,d=this.mu.SideBarPos,v=this.getMaxContentSize(),p=this.stage(),m=this.canvas(),g=this.contentArea(),M=this.sidebar(),b=this.sidebarExpand(),w=this.topbar(),_=this.bottombar(),y=i(this.Wp),k=parseInt(this.contentArea().css("padding-left")),T=this.Kp.mode,x=0==this.mu.PlayerSize;if(this.Lp.responsive){if("100%"===l)t=v.width,e=v.height,p.css("overflow-y","hidden"),p.width(t).height(e),m.width("100%").height("100%"),m.css("transform",""),m.css("transform-origin",""),this.ir=1;else{t=v.width,e=Math.min(v.height,l);var C=!1;if(T==s.FULLSCREEN&&v.maxContainerWidth>t){var S=v.maxContainerWidth/c;l*S>v.height&&(S=v.height/l),S>1&&(C=!0,e=l*S,t=c*S,p.css("overflow-x","hidden"),p.css("overflow-y","hidden"),p.width(t).height(e),m.width(c).height(l),m.css("transform","scale("+S+","+S+")"),m.css("transform-origin","0% 0%"),this.ir=S)}C||(l!=e?p.css("overflow-y","auto"):p.css("overflow-y","hidden"),p.width(t).height(e),m.width("100%").height(l),m.css("transform",""),m.css("transform-origin",""),this.ir=1)}m.trigger("ap-scaleChanged")}else(e=l*(S=v.width/c))>v.height&&(S=v.height/l),this.isAutoFit()||S<1?(t=c*S,e=l*S):(t=c,e=l,S=1),p.width(t).height(e),this.isAutoFit()?(p.css("overflow-x","hidden"),p.css("overflow-y","hidden"),m.width(c).height(l),m.css("transform","scale("+S+","+S+")"),m.css("transform-origin","0% 0%"),this.ir=S):(c!=t?p.css("overflow-x","auto"):p.css("overflow-x","hidden"),l!=e?p.css("overflow-y","auto"):p.css("overflow-y","hidden"),m.width(c).height(l),m.css("transform",""),m.css("transform-origin",""),this.ir=1),m.trigger("ap-scaleChanged");n=0==M.length||"none"==M.css("display")||0==d||M[0].hasAttribute("collapse")?0:M[0].offsetWidth,r=0==w.length||"none"==w.css("display")?0:w.outerHeight(!0),a=0==_.length||"none"==_.css("display")?0:_.outerHeight(!0),h=Math.min(y.width(),t+n+(n>0?3:2)*k),u=e+2*k,o=(y.width()-h)/2,f=r+(y.height()-u-r-a)/2,x?g.css({left:o,top:f}).outerWidth(h).outerHeight(u):g.css({left:o,top:r}).outerWidth(h).outerHeight(u),1==d?(p.css({left:n+(n>0?2:1)*k,top:k}),M.css({left:k,top:k,height:e})):2==d?(p.css({left:k,top:k}),M.css({right:k,top:k,height:e})):(p.css({left:k,top:k}),M.hide(),this.sidebarExpand().attr("sidebar-show",!1)),x?(w.css({left:0,top:0}).outerWidth(y.width()),_.css({left:0,top:y.height()-a}).outerWidth(y.width())):(w.css({left:o,top:0}).outerWidth(h),_.css({left:o,top:r+u}).outerWidth(h));var E=this.mu.SideBarWidth;h=t+E+(E>0?3:2)*k,E<=2*(t-E-16)||h<y.width()?"none"!=b.css("display")&&this.Kr(!0):E>2*t?this.Kr(!1):this.Kr(),this.qp=this.getContainerFitRect(),this.Gp&&this.Gp.layout(this.qp),i(this).trigger("ui:ap-layout")}},create:function(s,e,n,r,a,o){var u=o.playerLayouts.topbar||"",f=o.playerLayouts.bottombar||"",l=o.playerLayouts.sidebar||"";if(this.destroy(),this.Xn=!0,this.Wp=s,this.mu=a,this.Lp=o,this.Lp.responsive&&(t.fullscreen.fullscreenEnabled()||(this.mu.ShowDisplayModeBtn=!1)),this.Af=o.playerIcons,this.Jp=o.playbackRates?o.playbackRates:[.5,1,1.5,2],this.Fp=[],this.Hp=[],this.sm=n||[],this.ye=new t.Locale(this.Lp.language,this.Lp.textDir),this.Zp=""!=u?new t.RLToolbar(this,u,!0):null,this.Bp=""!=f?new t.RLToolbar(this,f,!1):null,this.contentArea().append(l),0==a.TocStyle||0==this.tocContainer().length?(this.Up=null,this.tocContainer().remove()):(1==a.TocStyle&&(this.tocContainer().appendTo(this.container()),this.tocContainer().hide()),this.Up=new t.RLToc(this,e,this.sm),this.em=function(){this.tocContainer()&&1==a.TocStyle&&this.tocVisible()&&this.Up&&this.nm()},i(this).on("ui:ap-layout",this.em)),!r||r.length<=0||0==this.resourcesContainer().length?(this.Vp=null,this.resourcesContainer().remove()):(this.resourcesContainer().appendTo(this.container()),this.resourcesContainer().hide(),this.Vp=new h(this,r),this.rm=function(){var t=this.resourcesContainer();if(t&&this.Vp){var e=i(".ap-tool-resources",s);e&&this.am(e,t,400,300)}},i(this).on("ui:ap-layout",this.rm)),!1===a.ShowTopBar&&this.showTopbar(!1),a.AutoHidePlayerBar){if(!this.hm){this.hm=new c(this.container()),this.hm.appendTo(this.container());var d=this;this.hm.onClick(function(){var t=d.Zp&&d.Zp.isAutoHide()||d.Bp&&d.Bp.isAutoHide();d.autoHidePlayerBar(!t)})}this.autoHidePlayerBar()}if(this.om(),this.um(this.Wp),this.Kp.register(),this.Kp.changeMode(this.mu.DisplayMode),t.browser.macOS){var v=this;setTimeout(function(){v.layout()},100)}else this.layout()},om:function(){var t=this,e=this.ye,n=i(this.Wp),r=i(this);r.on("ap-pause",function(s,r){i(".ap-tool-play",n).each(function(t){var s=i(this);"button"==s.attr("role")?s.attr("aria-pressed",r?"true":"false").attr("data-value",r).attr("title",e.text(r?"PlayPrez":"PausePrez")):"menuitemcheckbox"==s.attr("role")&&s.attr("aria-checked",r?"true":"false").attr("data-value",r)}),t.showPrezStateFeedback(r)}),r.on("ap-speed",function(t,s){i(".ap-tool-speed",n).each(function(t){i(this).attr("data-value",s),s=s<.75?.5:s<1.25?1:s<1.75?1.5:2,i(this).attr("data-value-range",s)})}),r.on("ap-mute",function(t,s){i(".ap-tool-sound",n).each(function(t){var n=i(this);"button"==n.attr("role")?i(this).attr("aria-pressed",s?"true":"false").attr("data-value",s).attr("title",e.text(s?"Unmute":"Mute")):"menuitemcheckbox"==n.attr("role")&&n.attr("aria-checked",s?"true":"false").attr("data-value",s)})}),r.on("ap-cc",function(t,s){i(".ap-tool-cc",n).each(function(t){var n=i(this);"button"==n.attr("role")?i(this).attr("aria-pressed",s?"true":"false").attr("data-value",s).attr("title",e.text(s?"HideCC":"ShowCC")):"menuitemcheckbox"==n.attr("role")&&n.attr("aria-checked",s?"true":"false").attr("data-value",s)})}),r.on("ap-sidebar",function(t,s){i(".ap-tool-sidebar",n).each(function(t){var n=i(this);"button"==n.attr("role")?i(this).attr("aria-pressed",s?"true":"false").attr("data-value",s).attr("title",e.text(s?"HideSidebar":"ShowSidebar")):"menuitemcheckbox"==n.attr("role")&&n.attr("aria-checked",s?"true":"false").attr("data-value",s)})}),r.on("ui:ap-displayModeChanged",function(r,a){var h,o=t.Lp.responsive;o?h=a==s.FULLSCREEN?"ExitFullScreen":"FullScreen":a==s.ACTUAL_SIZE?h="ActualSize":a==s.AUTOFIT?h="AutoFit":a==s.FULLSCREEN&&(h="ExitFullScreen"),i(".ap-tool-displaymode",n).each(function(){i(this).attr("data-value",o?2:a).attr("title",e.text(h))})}),r.on("ap-progress",function(s,r,a,h){var o,u,f=t.Fp;for(o=0,u=f.length;o<u;++o)f[o].setValue(h);void 0!==t.fm&&Math.round(h/1e3)==Math.round(this.fm/1e3)||(t.fm=h,i(".ap-tool-position",n).html(e.number(AtomiAP.formatMSString(h)))),t.cm!==r&&(t.cm=r,i(".ap-tool-slide-index",n).html(e.number(r+1)))}),r.on("ap-volume",function(i,s){var e,n,r=t.Hp;for(e=0,n=r.length;e<n;++e)r[e].setValue(s)}),r.on("ui:ap-pause",function(){t.lm=!0}),r.on("ap-toc",function(s,r){i(".ap-tool-toc",n).each(function(s){var n=i(this);t.Up&&("button"==n.attr("role")?n.attr("aria-pressed",r?"true":"false").attr("data-value",r).attr("title",e.text(r?"HideToc":"ShowToc")):"menuitemcheckbox"==n.attr("role")&&n.attr("aria-checked",r?"true":"false").attr("data-value",r))})}),r.on("ap-tool-multiple-language-cc",function(t,s){this.Lp.defautlLanguageCCIndex=s,i(".ap-tool-cc",n).each(function(t){var n=i(this);s=-1!=s,"button"==n.attr("role")?i(this).attr("aria-pressed",s?"true":"false").attr("data-value",s).attr("title",e.text("ClosedCaption")):"menuitemcheckbox"==n.attr("role")&&n.attr("aria-checked",s?"true":"false").attr("data-value",s)})}),"Demo"==t.Lp.playMode&&t.stage().on("click",function(){r.trigger("ui:ap-pause")})},dm:function(){"Demo"==this.Lp.playMode&&this.stage().off("click"),i(this).off("ap-pause").off("ap-speed").off("ap-mute").off("ap-cc").off("ui:ap-displayModeChanged").off("ap-progress").off("ap-volume").off("ui:ap-layout")},pm:function(t){var s=this;return function(){i(s).trigger("ui:ap-speed",[t])}},mm:function(t,i){if(void 0!==i){var s="png";return 0==i?s="png":1==i?s="jpg":2==i?s="gif":3==i&&(s="svg"),this.Lp.resourceLocation+this.Lp.fileNamePrefix+"res_"+t+"."+s}return this.Lp.resourceLocation+this.Lp.fileNamePrefix+"res_"+t},um:function(t){var e,n,r,a=this,h=this.Lp.responsive,o=i(t),f=this.ye,c=a.Jp?a.Jp:[];for(this.gm(t),i(".ap-tool-restart",o).on("click",function(){i(a).trigger("ui:ap-restart")}),i(".ap-tool-first",o).on("click",function(){i(a).trigger("ui:ap-first")}),i(".ap-tool-prev",o).on("click",function(){i(a).trigger("ui:ap-previous")}),i(".ap-tool-play",o).on("click",function(){i(a).trigger("ui:ap-pause")}),i(".ap-tool-next",o).on("click",function(){i(a).trigger("ui:ap-next")}),i(".ap-tool-last",o).on("click",function(){i(a).trigger("ui:ap-last")}),e=0,n=c.length;e<n;++e)r=c[e],i("."+a.Mm(r),o).on("click",a.pm(r));i(".ap-tool-sound",o).on("click",function(){i(a).trigger("ui:ap-sound")}),i('.ap-tool-cc[role="button"]',o).on("click",function(){return a.Lp.multipleLanCCs&&a.Lp.multipleLanCCs.length>1?(a.bm(this),!1):(i(a).trigger("ui:ap-cc"),!0)}),i('.ap-tool-cc[role="menuitemcheckbox"]',o).on("click",function(){return i(a).trigger("ui:ap-cc"),!0}),i(".ap-tool-about",o).on("click",function(){i(a).trigger("ui:ap-about")}),i(".ap-tool-actualsize",o).on("click",function(){a.Kp.changeMode(s.ACTUAL_SIZE)}),i(".ap-tool-autofit",o).on("click",function(){a.Kp.changeMode(s.AUTOFIT)}),i(".ap-tool-fullscreen",o).on("click",function(){a.Kp.changeMode(s.FULLSCREEN)}),i(".ap-tool-toc",o).on("click",function(){return i(a).trigger("ui:ap-toc"),1!=a.mu.TocStyle}),i(".ap-tool-sidebar",o).on("click",function(){i(a).trigger("ui:ap-sidebar")}),i('.ap-tool-speed[role="button"]',o).on("click",function(){return a.wm(this),!1}),i('.ap-tool-displaymode[role="button"]',o).on("click",function(){return a.Lp.responsive?(a.Kp.mode==s.FULLSCREEN?a.Kp.changeMode(s.ACTUAL_SIZE):a.Kp.changeMode(s.FULLSCREEN),!0):(a._m(this),!1)}),i('.ap-tool-setting[role="button"]',o).on("click",function(){return a.ym(this),!1}),i(".ap-tool-resources",o).on("click",function(){return i(a).trigger("ui:ap-resources"),a.am(this,a.resourcesContainer(),400,300),!1}),i(".ap-tool-exit",o).on("click",function(){i(a).trigger("ui:ap-exit")}),i(".ap-side-bar-expand",o).on("click",function(){"true"===a.sidebarExpand().attr("data-value")?a.Kr(!1,!0):a.Kr(!0,!0)});var l=a.Lp.totalDuration;i(".ap-tool-progress",o).each(function(s){var e={followMouse:!1,max:l,markers:a.sm,slideCount:a.Lp.slideCount,thumbnailPrefixPath:a.Lp.resourceLocation+a.Lp.fileNamePrefix},n=new u(i(this),a.mu,e);n.km=t,n.ye=a.ye,a.Fp.push(n),i(n).on("valueChanged",function(t,s){i(a).trigger("ui:ap-progress",[s])})}),i(".ap-tool-volume",o).each(function(s){var e=new u(i(this),i.extend({},a.mu,{Navigation:!0}),{followMouse:!0});e.km=t,e.ye=a.ye,a.Hp.push(e),i(e).on("valueChanging",function(t,s){i(a).trigger("ui:ap-volume",[s])}).on("valueChanged",function(t,s){i(a).trigger("ui:ap-volume",[s])})}),i(".ap-tool-duration",o).html(f.number(AtomiAP.formatMSString(l))),i(".ap-tool-slide-count",o).html(f.number(a.Lp.slideCount)),i(".ap-tool-projectname",o).html(a.Lp.projectName),i(".ap-tool-projectdesc",o).html(a.Lp.description),i(".ap-tool-displaymode",o).attr("data-value",h?"2":a.Kp.mode),i(".ap-presenter-info",o).each(function(t){if(a.mu.ShowAuthorInfo||a.mu.ShowAuthorImage||a.mu.ShowCompanyLogo||a.mu.ShowAuthorVideo){if(a.mu.ShowCompanyLogo&&a.Lp.companyLogo){var s=a.mm(a.Lp.companyLogo[0],a.Lp.companyLogo[1]);i(this).append('<div class="ap-company-logo"><img src="'+s+'" /></div>')}if(a.mu.ShowAuthorImage&&a.Lp.authorImage){s=a.mm(a.Lp.authorImage[0],a.Lp.authorImage[1]);i(this).append('<div class="ap-presenter-image"><img src="'+s+'" /></div>')}a.mu.ShowAuthorVideo&&i(this).append('<div class="ap-presenter-video"></div>'),a.mu.ShowAuthorInfo&&(a.Lp.authorName&&i(this).append('<div class="ap-presenter-name">'+a.Lp.authorName+"</div>"),a.Lp.authorDesc&&i(this).append('<div class="ap-presenter-desc">'+a.Lp.authorDesc+"</div>")),i(this).show()}else i(this).attr("hidden-by-default",!0),i(this).hide()}),i(".ap-tool-multiple-language-cc",o).on("click",function(){var t=i(this).attr("ap-multiple-language-index");t=parseInt(t),i(a).trigger("ui:ap-multiple-language-cc",t)})},gm:function(t){var s,e,n,r,a=i(t),h=this.ye,o=this.mu,u=[["ap-tool-restart","Restart",o.ShowRestartBtn,["restart"]],["ap-tool-first","FirstSlide",o.ShowFirstBtn,["first"]],["ap-tool-prev","PreviousSlide",o.ShowPrevBtn,["prev"]],["ap-tool-play","PlayPrez",o.ShowPlayBtn,["play","pause"]],["ap-tool-next","NextSlide",o.ShowNextBtn,["next"]],["ap-tool-last","LastSlide",o.ShowLastBtn,["last"]],["ap-tool-speed","PlaybackSpeed",o.ShowSpeedBtn,["speed05","speed10","speed15","speed20"]],["ap-tool-sound","Mute",o.ShowVolumeBtn,["mute","sound"]],["ap-tool-about","About",o.ShowInfoBtn,["about"]],["ap-tool-cc","HideCC",o.ShowCCBtn,["cchide","ccshow"]],["ap-tool-toc","HideToc",o.ShowTocBtn,["tochide","tocshow"]],["ap-tool-sidebar","HideSidebar",o.ShowSidebarBtn,["sidebarhide","sidebarshow"]],["ap-tool-displaymode","AutoFit",o.ShowDisplayModeBtn,["actualsize","autofit","fullscreen"]],["ap-tool-setting","Settings",!0,["setting"]],["ap-tool-progress","PrezProgress",o.ShowProgressBar,[]],["ap-tool-volume","AdjustVolume",o.ShowVolumeBar,[]],["ap-tool-position","",o.ShowPosition,[]],["ap-tool-duration","",o.ShowPrezLen,[]],["ap-tool-resources","Resources",o.ShowResourcesBtn,["resources"]],["ap-tool-slide-index","",!0,[]],["ap-tool-slide-count","",!0,[]],["ap-tool-exit","Exit",o.ShowExitBtn,["exit"]]];for(s=0,e=u.length;s<e;++s)if((r=i("."+(n=u[s])[0],a)).hasClass("ap-button")||r.hasClass("ap-label")||r.hasClass("ap-slider")){if(r.attr("title",h.text(n[1])).attr("data-enabled",n[2]),n[2]||r.hide(),r.hasClass("ap-button")&&this.Af){for(var f='<div class="ap-button-icon">',c=n[3],l=0;l<c.length;++l)f+=this.Af[c[l]];f+="</div>",f+='<div class="ap-button-label">'+h.text(n[1])+"</div>",r.append(f)}(r.hasClass("ap-tool-play")||r.hasClass("ap-tool-cc")||r.hasClass("ap-tool-sidebar")||r.hasClass("ap-tool-sound")||r.hasClass("ap-tool-toc"))&&r.attr("aria-pressed","false"),r.hasClass("ap-button")&&r.attr("role","button"),r.hasClass("ap-label")&&r.attr("role","presentation"),r.hasClass("ap-slider")&&r.attr("role","slider")}this.mu.ShowPosition&&this.mu.ShowPrezLen?i(".ap-time-slash",i(t)).html("/"):i(".ap-time-slash",i(t)).html("")},Tm:function(t){var s,e=i(t),n=this.Jp?this.Jp:[];for(i(".ap-tool-restart",e).off("click"),i(".ap-tool-first",e).off("click"),i(".ap-tool-prev",e).off("click"),i(".ap-tool-play",e).off("click"),i(".ap-tool-next",e).off("click"),i(".ap-tool-last",e).off("click"),i(".ap-tool-speed",e).off("click"),r=0,a=n.length;r<a;++r)s=n[r],i("."+this.Mm(s),e).off("click");i(".ap-tool-sound",e).off("click"),i(".ap-tool-about",e).off("click"),i(".ap-tool-cc",e).off("click"),i(".ap-tool-toc",e).off("click"),i(".ap-tool-sidebar",e).off("click"),i(".ap-tool-displaymode",e).off("click"),i(".ap-tool-actualsize",e).off("click"),i(".ap-tool-autofit",e).off("click"),i(".ap-tool-fullscreen",e).off("click"),i(".ap-tool-setting",e).off("click"),i(".ap-tool-resources",e).off("click"),i(".ap-tool-exit",e).off("click"),i(".ap-side-bar-expand",e).off("click"),i(".ap-tool-multiple-language-cc",e).off("click");var r,a,h,o=this.Fp;for(this.Fp=[],r=0,a=o.length;r<a;++r)(h=o[r]).km==t?(i(h).off("valueChanged"),h.destroy()):this.Fp.push(h);for(o=this.Hp,this.Hp=[],r=0,a=o.length;r<a;++r)(h=o[r]).km==t?(i(h).off("valueChanged").off("valueChanging"),h.destroy()):this.Hp.push(h)},destroy:function(){this.Kp.unregister(),this.dm(),this.Tm(this.Wp),this.Up&&(this.Up.destroy(),this.Up=null),this.Bp&&(this.Bp.destroy(),this.Bp=null),this.Zp&&(this.Zp.destroy(),this.Zp=null),this.Vp&&(this.Vp.destroy(),this.Vp=null),this.xm(),this.contentArea().remove(),this.Xn=!1},appendTo:function(t){i(t).append(this.$p),this.Xn||i(this.$p).outerWidth(i(t).width()).outerHeight(i(t).height())},showMsg:function(i,s,e,n,r){void 0===r&&(r=[]),void 0===s&&(s=!0);var a=this.ye;this.Gp&&this.Gp.close();var h=this,o=new t.RLPopup(i,h);o.setOptions({isShowClose:s,overlay:!0,navItems:r,textDirection:h.Lp.textDir,closeText:a.text("Close")}),o.onShow(function(){h.Gp=o,e&&e()}),o.onClose(function(){h.Gp=void 0,n&&n()}),o.show(this.Wp,this.qp)},showAbout:function(t,i,s){var e=[],n="",r=this.ye;""!=t.Homepage&&(n='<a class="ap-about-homepage" href="'+t.Homepage+'" target="_blank" tabindex="-1">'+t.Homepage+"</a>");var a='<div style="line-height:1.8;padding:5px;"> \t\t\t\t\t<b>'+t.Name+"</b> \t\t\t\t\t<br />"+r.text("Author")+": <b>"+t.Author+"</b> \t\t\t\t\t<br />"+r.text("Copyright")+": <b>"+t.Copyright+"</b> \t\t\t\t\t<br />"+r.text("Homepage")+": <b>"+n+'</b> \t\t\t\t\t</div> \t\t\t\t\t<div style="line-height:1.8;border-top:solid 1px #DDDDDD;padding:5px;"> \t\t\t\t\t'+r.text("BuiltWith")+' \t\t\t\t\t<a class="ap-about-app-home" dir="ltr" href="'+t.AppHomePage+'" title="'+t.AppHomePage+'" target="_blank" tabindex = "-1">'+t.Generator+"</a> \t\t\t\t\t<br />Atomi Systems, Inc. \t\t\t\t</div>";""!=t.Homepage&&e.push(".ap-about-homepage"),e.push(".ap-about-app-home"),this.showMsg(a,!0,i,s,e)},showUnmuteHintMsg:function(){var t,s;s=this.stage(),i(this.Wp),s.append('<div id="UnmuteHint" class="ap-unmute-hint"><span>'+this.ye.text("ClickToUnmute")+"</span></div>"),t=i(".ap-unmute-hint",s),setTimeout(function(){t.fadeOut(400,function(){t.remove()})},3e3)},hideUnmuteHintMsg:function(){var t=i(".ap-unmute-hint",this.stage());t&&t.remove()},showPrezStateFeedback:function(t){var s,e=this.stage(),n=this;if(n.lm){n.lm=!1,n.Cm&&clearTimeout(n.Cm),n.Sm&&clearTimeout(n.Sm),i(".ap-prez-state-btn",e).remove(),s='<div class="ap-prez-state-btn" data-animating="false">'+n.Af[t?"pause":"play"]+"</div>",e.append(s);var r=i(".ap-prez-state-btn",e);if(0!=r.length){var a=r.get(0);n.Cm=setTimeout(function(){a.setAttribute("data-animating","true"),n.Cm=void 0},100),n.Sm=setTimeout(function(){a.parentNode.removeChild(a),n.Sm=void 0},2e3)}}},am:function(t,s,e,n){var r,a,h,o,u,f,c,l,d=this.container(),v=this.qp,p=i(t);r=Math.min(e,d.width()),a=Math.min(n,d.height()),h=p.offset().left+p.width()/2-r/2;for(var m=0;m<=1&&(u=p.offset().top-(d.offset().top+a),f=d.offset().top+d.height()-(p.offset().top+p.height()+a),c=d.offset().left+d.width()-(p.offset().left+p.width()+r),l=p.offset().left-(d.offset().left+r),u<0&&f<0&&c<0&&l<0);++m)a=d.offset().top+d.height()-(p.offset().top+p.height());u>=0?(o=p.offset().top-d.offset().top-a,h=Math.max(0,Math.min(h,v.x+v.width-r))):f>=0?(o=p.offset().top+p.height()-d.offset().top,h=Math.max(0,Math.min(h,v.x+v.width-r))):c>=0?(o=0,h=p.offset().left+p.width()+d.offset().left):(o=0,h=p.offset().left-d.offset().left-r),s.css({left:h,top:o,position:"absolute"}).outerWidth(r,!0).outerHeight(a,!0)},nm:function(){if(this.Up&&this.tocVisible()){var t,s,e,n,r=this.container(),a=i(".ap-toc-content-wrapper",r),h=i(".ap-toc-container",r),o=i(".ap-toc-header",r),u=i(".ap-toc",r),f=this.topbar(),c=this.bottombar(),l=0==f.length||"none"==f.css("display")?0:f.outerHeight(!0),d=0==c.length||"none"==c.css("display")?0:c.outerHeight(!0),v=this.qp,p=h.outerHeight(!0)-h.innerHeight()+o.outerHeight(!0)-o.innerHeight(),m=h.outerWidth(!0)-h.innerWidth();t=Math.min(400,v.width-m)+m,s=Math.min(u.outerHeight(!0)+o.outerHeight(!0),v.height-d-l)+p,e=v.x+v.width-t,n=v.y+v.height-d-s,h.css({left:e,top:n,position:"absolute"}).outerWidth(t,!0).outerHeight(s,!0),a.css({"min-height":"0"}),s-p<=o.outerHeight(!0)?(a.css({overflow:""}),h.css({overflow:"auto"})):(a.css({overflow:"auto"}),h.css({overflow:""}))}},Em:function(t,s,e){var n=this.container(),r=this;t.appendTo(n),t.attachEventHanlders(function(t){r.um(t)}),t.show(s,e,function(){t.detachEventHandlers(function(t){r.Tm(t)}),i(r).off("ui:ap-layout.hideMenu")}),i(r).on("ui:ap-layout.hideMenu",function(){t.destroy()})},Om:function(t){return t.toFixed(1)+"x"},Mm:function(t){return"ap-tool-speed_"+t.toFixed(1).replace(".","_")},wm:function(t){var s=this.Pm("mnuspeed");if(s)s.destroy();else{var e,n,r,a=i(t).attr("data-value"),h=this.Jp?this.Jp:[];for(a=void 0==a?1:parseFloat(a),s=new o("mnuspeed",this.Af,this),e=0,n=h.length;e<n;++e)r=parseFloat(h[e]),s.addRadioMenuItem(this.Mm(r),this.Om(r),a==r);this.Em(s,t,!0)}},_m:function(i){var e="mnudisplaymode",n=this.Pm(e);if(n)n.destroy();else{var r=this.ye;(n=new o(e,this.Af,this)).addRadioMenuItem("ap-tool-actualsize",r.text("ActualSize"),this.Kp.mode==s.ACTUAL_SIZE),n.addRadioMenuItem("ap-tool-autofit",r.text("AutoFit"),this.Kp.mode==s.AUTOFIT),t.fullscreen.fullscreenEnabled()&&n.addRadioMenuItem("ap-tool-fullscreen",r.text("FullScreen"),this.Kp.mode==s.FULLSCREEN),this.Em(n,i,!0)}},bm:function(t){var s="mnumultiplelanguagecc",e=this.Pm(s);if(e)e.destroy();else{var n=this.ye,r=this.Lp,a=r.multipleLanCCs,h=r.defautlLanguageCCIndex,u=(e=new o(s,this.Af,this)).addRadioMenuItem("ap-tool-multiple-language-cc",n.text("HideCC"),-1==h);i(u).attr("ap-multiple-language-index",-1);for(var f=0,c=a.length;f<c;++f)u=e.addRadioMenuItem("ap-tool-multiple-language-cc",a[f],h==f),i(u).attr("ap-multiple-language-index",f);this.Em(e,t,!0)}},Im:function(t){return this.Rm?this.Rm.push(t):this.Rm=[t],this},Pm:function(t){if(this.Rm)for(var i=0;i<this.Rm.length;++i)if(this.Rm[i].id()==t)return this.Rm[i];return null},Nm:function(t){if(this.Rm){var i=this.Rm.indexOf(t);i>=0&&this.Rm.splice(i,1)}return this},xm:function(){if(this.Rm)for(;this.Rm.length;)this.Rm[this.Rm.length-1].destroy();return this},ym:function(e){var n="mnusetting",r=this.Pm(n);if(r)r.destroy();else{var a=this.container(),h=this.ye,u=this,f=this.Lp.responsive;r=new o(n,u.Af,this);var c=[];u.Lp.multipleLanCCs&&u.Lp.multipleLanCCs.length>1&&(c=u.Lp.multipleLanCCs.slice());var l=i(e).closest(".ap-toolbar,.ap-sidebar",a);i(".ap-button",l).each(function(){var e=i(this);"false"!=e.attr("data-enabled")&&"none"==e.css("display")&&["ap-tool-first","ap-tool-prev","ap-tool-next","ap-tool-last","ap-tool-about","ap-tool-restart","ap-tool-exit","ap-tool-play","ap-tool-cc","ap-tool-sound","ap-tool-speed","ap-tool-displaymode"].forEach(function(n){if(e.hasClass(n)){var a="";switch(n){case"ap-tool-first":case"ap-tool-prev":case"ap-tool-next":case"ap-tool-last":case"ap-tool-about":case"ap-tool-restart":case"ap-tool-exit":r.addMenuItem(n,e.attr("title"));break;case"ap-tool-play":case"ap-tool-sound":a||("ap-tool-play"==n?a="PausePrez":"ap-tool-sound"==n&&(a="Mute")),r.addToggleMenuItem(n,h.text(a),"true"==e.attr("aria-pressed"));break;case"ap-tool-cc":if(a||(a="ClosedCaption"),c.length){var l=u.Lp.defautlLanguageCCIndex,d=new o("mnumultiplelanguagecc",u.Af);d.addMenuHeaderItem(h.text("ClosedCaption"));var v=d.addRadioMenuItem("ap-tool-multiple-language-cc",h.text("HideCC"),-1==l);i(v).attr("ap-multiple-language-index",-1);for(var p=0,m=c.length;p<m;++p)v=d.addRadioMenuItem("ap-tool-multiple-language-cc",c[p],l==p),i(v).attr("ap-multiple-language-index",p);r.addSubMenuItem(n,e.attr("title"),d)}else r.addToggleMenuItem(n,h.text(a),"true"==e.attr("aria-pressed"));break;case"ap-tool-speed":var g,M,b=e.attr("data-value"),w=u.Jp?u.Jp:[];b=void 0==b?1:parseFloat(b);var _=new o("mnuspeed",u.Af);for(_.addMenuHeaderItem(h.text("PlaybackSpeed")),p=0,g=w.length;p<g;++p)M=parseFloat(w[p]),_.addRadioMenuItem(u.Mm(M),u.Om(M),b==M);r.addSubMenuItem(n,e.attr("title"),_);break;case"ap-tool-displaymode":if(f)t.fullscreen.fullscreenEnabled()&&(u.Kp.mode==s.FULLSCREEN?r.addToggleMenuItem("ap-tool-autofit",h.text("FullScreen"),!0):r.addToggleMenuItem("ap-tool-fullscreen",h.text("FullScreen"),!1));else{var y=new o("mnudisplaymode",u.Af);y.addMenuHeaderItem(h.text("DisplayMode")),y.addRadioMenuItem("ap-tool-actualsize",h.text("ActualSize"),u.Kp.mode==s.ACTUAL_SIZE),y.addRadioMenuItem("ap-tool-autofit",h.text("AutoFit"),u.Kp.mode==s.AUTOFIT),t.fullscreen.fullscreenEnabled()&&y.addRadioMenuItem("ap-tool-fullscreen",h.text("FullScreen"),u.Kp.mode==s.FULLSCREEN),r.addSubMenuItem(n,e.attr("title"),y)}}}})}),this.Em(r,e,!0)}},Kr:function(t,s){if(!0!==this.Am){var e=this.sidebar(),n=this.presenterInfo(),r=this.tocContainer(),a=this.sidebarExpand();if(0==arguments.length)return 1==this.mu.SideBarPos?(h="none"!==e[0].style.display&&"true"!==e.attr("collapse")?e[0].offsetLeft+e[0].clientWidth:0,e[0].parentNode&&h>e[0].parentNode.clientWidth&&(h=e[0].parentNode.clientWidth)):""!==(h="none"!==e[0].style.display&&"true"!==e.attr("collapse")?e[0].offsetLeft:"")&&h<0&&(h=0),void a.css({left:h});if(t){var h;if(n.attr("hidden-by-default")||n.show(),2==this.mu.TocStyle&&("false"!==r.attr("toc-show")&&r.show(),r.attr("sidebar-expand",!0)),e.attr("position",1==this.mu.SideBarPos?"left":"right"),s)e.attr("collapse",!1),1==this.mu.SideBarPos?(h=e[0].offsetLeft+e[0].clientWidth,e[0].parentNode&&h>e[0].parentNode.clientWidth&&(h=e[0].parentNode.clientWidth)):(h=e[0].offsetLeft)<0&&(h=0),a.css({left:h});else e.removeAttr("collapse");a.attr({"icon-type":1==this.mu.SideBarPos?"left":"right",title:this.ye.text("HideSidebar"),"data-value":"true"}),s||a.hide(),i(this).trigger("ui:ap-expand-sidebar",[!0]),this.Am||(this.Am=!0)}else n.hide(),2==this.mu.TocStyle&&(r.hide(),r.attr("sidebar-expand",!1)),a.show(),e.attr({collapse:!0,position:1==this.mu.SideBarPos?"left":"right"}),a.css("left",""),a.attr({"icon-type":1==this.mu.SideBarPos?"right":"left",title:this.ye.text("ShowSidebar"),"data-value":"false"}),this.Am||(this.Am=!0);1==this.Am&&(this.layout(),this.Am=void 0)}},updateTocEntries:function(t,s,e,n){if(this.Xn){this.sm=s||[],this.Up&&this.Up.updateEntries(t,s);for(var r=0,a=this.Fp.length;r<a;++r)this.Fp[r].markers(s,e,n);var h=i(this.Wp);i(".ap-tool-duration",h).html(this.ye.number(AtomiAP.formatMSString(n))),i(".ap-tool-slide-count",h).html(this.ye.number(e))}}}),n=t.createClass({$init:function(t,i){this.Lp={isShowClose:!0,overlay:!0,navItems:[],textDirection:"ltr",closeText:"Close",showCallback:void 0,closeCallback:void 0},this.Dm=null,this.Ym=null,this.Xm=null,this.Lm=null,this.Fm=t,this.Hm=i,this.Hm&&this.Hm.Im(this)},Um:function(){var t='\t\t\t\t\t<div class="ap-popup"> \t\t\t\t\t\t<div class="ap-popup-content"> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="ap-popup-footer"> \t\t\t\t\t\t\t<a href="#" class="ap-popup-close" role="button" title="'+this.Lp.closeText+'"> \t\t\t\t\t\t\t</a> \t\t\t\t\t\t</div> \t\t\t\t\t</div>';this.Dm=i(t),this.Ym=i(".ap-popup-close",this.Dm),this.Xm=i(".ap-popup-content",this.Dm),"rtl"==this.Lp.textDirection&&(i(".ap-popup-content",this.Dm).attr("dir",this.Lp.textDirection).css("text-align","right"),i(".ap-popup-footer",this.Dm).attr("dir",this.Lp.textDirection).css("text-align","left")),this.Xm.append(this.Fm);for(var s=0;s<this.Lp.navItems.length;++s)this.Lp.navItems[s]=i(this.Lp.navItems[s],this.Dm)},Bm:function(){0!=this.Lp.overlay&&(this.Lm=i('<div class="ap-popup-hide ap-popup-overlay"></div>'))},setOptions:function(t){i.extend(this.Lp,t)},getDom:function(){return this.Dm},show:function(t,s){this.Wp=t,this.Zm=i(this.Wp).attr("tabindex"),i(this.Wp).attr("tabindex",1),s||(s={x:0,y:0,width:i(t).outerWidth(),height:i(t).outerHeight()}),this.Um(),this.Bm(),i(this.Wp).append(this.Dm),0==this.Lp.isShowClose&&i(".ap-popup-footer",this.Dm).hide(),this.Dm.attr("role","dialog"),this.showOverlay(),this.layout(s),this.Lp.showCallback&&this.Lp.showCallback();var e=this,n=this.Lp.navItems,r=-1;this.Lp.isShowClose&&(this.Ym.click(function(){e.close()}),n.push(this.Ym),r=n.length-1,this.Ym.attr("tabindex","0"),this.Ym.focus()),i(this.Wp).bind("mousedown.popup",function(){return i(this).focus(),!1}).bind("keydown.popup",function(t){switch(t.which){case 9:if(n.length>0){t.stopPropagation(),t.preventDefault();var i=!1;if(r>=0&&r<=n.length-1){var s=n[r];0==s.attr("tabindex")&&(i=!0,s.attr("tabindex","-1"),s.blur())}r<0||r>n.length-1?r=0:(r+=i?t.shiftKey?-1:1:0)<0?r=n.length-1:r>n.length-1&&(r=0);var a=n[r];a.attr("tabindex","0"),a.focus()}break;case 27:t.stopPropagation(),t.preventDefault(),e.close();break;case 13:case 32:for(var h=0;h<n.length;++h)if(t.target==n[h][0]){t.stopPropagation();break}}}).focusin(function(){if(!(n.length<=0)){(r<0||r>n.length-1)&&(r=0);var t=n[r];t.get(0)!==document.activeElement&&(t.attr("tabindex","0"),t.focus())}});for(var a=0;a<n.length;++a)n[a].focus(function(t){for(var s=0;s<n.length;++s)if(this==n[s]){r=s;break}i(this).attr("tabindex","0")}).blur(function(t){i(this).attr("tabindex","-1")});i(this.Wp).focus()},showOverlay:function(){0!=this.Lp.overlay&&(i(this.Wp).append(this.Lm),this.Lm.hide().addClass("ap-popup-overlayBG").fadeIn(200))},hideOverlay:function(){if(0!=this.Lp.overlay){var t=this;this.Lm.fadeOut(200,function(){t.Lm.removeClass("ap-popup-overlayBG"),t.Lm.addClass("ap-popup-hide"),t.Lm.remove()})}},close:function(){this.Dm.remove(),this.hideOverlay(),this.Lp.closeCallback&&this.Lp.closeCallback(),i(this.Wp).unbind("keydown.popup").unbind("focus.popup").unbind("mousedown.popup"),i(this.Wp).attr("tabindex",this.Zm),this.Hm&&this.Hm.Nm(this)},onClose:function(t){this.Lp.closeCallback=t},onShow:function(t){this.Lp.showCallback=t},layout:function(t){this.Lm.width(t.width).height(t.height),this.Lm.css({left:t.x,top:t.y});var s=Math.min(.5*t.width,370),e=i(".ap-popup-content",this.Dm).innerHeight()+i(".ap-popup-footer",this.Dm).innerHeight()+10;this.Dm.css({width:s,height:e});var n=t.x+(t.width-s)/2-20,r=t.y+(t.height-e)/2-20;this.Dm.css({left:n,top:r})},destroy:function(){this.close()}}),r=t.createClass({$init:function(t){this.Xa="",this.zm=-1,this.Gm=0,this.Vm="",this.Wm="",this.rp=0,this.$m=!0,this.up=t,this.Km=[],this.jm=!1,this.Ns=!1,this.Dm=null},Qm:function(){var t,i,s=this.Km,e=!0;for(this.Ns=!1,t=0,i=s.length;t<i&&(s[t].jm||(e=!1),s[t].Ns&&(this.Ns=!0),!this.jm&&e||!this.Ns);++t);e&&(this.jm=!0),this.Dm&&this.Dm.attr("data-status",this.Ns?"current":this.jm?"completed":"incomplete"),this.up&&this.up.Qm()},qm:function(){this.Dm&&this.Dm.attr("data-status",this.Ns?"current":this.jm?"completed":"incomplete"),this.up&&this.up.Qm()},setCompleted:function(t){this.jm=t,this.qm()},setCurrent:function(t){this.Ns=t,this.qm()},getChildIndex:function(t){var i,s,e=this.Km;for(i=0,s=e.length;i<s;++i)if(e[i].Xa==t.Xa)return i;return-1},hasChildren:function(){return this.Km.length>0},isLinked:function(){return this.zm>=0},getExpandIconDom:function(){return i(".ap-toc-entry-icon",this.Dm)}});var a=t.createClass({$init:function(t,s,e){this.Hm=t,this.sm=e||[],this.Jm=[],this.ig=null,this.sg=null,this.eg=t.tocContainer(),this.Wp=t.Wp,this.ye=t.ye;var n='<div class="ap-toc-header"> \t\t\t\t\t\t\t<div class="ap-toc-header-text">'+this.ye.text("Toc")+'</div> \t\t\t\t\t\t\t<div class="ap-button ap-tool-toc-close"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="ap-toc-content-wrapper" style="overflow:auto;"> \t\t\t\t\t\t\t<table class="ap-toc" role="treegrid" aria-readonly="true" tabindex="0" border="0"></table> \t\t\t\t\t\t</div>';this.eg.append(n),this.ng=i(".ap-toc",this.eg),this.rg=i(".ap-tool-toc-close",this.eg),this.rg.append(t.Af.closepane),this.rg.attr("role","button").attr("title",this.ye.text("Close")),this.rg.on("click",function(){t.tocVisible()&&i(t).trigger("ui:ap-toc")}),2==t.mu.TocStyle&&(this.rg.hide(),this.eg.attr("toc-show",!0)),this.ag(s);for(var r=0;r<this.Jm.length;++r)this.hg(this.Jm[r],0);this.$f(),this.og();var a=this;this.ug=function(t,i,s){var e=a.sm[i],n=null;e&&e.tocEntry&&(n=a.fg(e.tocEntry)),a.setCurrentEntry(n)},this.cg=function(t,i,s,e){var n=a.sm[s],r=null;n&&n.tocEntry&&(r=a.fg(n.tocEntry)),a.setCompletedEntry(r,e)},i(t).on("ap-segment-changed.toc",this.ug),i(t).on("ap-slideCompleted.toc",this.cg)},updateEntries:function(t,i){var s,e;this.dg(),this.sm=i||[],this.Jm=[],this.ig&&(s=this.ig.zm,e=this.ig.Gm),this.ig=null,this.sg=null,this.ng.empty(),this.ag(t);for(var n=0;n<this.Jm.length;++n)this.hg(this.Jm[n],0);if(!isNaN(s)){var r=this.fg(function(t){return t.zm==s&&t.Gm==e});r&&this.setCurrentEntry(r)}this.$f(),this.og()},og:function(){var t,i,s,e=this.Hm;if(e)if(1==e.mu.ShowMaxTocLevel)for(t=0,i=this.Jm.length;t<i;++t)s=this.Jm[t],this.vg(s);else for(t=0,i=this.Jm.length;t<i;++t)s=this.Jm[t],this.pg(s)},destroy:function(){var t=i(this.Hm);this.rg.off("click"),this.rg=null;var s=[];this.mg(s,null);for(var e=0;e<s.length;++e){s[e].Dm.off("click").off("focusin").off("focusout")}t.off("ap-segment-changed.toc",this.ug).off("ap-slideCompleted.toc",this.cg),this.Jm=[],this.ig=null,this.sg=null,this.ng.off("focus").off("focusout").off("keydown"),this.eg.remove(),this.eg=null,this.ng.remove(),this.ng=null},show:function(){if(this.eg){var t=this.eg.attr("sidebar-expand");void 0!=t&&"true"!=t||this.eg.show(),2==this.Hm.mu.TocStyle&&this.eg.attr("toc-show",!0);var s=this;1==this.Hm.mu.TocStyle&&(this.Hm.nm(),i(document).unbind("click.TocPane"),setTimeout(function(){i(document).bind("click.TocPane",function(t){i(t.target).closest(".ap-toc-container").is(s.eg)||(i(document).unbind("click.TocPane"),i(s.Hm).trigger("ui:ap-toc"))})},100))}},hide:function(){this.eg&&(this.eg.hide(),2==this.Hm.mu.TocStyle&&this.eg.attr("toc-show",!1),1==this.Hm.mu.TocStyle&&i(document).unbind("click.TocPane"))},isShow:function(){if(this.eg&&this.eg.length>0){var t=this.eg.attr("toc-show");return 2!=this.Hm.mu.TocStyle||void 0==t?"none"!=this.eg.css("display"):"true"==t}return!1},gg:function(t){for(var i=0;i<this.Jm.length;++i)if(this.Jm[i].Xa==t.Xa)return i;return-1},mg:function(t,i){var s;s=null==i?this.Jm:i.Km;for(var e=0;e<s.length;++e)t.push(s[e]),this.mg(t,s[e])},fg:function(t,i){for(var s=i?i.Km:this.Jm,e="function"==typeof t,n=0,r=s.length;n<r;++n){var a=s[n];if(a.Tf==t||e&&t(a))return a;if(a.hasChildren()&&(a=this.fg(t,a)))return a}return null},Mg:function(t){this.ig&&(this.ig.setCurrent(!1),this.ig=null),t&&(this.ig=t,this.ig.setCurrent(!0))},bg:function(t){null!=this.sg&&(this.sg.Dm.attr("tabindex","-1"),this.sg=null),t.Dm.attr("tabindex","0"),t.Dm.focus()},wg:function(t,i){var s,e=i.Km;for(s=0;s<e.length;++s)this.wg(!1,e[s]);t||i.Dm.hide()},_g:function(t,i){t||i.Dm.show();var s,e=i.Km;if("true"==i.Dm.attr("aria-expanded")||t)for(s=0;s<e.length;++s)this._g(!1,e[s])},vg:function(t){t.Dm.attr("aria-expanded","true"),t.$m=!0,this._g(!0,t)},pg:function(t){t.Dm.attr("aria-expanded","false"),t.$m=!1,this.wg(!0,t)},yg:function(t){var i;return null==t.up?(i=this.gg(t))>=0&&i<this.Jm.length-1?this.Jm[i+1]:null:(i=t.up.getChildIndex(t))>=t.up.Km.length-1?this.yg(t.up):t.up.Km[i+1]},kg:function(t){if(t.$m&&t.hasChildren()){var i=t.Km[t.Km.length-1];return this.kg(i)}return t},Tg:function(){if(null!=this.sg){var t=null;null!=(t=this.sg.$m&&this.sg.hasChildren()?this.sg.Km[0]:this.yg(this.sg))&&(this.sg.Dm.blur(),this.sg=null,t.Dm.focus())}},xg:function(){if(null!=this.sg){var t,i=null;if(null==this.sg.up)(t=this.gg(this.sg))>0&&(i=this.kg(this.Jm[t-1]));else i=(t=this.sg.up.getChildIndex(this.sg))>0?this.kg(this.sg.up.Km[t-1]):this.sg.up;null!=i&&(this.sg.Dm.blur(),this.sg=null,i.Dm.focus())}},Cg:function(t){for(var i=0,s=t.Km,e=0;e<s.length;++e)i+=this.Cg(s[e]);return Math.max(t.rp,i)},Sg:function(t,i,s,e){t.Tf=i,t.Vm=i.l,t.Wm=i.n,t.zm=isNaN(i.slideIndex)?-1:i.slideIndex,t.Gm=i.t||0,t.Eg=i.thumbId,t.Og=i.thumbSize,t.rp=i.d||0,t.Xa=""==s?e+"":s+"-"+e;var n=i.c;if(n&&n.length>0){t.Km.length=0;for(var a=0;a<n.length;++a){var h=n[a],o=new r(t);this.Sg(o,h,t.Xa,a+1),t.Km.push(o)}}},ag:function(t){this.Jm.length=0;for(var i=0;i<t.length;++i){var s=t[i],e=new r(null);this.Jm.push(e),this.Sg(e,s,"",i+1)}},hg:function(s,e){var n,r=e+1,a=10*r,h=this.Hm,o=h.Af,u=h.mu.TocShowStateIcons,f=h.mu.TocShowThumbnails,c=h.mu.TocShowDuration;n='<tr class="ap-toc-entry" role="row" tabindex="-1" aria-level="'+r+'" data-status="incomplete"',s.hasChildren()?n+=' aria-expanded="'+s.$m+'">':n+=">",n+="<td",!s.hasChildren()&&e>0&&(a+=10),n+=' style="padding-left: '+a+'px; width: 100%" ><div class="ap-toc-entry-content">',s.isLinked()&&f&&(s.Og?n+='<div class="ap-toc-entry-thumbnail" style="'+("background-color:white;display:block;width:"+s.Og[0]+"px;height:"+s.Og[1]+"px;")+'"></div>':s.Eg&&(n+='<img class="ap-toc-entry-thumbnail" src="'+(h.Lp.resourceLocation+h.Lp.fileNamePrefix+"thumb_"+s.Eg+".jpg")+'"/>')),s.hasChildren()&&(n+='<div class="ap-toc-entry-icon">'+o.collapsed+o.expanded+"</div>"),n+='<div class="ap-toc-entry-content-text">',s.Wm&&(n+='<div style="display:table-cell;">'+s.Wm+"&nbsp;</div>"),n+='<div style="display:table-cell;">'+s.Vm+"</div>",n+="</div>",n+="</div></td>",u&&(n+='<td><div class="ap-toc-entry-status-icon">'+o.current+o.completed+"</div></td>"),c&&(n+='<td class="ap-toc-entry-duration">'+t.formatMSString(this.Cg(s))+"</td>"),n+="</tr>",s.Dm=i(n),this.ng.append(s.Dm);for(var l=0;l<s.Km.length;++l)this.hg(s.Km[l],r)},$f:function(){var t=[];this.mg(t,null);for(var s=this,e=0;e<t.length;++e){!function(t){t.Dm.on("click",function(e){!t.hasChildren()||t.isLinked()&&!t.getExpandIconDom()[0].contains(e.target)?t.isLinked()&&i(s.Hm).trigger("ui:ap-showSlide",[t.zm,t.Gm]):t.$m?s.pg(t):s.vg(t)}).on("focusin",function(){s.ng.attr("tabindex",-1),t.Dm.attr("tabindex","0"),s.sg=t}).on("focusout",function(){t.Dm.attr("tabindex","-1"),s.sg=null})}(t[e])}this.ng.on("focus",function(){var t=[];s.mg(t),t.length>0&&(s.bg(t[0]),s.ng.attr("tabindex",-1))}).on("focusout",function(){null==s.sg&&s.ng.attr("tabindex",0)}).on("keydown",function(t){switch(t.which){case 13:if(s.sg&&s.sg.isLinked())return i(s.Hm).trigger("ui:ap-showSlide",[s.sg.zm,s.sg.Gm]),!1;break;case 39:if(s.sg&&s.sg.hasChildren())return s.sg.$m?s.Tg():s.vg(s.sg),!1;break;case 37:if(s.sg)return s.sg.$m&&s.sg.hasChildren()?s.pg(s.sg):s.sg.up&&s.bg(s.sg.up),!1;break;case 40:if(s.sg)return s.Tg(),!1;break;case 38:if(s.sg)return s.xg(),!1}})},dg:function(){var t=[];this.mg(t,null);for(var i=0;i<t.length;++i){t[i].Dm.off("click").off("focusin").off("focusout")}this.Jm=[],this.ig=null,this.sg=null,this.ng.off("focus").off("focusout").off("keydown")},setCompletedEntry:function(t,i){t&&t.setCompleted(i)},setCurrentEntry:function(t){this.ig&&this.ig==t||(this.Mg(t),t&&this.Hm.mu.AutoScroll&&this.scrollToCurrentEntry())},scrollToCurrentEntry:function(){if(this.ig){var t=i(this.Wp),s=i(".ap-toc-content-wrapper",t);s[0].scrollTop+s[0].offsetHeight<this.ig.Dm[0].offsetTop+this.ig.Dm[0].offsetHeight?s[0].scrollTop=this.ig.Dm[0].offsetTop+this.ig.Dm[0].offsetHeight-s[0].clientHeight:this.ig.Dm[0].offsetTop<s[0].scrollTop&&(s[0].scrollTop=this.ig.Dm[0].offsetTop)}}}),h=t.createClass({$init:function(t,s){this.Hm=t,this.Pg=-1,this.Ig=t.resourcesContainer(),this.Ig.hide(),this.Wp=t.Wp,this.Rg=s;var e='<div class="ap-resources-pane-header">'+s[s.length-1]+'</div>\t\t\t\t\t\t<div class="ap-resources-pane-content"> \t\t\t\t\t\t\t<ol class="ap-resources-list"></ol> \t\t\t\t\t\t</div>';this.Ig.append(e),this.Ng=i(".ap-resources-list",this.Ig);for(var n=0;n<s.length-1;++n)this.hg(s[n]);this.Jm=i("li",this.Ng).toArray(),this.$f()},destroy:function(){for(var t=0;t<this.Jm.length;++t)i(this.Jm[t]).off("focusin").off("focusout");this.Ig.off("keydown"),this.Ig.remove(),this.Ig=null,this.Jm=[]},$f:function(){var t=this,s=this.Ig,e=this.Jm;s.attr("tabinex",0),s.on("keydown",function(s){var n;return 13!=s.which&&32!=s.which||s.altKey||s.shiftKey||s.ctrlKey?27==s.which?(t.hide(),!1):9==s.which?(t.hide(),!1):38==s.which?((n=e[t.Pg])&&i(n).attr("tabindex",-1),0==t.Pg?t.Pg=e.length-1:t.Pg--,n=e[t.Pg],i(n).focus().attr("tabindex",0),!1):40==s.which?((n=e[t.Pg])&&i(n).attr("tabindex",-1),t.Pg==e.length-1?t.Pg=0:t.Pg++,n=e[t.Pg],i(n).focus().attr("tabindex",0),!1):void 0:((n=e[t.Pg])&&i("a",i(n))[0].click(),!1)});for(var n=0;n<this.Jm.length;++n)i(this.Jm[n]).on("focusin",function(){s.attr("tabindex",-1),i(this).attr("tabindex",0)}).on("focusout",function(){i(this).attr("tabindex",-1)})},show:function(){this.Ag="click.ResourcesPane";var t=this;i(document).bind(t.Ag,function(s){i(s.target).closest(".ap-resources-container").is(t.Ig)||(t.hide(),i(document).unbind(t.Ag))}),t.Ig.show(),t.Ig.attr("tabindex",-1),this.Pg<0&&(this.Pg=0);var s=this.Jm[this.Pg];s?i(s).attr("tabindex",0).focus():t.Ig.attr("tabindex",0).focus()},hide:function(){this.Ag&&i(document).off(this.Ag),this.Ig&&this.Ig.hide()},isShow:function(){return this.Ig&&this.Ig.length>0&&"none"!=this.Ig.css("display")},hg:function(t){if(!(t.length<=1)){var i='<li><a href="';2==t.length?i+=t[1]:(i+=this.Hm.Lp.resourceLocation+this.Hm.Lp.fileNamePrefix+"res_"+t[1]+"."+t[2],i+='" download="'+t[0]+"."+t[2]),i+='" target="_blank">'+t[0],i+="</a></li>",this.Ng.append(i)}}}),o=t.createClass({$init:function(t,s,e){this.Af=s,this.up=null,this.Dg=[],this.Yg=null,this.Dm=i('<div id="'+t+'" class="ap-menu" tabindex="0" role="menu"></div>'),this.Dm.css("transform","translateZ(0px)"),this.Dm.hide(),this.Pg=-1,this.$f(),this.Ag=null,this.Xg=null,this.Hm=e,this.Hm&&this.Hm.Im(this)},id:function(){return this.Dm[0].id},destroy:function(){null!=this.Ag&&(i(document).unbind(this.Ag),this.Ag=null),this.Lg&&(this.Lg(),this.Lg=null);for(var t=0;t<this.Dg.length;++t)this.Dg[t].submenu&&this.Dg[t].submenu.destroy(),this.Dg[t].dom.off("click").off("focusin").off("focusout").off("keydown");this.Dg=[],this.Dm&&(this.Dm.off("keydown"),this.Dm.remove(),this.Dm=null),this.Af=null,this.Hm&&this.Hm.Nm(this)},$f:function(){var t=this;this.Dm.on("keydown",function(i){var s,e=t.Dg;return 13!=i.which&&32!=i.which||i.altKey||i.shiftKey||i.ctrlKey?27==i.which?(t.up?(t.hide(),t.up.show(t.up.Xg,!0,t.up.Lg)):t.destroy(),!1):9==i.which?(t.up?(t.hide(),t.up.show(t.up.Xg,!0,t.up.Lg)):t.destroy(),!1):37==i.which?(t.up&&(t.hide(),t.up.show(t.up.Xg,!0,t.up.Lg)),!1):39==i.which?((s=e[t.Pg])&&s.submenu&&s.dom.trigger("click"),!1):38==i.which?((s=e[t.Pg])&&s.dom.attr("tabindex",-1),0==t.Pg?t.Pg=e.length-1:t.Pg--,(s=e[t.Pg].dom).focus(),s.attr("tabindex",0),!1):40==i.which?((s=e[t.Pg])&&s.dom.attr("tabindex",-1),t.Pg==e.length-1?t.Pg=0:t.Pg++,(s=e[t.Pg].dom).focus(),s.attr("tabindex",0),!1):void 0:((s=e[t.Pg])&&s.dom.trigger("click"),!1)})},Fg:function(){for(var t=this;t.up;)t=t.up;return t},Hg:function(t,i,s,e){var n=this;t.focusin(function(){n.Dm.attr("tabindex",-1),t.attr("tabindex",0)}).focusout(function(){t.attr("tabindex",-1)}),this.Dm.append(t),this.Dg.push({dom:t,id:i,state:s,submenu:e})},appendTo:function(t){this.Wp=t,this.Wp.append(this.Dm);for(var i=0;i<this.Dg.length;++i)this.Dg[i].submenu&&this.Dg[i].submenu.appendTo(t)},attachEventHanlders:function(t){t(this.Dm.get(0));for(var i=0;i<this.Dg.length;++i)this.Dg[i].submenu&&t(this.Dg[i].submenu.Dm.get(0))},detachEventHandlers:function(t){t(this.Dm.get(0));for(var i=0;i<this.Dg.length;++i)this.Dg[i].submenu&&t(this.Dg[i].submenu.Dm.get(0))},Ug:function(t){if(this.Dm&&this.Dm.has(t).length>0)return this;for(var i=0;i<this.Dg.length;++i)if(this.Dg[i].submenu){var s=this.Dg[i].submenu.Ug(t);if(s)return s}return null},show:function(t,s,e){this.Xg=t;var n,r,a,h,o,u,f,c,l=i(t),d=this.Dm,v=this.Wp;n=d.outerWidth(!0),r=d.outerHeight(!0),a=l.offset().left+l.width()/2-n/2;for(var p=0;p<=1;++p)o=l.offset().top-(v.offset().top+r+10),u=v.offset().top+v.height()-(l.offset().top+l.height()+r+10),f=v.offset().left+v.width()-(l.offset().left+l.width()+n+10),c=l.offset().left-(v.offset().left+n+10),o<0&&u<0&&f<0&&c<0&&(r=Math.max(o,u)-10);if(o>=0?(h=l.offset().top-v.offset().top-r-10,a=Math.max(0,Math.min(a,v.width()-n-10))):u>=0?(h=l.offset().top+l.height()+10-v.offset().top,a=Math.max(0,Math.min(a,v.width()-n-10))):f>=0?(h=0,a=l.offset().left+l.width()+10-v.offset().left):(h=0,a=l.offset().left-v.offset().left-n-10),d.css({left:a,top:h}),d.show(),!this.up){var m=this;m.Ag="click.RLMenu"+this.id(),i(document).bind(m.Ag,function(e){var n=i(e.target).closest(".ap-menu-item");if("menuitemcheckbox"!=n.attr("role")){var r=m.Ug(e.target);if(n.hasClass("ap-tool-menu-back")&&r&&r.up)return r.hide(),void r.up.show(t,s,r.up.Lg);if("true"==n.attr("aria-haspopup")&&r)for(var a=0;a<r.Dg.length;++a)if(r.Dg[a].dom.get(0)==n.get(0))return r.hide(),void r.Dg[a].submenu.show(t,s);m.destroy()}})}if(-1==this.Pg&&(this.Pg=0),s){d.attr("tabindex",-1);var g=this.Dg[this.Pg];g?(g.dom.attr("tabindex",0),g.dom.focus()):(d.attr("tabindex",0),d.focus())}else d.attr("tabindex",0),d.focus();this.Lg=e},hide:function(){this.Dm.attr("tabindex",-1),this.Dm.hide()},isShown:function(){return"none"!=this.Dm.css("display")},addMenuItem:function(t,s){var e=i('<div class="ap-menu-item '+t+'" role="menuitem" tabindex="-1" > \t\t\t\t\t\t\t<div class="ap-menu-item-label">'+s+'</div> \t\t\t\t\t\t\t<div class="ap-menu-item-content"></div> \t\t\t\t\t\t</div>');return this.Hg(e,t,!0),e},addToggleMenuItem:function(t,s,e){var n=i('<div class="ap-menu-item '+t+'" role="menuitemcheckbox" aria-checked="'+(1==e?"true":"false")+'" tabindex="-1" > \t\t\t\t\t\t\t<div class="ap-menu-item-label">'+s+'</div> \t\t\t\t\t\t\t<div class="ap-menu-item-toggle-container"> \t\t\t\t\t\t\t\t<div class="ap-menu-item-toggle"> \t\t\t\t\t\t\t\t\t<div class="ap-menu-item-toggle-bar"></div>\t\t\t\t\t\t\t\t\t<div class="ap-menu-item-toggle-button"></div>\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div>');return this.Hg(n,t,e),n},addRadioMenuItem:function(t,s,e){var n=this.Af,r=i('<div class="ap-menu-item '+t+'" role="menuitemradio" tabindex="-1" aria-checked="'+(e?"true":"false")+'"> \t\t\t\t\t\t\t<div class="ap-menu-item-icon">'+n.check+'</div> \t\t\t\t\t\t\t<div class="ap-menu-item-label">'+s+"</div> \t\t\t\t\t\t</div>");return this.Hg(r),r},addSubMenuItem:function(t,s,e){var n=this.Af,r=i('<div class="ap-menu-item '+t+'" role="menuitem" tabindex="-1" aria-haspopup="true"> \t\t\t\t\t\t<div class="ap-menu-item-label">'+s+'</div> \t\t\t\t\t\t<div class="ap-menu-item-icon">'+n.openmenu+"</div> \t\t\t\t\t</div>");return e.up=this,this.Hg(r,t,!0,e),r},addMenuHeaderItem:function(t){var s=this.Af,e="ap-tool-menu-back",n=i('<div class="ap-menu-item '+e+'" role="menuitem" tabindex="-1" > \t\t\t\t\t\t\t<div class="ap-menu-item-icon">'+s.closemenu+'</div> \t\t\t\t\t\t\t<div class="ap-menu-item-label">'+t+"</div> \t\t\t\t\t\t</div>");return this.Hg(n,e,!0),n}}),u=t.createClass({$init:function(s,e,n){this.Bg=n.scale||1,this.Zg=n.min||0,this.zg=n.max||100,this.Gg=n.value||0,this.Vm=n.title||"",this.Vg=n.isRTL||!1,this.Wg=n.followMouse||!1,this.$g=n.thumbnailPrefixPath,this.Dm=s,this.mu=e,this.Dm.append('<div class="ap-slider-track"><div class="ap-slider-track-lower"></div></div>\t\t\t\t\t\t\t  <div class="ap-slider-thumb-containment"></div> \t\t\t\t\t\t\t  <div class="ap-slider-thumb-outer" style="position:absolute;height:100%;"><div class="ap-slider-thumb"></div></div>\t\t\t\t\t\t\t  <div class="ap-slider-tooltip"></div>'),this.Kg=i(".ap-slider-track",this.Dm),this.jg=i(".ap-slider-track-lower",this.Dm),this.Qg=i(".ap-slider-thumb-outer",this.Dm),this.qg=i(".ap-slider-tooltip",this.Dm),this.Jg=i(".ap-slider-thumb-containment",this.Dm),this.tM=i(".ap-slider-thumb",this.Dm).outerWidth()/2,this.Qg.width(2*this.tM),this.Jg.css({position:"absolute",left:-this.tM+"px",top:"0px",width:"calc(100% + "+2*this.tM+"px)",height:"100%"}),this.Dm.attr({"aria-valuemin":this.Zg,"aria-valuemax":this.zg,"aria-valuenow":this.Gg,title:this.Vm}),this.markers(n.markers,n.slideCount);var r=this,a=t.browser.mobile;a||this.Dm.mouseenter(function(t){r.iM&&r.qg.show()}).mousemove(function(t){if(r.iM){var s=t.pageX-i(this).offset().left;r.sM(s)}}).mouseleave(function(t){r.iM&&r.qg.hide()}),this.Qg.css("touchAction","none").draggable({containment:r.Jg,axis:"x",start:function(){r.jf=!0,r.eM=r.Gg,a&&r.iM&&r.qg.show()},drag:function(){var t=parseInt(i(this).css("left"))+r.tM;r.nM(t),a&&r.iM&&r.sM(t)},stop:function(){r.jf=!1;var t=parseInt(i(this).css("left"))+r.tM;r.nM(t,!0),a&&r.iM&&r.qg.hide()}}).mousedown(function(t){return s.focus(),t.stopPropagation(),!0}),this.Dm.on("mousedown",function(t){return r.nM(t.pageX-i(this).offset().left,!0),t.stopPropagation(),!0}).on("keydown",function(t){var i=r.rM(r.Gg);if(37==t.which||40==t.which)i+=-5;else if(39==t.which||38==t.which)i+=5;else if(36==t.which)i=0;else if(35==t.which)i=r.getWidth();else if(33==t.which)i+=20;else{if(34!=t.which)return!0;i-=20}r.nM(i,!0),t.stopPropagation(),t.preventDefault()})},markers:function(t,s,e){if(this.aM=t||[],this.hM=s||0,void 0!==e&&(this.zg=e),this.iM=this.aM.length>0,this.oM=-1,i(".ap-slider-marker",this.Kg).remove(),this.mu.ShowSegments)for(var n=0,r=this.aM.length;n<r;++n){var a=this.aM[n].time;if(!(a<=this.Zg||a>=this.zg)){var h=i('<div class="ap-slider-marker"></div>'),o=a/(this.zg-this.Zg)*100;h.css("left","calc("+o+"% - "+h.width()/2+"px)"),this.Kg.append(h)}}},destroy:function(){this.Qg.off("mouseenter").off("mouseleave").off("mousedown").draggable("destroy"),this.Qg=null,this.Dm.off("mousedown").off("keydown"),this.Dm.empty(),this.Dm=null,this.ye=null},sM:function(t){var s=this.uM(t),e=function(t,i){for(var s=t.length;--s>=0;)if(i>=t[s].time)return s;return-1}(this.aM,s);if(!(e<0)){var n=this.aM[e],r=this.ye;if(e!=this.oM){this.oM=e;var a='<div class="ap-slider-tooltip-timestamp">'+AtomiAP.formatMSString(s)+"</div>";n.thumbId&&(a+='<img src="'+this.$g+"thumb_"+n.thumbId+'.jpg" />'),a+="<div>"+(r?r.text("Slide"):"Slide")+" "+(n.slideIndex+1)+"/"+this.hM+"</div>",a+="<div>"+n.title+"</div>",this.qg.html(a)}else i(".ap-slider-tooltip-timestamp",this.qg).html(AtomiAP.formatMSString(s));this.qg.css({left:0,width:"auto"});var h=this.qg.width(),o=this.qg.height();this.qg.css({left:t-h/2,top:-o-40,width:h})}},fM:function(t){var i=t/this.getWidth()*100;this.Qg.css("left","calc("+i+"% - "+this.tM+"px)"),this.jg.css("width",i+"%")},nM:function(t,s){var e=this.getWidth();t<0?t=0:t>e&&(t=e);var n=this.uM(t),r=!1,a=!1;if(!isNaN(n)){if(s){var h=this.eM;delete this.eM,void 0===h&&(h=this.Gg),n!=h&&(a=!0)}n!=this.Gg&&(r=!0),r&&i(this).trigger("valueChanging",[n]),a&&i(this).trigger("valueChanged",[n]),r&&(this.Gg=n,this.Dm.attr("aria-valuenow",this.Gg))}this.jf||r||(t=this.rM(this.Gg)||0),this.fM(t)},uM:function(t){var i=this.getWidth();"rtl"==this.Vg&&(t=i-t);var s=Math.round(this.Zg+t*(this.zg-this.Zg)/i);return s<this.Zg?s=this.Zg:s>this.zg&&(s=this.zg),s},rM:function(t){var i=this.getWidth(),s=Math.round((t-this.Zg)*i/(this.zg-this.Zg));return this.Vg&&(s=i-s),s<0?s=0:s>i&&(s=i),s},setTooltip:function(t){t!=this.cM&&(this.cM=t,this.qg.html(t))},showTooltip:function(t){void 0===t&&(t=!0),t?this.qg.show():this.qg.hide()},enableTooltip:function(t){this.iM=t},getValue:function(){return this.Gg},setValue:function(t){if(this.jf&&!this.Wg)return!1;t<this.Zg?t=this.Zg:t>this.zg&&(t=this.zg),this.Gg=t,this.Dm.attr("aria-valuenow",this.Gg);var i=this.rM(t)||0;return this.fM(i),!0},setTitle:function(t){this.Dm.attr("title",t)},getMin:function(){return this.Zg},setMin:function(t){this.Zg=t,this.Dm.attr("aria-valuemin",this.Zg)},getMax:function(){return this.zg},setMax:function(t){this.zg=t,this.Dm.attr("aria-valuemax",this.zg)},getWidth:function(){return this.Dm.width()||.001},setWidth:function(t){this.Dm.width(t)}}),f=t.createClass({$init:function(t,s,e){this.Hm=t,this.lM=-1,this.dM=!1;var n=t.container();this.Dm=i(s),e?this.Dm.insertBefore(i(".ap-content-area",n)):this.Dm.appendTo(n),this.Dm.attr("unselectable","on").css("user-select","none").on("selectstart",!1),this.vM=i(".ap-button,.ap-slider",this.Dm).toArray(),this.pM(),this.Dm.show();var r=this;this.mM=function(t){r.gM()},i(this.Hm).on("ui:ap-layout",this.mM)},destroy:function(){i(this.Hm).off("ui:ap-layout",this.mM),i.each(this.vM,function(t,s){i(s).off("focusin").off("focusout")}),this.Dm.off("mousedown").off("keydown").off("focus").off("focusout"),this.Dm.remove(),this.Dm=null},MM:function(t){var s=i(t);return"none"!=s.css("display")&&"false"!=s.attr("data-enabled")},pM:function(){var t=this;this.Dm.on("mousedown",function(i){for(var s=0;s<t.vM.length;++s)i.target==t.vM[s]&&(t.lM=s);return i.stopPropagation(),!0}).on("keydown",function(s){if(9==s.which){var e,n=t.vM,r=!s.shiftKey,a=!0,h=-1,o=t.lM,u=n.length-1;do{if(r?++o:--o,o<0||o>u){h=r?0:u;break}if(t.MM(n[o])){h=o,a=!1;break}}while(o>=0&&o<=u);if(a)return t.lM=h,!0;s.stopPropagation(),s.preventDefault(),t.lM>=0&&t.lM<=u&&(e=t.vM[t.lM],i(e).attr("tabindex","-1")),h>=0&&h<=u&&(t.lM=h,e=t.vM[t.lM],i(e).attr("tabindex","0").focus())}else if(32==s.which||13==s.which){var f=i(s.target);"button"==f.attr("role")&&(s.stopPropagation(),f.trigger("click",[s.which]))}});var s=function(){var s=0;return i.each(t.vM,function(i,e){if(t.MM(e))return s=i,!1}),s};this.Dm.on("focus",function(e){var n=t.lM;if((n<0||n>=t.vM.length||!t.MM(t.vM[n]))&&(t.lM=s(),n=t.lM),t.Dm.attr("tabindex","-1"),n>=0&&n<t.vM.length){var r=t.vM[n];return i(r).attr("tabindex","0").focus(),!1}return!0}),this.Dm.on("focusout",function(){t.dM||t.Dm.attr("tabindex","0")});for(var e=0;e<this.vM.length;++e)!function(e,n){i(e).on("focusin",function(r){t.MM(e)?t.lM=n:t.lM=s(),t.Dm.attr("tabindex","-1"),t.dM=!0,i(this).attr("tabindex","0")}).on("focusout",function(s){t.dM=!1,i(this).attr("tabindex","-1")})}(this.vM[e],e)},gM:function(){var t=i("[data-priority]",this.Dm),s=i(".ap-tool-setting",this.Dm),e=parseInt(s.attr("data-priority"));t.each(function(t){var s=i(this);"false"!=s.attr("data-enabled")&&s.show()}),s.hide();for(var n,r,a,h,o,u=Number.MAX_SAFE_INTEGER||1e10;a=this.Dm.outerWidth(),n=!1,r=u,t.each(function(t){var s=i(this);return"false"==s.attr("data-enabled")||("none"==s.css("display")||(parseInt(s.attr("data-priority"))<r&&(r=parseInt(s.attr("data-priority"))),s.position().top,h=s.position().left,o=s.outerWidth(),h+o>a?(n=!0,!0):void 0))}),n&&r!=u;)e>r&&s.show(),t.each(function(t){var s=i(this);return"false"==s.attr("data-enabled")||("none"==s.css("display")||void(parseInt(s.attr("data-priority"))<=r&&s.hide()))})},show:function(){this.Dm.css("display","")},hide:function(){this.Dm.hide()},visible:function(){return this.Dm&&"none"!==this.Dm[0].style.display},isAutoHide:function(){return this.Dm.hasClass("ap-auto-hide")},autoHide:function(t){0==arguments.length||t?this.Dm.addClass("ap-auto-hide"):this.Dm.removeClass("ap-auto-hide")}}),c=t.createClass({$init:function(t){this.Dm=i('<div class="ap-floating-button"><div></div></div>');var s=this,e=!1;this.Dm.css("touchAction","none").draggable({containment:t}).mousedown(function(t){e=!1}).mousemove(function(t){e=!0}).mouseup(function(){e||s.wp&&s.wp(),e=!1})},appendTo:function(t){t.append(this.Dm)},show:function(){this.Dm.css("display","")},hide:function(){this.Dm.hide()},onClick:function(t){this.wp=t}});t.RLPopup=n,t.RLToolbar=f,t.RLToc=a,t.UI=e}(window.AtomiAP=window.AtomiAP||{},window.AtomiAP.$||jQuery);