!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(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+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]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,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]||se.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]&&se.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&&X.test(n)&&(t=h(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=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.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!b.pseudos.empty(e)},header:function(e){return J.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:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(D).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(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,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.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 Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.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 ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Ae(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,Ce)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=Te.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,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&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Ae(this,e,Se),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){S.event.remove(this,e,n,t)})}});var Ne=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function Pe(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&De.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),Pe(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),Le)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,He),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(je,""),u,l))}return n}function Re(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&&(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return $(this,function(e){return void 0===e?S.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 Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(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&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Pe(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Me=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},We=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Fe=new RegExp(ne.join("|"),"i");function Be(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Me.test(a)&&Fe.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=3<parseInt(r.height),re.removeChild(e)),a}}))}();var _e=["Webkit","Moz","ms"],ze=E.createElement("div").style,Ue={};function Xe(e){var t=S.cssProps[e]||Ue[e];return t||(e in ze?e:Ue[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=_e.length;while(n--)if((e=_e[n]+t)in ze)return e}(e)||e)}var Ve=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Ie(e),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(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,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Ge.test(t),l=e.style;if(u||(t=Xe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ge.test(t)||(t=Xe(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ve.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):We(e,Ye,function(){return Ze(e,u,n)})},set:function(e,t,n){var r,i=Ie(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s)}}}),S.cssHooks.marginLeft=$e(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Je)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ie(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.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):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.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=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick())}function ut(){return C.setTimeout(function(){tt=void 0}),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ct(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n)}}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st())},S.fx.stop=function(){nt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",y.checkOn=""!==rt.value,y.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",y.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(P)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.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)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,yt(this)))});if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,yt(this)))});if(!arguments.length)return this.attr("class","");if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,yt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=mt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=yt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+vt(yt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:vt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var jt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Bt(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function $t(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,S.ajaxSettings),t):$t(S.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Bt(Rt,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ot.test(v.type),f=v.url.replace(qt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(jt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Et.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid+++o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+It+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Bt(Mt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();y.cors=!!zt&&"withCredentials"in zt,y.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(y.cors||zt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.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 S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=vt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.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,r){return this.on(t,e,n,r)},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)}}),S.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,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
;
!function(i){var r={};function e(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return i[t].call(n.exports,n,n.exports,e),n.l=!0,n.exports}e.m=i,e.c=r,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"u",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.u)return n;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var r in n)e.d(i,r,function(t){return n[t]}.bind(null,r));return i},e.n=function(t){var n=t&&t.u?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=5)}([function(t,K,n){"use strict";(function(t){var r=n(15),o=n(16),s=n(17);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,n){if(i()<n)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(n)).__proto__=c.prototype:(null===t&&(t=new c(n)),t.length=n),t}function c(t,n,i){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,n,i);if("number"!=typeof t)return e(this,t,n,i);if("string"==typeof n)throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}function e(t,n,i,r){if("number"==typeof n)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer?function(t,n,i,r){if(n.byteLength,i<0||n.byteLength<i)throw new RangeError("'offset' is out of bounds");if(n.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");n=void 0===i&&void 0===r?new Uint8Array(n):void 0===r?new Uint8Array(n,i):new Uint8Array(n,i,r);c.TYPED_ARRAY_SUPPORT?(t=n).__proto__=c.prototype:t=h(t,n);return t}(t,n,i,r):"string"==typeof n?function(t,n,i){"string"==typeof i&&""!==i||(i="utf8");if(!c.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var r=0|l(n,i),e=(t=u(t,r)).write(n,i);e!==r&&(t=t.slice(0,e));return t}(t,n,i):function(t,n){if(c.isBuffer(n)){var i=0|d(n.length);return 0===(t=u(t,i)).length||n.copy(t,0,0,i),t}if(n){if("undefined"!=typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!=typeof n.length||(r=n.length)!=r?u(t,0):h(t,n);if("Buffer"===n.type&&s(n.data))return h(t,n.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,n)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function a(t,n){if(f(n),t=u(t,n<0?0:0|d(n)),!c.TYPED_ARRAY_SUPPORT)for(var i=0;i<n;++i)t[i]=0;return t}function h(t,n){var i=n.length<0?0:0|d(n.length);t=u(t,i);for(var r=0;r<i;r+=1)t[r]=255&n[r];return t}function d(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function l(t,n){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var r=!1;;)switch(n){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return F(t).length;default:if(r)return B(t).length;n=(""+n).toLowerCase(),r=!0}}function v(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function w(t,n,i,r,e){if(0===t.length)return-1;if("string"==typeof i?(r=i,i=0):2147483647<i?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=e?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(e)return-1;i=t.length-1}else if(i<0){if(!e)return-1;i=0}if("string"==typeof n&&(n=c.from(n,r)),c.isBuffer(n))return 0===n.length?-1:p(t,n,i,r,e);if("number"==typeof n)return n&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?e?Uint8Array.prototype.indexOf.call(t,n,i):Uint8Array.prototype.lastIndexOf.call(t,n,i):p(t,[n],i,r,e);throw new TypeError("val must be string, number or Buffer")}function p(t,n,i,r,e){var o,s=1,u=t.length,f=n.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||n.length<2)return-1;u/=s=2,f/=2,i/=2}function a(t,n){return 1===s?t[n]:t.readUInt16BE(n*s)}if(e){var h=-1;for(o=i;o<u;o++)if(a(t,o)===a(n,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===f)return h*s}else-1!==h&&(o-=o-h),h=-1}else for(u<i+f&&(i=u-f),o=i;0<=o;o--){for(var c=!0,d=0;d<f;d++)if(a(t,o+d)!==a(n,d)){c=!1;break}if(c)return o}return-1}function m(t,n,i,r){i=Number(i)||0;var e=t.length-i;r?e<(r=Number(r))&&(r=e):r=e;var o=n.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<r&&(r=o/2);for(var s=0;s<r;++s){var u=parseInt(n.substr(2*s,2),16);if(isNaN(u))return s;t[i+s]=u}return s}function y(t,n,i,r){return C(function(t){for(var n=[],i=0;i<t.length;++i)n.push(255&t.charCodeAt(i));return n}(n),t,i,r)}function b(t,n,i){return 0===n&&i===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(n,i))}function g(t,n,i){i=Math.min(t.length,i);for(var r=[],e=n;e<i;){var o,s,u,f,a=t[e],h=null,c=239<a?4:223<a?3:191<a?2:1;if(e+c<=i)switch(c){case 1:a<128&&(h=a);break;case 2:128==(192&(o=t[e+1]))&&127<(f=(31&a)<<6|63&o)&&(h=f);break;case 3:o=t[e+1],s=t[e+2],128==(192&o)&&128==(192&s)&&2047<(f=(15&a)<<12|(63&o)<<6|63&s)&&(f<55296||57343<f)&&(h=f);break;case 4:o=t[e+1],s=t[e+2],u=t[e+3],128==(192&o)&&128==(192&s)&&128==(192&u)&&65535<(f=(15&a)<<18|(63&o)<<12|(63&s)<<6|63&u)&&f<1114112&&(h=f)}null===h?(h=65533,c=1):65535<h&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),e+=c}return function(t){var n=t.length;if(n<=E)return String.fromCharCode.apply(String,t);var i="",r=0;for(;r<n;)i+=String.fromCharCode.apply(String,t.slice(r,r+=E));return i}(r)}K.Buffer=c,K.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},K.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),K.kMaxLength=i(),c.poolSize=8192,c.f=function(t){return t.__proto__=c.prototype,t},c.from=function(t,n,i){return e(null,t,n,i)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,n,i){return r=null,o=n,s=i,f(e=t),e<=0?u(r,e):void 0!==o?"string"==typeof s?u(r,e).fill(o,s):u(r,e).fill(o):u(r,e);var r,e,o,s},c.allocUnsafe=function(t){return a(null,t)},c.allocUnsafeSlow=function(t){return a(null,t)},c.isBuffer=function(t){return!(null==t||!t.a)},c.compare=function(t,n){if(!c.isBuffer(t)||!c.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(t===n)return 0;for(var i=t.length,r=n.length,e=0,o=Math.min(i,r);e<o;++e)if(t[e]!==n[e]){i=t[e],r=n[e];break}return i<r?-1:r<i?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,n){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var i;if(void 0===n)for(i=n=0;i<t.length;++i)n+=t[i].length;var r=c.allocUnsafe(n),e=0;for(i=0;i<t.length;++i){var o=t[i];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,e),e+=o.length}return r},c.byteLength=l,c.prototype.a=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var n=0;n<t;n+=2)v(this,n,n+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var n=0;n<t;n+=4)v(this,n,n+3),v(this,n+1,n+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var n=0;n<t;n+=8)v(this,n,n+7),v(this,n+1,n+6),v(this,n+2,n+5),v(this,n+3,n+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?g(this,0,t):function(t,n,i){var r=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(n>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,n,i);case"utf8":case"utf-8":return g(this,n,i);case"ascii":return _(this,n,i);case"latin1":case"binary":return j(this,n,i);case"base64":return b(this,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,n,i);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=K.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,n,i,r,e){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===e&&(e=this.length),n<0||i>t.length||r<0||e>this.length)throw new RangeError("out of range index");if(e<=r&&i<=n)return 0;if(e<=r)return-1;if(i<=n)return 1;if(this===t)return 0;for(var o=(e>>>=0)-(r>>>=0),s=(i>>>=0)-(n>>>=0),u=Math.min(o,s),f=this.slice(r,e),a=t.slice(n,i),h=0;h<u;++h)if(f[h]!==a[h]){o=f[h],s=a[h];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(t,n,i){return-1!==this.indexOf(t,n,i)},c.prototype.indexOf=function(t,n,i){return w(this,t,n,i,!0)},c.prototype.lastIndexOf=function(t,n,i){return w(this,t,n,i,!1)},c.prototype.write=function(t,n,i,r){if(void 0===n)r="utf8",i=this.length,n=0;else if(void 0===i&&"string"==typeof n)r=n,i=this.length,n=0;else{if(!isFinite(n))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");n|=0,isFinite(i)?(i|=0,void 0===r&&(r="utf8")):(r=i,i=void 0)}var e=this.length-n;if((void 0===i||e<i)&&(i=e),0<t.length&&(i<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o,s,u,f,a,h,c,d,l,v=!1;;)switch(r){case"hex":return m(this,t,n,i);case"utf8":case"utf-8":return d=n,l=i,C(B(t,(c=this).length-d),c,d,l);case"ascii":return y(this,t,n,i);case"latin1":case"binary":return y(this,t,n,i);case"base64":return f=this,a=n,h=i,C(F(t),f,a,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s=n,u=i,C(function(t,n){for(var i,r,e,o=[],s=0;s<t.length&&!((n-=2)<0);++s)i=t.charCodeAt(s),r=i>>8,e=i%256,o.push(e),o.push(r);return o}(t,(o=this).length-s),o,s,u);default:if(v)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),v=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this.h||this,0)}};var E=4096;function _(t,n,i){var r="";i=Math.min(t.length,i);for(var e=n;e<i;++e)r+=String.fromCharCode(127&t[e]);return r}function j(t,n,i){var r="";i=Math.min(t.length,i);for(var e=n;e<i;++e)r+=String.fromCharCode(t[e]);return r}function A(t,n,i){var r=t.length;(!n||n<0)&&(n=0),(!i||i<0||r<i)&&(i=r);for(var e="",o=n;o<i;++o)e+=U(t[o]);return e}function O(t,n,i){for(var r=t.slice(n,i),e="",o=0;o<r.length;o+=2)e+=String.fromCharCode(r[o]+256*r[o+1]);return e}function R(t,n,i){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(i<t+n)throw new RangeError("Trying to access beyond buffer length")}function k(t,n,i,r,e,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e<n||n<o)throw new RangeError('"value" argument is out of bounds');if(i+r>t.length)throw new RangeError("Index out of range")}function T(t,n,i,r){n<0&&(n=65535+n+1);for(var e=0,o=Math.min(t.length-i,2);e<o;++e)t[i+e]=(n&255<<8*(r?e:1-e))>>>8*(r?e:1-e)}function x(t,n,i,r){n<0&&(n=4294967295+n+1);for(var e=0,o=Math.min(t.length-i,4);e<o;++e)t[i+e]=n>>>8*(r?e:3-e)&255}function S(t,n,i,r,e,o){if(i+r>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function M(t,n,i,r,e){return e||S(t,0,i,4),o.write(t,n,i,r,23,4),i+4}function N(t,n,i,r,e){return e||S(t,0,i,8),o.write(t,n,i,r,52,8),i+8}c.prototype.slice=function(t,n){var i,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):r<n&&(n=r),n<t&&(n=t),c.TYPED_ARRAY_SUPPORT)(i=this.subarray(t,n)).__proto__=c.prototype;else{var e=n-t;i=new c(e,void 0);for(var o=0;o<e;++o)i[o]=this[o+t]}return i},c.prototype.readUIntLE=function(t,n,i){t|=0,n|=0,i||R(t,n,this.length);for(var r=this[t],e=1,o=0;++o<n&&(e*=256);)r+=this[t+o]*e;return r},c.prototype.readUIntBE=function(t,n,i){t|=0,n|=0,i||R(t,n,this.length);for(var r=this[t+--n],e=1;0<n&&(e*=256);)r+=this[t+--n]*e;return r},c.prototype.readUInt8=function(t,n){return n||R(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,n){return n||R(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,n){return n||R(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,n){return n||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,n){return n||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,n,i){t|=0,n|=0,i||R(t,n,this.length);for(var r=this[t],e=1,o=0;++o<n&&(e*=256);)r+=this[t+o]*e;return(e*=128)<=r&&(r-=Math.pow(2,8*n)),r},c.prototype.readIntBE=function(t,n,i){t|=0,n|=0,i||R(t,n,this.length);for(var r=n,e=1,o=this[t+--r];0<r&&(e*=256);)o+=this[t+--r]*e;return(e*=128)<=o&&(o-=Math.pow(2,8*n)),o},c.prototype.readInt8=function(t,n){return n||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,n){n||R(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt16BE=function(t,n){n||R(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},c.prototype.readInt32LE=function(t,n){return n||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,n){return n||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,n){return n||R(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,n){return n||R(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,n){return n||R(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,n){return n||R(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,n,i,r){(t=+t,n|=0,i|=0,r)||k(this,t,n,i,Math.pow(2,8*i)-1,0);var e=1,o=0;for(this[n]=255&t;++o<i&&(e*=256);)this[n+o]=t/e&255;return n+i},c.prototype.writeUIntBE=function(t,n,i,r){(t=+t,n|=0,i|=0,r)||k(this,t,n,i,Math.pow(2,8*i)-1,0);var e=i-1,o=1;for(this[n+e]=255&t;0<=--e&&(o*=256);)this[n+e]=t/o&255;return n+i},c.prototype.writeUInt8=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[n]=255&t,n+1},c.prototype.writeUInt16LE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):T(this,t,n,!0),n+2},c.prototype.writeUInt16BE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):T(this,t,n,!1),n+2},c.prototype.writeUInt32LE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n+3]=t>>>24,this[n+2]=t>>>16,this[n+1]=t>>>8,this[n]=255&t):x(this,t,n,!0),n+4},c.prototype.writeUInt32BE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):x(this,t,n,!1),n+4},c.prototype.writeIntLE=function(t,n,i,r){if(t=+t,n|=0,!r){var e=Math.pow(2,8*i-1);k(this,t,n,i,e-1,-e)}var o=0,s=1,u=0;for(this[n]=255&t;++o<i&&(s*=256);)t<0&&0===u&&0!==this[n+o-1]&&(u=1),this[n+o]=(t/s>>0)-u&255;return n+i},c.prototype.writeIntBE=function(t,n,i,r){if(t=+t,n|=0,!r){var e=Math.pow(2,8*i-1);k(this,t,n,i,e-1,-e)}var o=i-1,s=1,u=0;for(this[n+o]=255&t;0<=--o&&(s*=256);)t<0&&0===u&&0!==this[n+o+1]&&(u=1),this[n+o]=(t/s>>0)-u&255;return n+i},c.prototype.writeInt8=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[n]=255&t,n+1},c.prototype.writeInt16LE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8):T(this,t,n,!0),n+2},c.prototype.writeInt16BE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>8,this[n+1]=255&t):T(this,t,n,!1),n+2},c.prototype.writeInt32LE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[n]=255&t,this[n+1]=t>>>8,this[n+2]=t>>>16,this[n+3]=t>>>24):x(this,t,n,!0),n+4},c.prototype.writeInt32BE=function(t,n,i){return t=+t,n|=0,i||k(this,t,n,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[n]=t>>>24,this[n+1]=t>>>16,this[n+2]=t>>>8,this[n+3]=255&t):x(this,t,n,!1),n+4},c.prototype.writeFloatLE=function(t,n,i){return M(this,t,n,!0,i)},c.prototype.writeFloatBE=function(t,n,i){return M(this,t,n,!1,i)},c.prototype.writeDoubleLE=function(t,n,i){return N(this,t,n,!0,i)},c.prototype.writeDoubleBE=function(t,n,i){return N(this,t,n,!1,i)},c.prototype.copy=function(t,n,i,r){if(i||(i=0),r||0===r||(r=this.length),n>=t.length&&(n=t.length),n||(n=0),0<r&&r<i&&(r=i),r===i)return 0;if(0===t.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-n<r-i&&(r=t.length-n+i);var e,o=r-i;if(this===t&&i<n&&n<r)for(e=o-1;0<=e;--e)t[e+n]=this[e+i];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(e=0;e<o;++e)t[e+n]=this[e+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),n);return o},c.prototype.fill=function(t,n,i,r){if("string"==typeof t){if("string"==typeof n?(r=n,n=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),1===t.length){var e=t.charCodeAt(0);e<256&&(t=e)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(n<0||this.length<n||this.length<i)throw new RangeError("Out of range index");if(i<=n)return this;var o;if(n>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(o=n;o<i;++o)this[o]=t;else{var s=c.isBuffer(t)?t:B(new c(t,r).toString()),u=s.length;for(o=0;o<i-n;++o)this[o+n]=s[o%u]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function B(t,n){var i;n=n||1/0;for(var r=t.length,e=null,o=[],s=0;s<r;++s){if(55295<(i=t.charCodeAt(s))&&i<57344){if(!e){if(56319<i){-1<(n-=3)&&o.push(239,191,189);continue}if(s+1===r){-1<(n-=3)&&o.push(239,191,189);continue}e=i;continue}if(i<56320){-1<(n-=3)&&o.push(239,191,189),e=i;continue}i=65536+(e-55296<<10|i-56320)}else e&&-1<(n-=3)&&o.push(239,191,189);if(e=null,i<128){if((n-=1)<0)break;o.push(i)}else if(i<2048){if((n-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((n-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function F(t){return r.toByteArray(function(t){var n;if((t=(n=t,n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,n,i,r){for(var e=0;e<r&&!(e+i>=n.length||e>=t.length);++e)n[e+i]=t[e];return e}}).call(this,n(14))},function(t,n){"function"==typeof Object.create?t.exports=function(t,n){t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}},function(n,t,i){(function(f){function t(t,n){this.v=new f(t),this.w=n,this.y=t,this.b=0,this.g=0}t.prototype.update=function(t,n){"string"==typeof t&&(t=new f(t,n=n||"utf8"));for(var i=this.b+=t.length,r=this.g||0,e=0,o=this.v;r<i;){for(var s=Math.min(t.length,e+this.y-r%this.y)-e,u=0;u<s;u++)o[r%this.y+u]=t[u+e];e+=s,(r+=s)%this.y==0&&this._(o)}return this.g=r,this},t.prototype.digest=function(t){var n=8*this.b;this.v[this.b%this.y]=128,this.v.fill(0,this.b%this.y+1),n%(8*this.y)>=8*this.w&&(this._(this.v),this.v.fill(0)),this.v.writeInt32BE(n,this.y-4);var i=this._(this.v)||this.j();return t?i.toString(t):i},t.prototype._=function(){throw new Error("_update must be implemented by subclass")},n.exports=t}).call(this,i(0).Buffer)},function(o,t,s){(function(n){var t=s(1),i=s(2),E=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=new Array(64);function e(){this.init(),this.A=r,i.call(this,64,56)}t(e,i),e.prototype.init=function(){return this.O=1779033703,this.R=3144134277,this.k=1013904242,this.T=2773480762,this.x=1359893119,this.S=2600822924,this.M=528734635,this.N=1541459225,this},e.prototype._=function(t){for(var n,i,r,e,o,s,u,f=this.A,a=0|this.O,h=0|this.R,c=0|this.k,d=0|this.T,l=0|this.x,v=0|this.S,w=0|this.M,p=0|this.N,m=0;m<16;++m)f[m]=t.readInt32BE(4*m);for(;m<64;++m)f[m]=0|(((i=f[m-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10)+f[m-7]+(((n=f[m-15])>>>7|n<<25)^(n>>>18|n<<14)^n>>>3)+f[m-16];for(var y=0;y<64;++y){var b=p+(((u=l)>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+((s=w)^l&(v^s))+E[y]+f[y]|0,g=0|(((o=a)>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((r=a)&(e=h)|c&(r|e));p=w,w=v,v=l,l=d+b|0,d=c,c=h,h=a,a=b+g|0}this.O=a+this.O|0,this.R=h+this.R|0,this.k=c+this.k|0,this.T=d+this.T|0,this.x=l+this.x|0,this.S=v+this.S|0,this.M=w+this.M|0,this.N=p+this.N|0},e.prototype.j=function(){var t=new n(32);return t.writeInt32BE(this.O,0),t.writeInt32BE(this.R,4),t.writeInt32BE(this.k,8),t.writeInt32BE(this.T,12),t.writeInt32BE(this.x,16),t.writeInt32BE(this.S,20),t.writeInt32BE(this.M,24),t.writeInt32BE(this.N,28),t},o.exports=e}).call(this,s(0).Buffer)},function(o,t,s){(function(n){var t=s(1),i=s(2),tt=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],r=new Array(160);function e(){this.init(),this.A=r,i.call(this,128,112)}function nt(t,n,i){return i^t&(n^i)}function it(t,n,i){return t&n|i&(t|n)}function rt(t,n){return(t>>>28|n<<4)^(n>>>2|t<<30)^(n>>>7|t<<25)}function et(t,n){return(t>>>14|n<<18)^(t>>>18|n<<14)^(n>>>9|t<<23)}function ot(t,n){return t>>>0<n>>>0?1:0}t(e,i),e.prototype.init=function(){return this.I=1779033703,this.U=3144134277,this.B=1013904242,this.F=2773480762,this.C=1359893119,this.K=2600822924,this.z=528734635,this.$=1541459225,this.L=4089235720,this.P=2227873595,this.D=4271175723,this.J=1595750129,this.G=2917565137,this.q=725511199,this.Z=4215389547,this.H=327033209,this},e.prototype._=function(t){for(var n,i,r,e,o,s,u,f,a=this.A,h=0|this.I,c=0|this.U,d=0|this.B,l=0|this.F,v=0|this.C,w=0|this.K,p=0|this.z,m=0|this.$,y=0|this.L,b=0|this.P,g=0|this.D,E=0|this.J,_=0|this.G,j=0|this.q,A=0|this.Z,O=0|this.H,R=0;R<32;R+=2)a[R]=t.readInt32BE(4*R),a[R+1]=t.readInt32BE(4*R+4);for(;R<160;R+=2){var k=a[R-30],T=a[R-30+1],x=((u=k)>>>1|(f=T)<<31)^(u>>>8|f<<24)^u>>>7,S=((o=T)>>>1|(s=k)<<31)^(o>>>8|s<<24)^(o>>>7|s<<25);k=a[R-4],T=a[R-4+1];var M=((r=k)>>>19|(e=T)<<13)^(e>>>29|r<<3)^r>>>6,N=((n=T)>>>19|(i=k)<<13)^(i>>>29|n<<3)^(n>>>6|i<<26),I=a[R-14],U=a[R-14+1],B=a[R-32],F=a[R-32+1],C=S+U|0,K=x+I+ot(C,S)|0;K=(K=K+M+ot(C=C+N|0,N)|0)+B+ot(C=C+F|0,F)|0,a[R]=K,a[R+1]=C}for(var z=0;z<160;z+=2){K=a[z],C=a[z+1];var $=it(h,c,d),L=it(y,b,g),P=rt(h,y),D=rt(y,h),J=et(v,_),G=et(_,v),q=tt[z],Z=tt[z+1],H=nt(v,w,p),V=nt(_,j,A),W=O+G|0,Y=m+J+ot(W,O)|0;Y=(Y=(Y=Y+H+ot(W=W+V|0,V)|0)+q+ot(W=W+Z|0,Z)|0)+K+ot(W=W+C|0,C)|0;var Q=D+L|0,X=P+$+ot(Q,D)|0;m=p,O=A,p=w,A=j,w=v,j=_,v=l+Y+ot(_=E+W|0,E)|0,l=d,E=g,d=c,g=b,c=h,b=y,h=Y+X+ot(y=W+Q|0,W)|0}this.L=this.L+y|0,this.P=this.P+b|0,this.D=this.D+g|0,this.J=this.J+E|0,this.G=this.G+_|0,this.q=this.q+j|0,this.Z=this.Z+A|0,this.H=this.H+O|0,this.I=this.I+h+ot(this.L,y)|0,this.U=this.U+c+ot(this.P,b)|0,this.B=this.B+d+ot(this.D,g)|0,this.F=this.F+l+ot(this.J,E)|0,this.C=this.C+v+ot(this.G,_)|0,this.K=this.K+w+ot(this.q,j)|0,this.z=this.z+p+ot(this.Z,A)|0,this.$=this.$+m+ot(this.H,O)|0},e.prototype.j=function(){var r=new n(64);function t(t,n,i){r.writeInt32BE(t,i),r.writeInt32BE(n,i+4)}return t(this.I,this.L,0),t(this.U,this.P,8),t(this.B,this.D,16),t(this.F,this.J,24),t(this.C,this.G,32),t(this.K,this.q,40),t(this.z,this.Z,48),t(this.$,this.H,56),r},o.exports=e}).call(this,s(0).Buffer)},function(t,n,i){i(6).activate()},function(t,n,e){var o=e(7),h={},s={},c="Pinterest Tag Error: ",d="Pinterest Tag Warning: ",i="https://ct.pinterest.com",u=i+"/v3/",f=i+"/user/",a="cb",r="aem",l="aem_country",v=[r],w=["aem_fn","aem_ln"],p=["aem_ph"],m=["aem_ge"],y=["aem_db"],b=["aem_ct","aem_st","aem_zp",l],g="em",E=["fn","ln","ph","ge","db","ct","st","zp","country","external_id"],_=["pagevisit","viewcategory","search","addtocart","checkout","watchvideo","signup","lead","custom","externalmeasurement"],j="_epik",A="_derived_epik",O="Epik",R="epik_localstore",k="pin_unauth",T="Pin-Unauth",x="_pin_unauth",S="Content-Type",M=365,N=["load","page","set","track","setConsent"],I="input[type=email],input[type=username],input[type=userid],input[name=username],input[name=userid],input[autocomplete=username],input[autocomplete=userid],input[autocomplete=email]",U=/^[a-f0-9]{64}$/i,B=/^[a-f0-9]{40}$/i,F=/^[a-f0-9]{32}$/i,C=/^https?:\/\/.*\.(pinterest|pinterdev)\.com$/i,K=/^[\w.!#$%&'*+\-\/=?\^`{|}~]+@[a-z\d\-]+(\.[a-z\d\-]+)+$/i,z=/(.+)/,$=/^[0-9 \-+\(\)\/]*$/,L=/^(?:m|male|f|female|nb|non[._-]?binary)$/i,P=/^[0-9\- ]*$/,D=/^[0-3]?[0-9]\/[0-3]?[0-9]\/(?:[0-9]{2})?[0-9]{2}$/,J=/(.+)/,G=/\D+/g;h.V=JSON&&JSON.stringify,h.W=!0;var q="aemEnabled",Z="aemFnLnEnabled",H="aemPhEnabled",V="aemGeEnabled",W="aemDbEnabled",Y="aemLocEnabled",Q="aem_enabled",X="md_frequency",tt="epik_iframe_enabled",nt="em",it=[{tagConfigKey:q,pdConfigKey:Q,pdKeyList:v,helperList:[{helperFunction:xt,fieldRegex:/e[-_.]?mail/i}]},{tagConfigKey:Z,pdConfigKey:"aem_fnln_enabled",pdKeyList:w,helperList:[{helperFunction:function(){h.Y(this.value,z,"aem_fn",Z,"fn",!1)},fieldRegex:/(?=^(?!.*(credit|pass|last|^l[._-]?name|name[._-]?l|family|sur)).*$)(.*name)/i},{helperFunction:function(){h.Y(this.value,z,"aem_ln",Z,"ln",!1)},fieldRegex:/(?=^(?!.*(credit|pass|first|^f[._-]?name|name[._-]?f|full|display|your|given|fore|user)).*$)(.*last[._-]?name|.*family[._-]?name|.*sur[._-]?name|^l[._-]?name|.*name[._-]?l)/i}]},{tagConfigKey:H,pdConfigKey:"aem_ph_enabled",pdKeyList:p,helperList:[{helperFunction:function(){h.Y(this.value,$,"aem_ph",H,"ph",!1,G)},fieldRegex:/tele|callback|cell|phone|mobile/i}]},{tagConfigKey:V,pdConfigKey:"aem_ge_enabled",pdKeyList:m,helperList:[{helperFunction:function(){h.Y(this.value,L,"aem_ge",V,"ge")},fieldRegex:/gender/i}]},{tagConfigKey:W,pdConfigKey:"aem_db_enabled",pdKeyList:y,helperList:[{helperFunction:function(){h.Y(this.value,D,"aem_db",W,"db",!1)},fieldRegex:/birthday|birthdate|dob/i}]},{tagConfigKey:Y,pdConfigKey:"aem_loc_enabled",pdKeyList:b,helperList:[{helperFunction:function(){h.Y(this.value,J,"aem_ct",Y,"ct",!1)},fieldRegex:/city/i},{helperFunction:function(){h.Y(this.value,J,"aem_st",Y,"st",!1)},fieldRegex:/state|province/i,selectScrapingEnabled:!0},{helperFunction:function(){h.Y(this.value,P,"aem_zp",Y,"zp",!1)},fieldRegex:/postal|post[._-]?code|zip/i},{helperFunction:function(){h.Y(this.value,J,l,Y,"country",!1)},fieldRegex:/country/i,selectScrapingEnabled:!0}]}];function rt(t){if(t.origin===window.origin||C.test(t.origin)){var n=t.data;n&&"PINTEREST_TAG_TEST"===n.type&&t.source.postMessage({type:"PINTEREST_TAG_TEST_ACK",tagId:window.pintrk.tagId,tagEmValid:window.pintrk.partnerData&&window.pintrk.partnerData.em?"24aba99b2defbb47ee981b4200313f61f3ae31541d8717bdac1e463c838939b0"!==window.pintrk.partnerData.em:void 0},t.origin)}}function et(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ot(t,n,i){null!=n&&typeof n!=i&&console.error(c+"Expected '%s' to be a %s, but found '%s'",t,i,n)}function st(t){return!0===t||1==t||"string"==typeof t&&"true"==et(t).toLowerCase()}function ut(t){return"string"==typeof t?et(t):"number"==typeof t&&t%1==0?et(String(t)):(ot("Pinterest Tag ID",t,"string"),null)}function ft(t,n,i){var r=n||vt(t);if(r){var e={};e[i]=r,wt(e)}}function at(t){if(!window.pintrk.cookieLoaded){window.pintrk.cookieLoaded=!0;var n=window.pintrk.partnerData||{};if(Object.keys(n).indexOf("fp_cookie")<0||n.fp_cookie){var i=function(t){if(0==Object.keys(s).length){var n=e(8);s=n.parse(window.location.search)}return s[t]}("epik")||vt(j);i&&lt(j,i),ft(j,i,"epik"),ft(x,null,k);var r=t.slice(0);window.pintrk.partnerData&&r.push(["pd",window.pintrk.partnerData]),function(t){t.push([a,h.Q()]);var n=h.X(f,h.tt(t));h.nt(n,!0,dt)}(r),ft(A,null,"derived_epik")}else ht(j),ht(A),ht(x),At(R)}}function ht(t){document.cookie=t+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}function ct(){var t=this.getResponseHeader(S);if(t&&t.includes("application/json")){var n=void 0;try{n=JSON.parse(this.responseText).xff,window.pintrk.piaa=n}catch(t){}}}function dt(){lt(A,this.getResponseHeader(O)),lt(x,this.getResponseHeader(T)),ft(x,this.getResponseHeader(T),k);var t,n,i=this.getResponseHeader(S);if(i&&i.includes("application/json")){var r={};try{r=JSON.parse(this.responseText)}catch(t){}n=r,"complete"==document.readyState?Tt(n,it):window.addEventListener("load",function(){Tt(n,it)});var e=void 0!==h.it.mdFrequency?h.it.mdFrequency:r.mdFrequency;if(e&&Math.random()<e&&h.md(),r.ecmOriginTrialToken&&"string"==typeof r.ecmOriginTrialToken&&10<=r.ecmOriginTrialToken.length&&h.rt(r.ecmOriginTrialToken),void 0===h.it.epikIframeEnabled)gt(r.epikIframeEnabled);t=r.piaaEndPoint,window.pintrk.piaa&&6<window.pintrk.piaa.length||t&&10<t.length&&h.nt(t,!1,ct)}}function lt(t,n){if(n){var i=new Date;i.setDate(i.getDate()+M);var r=window.location.hostname.replace("www.","");document.cookie=t+"="+n+"; expires="+i.toUTCString()+"; path=/; domain=."+r+";"}}function vt(t){for(var n={},i=document.cookie.split("; "),r=0;r<i.length;r++){var e=i[r].indexOf("="),o=[i[r].substring(0,e),i[r].substring(e+1)];2==o.length&&(n[o[0]]=o[1])}return n[t]}function wt(t){var n=window.pintrk.partnerData||{};window.pintrk.partnerData=function(t,n){var i={};for(var r in t)i[r]=t[r];for(var r in n)i[r]=n[r];return i}(n,t)}function pt(t){return void 0===t?t:(t=et(t.toString().toLowerCase()),U.test(t)||B.test(t)||F.test(t)?t:e(12)("sha256").update(t).digest("hex"))}function mt(t){g in t&&(t[g]=pt(t[g]))}function yt(t,n){return!(!t||"string"!=typeof t||!n.test(t))}function bt(t){if(t&&"object"==typeof t){mt(t),e=t,E.forEach(function(t){t in e&&(e[t]=pt(e[t]))});var n=t[tt];void 0!==n&&(gt(n),delete t[tt]),r=t,"complete"==document.readyState?Ot(r,it):window.addEventListener("load",function(){Ot(r,it)});var i=t[X];void 0!==i&&(ot(X,i,"number"),h.it.mdFrequency=i,delete t[X]),wt(t)}var r,e}function gt(t){var n=st(t);(h.it.epikIframeEnabled=n)?(window.addEventListener("message",_t),"complete"===document.readyState?Et():window.addEventListener("load",Et)):At(R)}function Et(){var t=document.createElement("iframe");t.id="epik_localstore",t.src="https://www.pinterest.com/ct.html",t.width=1,t.height=1,t.style.display="none",document.body.appendChild(t)}function _t(t){var n;if("https://www.pinterest.com"==t.origin&&"_epik_localstore"===t.data.key){if(t.data.value){var i={};try{i=JSON.parse(t.data.value)}catch(t){}var r=i.expiry?i.expiry:0,e=i.value;if(r>(new Date).getTime()&&e){var o={};o[R]=e,wt(o)}}null!=(n=document.getElementById("epik_localstore"))&&null!=n.parentNode&&n.parentNode.removeChild(n)}}function jt(t,n,i){var r=st(n);if(!r)for(var e=0;e<i.length;e++)At(i[e]);h.it[t]=r}function At(t){window.pintrk&&window.pintrk.partnerData&&window.pintrk.partnerData[t]&&delete window.pintrk.partnerData[t]}function Ot(t,n){for(var i=[],r=0;r<n.length;r++){var e=t[n[r].pdConfigKey];void 0!==e&&(jt(n[r].tagConfigKey,e,n[r].pdKeyList),n[r].pdConfigKey===Q&&Rt(),At(n[r].pdConfigKey),delete t[n[r].pdConfigKey],i.push(n[r]))}kt(i,"input"),kt(i,"select")}function Rt(){for(var t=document.querySelectorAll(I),n=0;n<t.length;n++)t[n].addEventListener("focusout",xt)}function kt(t,n){for(var i=document.getElementsByTagName(n),r=0;r<i.length;r++)for(var e=0;e<t.length;e++)for(var o=t[e].helperList,s=0;s<o.length;s++)"input"===n?yt(i[r].name,o[s].fieldRegex)&&i[r].addEventListener("focusout",o[s].helperFunction):"select"===n&&o[s].selectScrapingEnabled&&yt(i[r].name,o[s].fieldRegex)&&i[r].addEventListener("change",o[s].helperFunction)}function Tt(t,n){for(var i=[],r=0;r<n.length;r++){var e=n[r].tagConfigKey;void 0===h.it[e]&&(jt(e,t[e],n[r].pdKeyList),n[r].pdConfigKey===Q&&Rt(),i.push(n[r]))}kt(i,"input"),kt(i,"select")}function xt(){h.Y(this.value,K,r,q,nt,!0)}h.it={aemEnabled:void 0,aemFnLnEnabled:void 0,aemPhEnabled:void 0,aemGeEnabled:void 0,aemDbEnabled:void 0,aemLocEnabled:void 0,mdFrequency:void 0,epikIframeEnabled:void 0},h.nt=function(t,n,i){if(h.W){var r=new window.XMLHttpRequest;r.open("GET",t,!0),r.withCredentials=n,r.callback=i,r.arguments=Array.prototype.slice.call(arguments,2),r.onload=function(){this.callback.apply(this,this.arguments)},r.onerror=function(){console.error(this.statusText)},r.send(null)}},h.rt=function(t){var n=document.createElement("meta");n.httpEquiv="origin-trial",n.content=t,document.head.appendChild(n)},h.Y=function(t,n,i,r,e,o,s){if(t&&"string"==typeof t&&n.test(t.trim().toLowerCase())){if(s&&(t=t.replace(s,"")),o){var u=window.pintrk.partnerData&&window.pintrk.partnerData[i]?window.pintrk.partnerData[i]:[];u.push(pt(t)),t=u.filter(function(t,n,i){return i.indexOf(t)===n})}else t=pt(t.trim().toLowerCase());h.it[r]&&(pdKeyObject={},pdKeyObject[i]=t,wt(pdKeyObject));var f=window.pintrk.partnerData&&window.pintrk.partnerData.aem_eligible_list?window.pintrk.partnerData.aem_eligible_list:[];f.push(e),wt({aem_eligible_list:f.filter(function(t,n,i){return i.indexOf(t)===n})})}},h.et=function(t){return t=t||0,100*Math.random()<t},h.activate=function(){if(window.pintrk&&window.pintrk.queue){window.pintrk.version||(window.pintrk.version="3.0");var t=window.pintrk.queue;if(t.push===Array.prototype.push){for(var n=function(t){var n=(t=function(t){if("0"in t&&!(t instanceof Array)){for(var n=[],i=0;i.toString()in t;)n.push(t[i.toString()]),i++;t=n}return t}(t)).shift();"string"==typeof n?(n=et(n.toLowerCase()),h[n]?h[n](t):console.error(c+"'%s' is not a supported pintrk command. Expected one of [%s]",n,N.toString())):ot("pintrk command",n,"string")},i=t.length,r=0;r<i;r++)n(t.shift());t.push=n,window!==window.parent&&window.addEventListener("message",rt)}}},h.load=function(t){var n=ut(t[0]);n&&(window.pintrk.tagId&&console.error(c+"'load' command was called multiple times.  Previously for tag id '%s', now for tag id '%s'.",window.pintrk.tagId,n),window.pintrk.tagId=n),bt(t[1])},h.setconsent=function(t){h.W=st(t[0])},h.set=function(t){bt(t[0])},h.page=function(t){var n=[],i=window.pintrk.tagId;if(i){n.push(["tid",i]);var r=t[0];r&&("object"==typeof r?(mt(r),n.push(["ov",r])):console.warn(d+"Unexpected value passed to page command. Please consult the Pinterest Tag Guide for correct notation.")),at(n),window.pintrk.partnerData&&n.push(["pd",window.pintrk.partnerData]),n.push(["event","init"]),h.ot(n)}else console.error(c+"'page' command was called without first calling the 'load' command.  Forthcoming Pinterest tag events may fail.")},h.track=function(t){var n=[],i=t[0];i&&"string"==typeof i?(i=et(i),-1===_.indexOf(i.toLowerCase())&&console.warn(d+"'%s' is not a standard event name. You may use it to build audiences, but conversion reporting will not be available. Standard event names are: [%s]",i,_.toString()),n.push(["event",i])):ot("eventName",i,"string");var r,e,o=t[1];if(o&&"object"==typeof o){void 0===o.value||isNaN(o.value)||(o.value=Number(o.value)),ot("value",o.value,"number"),r="order_quantity",null==(e=o.order_quantity)||Number(e)==e&&e%1==0||console.error(c+"Expected '%s' to be an integer, but found '%s'",r,e);var s=function(t){var n={};for(var i in t)"string"==typeof t[i]&&/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Za-z]{2}|com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum)\b/.test(t[i])?n[i]=pt(t[i]):n[i]=t[i];return n}(o);n.push(["ed",s])}else ot("eventData",o,"object");var u=t[2];"function"!=typeof u&&(ot("callback",u,"function"),u=null);var f=ut(t[3]);if(f||(f=window.pintrk.tagId),!f)return console.error(c+"'load' command was not called before 'track'.  Did you install the base code?"),u&&u(!1,"The Pinterest Tag ID is missing."),0;n.push(["tid",et(String(f))]);var a=t[4];return a&&"object"==typeof a&&(mt(a),n.push(["ov",a])),at(n),window.pintrk.partnerData&&n.push(["pd",window.pintrk.partnerData]),h.ot(n,u),0},h.md=function(t){try{var n=window.performance.now(),i=o.getMetadata(),r=1e3*(window.performance.now()-n);i.aux={micro_s:Math.round(r)},i.tid=window.pintrk.tagId;var e=new window.XMLHttpRequest;e.open("POST","https://ct.pinterest.com/md/",!0),e.callback=t&&t[0],e.onload=function(){this.callback&&this.callback.apply(this)},e.setRequestHeader("Content-Type","text/plain"),e.send(JSON.stringify(i))}catch(t){}},h.ot=function(t,n){if(h.W){var i,r=h.st(),e=(i="attribution-reporting",!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime)&&!!document.featurePolicy&&!!document.featurePolicy.allowedFeatures()&&document.featurePolicy.allowedFeatures().includes(i));r.ecm_enabled=e,t.push(["ad",r]),t.push([a,h.Q()]),window.pintrk.piaa&&6<window.pintrk.piaa.length&&t.push(["piaa",window.pintrk.piaa]);var o=h.tt(t),s=h.X(u,o);s.length<2048?h.ut(s,n):h.ft(o,n)}else n&&n(!1,"No consent")},h.Q=function(){return(new Date).getTime()},h.X=function(t,n){for(var i=t+"?",r=[],e=0;e<n.length;e++)r.push(n[e][0]+"="+encodeURIComponent(n[e][1]));return i+r.join("&")},h.tt=function(t){for(var n=[],i=0;i<t.length;i++){var r=t[i][1];"object"==typeof r?h.V&&n.push([t[i][0],JSON.stringify(r)]):n.push([t[i][0],r])}return n},h.st=function(){var t=null,n=null;screen&&(t=screen.height,n=screen.width);var i={loc:location.href,ref:document.referrer,if:window.top!==window,sh:t,sw:n};return window.pintrk.mh&&(i.mh=window.pintrk.mh),i},h.at=function(n,i){var t=function t(){n.detachEvent?n.detachEvent("onload",t):n.onload=null,i()};n.attachEvent?n.attachEvent("onload",t):n.onload=t},h.ut=function(t,n){var i=document.createElement("img");return i.src=t,h.at(i,function(){n&&n(!0)}),i},h.ft=function(i,r){var e=document.createElement("form");e.method="post",e.action=u,e.acceptCharset="utf-8",e.style.display="none";var t="pintrk"+h.Q();e.target=t;var n=!(!window.attachEvent||window.addEventListener)?'<iframe name="'+t+'">':"iframe",o=document.createElement(n);o.src="",o.id=t,o.name=t,e.appendChild(o);h.at(o,function(){for(var t=0;t<i.length;t++){var n=document.createElement("input");n.name=i[t][0],n.value=i[t][1],e.appendChild(n)}h.at(o,function(){e.parentNode.removeChild(e),r&&r(!0)}),e.submit()});var s=function(){document.body.appendChild(e)};return"complete"===document.readyState?s():h.at(window,s),e},t.exports=h},function(t,n){var i={},r=["person"];function e(t,n,i){void 0!==i&&(t[n]=i)}function c(t,n){if(!n)return t.outerHTML;var i=t.cloneNode(!1);return i.innerHTML=n,i.outerHTML}i.getMetadata=function(){var n={};try{e(n,"urls",this.ht()),e(n,"meta",this.ct()),e(n,"sdo",this.dt())}catch(t){n.e={name:t.name,msg:t.message}}return n},i.ht=function(){var t={loc:window.location.href},n=document.querySelector('head link[rel="canonical"]');n&&n.getAttribute("href")&&(t.canonical=n.getAttribute("href"));for(var i=document.querySelectorAll("head link[rel='alternate'][hreflang]"),r={},e=0;e<i.length;e++){var o=i[e],s=o.getAttribute("hreflang"),u=o.getAttribute("href");u&&s&&(r[s]=u)}return 0<Object.keys(r).length&&(t.hreflang=r),t},i.ct=function(){for(var t={},n=document.querySelectorAll("meta[property]"),i="",r=0;r<n.length;r++){var e=n[r],o=e.getAttribute("property");"string"==typeof o&&o.startsWith("og:")&&(i+=e.outerHTML)}return i&&(t.og=i),0<Object.keys(t).length?t:void 0},i.dt=function(){var t={};return e(t,"jsonld",this.lt()),e(t,"md",this.vt()),0<Object.keys(t).length?t:void 0},i.lt=function(){for(var t=document.querySelectorAll('script[type="application/ld+json"]'),n=[],i=0;i<t.length;i++){var r=t[i];if(this.wt(r.innerHTML))try{var e=JSON.parse(r.innerHTML);e=this.pt(e),n.push(c(r,JSON.stringify(e)))}catch(t){n.push(r.outerHTML)}}return 0<n.length?n:void 0},i.vt=function(){for(var t=document.querySelectorAll("[itemscope]"),n=[],i=new Set,r=0;r<t.length;r++){var e=t[r];if(!i.has(e)){i.add(e);var o=e.getAttribute("itemtype");if(this.wt(o))if(this.mt(o))n.push('<meta itemscope="" itemtype="'+o+'" content="ph">');else{var s=e.querySelectorAll("[itemprop]"),u=[];u.push({element:e,htmlContent:""});for(var f=0;f<s.length;f++){for(var a=s[f];0<u.length&&!u[u.length-1].element.contains(a);)this.yt(u);if(a.hasAttribute("itemscope"))i.add(a),u.push({element:a,htmlContent:""});else u[u.length-1].htmlContent+=a.outerHTML}for(;1<u.length;)this.yt(u);if(1==u.length){var h=u[0];n.push(c(h.element,h.htmlContent))}}}}return 0<n.length?n:void 0},i.wt=function(t){return!(!t||"string"!=typeof t||!t.toLowerCase().includes("schema.org"))},i.pt=function(t){if(this.mt(t["@type"]))return{"@type":t["@type"],ph:!0};for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];t[r]&&"object"==typeof t[r]&&(t[r]=this.pt(t[r]))}return t},i.mt=function(t){if(!t||"string"!=typeof t)return!1;t=t.trim().toLowerCase();for(var n=0;n<r.length;n++)if(t.includes(r[n]))return!0;return!1},i.yt=function(t){if(1<t.length){var n=t.pop(),i=n.element.getAttribute("itemtype"),r="";r=this.mt(i)?'<meta itemscope="" itemtype="'+i+'" content="ph">':c(n.element,n.htmlContent),t[t.length-1].htmlContent+=r}},t.exports=i},function(t,n,i){"use strict";var r=i(9),s=i(10),u=i(11);function f(t,n){return n.encode?n.strict?r(t):encodeURIComponent(t):t}n.extract=function(t){var n=t.indexOf("?");return-1===n?"":t.slice(n+1)},n.parse=function(t,n){var e=function(t){var r;switch(t.arrayFormat){case"index":return function(t,n,i){r=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),r?(void 0===i[t]&&(i[t]={}),i[t][r[1]]=n):i[t]=n};case"bracket":return function(t,n,i){r=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),r?void 0!==i[t]?i[t]=[].concat(i[t],n):i[t]=[n]:i[t]=n};default:return function(t,n,i){void 0!==i[t]?i[t]=[].concat(i[t],n):i[t]=n}}}(n=s({arrayFormat:"none"},n)),o=Object.create(null);return"string"!=typeof t?o:(t=t.trim().replace(/^[?#&]/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=n.shift(),r=0<n.length?n.join("="):void 0;r=void 0===r?null:u(r),e(u(i),r,o)}),Object.keys(o).sort().reduce(function(t,n){var i=o[n];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?t[n]=function t(n){return Array.isArray(n)?n.sort():"object"==typeof n?t(Object.keys(n)).sort(function(t,n){return Number(t)-Number(n)}).map(function(t){return n[t]}):n}(i):t[n]=i,t},Object.create(null))):o},n.stringify=function(r,e){var o=function(r){switch(r.arrayFormat){case"index":return function(t,n,i){return null===n?[f(t,r),"[",i,"]"].join(""):[f(t,r),"[",f(i,r),"]=",f(n,r)].join("")};case"bracket":return function(t,n){return null===n?f(t,r):[f(t,r),"[]=",f(n,r)].join("")};default:return function(t,n){return null===n?f(t,r):[f(t,r),"=",f(n,r)].join("")}}}(e=s({encode:!0,strict:!0,arrayFormat:"none"},e));return r?Object.keys(r).sort().map(function(n){var t=r[n];if(void 0===t)return"";if(null===t)return f(n,e);if(Array.isArray(t)){var i=[];return t.slice().forEach(function(t){void 0!==t&&i.push(o(n,t,i.length))}),i.join("&")}return f(n,e)+"="+f(t,e)}).filter(function(t){return 0<t.length}).join("&"):""}},function(t,n,i){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},function(t,n,i){"use strict";var f=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var n={},i=0;i<10;i++)n["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(t){return n[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,n){for(var i,r,e=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),o=1;o<arguments.length;o++){for(var s in i=Object(arguments[o]))a.call(i,s)&&(e[s]=i[s]);if(f){r=f(i);for(var u=0;u<r.length;u++)h.call(i,r[u])&&(e[r[u]]=i[r[u]])}}return e}},function(t,n,i){"use strict";var r="%[a-f0-9]{2}",e=new RegExp(r,"gi"),u=new RegExp("("+r+")+","gi");function o(t,n){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;n=n||1;var i=t.slice(0,n),r=t.slice(n);return Array.prototype.concat.call([],o(i),o(r))}function f(n){try{return decodeURIComponent(n)}catch(t){for(var i=n.match(e),r=1;r<i.length;r++)i=(n=o(i,r).join("")).match(e);return n}}t.exports=function(n){if("string"!=typeof n)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof n+"`");try{return n=n.replace(/\+/g," "),decodeURIComponent(n)}catch(t){return function(t){for(var n={"%FE%FF":"��","%FF%FE":"��"},i=u.exec(t);i;){try{n[i[0]]=decodeURIComponent(i[0])}catch(t){var r=f(i[0]);r!==i[0]&&(n[i[0]]=r)}i=u.exec(t)}n["%C2"]="�";for(var e=Object.keys(n),o=0;o<e.length;o++){var s=e[o];t=t.replace(new RegExp(s,"g"),n[s])}return t}(n)}}},function(t,i,n){(i=t.exports=function(t){t=t.toLowerCase();var n=i[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n(13),i.sha1=n(18),i.sha224=n(19),i.sha256=n(3),i.sha384=n(20),i.sha512=n(4)},function(o,t,s){(function(n){var t=s(1),i=s(2),m=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function e(){this.init(),this.A=r,i.call(this,64,56)}t(e,i),e.prototype.init=function(){return this.O=1732584193,this.R=4023233417,this.k=2562383102,this.T=271733878,this.x=3285377520,this},e.prototype._=function(t){for(var n,i,r,e,o,s,u=this.A,f=0|this.O,a=0|this.R,h=0|this.k,c=0|this.T,d=0|this.x,l=0;l<16;++l)u[l]=t.readInt32BE(4*l);for(;l<80;++l)u[l]=u[l-3]^u[l-8]^u[l-14]^u[l-16];for(var v=0;v<80;++v){var w=~~(v/20),p=0|((s=f)<<5|s>>>27)+(r=a,e=h,o=c,0===(i=w)?r&e|~r&o:2===i?r&e|r&o|e&o:r^e^o)+d+u[v]+m[w];d=c,c=h,h=(n=a)<<30|n>>>2,a=f,f=p}this.O=f+this.O|0,this.R=a+this.R|0,this.k=h+this.k|0,this.T=c+this.T|0,this.x=d+this.x|0},e.prototype.j=function(){var t=new n(20);return t.writeInt32BE(0|this.O,0),t.writeInt32BE(0|this.R,4),t.writeInt32BE(0|this.k,8),t.writeInt32BE(0|this.T,12),t.writeInt32BE(0|this.x,16),t},o.exports=e}).call(this,s(0).Buffer)},function(Gw,Hw){var Iw;Iw=function(){return this}();try{Iw=Iw||Function("return this")()||eval("this")}catch(t){"object"==typeof window&&(Iw=window)}Gw.exports=Iw},function(t,n,i){"use strict";n.byteLength=function(t){var n=l(t),i=n[0],r=n[1];return 3*(i+r)/4-r},n.toByteArray=function(t){for(var n,i=l(t),r=i[0],e=i[1],o=new d((a=r,h=e,3*(a+h)/4-h)),s=0,u=0<e?r-4:r,f=0;f<u;f+=4)n=c[t.charCodeAt(f)]<<18|c[t.charCodeAt(f+1)]<<12|c[t.charCodeAt(f+2)]<<6|c[t.charCodeAt(f+3)],o[s++]=n>>16&255,o[s++]=n>>8&255,o[s++]=255&n;var a,h;2===e&&(n=c[t.charCodeAt(f)]<<2|c[t.charCodeAt(f+1)]>>4,o[s++]=255&n);1===e&&(n=c[t.charCodeAt(f)]<<10|c[t.charCodeAt(f+1)]<<4|c[t.charCodeAt(f+2)]>>2,o[s++]=n>>8&255,o[s++]=255&n);return o},n.fromByteArray=function(t){for(var n,i=t.length,r=i%3,e=[],o=0,s=i-r;o<s;o+=16383)e.push(f(t,o,s<o+16383?s:o+16383));1===r?(n=t[i-1],e.push(u[n>>2]+u[n<<4&63]+"==")):2===r&&(n=(t[i-2]<<8)+t[i-1],e.push(u[n>>10]+u[n>>4&63]+u[n<<2&63]+"="));return e.join("")};for(var u=[],c=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,o=r.length;e<o;++e)u[e]=r[e],c[r.charCodeAt(e)]=e;function l(t){var n=t.length;if(0<n%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=n),[i,i===n?0:4-i%4]}function f(t,n,i){for(var r,e,o=[],s=n;s<i;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(u[(e=r)>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]);return o.join("")}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,n){n.read=function(t,n,i,r,e){var o,s,u=8*e-r-1,f=(1<<u)-1,a=f>>1,h=-7,c=i?e-1:0,d=i?-1:1,l=t[n+c];for(c+=d,o=l&(1<<-h)-1,l>>=-h,h+=u;0<h;o=256*o+t[n+c],c+=d,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=r;0<h;s=256*s+t[n+c],c+=d,h-=8);if(0===o)o=1-a;else{if(o===f)return s?NaN:1/0*(l?-1:1);s+=Math.pow(2,r),o-=a}return(l?-1:1)*s*Math.pow(2,o-r)},n.write=function(t,n,i,r,e,o){var s,u,f,a=8*o-e-1,h=(1<<a)-1,c=h>>1,d=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,l=r?0:o-1,v=r?1:-1,w=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(u=isNaN(n)?1:0,s=h):(s=Math.floor(Math.log(n)/Math.LN2),n*(f=Math.pow(2,-s))<1&&(s--,f*=2),2<=(n+=1<=s+c?d/f:d*Math.pow(2,1-c))*f&&(s++,f/=2),h<=s+c?(u=0,s=h):1<=s+c?(u=(n*f-1)*Math.pow(2,e),s+=c):(u=n*Math.pow(2,c-1)*Math.pow(2,e),s=0));8<=e;t[i+l]=255&u,l+=v,u/=256,e-=8);for(s=s<<e|u,a+=e;0<a;t[i+l]=255&s,l+=v,s/=256,a-=8);t[i+l-v]|=128*w}},function(t,n){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},function(o,t,s){(function(n){var t=s(1),i=s(2),y=[1518500249,1859775393,-1894007588,-899497514],r=new Array(80);function e(){this.init(),this.A=r,i.call(this,64,56)}t(e,i),e.prototype.init=function(){return this.O=1732584193,this.R=4023233417,this.k=2562383102,this.T=271733878,this.x=3285377520,this},e.prototype._=function(t){for(var n,i,r,e,o,s,u,f=this.A,a=0|this.O,h=0|this.R,c=0|this.k,d=0|this.T,l=0|this.x,v=0;v<16;++v)f[v]=t.readInt32BE(4*v);for(;v<80;++v)f[v]=(n=f[v-3]^f[v-8]^f[v-14]^f[v-16])<<1|n>>>31;for(var w=0;w<80;++w){var p=~~(w/20),m=0|((u=a)<<5|u>>>27)+(e=h,o=c,s=d,0===(r=p)?e&o|~e&s:2===r?e&o|e&s|o&s:e^o^s)+l+f[w]+y[p];l=d,d=c,c=(i=h)<<30|i>>>2,h=a,a=m}this.O=a+this.O|0,this.R=h+this.R|0,this.k=c+this.k|0,this.T=d+this.T|0,this.x=l+this.x|0},e.prototype.j=function(){var t=new n(20);return t.writeInt32BE(0|this.O,0),t.writeInt32BE(0|this.R,4),t.writeInt32BE(0|this.k,8),t.writeInt32BE(0|this.T,12),t.writeInt32BE(0|this.x,16),t},o.exports=e}).call(this,s(0).Buffer)},function(s,t,u){(function(n){var t=u(1),i=u(3),r=u(2),e=new Array(64);function o(){this.init(),this.A=e,r.call(this,64,56)}t(o,i),o.prototype.init=function(){return this.O=3238371032,this.R=914150663,this.k=812702999,this.T=4144912697,this.x=4290775857,this.S=1750603025,this.M=1694076839,this.N=3204075428,this},o.prototype.j=function(){var t=new n(28);return t.writeInt32BE(this.O,0),t.writeInt32BE(this.R,4),t.writeInt32BE(this.k,8),t.writeInt32BE(this.T,12),t.writeInt32BE(this.x,16),t.writeInt32BE(this.S,20),t.writeInt32BE(this.M,24),t},s.exports=o}).call(this,u(0).Buffer)},function(s,t,u){(function(n){var t=u(1),i=u(4),r=u(2),e=new Array(160);function o(){this.init(),this.A=e,r.call(this,128,112)}t(o,i),o.prototype.init=function(){return this.I=3418070365,this.U=1654270250,this.B=2438529370,this.F=355462360,this.C=1731405415,this.K=2394180231,this.z=3675008525,this.$=1203062813,this.L=3238371032,this.P=914150663,this.D=812702999,this.J=4144912697,this.G=4290775857,this.q=1750603025,this.Z=1694076839,this.H=3204075428,this},o.prototype.j=function(){var r=new n(48);function t(t,n,i){r.writeInt32BE(t,i),r.writeInt32BE(n,i+4)}return t(this.I,this.L,0),t(this.U,this.P,8),t(this.B,this.D,16),t(this.F,this.J,24),t(this.C,this.G,32),t(this.K,this.q,40),r},s.exports=o}).call(this,u(0).Buffer)}]);;
(function(m){if(!m.MunchkinTracker){var h=m.document,p=h.location,C=encodeURIComponent,y=!1,q=null,t=null,D=!1,v=null,E=[],u=function(b,a,c,d){try{var e=function(){try{c.apply(this,arguments)}catch(a){}};b.addEventListener?b.addEventListener(a,e,d||!1):b.attachEvent&&b.attachEvent("on"+a,e);E.push([b,a,e,d])}catch(f){}},U=function(b,a,c,d){try{b.removeEventListener?b.removeEventListener(a,c,d||!1):b.detachEvent&&b.detachEvent("on"+a,c)}catch(e){}},e=function(b){return"undefined"!==typeof b&&null!==
b},F=function(b,a){return b.className.match(RegExp("(\\s|^)"+a+"(\\s|$)"))},V=e(m.XMLHttpRequest)&&e((new m.XMLHttpRequest).withCredentials),s=function(b){var a=null,c;if(e(b))if(0===b.length)a="";else try{a=decodeURIComponent(b)}catch(d){c=b.indexOf("?");if(-1!==c)try{a=decodeURIComponent(b.substr(0,c))+b.substr(c)}catch(g){}e(a)||(a=String(b))}return a},G=function(b,a){var c={},d=e(a)?a:"=",g=b.split("&"),f=g.length,h,n,m;for(h=0;h<f;h+=1)n=g[h].split(d),e(n)&&1<n.length&&(m=n.shift(),n=n.join(d),
c[s(m)]=s(n));return c},H=function(b){try{var a=h.createElement("a");a.href=b;return G(a.search.substr(1))}catch(c){return null}},I=function(b,a){var c=null,d=[];if(e(b))for(c in b)b.hasOwnProperty(c)&&"function"!==typeof b[c]&&null!==b[c]&&d.push(C(c)+(e(a)?a:"=")+C(b[c]));return d.join("&")},J=function(b,a){var c=null;if(e(a)&&e(b))for(c in b)b.hasOwnProperty(c)&&e(a[c])&&(b[c]=a[c])},K=function(b,a,c){var d=b.split("."),g=d.length,f=2;if(e(a))f=a;else if(e(c)&&c)"com"!==d[g-1]&&(a=RegExp("^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"),
4===g&&a.test(b)?f=4:2===d[g-1].length&&1<g&&"co"===d[g-2]&&(f=3));else if(2<d[g-1].length)f=2;else if(2===d[g-1].length)f=3;else return b;for(;d.length>f&&2<d.length;)d.shift();return d.join(".")},w=function(b){var a=h.cookie,c,d,g={id:null,token:null};b=C(b);g.store=function(a,c,d,e){var g=b+"="+I(this,":"),f=new Date;0<a?f.setTime(f.getTime()+864E5*a):f.setTime(f.getTime()-1);g+="; expires="+f.toGMTString();c&&(g+="; path="+c);d&&-1!==d.indexOf(".")&&(g+="; domain="+d);e&&(g+="; secure");h.cookie=
g};if(""!==a)for(a=a.split(";"),c=0;c<a.length;c+=1)if(d=a[c].replace(/^\s+|\s+$/g,""),0===d.indexOf(b+"=")){a=d.substring(b.length+1);c=G(a);e(c.id)&&e(c.token)?J(g,c):J(g,G(a,":"));break}return g},f={customName:null,notifyPrefix:null,wsInfo:null,altIds:[],visitorToken:null,cookieLifeDays:730,clickTime:350,cookieAnon:!0,mkt_tok:null,domainLevel:null,domainSelectorV2:!1,replayDetectLimit:5E3,httpsOnly:!1,asyncOnly:!1,useBeaconAPI:!0,anonymizeIP:!1,apiOnly:!1,externalSource:null,orgId:null,_ecid:null,
_itpMitigationForAll:!1},k=null,l=null,W=m.navigator.cookieEnabled||h.hasOwnProperty("cookie")&&(0<h.cookie.length||-1<(h.cookie="testcookie=test; max-age=10000").indexOf.call(h.cookie,"testcookie=test;")),z=!1,A=[],L=null,X=function(b,a,c){var d=new m.XMLHttpRequest;d.open("GET",b,!0!==a);d.onreadystatechange=function(){2<=d.readyState&&d.abort()};if(a)try{d.timeout=c}catch(e){}try{d.send()}catch(f){}},P=function(b,a,c,d,e){b=b+a+"&"+I(c)+"&"+I(d);f.useBeaconAPI&&window.navigator&&window.navigator.sendBeacon?
window.navigator.sendBeacon(b):(c=(new Date).getTime(),e=!e&&!f.asyncOnly,0===a.indexOf("webevents/visitWebPage?")&&(e=!1),V?X(b,e,f.clickTime):(new m.Image(1,1)).src=b,L=c+f.clickTime)},Y=function(){var b;return function(a,c){var d={x:a.clientX,y:a.clientY,el:c,time:(new Date).getTime()};if(e(b)&&d.x===b.x&&d.y===b.y&&d.el===b.el&&d.time<b.time+f.replayDetectLimit)return!0;b=d;return!1}}(),Q=function(){var b=h.getElementsByName("_mkt_trk"),a=0,c="";e(l)&&(c="id:"+l.id+"&token:"+l.token);for(a=0;a<
b.length;a+=1)"hidden"===b[a].type&&(b[a].value=c)},x=function(b,a,c,d){var g=null,h;h=p.hostname;var m=p.protocol,n="webevents/"+b;if(z){var k;if(k=window.navigator)a:{k=window.navigator.userAgent;if("string"===typeof k&&k){if(0<=k.indexOf("AdsBot")||0<=k.indexOf("Wget")||0<=k.indexOf("msnbot")){k=!0;break a}if(0<=k.indexOf("Mozilla")&&(0<=k.indexOf("slurp")||0<=k.indexOf("bot"))){k=!0;break a}}k=!1}if(!k&&e(l)&&(a._mchId=l.id,a._mchTk=l.token,e(f.mkt_tok)&&(a.mkt_tok=f.mkt_tok),e(f.wsInfo)&&(a._mchWs=
f.wsInfo),"clickLink"===b&&(a._mchCn=e(f.customName)?f.customName:""),a._mchHo=h,a._mchPo=p.port,e(a._mchRu)||(a._mchRu=s(p.pathname)),a._mchPc=m,a._mchVr="161",e(h)&&0!==h.length&&"file:"!==m))for(g in f.anonymizeIP&&(a.aip=1),e(f.externalSource)&&(a._mchEs=f.externalSource),e(v)&&(a._mchEcid=v),n+="?_mchNc="+(new Date).getTime(),P(f.notifyPrefix,n,a,c,d),f.altIds)f.altIds.hasOwnProperty(g)&&(h=f.altIds[g],a._mchId=h,P(f.notifyPrefix.replace(/\w{3}\-\w{3}\-\w{3}\.mktoresp\.com/i,h+".mktoresp.com"),
n,a,c,d))}else A.push(["post",arguments])},R=function(b){var a=b||m.event,c=a.target||a.srcElement,d={},f;f=a.which;var k=a.button;f=e(f)&&(1===f||2===f)||e(k)&&(0===k||1===k||4===k)?!0:!1;if(f&&!a._mchDone){a._mchDone=!0;a=c;f=p.href||p;for(-1<f.indexOf("#")&&(f=f.substring(0,f.indexOf("#")));"A"!==a.tagName&&"AREA"!==a.tagName&&e(a.parentNode);)a=a.parentNode;a===h||a===m||"A"!==a.tagName&&"AREA"!==a.tagName?a=null:(c=a.href.replace(/^\s+|\s+$/g,""),a=e(c)&&0<c.length&&0!==c.indexOf("#")&&0!==c.indexOf(f+
"#")&&0!==c.indexOf("javascript")&&0!==c.indexOf("mailto")&&!F(a,"mchNoDecorate")?a:null);e(a)&&!Y(b,a)&&(d._mchHr=s(a.href),x("clickLink",d))}},B=function(b){if(z){if(null!==l)return l;var a=K(p.hostname,f.domainLevel,f.domainSelectorV2),c=w("_mkto_trk"),d=!1!==f.httpsOnly;if(e(c.id)||f.cookieAnon||b){if(c.id=k,e(c.token)||(e(f.visitorToken)&&"VISITOR_MKTTOK_REPLACE"!==f.visitorToken?c.token=f.visitorToken:c.token="_mch-"+a+"-"+(new Date).getTime()+"-"+(Math.floor(9E4*Math.random())+1E4)),c.store(f.cookieLifeDays,
"/",a,d),d&&(c=w("_mkto_trk")),!d||e(c.id))return l=c,Q(),c}else return null}else A.push(["createTrackingCookie",arguments])},S=function(){B(!0)},Z=function(b){var a=b.onclick;b.onclick="function"===typeof a?function(){S.apply(b,arguments);return a.apply(b,arguments)}:S},M=function(b){var a=K(p.hostname,f.domainLevel,f.domainSelectorV2),c=w("mkto_opt_out"),d=!1!==f.httpsOnly;b?(c.id=!0,c.store(730,"/",a,d),b=w("_mkto_trk"),b.id&&b.store(0,"/",a,d)):c.store(0,"/",a,d)},T=function(){y&&e(t)&&D?window.fetch("https://"+
t+"/getCookie?_mchId="+k+"&_mchTd="+q,{credentials:"include"}).then(function(b){window.localStorage.setItem("_mktoGetCookie_"+k+"_"+q,Date.now());if(b.ok)return b.body;throw Error("status ${response.status}");})["catch"](function(b){window.console.warn("getCookie failed - ",b);window.localStorage.removeItem("_mktoLpDomain_"+k+"_"+q);window.localStorage.removeItem("_mktoSecureLp_"+k);window.localStorage.removeItem("_mktoGetCookie_"+k+"_"+q);t=null})["finally"](N):N()},N=function(){if(!z){z=!0;var b=
B(e(f.mkt_tok)),a,c;c={};for(var d={};0<A.length;)switch(a=A.shift(),a[0]){case "createTrackingCookie":b=B.apply(h,a[1]);break;case "post":x.apply(h,a[1])}if(e(f._ecid))v=f._ecid;else a:{a=f.orgId;if(e(window.Visitor)&&e(a))try{var g=window.Visitor.getInstance(a);if(e(g)){v=a+":"+g.getLocationHint()+":"+g.getMarketingCloudVisitorID();break a}}catch(k){}for(var g=RegExp("AMCV_([A-Za-z0-9]+%40AdobeOrg)=([^;]+)","g"),r,n=[];null!==(r=g.exec(h.cookie));){var q=decodeURIComponent(r[1]),l;e(a)&&q!==a||
null===(l=/MCMID%7C([^%]+)/.exec(r[2]))||(r=/MCAAMLH-[^%]+%7C([0-9]+)/.exec(r[2]),n.push(q+":"+(e(r)?r[1]:"")+":"+l[1]))}v=n.join(";")}if(e(b))f.apiOnly||(c._mchCn=e(f.customName)?f.customName:"",d._mchHa=s(p.hash),d._mchRe=s(h.referrer),d._mchQp=s(p.search.substr(1).replace(/&/g,"__-__")),x("visitWebPage",c,d,!0));else if(!(f.cookieAnon||e(m.Mkto)&&e(m.Mkto.formSubmit))){b=[];c=h.forms;d=c.length;for(l=0;l<d;l+=1)if(F(c[l],"lpeRegForm"))for(g=c[l].elements,n=g.length,a=0;a<n;a+=1)"submit"!==g[a].type||
F(g[a],"mchNoDecorate")||b.push(g[a]);for(c=0;c<b.length;c+=1)Z(b[c])}}},O={CLICK_LINK:"clickLink",VISIT_WEB_PAGE:"visitWebPage",init:function(b,a){if(W&&e(b)&&0!==b.length){k=b;k=k.toUpperCase();var c="",d,g,l;d=H(m.location.toString());var r=null;f.notifyPrefix=p.protocol+"//"+k+".mktoresp.com/";e(a)&&(window.console.debug('Munchkin.init("%s") options:',b,a),J(f,a));e(d)&&(e(d.mkt_tok)&&(f.mkt_tok=d.mkt_tok),e(d.lpview)&&(c=d.lpview),e(d.marketo_opt_out)&&(r=d.marketo_opt_out));if(!e(f.mkt_tok))if(d=
H(h.referrer),e(d.mkt_tok))f.mkt_tok=d.mkt_tok;else if(e(d.enid)&&e(d.type))for(l in d)d.hasOwnProperty(l)&&"enid"!==l&&"type"!==l&&(-1<l.indexOf("mkt_tok")||-1<d[l].indexOf("mkt_tok"))&&(g=H(l+"="+d[l]),e(g.mkt_tok)&&(f.mkt_tok=g.mkt_tok));if("preview"!==c||!/\/lpeditor\/preview$/.test(p.pathname)){if(null===r){if(c=w("mkto_opt_out"),e(c.id)){M(!0);return}}else{if("true"===r){M(!0);return}"false"===r&&M(!1)}l=window.navigator.userAgent.toLowerCase();c=-1<l.indexOf("safari");l=/ version\/([0-9]+.[0-9]+)/.exec(l);
y=c&&l&&12.1<=parseFloat(l[1])||f._itpMitigationForAll;q=K(p.hostname,f.domainLevel,f.domainSelectorV2);t=window.localStorage.getItem("_mktoLpDomain_"+k+"_"+q);e(t)&&-1<h.cookie.indexOf("_mkto_trk=")&&(c=window.localStorage.getItem("_mktoGetCookie_"+k+"_"+q))&&828E5>Date.now()-c&&(y=!1);y&&window.fetch?(D="true"===window.localStorage.getItem("_mktoSecureLp_"+k),e(t)?T():window.fetch(p.protocol+"//"+k+".mktoutil.com/mktoutil/lpDomain?_mchId="+k+"&_mchTd="+q).then(function(a){if(a.ok)return a.json();
throw Error("status ${response.status}");})["catch"](function(a){window.console.warn("getLpDomain failed - ",a)}).then(function(a){e(a)&&e(a.domain)&&(window.localStorage.setItem("_mktoLpDomain_"+k+"_"+q,t=a.domain),window.localStorage.setItem("_mktoSecureLp_"+k,D=a.isSecure))})["finally"](T)):N()}}},munchkinFunction:function(b,a){var c={},d={};switch(b){case "clickLink":e(a.href)&&(c._mchHr=c._mchLr=a.href,x("clickLink",c));break;case "visitWebPage":e(a.url)&&(c._mchRu=a.url),e(a.params)&&(c._mchQp=
a.params),e(a.name)&&(c._mchCn=a.name),d._mchRe=s(h.referrer),x("visitWebPage",c,d)}},createTrackingCookie:function(b){B(b)}};Date.prototype.getTimeAlias=Date.prototype.getTime;u(m,"beforeunload",function(){for(var b;0<E.length;)b=E.shift(),U.apply(this,b);if(e(L)){do b=new Date;while(b.getTimeAlias()<L)}});u(h,"click",R,!0);(function(b){var a=!1,c=!0,d=h.documentElement,e=function(c){"readystatechange"===c.type&&"complete"!==h.readyState||a||(a=!0,b.call(m,c.type||c))},f=null,f=function(){try{d.doScroll("left")}catch(a){m.setTimeout(f,
50);return}e("poll")};if("complete"===h.readyState)b.call(m,"lazy");else{if(h.createEventObject&&d.doScroll){try{c=!m.frameElement}catch(k){}c&&f()}u(h,"DOMContentLoaded",e);u(h,"readystatechange",e);u(m,"load",e)}})(function(){Q();var b=0;if(e(h.links))for(b=0;b<h.links.length;b+=1)u(h.links[b],"click",R,!0)});m.MunchkinTracker=m.Munchkin=O;m.mktoMunchkin=O.init;m.mktoMunchkinFunction=O.munchkinFunction}})(window);
;
!function(e){var r={};function u(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=e,u.c=r,u.d=function(n,t,e){u.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},u.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"e",{value:!0})},u.t=function(t,n){if(1&n&&(t=u(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.e)return t;var e=Object.create(null);if(u.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)u.d(e,r,function(n){return t[n]}.bind(null,r));return e},u.n=function(n){var t=n&&n.e?function(){return n.default}:function(){return n};return u.d(t,"a",t),t},u.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},u.p="",u(u.s=0)}([function(n,t){!function(n,t){var e=n.createElement("script");e.async=!0,e.src="https://s.pinimg.com/ct/lib/main.6ae4a9fc.js";var r=n.getElementsByTagName("script")[0];r.parentNode.insertBefore(e,r),window.pintrk&&(window.pintrk.mh="6ae4a9fc")}(document)}]);;
var Demandbase=window.Demandbase||{};!function(e){"use strict";function t(e){var t=this.constructor;return this.then(function(i){return t.resolve(e()).then(function(){return i})},function(i){return t.resolve(e()).then(function(){return t.reject(i)})})}function i(e){return new this(function(t,i){function n(e,i){if(i&&("object"==typeof i||"function"==typeof i)){var a=i.then;if("function"==typeof a){a.call(i,function(t){n(e,t)},function(i){o[e]={status:"rejected",reason:i};0==--r&&t(o)});return}}o[e]={status:"fulfilled",value:i};0==--r&&t(o)}if(!e||void 0===e.length)return i(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var o=Array.prototype.slice.call(e);if(0===o.length)return t([]);for(var r=o.length,a=0;a<o.length;a++)n(a,o[a])})}function n(e){return Boolean(e&&void 0!==e.length)}function o(){}function r(e,t){return function(){e.apply(t,arguments)}}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0;this._handled=!1;this._value=void 0;this._deferreds=[];g(e,this)}function s(e,t){for(;3===e._state;)e=e._value;if(0!==e._state){e._handled=!0;a._immediateFn(function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null!==i){var n;try{n=i(e._value)}catch(e){c(t.promise,e);return}l(t.promise,n)}else(1===e._state?l:c)(t.promise,e._value)})}else e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if(t instanceof a){e._state=3;e._value=t;u(e);return}if("function"==typeof i){g(r(i,t),e);return}}e._state=1;e._value=t;u(e)}catch(t){c(e,t)}}function c(e,t){e._state=2;e._value=t;u(e)}function u(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,i=e._deferreds.length;t<i;t++)s(e,e._deferreds[t]);e._deferreds=null}function d(e,t,i){this.onFulfilled="function"==typeof e?e:null;this.onRejected="function"==typeof t?t:null;this.promise=i}function g(e,t){var i=!1;try{e(function(e){if(!i){i=!0;l(t,e)}},function(e){if(!i){i=!0;c(t,e)}})}catch(e){if(i)return;i=!0;c(t,e)}}var f=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])};return function(t,i){function n(){this.constructor=t}e(t,i);t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),p=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=a))(function(o,r){function a(e){try{l(n.next(e))}catch(e){r(e)}}function s(e){try{l(n.throw(e))}catch(e){r(e)}}function l(e){e.done?o(e.value):new i(function(t){t(e.value)}).then(a,s)}l((n=n.apply(e,t||[])).next())})},m=this&&this.__generator||function(e,t){function i(e){return function(t){return n([e,t])}}function n(i){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;(r=0,a)&&(i=[2&i[0],a.value]);switch(i[0]){case 0:case 1:a=i;break;case 4:l.label++;return{value:i[1],done:!1};case 5:l.label++;r=i[1];i=[0];continue;case 7:i=l.ops.pop();l.trys.pop();continue;default:if(!(a=l.trys,a=a.length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){l.label=i[1];break}if(6===i[0]&&l.label<a[1]){l.label=a[1];a=i;break}if(a&&l.label<a[2]){l.label=a[2];l.ops.push(i);break}a[2]&&l.ops.pop();l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e];r=0}finally{o=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}var o,r,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},h=setTimeout;a.prototype.catch=function(e){return this.then(null,e)};a.prototype.then=function(e,t){var i=new this.constructor(o);s(this,new d(e,t,i));return i};a.prototype.finally=t;a.all=function(e){return new a(function(t,i){function o(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var s=n.then;if("function"==typeof s){s.call(n,function(t){o(e,t)},i);return}}r[e]=n;0==--a&&t(r)}catch(e){i(e)}}if(!n(e))return i(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var a=r.length,s=0;s<r.length;s++)o(s,r[s])})};a.allSettled=i;a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a(function(t){t(e)})};a.reject=function(e){return new a(function(t,i){i(e)})};a.race=function(e){return new a(function(t,i){if(!n(e))return i(new TypeError("Promise.race accepts an array"));for(var o=0,r=e.length;o<r;o++)a.resolve(e[o]).then(t,i)})};a._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){h(e,0)};a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var e;!function(e){!function(t){t.ads=window.Demandbase.Config.ads||{};t.analytics=window.Demandbase.Config.analytics||{};t.conditions=window.Demandbase.Config.conditions||{};t.content=window.Demandbase.Config.content||{};t.forms=window.Demandbase.Config.forms||{};t.segments=window.Demandbase.Config.segments||{};t.emptyWatchDefault=window.Demandbase.Config.emptyWatchDefault||null;t.hooks=window.Demandbase.Config.hooks||{};t.isInIFrame=window.Demandbase.Config.isInIFrame||null;t.key=window.Demandbase.Config.key||null;t.logging=window.Demandbase.Config.logging||null;t.nonCompanyDefault=window.Demandbase.Config.nonCompanyDefault||null;t.nonWatchDefault=window.Demandbase.Config.nonWatchDefault||null;t.testDomain=window.Demandbase.Config.testDomain||void 0;t.testIp=window.Demandbase.Config.testIp||void 0;t.tokens=window.Demandbase.Config.tokens||{};t.useTestDomain=window.Demandbase.Config.useTestDomain||!1;t.useTestIp=window.Demandbase.Config.useTestIp||!1;t.Advertising=window.Demandbase.Config.Advertising||{};t.AssetReporter=window.Demandbase.Config.AssetReporter||{};t.Content=window.Demandbase.Config.Content||{};t.ErrorReporter=window.Demandbase.Config.ErrorReporter||{};t.Forms=window.Demandbase.Config.Forms||{};t.Google_Analytics=window.Demandbase.Config.Google_Analytics||{};t.Google_TagManager=window.Demandbase.Config.Google_TagManager||{};t.IpApiModule=e.Config.IpApiModule||{};t.SiteOptimization=window.Demandbase.Config.SiteOptimization||{};t.EmailDomainReporter=window.Demandbase.Config.EmailDomainReporter||{};t.isVoltronEnabled=window.Demandbase.Config.isVoltronEnabled||!0;t.SiteCustomization=window.Demandbase.Config.SiteCustomization||{experiences:{}}}(e.Config||(e.Config={}));e.Connectors||(e.Connectors={})}(e||(e={}));var e;!function(e){e.version="9.0.8"}(e||(e={}));var e;!function(e){!function(t){!function(t){function i(e){return void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(g)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):void 0}function n(t){if(-1===e.Shims.indexOf(t,":"))return[t];var i=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,n=i.exec(t.replace(/[\(\)]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]}function o(e,t){void 0===t&&(t=10);if(e)return parseInt(e,t)}function r(t){return t.stack.split("\n").filter(function(e){return!!e.match(g)},this).map(function(t){e.Shims.indexOf(t,"(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var i=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),n=this.extractLocation(i.pop());return{function:i.join(" ")||void 0,file:e.Shims.indexOf(["eval","<anonymous>"],n[0])>-1?void 0:n[0],line:this._parseInt(n[1]),column:this._parseInt(n[2])}},this)}function a(t){return t.stack.split("\n").filter(function(e){return!e.match(f)},this).map(function(t){e.Shims.indexOf(t," > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1"));if(-1===e.Shims.indexOf(t,"@")&&-1===e.Shims.indexOf(t,":"))return{function:t};var i=t.split("@"),n=this.extractLocation(i.pop());return{function:i.join("@")||void 0,file:n[0],line:this._parseInt(n[1]),column:this._parseInt(n[2])}},this)}function s(t){return!t.stacktrace||e.Shims.indexOf(t.message,"\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)}function l(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,i=e.message.split("\n"),n=[],o=2,r=i.length;o<r;o+=2){var a=t.exec(i[o]);a&&n.push({file:a[2],line:this._parseInt(a[1])})}return n}function c(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,i=e.stacktrace.split("\n"),n=[],o=0,r=i.length;o<r;o+=2){var a=t.exec(i[o]);a&&n.push({function:a[3]||void 0,file:a[2],line:this._parseInt(a[1])})}return n}function u(e){return e.stack.split("\n").filter(function(e){return!!e.match(d)&&!e.match(/^Error created at/)},this).map(function(e){var t,i=e.split("@"),n=this.extractLocation(i.pop()),o=i.shift()||"",r=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(t=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));void 0===t||"[arguments not available]"===t||t.split(",");return{function:r,file:n[0],line:this._parseInt(n[1]),column:this._parseInt(n[2])}},this)}var d=/(^|@)\S+\:\d+/,g=/^\s*at .*(\S+\:\d+|\(native\))/m,f=/^(eval@)?(\[native code\])?$/;t.parse=i;t.extractLocation=n;t._parseInt=o;t.parseV8OrIE=r;t.parseFFOrSafari=a;t.parseOpera=s;t.parseOpera9=l;t.parseOpera10=c;t.parseOpera11=u}(t.ErrorStackParser||(t.ErrorStackParser={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));var e;!function(e){!function(e){function t(e,t,i){if(null===e||void 0===e)throw new TypeError("Array.indexOf called on null or undefined");return e.indexOf?e.indexOf(t,i):r(e,t,i)}function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(Object.assign&&"function"==typeof Object.assign)return Object.assign.apply(null,e);if(null===e[0]||void 0===e[0])throw new TypeError("Cannot convert undefined or null to object");return a(e)}function n(e,t){if(e instanceof RegExp)throw new TypeError("First argument must not be a RegExp");void 0===t&&(t=0);return-1!==this.indexOf(e,t)}function o(e){if(Object.keys)return Object.keys(e);if("function"!=typeof e&&("object"!=typeof e||null===e))throw new TypeError("Object.keys called on non-object");return s(e)}function r(e,t,i){var n=e.length>>>0,o=Math.min(0|i,n);if(o<0)o=Math.max(0,n+o);else if(o>=n)return-1;if(void 0===t){for(;o!==n;++o)if(void 0===e[o]&&o in e)return o}else if(t!==t){for(;o!==n;++o)if(e[o]!==e[o])return o}else for(;o!==n;++o)if(e[o]===t)return o;return-1}function a(e){for(var t=Object(e[0]),i=1;i<e.length;i++){var n=e[i];if(null!=n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}function s(e){var t,i,n=Object.prototype.hasOwnProperty,o=!{toString:null}.propertyIsEnumerable("toString"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=r.length,s=[];for(t in e)n.call(e,t)&&s.push(t);if(o)for(i=0;i<a;i++)n.call(e,r[i])&&s.push(r[i]);return s}e.console=window.console||{log:function(){},debug:function(){}};e.JSON=window.JSON||{stringify:function(){},parse:function(){}};e.indexOf=t;e.assign=i;e.includes=n;e.keys=o;e._indexOfPolyfill=r;e._assignPolyfill=a;e._keysPolyfill=s}(e.Shims||(e.Shims={}))}(e||(e={}));var e;!function(e){!function(t){!function(i){function n(t){var i={referrer:document.referrer,page:document.URL,page_title:document.title};if(e.Config.isInIFrame)try{i.page=window.top.document.URL;i.referrer=window.top.document.referrer;i.page_title=window.top.document.title}catch(e){i.page=document.referrer;i.referrer=null;i.page_title="3rd Party iFrame"}i=e.Shims.assign(i,t);return r(i)}function o(e,i){var o=e||t.Constants.URL_IP_API;o+=n(i);return o}function r(e){var t="?";for(var i in e)e.hasOwnProperty(i)&&void 0!==e[i]&&(t+=i+"="+encodeURIComponent(e[i])+"&");t=t.substring(0,t.length-1);return t}i.buildApiParamString=n;i.buildApiUrl=o;i.buildQueryString=r}(t.Api||(t.Api={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,{buildApiParamString:e.Utilities.Api.buildApiParamString,buildApiUrl:e.Utilities.Api.buildApiUrl,buildQueryString:e.Utilities.Api.buildQueryString})}(window);var e;!function(e){!function(t){!function(t){function i(i){for(var n=0;n<t.callbackStack.length;n++)!function(n){var o=t.callbackStack[n];e.ErrorReporter.wrap(function(){o.call(e,i)})()}(n)}function n(t){e.IpApi.CompanyProfile=e.Utilities.flatten(t);this.callback(t)}function o(i){if(-1===e.Shims.indexOf(t.callbackStack,i)){t.callbackStack.push(i);e.IpApi&&e.IpApi.CompanyProfile&&e.ErrorReporter.wrap(function(){i.call(e,e.IpApi.CompanyProfile)})()}}t.callbackStack=[];t.callback=i;t.domScriptCallback=n;t.registerCallback=o}(t.Callbacks||(t.Callbacks={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,{callback:e.Utilities.Callbacks.callback.bind(e.Utilities.Callbacks),registerCallback:e.Utilities.Callbacks.registerCallback.bind(e.Utilities.Callbacks)})}(window);var e;!function(e){!function(t){!function(t){t.QS_USE_TEST_DOMAIN="db_useTestDomain";t.QS_QUERY_DOMAIN="db_domain";t.QS_ENABLE_LOG="db_logging";t.QS_PREVIEW_TOKEN="db_preview_token";t.DFLT_NON_COMPANY="(Non-Company Visitor)";t.DFLT_AW_EMPTY="(AccountWatch Empty)";t.DFLT_NON_AW="(Non-AccountWatch Visitor)";t.DFLT_EVENT_TYPE="click";t.URL_IP_API="api.company-target.com/api/v2/ip.json";t.URL_DOMAIN_API="api.demandbase.com/api/v1/domain.json";t.URL_BW_AD_PIXEL=e.Config.tokens.URL_BW_AD_PIXEL||"match.prod.bidr.io/cookie-sync/demandbase";t.URL_LR_AD_PIXEL=e.Config.tokens.URL_LR_AD_PIXEL||"id.rlcdn.com/464526.gif";t.MODIFICATION_ERROR="SCModificationError";t.PARDOT_VISITOR_COOKIE_REGEX=/^visitor_id[\d]+$/;t.NON_HUMAN_DEVICES=[/adsbot-google/i,/googlebot/i];t.URL_CURRENT=function(){var t=document.URL;e.Config.isInIFrame&&(t=document.referrer);t=encodeURIComponent(t);return t}();t.PROTOCOL="https://"}(t.Constants||(t.Constants={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,{tokens:e.Utilities.Constants})}(window);var e;!function(e){var t=function(){function t(t){void 0===t&&(t={});this.name=t.name||"";this.modify=t.modify||null;this.segments=t.segments||[];this.url=t.url||[];this.modify||(this.modify=function(){e.Utilities.Logging.log("DBContent: modify function not defined")});"string"==typeof this.segments&&(this.segments=[this.segments]);"string"==typeof this.url&&(this.url=[this.url])}t.prototype.run=function(){var t=!1;for(var i in this.url)if(this.url.hasOwnProperty(i)){var n=this.url[i];e.Utilities.isCurrentPage(n)&&(t=!0)}if(t){var o=!1;for(var i in this.segments)if(this.segments.hasOwnProperty(i)){var r=this.segments[i],a=window.Demandbase.Segments[r];void 0!==a&&a&&(o=!0)}if(!o){e.Utilities.Logging.log("DBContent modify "+this.name+" not fired.  Segment "+r);return!1}try{e.Utilities.Logging.log("DBContent: running modify function for: "+this.name);this.modify.call(document)}catch(t){t.name=e.Utilities.Constants.MODIFICATION_ERROR;throw t}return!0}e.Utilities.Logging.log("DBContent modify "+this.name+" not fired. no URL match with: "+this.url);return!1};return t}();e.DBContent=t}(e||(e={}));var e;!function(e){!function(t){function i(t){if(!t)return!1;var i=["name","segments","pages","modify"];if("function"!=typeof t.modify){e.Utilities.Logging.log("DBContentBuilder: invalid type in config.");return!1}for(var n=0;n<i.length;n++)if(void 0===t[i[n]]){e.Utilities.Logging.log("DBContentBuilder: invalid config missing: "+i[n]);return!1}return!0}function n(t){if(i(t)){"string"==typeof t.pages?t.url=[t.pages]:t.url=t.pages;"string"==typeof t.segments&&(t.segments=[t.segments]);return new e.DBContent(t)}return null}t.isValid=i;t.build=n}(e.DBContentBuilder||(e.DBContentBuilder={}))}(e||(e={}));var e;!function(e){!function(t){!function(t){function i(t){var i=!0;if(!o(t)){e.Utilities.Logging.log("Event not added.");return!1}var r=t.type||e.Utilities.Constants.DFLT_EVENT_TYPE,a=t.elements,s=a.constructor;if(s!==HTMLCollection&&s!==NodeList)return n(t.elements,r,t.listener);for(var l in a){var c=!1;if(a.hasOwnProperty(l)){c=n(a[l],r,t.listener);if(!c){i=!1;e.Utilities.Logging.log("Event not added to"+a[l])}}}return i}function n(t,i,n){if(!t){e.Utilities.Logging.log("Event not registered - invalid element/s.");return null}t.jquery&&(t=t[0]);e.Utilities.addEventListener(t,i,n);e.Utilities.Logging.log("Event Listener bind to: "+t+" on event "+i);return!0}function o(t){for(var i=!1,n=["elements","listener"],o=t.elements||null,r=t.listener||null,a=0;a<n.length;a++)if(void 0===t[n[a]]||!t[n[a]]){e.Utilities.Logging.log("Invalid Event object. Missing: "+n[a]);return!1}if("function"!=typeof r){e.Utilities.Logging.log('Invalid Event: "listener" must be a function. Got ('+r+")");return!1}o instanceof Node||o instanceof NodeList||o instanceof HTMLElement||o instanceof HTMLCollection||o instanceof Window||o instanceof Document||"function"==typeof o||void 0!==window.Demandbase.jQuery&&o instanceof window.Demandbase.jQuery?i=!0:e.Utilities.Logging.log("Invalid Event:  element: "+o+' has type: "'+o.constructor+'" which is not proper instance type.');return i}t.add=i;t._attachListener=n;t.isValid=o}(t.Events||(t.Events={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,{events:e.Utilities.Events})}(window);var e;!function(e){!function(t){!function(t){function i(e){n(e)}function n(t){(e.Config.logging||"true"===e.Utilities.getQueryParam(e.Utilities.Constants.QS_ENABLE_LOG))&&e.Shims.console.log("DB: "+t)}t.logging=!1;t.debug=!1;t.alert=i;t.log=n}(t.Logging||(t.Logging={}))}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,{logging:e.Utilities.Logging.logging,debug:e.Utilities.Logging.debug,alert:e.Utilities.Logging.alert.bind(e.Utilities.Logging),log:e.Utilities.Logging.log.bind(e.Utilities.Logging)})}(window);var e;!function(e){!function(t){function i(e,t){var i={};t.cookie.split(";").forEach(function(t){var n=t.split("="),o=n[0].trim();e.test(o)&&n.length>1&&(i[o]=n[1].trim())});return i}function n(e){return document.getElementById(e)||document.getElementsByName(e)[0]||null}function o(e,t,i){e.addEventListener?e.addEventListener(t,i):e.attachEvent&&e.attachEvent(t,i)}function r(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];for(var n=e,o=0,r=t;o<r.length;o++){var a=r[o];if(void 0===n)return;n="function"==typeof a?a(n):n[a]}return n}function a(e){for(var t in e){var i=e[t];if("object"==typeof i&&null!==i&&e.hasOwnProperty(t)){for(var n in i)e[t+"_"+n]=i[n];delete e[t]}}return e}function s(t,i){if(!1===t[i])return"false";for(var n={city:"registry_city",state:"registry_state",zip:"registry_zip_code",country:"registry_country_code",country_name:"registry_country",latitude:"registry_latitude",longitude:"registry_longitude"},o=e.Config.nonCompanyDefault||e.Utilities.Constants.DFLT_NON_COMPANY,r=e.Config.emptyWatchDefault||e.Utilities.Constants.DFLT_AW_EMPTY,a=n[i]||"",s=t[i]||t[a]||o,l=(t.company_name||o)!==o,c=e.Shims.keys(t),u=!1,d=0;d<c.length;d++)if(0===e.Shims.indexOf(c[d],"watch_list_")){u=!0;break}if(-1!==e.Shims.indexOf(i,"watch_list_")&&l){u||(r=e.Config.nonWatchDefault||e.Utilities.Constants.DFLT_NON_AW);s=t[i]||r}return s}function l(e,t){var t=t||window||{location:{search:"",hash:""}},i={},n=t.location.search.substring(1)||t.location.hash&&t.location.hash.split("?")[1];if(!n)return"";for(var o=n.split("&"),r=0;r<o.length;r++){var a=o[r].split("="),s=a[0],l=a[1];i[s]=l}return i[e]||""}function c(t,i,n){void 0===n&&(n="https://");if(t){e._loadedScripts=e._loadedScripts||{};if(!e._loadedScripts[t]){e._loadedScripts[t]=!0;var o=document.createElement("script"),r=document.getElementsByTagName("script")[0];o.async=!0;o.id=i||"";o.src=""+n+t.replace(/(^\/\/)|(^http:\/\/)|(^https:\/\/)/,"");r.parentNode.insertBefore(o,r)}}}function u(){try{return e.Shims.indexOf(window.navigator.userAgent,"MSIE ")>0}catch(e){return!0}}function d(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode(parseInt("0x"+t,16))}))}function g(e,t){return e+" has been deprecated since version "+t}t.getCookiesByRegex=i;t.getElementByIdOrName=n;t.addEventListener=o;t.dig=r;t.flatten=a;t.getAttributeValue=s;t.getQueryParam=l;t.insertScript=c;t.isOldBrowserOrUserAgentUnavailable=u;t.b64EncodeUnicode=d;t.generateDeprecationMessage=g}(e.Utilities||(e.Utilities={}))}(e||(e={}));!function(t){t.Demandbase.utils=t.Demandbase.utils||{};e.Shims.assign(t.Demandbase.utils,t.Demandbase.utils,e.Utilities);e.Shims.assign(t.Demandbase.utils,e.utils,{loadScript:e.Utilities.insertScript,flattenData:e.Utilities.flatten,getAttrValue:e.Utilities.getAttributeValue})}(window);var e;!function(e){!function(t){function i(){return window.top!==window.self}function n(){return document.readyState}function o(){try{if(window.navigator.cookieEnabled){document.cookie="COOKIE_TEST=TEST";if(-1!==e.Shims.indexOf(document.cookie,"COOKIE_TEST=TEST")){document.cookie="COOKIE_TEST=PASSED_TEST";return!0}}return!1}catch(e){return!1}}function r(t){var i=document.location.href;e.Config.isInIFrame&&(i=document.referrer);t&&(i=t);return i}function a(t,i){function n(t){return 0===e.Shims.indexOf(t,"//")?t.substring("//".length,t.length):t.replace(/^.*?:\/\//g,"")}function o(e){return e.replace(/^(www\.)/g,"")}function a(t){-1!==e.Shims.indexOf(t,s,t.length-s.length)&&(t=t.substring(0,t.length-1));-1!==e.Shims.indexOf(t,"/",t.length-"/".length)&&(t=t.substring(0,t.length-1));return t}var s="#",l=document.location.hash,c=document.location.search,u=r(i);if(i){var d=e.Shims.indexOf(i,s);-1===d&&(d=i.length);l=i.substring(e.Shims.indexOf(i,s),i.length);c=i.substring(e.Shims.indexOf(i,"?"),d);u=i}t=n(t);t=o(t);t=a(t);u=n(u);u=o(u);u=a(u);-1===e.Shims.indexOf(t,s)&&-1!==e.Shims.indexOf(u,s)&&(u=u.substring(0,u.length-l.length));-1===e.Shims.indexOf(t,"?")&&-1!==e.Shims.indexOf(u,"?")&&(u=u.substring(0,u.length-c.length));u=a(u);var g=u===t;e.Utilities.Logging.log("utilities.isCurrentPage(): Page check resulted in: "+g);return g}function s(e,t){if(!e)return!1;if(e.length<=0)return!1;"^"!==e[0]&&(e="^"+e);"$"!==e[e.length-1]&&(e+="$");var i=r(t);return new RegExp(e).test(i)}function l(e){try{var t=window[e.toString()];t.setItem("STORAGE_CHECK","STORAGE_CHECK");t.getItem("STORAGE_CHECK");t.removeItem("STORAGE_CHECK");return!0}catch(e){return!1}}function c(e){return e?"#"+e.replace(/(:|\.|\[|\]|,)/g,"\\$1"):null}function u(e,t){for(var i=0;i<t.length;i++)if(p(e,t[i]))return!0;return!1}function d(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function g(e){return e.replace(/[.*+?^${}()|[\]\\\/]/g,"\\$&")}function f(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i]);return t}function p(t,i){return!!i&&(!(i.length>t.length)&&-1!==e.Shims.indexOf(t,i))}t.detectIFrame=i;t.getDocumentReadyState=n;t.isCookieEnabled=o;t.isCurrentPage=a;t.isCurrentPageRegex=s;t.isStorageEnabled=l;t.jqid=c;t.includesAny=u;t.isValidEmail=d;t.escapeRegExp=g;t.nodeListToArray=f}(e.Utilities||(e.Utilities={}))}(e||(e={}));var e;!function(e){var t=function(){function t(e,t,i){this.config=e;this.moduleNameToConstructorMap=t;this.nameSpace=i}t.prototype.build=function(){this._parseConfig()};t.prototype._parseConfig=function(){var t=this;e.Shims.keys(this.config).forEach(function(i){var n=t._testConfigForKey(i);if(n&&3===n.length){var o=n[1],r=t.moduleNameToConstructorMap[o];if(t.nameSpace[i]){e.ErrorReporter.send(new Error("Failed to dynamically create configuration for "+i+" due to previously existing configuration with the same name."));return}if(!r){e.ErrorReporter.send(new Error("No constructor available in moduleNameToConstructor map for module: "+o));return}t.nameSpace[i]=new r(t.config[i]);t.nameSpace[i].isEnabled()&&t.nameSpace[i].initialize()}})};t.prototype._testConfigForKey=function(e){return t.REGEX_CUSTOM_MODULE_NAME.exec(e)};t.REGEX_CUSTOM_MODULE_NAME=/(.*)__(.*)/;return t}();e.ModuleFactory=t}(e||(e={}));var e;!function(e){var t=function(){function t(){this.configuration={}}t.prototype.isEnabled=function(){return this.configuration.enabled};t.prototype.mergeConfigs=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var n;(n=e.Shims).assign.apply(n,[this.configuration].concat(t))};return t}();e.BaseModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.ADVERTISING_PIXEL_ID="ad";n.CONVERSION_PIXEL_ID="cn";n.RETARGETING_PIXEL_ID="rt";n.DEFAULT_CONFIGURATION={enabled:!0,key:null,reportingOnly:!1,enableBW:!0,enableLR:!0};n.configuration={};n.trackConversion=n.trackConversionListener;n.load=n.initialize;n.loadPixels=n.insertPixels;n._loadPixel=n.insertPixel;n._setCampaign=n.loadCampaign;n._setEvents=n.registerEvents;t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.Advertising);t.prototype.mergeConfigs.call(n,i||e.Config.ads);return n}f(i,t);i.prototype.initialize=function(){this.insertPixels();!0===this.configuration.reportingOnly&&this.configuration.key&&this.configuration.key!==e.Config.key&&e.IpApiReportingOnly.get(this.configuration.key,!1)};i.prototype.isConversionPage=function(){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.isConversionPage","8.0.0"))};i.prototype.insertPixels=function(){if(this.configuration.enableBW){e.Utilities.Logging.log("BW pixel enabled");this.insertBWPixel(this.ADVERTISING_PIXEL_ID)}if(this.configuration.enableLR){e.Utilities.Logging.log("LR pixel enabled");this.insertLRPixel(this.ADVERTISING_PIXEL_ID)}};i.prototype.createAndAppendPixel=function(e,t){var i=document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0],n=document.createElement("img");n.setAttribute("style","display:none");n.setAttribute("alt","");n.setAttribute("aria-hidden","true");n.setAttribute("width","0");n.setAttribute("height","0");n.id=e;n.src=t;i.appendChild(n)};i.prototype.insertBWPixel=function(t){var i="db_bw_pixel_"+t,n=e.Utilities.Constants.PROTOCOL+e.Utilities.Constants.URL_BW_AD_PIXEL;this.createAndAppendPixel(i,n)};i.prototype.insertLRPixel=function(t){var i="db_lr_pixel_"+t,n=e.Utilities.Constants.PROTOCOL+e.Utilities.Constants.URL_LR_AD_PIXEL;this.createAndAppendPixel(i,n)};i.prototype.insertPixel=function(t){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.insertPixel","8.0.0"))};i.prototype.loadCampaign=function(){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.loadCampaign","8.0.0"))};i.prototype.registerEvents=function(){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.registerEvents","8.0.0"))};i.prototype.trackConversionListener=function(){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.trackConversionListener","8.0.0"))};i.prototype.virtualPageViewListener=function(){throw new Error(e.Utilities.generateDeprecationMessage("AdvertisingModule.virtualPageViewListener","8.0.0"))};return i}(e.BaseModule);e.AdvertisingModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={enabled:!0,assetList:["api.demandbase.com/autocomplete/widget.js","api.demandbase.com/autocomplete/widget.min.js","autocomplete.demandbase.com/autocomplete/widget.js","autocomplete.demandbase.com/autocomplete/widget.min.js","scripts.demandbase.com/formWidget.js","scripts.demandbase.com/formWidgetDebug.js","scripts.demandbase.com/demandbase-sdk.js","scripts.demandbase.com/demandbase-sdk-debug.js","scripts.demandbase.com/forms.js","scripts.demandbase.com/forms.min.js"]};n.ERROR_MESSAGE_PREFIX="Legacy Asset Detected: ";n.configuration={};n.values={};t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.AssetReporter);return n}f(i,t);i.prototype.initialize=function(){"complete"===e.Utilities.getDocumentReadyState()?this.read():e.Utilities.addEventListener(window,"load",e.ErrorReporter.wrap(this.read.bind(this)))};i.prototype.read=function(){for(var t=this.configuration.assetList.length,i=0;i<t;i++){var n=this.configuration.assetList[i];if(document.querySelector("script[src='"+e.Utilities.Constants.PROTOCOL+n+"']")){this.values[n]=!0;this.send(n)}else this.values[n]=!1}};i.prototype.send=function(t){var i=new Error(this.ERROR_MESSAGE_PREFIX+t);e.ErrorReporter.send(i)};return i}(e.BaseModule);e.AssetReporterModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={enabled:!0};n.configuration={};n.mods={};t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.Content);e.Shims.assign(n.configuration,i||e.Config.content);return n}f(i,t);i.prototype.initialize=function(){e.Utilities.Callbacks.registerCallback(this.callback.bind(this));this.setup()};i.prototype.callback=function(){this.setup();this.modify()};i.prototype.setup=function(){if(void 0!==e.Config.content)for(var t in e.Config.content){var i=e.Config.content[t],n=window.Demandbase.DBContentBuilder.build(i);n&&(this.mods[n.name]=n)}};i.prototype.modify=function(){var t=this;return e.ErrorReporter.wrap(function(){for(var e in t.mods)if(t.mods.hasOwnProperty(e)){var i=t.mods[e],n=i.run();n&&!0}})()};return i}(e.BaseModule);e.ContentModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={enabled:!0,fireOnLoad:!1,formInputSelectors:['input[type="text"]','input[type="email"]'],inputSearchTerms:["email","user","login"]};n.configuration={};n.baseUrl="https://segments.company-target.com";n.activeSetTimeout=0;t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.EmailDomainReporter);return n}f(i,t);i.prototype.initialize=function(){this.configuration.fireOnLoad&&this.sendDataIfAlreadyPresent();this.attachListenersIfDocumentReady()};i.prototype.sendDataIfAlreadyPresent=function(){var t=this,i=this.suspectedEmailInputs();i.length<1||i.forEach(function(i){var n=i.value;if(e.Utilities.isValidEmail(n)){var o=n.split("@")[1].toLowerCase();t.send(o)}})};i.prototype.attachListenersIfDocumentReady=function(){var t=this;"loading"!==e.Utilities.getDocumentReadyState()?this.suspectedEmailInputs().forEach(function(i){i.addEventListener("input",function(){var n=i.value;if(e.Utilities.isValidEmail(n)){var o=n.split("@")[1].toLowerCase();window.clearTimeout(t.activeSetTimeout);t.activeSetTimeout=window.setTimeout(function(){t.send(o)},400)}})}):document.addEventListener("DOMContentLoaded",this.attachListenersIfDocumentReady.bind(this))};i.prototype.suspectedEmailInputs=function(){var t=this;return e.Utilities.nodeListToArray(document.querySelectorAll(this.configuration.formInputSelectors.join(","))).map(function(e){return e}).filter(function(i){var n=i.name.toLowerCase(),o=i.id.toLowerCase(),r=t.configuration.inputSearchTerms;return!!e.Utilities.includesAny(n,r)||!!e.Utilities.includesAny(o,r)})};i.prototype.send=function(t){var i;window.XMLHttpRequest?i=new XMLHttpRequest:window.ActiveXObject&&(i=new ActiveXObject("Microsoft.XMLHTTP"));var n=e.Config.key||e.Utilities.dig(e.Config,"analytics","key")||e.Utilities.dig(e.Config,"ads","key")||e.Utilities.dig(e.Config,"forms","key")||"",o=e.Utilities.b64EncodeUnicode("vendor=mariposa&p1="+t+"&token="+n),r=this.baseUrl+"/l/"+o;try{i.open("GET",r)
;i.withCredentials=!0;i.setRequestHeader("Content-type","application/json");i.send()}catch(e){throw e}};i.prototype.responseHandler=function(e){};return i}(e.BaseModule);e.EmailDomainReporterModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.VERSION="0.0.0";n.PROJECT_ID="141580";n.PROJECT_KEY="9a0a3519e930259f5886a7af53b0ccaa";n.SENTRY_PROJECT_ID="1190150";n.SENTRY_PUBLIC_KEY="3c9d467f8a9d4295b0f8320ae852091d";n.DEFAULT_CONFIGURATION={environment:"production",ignorableErrors:[]};n.configuration={};n.additionalErrorDetails={};t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.ErrorReporter);return n}f(i,t);i.prototype.initialize=function(){};i.prototype.send=function(t){if(!(e.Shims.indexOf(this.configuration.ignorableErrors,t.name)>-1||e.Shims.indexOf(this.configuration.ignorableErrors,t.message)>-1)){var i;window.XMLHttpRequest?i=new XMLHttpRequest:window.ActiveXObject&&(i=new ActiveXObject("Microsoft.XMLHTTP"));var n="https://sentry.io/api/"+this.SENTRY_PROJECT_ID+"/store/?sentry_version=7&sentry_key="+this.SENTRY_PUBLIC_KEY;try{i.open("POST",n,!0);i.setRequestHeader("Content-type","text/plain;charset=UTF-8");i.send(this.formatMessage(t,!0))}catch(e){}}};i.prototype.wrap=function(t){var i=this;if("function"!=typeof t)throw new Error("Invalid Function: "+t);return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];try{if(void 0!==t&&"function"==typeof t.apply)return t.apply(i,n)}catch(t){i.send(t);e.Utilities.Logging.alert("Error: "+t+"\n"+t.stack)}}};i.prototype.formatMessage=function(t,i){void 0===i&&(i=!1);var n=this.parseError(t),o=this.parseContext(),r=this.parseEnviroment(),a=this.parseSession(),s=this.parseParams(),l=this.additionalErrorDetails;if(i){var c=this.formatErrorForSentry(n);return e.Shims.JSON.stringify({logger:o.notifier.name,platform:"javascript",release:o.version,environment:o.environment,request:{url:o.url},contexts:{browser:{userAgent:o.userAgent}},tags:{clientId:r.config.clientId},extra:{readyState:o.readyState,config:r.config,companyProfile:a,additionalErrorDetails:l},exception:{values:[c]}})}return e.Shims.JSON.stringify({errors:[n],context:o,environment:r,session:a,params:s})};i.prototype.formatErrorForSentry=function(e){for(var t=[],i=0,n=e.backtrace;i<n.length;i++){var o=n[i];t.push({function:o.function,filename:o.file,lineno:o.line,colno:o.column})}return{type:e.type,value:e.message,stacktrace:{frames:t}}};i.prototype.parseError=function(t){return{type:t.name,message:t.message,backtrace:e.Utilities.ErrorStackParser.parse(t)}};i.prototype.parseContext=function(){return{notifier:{name:"ErrorReporterModule",version:this.VERSION},environment:this.configuration.environment,version:e.version,url:window.location.href,userAgent:navigator.userAgent,rootDirectory:window.location.origin,readyState:document.readyState}};i.prototype.parseEnviroment=function(){return{config:e.Utilities.dig(e,"Config")}};i.prototype.parseSession=function(){return{companyProfile:e.Utilities.dig(e,"IP","CompanyProfile")}};i.prototype.parseParams=function(){return{}};return i}(e.BaseModule);e.ErrorReporterModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(e){var i=t.call(this)||this;i.FORMS_REMOTE_MODULE_URL="tag.demandbase.com/shared/forms_b7b07bd880.min.js";i.DEFAULT_CONFIGURATION={enabled:void 0,emailID:null,emailFields:[]};i.configuration={};i.inserted=!1;i.setConfiguration(e);return i}f(i,t);i.prototype.initialize=function(){e.Utilities.Callbacks.registerCallback(this.whenReady.bind(this))};i.prototype.whenReady=function(){this.isMktoForms2Installed()?window.MktoForms2.whenReady(e.ErrorReporter.wrap(this.load.bind(this))):this.load()};i.prototype.load=function(){var t=!1;if("function"==typeof e.Config.isFormPage){t=e.Config.isFormPage();this.setConfiguration();t=e.Config.isFormPage()}else t=this.isFormPage();t&&!this.inserted&&this.insertForms()};i.prototype.isFormPage=function(){var t=this.configuration.emailFields;this.configuration.emailID&&t.push(this.configuration.emailID);for(var i=0;i<t.length;i++)if(e.Utilities.getElementByIdOrName(t[i]))return!0;return!1};i.prototype.isMktoForms2Installed=function(){return void 0!==window.MktoForms2&&void 0!==window.MktoForms2.whenReady};i.prototype.insertForms=function(){this.inserted=!0;e.Connectors.initWebForm=this.initializeWebForm;e.Utilities.insertScript(e.FormsLoader.FORMS_REMOTE_MODULE_URL,"db_form_module")};i.prototype.initializeWebForm=function(t){t=t||e.Config.forms||e.Config.Forms||{};window.Demandbase.Connectors.WebForm.connect(t)};i.prototype.setConfiguration=function(i){t.prototype.mergeConfigs.call(this,this.DEFAULT_CONFIGURATION,i||e.Config.Forms);void 0===this.configuration.enabled&&void 0!==e.Config.Forms&&(this.configuration.enabled=!0);t.prototype.mergeConfigs.call(this,this.DEFAULT_CONFIGURATION,i||e.Config.forms);void 0===this.configuration.enabled&&void 0!==e.Config.forms&&(this.configuration.enabled=!0)};return i}(e.BaseModule);e.FormsLoaderModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.SO_REMOTE_MODULE_URL="https://tag.demandbase.com/shared/siteOptimization_b7b07bd880.min.js";n.REMOTE_STYLESHEET_URL="https://tag.demandbase.com/shared/siteOptimization_b7b07bd880.css";n.DEFAULT_CONFIGURATION={additionalClass:null,backgroundColorClass:null,closedTitle:"Recommended Content",companyProfile:null,cssFileURL:n.REMOTE_STYLESHEET_URL,delay:0,enabled:void 0,fadeIn:0,fontColor:null,fontName:null,googleAnalyticsTrackerName:null,isGoogleAnalyticsEnabled:!1,isRippleAnimation:!0,isSwitchersDots:!0,isSwitchersArrows:!1,itemBackgroundColor:null,mainClass:"defaultBlock",openByDefault:!1,openTitle:null,recommendationApiURL:"https://site-optimization-api.company-target.com/recommend/",recommendationCompanyName:null,recommendationCompanyId:null,recommendationKey:null,recommendationsProtocol:"forceHTTPS",recommendationUrl:window.location.href,showCloseButton:!0,showCompanyName:!0,showFeedbackLink:!1,showIndicatorArrows:!0,showLogo:!0,showLogoWhenClosed:!0,showLogoWhenOpen:!1,showOnlyOnScroll:!1,showTitleWhenClosed:!0,showTitleWhenOpen:!0,switcherArrowsColor:"#444",state:{openedRecommendationBlock:null},widgetBackgroundColor:null,widgetContainerId:null};n.configuration={};n.inserted=!1;t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.SiteOptimization);n.configuration.recommendationKey=e.Config.key;return n}f(i,t);i.prototype.initialize=function(){e.Utilities.Callbacks.registerCallback(this.callback.bind(this))};i.prototype.callback=function(e){this.configuration.companyProfile=e;this.insertSiteOptimization()};i.prototype.insertSiteOptimization=function(){this.inserted=!0;e.Utilities.insertScript(e.SiteOptimizationLoader.SO_REMOTE_MODULE_URL,"db_site_optimization_module")};return i}(e.BaseModule);e.SiteOptimizationLoaderModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={enabled:!0,events:null,fieldMap:null,googleAnalyticsClassicScope:2,trackerName:null,trackerId:null};n.configuration={};n.gType="";n._cEvent=n.sendEvent;t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.Google_Analytics);t.prototype.mergeConfigs.call(n,i||e.Config.analytics);return n}f(i,t);i.prototype.initialize=function(){this._detectG();this._setTrackerName();this.configuration.fieldMap&&"{}"!==e.Shims.JSON.stringify(this.configuration.fieldMap)&&e.Utilities.Callbacks.registerCallback(this.callback.bind(this));this._setEvents()};i.prototype.sendEvent=function(t,i,n){"ga"===this.gType?this._trackEvent(t,i,n):window.ga(function(){e.Connectors.Google_Analytics._sendEvent(t,i,n)});e.Utilities.Logging.log("Sent Custom Event:"+t+"/"+i+"/"+n)};i.prototype._setTrackerName=function(){var e=this;if(!this.configuration.trackerName){var t=void 0!==window.ga;if(void 0!==window._gat&&"function"==typeof window._gat._getTrackers){var i=_gat._getTrackers();if(void 0!==i.length&&i.length>0){if(this.configuration.trackerId)for(var n=0;n<i.length;n++)if(i[n]._getName().length>0){var o=i[n]._getName();if(i[n]._getAccount()===this.configuration.trackerId&&!this.configuration.trackerName){this.configuration.trackerName=o;return}}var r=i[0]||null;if(r&&"function"==typeof r._getName){var a=r._getName()||null;this.configuration.trackerName||(this.configuration.trackerName=a)}}}t&&window.ga(function(){var t=window.ga.getAll()||[];if(e.configuration.trackerId)for(var i=0;i<t.length;i++){var n=t[i],o=n.get("name");if(n.get("trackingId")===e.configuration.trackerId){e.configuration.trackerName=o;return}}if(void 0!==t.length&&t.length>0){var n=t[0]||null;if(n&&"function"==typeof n.get){var r=n.get("name")||null;e.configuration.trackerName=r}}})}};i.prototype.callback=function(t){try{if(!t)throw new Error("Error - no data passed to callback");var i=e.Connectors.Google_Analytics;i._detectG();i._setTrackerName();for(var n in i.configuration.fieldMap)if(i.configuration.fieldMap.hasOwnProperty(n)){var o=+n,r=i.configuration.fieldMap[n],a=e.Utilities.getAttributeValue(t,r);i._var(o,r,a.toString())}i.sendEvent("Demandbase","API Resolution","IP API")}catch(t){e.Utilities.Logging.log("GA Error: "+t+"\n"+t.stack);e.Connectors.Google_Analytics.sendEvent("Demandbase","API Resolution","Callback Error")}};i.prototype._detectG=function(){if(window._gaq){this.gType="ga";_gaq.push(["_addDevId","NE7T9"])}else this.gType=null;this._setGaObject();try{window.ga(function(){e.Connectors.Google_Analytics.gType="ua"})}catch(t){e.Connectors.Google_Analytics.gType="ua"}e.Utilities.Logging.log("Detected Google version: "+this.gType)};i.prototype._sendEvent=function(e,t,i){var n=this.configuration.trackerName?this.configuration.trackerName+".send":"send";window.ga(n,"event",{eventCategory:e,eventAction:t,eventLabel:i,nonInteraction:!0})};i.prototype._setCustomDimension=function(e,t){var i=this.configuration.trackerName?this.configuration.trackerName+".set":"set";window.ga(i,"dimension"+e,t)};i.prototype._setCustomVariable=function(e,t,i){var n=this.configuration.trackerName?this.configuration.trackerName+"._setCustomVar":"_setCustomVar",o=this.configuration.googleAnalyticsClassicScope||2;window._gaq.push([n,e>>0,t,i,o])};i.prototype._setEvents=function(){var t=this.configuration.events||[];if(t)for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];if(n.data){var o=n.data.category||"",r=n.data.action||"",a=n.data.label||"";void 0===n.listener&&o&&r&&a?n.listener=function(){e.Connectors.Google_Analytics.sendEvent(o,r,a);e.Utilities.Logging.log("Event listener ran")}:o&&r&&a||e.Utilities.Logging.log("Need to define a custom listener function or set data with category/action/label")}e.Utilities.Events.add(n)}};i.prototype._setGaObject=function(){if(void 0===window.ga){window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)};window.ga.l=+new Date}};i.prototype._trackEvent=function(e,t,i){var n=this.configuration.trackerName?this.configuration.trackerName+"._trackEvent":"_trackEvent";window._gaq.push([n,e,t,i,0,1])};i.prototype._var=function(t,i,n){"ga"===this.gType?this._setCustomVariable(t,i,n):window.ga(function(){e.Connectors.Google_Analytics._setCustomDimension(t,n)});e.Utilities.Logging.log(t+" "+i+" : "+n)};return i}(e.BaseModule);e.BaseGoogle_AnalyticsModule=t}(e||(e={}));var e;!function(e){var t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}f(t,e);t.prototype.getTrackerInfo=function(){var e=[],t=[];if(void 0!==window._gaq&&void 0!==window._gat&&"function"==typeof window._gat._getTrackers){window._gat._getTrackers().forEach(function(t){t._getName().length>0&&e.push({type:"classic",trackerId:t._getAccount(),name:t._getName()})})}if(void 0!==window.ga&&void 0!==window.ga.getAll){window.ga.getAll().forEach(function(e){t.push({type:"universal",trackerId:e.get("trackingId"),name:e.get("name")})})}return t.concat(e)};return t}(e.BaseGoogle_AnalyticsModule);e.Google_AnalyticsModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={enabled:!0};n.configuration={};t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,i||e.Config.Google_TagManager);return n}f(i,t);i.prototype.initialize=function(){e.Utilities.Callbacks.registerCallback(this.callback.bind(this))};i.prototype.callback=function(t){e.Connectors.Google_TagManager.pushToDataLayer(t)};i.prototype.pushToDataLayer=function(t,i){if(!window.google_tag_manager||!window.dataLayer||"function"!=typeof dataLayer.push)return!1;var n=i?"_"+i:"";dataLayer.push(t);dataLayer.push({event:"Demandbase_Loaded"+n});e.Utilities.Logging.log("Pushed to GTM dataLayer");return!0};return i}(e.BaseModule);e.Google_TagManagerModule=t}(e||(e={}));var e;!function(e){var t=function(t){function i(i){var n=t.call(this)||this;n.TEST_MODE_ENABLED="db_useTestIp";n.TEST_MODE_VALUE="db_ip";n.API_ENDPOINT="api.company-target.com/api/v2/ip.json";n.DEFAULT_CONFIGURATION={apiKey:null,baseUrl:n.API_ENDPOINT,testModeEnabled:!1,testModeValue:null,masIntegrations:{pardot:!1},enablePardotPolling:!0};n.configuration={};n.initialized=!1;n.pollForPardotStart=0;n.pardotMaxPollWindow=5e3;n.key=n.configuration.apiKey;n.useTestValue=n.configuration.testModeEnabled;n.testValue=n.configuration.testModeValue;n.load=n.get;n._loadOnce=n.getOnce;n.CompanyProfile=void 0;n.isCalled=!1;n.experiences={};try{t.prototype.mergeConfigs.call(n,n.DEFAULT_CONFIGURATION,{apiKey:e.Config.key||e.Utilities.dig(e.Config,"analytics","key")||e.Utilities.dig(e.Config,"ads","key")||e.Utilities.dig(e.Config,"forms","key"),testModeEnabled:e.Utilities.getQueryParam(n.TEST_MODE_ENABLED)||e.Config.useTestIp,testModeValue:e.Utilities.getQueryParam(n.TEST_MODE_VALUE)||e.Config.testIp},i||e.Config.IpApiModule);n.initialized=!0}catch(e){n.initialized=!1}return n}f(i,t);i.prototype.initialize=function(){try{e.Shims.assign(this.configuration,this.configuration,{apiKey:e.Config.key||e.Utilities.dig(e.Config,"analytics","key")||e.Utilities.dig(e.Config,"ads","key")||e.Utilities.dig(e.Config,"forms","key"),testModeEnabled:e.Utilities.getQueryParam(this.TEST_MODE_ENABLED)||e.Config.useTestIp,testModeValue:e.Utilities.getQueryParam(this.TEST_MODE_VALUE)||e.Config.testIp});this.initialized=!0}catch(t){this.initialized=!1;e.ErrorReporter.send(t)}};i.prototype.buildIPAPIParameters=function(t){return p(this,void 0,void 0,function(){var i,n;return m(this,function(o){switch(o.label){case 0:i={query:this.fetchIpAddress(),mas_integrations:void 0,src:"tag"};return document.interestCohort?[4,document.interestCohort()]:[3,2];case 1:n=o.sent();i.cohort_id=n.id;i.cohort_version=n.version;o.label=2;case 2:return e.Config.isVoltronEnabled?[2,e.Shims.assign(i,{auth:t||this.configuration.apiKey})]:[2,e.Shims.assign(i,{key:t||this.configuration.apiKey})]}})})};i.prototype.get=function(t,i){void 0===t&&(t=void 0);void 0===i&&(i=!0);return p(this,void 0,void 0,function(){var n,o,r,a,s=this;return m(this,function(l){switch(l.label){case 0:this.initialized||this.initialize();window.XMLHttpRequest?n=new XMLHttpRequest:window.ActiveXObject&&(n=new ActiveXObject("Microsoft.XMLHTTP"));return n&&!e.Utilities.isOldBrowserOrUserAgentUnavailable()?[3,2]:[4,this.getByDomScript(t,i)];case 1:l.sent();return[2,e.Utilities.Logging.log("IP API query via DOM tag")];case 2:return[4,this.buildIPAPIParameters(t)];case 3:o=l.sent();r=e.Utilities.getQueryParam(e.Utilities.Constants.QS_PREVIEW_TOKEN);r&&(o.preview_token=r);if(!o.key&&!o.auth)return[2,e.Utilities.Logging.log("IP API query cancelled - check auth key.")];a=this.configuration.masIntegrations&&this.configuration.masIntegrations.pardot;a?o.mas_integrations=e.Utilities.b64EncodeUnicode(e.Shims.JSON.stringify({pardot:this.fetchOrPollForPardotCookie()||{}})):e.Utilities.Logging.log("No Pardot integration in config, skipping cookie sync");i&&(n.onreadystatechange=e.ErrorReporter.wrap(function(){s.responseHandler(n)}));try{n.open("GET","https://"+e.Utilities.Api.buildApiUrl(this.configuration.baseUrl,o));void 0!==n.withCredentials&&(n.withCredentials=!0);n.send()}catch(e){if(0!==n.status)throw e;if(!this.isIgnorableDevice())throw new Error("IP API Request Blocked")}return[2]}})})};i.prototype.isIgnorableDevice=function(){for(var t=0;t<e.Utilities.Constants.NON_HUMAN_DEVICES.length;t++)if(e.Utilities.Constants.NON_HUMAN_DEVICES[t].test(window.navigator.userAgent))return!0;return!1};i.prototype.getByDomScript=function(t,i){void 0===t&&(t=void 0);void 0===i&&(i=!0);return p(this,void 0,void 0,function(){var n,o,r,a;return m(this,function(s){switch(s.label){case 0:r=(o=e.Shims).assign;a=[{}];return[4,this.buildIPAPIParameters(t)];case 1:n=r.apply(o,a.concat([s.sent(),{callback:i?"Demandbase.Utilities.Callbacks.domScriptCallback":""}]));if(!n&&!n.auth)return[2,e.Utilities.Logging.log("IP API query cancelled - check auth key.")];e.Utilities.insertScript(e.Utilities.Api.buildApiUrl(this.configuration.baseUrl,n),"db_ip_api");return[2]}})})};i.prototype.getOnce=function(){if(this.isCalled)e.Utilities.Logging.log("IP API call halted. Already called.");else{this.isCalled=!0;this.get()}};i.prototype.fetchIpAddress=function(){if(this.configuration.testModeEnabled)return this.configuration.testModeValue};i.prototype.responseHandler=function(t){if(4===t.readyState&&200===t.status){var i=t.responseText;try{var n=e.Shims.JSON.parse(i);this.parseResponseForExperiences(n);this.CompanyProfile=e.Utilities.flatten(n);e.Utilities.Callbacks.callback(this.CompanyProfile)}catch(n){e.ErrorReporter.additionalErrorDetails={status:t.status,readyState:t.readyState,url:t.responseURL,body:i};throw"string"==typeof i&&i?n:new Error("responseText should be text and not empty")}}};i.prototype.parseResponseForExperiences=function(t){if(t&&t.hasOwnProperty("experiences")){e.Utilities.Logging.log("IpAPI.parseResponseForExperiences(): Experiences present in IP API response.");this.experiences=t.experiences}return this.experiences};i.prototype.fetchOrPollForPardotCookie=function(){if(this.configuration.masIntegrations&&this.configuration.masIntegrations.pardot){var t=e.Utilities.getCookiesByRegex(e.Utilities.Constants.PARDOT_VISITOR_COOKIE_REGEX,document);if("object"==typeof t&&e.Shims.keys(t).length>0){e.Utilities.Logging.log("Found Pardot cookie, including in API request");return t}if(!1!==(this.configuration.enablePardotPolling&&0===this.pollForPardotStart)){e.Utilities.Logging.log("Pardot cookie not found, initiating polling");this.pollForPardotCookie()}}else e.Utilities.Logging.log("No Pardot integration in config, skipping cookie sync")};i.prototype.pollForPardotCookie=function(){var t=this;if(0===this.pollForPardotStart){this.pollForPardotStart=Date.now();e.Utilities.Logging.log("Pardot cookie polling started at "+this.pollForPardotStart)}if(Date.now()-this.pollForPardotStart>this.pardotMaxPollWindow)e.Utilities.Logging.log("Pardot cookie not found within "+this.pardotMaxPollWindow+" ms");else if(this.fetchOrPollForPardotCookie()){e.Utilities.Logging.log("Pardot cookie found, making second API call");this.get(void 0,!1)}else window.setTimeout(function(){t.pollForPardotCookie()},100)};return i}(e.BaseModule);e.IpApiModule=t}(e||(e={}));var e;!function(e){var t=function(t){function n(i){var n=t.call(this)||this;n.DEFAULT_CONFIGURATION={isEnabled:!1,experiences:{}};n.SC_QUERY_PARAMETER_FORCE_FIRE="db_sc_experience_by_id";n.configuration=e.Shims.assign({},n.DEFAULT_CONFIGURATION);n.wrappedExperiences={};n.initialized=!1;t.prototype.mergeConfigs.call(n,n.configuration,n.DEFAULT_CONFIGURATION,e.Config.SiteCustomization,i);return n}f(n,t);n.prototype.isEnabled=function(){return!0===this.configuration.isEnabled||!0===this.configuration.enabled};n.prototype.initialize=function(){if(this.isEnabled()){e.Utilities.Logging.log("SiteCustomization.initialize(): Initializing...");this.setup();e.Utilities.Callbacks.registerCallback(this.callback.bind(this))}else e.Utilities.Logging.log("Site Customization is currently disabled, will not fire.")};n.prototype.callback=function(){if(this.fireExperienceByQueryParameter())e.Utilities.Logging.log("SiteCustomization.callback(): Experience already forced to fire by query parameter!");else{e.Utilities.Logging.log("SiteCustomization.callback(): Invoked! Setting up SC and firing.");this.setup();this.fireSiteCustomization()}};n.prototype.setup=function(t){if(t||!this.initialized){if(void 0!==this.configuration.experiences){var n=this.configuration.experiences||{},o=e.Shims.keys(n)||[];e.Utilities.Logging.log("SiteCustomization.setup(): Wrapping "+o.length+" experiences for setup");for(var r in n){var a=n[r],s=new i(a);s&&(this.wrappedExperiences[s.id]=s)}this.initialized=!0}}else e.Utilities.Logging.log("SiteCustomization.setup(): already initilaized! not running setup again.")};n.prototype.fireSiteCustomization=function(){var t=this;return e.ErrorReporter.wrap(function(){var i=e.IpApi.experiences;e.Utilities.Logging.log("fireSiteCustomization(): Running for IP API experiences: "+JSON.stringify(i));if(!i){e.Utilities.Logging.log("fireSiteCustomization(): Error firing SC experience. IP API response does not contain valid experiences.");return!1}for(var n=Object.keys(i).map(function(e){return i[e]}),o=t.sortExperiencesToFire(n),r=0;r<o.length;r++)if(t.applyExperience(o[r].id))return!0;return!1})()};n.prototype.sortExperiencesToFire=function(t){var i=this;if(!t||!Array.isArray(t)||0===t.length){e.Utilities.Logging.log("sortExperiencesToFire(): No expereinces returned by IP API: "+JSON.stringify(t));return[]}t.sort(function(t,n){var o=i.wrappedExperiences[t.id]?i.wrappedExperiences[t.id].priority:null,r=i.wrappedExperiences[n.id]?i.wrappedExperiences[n.id].priority:null;o&&r||e.Utilities.Logging.log("sortExperiencesToFire(): Warning: priority is not defined "+o+" or "+r);if(o===r||!o||!r){if(!t.updated_at||!n.updated_at){e.Utilities.Logging.log("sortExperiencesToFire(): Warning: updated_at is not defined "+t.updated_at+" or "+n.updated_at);return 0}return new Date(n.updated_at).getTime()-new Date(t.updated_at).getTime()}return r-o});return t};n.prototype.fireExperienceById=function(t){this.setup();e.Utilities.Logging.log("fireExperienceById(): Firing by experience id: "+t);return this.applyExperience(t,!0)};n.prototype.fireExperienceByQueryParameter=function(){var t=e.Utilities.getQueryParam(this.SC_QUERY_PARAMETER_FORCE_FIRE);if(t){e.Utilities.Logging.log("fireExperienceByQueryParameter(): Firing experience id: "+t+" now");this.setup();return this.applyExperience(t,!0)}e.Utilities.Logging.log('fireExperienceByQueryParameter(): Not firing experience id: "'+t+'" as it is not valid');return!1};n.prototype.applyExperience=function(t,i){void 0===i&&(i=!1);e.Utilities.Logging.log("applyExperience(): Requested to apply Experience ID: "+t+" with forceRun of "+i);if(t&&this.wrappedExperiences.hasOwnProperty(t)){var n=this.wrappedExperiences[t];if(n)return i?n.forceRun():n.run();e.Utilities.Logging.log("applyExperience(): Experience ID: "+t+" modobj not truthy: "+JSON.stringify(n));return!1}e.Utilities.Logging.log("applyExperience(): Experience ID: "+t+" not found in "+JSON.stringify(this.wrappedExperiences,null,4));return!1};return n}(e.BaseModule);e.SiteCustomizationModule=t;var i=function(){function t(e){this.exp=e;this.isEnabled=!1;this.priority=null;this.id="";this.name="";this.pages=e.pages||[];this.pages instanceof Array||(this.pages=[this.pages]);this.isEnabled=e.isEnabled||!1;this.name=e.name||"";this.id=e.id||"";this.priority=e.priority||5e3;this.modify=e.modify||function(){}}t.prototype.forceRun=function(){try{e.Utilities.Logging.log("Experience.forceRun: running modify function for: "+this.name);this.modify.call(document);return!0}catch(t){t.name=e.Utilities.Constants.MODIFICATION_ERROR;throw t}};t.prototype.run=function(){if(!this.isEnabled){e.Utilities.Logging.log("Experience.run(): Experience named: "+this.name+" is currently disabled, will not fire.");return!1}if(!this.doesPageMatch()){e.Utilities.Logging.log("Experience.run(): SiteCustomization modify "+this.name+" not fired. no URL match with: "+JSON.stringify(this.pages));return!1}e.Utilities.Logging.log("Experience.run(): Experience named: "+this.name+" url matched and will run.");return this.forceRun()};t.prototype.doesPageMatch=function(){e.Utilities.Logging.log("Experience.doesPageMatch(): Experience named: "+this.name+" checking these URLs: "+JSON.stringify(this.pages));for(var t=0;t<this.pages.length;t++)if(e.Utilities.isCurrentPage(this.pages[t]||""))return!0;return!1};return t}();e.Experience=i}(e||(e={}));var e;!function(e){var t=function(){function t(){}t._callback=function(t){if(t.domain||t.person){t=t.domain||t.person;e.Utilities.flatten(t);this.CompanyProfile=t}else e.Utilities.Logging.log("Demandbase.Domain: No company profile available for domain: "+this.getDomain())};t.load=function(){if("function"==typeof e.Config.getDomain&&void 0!==this.key){var t="",i={};t=this.useTestValue?this.testValue:this.getDomain();i={key:this.key,callback:"Demandbase.Domain._callback",query:t,src:"tag"};e.Utilities.Logging.log("Calling Domain API...");e.Utilities.insertScript(e.Utilities.Api.buildApiUrl(e.Utilities.Constants.URL_DOMAIN_API,i),"db_domain_api")}else e.Utilities.Logging.log("Domain API query cancelled - check auth key or Config.getDomain")};t.getDomain=function(){if(this.useTestValue)return this.testValue;if("function"==typeof e.Config.getDomain)return e.Config.getDomain.call(e.Config);e.Utilities.Logging.log("Warning: Config.getDomain fcn not defined.");return"getDomain function is not defined"};t.key=e.Utilities.dig(e,"Config","key")||e.Utilities.dig(e,"Config","analytics","key")||e.Utilities.dig(e,"Config","ads","key")||e.Utilities.dig(e,"Config","forms","key")||"ERR_NO_AUTH_KEY";t.CompanyProfile=null;t.useTestValue="true"===e.Utilities.getQueryParam(e.Utilities.Constants.QS_USE_TEST_DOMAIN)||e.Config.useTestDomain||!1;t.testValue=e.Utilities.getQueryParam(e.Utilities.Constants.QS_QUERY_DOMAIN)||e.Config.testDomain||"No Test Domain Set";return t}();e.Domain=t}(e||(e={}));if(void 0===window.__db)var y={segments:null,conditions:null};window.Demandbase.DBCondition=function(t,i,n,o,r){this.name=t;this.attributeValue=i;this.operator=n;this.value=o;this.attributeName=r;this._checkValue=function(t){switch(n){case"equals":return this.attributeValue==t;case"not equals":return this.attributeValue!==t;case"contains":return-1!==e.Shims.indexOf(this.attributeValue,t);default:return!1}};this.evaluate=function(){n=this.operator.toLowerCase();n=window.Demandbase.DBCondition.prototype.supportedOperators[n];if("object"==typeof this.value){for(var e in this.value)if(!0===this._checkValue(this.value[e]))return!0;return!1}return this._checkValue(this.value)}};window.Demandbase.DBCondition.prototype.name="DBCondition";window.Demandbase.DBCondition.prototype.supportedOperators={"=":"equals","==":"equals",equal:"equals",equals:"equals","!=":"not equals","!==":"not equals","not equal":"not equals","not equals":"not equals",contains:"contains",contain:"contains"};window.Demandbase.DBConditionBuilder={isValid:function(e){for(var t=["name","attributeValue","operator","value","attributeName"],i=0;i<t.length;i++)if(void 0===e[t[i]])return!1;return!0},build:function(e,t){if(e&&!e.name)return null;if(void 0!==e.constructor.prototype.name&&"DBCondition"===e.constructor.prototype.name)return e;e.attributeName||(e.attributeName=e.attribute||"NO_ATTR_SET");e.attributeValue=t[e.attribute]||"";if(!this.isValid(e))return null;var i=e.name,n=e.attributeValue,o=e.operator,r=e.value,a=e.attributeName;return new window.Demandbase.DBCondition(i,n,o,r,a)}};var v=function(t,i){this.name=t;this.rules=[];this.operator="";this.addCondition=function(t){if(!(t&&t.evaluate||void 0!==t.constructor.prototype.name&&"DBCondition"===t.constructor.prototype.name)){var t=window.Demandbase.DBConditionBuilder.build(t,window.Demandbase.Segments.CompanyProfile);if(!t)throw new Error("Invalid Condition: "+t.name);e.Utilities.Logging.log("DBSegmentBuilder converted condition successfully...")}this.rules.push(t);switch(this.operator||v.prototype.supportedOperators.any){case"and":return this.value=this.value&&t.evaluate();case"or":return this.value=this.value||t.evaluate();default:return t.evaluate()}};this.value=this.addCondition(i)};v.prototype.name="DBSegment";v.prototype.supportedOperators={"&&":"and","&":"and",and:"and","||":"or","|":"or",or:"or",any:"or",all:"and"};window.Demandbase.DBSegmentBuilder={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},isValid:function(e){for(var t=["name","operator","rules"],i=0;i<t.length;i++)if(void 0===e[t[i]])return!1;return!!this.isArray(e.rules)},build:function(e){if(!this.isValid(e))return null;var t,i=e.name,n=e.rules[0],o=e.operator;if(n){t=new v(i,n);t.operator=v.prototype.supportedOperators[o]||v.prototype.supportedOperators.any;if(e.rules.length>1)for(var r=1;r<e.rules.length;r+=1){var n=e.rules[r];if(void 0===n.constructor.prototype.name||"DBCondition"!==n.constructor.prototype.name){var a=window.Demandbase.DBConditionBuilder.build(n,void 0);a&&(n=a)}t.addCondition(n)}return t}}};window.Demandbase.Segments=window.Demandbase.Segments||{name:"Demandbase Segments",CompanyProfile:null,AccountWatchVisitor:!1,IsCompany:!1,version:"1.2.2",_debug:!1,_allConditions:[],_allSegments:[],_isInitialized:!1,_setup:function(){this._isInitialized&&this._reset();this.CompanyProfile||!window.Demandbase.IP&&!window.Demandbase.Domain||(this.CompanyProfile=window.Demandbase.IP.CompanyProfile||window.Demandbase.Domain.CompanyProfile||{});"Detailed"===this.CompanyProfile.information_level&&(this.IsCompany=!0);for(var t in this.CompanyProfile)this.CompanyProfile.hasOwnProperty(t)&&0===e.Shims.indexOf(t,"watch_list_")&&(this.AccountWatchVisitor=!0);for(var i in this._allConditions)this._allConditions.hasOwnProperty(i)&&this._allConditions[i]&&(void 0===this._allConditions[i].constructor.prototype.name||"DBCondition"!==this._allConditions[i].constructor.prototype.name)&&this.add("condition",this._allConditions[i]);for(var n in this._allSegments)this._allSegments.hasOwnProperty(n)&&this._allSegments[n].name&&(void 0===this._allSegments[n].constructor.prototype.name||"DBSegment"!==this._allSegments[n].constructor.prototype.name)&&this.add("segment",this._allSegments[n])},_reset:function(){this._allConditions=e.Config.conditions||y.conditions||[];this._allSegments=e.Config.segments||y.segments||[]},load:function(){e.Utilities.Callbacks.registerCallback(this.init.bind(this))},init:function(t){window.Demandbase.Segments._debug=e.Utilities.Logging.debug||!1;window.Demandbase.Segments._allConditions=e.Config.conditions||y.conditions||[];window.Demandbase.Segments._allSegments=e.Config.segments||y.segments||[];var i=window.Demandbase.Segments;i.CompanyProfile=t;i._setup();i._isInitialized=!0},getActiveSegments:function(){var e=[];for(var t in this._allSegments)this._allSegments.hasOwnProperty(t)&&this._allSegments[t].value&&e.push(this._allSegments[t]);return e},getInactiveSegments:function(){var e=[];for(var t in this._allSegments)this._allSegments.hasOwnProperty(t)&&(this._allSegments[t].value||e.push(this._allSegments[t]));return e},add:function(t,i){if(!t||!i||i=={}){e.Utilities.Logging.log("Demandbase.Segments.add operation failed due to invalid/empty parameters.");return null}if("condition"===t){for(var n=void 0,o=this._allConditions.length,r=0;r<this._allConditions.length;r++)if(this._allConditions[r].name===i.name){o=r;break}n=window.Demandbase.DBConditionBuilder.build(i,this.CompanyProfile);n?this._allConditions[o]=n:e.Utilities.Logging.log("Invalid Condition (not created) from: "+e.Shims.JSON.stringify(i));if(void 0===i.standalone||!1!==i.standalone){var a=i.name;this.add("segment",{name:a,rules:[a],operator:v.prototype.supportedOperators.any})}}else if("segment"===t){if("segment"!==this.isValid(i))return null;for(var s=(i.name,
void 0),l=void 0,c=this._allSegments.length,u=i.rules||[],d=0;d<this._allSegments.length;d++)if(this._allSegments[d].name===i.name){c=d;break}for(var g=0;g<u.length;g++){var f=u[g];if(!v.prototype.supportedOperators[f]){v.prototype.supportedOperators[f]||(l=this.get("condition",f));l?u[g]=l:e.Utilities.Logging.log("Segment: "+i+" uses a Condition ("+u[g]+") that is not defined.")}}i.rules=u;s=window.Demandbase.DBSegmentBuilder.build(i);if(s){this._allSegments[c]=s;if(this.hasOwnProperty(s.name))this[s.name]=s;else try{Object.defineProperty(this,s.name,{value:s.value,writable:!0})}catch(e){window.Demandbase.Segments[s.name]=s.value}}else e.Utilities.Logging.log("Invalid Segment (not created) from: "+e.Shims.JSON.stringify(i))}else e.Utilities.Logging.log('Invalid "type" parameter ('+t+') passed to "add" function.  Must be "segment" or "condition".')},get:function(t,i){var n=[];1===arguments.length&&(i=t);if("condition"===t){if(void 0!==i.constructor.prototype.name&&"DBCondition"===i.constructor.prototype.name)return i;n=this._allConditions}else{if(void 0!==i.constructor.prototype.name&&"DBSegment"===i.constructor.prototype.name)return i;n=this._allSegments}for(var o in n)if(this._allConditions[o].name===i)return this._allConditions[o];v.prototype.supportedOperators[i]||e.Utilities.Logging.log('No item with type: "'+t+'" found with name: '+i);return null},isValid:function(t){var i,n=["name","rules"],o=["name","attribute","operator","value"];if(!t)return!1;if(void 0!==t.constructor.prototype.name&&"DBSegment"===t.constructor.prototype.name)return"segment";if(void 0!==t.constructor.prototype.name&&"DBCondition"===t.constructor.prototype.name)return"condition";try{if(t.hasOwnProperty("name")&&t.hasOwnProperty("rules")){if("object"==typeof t.rules)return"segment"}else for(var r in n)if(!t.hasOwnProperty(n[r])){e.Utilities.Logging.log('Invalid DBSegment definition.  Missing property:"'+n[r]+'"');return!1}if(i)return i;for(var r in o){if(!t.hasOwnProperty(o[r])){e.Utilities.Logging.log('Invalid DBCondition definition.  Missing property:"'+o[r]+'"');return!1}i="condition"}return i}catch(t){e.ErrorReporter.send(t);return!1}}};var e;!function(e){function t(t){if(!e._isInitialized||t){e._isInitialized=!0;null==e.Config.isInIFrame&&(e.Config.isInIFrame=e.Utilities.detectIFrame());e.AssetReporter=new e.AssetReporterModule;e.AssetReporter.isEnabled()&&e.AssetReporter.initialize();e.Advertising=new e.AdvertisingModule;e.Ads=e.Advertising;if(e.Advertising.isEnabled()){e.IpApiReportingOnly=new e.IpApiModule;e.Advertising.initialize()}e.IpApi=new e.IpApiModule;e.IP=e.IpApi;e.IpApi.getOnce();window.Demandbase.Segments.load();e.Config.callback&&e.Utilities.Callbacks.registerCallback(e.Config.callback);e.FormsLoader=new e.FormsLoaderModule;if(e.FormsLoader.isEnabled()){e.FormsLoader.initialize();window.Demandbase.utils.loadFormModule=e.FormsLoader.load.bind(e.FormsLoader);window.Demandbase.utils.isFormPage=e.FormsLoader.isFormPage.bind(e.FormsLoader)}e.SiteOptimizationLoader=new e.SiteOptimizationLoaderModule;e.SiteOptimizationLoader.isEnabled()&&e.SiteOptimizationLoader.initialize();e.Connectors.Google_Analytics=new e.Google_AnalyticsModule;e.Connectors.Google_Analytics.isEnabled()&&e.Connectors.Google_Analytics.initialize();e.Connectors.Google_TagManager=new e.Google_TagManagerModule;e.Connectors.Google_TagManager.isEnabled()&&e.Connectors.Google_TagManager.initialize();e.Content=new e.ContentModule;e.Content.isEnabled()&&e.Content.initialize();e.SiteCustomization=new e.SiteCustomizationModule;e.SiteCustomization.isEnabled()&&e.SiteCustomization.initialize();if("function"==typeof e.Config.getDomain){e.Config.getDomain()&&e.Domain.load()}e.EmailDomainReporter=new e.EmailDomainReporterModule;e.EmailDomainReporter.isEnabled()&&e.EmailDomainReporter.initialize();var i={Advertising:e.AdvertisingModule,AssetReporter:e.AssetReporterModule,Content:e.ContentModule,ErrorReporter:e.ErrorReporterModule,Google_Analytics:e.Google_AnalyticsModule,SiteCustomization:e.SiteCustomization};new e.ModuleFactory(e.Config,i,e).build();"function"==typeof e.Config.onLoad&&e.Config.onLoad.call(e)}}e.initialize=t}(e||(e={}));e.Config.Google_Analytics={fieldMap:null};e.Config.clientId="e021c136d54e2324";e.Config.key="nXKRafKaN1W4NVJxubaosTbtQW1J0aB6rCHstKGN";e.Config.Advertising={enableBW:!0};e.ErrorReporter=new e.ErrorReporterModule;e.ErrorReporter.initialize();e.ErrorReporter.wrap(e.initialize.bind(e))()}(window.Demandbase);;
(function(b){if(!b.Munchkin){var c=b.document,e=[],k,l={fallback:"161"},g=[],m=function(){if(!k){for(;0<e.length;){var f=e.shift();b.MunchkinTracker[f[0]].apply(b.MunchkinTracker,f[1])}k=!0}},n=function(f){var a=c.createElement("script"),b=c.getElementsByTagName("base")[0]||c.getElementsByTagName("script")[0];a.type="text/javascript";a.async=!0;a.src=f;a.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||m()};a.onload=m;b.parentNode.insertBefore(a,b)},h={ASSOCIATE_LEAD:"ASSOCIATE_LEAD",
CLICK_LINK:"CLICK_LINK",VISIT_WEB_PAGE:"visitWebPage",init:function(b){var a;a=l[b];if(!a&&0<g.length){a=b;var c=0,d;if(0!==a.length)for(d=0;d<a.length;d+=1)c+=a.charCodeAt(d);a=g[c%g.length]}a||(a=l.fallback);e.push(["init",arguments]);"150"===a?n("//munchkin-cdn.marketo.net/"+a+"/munchkin.js"):n("//munchkin.marketo.net/"+a+"/munchkin.js")}},p=function(b){return h[b]=function(){e.push([b,arguments])}};b.mktoMunchkinFunction=p("munchkinFunction");p("createTrackingCookie");b.Munchkin=h;b.mktoMunchkin=
h.init}})(window);;
(function(){var s = {};(function(){/*  Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var c={},f=this||self;var l=/#|$/;function n(d){var g=d.search(l),a;a:{for(a=0;0<=(a=d.indexOf("fmt",a))&&a<g;){var b=d.charCodeAt(a-1);if(38==b||63==b)if(b=d.charCodeAt(a+3),!b||61==b||38==b||35==b)break a;a+=4}a=-1}if(0>a)return null;b=d.indexOf("&",a);if(0>b||b>g)b=g;a+=4;return decodeURIComponent(d.substr(a,b-a).replace(/\+/g," "))};function r(d,g,a){function b(){--p;if(0>=p){var e;(e=d.GooglebQhCsO)||(e={});var q=e[g];q&&(delete e[g],(e=q[0])&&e.call&&e())}}for(var p=a.length+1,m=0;m<a.length;m++){var h=n(a[m]),k=null;1!=h&&2!=h||!(h=d.document.getElementById("goog_conv_iframe"))||h.src||(k=h);k||(k=new Image);k.onload=b;k.src=a[m]}b()}var t=["ss_"],u=s||f;t[0]in u||"undefined"==typeof u.execScript||u.execScript("var "+t[0]); for(var v;t.length&&(v=t.shift());)t.length||void 0===r?u[v]&&u[v]!==Object.prototype[v]?u=u[v]:u=u[v]={}:u[v]=r;}).call(this);;s.ss_(window,'OjE2Mzk3NDcwNDgyMDM',['https://www.google.com/pagead/1p-user-list/1066733946/?random\x3d1639747048203\x26cv\x3d9\x26fst\x3d1639746000000\x26num\x3d1\x26guid\x3dON\x26eid\x3d376635470\x26u_h\x3d1080\x26u_w\x3d1920\x26u_ah\x3d1040\x26u_aw\x3d1920\x26u_cd\x3d24\x26u_his\x3d2\x26u_tz\x3d-300\x26u_java\x3dfalse\x26u_nplug\x3d5\x26u_nmime\x3d2\x26gtm\x3d2wgc10\x26sendb\x3d1\x26frm\x3d0\x26url\x3dhttps%3A%2F%2Fgizmos.explorelearning.com%2F\x26tiba\x3dExploreLearning%20Gizmos%3A%20Math%20%26%20Science%20Virtual%20Labs%20and%20Simulations\x26async\x3d1\x26fmt\x3d3\x26is_vtc\x3d1\x26random\x3d4140858775\x26resp\x3dGooglemKTybQhCsO\x26rmt_tld\x3d0\x26ipr\x3dy']);})();;
(function() {var b=void 0,f=!0,j=null,l=!1;function m(){return function(){}}function n(a){return function(){return this[a]}}function q(a){return function(){return a}}var s;document.createElement("video");document.createElement("audio");document.createElement("track");
function t(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(t.Aa[a])return c&&t.log.warn('Player "'+a+'" is already initialised. Options will not be applied.'),d&&t.Aa[a].I(d),t.Aa[a];a=t.m(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new t.Player(a,c,d)}var videojs=window.videojs=t;t.ic="4.12";t.vd="https:"==document.location.protocol?"https://":"http://";t.VERSION="4.12.5";
t.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,playbackRates:[],inactivityTimeout:2E3,children:{mediaLoader:{},posterImage:{},loadingSpinner:{},textTrackDisplay:{},bigPlayButton:{},controlBar:{},errorDisplay:{},textTrackSettings:{}},language:document.getElementsByTagName("html")[0].getAttribute("lang")||navigator.languages&&navigator.languages[0]||navigator.If||navigator.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this video."};
"GENERATED_CDN_VSN"!==t.ic&&(videojs.options.flash.swf=t.vd+"vjs.zencdn.net/"+t.ic+"/video-js.swf");t.Jd=function(a,c){t.options.languages[a]=t.options.languages[a]!==b?t.$.ya(t.options.languages[a],c):c;return t.options.languages};t.Aa={};"function"===typeof define&&define.amd?define("videojs",[],function(){return videojs}):"object"===typeof exports&&"object"===typeof module&&(module.exports=videojs);t.Ea=t.CoreObject=m();
t.Ea.extend=function(a){var c,d;a=a||{};c=a.init||a.l||this.prototype.init||this.prototype.l||m();d=function(){c.apply(this,arguments)};d.prototype=t.i.create(this.prototype);d.prototype.constructor=d;d.extend=t.Ea.extend;d.create=t.Ea.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};t.Ea.create=function(){var a=t.i.create(this.prototype);this.apply(a,arguments);return a};
t.b=function(a,c,d){if(t.i.isArray(c))return v(t.b,a,c,d);var e=t.getData(a);e.G||(e.G={});e.G[c]||(e.G[c]=[]);d.s||(d.s=t.s++);e.G[c].push(d);e.ca||(e.disabled=l,e.ca=function(c){if(!e.disabled){c=t.Pb(c);var d=e.G[c.type];if(d)for(var d=d.slice(0),k=0,p=d.length;k<p&&!c.Rc();k++)d[k].call(a,c)}});1==e.G[c].length&&(a.addEventListener?a.addEventListener(c,e.ca,l):a.attachEvent&&a.attachEvent("on"+c,e.ca))};
t.n=function(a,c,d){if(t.Mc(a)){var e=t.getData(a);if(e.G){if(t.i.isArray(c))return v(t.n,a,c,d);if(c){var g=e.G[c];if(g){if(d){if(d.s)for(e=0;e<g.length;e++)g[e].s===d.s&&g.splice(e--,1)}else e.G[c]=[];t.Ac(a,c)}}else for(g in e.G)c=g,e.G[c]=[],t.Ac(a,c)}}};t.Ac=function(a,c){var d=t.getData(a);0===d.G[c].length&&(delete d.G[c],a.removeEventListener?a.removeEventListener(c,d.ca,l):a.detachEvent&&a.detachEvent("on"+c,d.ca));t.ib(d.G)&&(delete d.G,delete d.ca,delete d.disabled);t.ib(d)&&t.cd(a)};
t.Pb=function(a){function c(){return f}function d(){return l}if(!a||!a.Vb){var e=a||window.event;a={};for(var g in e)"layerX"!==g&&("layerY"!==g&&"keyLocation"!==g)&&("returnValue"==g&&e.preventDefault||(a[g]=e[g]));a.target||(a.target=a.srcElement||document);a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;a.preventDefault=function(){e.preventDefault&&e.preventDefault();a.returnValue=l;a.ie=c;a.defaultPrevented=f};a.ie=d;a.defaultPrevented=l;a.stopPropagation=function(){e.stopPropagation&&
e.stopPropagation();a.cancelBubble=f;a.Vb=c};a.Vb=d;a.stopImmediatePropagation=function(){e.stopImmediatePropagation&&e.stopImmediatePropagation();a.Rc=c;a.stopPropagation()};a.Rc=d;if(a.clientX!=j){g=document.documentElement;var h=document.body;a.pageX=a.clientX+(g&&g.scrollLeft||h&&h.scrollLeft||0)-(g&&g.clientLeft||h&&h.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||h&&h.scrollTop||0)-(g&&g.clientTop||h&&h.clientTop||0)}a.which=a.charCode||a.keyCode;a.button!=j&&(a.button=a.button&1?0:a.button&
4?1:a.button&2?2:0)}return a};t.o=function(a,c){var d=t.Mc(a)?t.getData(a):{},e=a.parentNode||a.ownerDocument;"string"===typeof c&&(c={type:c,target:a});c=t.Pb(c);d.ca&&d.ca.call(a,c);if(e&&!c.Vb()&&c.bubbles!==l)t.o(e,c);else if(!e&&!c.defaultPrevented&&(d=t.getData(c.target),c.target[c.type])){d.disabled=f;if("function"===typeof c.target[c.type])c.target[c.type]();d.disabled=l}return!c.defaultPrevented};
t.N=function(a,c,d){function e(){t.n(a,c,e);d.apply(this,arguments)}if(t.i.isArray(c))return v(t.N,a,c,d);e.s=d.s=d.s||t.s++;t.b(a,c,e)};function v(a,c,d,e){t.wc.forEach(d,function(d){a(c,d,e)})}var w=Object.prototype.hasOwnProperty;t.e=function(a,c){var d;c=c||{};d=document.createElement(a||"div");t.i.da(c,function(a,c){-1!==a.indexOf("aria-")||"role"==a?d.setAttribute(a,c):d[a]=c});return d};t.ua=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};t.i={};
t.i.create=Object.create||function(a){function c(){}c.prototype=a;return new c};t.i.da=function(a,c,d){for(var e in a)w.call(a,e)&&c.call(d||this,e,a[e])};t.i.D=function(a,c){if(!c)return a;for(var d in c)w.call(c,d)&&(a[d]=c[d]);return a};t.i.Rd=function(a,c){var d,e,g;a=t.i.copy(a);for(d in c)w.call(c,d)&&(e=a[d],g=c[d],a[d]=t.i.jb(e)&&t.i.jb(g)?t.i.Rd(e,g):c[d]);return a};t.i.copy=function(a){return t.i.D({},a)};
t.i.jb=function(a){return!!a&&"object"===typeof a&&"[object Object]"===a.toString()&&a.constructor===Object};t.i.isArray=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};t.ke=function(a){return a!==a};t.bind=function(a,c,d){function e(){return c.apply(a,arguments)}c.s||(c.s=t.s++);e.s=d?d+"_"+c.s:c.s;return e};t.ta={};t.s=1;t.expando="vdata"+(new Date).getTime();t.getData=function(a){var c=a[t.expando];c||(c=a[t.expando]=t.s++);t.ta[c]||(t.ta[c]={});return t.ta[c]};
t.Mc=function(a){a=a[t.expando];return!(!a||t.ib(t.ta[a]))};t.cd=function(a){var c=a[t.expando];if(c){delete t.ta[c];try{delete a[t.expando]}catch(d){a.removeAttribute?a.removeAttribute(t.expando):a[t.expando]=j}}};t.ib=function(a){for(var c in a)if(a[c]!==j)return l;return f};t.Oa=function(a,c){return-1!==(" "+a.className+" ").indexOf(" "+c+" ")};t.p=function(a,c){t.Oa(a,c)||(a.className=""===a.className?c:a.className+" "+c)};
t.r=function(a,c){var d,e;if(t.Oa(a,c)){d=a.className.split(" ");for(e=d.length-1;0<=e;e--)d[e]===c&&d.splice(e,1);a.className=d.join(" ")}};t.A=t.e("video");var x=document.createElement("track");x.Wb="captions";x.hd="en";x.label="English";t.A.appendChild(x);t.P=navigator.userAgent;t.Cd=/iPhone/i.test(t.P);t.Bd=/iPad/i.test(t.P);t.Dd=/iPod/i.test(t.P);t.Ad=t.Cd||t.Bd||t.Dd;var aa=t,y;var z=t.P.match(/OS (\d+)_/i);y=z&&z[1]?z[1]:b;aa.kf=y;t.zd=/Android/i.test(t.P);var ba=t,B;
var C=t.P.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),D,E;C?(D=C[1]&&parseFloat(C[1]),E=C[2]&&parseFloat(C[2]),B=D&&E?parseFloat(C[1]+"."+C[2]):D?D:j):B=j;ba.hc=B;t.Ed=t.zd&&/webkit/i.test(t.P)&&2.3>t.hc;t.jc=/Firefox/i.test(t.P);t.lf=/Chrome/i.test(t.P);t.oa=/MSIE\s8\.0/.test(t.P);t.Eb=!!("ontouchstart"in window||window.xd&&document instanceof window.xd);t.wd="backgroundSize"in t.A.style;
t.ed=function(a,c){t.i.da(c,function(c,e){e===j||"undefined"===typeof e||e===l?a.removeAttribute(c):a.setAttribute(c,e===f?"":e)})};t.Na=function(a){var c,d,e,g;c={};if(a&&a.attributes&&0<a.attributes.length){d=a.attributes;for(var h=d.length-1;0<=h;h--){e=d[h].name;g=d[h].value;if("boolean"===typeof a[e]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+e+","))g=g!==j?f:l;c[e]=g}}return c};
t.vf=function(a,c){var d="";document.defaultView&&document.defaultView.getComputedStyle?d=document.defaultView.getComputedStyle(a,"").getPropertyValue(c):a.currentStyle&&(d=a["client"+c.substr(0,1).toUpperCase()+c.substr(1)]+"px");return d};t.Ub=function(a,c){c.firstChild?c.insertBefore(a,c.firstChild):c.appendChild(a)};t.cb={};t.m=function(a){0===a.indexOf("#")&&(a=a.slice(1));return document.getElementById(a)};
t.Ma=function(a,c){c=c||a;var d=Math.floor(a%60),e=Math.floor(a/60%60),g=Math.floor(a/3600),h=Math.floor(c/60%60),k=Math.floor(c/3600);if(isNaN(a)||Infinity===a)g=e=d="-";g=0<g||0<k?g+":":"";return g+(((g||10<=h)&&10>e?"0"+e:e)+":")+(10>d?"0"+d:d)};t.Ld=function(){document.body.focus();document.onselectstart=q(l)};t.af=function(){document.onselectstart=q(f)};t.trim=function(a){return(a+"").replace(/^\s+|\s+$/g,"")};t.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)};
t.Lb=function(a,c){return{length:1,start:function(){return a},end:function(){return c}}};t.Me=function(a){try{var c=window.localStorage||l;c&&(c.volume=a)}catch(d){22==d.code||1014==d.code?t.log("LocalStorage Full (VideoJS)",d):18==d.code?t.log("LocalStorage not allowed (VideoJS)",d):t.log("LocalStorage Error (VideoJS)",d)}};t.$d=function(a){a.match(/^https?:\/\//)||(a=t.e("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href);return a};
t.Ee=function(a){var c,d,e,g;g="protocol hostname port pathname search hash host".split(" ");d=t.e("a",{href:a});if(e=""===d.host&&"file:"!==d.protocol)c=t.e("div"),c.innerHTML='<a href="'+a+'"></a>',d=c.firstChild,c.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(c);a={};for(var h=0;h<g.length;h++)a[g[h]]=d[g[h]];"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,""));"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,""));e&&document.body.removeChild(c);return a};
function F(a,c){var d,e;d=Array.prototype.slice.call(c);e=m();e=window.console||{log:e,warn:e,error:e};a?d.unshift(a.toUpperCase()+":"):a="log";t.log.history.push(d);d.unshift("VIDEOJS:");if(e[a].apply)e[a].apply(e,d);else e[a](d.join(" "))}t.log=function(){F(j,arguments)};t.log.history=[];t.log.error=function(){F("error",arguments)};t.log.warn=function(){F("warn",arguments)};
t.Yd=function(a){var c,d;a.getBoundingClientRect&&a.parentNode&&(c=a.getBoundingClientRect());if(!c)return{left:0,top:0};a=document.documentElement;d=document.body;return{left:t.round(c.left+(window.pageXOffset||d.scrollLeft)-(a.clientLeft||d.clientLeft||0)),top:t.round(c.top+(window.pageYOffset||d.scrollTop)-(a.clientTop||d.clientTop||0))}};t.wc={};t.wc.forEach=function(a,c,d){if(t.i.isArray(a)&&c instanceof Function)for(var e=0,g=a.length;e<g;++e)c.call(d||t,a[e],e,a);return a};
t.ff=function(a,c){var d,e,g,h,k,p,r;"string"===typeof a&&(a={uri:a});videojs.$.ya({method:"GET",timeout:45E3},a);c=c||m();p=function(){window.clearTimeout(k);c(j,e,e.response||e.responseText)};r=function(a){window.clearTimeout(k);if(!a||"string"===typeof a)a=Error(a);c(a,e)};d=window.XMLHttpRequest;"undefined"===typeof d&&(d=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");
});e=new d;e.uri=a.uri;d=t.Ee(a.uri);g=window.location;d.protocol+d.host!==g.protocol+g.host&&window.XDomainRequest&&!("withCredentials"in e)?(e=new window.XDomainRequest,e.onload=p,e.onerror=r,e.onprogress=m(),e.ontimeout=m()):(h="file:"==d.protocol||"file:"==g.protocol,e.onreadystatechange=function(){if(4===e.readyState){if(e.Ye)return r("timeout");200===e.status||h&&0===e.status?p():r()}},a.timeout&&(k=window.setTimeout(function(){4!==e.readyState&&(e.Ye=f,e.abort())},a.timeout)));try{e.open(a.method||
"GET",a.uri,f)}catch(u){r(u);return}a.withCredentials&&(e.withCredentials=f);a.responseType&&(e.responseType=a.responseType);try{e.send()}catch(A){r(A)}};t.$={};t.$.ya=function(a,c){var d,e,g;a=t.i.copy(a);for(d in c)c.hasOwnProperty(d)&&(e=a[d],g=c[d],a[d]=t.i.jb(e)&&t.i.jb(g)?t.$.ya(e,g):c[d]);return a};t.z=m();s=t.z.prototype;s.bb={};s.b=function(a,c){var d=this.addEventListener;this.addEventListener=Function.prototype;t.b(this,a,c);this.addEventListener=d};s.addEventListener=t.z.prototype.b;
s.n=function(a,c){t.n(this,a,c)};s.removeEventListener=t.z.prototype.n;s.N=function(a,c){t.N(this,a,c)};s.o=function(a){var c=a.type||a;"string"===typeof a&&(a={type:c});a=t.Pb(a);if(this.bb[c]&&this["on"+c])this["on"+c](a);t.o(this,a)};s.dispatchEvent=t.z.prototype.o;
t.a=t.Ea.extend({l:function(a,c,d){this.d=a;this.q=t.i.copy(this.q);c=this.options(c);this.Pa=c.id||c.el&&c.el.id;this.Pa||(this.Pa=(a.id&&a.id()||"no_player")+"_component_"+t.s++);this.te=c.name||j;this.c=c.el||this.e();this.R=[];this.fb={};this.gb={};this.Oc();this.I(d);if(c.dd!==l){var e,g;this.k().reportUserActivity&&(e=t.bind(this.k(),this.k().reportUserActivity),this.b("touchstart",function(){e();this.clearInterval(g);g=this.setInterval(e,250)}),a=function(){e();this.clearInterval(g)},this.b("touchmove",
e),this.b("touchend",a),this.b("touchcancel",a))}}});s=t.a.prototype;s.dispose=function(){this.o({type:"dispose",bubbles:l});if(this.R)for(var a=this.R.length-1;0<=a;a--)this.R[a].dispose&&this.R[a].dispose();this.gb=this.fb=this.R=j;this.n();this.c.parentNode&&this.c.parentNode.removeChild(this.c);t.cd(this.c);this.c=j};s.d=f;s.k=n("d");s.options=function(a){return a===b?this.q:this.q=t.$.ya(this.q,a)};s.e=function(a,c){return t.e(a,c)};
s.v=function(a){var c=this.d.language(),d=this.d.languages();return d&&d[c]&&d[c][a]?d[c][a]:a};s.m=n("c");s.va=function(){return this.B||this.c};s.id=n("Pa");s.name=n("te");s.children=n("R");s.ae=function(a){return this.fb[a]};s.ea=function(a){return this.gb[a]};
s.ba=function(a,c){var d,e;"string"===typeof a?(e=a,c=c||{},d=c.componentClass||t.ua(e),c.name=e,d=new window.videojs[d](this.d||this,c)):d=a;this.R.push(d);"function"===typeof d.id&&(this.fb[d.id()]=d);(e=e||d.name&&d.name())&&(this.gb[e]=d);"function"===typeof d.el&&d.el()&&this.va().appendChild(d.el());return d};
s.removeChild=function(a){"string"===typeof a&&(a=this.ea(a));if(a&&this.R){for(var c=l,d=this.R.length-1;0<=d;d--)if(this.R[d]===a){c=f;this.R.splice(d,1);break}c&&(this.fb[a.id()]=j,this.gb[a.name()]=j,(c=a.m())&&c.parentNode===this.va()&&this.va().removeChild(a.m()))}};
s.Oc=function(){var a,c,d,e,g,h;a=this;c=a.options();if(d=c.children)if(h=function(d,e){c[d]!==b&&(e=c[d]);e!==l&&(a[d]=a.ba(d,e))},t.i.isArray(d))for(var k=0;k<d.length;k++)e=d[k],"string"==typeof e?(g=e,e={}):g=e.name,h(g,e);else t.i.da(d,h)};s.V=q("");
s.b=function(a,c,d){var e,g,h;"string"===typeof a||t.i.isArray(a)?t.b(this.c,a,t.bind(this,c)):(e=t.bind(this,d),h=this,g=function(){h.n(a,c,e)},g.s=e.s,this.b("dispose",g),d=function(){h.n("dispose",g)},d.s=e.s,a.nodeName?(t.b(a,c,e),t.b(a,"dispose",d)):"function"===typeof a.b&&(a.b(c,e),a.b("dispose",d)));return this};
s.n=function(a,c,d){!a||"string"===typeof a||t.i.isArray(a)?t.n(this.c,a,c):(d=t.bind(this,d),this.n("dispose",d),a.nodeName?(t.n(a,c,d),t.n(a,"dispose",d)):(a.n(c,d),a.n("dispose",d)));return this};s.N=function(a,c,d){var e,g,h;"string"===typeof a||t.i.isArray(a)?t.N(this.c,a,t.bind(this,c)):(e=t.bind(this,d),g=this,h=function(){g.n(a,c,h);e.apply(this,arguments)},h.s=e.s,this.b(a,c,h));return this};s.o=function(a){t.o(this.c,a);return this};
s.I=function(a){a&&(this.wa?a.call(this):(this.nb===b&&(this.nb=[]),this.nb.push(a)));return this};s.Wa=function(){this.wa=f;var a=this.nb;if(a&&0<a.length){for(var c=0,d=a.length;c<d;c++)a[c].call(this);this.nb=[];this.o("ready")}};s.Oa=function(a){return t.Oa(this.c,a)};s.p=function(a){t.p(this.c,a);return this};s.r=function(a){t.r(this.c,a);return this};s.show=function(){this.r("vjs-hidden");return this};s.Y=function(){this.p("vjs-hidden");return this};function G(a){a.r("vjs-lock-showing")}
s.width=function(a,c){return ca(this,"width",a,c)};s.height=function(a,c){return ca(this,"height",a,c)};s.Td=function(a,c){return this.width(a,f).height(c)};function ca(a,c,d,e){if(d!==b){if(d===j||t.ke(d))d=0;a.c.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px";e||a.o("resize");return a}if(!a.c)return 0;d=a.c.style[c];e=d.indexOf("px");return-1!==e?parseInt(d.slice(0,e),10):parseInt(a.c["offset"+t.ua(c)],10)}
function da(a){var c,d,e,g,h,k,p,r;c=0;d=j;a.b("touchstart",function(a){1===a.touches.length&&(d=t.i.copy(a.touches[0]),c=(new Date).getTime(),g=f)});a.b("touchmove",function(a){1<a.touches.length?g=l:d&&(k=a.touches[0].pageX-d.pageX,p=a.touches[0].pageY-d.pageY,r=Math.sqrt(k*k+p*p),10<r&&(g=l))});h=function(){g=l};a.b("touchleave",h);a.b("touchcancel",h);a.b("touchend",function(a){d=j;g===f&&(e=(new Date).getTime()-c,200>e&&(a.preventDefault(),this.o("tap")))})}
s.setTimeout=function(a,c){function d(){this.clearTimeout(e)}a=t.bind(this,a);var e=setTimeout(a,c);d.s="vjs-timeout-"+e;this.b("dispose",d);return e};s.clearTimeout=function(a){function c(){}clearTimeout(a);c.s="vjs-timeout-"+a;this.n("dispose",c);return a};s.setInterval=function(a,c){function d(){this.clearInterval(e)}a=t.bind(this,a);var e=setInterval(a,c);d.s="vjs-interval-"+e;this.b("dispose",d);return e};
s.clearInterval=function(a){function c(){}clearInterval(a);c.s="vjs-interval-"+a;this.n("dispose",c);return a};t.w=t.a.extend({l:function(a,c){t.a.call(this,a,c);da(this);this.b("tap",this.u);this.b("click",this.u);this.b("focus",this.lb);this.b("blur",this.kb)}});s=t.w.prototype;
s.e=function(a,c){var d;c=t.i.D({className:this.V(),role:"button","aria-live":"polite",tabIndex:0},c);d=t.a.prototype.e.call(this,a,c);c.innerHTML||(this.B=t.e("div",{className:"vjs-control-content"}),this.Jb=t.e("span",{className:"vjs-control-text",innerHTML:this.v(this.sa)||"Need Text"}),this.B.appendChild(this.Jb),d.appendChild(this.B));return d};s.V=function(){return"vjs-control "+t.a.prototype.V.call(this)};s.u=m();s.lb=function(){t.b(document,"keydown",t.bind(this,this.ja))};
s.ja=function(a){if(32==a.which||13==a.which)a.preventDefault(),this.u()};s.kb=function(){t.n(document,"keydown",t.bind(this,this.ja))};t.U=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.Kd=this.ea(this.q.barName);this.handle=this.ea(this.q.handleName);this.b("mousedown",this.mb);this.b("touchstart",this.mb);this.b("focus",this.lb);this.b("blur",this.kb);this.b("click",this.u);this.b(a,"controlsvisible",this.update);this.b(a,this.Yc,this.update)}});s=t.U.prototype;
s.e=function(a,c){c=c||{};c.className+=" vjs-slider";c=t.i.D({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},c);return t.a.prototype.e.call(this,a,c)};s.mb=function(a){a.preventDefault();t.Ld();this.p("vjs-sliding");this.b(document,"mousemove",this.ka);this.b(document,"mouseup",this.za);this.b(document,"touchmove",this.ka);this.b(document,"touchend",this.za);this.ka(a)};s.ka=m();
s.za=function(){t.af();this.r("vjs-sliding");this.n(document,"mousemove",this.ka);this.n(document,"mouseup",this.za);this.n(document,"touchmove",this.ka);this.n(document,"touchend",this.za);this.update()};s.update=function(){if(this.c){var a,c=this.Sb(),d=this.handle,e=this.Kd;if("number"!==typeof c||c!==c||0>c||Infinity===c)c=0;a=c;if(d){a=this.c.offsetWidth;var g=d.m().offsetWidth;a=g?g/a:0;c*=1-a;a=c+a/2;d.m().style.left=t.round(100*c,2)+"%"}e&&(e.m().style.width=t.round(100*a,2)+"%")}};
function ea(a,c){var d,e,g,h;d=a.c;e=t.Yd(d);h=g=d.offsetWidth;d=a.handle;if(a.options().vertical)return h=e.top,e=c.changedTouches?c.changedTouches[0].pageY:c.pageY,d&&(d=d.m().offsetHeight,h+=d/2,g-=d),Math.max(0,Math.min(1,(h-e+g)/g));g=e.left;e=c.changedTouches?c.changedTouches[0].pageX:c.pageX;d&&(d=d.m().offsetWidth,g+=d/2,h-=d);return Math.max(0,Math.min(1,(e-g)/h))}s.lb=function(){this.b(document,"keydown",this.ja)};
s.ja=function(a){if(37==a.which||40==a.which)a.preventDefault(),this.jd();else if(38==a.which||39==a.which)a.preventDefault(),this.kd()};s.kb=function(){this.n(document,"keydown",this.ja)};s.u=function(a){a.stopImmediatePropagation();a.preventDefault()};t.ga=t.a.extend();t.ga.prototype.defaultValue=0;t.ga.prototype.e=function(a,c){c=c||{};c.className+=" vjs-slider-handle";c=t.i.D({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},c);return t.a.prototype.e.call(this,"div",c)};
t.pa=t.a.extend();function fa(a,c){a.ba(c);c.b("click",t.bind(a,function(){G(this)}))}t.pa.prototype.e=function(){var a=this.options().Cc||"ul";this.B=t.e(a,{className:"vjs-menu-content"});a=t.a.prototype.e.call(this,"div",{append:this.B,className:"vjs-menu"});a.appendChild(this.B);t.b(a,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return a};t.M=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.selected(c.selected)}});
t.M.prototype.e=function(a,c){return t.w.prototype.e.call(this,"li",t.i.D({className:"vjs-menu-item",innerHTML:this.v(this.q.label)},c))};t.M.prototype.u=function(){this.selected(f)};t.M.prototype.selected=function(a){a?(this.p("vjs-selected"),this.c.setAttribute("aria-selected",f)):(this.r("vjs-selected"),this.c.setAttribute("aria-selected",l))};
t.O=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.update();this.b("keydown",this.ja);this.c.setAttribute("aria-haspopup",f);this.c.setAttribute("role","button")}});s=t.O.prototype;s.update=function(){var a=this.Ja();this.xa&&this.removeChild(this.xa);this.xa=a;this.ba(a);this.H&&0===this.H.length?this.Y():this.H&&1<this.H.length&&this.show()};s.Ha=l;
s.Ja=function(){var a=new t.pa(this.d);this.options().title&&a.va().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ua(this.options().title),We:-1}));if(this.H=this.createItems())for(var c=0;c<this.H.length;c++)fa(a,this.H[c]);return a};s.Ia=m();s.V=function(){return this.className+" vjs-menu-button "+t.w.prototype.V.call(this)};s.lb=m();s.kb=m();s.u=function(){this.N("mouseout",t.bind(this,function(){G(this.xa);this.c.blur()}));this.Ha?H(this):ga(this)};
s.ja=function(a){32==a.which||13==a.which?(this.Ha?H(this):ga(this),a.preventDefault()):27==a.which&&(this.Ha&&H(this),a.preventDefault())};function ga(a){a.Ha=f;a.xa.p("vjs-lock-showing");a.c.setAttribute("aria-pressed",f);a.H&&0<a.H.length&&a.H[0].m().focus()}function H(a){a.Ha=l;G(a.xa);a.c.setAttribute("aria-pressed",l)}t.J=function(a){"number"===typeof a?this.code=a:"string"===typeof a?this.message=a:"object"===typeof a&&t.i.D(this,a);this.message||(this.message=t.J.Sd[this.code]||"")};
t.J.prototype.code=0;t.J.prototype.message="";t.J.prototype.status=j;t.J.hb="MEDIA_ERR_CUSTOM MEDIA_ERR_ABORTED MEDIA_ERR_NETWORK MEDIA_ERR_DECODE MEDIA_ERR_SRC_NOT_SUPPORTED MEDIA_ERR_ENCRYPTED".split(" ");
t.J.Sd={1:"You aborted the video playback",2:"A network error caused the video download to fail part-way.",3:"The video playback was aborted due to a corruption problem or because the video used features your browser did not support.",4:"The video could not be loaded, either because the server or network failed or because the format is not supported.",5:"The video is encrypted and we do not have the keys to decrypt it."};for(var I=0;I<t.J.hb.length;I++)t.J[t.J.hb[I]]=I,t.J.prototype[t.J.hb[I]]=I;
var J,ha,K,L;
J=["requestFullscreen exitFullscreen fullscreenElement fullscreenEnabled fullscreenchange fullscreenerror".split(" "),"webkitRequestFullscreen webkitExitFullscreen webkitFullscreenElement webkitFullscreenEnabled webkitfullscreenchange webkitfullscreenerror".split(" "),"webkitRequestFullScreen webkitCancelFullScreen webkitCurrentFullScreenElement webkitCancelFullScreen webkitfullscreenchange webkitfullscreenerror".split(" "),"mozRequestFullScreen mozCancelFullScreen mozFullScreenElement mozFullScreenEnabled mozfullscreenchange mozfullscreenerror".split(" "),"msRequestFullscreen msExitFullscreen msFullscreenElement msFullscreenEnabled MSFullscreenChange MSFullscreenError".split(" ")];
ha=J[0];for(L=0;L<J.length;L++)if(J[L][1]in document){K=J[L];break}if(K){t.cb.Rb={};for(L=0;L<K.length;L++)t.cb.Rb[ha[L]]=K[L]}
t.Player=t.a.extend({l:function(a,c,d){this.L=a;a.id=a.id||"vjs_video_"+t.s++;this.Xe=a&&t.Na(a);c=t.i.D(ia(a),c);this.Tc=c.language||t.options.language;this.ne=c.languages||t.options.languages;this.K={};this.Zc=c.poster||"";this.Kb=!!c.controls;a.controls=l;c.dd=l;ja(this,"audio"===this.L.nodeName.toLowerCase());t.a.call(this,this,c,d);this.controls()?this.p("vjs-controls-enabled"):this.p("vjs-controls-disabled");ja(this)&&this.p("vjs-audio");t.Aa[this.Pa]=this;c.plugins&&t.i.da(c.plugins,function(a,
c){this[a](c)},this);var e,g,h,k,p;e=t.bind(this,this.reportUserActivity);this.b("mousedown",function(){e();this.clearInterval(g);g=this.setInterval(e,250)});this.b("mousemove",function(a){if(a.screenX!=k||a.screenY!=p)k=a.screenX,p=a.screenY,e()});this.b("mouseup",function(){e();this.clearInterval(g)});this.b("keydown",e);this.b("keyup",e);this.setInterval(function(){if(this.Da){this.Da=l;this.userActive(f);this.clearTimeout(h);var a=this.options().inactivityTimeout;0<a&&(h=this.setTimeout(function(){this.Da||
this.userActive(l)},a))}},250)}});s=t.Player.prototype;s.language=function(a){if(a===b)return this.Tc;this.Tc=a;return this};s.languages=n("ne");s.q=t.options;s.dispose=function(){this.o("dispose");this.n("dispose");t.Aa[this.Pa]=j;this.L&&this.L.player&&(this.L.player=j);this.c&&this.c.player&&(this.c.player=j);this.h&&this.h.dispose();t.a.prototype.dispose.call(this)};
function ia(a){var c,d,e={sources:[],tracks:[]};c=t.Na(a);d=c["data-setup"];d!==j&&t.i.D(c,t.JSON.parse(d||"{}"));t.i.D(e,c);if(a.hasChildNodes()){var g,h;a=a.childNodes;g=0;for(h=a.length;g<h;g++)c=a[g],d=c.nodeName.toLowerCase(),"source"===d?e.sources.push(t.Na(c)):"track"===d&&e.tracks.push(t.Na(c))}return e}
s.e=function(){var a=this.c=t.a.prototype.e.call(this,"div"),c=this.L,d;c.removeAttribute("width");c.removeAttribute("height");d=t.Na(c);t.i.da(d,function(c){"class"==c?a.className=d[c]:a.setAttribute(c,d[c])});c.id+="_html5_api";c.className="vjs-tech";c.player=a.player=this;this.p("vjs-paused");this.width(this.q.width,f);this.height(this.q.height,f);c.ge=c.networkState;c.parentNode&&c.parentNode.insertBefore(a,c);t.Ub(c,a);this.c=a;this.b("loadstart",this.xe);this.b("waiting",this.De);this.b(["canplay",
"canplaythrough","playing","ended"],this.Ce);this.b("seeking",this.Ae);this.b("seeked",this.ze);this.b("ended",this.ue);this.b("play",this.$b);this.b("firstplay",this.ve);this.b("pause",this.Zb);this.b("progress",this.ye);this.b("durationchange",this.Wc);this.b("fullscreenchange",this.we);return a};
function ka(a,c,d){a.h&&(a.wa=l,a.h.dispose(),a.h=l);"Html5"!==c&&a.L&&(t.f.Mb(a.L),a.L=j);a.Ua=c;a.wa=l;var e=t.i.D({source:d,parentEl:a.c},a.q[c.toLowerCase()]);d&&(a.Gc=d.type,d.src==a.K.src&&0<a.K.currentTime&&(e.startTime=a.K.currentTime),a.K.src=d.src);a.h=new window.videojs[c](a,e);a.h.I(function(){this.d.Wa()})}s.xe=function(){this.r("vjs-ended");this.error(j);this.paused()?la(this,l):this.o("firstplay")};s.Nc=l;
function la(a,c){c!==b&&a.Nc!==c&&((a.Nc=c)?(a.p("vjs-has-started"),a.o("firstplay")):a.r("vjs-has-started"))}s.$b=function(){this.r("vjs-ended");this.r("vjs-paused");this.p("vjs-playing");la(this,f)};s.De=function(){this.p("vjs-waiting")};s.Ce=function(){this.r("vjs-waiting")};s.Ae=function(){this.p("vjs-seeking")};s.ze=function(){this.r("vjs-seeking")};s.ve=function(){this.q.starttime&&this.currentTime(this.q.starttime);this.p("vjs-has-started")};s.Zb=function(){this.r("vjs-playing");this.p("vjs-paused")};
s.ye=function(){1==this.bufferedPercent()&&this.o("loadedalldata")};s.ue=function(){this.p("vjs-ended");this.q.loop?(this.currentTime(0),this.play()):this.paused()||this.pause()};s.Wc=function(){var a=M(this,"duration");a&&(0>a&&(a=Infinity),this.duration(a),Infinity===a?this.p("vjs-live"):this.r("vjs-live"))};s.we=function(){this.isFullscreen()?this.p("vjs-fullscreen"):this.r("vjs-fullscreen")};
function N(a,c,d){if(a.h&&!a.h.wa)a.h.I(function(){this[c](d)});else try{a.h[c](d)}catch(e){throw t.log(e),e;}}function M(a,c){if(a.h&&a.h.wa)try{return a.h[c]()}catch(d){throw a.h[c]===b?t.log("Video.js: "+c+" method not defined for "+a.Ua+" playback technology.",d):"TypeError"==d.name?(t.log("Video.js: "+c+" unavailable on "+a.Ua+" playback technology element.",d),a.h.wa=l):t.log(d),d;}}s.play=function(){N(this,"play");return this};s.pause=function(){N(this,"pause");return this};
s.paused=function(){return M(this,"paused")===l?l:f};s.currentTime=function(a){return a!==b?(N(this,"setCurrentTime",a),this):this.K.currentTime=M(this,"currentTime")||0};s.duration=function(a){if(a!==b)return this.K.duration=parseFloat(a),this;this.K.duration===b&&this.Wc();return this.K.duration||0};s.remainingTime=function(){return this.duration()-this.currentTime()};s.buffered=function(){var a=M(this,"buffered");if(!a||!a.length)a=t.Lb(0,0);return a};
s.bufferedPercent=function(){var a=this.duration(),c=this.buffered(),d=0,e,g;if(!a)return 0;for(var h=0;h<c.length;h++)e=c.start(h),g=c.end(h),g>a&&(g=a),d+=g-e;return d/a};s.volume=function(a){if(a!==b)return a=Math.max(0,Math.min(1,parseFloat(a))),this.K.volume=a,N(this,"setVolume",a),t.Me(a),this;a=parseFloat(M(this,"volume"));return isNaN(a)?1:a};s.muted=function(a){return a!==b?(N(this,"setMuted",a),this):M(this,"muted")||l};s.Ta=function(){return M(this,"supportsFullScreen")||l};s.Qc=l;
s.isFullscreen=function(a){return a!==b?(this.Qc=!!a,this):this.Qc};s.isFullScreen=function(a){t.log.warn('player.isFullScreen() has been deprecated, use player.isFullscreen() with a lowercase "s")');return this.isFullscreen(a)};
s.requestFullscreen=function(){var a=t.cb.Rb;this.isFullscreen(f);a?(t.b(document,a.fullscreenchange,t.bind(this,function(c){this.isFullscreen(document[a.fullscreenElement]);this.isFullscreen()===l&&t.n(document,a.fullscreenchange,arguments.callee);this.o("fullscreenchange")})),this.c[a.requestFullscreen]()):this.h.Ta()?N(this,"enterFullScreen"):(this.Jc(),this.o("fullscreenchange"));return this};
s.requestFullScreen=function(){t.log.warn('player.requestFullScreen() has been deprecated, use player.requestFullscreen() with a lowercase "s")');return this.requestFullscreen()};s.exitFullscreen=function(){var a=t.cb.Rb;this.isFullscreen(l);if(a)document[a.exitFullscreen]();else this.h.Ta()?N(this,"exitFullScreen"):(this.Nb(),this.o("fullscreenchange"));return this};s.cancelFullScreen=function(){t.log.warn("player.cancelFullScreen() has been deprecated, use player.exitFullscreen()");return this.exitFullscreen()};
s.Jc=function(){this.je=f;this.Ud=document.documentElement.style.overflow;t.b(document,"keydown",t.bind(this,this.Kc));document.documentElement.style.overflow="hidden";t.p(document.body,"vjs-full-window");this.o("enterFullWindow")};s.Kc=function(a){27===a.keyCode&&(this.isFullscreen()===f?this.exitFullscreen():this.Nb())};s.Nb=function(){this.je=l;t.n(document,"keydown",this.Kc);document.documentElement.style.overflow=this.Ud;t.r(document.body,"vjs-full-window");this.o("exitFullWindow")};
s.selectSource=function(a){for(var c=0,d=this.q.techOrder;c<d.length;c++){var e=t.ua(d[c]),g=window.videojs[e];if(g){if(g.isSupported())for(var h=0,k=a;h<k.length;h++){var p=k[h];if(g.canPlaySource(p))return{source:p,h:e}}}else t.log.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.')}return l};
s.src=function(a){if(a===b)return M(this,"src");t.i.isArray(a)?ma(this,a):"string"===typeof a?this.src({src:a}):a instanceof Object&&(a.type&&!window.videojs[this.Ua].canPlaySource(a)?ma(this,[a]):(this.K.src=a.src,this.Gc=a.type||"",this.I(function(){window.videojs[this.Ua].prototype.hasOwnProperty("setSource")?N(this,"setSource",a):N(this,"src",a.src);"auto"==this.q.preload&&this.load();this.q.autoplay&&this.play()})));return this};
function ma(a,c){var d=a.selectSource(c);d?d.h===a.Ua?a.src(d.source):ka(a,d.h,d.source):(a.setTimeout(function(){this.error({code:4,message:this.v(this.options().notSupportedMessage)})},0),a.Wa())}s.load=function(){N(this,"load");return this};s.currentSrc=function(){return M(this,"currentSrc")||this.K.src||""};s.Qd=function(){return this.Gc||""};s.Qa=function(a){return a!==b?(N(this,"setPreload",a),this.q.preload=a,this):M(this,"preload")};
s.autoplay=function(a){return a!==b?(N(this,"setAutoplay",a),this.q.autoplay=a,this):M(this,"autoplay")};s.loop=function(a){return a!==b?(N(this,"setLoop",a),this.q.loop=a,this):M(this,"loop")};s.poster=function(a){if(a===b)return this.Zc;a||(a="");this.Zc=a;N(this,"setPoster",a);this.o("posterchange");return this};
s.controls=function(a){return a!==b?(a=!!a,this.Kb!==a&&((this.Kb=a)?(this.r("vjs-controls-disabled"),this.p("vjs-controls-enabled"),this.o("controlsenabled")):(this.r("vjs-controls-enabled"),this.p("vjs-controls-disabled"),this.o("controlsdisabled"))),this):this.Kb};t.Player.prototype.ec;s=t.Player.prototype;
s.usingNativeControls=function(a){return a!==b?(a=!!a,this.ec!==a&&((this.ec=a)?(this.p("vjs-using-native-controls"),this.o("usingnativecontrols")):(this.r("vjs-using-native-controls"),this.o("usingcustomcontrols"))),this):this.ec};s.ia=j;s.error=function(a){if(a===b)return this.ia;if(a===j)return this.ia=a,this.r("vjs-error"),this;this.ia=a instanceof t.J?a:new t.J(a);this.o("error");this.p("vjs-error");t.log.error("(CODE:"+this.ia.code+" "+t.J.hb[this.ia.code]+")",this.ia.message,this.ia);return this};
s.ended=function(){return M(this,"ended")};s.seeking=function(){return M(this,"seeking")};s.Da=f;s.reportUserActivity=function(){this.Da=f};s.dc=f;s.userActive=function(a){return a!==b?(a=!!a,a!==this.dc&&((this.dc=a)?(this.Da=f,this.r("vjs-user-inactive"),this.p("vjs-user-active"),this.o("useractive")):(this.Da=l,this.h&&this.h.N("mousemove",function(a){a.stopPropagation();a.preventDefault()}),this.r("vjs-user-active"),this.p("vjs-user-inactive"),this.o("userinactive"))),this):this.dc};
s.playbackRate=function(a){return a!==b?(N(this,"setPlaybackRate",a),this):this.h&&this.h.featuresPlaybackRate?M(this,"playbackRate"):1};s.Pc=l;function ja(a,c){return c!==b?(a.Pc=!!c,a):a.Pc}s.networkState=function(){return M(this,"networkState")};s.readyState=function(){return M(this,"readyState")};s.textTracks=function(){return this.h&&this.h.textTracks()};s.Z=function(){return this.h&&this.h.remoteTextTracks()};s.addTextTrack=function(a,c,d){return this.h&&this.h.addTextTrack(a,c,d)};
s.ha=function(a){return this.h&&this.h.addRemoteTextTrack(a)};s.Ba=function(a){this.h&&this.h.removeRemoteTextTrack(a)};t.ub=t.a.extend();t.ub.prototype.q={wf:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},liveDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{},playbackRateMenuButton:{},subtitlesButton:{},captionsButton:{},chaptersButton:{}}};t.ub.prototype.e=function(){return t.e("div",{className:"vjs-control-bar"})};
t.kc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});t.kc.prototype.e=function(){var a=t.a.prototype.e.call(this,"div",{className:"vjs-live-controls vjs-control"});this.B=t.e("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.v("Stream Type")+"</span>"+this.v("LIVE"),"aria-live":"off"});a.appendChild(this.B);return a};t.nc=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.b(a,"play",this.$b);this.b(a,"pause",this.Zb)}});s=t.nc.prototype;s.sa="Play";
s.V=function(){return"vjs-play-control "+t.w.prototype.V.call(this)};s.u=function(){this.d.paused()?this.d.play():this.d.pause()};s.$b=function(){this.r("vjs-paused");this.p("vjs-playing");this.c.children[0].children[0].innerHTML=this.v("Pause")};s.Zb=function(){this.r("vjs-playing");this.p("vjs-paused");this.c.children[0].children[0].innerHTML=this.v("Play")};t.vb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ma)}});
t.vb.prototype.e=function(){var a=t.a.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.B=t.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"});a.appendChild(this.B);return a};t.vb.prototype.ma=function(){var a=this.d.ob?this.d.K.currentTime:this.d.currentTime();this.B.innerHTML='<span class="vjs-control-text">'+this.v("Current Time")+"</span> "+t.Ma(a,this.d.duration())};
t.wb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ma)}});t.wb.prototype.e=function(){var a=t.a.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.B=t.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.v("Duration Time")+"</span> 0:00","aria-live":"off"});a.appendChild(this.B);return a};
t.wb.prototype.ma=function(){var a=this.d.duration();a&&(this.B.innerHTML='<span class="vjs-control-text">'+this.v("Duration Time")+"</span> "+t.Ma(a))};t.tc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});t.tc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})};t.Db=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"timeupdate",this.ma)}});
t.Db.prototype.e=function(){var a=t.a.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.B=t.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.v("Remaining Time")+"</span> -0:00","aria-live":"off"});a.appendChild(this.B);return a};t.Db.prototype.ma=function(){this.d.duration()&&(this.B.innerHTML='<span class="vjs-control-text">'+this.v("Remaining Time")+"</span> -"+t.Ma(this.d.remainingTime()))};
t.Za=t.w.extend({l:function(a,c){t.w.call(this,a,c)}});t.Za.prototype.sa="Fullscreen";t.Za.prototype.V=function(){return"vjs-fullscreen-control "+t.w.prototype.V.call(this)};t.Za.prototype.u=function(){this.d.isFullscreen()?(this.d.exitFullscreen(),this.Jb.innerHTML=this.v("Fullscreen")):(this.d.requestFullscreen(),this.Jb.innerHTML=this.v("Non-Fullscreen"))};t.Cb=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});t.Cb.prototype.q={children:{seekBar:{}}};
t.Cb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})};t.qc=t.U.extend({l:function(a,c){t.U.call(this,a,c);this.b(a,"timeupdate",this.Ca);a.I(t.bind(this,this.Ca))}});s=t.qc.prototype;s.q={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};s.Yc="timeupdate";s.e=function(){return t.U.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};
s.Ca=function(){var a=this.d.ob?this.d.K.currentTime:this.d.currentTime();this.c.setAttribute("aria-valuenow",t.round(100*this.Sb(),2));this.c.setAttribute("aria-valuetext",t.Ma(a,this.d.duration()))};s.Sb=function(){return this.d.currentTime()/this.d.duration()};s.mb=function(a){t.U.prototype.mb.call(this,a);this.d.ob=f;this.d.p("vjs-scrubbing");this.df=!this.d.paused();this.d.pause()};s.ka=function(a){a=ea(this,a)*this.d.duration();a==this.d.duration()&&(a-=0.1);this.d.currentTime(a)};
s.za=function(a){t.U.prototype.za.call(this,a);this.d.ob=l;this.d.r("vjs-scrubbing");this.df&&this.d.play()};s.kd=function(){this.d.currentTime(this.d.currentTime()+5)};s.jd=function(){this.d.currentTime(this.d.currentTime()-5)};t.zb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.b(a,"progress",this.update)}});t.zb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.v("Loaded")+"</span>: 0%</span>"})};
t.zb.prototype.update=function(){var a,c,d,e,g=this.d.buffered();a=this.d.duration();var h,k=this.d;h=k.buffered();k=k.duration();h=h.end(h.length-1);h>k&&(h=k);k=this.c.children;this.c.style.width=100*(h/a||0)+"%";for(a=0;a<g.length;a++)c=g.start(a),d=g.end(a),(e=k[a])||(e=this.c.appendChild(t.e())),e.style.left=100*(c/h||0)+"%",e.style.width=100*((d-c)/h||0)+"%";for(a=k.length;a>g.length;a--)this.c.removeChild(k[a-1])};t.mc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
t.mc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.v("Progress")+"</span>: 0%</span>"})};t.$a=t.ga.extend({l:function(a,c){t.ga.call(this,a,c);this.b(a,"timeupdate",this.ma)}});t.$a.prototype.defaultValue="00:00";t.$a.prototype.e=function(){return t.ga.prototype.e.call(this,"div",{className:"vjs-seek-handle","aria-live":"off"})};
t.$a.prototype.ma=function(){var a=this.d.ob?this.d.K.currentTime:this.d.currentTime();this.c.innerHTML='<span class="vjs-control-text">'+t.Ma(a,this.d.duration())+"</span>"};t.Gb=t.a.extend({l:function(a,c){t.a.call(this,a,c);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")})}});t.Gb.prototype.q={children:{volumeBar:{}}};
t.Gb.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})};t.Fb=t.U.extend({l:function(a,c){t.U.call(this,a,c);this.b(a,"volumechange",this.Ca);a.I(t.bind(this,this.Ca))}});s=t.Fb.prototype;s.Ca=function(){this.c.setAttribute("aria-valuenow",t.round(100*this.d.volume(),2));this.c.setAttribute("aria-valuetext",t.round(100*this.d.volume(),2)+"%")};s.q={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};
s.Yc="volumechange";s.e=function(){return t.U.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};s.ka=function(a){this.d.muted()&&this.d.muted(l);this.d.volume(ea(this,a))};s.Sb=function(){return this.d.muted()?0:this.d.volume()};s.kd=function(){this.d.volume(this.d.volume()+0.1)};s.jd=function(){this.d.volume(this.d.volume()-0.1)};t.uc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
t.uc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};t.Hb=t.ga.extend();t.Hb.prototype.defaultValue="00:00";t.Hb.prototype.e=function(){return t.ga.prototype.e.call(this,"div",{className:"vjs-volume-handle"})};
t.qa=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.b(a,"volumechange",this.update);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")})}});t.qa.prototype.e=function(){return t.w.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.v("Mute")+"</span></div>"})};
t.qa.prototype.u=function(){this.d.muted(this.d.muted()?l:f)};t.qa.prototype.update=function(){var a=this.d.volume(),c=3;0===a||this.d.muted()?c=0:0.33>a?c=1:0.67>a&&(c=2);this.d.muted()?this.c.children[0].children[0].innerHTML!=this.v("Unmute")&&(this.c.children[0].children[0].innerHTML=this.v("Unmute")):this.c.children[0].children[0].innerHTML!=this.v("Mute")&&(this.c.children[0].children[0].innerHTML=this.v("Mute"));for(a=0;4>a;a++)t.r(this.c,"vjs-vol-"+a);t.p(this.c,"vjs-vol-"+c)};
t.Fa=t.O.extend({l:function(a,c){t.O.call(this,a,c);this.b(a,"volumechange",this.ef);a.h&&a.h.featuresVolumeControl===l&&this.p("vjs-hidden");this.b(a,"loadstart",function(){a.h.featuresVolumeControl===l?this.p("vjs-hidden"):this.r("vjs-hidden")});this.p("vjs-menu-button")}});t.Fa.prototype.Ja=function(){var a=new t.pa(this.d,{Cc:"div"}),c=new t.Fb(this.d,this.q.volumeBar);c.b("focus",function(){a.p("vjs-lock-showing")});c.b("blur",function(){G(a)});a.ba(c);return a};
t.Fa.prototype.u=function(){t.qa.prototype.u.call(this);t.O.prototype.u.call(this)};t.Fa.prototype.e=function(){return t.w.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">'+this.v("Mute")+"</span></div>"})};t.Fa.prototype.ef=t.qa.prototype.update;t.oc=t.O.extend({l:function(a,c){t.O.call(this,a,c);this.sd();this.rd();this.b(a,"loadstart",this.sd);this.b(a,"ratechange",this.rd)}});s=t.oc.prototype;s.sa="Playback Rate";
s.className="vjs-playback-rate";s.e=function(){var a=t.O.prototype.e.call(this);this.Sc=t.e("div",{className:"vjs-playback-rate-value",innerHTML:1});a.appendChild(this.Sc);return a};s.Ja=function(){var a=new t.pa(this.k()),c=this.k().options().playbackRates;if(c)for(var d=c.length-1;0<=d;d--)a.ba(new t.Bb(this.k(),{rate:c[d]+"x"}));return a};s.Ca=function(){this.m().setAttribute("aria-valuenow",this.k().playbackRate())};
s.u=function(){for(var a=this.k().playbackRate(),c=this.k().options().playbackRates,d=c[0],e=0;e<c.length;e++)if(c[e]>a){d=c[e];break}this.k().playbackRate(d)};function na(a){return a.k().h&&a.k().h.featuresPlaybackRate&&a.k().options().playbackRates&&0<a.k().options().playbackRates.length}s.sd=function(){na(this)?this.r("vjs-hidden"):this.p("vjs-hidden")};s.rd=function(){na(this)&&(this.Sc.innerHTML=this.k().playbackRate()+"x")};
t.Bb=t.M.extend({Cc:"button",l:function(a,c){var d=this.label=c.rate,e=this.$c=parseFloat(d,10);c.label=d;c.selected=1===e;t.M.call(this,a,c);this.b(a,"ratechange",this.update)}});t.Bb.prototype.u=function(){t.M.prototype.u.call(this);this.k().playbackRate(this.$c)};t.Bb.prototype.update=function(){this.selected(this.k().playbackRate()==this.$c)};t.pc=t.w.extend({l:function(a,c){t.w.call(this,a,c);this.update();a.b("posterchange",t.bind(this,this.update))}});s=t.pc.prototype;
s.dispose=function(){this.k().n("posterchange",this.update);t.w.prototype.dispose.call(this)};s.e=function(){var a=t.e("div",{className:"vjs-poster",tabIndex:-1});t.wd||(this.Ob=t.e("img"),a.appendChild(this.Ob));return a};s.update=function(){var a=this.k().poster();this.la(a);a?this.show():this.Y()};s.la=function(a){var c;this.Ob?this.Ob.src=a:(c="",a&&(c='url("'+a+'")'),this.c.style.backgroundImage=c)};s.u=function(){this.d.play()};t.lc=t.a.extend({l:function(a,c){t.a.call(this,a,c)}});
t.lc.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})};t.sb=t.w.extend();t.sb.prototype.e=function(){return t.w.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:'<span aria-hidden="true"></span>',"aria-label":"play video"})};t.sb.prototype.u=function(){this.d.play()};t.xb=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.update();this.b(a,"error",this.update)}});
t.xb.prototype.e=function(){var a=t.a.prototype.e.call(this,"div",{className:"vjs-error-display"});this.B=t.e("div");a.appendChild(this.B);return a};t.xb.prototype.update=function(){this.k().error()&&(this.B.innerHTML=this.v(this.k().error().message))};var O;t.j=t.a.extend({l:function(a,c,d){c=c||{};c.dd=l;t.a.call(this,a,c,d);this.featuresProgressEvents||this.re();this.featuresTimeupdateEvents||this.se();this.fe();this.featuresNativeTextTracks||this.Vd();this.he()}});s=t.j.prototype;
s.fe=function(){var a,c;a=this.k();c=function(){a.controls()&&!a.usingNativeControls()&&this.Id()};this.I(c);this.b(a,"controlsenabled",c);this.b(a,"controlsdisabled",this.He);this.I(function(){this.networkState&&0<this.networkState()&&this.k().o("loadstart")})};
s.Id=function(){var a;this.b("mousedown",this.u);this.b("touchstart",function(){a=this.d.userActive()});this.b("touchmove",function(){a&&this.k().reportUserActivity()});this.b("touchend",function(a){a.preventDefault()});da(this);this.b("tap",this.Be)};s.He=function(){this.n("tap");this.n("touchstart");this.n("touchmove");this.n("touchleave");this.n("touchcancel");this.n("touchend");this.n("click");this.n("mousedown")};
s.u=function(a){0===a.button&&this.k().controls()&&(this.k().paused()?this.k().play():this.k().pause())};s.Be=function(){this.k().userActive(!this.k().userActive())};s.re=function(){this.Uc=f;this.$e()};s.qe=function(){this.Uc=l;this.ld()};s.$e=function(){this.Ge=this.setInterval(function(){var a=this.k().bufferedPercent();this.Md!=a&&this.k().o("progress");this.Md=a;1===a&&this.ld()},500)};s.ld=function(){this.clearInterval(this.Ge)};
s.se=function(){var a=this.d;this.Yb=f;this.b(a,"play",this.pd);this.b(a,"pause",this.rb);this.N("timeupdate",function(){this.featuresTimeupdateEvents=f;this.Vc()})};s.Vc=function(){var a=this.d;this.Yb=l;this.rb();this.n(a,"play",this.pd);this.n(a,"pause",this.rb)};s.pd=function(){this.Fc&&this.rb();this.Fc=this.setInterval(function(){this.k().o("timeupdate")},250)};s.rb=function(){this.clearInterval(this.Fc);this.k().o("timeupdate")};s.dispose=function(){this.Uc&&this.qe();this.Yb&&this.Vc();t.a.prototype.dispose.call(this)};
s.bc=function(){this.Yb&&this.k().o("timeupdate")};s.he=function(){function a(){var a=c.ea("textTrackDisplay");a&&a.C()}var c=this.d,d;if(d=this.textTracks())d.addEventListener("removetrack",a),d.addEventListener("addtrack",a),this.b("dispose",t.bind(this,function(){d.removeEventListener("removetrack",a);d.removeEventListener("addtrack",a)}))};
s.Vd=function(){var a=this.d,c,d,e;window.WebVTT||(e=document.createElement("script"),e.src=a.options()["vtt.js"]||"../node_modules/vtt.js/dist/vtt.js",a.m().appendChild(e),window.WebVTT=f);if(d=this.textTracks())c=function(){var c,d,e;e=a.ea("textTrackDisplay");e.C();for(c=0;c<this.length;c++)d=this[c],d.removeEventListener("cuechange",t.bind(e,e.C)),"showing"===d.mode&&d.addEventListener("cuechange",t.bind(e,e.C))},d.addEventListener("change",c),this.b("dispose",t.bind(this,function(){d.removeEventListener("change",
c)}))};s.textTracks=function(){this.d.od=this.d.od||new t.F;return this.d.od};s.Z=function(){this.d.ad=this.d.ad||new t.F;return this.d.ad};O=function(a,c,d,e,g){var h=a.textTracks();g=g||{};g.kind=c;d&&(g.label=d);e&&(g.language=e);g.player=a.d;a=new t.t(g);P(h,a);return a};t.j.prototype.addTextTrack=function(a,c,d){if(!a)throw Error("TextTrack kind is required but was not provided");return O(this,a,c,d)};t.j.prototype.ha=function(a){a=O(this,a.kind,a.label,a.language,a);P(this.Z(),a);return{T:a}};
t.j.prototype.Ba=function(a){Q(this.textTracks(),a);Q(this.Z(),a)};t.j.prototype.fd=m();t.j.prototype.featuresVolumeControl=f;t.j.prototype.featuresFullscreenResize=l;t.j.prototype.featuresPlaybackRate=l;t.j.prototype.featuresProgressEvents=l;t.j.prototype.featuresTimeupdateEvents=l;t.j.prototype.featuresNativeTextTracks=l;
t.j.gc=function(a){a.Ra=function(c,d){var e=a.gd;e||(e=a.gd=[]);d===b&&(d=e.length);e.splice(d,0,c)};a.pb=function(c){for(var d=a.gd||[],e,g=0;g<d.length;g++)if(e=d[g].eb(c))return d[g];return j};a.zc=function(c){var d=a.pb(c);return d?d.eb(c):""};a.prototype.Sa=function(c){var d=a.pb(c);d||(a.S?d=a.S:t.log.error("No source hander found for the current source."));this.Ka();this.n("dispose",this.Ka);this.Ec=c;this.cc=d.Tb(c,this);this.b("dispose",this.Ka);return this};a.prototype.Ka=function(){this.cc&&
this.cc.dispose&&this.cc.dispose()}};t.media={};
t.f=t.j.extend({l:function(a,c,d){var e,g,h;if(c.nativeCaptions===l||c.nativeTextTracks===l)this.featuresNativeTextTracks=l;t.j.call(this,a,c,d);for(d=t.f.yb.length-1;0<=d;d--)this.b(t.f.yb[d],this.Wd);(c=c.source)&&(this.c.currentSrc!==c.src||a.L&&3===a.L.ge)&&this.Sa(c);if(this.c.hasChildNodes()){d=this.c.childNodes;e=d.length;for(c=[];e--;)g=d[e],h=g.nodeName.toLowerCase(),"track"===h&&(this.featuresNativeTextTracks?P(this.Z(),g.track):c.push(g));for(d=0;d<c.length;d++)this.c.removeChild(c[d])}this.featuresNativeTextTracks&&
this.b("loadstart",t.bind(this,this.ee));if(t.Eb&&a.options().nativeControlsForTouch===f){var k,p,r,u;k=this;p=this.k();c=p.controls();k.c.controls=!!c;r=function(){k.c.controls=f};u=function(){k.c.controls=l};p.b("controlsenabled",r);p.b("controlsdisabled",u);c=function(){p.n("controlsenabled",r);p.n("controlsdisabled",u)};k.b("dispose",c);p.b("usingcustomcontrols",c);p.usingNativeControls(f)}a.I(function(){this.L&&(this.q.autoplay&&this.paused())&&(delete this.L.poster,this.play())});this.Wa()}});
s=t.f.prototype;s.dispose=function(){t.f.Mb(this.c);t.j.prototype.dispose.call(this)};
s.e=function(){var a=this.d,c,d,e,g=a.L;if(!g||this.movingMediaElementInDOM===l){g?(e=g.cloneNode(l),t.f.Mb(g),g=e,a.L=j):(g=t.e("video"),e=videojs.$.ya({},a.Xe),(!t.Eb||a.options().nativeControlsForTouch!==f)&&delete e.controls,t.ed(g,t.i.D(e,{id:a.id()+"_html5_api","class":"vjs-tech"})));g.player=a;if(a.q.qd)for(e=0;e<a.q.qd.length;e++)c=a.q.qd[e],d=document.createElement("track"),d.Wb=c.Wb,d.label=c.label,d.hd=c.hd,d.src=c.src,"default"in c&&d.setAttribute("default","default"),g.appendChild(d);
t.Ub(g,a.m())}c=["autoplay","preload","loop","muted"];for(e=c.length-1;0<=e;e--){d=c[e];var h={};"undefined"!==typeof a.q[d]&&(h[d]=a.q[d]);t.ed(g,h)}return g};s.ee=function(){for(var a=this.c.querySelectorAll("track"),c,d=a.length,e={captions:1,subtitles:1};d--;)if((c=a[d].T)&&c.kind in e&&!a[d]["default"])c.mode="disabled"};s.Wd=function(a){"error"==a.type&&this.error()?this.k().error(this.error().code):(a.bubbles=l,this.k().o(a))};s.play=function(){this.c.play()};s.pause=function(){this.c.pause()};
s.paused=function(){return this.c.paused};s.currentTime=function(){return this.c.currentTime};s.bc=function(a){try{this.c.currentTime=a}catch(c){t.log(c,"Video is not ready. (Video.js)")}};s.duration=function(){return this.c.duration||0};s.buffered=function(){return this.c.buffered};s.volume=function(){return this.c.volume};s.Se=function(a){this.c.volume=a};s.muted=function(){return this.c.muted};s.Oe=function(a){this.c.muted=a};s.width=function(){return this.c.offsetWidth};s.height=function(){return this.c.offsetHeight};
s.Ta=function(){return"function"==typeof this.c.webkitEnterFullScreen&&(/Android/.test(t.P)||!/Chrome|Mac OS X 10.5/.test(t.P))?f:l};s.Ic=function(){var a=this.c;"webkitDisplayingFullscreen"in a&&this.N("webkitbeginfullscreen",function(){this.d.isFullscreen(f);this.N("webkitendfullscreen",function(){this.d.isFullscreen(l);this.d.o("fullscreenchange")});this.d.o("fullscreenchange")});a.paused&&a.networkState<=a.jf?(this.c.play(),this.setTimeout(function(){a.pause();a.webkitEnterFullScreen()},0)):a.webkitEnterFullScreen()};
s.Xd=function(){this.c.webkitExitFullScreen()};s.src=function(a){if(a===b)return this.c.src;this.la(a)};s.la=function(a){this.c.src=a};s.load=function(){this.c.load()};s.currentSrc=function(){return this.c.currentSrc};s.poster=function(){return this.c.poster};s.fd=function(a){this.c.poster=a};s.Qa=function(){return this.c.Qa};s.Qe=function(a){this.c.Qa=a};s.autoplay=function(){return this.c.autoplay};s.Le=function(a){this.c.autoplay=a};s.controls=function(){return this.c.controls};s.loop=function(){return this.c.loop};
s.Ne=function(a){this.c.loop=a};s.error=function(){return this.c.error};s.seeking=function(){return this.c.seeking};s.ended=function(){return this.c.ended};s.playbackRate=function(){return this.c.playbackRate};s.Pe=function(a){this.c.playbackRate=a};s.networkState=function(){return this.c.networkState};s.readyState=function(){return this.c.readyState};s.textTracks=function(){return!this.featuresNativeTextTracks?t.j.prototype.textTracks.call(this):this.c.textTracks};
s.addTextTrack=function(a,c,d){return!this.featuresNativeTextTracks?t.j.prototype.addTextTrack.call(this,a,c,d):this.c.addTextTrack(a,c,d)};
s.ha=function(a){if(!this.featuresNativeTextTracks)return t.j.prototype.ha.call(this,a);var c=document.createElement("track");a=a||{};a.kind&&(c.kind=a.kind);a.label&&(c.label=a.label);if(a.language||a.srclang)c.srclang=a.language||a.srclang;a["default"]&&(c["default"]=a["default"]);a.id&&(c.id=a.id);a.src&&(c.src=a.src);this.m().appendChild(c);c.track.mode="metadata"===c.T.kind?"hidden":"disabled";c.onload=function(){var a=c.track;2<=c.readyState&&("metadata"===a.kind&&"hidden"!==a.mode?a.mode="hidden":
"metadata"!==a.kind&&"disabled"!==a.mode&&(a.mode="disabled"),c.onload=j)};P(this.Z(),c.T);return c};s.Ba=function(a){if(!this.featuresNativeTextTracks)return t.j.prototype.Ba.call(this,a);var c,d;Q(this.Z(),a);c=this.m().querySelectorAll("track");for(d=0;d<c.length;d++)if(c[d]===a||c[d].track===a){c[d].parentNode.removeChild(c[d]);break}};t.f.isSupported=function(){try{t.A.volume=0.5}catch(a){return l}return!!t.A.canPlayType};t.j.gc(t.f);t.f.S={};
t.f.S.eb=function(a){function c(a){try{return t.A.canPlayType(a)}catch(c){return""}}return a.type?c(a.type):a.src?(a=(a=a.src.match(/\.([^.\/\?]+)(\?[^\/]+)?$/i))&&a[1],c("video/"+a)):""};t.f.S.Tb=function(a,c){c.la(a.src)};t.f.S.dispose=m();t.f.Ra(t.f.S);t.f.Od=function(){var a=t.A.volume;t.A.volume=a/2+0.1;return a!==t.A.volume};t.f.Nd=function(){var a=t.A.playbackRate;t.A.playbackRate=a/2+0.1;return a!==t.A.playbackRate};
t.f.Ve=function(){var a;(a=!!t.A.textTracks)&&0<t.A.textTracks.length&&(a="number"!==typeof t.A.textTracks[0].mode);a&&t.jc&&(a=l);return a};t.f.prototype.featuresVolumeControl=t.f.Od();t.f.prototype.featuresPlaybackRate=t.f.Nd();t.f.prototype.movingMediaElementInDOM=!t.Ad;t.f.prototype.featuresFullscreenResize=f;t.f.prototype.featuresProgressEvents=f;t.f.prototype.featuresNativeTextTracks=t.f.Ve();var S,oa=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,pa=/^video\/mp4/i;
t.f.Xc=function(){4<=t.hc&&(S||(S=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(a){return a&&oa.test(a)?"maybe":S.call(this,a)});t.Ed&&(S||(S=t.A.constructor.prototype.canPlayType),t.A.constructor.prototype.canPlayType=function(a){return a&&pa.test(a)?"maybe":S.call(this,a)})};t.f.bf=function(){var a=t.A.constructor.prototype.canPlayType;t.A.constructor.prototype.canPlayType=S;S=j;return a};t.f.Xc();t.f.yb="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");
t.f.Mb=function(a){if(a){a.player=j;for(a.parentNode&&a.parentNode.removeChild(a);a.hasChildNodes();)a.removeChild(a.firstChild);a.removeAttribute("src");if("function"===typeof a.load)try{a.load()}catch(c){}}};
t.g=t.j.extend({l:function(a,c,d){t.j.call(this,a,c,d);var e=c.source;d=c.parentEl;var g=this.c=t.e("div",{id:a.id()+"_temp_flash"}),h=a.id()+"_flash_api",k=a.q,k=t.i.D({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:k.autoplay,preload:k.Qa,loop:k.loop,muted:k.muted},c.flashVars),p=t.i.D({wmode:"opaque",bgcolor:"#000000"},c.params),h=t.i.D({id:h,name:h,"class":"vjs-tech"},c.attributes);e&&this.I(function(){this.Sa(e)});
t.Ub(g,d);c.startTime&&this.I(function(){this.load();this.play();this.currentTime(c.startTime)});t.jc&&this.I(function(){this.b("mousemove",function(){this.k().o({type:"mousemove",bubbles:l})})});a.b("stageclick",a.reportUserActivity);this.c=t.g.Hc(c.swf,g,k,p,h)}});s=t.g.prototype;s.dispose=function(){t.j.prototype.dispose.call(this)};s.play=function(){this.c.vjs_play()};s.pause=function(){this.c.vjs_pause()};s.src=function(a){return a===b?this.currentSrc():this.la(a)};
s.la=function(a){a=t.$d(a);this.c.vjs_src(a);if(this.d.autoplay()){var c=this;this.setTimeout(function(){c.play()},0)}};t.g.prototype.setCurrentTime=function(a){this.oe=a;this.c.vjs_setProperty("currentTime",a);t.j.prototype.bc.call(this)};t.g.prototype.currentTime=function(){return this.seeking()?this.oe||0:this.c.vjs_getProperty("currentTime")};t.g.prototype.currentSrc=function(){return this.Ec?this.Ec.src:this.c.vjs_getProperty("currentSrc")};t.g.prototype.load=function(){this.c.vjs_load()};
t.g.prototype.poster=function(){this.c.vjs_getProperty("poster")};t.g.prototype.setPoster=m();t.g.prototype.buffered=function(){return t.Lb(0,this.c.vjs_getProperty("buffered"))};t.g.prototype.Ta=q(l);t.g.prototype.Ic=q(l);function qa(){var a=T[U],c=a.charAt(0).toUpperCase()+a.slice(1);ra["set"+c]=function(c){return this.c.vjs_setProperty(a,c)}}function sa(a){ra[a]=function(){return this.c.vjs_getProperty(a)}}
var ra=t.g.prototype,T="rtmpConnection rtmpStream preload defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),ta="error networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight".split(" "),U;for(U=0;U<T.length;U++)sa(T[U]),qa();for(U=0;U<ta.length;U++)sa(ta[U]);t.g.isSupported=function(){return 10<=t.g.version()[0]};t.j.gc(t.g);t.g.S={};
t.g.S.eb=function(a){return!a.type?"":a.type.replace(/;.*/,"").toLowerCase()in t.g.Zd?"maybe":""};t.g.S.Tb=function(a,c){c.la(a.src)};t.g.S.dispose=m();t.g.Ra(t.g.S);t.g.Zd={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};t.g.onReady=function(a){var c;if(c=(a=t.m(a))&&a.parentNode&&a.parentNode.player)a.player=c,t.g.checkReady(c.h)};t.g.checkReady=function(a){a.m()&&(a.m().vjs_getProperty?a.Wa():this.setTimeout(function(){t.g.checkReady(a)},50))};
t.g.onEvent=function(a,c){t.m(a).player.o(c)};t.g.onError=function(a,c){var d=t.m(a).player,e="FLASH: "+c;"srcnotfound"==c?d.error({code:4,message:e}):d.error(e)};
t.g.version=function(){var a="0,0,0";try{a=(new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(c){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(d){}}return a.split(",")};
t.g.Hc=function(a,c,d,e,g){a=t.g.ce(a,d,e,g);a=t.e("div",{innerHTML:a}).childNodes[0];d=c.parentNode;c.parentNode.replaceChild(a,c);var h=d.childNodes[0];setTimeout(function(){h.style.display="block"},1E3);return a};
t.g.ce=function(a,c,d,e){var g="",h="",k="";c&&t.i.da(c,function(a,c){g+=a+"="+c+"&amp;"});d=t.i.D({movie:a,flashvars:g,allowScriptAccess:"always",allowNetworking:"all"},d);t.i.da(d,function(a,c){h+='<param name="'+a+'" value="'+c+'" />'});e=t.i.D({data:a,width:"100%",height:"100%"},e);t.i.da(e,function(a,c){k+=a+'="'+c+'" '});return'<object type="application/x-shockwave-flash" '+k+">"+h+"</object>"};t.g.Ue={"rtmp/mp4":"MP4","rtmp/flv":"FLV"};t.g.Hf=function(a,c){return a+"&"+c};
t.g.Te=function(a){var c={Bc:"",md:""};if(!a)return c;var d=a.indexOf("&"),e;-1!==d?e=d+1:(d=e=a.lastIndexOf("/")+1,0===d&&(d=e=a.length));c.Bc=a.substring(0,d);c.md=a.substring(e,a.length);return c};t.g.me=function(a){return a in t.g.Ue};t.g.Gd=/^rtmp[set]?:\/\//i;t.g.le=function(a){return t.g.Gd.test(a)};t.g.ac={};t.g.ac.eb=function(a){return t.g.me(a.type)||t.g.le(a.src)?"maybe":""};t.g.ac.Tb=function(a,c){var d=t.g.Te(a.src);c.setRtmpConnection(d.Bc);c.setRtmpStream(d.md)};t.g.Ra(t.g.ac);
t.Fd=t.a.extend({l:function(a,c,d){t.a.call(this,a,c,d);if(!a.q.sources||0===a.q.sources.length){c=0;for(d=a.q.techOrder;c<d.length;c++){var e=t.ua(d[c]),g=window.videojs[e];if(g&&g.isSupported()){ka(a,e);break}}}else a.src(a.q.sources)}});t.rc={disabled:"disabled",hidden:"hidden",showing:"showing"};t.Hd={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"};
t.t=function(a){var c,d,e,g,h,k,p,r,u,A,R;a=a||{};if(!a.player)throw Error("A player was not provided.");c=this;if(t.oa)for(R in c=document.createElement("custom"),t.t.prototype)c[R]=t.t.prototype[R];c.d=a.player;e=t.rc[a.mode]||"disabled";g=t.Hd[a.kind]||"subtitles";h=a.label||"";k=a.language||a.srclang||"";d=a.id||"vjs_text_track_"+t.s++;if("metadata"===g||"chapters"===g)e="hidden";c.X=[];c.Ga=[];p=new t.W(c.X);r=new t.W(c.Ga);A=l;u=t.bind(c,function(){this.activeCues;A&&(this.trigger("cuechange"),
A=l)});"disabled"!==e&&c.d.b("timeupdate",u);Object.defineProperty(c,"kind",{get:function(){return g},set:Function.prototype});Object.defineProperty(c,"label",{get:function(){return h},set:Function.prototype});Object.defineProperty(c,"language",{get:function(){return k},set:Function.prototype});Object.defineProperty(c,"id",{get:function(){return d},set:Function.prototype});Object.defineProperty(c,"mode",{get:function(){return e},set:function(a){t.rc[a]&&(e=a,"showing"===e&&this.d.b("timeupdate",u),
this.o("modechange"))}});Object.defineProperty(c,"cues",{get:function(){return!this.Xb?j:p},set:Function.prototype});Object.defineProperty(c,"activeCues",{get:function(){var a,c,d,e,g;if(!this.Xb)return j;if(0===this.cues.length)return r;e=this.d.currentTime();a=0;c=this.cues.length;for(d=[];a<c;a++)g=this.cues[a],g.startTime<=e&&g.endTime>=e?d.push(g):g.startTime===g.endTime&&(g.startTime<=e&&g.startTime+0.5>=e)&&d.push(g);A=l;if(d.length!==this.Ga.length)A=f;else for(a=0;a<d.length;a++)-1===ua.call(this.Ga,
d[a])&&(A=f);this.Ga=d;r.qb(this.Ga);return r},set:Function.prototype});a.src?va(a.src,c):c.Xb=f;if(t.oa)return c};t.t.prototype=t.i.create(t.z.prototype);t.t.prototype.constructor=t.t;t.t.prototype.bb={cuechange:"cuechange"};t.t.prototype.vc=function(a){var c=this.d.textTracks(),d=0;if(c)for(;d<c.length;d++)c[d]!==this&&c[d].bd(a);this.X.push(a);this.cues.qb(this.X)};t.t.prototype.bd=function(a){for(var c=0,d=this.X.length,e,g=l;c<d;c++)e=this.X[c],e===a&&(this.X.splice(c,1),g=f);g&&this.Dc.qb(this.X)};
var va,V,ua;va=function(a,c){t.ff(a,t.bind(this,function(a,e,g){if(a)return t.log.error(a);c.Xb=f;V(g,c)}))};V=function(a,c){if("function"!==typeof window.WebVTT)window.setTimeout(function(){V(a,c)},25);else{var d=new window.WebVTT.Parser(window,window.vttjs,window.WebVTT.StringDecoder());d.oncue=function(a){c.vc(a)};d.onparsingerror=function(a){t.log.error(a)};d.parse(a);d.flush()}};
ua=function(a,c){var d;if(this==j)throw new TypeError('"this" is null or not defined');var e=Object(this),g=e.length>>>0;if(0===g)return-1;d=+c||0;Infinity===Math.abs(d)&&(d=0);if(d>=g)return-1;for(d=Math.max(0<=d?d:g-Math.abs(d),0);d<g;){if(d in e&&e[d]===a)return d;d++}return-1};
t.F=function(a){var c=this,d,e=0;if(t.oa)for(d in c=document.createElement("custom"),t.F.prototype)c[d]=t.F.prototype[d];a=a||[];c.Va=[];for(Object.defineProperty(c,"length",{get:function(){return this.Va.length}});e<a.length;e++)P(c,a[e]);if(t.oa)return c};t.F.prototype=t.i.create(t.z.prototype);t.F.prototype.constructor=t.F;t.F.prototype.bb={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(var wa in t.F.prototype.bb)t.F.prototype["on"+wa]=j;
function P(a,c){var d=a.Va.length;""+d in a||Object.defineProperty(a,d,{get:function(){return this.Va[d]}});c.addEventListener("modechange",t.bind(a,function(){this.o("change")}));a.Va.push(c);a.o({type:"addtrack",T:c})}function Q(a,c){for(var d=0,e=a.length,g;d<e;d++)if(g=a[d],g===c){a.Va.splice(d,1);break}a.o({type:"removetrack",T:c})}t.F.prototype.de=function(a){for(var c=0,d=this.length,e=j,g;c<d;c++)if(g=this[c],g.id===a){e=g;break}return e};
t.W=function(a){var c=this,d;if(t.oa)for(d in c=document.createElement("custom"),t.W.prototype)c[d]=t.W.prototype[d];t.W.prototype.qb.call(c,a);Object.defineProperty(c,"length",{get:n("pe")});if(t.oa)return c};t.W.prototype.qb=function(a){var c=this.length||0,d=0,e=a.length;this.X=a;this.pe=a.length;a=function(a){""+a in this||Object.defineProperty(this,""+a,{get:function(){return this.X[a]}})};if(c<e)for(d=c;d<e;d++)a.call(this,d)};
t.W.prototype.be=function(a){for(var c=0,d=this.length,e=j,g;c<d;c++)if(g=this[c],g.id===a){e=g;break}return e};t.ra=t.a.extend({l:function(a,c,d){t.a.call(this,a,c,d);a.b("loadstart",t.bind(this,this.Ze));a.I(t.bind(this,function(){if(a.h&&a.h.featuresNativeTextTracks)this.Y();else{var c,d,h;a.b("fullscreenchange",t.bind(this,this.C));d=a.q.tracks||[];for(c=0;c<d.length;c++)h=d[c],this.d.ha(h)}}))}});t.ra.prototype.Ze=function(){this.d.h&&this.d.h.featuresNativeTextTracks?this.Y():this.show()};
t.ra.prototype.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-text-track-display"})};t.ra.prototype.Pd=function(){"function"===typeof window.WebVTT&&window.WebVTT.processCues(window,[],this.c)};function W(a,c){return"rgba("+parseInt(a[1]+a[1],16)+","+parseInt(a[2]+a[2],16)+","+parseInt(a[3]+a[3],16)+","+c+")"}
var xa={xf:"monospace",Df:"sans-serif",Ff:"serif",yf:'"Andale Mono", "Lucida Console", monospace',zf:'"Courier New", monospace',Bf:"sans-serif",Cf:"serif",of:'"Comic Sans MS", Impact, fantasy',Ef:'"Monotype Corsiva", cursive',Gf:'"Andale Mono", "Lucida Console", monospace, sans-serif'};t.ra.prototype.C=function(){var a=this.d.textTracks(),c=0,d;this.Pd();if(a)for(;c<a.length;c++)d=a[c],"showing"===d.mode&&this.cf(d)};
t.ra.prototype.cf=function(a){if("function"===typeof window.WebVTT&&a.activeCues){for(var c=0,d=this.d.textTrackSettings.Lc(),e,g=[];c<a.activeCues.length;c++)g.push(a.activeCues[c]);window.WebVTT.processCues(window,a.activeCues,this.c);for(c=g.length;c--;){a=g[c].pf;d.color&&(a.firstChild.style.color=d.color);if(d.nd)try{a.firstChild.style.color=W(d.color||"#fff",d.nd)}catch(h){}d.backgroundColor&&(a.firstChild.style.backgroundColor=d.backgroundColor);if(d.yc)try{a.firstChild.style.backgroundColor=
W(d.backgroundColor||"#000",d.yc)}catch(k){}if(d.fc)if(d.ud)try{a.style.backgroundColor=W(d.fc,d.ud)}catch(p){}else a.style.backgroundColor=d.fc;d.La&&("dropshadow"===d.La?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===d.La?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===d.La?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===d.La&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222"));
d.Qb&&1!==d.Qb&&(e=window.Af(a.style.fontSize),a.style.fontSize=e*d.Qb+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px");d.fontFamily&&"default"!==d.fontFamily&&("small-caps"===d.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=xa[d.fontFamily])}}};
t.aa=t.M.extend({l:function(a,c){var d=this.T=c.track,e=a.textTracks(),g,h;e&&(g=t.bind(this,function(){var a="showing"===this.T.mode,c,d,g;if(this instanceof t.Ab){a=f;d=0;for(g=e.length;d<g;d++)if(c=e[d],c.kind===this.T.kind&&"showing"===c.mode){a=l;break}}this.selected(a)}),e.addEventListener("change",g),a.b("dispose",function(){e.removeEventListener("change",g)}));c.label=d.label||d.language||"Unknown";c.selected=d["default"]||"showing"===d.mode;t.M.call(this,a,c);e&&e.onchange===b&&this.b(["tap",
"click"],function(){if("object"!==typeof window.yd)try{h=new window.yd("change")}catch(a){}h||(h=document.createEvent("Event"),h.initEvent("change",f,f));e.dispatchEvent(h)})}});t.aa.prototype.u=function(){var a=this.T.kind,c=this.d.textTracks(),d,e=0;t.M.prototype.u.call(this);if(c)for(;e<c.length;e++)d=c[e],d.kind===a&&(d.mode=d===this.T?"showing":"disabled")};t.Ab=t.aa.extend({l:function(a,c){c.track={kind:c.kind,player:a,label:c.kind+" off","default":l,mode:"disabled"};t.aa.call(this,a,c);this.selected(f)}});
t.tb=t.aa.extend({l:function(a,c){c.track={kind:c.kind,player:a,label:c.kind+" settings","default":l,mode:"disabled"};t.aa.call(this,a,c);this.p("vjs-texttrack-settings")}});t.tb.prototype.u=function(){this.k().ea("textTrackSettings").show()};
t.Q=t.O.extend({l:function(a,c){var d,e;t.O.call(this,a,c);d=this.d.textTracks();1>=this.H.length&&this.Y();d&&(e=t.bind(this,this.update),d.addEventListener("removetrack",e),d.addEventListener("addtrack",e),this.d.b("dispose",function(){d.removeEventListener("removetrack",e);d.removeEventListener("addtrack",e)}))}});
t.Q.prototype.Ia=function(){var a=[],c,d;this instanceof t.na&&(!this.k().h||!this.k().h.featuresNativeTextTracks)&&a.push(new t.tb(this.d,{kind:this.fa}));a.push(new t.Ab(this.d,{kind:this.fa}));d=this.d.textTracks();if(!d)return a;for(var e=0;e<d.length;e++)c=d[e],c.kind===this.fa&&a.push(new t.aa(this.d,{track:c}));return a};t.na=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Captions Menu")}});t.na.prototype.fa="captions";t.na.prototype.sa="Captions";
t.na.prototype.className="vjs-captions-button";t.na.prototype.update=function(){var a=2;t.Q.prototype.update.call(this);this.k().h&&this.k().h.featuresNativeTextTracks&&(a=1);this.H&&this.H.length>a?this.show():this.Y()};t.ab=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Subtitles Menu")}});t.ab.prototype.fa="subtitles";t.ab.prototype.sa="Subtitles";t.ab.prototype.className="vjs-subtitles-button";
t.Xa=t.Q.extend({l:function(a,c,d){t.Q.call(this,a,c,d);this.c.setAttribute("aria-label","Chapters Menu")}});s=t.Xa.prototype;s.fa="chapters";s.sa="Chapters";s.className="vjs-chapters-button";s.Ia=function(){var a=[],c,d;d=this.d.textTracks();if(!d)return a;for(var e=0;e<d.length;e++)c=d[e],c.kind===this.fa&&a.push(new t.aa(this.d,{track:c}));return a};
s.Ja=function(){for(var a=this.d.textTracks()||[],c=0,d=a.length,e,g,h=this.H=[];c<d;c++)if(e=a[c],e.kind==this.fa)if(e.Dc){g=e;break}else e.mode="hidden",window.setTimeout(t.bind(this,function(){this.Ja()}),100);a=this.xa;a===b&&(a=new t.pa(this.d),a.va().appendChild(t.e("li",{className:"vjs-menu-title",innerHTML:t.ua(this.fa),We:-1})));if(g){e=g.cues;for(var k,c=0,d=e.length;c<d;c++)k=e[c],k=new t.Ya(this.d,{track:g,cue:k}),h.push(k),a.ba(k);this.ba(a)}0<this.H.length&&this.show();return a};
t.Ya=t.M.extend({l:function(a,c){var d=this.T=c.track,e=this.cue=c.cue,g=a.currentTime();c.label=e.text;c.selected=e.startTime<=g&&g<e.endTime;t.M.call(this,a,c);d.addEventListener("cuechange",t.bind(this,this.update))}});t.Ya.prototype.u=function(){t.M.prototype.u.call(this);this.d.currentTime(this.cue.startTime);this.update(this.cue.startTime)};t.Ya.prototype.update=function(){var a=this.cue,c=this.d.currentTime();this.selected(a.startTime<=c&&c<a.endTime)};
function X(a){var c;a.Ke?c=a.Ke[0]:a.options&&(c=a.options[a.options.selectedIndex]);return c.value}function Y(a,c){var d,e;if(c){for(d=0;d<a.options.length&&!(e=a.options[d],e.value===c);d++);a.selectedIndex=d}}
t.sc=t.a.extend({l:function(a,c){t.a.call(this,a,c);this.Y();t.b(this.m().querySelector(".vjs-done-button"),"click",t.bind(this,function(){this.Je();this.Y()}));t.b(this.m().querySelector(".vjs-default-button"),"click",t.bind(this,function(){this.m().querySelector(".vjs-fg-color > select").selectedIndex=0;this.m().querySelector(".vjs-bg-color > select").selectedIndex=0;this.m().querySelector(".window-color > select").selectedIndex=0;this.m().querySelector(".vjs-text-opacity > select").selectedIndex=
0;this.m().querySelector(".vjs-bg-opacity > select").selectedIndex=0;this.m().querySelector(".vjs-window-opacity > select").selectedIndex=0;this.m().querySelector(".vjs-edge-style select").selectedIndex=0;this.m().querySelector(".vjs-font-family select").selectedIndex=0;this.m().querySelector(".vjs-font-percent select").selectedIndex=2;this.C()}));t.b(this.m().querySelector(".vjs-fg-color > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-bg-color > select"),"change",t.bind(this,
this.C));t.b(this.m().querySelector(".window-color > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-text-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-bg-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-window-opacity > select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-font-percent select"),"change",t.bind(this,this.C));t.b(this.m().querySelector(".vjs-edge-style select"),"change",t.bind(this,
this.C));t.b(this.m().querySelector(".vjs-font-family select"),"change",t.bind(this,this.C));a.options().persistTextTrackSettings&&this.Ie()}});s=t.sc.prototype;s.e=function(){return t.a.prototype.e.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:'<div class="vjs-tracksettings"><div class="vjs-tracksettings-colors"><div class="vjs-fg-color vjs-tracksetting"><label class="vjs-label">Foreground</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-text-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Opaque</option></select></span></div><div class="vjs-bg-color vjs-tracksetting"><label class="vjs-label">Background</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-bg-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div><div class="window-color vjs-tracksetting"><label class="vjs-label">Window</label><select><option value="">---</option><option value="#FFF">White</option><option value="#000">Black</option><option value="#F00">Red</option><option value="#0F0">Green</option><option value="#00F">Blue</option><option value="#FF0">Yellow</option><option value="#F0F">Magenta</option><option value="#0FF">Cyan</option></select><span class="vjs-window-opacity vjs-opacity"><select><option value="">---</option><option value="1">Opaque</option><option value="0.5">Semi-Transparent</option><option value="0">Transparent</option></select></span></div></div><div class="vjs-tracksettings-font"><div class="vjs-font-percent vjs-tracksetting"><label class="vjs-label">Font Size</label><select><option value="0.50">50%</option><option value="0.75">75%</option><option value="1.00" selected>100%</option><option value="1.25">125%</option><option value="1.50">150%</option><option value="1.75">175%</option><option value="2.00">200%</option><option value="3.00">300%</option><option value="4.00">400%</option></select></div><div class="vjs-edge-style vjs-tracksetting"><label class="vjs-label">Text Edge Style</label><select><option value="none">None</option><option value="raised">Raised</option><option value="depressed">Depressed</option><option value="uniform">Uniform</option><option value="dropshadow">Dropshadow</option></select></div><div class="vjs-font-family vjs-tracksetting"><label class="vjs-label">Font Family</label><select><option value="">Default</option><option value="monospaceSerif">Monospace Serif</option><option value="proportionalSerif">Proportional Serif</option><option value="monospaceSansSerif">Monospace Sans-Serif</option><option value="proportionalSansSerif">Proportional Sans-Serif</option><option value="casual">Casual</option><option value="script">Script</option><option value="small-caps">Small Caps</option></select></div></div></div><div class="vjs-tracksettings-controls"><button class="vjs-default-button">Defaults</button><button class="vjs-done-button">Done</button></div>'})};
s.Lc=function(){var a,c,d,e,g,h,k,p,r,u;a=this.m();g=X(a.querySelector(".vjs-edge-style select"));h=X(a.querySelector(".vjs-font-family select"));k=X(a.querySelector(".vjs-fg-color > select"));d=X(a.querySelector(".vjs-text-opacity > select"));p=X(a.querySelector(".vjs-bg-color > select"));c=X(a.querySelector(".vjs-bg-opacity > select"));r=X(a.querySelector(".window-color > select"));e=X(a.querySelector(".vjs-window-opacity > select"));a=window.parseFloat(X(a.querySelector(".vjs-font-percent > select")));
c={backgroundOpacity:c,textOpacity:d,windowOpacity:e,edgeStyle:g,fontFamily:h,color:k,backgroundColor:p,windowColor:r,fontPercent:a};for(u in c)(""===c[u]||"none"===c[u]||"fontPercent"===u&&1===c[u])&&delete c[u];return c};
s.Re=function(a){var c=this.m();Y(c.querySelector(".vjs-edge-style select"),a.La);Y(c.querySelector(".vjs-font-family select"),a.fontFamily);Y(c.querySelector(".vjs-fg-color > select"),a.color);Y(c.querySelector(".vjs-text-opacity > select"),a.nd);Y(c.querySelector(".vjs-bg-color > select"),a.backgroundColor);Y(c.querySelector(".vjs-bg-opacity > select"),a.yc);Y(c.querySelector(".window-color > select"),a.fc);Y(c.querySelector(".vjs-window-opacity > select"),a.ud);(a=a.Qb)&&(a=a.toFixed(2));Y(c.querySelector(".vjs-font-percent > select"),
a)};s.Ie=function(){var a;try{a=JSON.parse(window.localStorage.getItem("vjs-text-track-settings"))}catch(c){}a&&this.Re(a)};s.Je=function(){var a;if(this.d.options().persistTextTrackSettings){a=this.Lc();try{t.ib(a)?window.localStorage.removeItem("vjs-text-track-settings"):window.localStorage.setItem("vjs-text-track-settings",JSON.stringify(a))}catch(c){}}};s.C=function(){var a=this.d.ea("textTrackDisplay");a&&a.C()};
if("undefined"!==typeof window.JSON&&"function"===typeof window.JSON.parse)t.JSON=window.JSON;else{t.JSON={};var Z=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;t.JSON.parse=function(a,c){function d(a,e){var k,p,r=a[e];if(r&&"object"===typeof r)for(k in r)Object.prototype.hasOwnProperty.call(r,k)&&(p=d(r,k),p!==b?r[k]=p:delete r[k]);return c.call(a,e,r)}var e;a=String(a);Z.lastIndex=0;Z.test(a)&&(a=a.replace(Z,function(a){return"\\u"+("0000"+
a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data");}}
t.xc=function(){var a,c,d,e;a=document.getElementsByTagName("video");c=document.getElementsByTagName("audio");var g=[];if(a&&0<a.length){d=0;for(e=a.length;d<e;d++)g.push(a[d])}if(c&&0<c.length){d=0;for(e=c.length;d<e;d++)g.push(c[d])}if(g&&0<g.length){d=0;for(e=g.length;d<e;d++)if((c=g[d])&&c.getAttribute)c.player===b&&(a=c.getAttribute("data-setup"),a!==j&&videojs(c));else{t.Ib();break}}else t.td||t.Ib()};t.Ib=function(){setTimeout(t.xc,1)};
"complete"===document.readyState?t.td=f:t.N(window,"load",function(){t.td=f});t.Ib();t.Fe=function(a,c){t.Player.prototype[a]=c};var ya=this;function $(a,c){var d=a.split("."),e=ya;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var g;d.length&&(g=d.shift());)!d.length&&c!==b?e[g]=c:e=e[g]?e[g]:e[g]={}};$("videojs",t);$("_V_",t);$("videojs.options",t.options);$("videojs.players",t.Aa);$("videojs.TOUCH_ENABLED",t.Eb);$("videojs.cache",t.ta);$("videojs.Component",t.a);t.a.prototype.player=t.a.prototype.k;t.a.prototype.options=t.a.prototype.options;t.a.prototype.init=t.a.prototype.l;t.a.prototype.dispose=t.a.prototype.dispose;t.a.prototype.createEl=t.a.prototype.e;t.a.prototype.contentEl=t.a.prototype.va;t.a.prototype.el=t.a.prototype.m;t.a.prototype.addChild=t.a.prototype.ba;
t.a.prototype.getChild=t.a.prototype.ea;t.a.prototype.getChildById=t.a.prototype.ae;t.a.prototype.children=t.a.prototype.children;t.a.prototype.initChildren=t.a.prototype.Oc;t.a.prototype.removeChild=t.a.prototype.removeChild;t.a.prototype.on=t.a.prototype.b;t.a.prototype.off=t.a.prototype.n;t.a.prototype.one=t.a.prototype.N;t.a.prototype.trigger=t.a.prototype.o;t.a.prototype.triggerReady=t.a.prototype.Wa;t.a.prototype.show=t.a.prototype.show;t.a.prototype.hide=t.a.prototype.Y;
t.a.prototype.width=t.a.prototype.width;t.a.prototype.height=t.a.prototype.height;t.a.prototype.dimensions=t.a.prototype.Td;t.a.prototype.ready=t.a.prototype.I;t.a.prototype.addClass=t.a.prototype.p;t.a.prototype.removeClass=t.a.prototype.r;t.a.prototype.hasClass=t.a.prototype.Oa;t.a.prototype.buildCSSClass=t.a.prototype.V;t.a.prototype.localize=t.a.prototype.v;t.a.prototype.setInterval=t.a.prototype.setInterval;t.a.prototype.setTimeout=t.a.prototype.setTimeout;$("videojs.EventEmitter",t.z);
t.z.prototype.on=t.z.prototype.b;t.z.prototype.addEventListener=t.z.prototype.addEventListener;t.z.prototype.off=t.z.prototype.n;t.z.prototype.removeEventListener=t.z.prototype.removeEventListener;t.z.prototype.one=t.z.prototype.N;t.z.prototype.trigger=t.z.prototype.o;t.z.prototype.dispatchEvent=t.z.prototype.dispatchEvent;t.Player.prototype.ended=t.Player.prototype.ended;t.Player.prototype.enterFullWindow=t.Player.prototype.Jc;t.Player.prototype.exitFullWindow=t.Player.prototype.Nb;
t.Player.prototype.preload=t.Player.prototype.Qa;t.Player.prototype.remainingTime=t.Player.prototype.remainingTime;t.Player.prototype.supportsFullScreen=t.Player.prototype.Ta;t.Player.prototype.currentType=t.Player.prototype.Qd;t.Player.prototype.requestFullScreen=t.Player.prototype.requestFullScreen;t.Player.prototype.requestFullscreen=t.Player.prototype.requestFullscreen;t.Player.prototype.cancelFullScreen=t.Player.prototype.cancelFullScreen;t.Player.prototype.exitFullscreen=t.Player.prototype.exitFullscreen;
t.Player.prototype.isFullScreen=t.Player.prototype.isFullScreen;t.Player.prototype.isFullscreen=t.Player.prototype.isFullscreen;t.Player.prototype.textTracks=t.Player.prototype.textTracks;t.Player.prototype.remoteTextTracks=t.Player.prototype.Z;t.Player.prototype.addTextTrack=t.Player.prototype.addTextTrack;t.Player.prototype.addRemoteTextTrack=t.Player.prototype.ha;t.Player.prototype.removeRemoteTextTrack=t.Player.prototype.Ba;$("videojs.MediaLoader",t.Fd);$("videojs.TextTrackDisplay",t.ra);
$("videojs.ControlBar",t.ub);$("videojs.Button",t.w);$("videojs.PlayToggle",t.nc);$("videojs.FullscreenToggle",t.Za);$("videojs.BigPlayButton",t.sb);$("videojs.LoadingSpinner",t.lc);$("videojs.CurrentTimeDisplay",t.vb);$("videojs.DurationDisplay",t.wb);$("videojs.TimeDivider",t.tc);$("videojs.RemainingTimeDisplay",t.Db);$("videojs.LiveDisplay",t.kc);$("videojs.ErrorDisplay",t.xb);$("videojs.Slider",t.U);$("videojs.ProgressControl",t.Cb);$("videojs.SeekBar",t.qc);$("videojs.LoadProgressBar",t.zb);
$("videojs.PlayProgressBar",t.mc);$("videojs.SeekHandle",t.$a);$("videojs.VolumeControl",t.Gb);$("videojs.VolumeBar",t.Fb);$("videojs.VolumeLevel",t.uc);$("videojs.VolumeMenuButton",t.Fa);$("videojs.VolumeHandle",t.Hb);$("videojs.MuteToggle",t.qa);$("videojs.PosterImage",t.pc);$("videojs.Menu",t.pa);$("videojs.MenuItem",t.M);$("videojs.MenuButton",t.O);$("videojs.PlaybackRateMenuButton",t.oc);$("videojs.ChaptersTrackMenuItem",t.Ya);$("videojs.TextTrackButton",t.Q);$("videojs.TextTrackMenuItem",t.aa);
$("videojs.OffTextTrackMenuItem",t.Ab);$("videojs.CaptionSettingsMenuItem",t.tb);t.O.prototype.createItems=t.O.prototype.Ia;t.Q.prototype.createItems=t.Q.prototype.Ia;t.Xa.prototype.createItems=t.Xa.prototype.Ia;$("videojs.SubtitlesButton",t.ab);$("videojs.CaptionsButton",t.na);$("videojs.ChaptersButton",t.Xa);$("videojs.MediaTechController",t.j);t.j.withSourceHandlers=t.j.gc;t.j.prototype.featuresVolumeControl=t.j.prototype.uf;t.j.prototype.featuresFullscreenResize=t.j.prototype.qf;
t.j.prototype.featuresPlaybackRate=t.j.prototype.rf;t.j.prototype.featuresProgressEvents=t.j.prototype.sf;t.j.prototype.featuresTimeupdateEvents=t.j.prototype.tf;t.j.prototype.setPoster=t.j.prototype.fd;t.j.prototype.textTracks=t.j.prototype.textTracks;t.j.prototype.remoteTextTracks=t.j.prototype.Z;t.j.prototype.addTextTrack=t.j.prototype.addTextTrack;t.j.prototype.addRemoteTextTrack=t.j.prototype.ha;t.j.prototype.removeRemoteTextTrack=t.j.prototype.Ba;$("videojs.Html5",t.f);t.f.Events=t.f.yb;
t.f.isSupported=t.f.isSupported;t.f.canPlaySource=t.f.zc;t.f.patchCanPlayType=t.f.Xc;t.f.unpatchCanPlayType=t.f.bf;t.f.prototype.setCurrentTime=t.f.prototype.bc;t.f.prototype.setVolume=t.f.prototype.Se;t.f.prototype.setMuted=t.f.prototype.Oe;t.f.prototype.setPreload=t.f.prototype.Qe;t.f.prototype.setAutoplay=t.f.prototype.Le;t.f.prototype.setLoop=t.f.prototype.Ne;t.f.prototype.enterFullScreen=t.f.prototype.Ic;t.f.prototype.exitFullScreen=t.f.prototype.Xd;t.f.prototype.playbackRate=t.f.prototype.playbackRate;
t.f.prototype.setPlaybackRate=t.f.prototype.Pe;t.f.registerSourceHandler=t.f.Ra;t.f.selectSourceHandler=t.f.pb;t.f.prototype.setSource=t.f.prototype.Sa;t.f.prototype.disposeSourceHandler=t.f.prototype.Ka;t.f.prototype.textTracks=t.f.prototype.textTracks;t.f.prototype.remoteTextTracks=t.f.prototype.Z;t.f.prototype.addTextTrack=t.f.prototype.addTextTrack;t.f.prototype.addRemoteTextTrack=t.f.prototype.ha;t.f.prototype.removeRemoteTextTrack=t.f.prototype.Ba;$("videojs.Flash",t.g);t.g.isSupported=t.g.isSupported;
t.g.canPlaySource=t.g.zc;t.g.onReady=t.g.onReady;t.g.embed=t.g.Hc;t.g.version=t.g.version;t.g.prototype.setSource=t.g.prototype.Sa;t.g.registerSourceHandler=t.g.Ra;t.g.selectSourceHandler=t.g.pb;t.g.prototype.setSource=t.g.prototype.Sa;t.g.prototype.disposeSourceHandler=t.g.prototype.Ka;$("videojs.TextTrack",t.t);$("videojs.TextTrackList",t.F);$("videojs.TextTrackCueList",t.W);$("videojs.TextTrackSettings",t.sc);t.t.prototype.id=t.t.prototype.id;t.t.prototype.label=t.t.prototype.label;
t.t.prototype.kind=t.t.prototype.Wb;t.t.prototype.mode=t.t.prototype.mode;t.t.prototype.cues=t.t.prototype.Dc;t.t.prototype.activeCues=t.t.prototype.nf;t.t.prototype.addCue=t.t.prototype.vc;t.t.prototype.removeCue=t.t.prototype.bd;t.F.prototype.getTrackById=t.F.prototype.de;t.W.prototype.getCueById=t.F.prototype.be;$("videojs.CaptionsTrack",t.gf);$("videojs.SubtitlesTrack",t.mf);$("videojs.ChaptersTrack",t.hf);$("videojs.autoSetup",t.xc);$("videojs.plugin",t.Fe);$("videojs.createTimeRange",t.Lb);
$("videojs.util",t.$);t.$.mergeOptions=t.$.ya;t.addLanguage=t.Jd;})();

/* vtt.js - v0.11.11 (https://github.com/mozilla/vtt.js) built on 22-01-2015 */
!function(a){var b=a.vttjs={},c=b.VTTCue,d=b.VTTRegion,e=a.VTTCue,f=a.VTTRegion;b.shim=function(){b.VTTCue=c,b.VTTRegion=d},b.restore=function(){b.VTTCue=e,b.VTTRegion=f}}(this),function(a,b){function c(a){if("string"!=typeof a)return!1;var b=h[a.toLowerCase()];return b?a.toLowerCase():!1}function d(a){if("string"!=typeof a)return!1;var b=i[a.toLowerCase()];return b?a.toLowerCase():!1}function e(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)a[d]=c[d]}return a}function f(a,b,f){var h=this,i=/MSIE\s8\.0/.test(navigator.userAgent),j={};i?h=document.createElement("custom"):j.enumerable=!0,h.hasBeenReset=!1;var k="",l=!1,m=a,n=b,o=f,p=null,q="",r=!0,s="auto",t="start",u=50,v="middle",w=50,x="middle";return Object.defineProperty(h,"id",e({},j,{get:function(){return k},set:function(a){k=""+a}})),Object.defineProperty(h,"pauseOnExit",e({},j,{get:function(){return l},set:function(a){l=!!a}})),Object.defineProperty(h,"startTime",e({},j,{get:function(){return m},set:function(a){if("number"!=typeof a)throw new TypeError("Start time must be set to a number.");m=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"endTime",e({},j,{get:function(){return n},set:function(a){if("number"!=typeof a)throw new TypeError("End time must be set to a number.");n=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"text",e({},j,{get:function(){return o},set:function(a){o=""+a,this.hasBeenReset=!0}})),Object.defineProperty(h,"region",e({},j,{get:function(){return p},set:function(a){p=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"vertical",e({},j,{get:function(){return q},set:function(a){var b=c(a);if(b===!1)throw new SyntaxError("An invalid or illegal string was specified.");q=b,this.hasBeenReset=!0}})),Object.defineProperty(h,"snapToLines",e({},j,{get:function(){return r},set:function(a){r=!!a,this.hasBeenReset=!0}})),Object.defineProperty(h,"line",e({},j,{get:function(){return s},set:function(a){if("number"!=typeof a&&a!==g)throw new SyntaxError("An invalid number or illegal string was specified.");s=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"lineAlign",e({},j,{get:function(){return t},set:function(a){var b=d(a);if(!b)throw new SyntaxError("An invalid or illegal string was specified.");t=b,this.hasBeenReset=!0}})),Object.defineProperty(h,"position",e({},j,{get:function(){return u},set:function(a){if(0>a||a>100)throw new Error("Position must be between 0 and 100.");u=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"positionAlign",e({},j,{get:function(){return v},set:function(a){var b=d(a);if(!b)throw new SyntaxError("An invalid or illegal string was specified.");v=b,this.hasBeenReset=!0}})),Object.defineProperty(h,"size",e({},j,{get:function(){return w},set:function(a){if(0>a||a>100)throw new Error("Size must be between 0 and 100.");w=a,this.hasBeenReset=!0}})),Object.defineProperty(h,"align",e({},j,{get:function(){return x},set:function(a){var b=d(a);if(!b)throw new SyntaxError("An invalid or illegal string was specified.");x=b,this.hasBeenReset=!0}})),h.displayState=void 0,i?h:void 0}var g="auto",h={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};f.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},a.VTTCue=a.VTTCue||f,b.VTTCue=f}(this,this.vttjs||{}),function(a,b){function c(a){if("string"!=typeof a)return!1;var b=f[a.toLowerCase()];return b?a.toLowerCase():!1}function d(a){return"number"==typeof a&&a>=0&&100>=a}function e(){var a=100,b=3,e=0,f=100,g=0,h=100,i="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return a},set:function(b){if(!d(b))throw new Error("Width must be between 0 and 100.");a=b}},lines:{enumerable:!0,get:function(){return b},set:function(a){if("number"!=typeof a)throw new TypeError("Lines must be set to a number.");b=a}},regionAnchorY:{enumerable:!0,get:function(){return f},set:function(a){if(!d(a))throw new Error("RegionAnchorX must be between 0 and 100.");f=a}},regionAnchorX:{enumerable:!0,get:function(){return e},set:function(a){if(!d(a))throw new Error("RegionAnchorY must be between 0 and 100.");e=a}},viewportAnchorY:{enumerable:!0,get:function(){return h},set:function(a){if(!d(a))throw new Error("ViewportAnchorY must be between 0 and 100.");h=a}},viewportAnchorX:{enumerable:!0,get:function(){return g},set:function(a){if(!d(a))throw new Error("ViewportAnchorX must be between 0 and 100.");g=a}},scroll:{enumerable:!0,get:function(){return i},set:function(a){var b=c(a);if(b===!1)throw new SyntaxError("An invalid or illegal string was specified.");i=b}}})}var f={"":!0,up:!0};a.VTTRegion=a.VTTRegion||e,b.VTTRegion=e}(this,this.vttjs||{}),function(a){function b(a,b){this.name="ParsingError",this.code=a.code,this.message=b||a.message}function c(a){function b(a,b,c,d){return 3600*(0|a)+60*(0|b)+(0|c)+(0|d)/1e3}var c=a.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return c?c[3]?b(c[1],c[2],c[3].replace(":",""),c[4]):c[1]>59?b(c[1],c[2],0,c[4]):b(0,c[1],c[2],c[4]):null}function d(){this.values=o(null)}function e(a,b,c,d){var e=d?a.split(d):[a];for(var f in e)if("string"==typeof e[f]){var g=e[f].split(c);if(2===g.length){var h=g[0],i=g[1];b(h,i)}}}function f(a,f,g){function h(){var d=c(a);if(null===d)throw new b(b.Errors.BadTimeStamp,"Malformed timestamp: "+k);return a=a.replace(/^[^\sa-zA-Z-]+/,""),d}function i(a,b){var c=new d;e(a,function(a,b){switch(a){case"region":for(var d=g.length-1;d>=0;d--)if(g[d].id===b){c.set(a,g[d].region);break}break;case"vertical":c.alt(a,b,["rl","lr"]);break;case"line":var e=b.split(","),f=e[0];c.integer(a,f),c.percent(a,f)?c.set("snapToLines",!1):null,c.alt(a,f,["auto"]),2===e.length&&c.alt("lineAlign",e[1],["start","middle","end"]);break;case"position":e=b.split(","),c.percent(a,e[0]),2===e.length&&c.alt("positionAlign",e[1],["start","middle","end"]);break;case"size":c.percent(a,b);break;case"align":c.alt(a,b,["start","middle","end","left","right"])}},/:/,/\s/),b.region=c.get("region",null),b.vertical=c.get("vertical",""),b.line=c.get("line","auto"),b.lineAlign=c.get("lineAlign","start"),b.snapToLines=c.get("snapToLines",!0),b.size=c.get("size",100),b.align=c.get("align","middle"),b.position=c.get("position",{start:0,left:0,middle:50,end:100,right:100},b.align),b.positionAlign=c.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},b.align)}function j(){a=a.replace(/^\s+/,"")}var k=a;if(j(),f.startTime=h(),j(),"-->"!==a.substr(0,3))throw new b(b.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+k);a=a.substr(3),j(),f.endTime=h(),j(),i(a,f)}function g(a,b){function d(){function a(a){return b=b.substr(a.length),a}if(!b)return null;var c=b.match(/^([^<]*)(<[^>]+>?)?/);return a(c[1]?c[1]:c[2])}function e(a){return p[a]}function f(a){for(;o=a.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)a=a.replace(o[0],e);return a}function g(a,b){return!s[b.localName]||s[b.localName]===a.localName}function h(b,c){var d=q[b];if(!d)return null;var e=a.document.createElement(d);e.localName=d;var f=r[b];return f&&c&&(e[f]=c.trim()),e}for(var i,j=a.document.createElement("div"),k=j,l=[];null!==(i=d());)if("<"!==i[0])k.appendChild(a.document.createTextNode(f(i)));else{if("/"===i[1]){l.length&&l[l.length-1]===i.substr(2).replace(">","")&&(l.pop(),k=k.parentNode);continue}var m,n=c(i.substr(1,i.length-2));if(n){m=a.document.createProcessingInstruction("timestamp",n),k.appendChild(m);continue}var o=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!o)continue;if(m=h(o[1],o[3]),!m)continue;if(!g(k,m))continue;o[2]&&(m.className=o[2].substr(1).replace("."," ")),l.push(o[1]),k.appendChild(m),k=m}return j}function h(a){function b(a,b){for(var c=b.childNodes.length-1;c>=0;c--)a.push(b.childNodes[c])}function c(a){if(!a||!a.length)return null;var d=a.pop(),e=d.textContent||d.innerText;if(e){var f=e.match(/^.*(\n|\r)/);return f?(a.length=0,f[0]):e}return"ruby"===d.tagName?c(a):d.childNodes?(b(a,d),c(a)):void 0}var d,e=[],f="";if(!a||!a.childNodes)return"ltr";for(b(e,a);f=c(e);)for(var g=0;g<f.length;g++){d=f.charCodeAt(g);for(var h=0;h<t.length;h++)if(t[h]===d)return"rtl"}return"ltr"}function i(a){if("number"==typeof a.line&&(a.snapToLines||a.line>=0&&a.line<=100))return a.line;if(!a.track||!a.track.textTrackList||!a.track.textTrackList.mediaElement)return-1;for(var b=a.track,c=b.textTrackList,d=0,e=0;e<c.length&&c[e]!==b;e++)"showing"===c[e].mode&&d++;return-1*++d}function j(){}function k(a,b,c){var d=/MSIE\s8\.0/.test(navigator.userAgent),e="rgba(255, 255, 255, 1)",f="rgba(0, 0, 0, 0.8)";d&&(e="rgb(255, 255, 255)",f="rgb(0, 0, 0)"),j.call(this),this.cue=b,this.cueDiv=g(a,b.text);var i={color:e,backgroundColor:f,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};d||(i.writingMode=""===b.vertical?"horizontal-tb":"lr"===b.vertical?"vertical-lr":"vertical-rl",i.unicodeBidi="plaintext"),this.applyStyles(i,this.cueDiv),this.div=a.document.createElement("div"),i={textAlign:"middle"===b.align?"center":b.align,font:c.font,whiteSpace:"pre-line",position:"absolute"},d||(i.direction=h(this.cueDiv),i.writingMode=""===b.vertical?"horizontal-tb":"lr"===b.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(i),this.div.appendChild(this.cueDiv);var k=0;switch(b.positionAlign){case"start":k=b.position;break;case"middle":k=b.position-b.size/2;break;case"end":k=b.position-b.size}this.applyStyles(""===b.vertical?{left:this.formatStyle(k,"%"),width:this.formatStyle(b.size,"%")}:{top:this.formatStyle(k,"%"),height:this.formatStyle(b.size,"%")}),this.move=function(a){this.applyStyles({top:this.formatStyle(a.top,"px"),bottom:this.formatStyle(a.bottom,"px"),left:this.formatStyle(a.left,"px"),right:this.formatStyle(a.right,"px"),height:this.formatStyle(a.height,"px"),width:this.formatStyle(a.width,"px")})}}function l(a){var b,c,d,e,f=/MSIE\s8\.0/.test(navigator.userAgent);if(a.div){c=a.div.offsetHeight,d=a.div.offsetWidth,e=a.div.offsetTop;var g=(g=a.div.childNodes)&&(g=g[0])&&g.getClientRects&&g.getClientRects();a=a.div.getBoundingClientRect(),b=g?Math.max(g[0]&&g[0].height||0,a.height/g.length):0}this.left=a.left,this.right=a.right,this.top=a.top||e,this.height=a.height||c,this.bottom=a.bottom||e+(a.height||c),this.width=a.width||d,this.lineHeight=void 0!==b?b:a.lineHeight,f&&!this.lineHeight&&(this.lineHeight=13)}function m(a,b,c,d){function e(a,b){for(var e,f=new l(a),g=1,h=0;h<b.length;h++){for(;a.overlapsOppositeAxis(c,b[h])||a.within(c)&&a.overlapsAny(d);)a.move(b[h]);if(a.within(c))return a;var i=a.intersectPercentage(c);g>i&&(e=new l(a),g=i),a=new l(f)}return e||f}var f=new l(b),g=b.cue,h=i(g),j=[];if(g.snapToLines){var k;switch(g.vertical){case"":j=["+y","-y"],k="height";break;case"rl":j=["+x","-x"],k="width";break;case"lr":j=["-x","+x"],k="width"}var m=f.lineHeight,n=m*Math.round(h),o=c[k]+m,p=j[0];Math.abs(n)>o&&(n=0>n?-1:1,n*=Math.ceil(o/m)*m),0>h&&(n+=""===g.vertical?c.height:c.width,j=j.reverse()),f.move(p,n)}else{var q=f.lineHeight/c.height*100;switch(g.lineAlign){case"middle":h-=q/2;break;case"end":h-=q}switch(g.vertical){case"":b.applyStyles({top:b.formatStyle(h,"%")});break;case"rl":b.applyStyles({left:b.formatStyle(h,"%")});break;case"lr":b.applyStyles({right:b.formatStyle(h,"%")})}j=["+y","-x","+x","-y"],f=new l(b)}var r=e(f,j);b.move(r.toCSSCompatValues(c))}function n(){}var o=Object.create||function(){function a(){}return function(b){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return a.prototype=b,new a}}();b.prototype=o(Error.prototype),b.prototype.constructor=b,b.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},d.prototype={set:function(a,b){this.get(a)||""===b||(this.values[a]=b)},get:function(a,b,c){return c?this.has(a)?this.values[a]:b[c]:this.has(a)?this.values[a]:b},has:function(a){return a in this.values},alt:function(a,b,c){for(var d=0;d<c.length;++d)if(b===c[d]){this.set(a,b);break}},integer:function(a,b){/^-?\d+$/.test(b)&&this.set(a,parseInt(b,10))},percent:function(a,b){var c;return(c=b.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(b=parseFloat(b),b>=0&&100>=b)?(this.set(a,b),!0):!1}};var p={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},q={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},r={v:"title",lang:"lang"},s={rt:"ruby"},t=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];j.prototype.applyStyles=function(a,b){b=b||this.div;for(var c in a)a.hasOwnProperty(c)&&(b.style[c]=a[c])},j.prototype.formatStyle=function(a,b){return 0===a?0:a+b},k.prototype=o(j.prototype),k.prototype.constructor=k,l.prototype.move=function(a,b){switch(b=void 0!==b?b:this.lineHeight,a){case"+x":this.left+=b,this.right+=b;break;case"-x":this.left-=b,this.right-=b;break;case"+y":this.top+=b,this.bottom+=b;break;case"-y":this.top-=b,this.bottom-=b}},l.prototype.overlaps=function(a){return this.left<a.right&&this.right>a.left&&this.top<a.bottom&&this.bottom>a.top},l.prototype.overlapsAny=function(a){for(var b=0;b<a.length;b++)if(this.overlaps(a[b]))return!0;return!1},l.prototype.within=function(a){return this.top>=a.top&&this.bottom<=a.bottom&&this.left>=a.left&&this.right<=a.right},l.prototype.overlapsOppositeAxis=function(a,b){switch(b){case"+x":return this.left<a.left;case"-x":return this.right>a.right;case"+y":return this.top<a.top;case"-y":return this.bottom>a.bottom}},l.prototype.intersectPercentage=function(a){var b=Math.max(0,Math.min(this.right,a.right)-Math.max(this.left,a.left)),c=Math.max(0,Math.min(this.bottom,a.bottom)-Math.max(this.top,a.top)),d=b*c;return d/(this.height*this.width)},l.prototype.toCSSCompatValues=function(a){return{top:this.top-a.top,bottom:a.bottom-this.bottom,left:this.left-a.left,right:a.right-this.right,height:this.height,width:this.width}},l.getSimpleBoxPosition=function(a){var b=a.div?a.div.offsetHeight:a.tagName?a.offsetHeight:0,c=a.div?a.div.offsetWidth:a.tagName?a.offsetWidth:0,d=a.div?a.div.offsetTop:a.tagName?a.offsetTop:0;a=a.div?a.div.getBoundingClientRect():a.tagName?a.getBoundingClientRect():a;var e={left:a.left,right:a.right,top:a.top||d,height:a.height||b,bottom:a.bottom||d+(a.height||b),width:a.width||c};return e},n.StringDecoder=function(){return{decode:function(a){if(!a)return"";if("string"!=typeof a)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(a))}}},n.convertCueToDOMTree=function(a,b){return a&&b?g(a,b):null};var u=.05,v="sans-serif",w="1.5%";n.processCues=function(a,b,c){function d(a){for(var b=0;b<a.length;b++)if(a[b].hasBeenReset||!a[b].displayState)return!0;return!1}if(!a||!b||!c)return null;for(;c.firstChild;)c.removeChild(c.firstChild);var e=a.document.createElement("div");if(e.style.position="absolute",e.style.left="0",e.style.right="0",e.style.top="0",e.style.bottom="0",e.style.margin=w,c.appendChild(e),d(b)){var f=[],g=l.getSimpleBoxPosition(e),h=Math.round(g.height*u*100)/100,i={font:h+"px "+v};!function(){for(var c,d,h=0;h<b.length;h++)d=b[h],c=new k(a,d,i),e.appendChild(c.div),m(a,c,g,f),d.displayState=c.div,f.push(l.getSimpleBoxPosition(c))}()}else for(var j=0;j<b.length;j++)e.appendChild(b[j].displayState)},n.Parser=function(a,b,c){c||(c=b,b={}),b||(b={}),this.window=a,this.vttjs=b,this.state="INITIAL",this.buffer="",this.decoder=c||new TextDecoder("utf8"),this.regionList=[]},n.Parser.prototype={reportOrThrowError:function(a){if(!(a instanceof b))throw a;this.onparsingerror&&this.onparsingerror(a)},parse:function(a){function c(){for(var a=i.buffer,b=0;b<a.length&&"\r"!==a[b]&&"\n"!==a[b];)++b;var c=a.substr(0,b);return"\r"===a[b]&&++b,"\n"===a[b]&&++b,i.buffer=a.substr(b),c}function g(a){var b=new d;if(e(a,function(a,c){switch(a){case"id":b.set(a,c);break;case"width":b.percent(a,c);break;case"lines":b.integer(a,c);break;case"regionanchor":case"viewportanchor":var e=c.split(",");if(2!==e.length)break;var f=new d;if(f.percent("x",e[0]),f.percent("y",e[1]),!f.has("x")||!f.has("y"))break;b.set(a+"X",f.get("x")),b.set(a+"Y",f.get("y"));break;case"scroll":b.alt(a,c,["up"])}},/=/,/\s/),b.has("id")){var c=new(i.vttjs.VTTRegion||i.window.VTTRegion);c.width=b.get("width",100),c.lines=b.get("lines",3),c.regionAnchorX=b.get("regionanchorX",0),c.regionAnchorY=b.get("regionanchorY",100),c.viewportAnchorX=b.get("viewportanchorX",0),c.viewportAnchorY=b.get("viewportanchorY",100),c.scroll=b.get("scroll",""),i.onregion&&i.onregion(c),i.regionList.push({id:b.get("id"),region:c})}}function h(a){e(a,function(a,b){switch(a){case"Region":g(b)}},/:/)}var i=this;a&&(i.buffer+=i.decoder.decode(a,{stream:!0}));try{var j;if("INITIAL"===i.state){if(!/\r\n|\n/.test(i.buffer))return this;j=c();var k=j.match(/^WEBVTT([ \t].*)?$/);if(!k||!k[0])throw new b(b.Errors.BadSignature);i.state="HEADER"}for(var l=!1;i.buffer;){if(!/\r\n|\n/.test(i.buffer))return this;switch(l?l=!1:j=c(),i.state){case"HEADER":/:/.test(j)?h(j):j||(i.state="ID");continue;case"NOTE":j||(i.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(j)){i.state="NOTE";break}if(!j)continue;if(i.cue=new(i.vttjs.VTTCue||i.window.VTTCue)(0,0,""),i.state="CUE",-1===j.indexOf("-->")){i.cue.id=j;continue}case"CUE":try{f(j,i.cue,i.regionList)}catch(m){i.reportOrThrowError(m),i.cue=null,i.state="BADCUE";continue}i.state="CUETEXT";continue;case"CUETEXT":var n=-1!==j.indexOf("-->");if(!j||n&&(l=!0)){i.oncue&&i.oncue(i.cue),i.cue=null,i.state="ID";continue}i.cue.text&&(i.cue.text+="\n"),i.cue.text+=j;continue;case"BADCUE":j||(i.state="ID");continue}}}catch(m){i.reportOrThrowError(m),"CUETEXT"===i.state&&i.cue&&i.oncue&&i.oncue(i.cue),i.cue=null,i.state="INITIAL"===i.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var a=this;try{if(a.buffer+=a.decoder.decode(),(a.cue||"HEADER"===a.state)&&(a.buffer+="\n\n",a.parse()),"INITIAL"===a.state)throw new b(b.Errors.BadSignature)}catch(c){a.reportOrThrowError(c)}return a.onflush&&a.onflush(),this}},a.WebVTT=n}(this,this.vttjs||{});;
