Sindbad~EG File Manager
/*! TechSmith Smart Player v3.16.3 */
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}: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},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?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},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.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+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,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(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===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]||at.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]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t
}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},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)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
if(window.XDomainRequest&&!("withCredentials"in new XMLHttpRequest)){var httpRegEx=/^https?:\/\//i;var getOrPostRegEx=/^get|post$/i;var sameSchemeRegEx=new RegExp("^"+location.protocol,"i");var xmlRegEx=/\/xml/i;jQuery.ajaxTransport("text html xml json",function(e,t,n){if(e.crossDomain&&e.async&&getOrPostRegEx.test(e.type)&&httpRegEx.test(t.url)&&sameSchemeRegEx.test(t.url)){var r=null;var i=(t.dataType||"").toLowerCase();return{send:function(n,s){r=new XDomainRequest;if(/^\d+$/.test(t.timeout)){r.timeout=t.timeout}r.ontimeout=function(){s(500,"timeout")};r.onload=function(){var e="Content-Length: "+r.responseText.length+"\r\nContent-Type: "+r.contentType;var t={code:200,message:"success"};var n={text:r.responseText};try{if(i==="json"){try{n.json=JSON.parse(r.responseText)}catch(o){t.code=500;t.message="parseerror"}}else if(i==="xml"||i!=="text"&&xmlRegEx.test(r.contentType)){var u=new ActiveXObject("Microsoft.XMLDOM");u.async=false;try{u.loadXML(r.responseText)}catch(o){u=undefined}if(!u||!u.documentElement||u.getElementsByTagName("parsererror").length){t.code=500;t.message="parseerror";throw"Invalid XML: "+r.responseText}n.xml=u}}catch(a){throw a}finally{s(t.code,t.message,n,e)}};r.onerror=function(){s(500,"error",{text:r.responseText})};r.open(e.type,e.url);r.send()},abort:function(){if(r){r.abort()}}}}})}
/*! jQuery UI - v1.10.3 - 2013-05-31
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.slider.js
* Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);(function(e){var t=!1;e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.10.3",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)o.push(a);this.handles=n.add(t(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,a,o,r,h,l,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,a=t(this),o=e)}),r=this._start(e,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),h=a.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-a.width()/2,top:e.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,a;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,a=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),a!==!1&&this.values(e,i,!0))):i!==this.value()&&(a=this._trigger("slide",t,{handle:this.handles[e],value:i}),a!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,a,o,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(o=this.options.step,n=a=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:a=this._valueMin();break;case t.ui.keyCode.END:a=this._valueMax();break;case t.ui.keyCode.PAGE_UP:a=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:a=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;a=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;a=this._trimAlignValue(n-o)}this._slide(i,r,a)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})})(jQuery);
/* SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
* Build: http://www.modernizr.com/download/#-touch-iepp-cssclasses-teststyles-prefixes-load
*/
;window.Modernizr=function(a,b,c){function z(a,b){return!!~(""+a).indexOf(b)}function y(a,b){return typeof a===b}function x(a,b){return w(n.join(a+";")+(b||""))}function w(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l,m=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o={},p={},q={},r=[],s=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["­","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},t,u={}.hasOwnProperty,v;!y(u,c)&&!y(u.call,c)?v=function(a,b){return u.call(a,b)}:v=function(a,b){return b in a&&y(a.constructor.prototype[b],c)};var A=function(c,d){var f=c.join(""),g=d.length;s(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9},g,d)}([,["@media (",n.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join("")],[,"touch"]);o.touch=function(){return e.touch};for(var B in o)v(o,B)&&(t=B.toLowerCase(),e[t]=o[B](),r.push((e[t]?"":"no-")+t));w(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=n,e.testStyles=s,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+r.join(" "):"");return e}(this,this.document),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload();m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return Object(a)===a},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*
Copyright (C) 2011 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
var Handlebars={};(function(a,b){a.VERSION="1.0.0",a.COMPILER_REVISION=4,a.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"},a.helpers={},a.partials={};var c=Object.prototype.toString,d="[object Function]",e="[object Object]";a.registerHelper=function(b,d,f){if(c.call(b)===e){if(f||d)throw new a.Exception("Arg not supported with multiple helpers");a.Utils.extend(this.helpers,b)}else f&&(d.not=f),this.helpers[b]=d},a.registerPartial=function(b,d){c.call(b)===e?a.Utils.extend(this.partials,b):this.partials[b]=d},a.registerHelper("helperMissing",function(a){if(2===arguments.length)return b;throw Error("Missing helper: '"+a+"'")}),a.registerHelper("blockHelperMissing",function(b,e){var f=e.inverse||function(){},g=e.fn,h=c.call(b);return h===d&&(b=b.call(this)),b===!0?g(this):b===!1||null==b?f(this):"[object Array]"===h?b.length>0?a.helpers.each(b,e):f(this):g(b)}),a.K=function(){},a.createFrame=Object.create||function(b){a.K.prototype=b;var c=new a.K;return a.K.prototype=null,c},a.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(b,c){if(b>=a.logger.level){var d=a.logger.methodMap[b];"undefined"!=typeof console&&console[d]&&console[d].call(console,c)}}},a.log=function(b,c){a.logger.log(b,c)},a.registerHelper("each",function(b,e){var j,f=e.fn,g=e.inverse,h=0,i="",k=c.call(b);if(k===d&&(b=b.call(this)),e.data&&(j=a.createFrame(e.data)),b&&"object"==typeof b)if(b instanceof Array)for(var l=b.length;l>h;h++)j&&(j.index=h),i+=f(b[h],{data:j});else for(var m in b)b.hasOwnProperty(m)&&(j&&(j.key=m),i+=f(b[m],{data:j}),h++);return 0===h&&(i=g(this)),i}),a.registerHelper("if",function(b,e){var f=c.call(b);return f===d&&(b=b.call(this)),!b||a.Utils.isEmpty(b)?e.inverse(this):e.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn})}),a.registerHelper("with",function(e,f){var g=c.call(e);return g===d&&(e=e.call(this)),a.Utils.isEmpty(e)?b:f.fn(e)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)});var f=["description","fileName","lineNumber","message","name","number","stack"];a.Exception=function(){for(var b=Error.prototype.constructor.apply(this,arguments),c=0;f.length>c;c++)this[f[c]]=b[f[c]]},a.Exception.prototype=Error(),a.SafeString=function(a){this.string=a},a.SafeString.prototype.toString=function(){return""+this.string};var g={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},h=/[&<>"'`]/g,i=/[&<>"'`]/,j=function(a){return g[a]||"&"};a.Utils={extend:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},escapeExpression:function(b){return b instanceof a.SafeString?""+b:null==b||b===!1?"":(b=""+b,i.test(b)?b.replace(h,j):b)},isEmpty:function(a){return a||0===a?"[object Array]"===c.call(a)&&0===a.length?!0:!1:!0}},a.VM={template:function(b){var c={escapeExpression:a.Utils.escapeExpression,invokePartial:a.VM.invokePartial,programs:[],program:function(b,c,d){var e=this.programs[b];return d?e=a.VM.program(b,c,d):e||(e=this.programs[b]=a.VM.program(b,c)),e},merge:function(b,c){var d=b||c;return b&&c&&(d={},a.Utils.extend(d,c),a.Utils.extend(d,b)),d},programWithDepth:a.VM.programWithDepth,noop:a.VM.noop,compilerInfo:null};return function(d,e){e=e||{};var f=b.call(c,a,d,e.helpers,e.partials,e.data),g=c.compilerInfo||[],h=g[0]||1,i=a.COMPILER_REVISION;if(h!==i){if(i>h){var j=a.REVISION_CHANGES[i],k=a.REVISION_CHANGES[h];throw"Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+j+") or downgrade your runtime to an older version ("+k+")."}throw"Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+g[1]+")."}return f}},programWithDepth:function(a,b,c){var d=Array.prototype.slice.call(arguments,3),e=function(a,e){return e=e||{},b.apply(this,[a,e.data||c].concat(d))};return e.program=a,e.depth=d.length,e},program:function(a,b,c){var d=function(a,d){return d=d||{},b(a,d.data||c)};return d.program=a,d.depth=0,d},noop:function(){return""},invokePartial:function(c,d,e,f,g,h){var i={helpers:f,partials:g,data:h};if(c===b)throw new a.Exception("The partial "+d+" could not be found");if(c instanceof Function)return c(e,i);if(a.compile)return g[d]=a.compile(c,{data:h!==b}),g[d](e,i);throw new a.Exception("The partial "+d+" could not be compiled when running in runtime-only mode")}},a.template=a.VM.template})(Handlebars);
/*
http://www.JSON.org/json2.js
2010-03-20
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
this.JSON||(this.JSON={}),function(){function f(a){return 10>a?"0"+a:a}function quote(a){return escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function str(a,b){var c,d,e,f,h,g=gap,i=b[a];switch(i&&"object"==typeof i&&"function"==typeof i.toJSON&&(i=i.toJSON(a)),"function"==typeof rep&&(i=rep.call(b,a,i)),typeof i){case"string":return quote(i);case"number":return isFinite(i)?i+"":"null";case"boolean":case"null":return i+"";case"object":if(!i)return"null";if(gap+=indent,h=[],"[object Array]"===Object.prototype.toString.apply(i)){for(f=i.length,c=0;f>c;c+=1)h[c]=str(c,i)||"null";return e=0===h.length?"[]":gap?"[\n"+gap+h.join(",\n"+gap)+"\n"+g+"]":"["+h.join(",")+"]",gap=g,e}if(rep&&"object"==typeof rep)for(f=rep.length,c=0;f>c;c+=1)d=rep[c],"string"==typeof d&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));else for(d in i)Object.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&h.push(quote(d)+(gap?": ":":")+e));return e=0===h.length?"{}":gap?"{\n"+gap+h.join(",\n"+gap)+"\n"+g+"}":"{"+h.join(",")+"}",gap=g,e}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;"function"!=typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var d;if(gap="",indent="","number"==typeof c)for(d=0;c>d;d+=1)indent+=" ";else"string"==typeof c&&(indent=c);if(rep=b,b&&"function"!=typeof b&&("object"!=typeof b||"number"!=typeof b.length))throw Error("JSON.stringify");return str("",{"":a})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&"object"==typeof e)for(c in e)Object.hasOwnProperty.call(e,c)&&(d=walk(e,c),void 0!==d?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;if(text+="",cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();
/**
* easyXDM
* http://easyxdm.net/
* Copyright(c) 2009-2011, Øyvind Sean Kinsey, oyvind@kinsey.no.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
(function(N,d,p,K,k,H){var b=this;var n=Math.floor(Math.random()*10000);var q=Function.prototype;var Q=/^((http.?:)\/\/([^:\/\s]+)(:\d+)*)/;var R=/[\-\w]+\/\.\.\//;var F=/([^:])\/\//g;var I="";var o={};var M=N.easyXDM;var U="easyXDM_";var E;var y=false;var i;var h;function C(X,Z){var Y=typeof X[Z];return Y=="function"||(!!(Y=="object"&&X[Z]))||Y=="unknown"}function u(X,Y){return !!(typeof(X[Y])=="object"&&X[Y])}function r(X){return Object.prototype.toString.call(X)==="[object Array]"}function c(){try{var X=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");i=Array.prototype.slice.call(X.GetVariable("$version").match(/(\d+),(\d+),(\d+),(\d+)/),1);h=parseInt(i[0],10)>9&&parseInt(i[1],10)>0;X=null;return true}catch(Y){return false}}var v,x;if(C(N,"addEventListener")){v=function(Z,X,Y){Z.addEventListener(X,Y,false)};x=function(Z,X,Y){Z.removeEventListener(X,Y,false)}}else{if(C(N,"attachEvent")){v=function(X,Z,Y){X.attachEvent("on"+Z,Y)};x=function(X,Z,Y){X.detachEvent("on"+Z,Y)}}else{throw new Error("Browser not supported")}}var W=false,J=[],L;if("readyState" in d){L=d.readyState;W=L=="complete"||(~navigator.userAgent.indexOf("AppleWebKit/")&&(L=="loaded"||L=="interactive"))}else{W=!!d.body}function s(){if(W){return}W=true;for(var X=0;X<J.length;X++){J[X]()}J.length=0}if(!W){if(C(N,"addEventListener")){v(d,"DOMContentLoaded",s)}else{v(d,"readystatechange",function(){if(d.readyState=="complete"){s()}});if(d.documentElement.doScroll&&N===top){var g=function(){if(W){return}try{d.documentElement.doScroll("left")}catch(X){K(g,1);return}s()};g()}}v(N,"load",s)}function G(Y,X){if(W){Y.call(X);return}J.push(function(){Y.call(X)})}function m(){var Z=parent;if(I!==""){for(var X=0,Y=I.split(".");X<Y.length;X++){Z=Z[Y[X]]}}return Z.easyXDM}function e(X){N.easyXDM=M;I=X;if(I){U="easyXDM_"+I.replace(".","_")+"_"}return o}function z(X){return X.match(Q)[3]}function f(X){return X.match(Q)[4]||""}function j(Z){var X=Z.toLowerCase().match(Q);var aa=X[2],ab=X[3],Y=X[4]||"";if((aa=="http:"&&Y==":80")||(aa=="https:"&&Y==":443")){Y=""}return aa+"//"+ab+Y}function B(X){X=X.replace(F,"$1/");if(!X.match(/^(http||https):\/\//)){var Y=(X.substring(0,1)==="/")?"":p.pathname;if(Y.substring(Y.length-1)!=="/"){Y=Y.substring(0,Y.lastIndexOf("/")+1)}X=p.protocol+"//"+p.host+Y+X}while(R.test(X)){X=X.replace(R,"")}return X}function P(X,aa){var ac="",Z=X.indexOf("#");if(Z!==-1){ac=X.substring(Z);X=X.substring(0,Z)}var ab=[];for(var Y in aa){if(aa.hasOwnProperty(Y)){ab.push(Y+"="+H(aa[Y]))}}return X+(y?"#":(X.indexOf("?")==-1?"?":"&"))+ab.join("&")+ac}var S=(function(X){X=X.substring(1).split("&");var Z={},aa,Y=X.length;while(Y--){aa=X[Y].split("=");Z[aa[0]]=k(aa[1])}return Z}(/xdm_e=/.test(p.search)?p.search:p.hash));function t(X){return typeof X==="undefined"}var O=function(){var Y={};var Z={a:[1,2,3]},X='{"a":[1,2,3]}';if(typeof JSON!="undefined"&&typeof JSON.stringify==="function"&&JSON.stringify(Z).replace((/\s/g),"")===X){return JSON}if(Object.toJSON){if(Object.toJSON(Z).replace((/\s/g),"")===X){Y.stringify=Object.toJSON}}if(typeof String.prototype.evalJSON==="function"){Z=X.evalJSON();if(Z.a&&Z.a.length===3&&Z.a[2]===3){Y.parse=function(aa){return aa.evalJSON()}}}if(Y.stringify&&Y.parse){O=function(){return Y};return Y}return null};function T(X,Y,Z){var ab;for(var aa in Y){if(Y.hasOwnProperty(aa)){if(aa in X){ab=Y[aa];if(typeof ab==="object"){T(X[aa],ab,Z)}else{if(!Z){X[aa]=Y[aa]}}}else{X[aa]=Y[aa]}}}return X}function a(){var Y=d.body.appendChild(d.createElement("form")),X=Y.appendChild(d.createElement("input"));X.name=U+"TEST"+n;E=X!==Y.elements[X.name];d.body.removeChild(Y)}function A(X){if(t(E)){a()}var Z;if(E){Z=d.createElement('<iframe name="'+X.props.name+'"/>')}else{Z=d.createElement("IFRAME");Z.name=X.props.name}Z.id=Z.name=X.props.name;delete X.props.name;if(X.onLoad){v(Z,"load",X.onLoad)}if(typeof X.container=="string"){X.container=d.getElementById(X.container)}if(!X.container){T(Z.style,{position:"absolute",top:"-2000px"});X.container=d.body}var Y=X.props.src;delete X.props.src;T(Z,X.props);Z.border=Z.frameBorder=0;Z.allowTransparency=true;X.container.appendChild(Z);Z.src=Y;X.props.src=Y;return Z}function V(aa,Z){if(typeof aa=="string"){aa=[aa]}var Y,X=aa.length;while(X--){Y=aa[X];Y=new RegExp(Y.substr(0,1)=="^"?Y:("^"+Y.replace(/(\*)/g,".$1").replace(/\?/g,".")+"$"));if(Y.test(Z)){return true}}return false}function l(Z){var ae=Z.protocol,Y;Z.isHost=Z.isHost||t(S.xdm_p);y=Z.hash||false;if(!Z.props){Z.props={}}if(!Z.isHost){Z.channel=S.xdm_c;Z.secret=S.xdm_s;Z.remote=S.xdm_e;ae=S.xdm_p;if(Z.acl&&!V(Z.acl,Z.remote)){throw new Error("Access denied for "+Z.remote)}}else{Z.remote=B(Z.remote);Z.channel=Z.channel||"default"+n++;Z.secret=Math.random().toString(16).substring(2);if(t(ae)){if(j(p.href)==j(Z.remote)){ae="4"}else{if(C(N,"postMessage")||C(d,"postMessage")){ae="1"}else{if(Z.swf&&C(N,"ActiveXObject")&&c()){ae="6"}else{if(navigator.product==="Gecko"&&"frameElement" in N&&navigator.userAgent.indexOf("WebKit")==-1){ae="5"}else{if(Z.remoteHelper){Z.remoteHelper=B(Z.remoteHelper);ae="2"}else{ae="0"}}}}}}}Z.protocol=ae;switch(ae){case"0":T(Z,{interval:100,delay:2000,useResize:true,useParent:false,usePolling:false},true);if(Z.isHost){if(!Z.local){var ac=p.protocol+"//"+p.host,X=d.body.getElementsByTagName("img"),ad;var aa=X.length;while(aa--){ad=X[aa];if(ad.src.substring(0,ac.length)===ac){Z.local=ad.src;break}}if(!Z.local){Z.local=N}}var ab={xdm_c:Z.channel,xdm_p:0};if(Z.local===N){Z.usePolling=true;Z.useParent=true;Z.local=p.protocol+"//"+p.host+p.pathname+p.search;ab.xdm_e=Z.local;ab.xdm_pa=1}else{ab.xdm_e=B(Z.local)}if(Z.container){Z.useResize=false;ab.xdm_po=1}Z.remote=P(Z.remote,ab)}else{T(Z,{channel:S.xdm_c,remote:S.xdm_e,useParent:!t(S.xdm_pa),usePolling:!t(S.xdm_po),useResize:Z.useParent?false:Z.useResize})}Y=[new o.stack.HashTransport(Z),new o.stack.ReliableBehavior({}),new o.stack.QueueBehavior({encode:true,maxLength:4000-Z.remote.length}),new o.stack.VerifyBehavior({initiate:Z.isHost})];break;case"1":Y=[new o.stack.PostMessageTransport(Z)];break;case"2":Y=[new o.stack.NameTransport(Z),new o.stack.QueueBehavior(),new o.stack.VerifyBehavior({initiate:Z.isHost})];break;case"3":Y=[new o.stack.NixTransport(Z)];break;case"4":Y=[new o.stack.SameOriginTransport(Z)];break;case"5":Y=[new o.stack.FrameElementTransport(Z)];break;case"6":if(!i){c()}Y=[new o.stack.FlashTransport(Z)];break}Y.push(new o.stack.QueueBehavior({lazy:Z.lazy,remove:true}));return Y}function D(aa){var ab,Z={incoming:function(ad,ac){this.up.incoming(ad,ac)},outgoing:function(ac,ad){this.down.outgoing(ac,ad)},callback:function(ac){this.up.callback(ac)},init:function(){this.down.init()},destroy:function(){this.down.destroy()}};for(var Y=0,X=aa.length;Y<X;Y++){ab=aa[Y];T(ab,Z,true);if(Y!==0){ab.down=aa[Y-1]}if(Y!==X-1){ab.up=aa[Y+1]}}return ab}function w(X){X.up.down=X.down;X.down.up=X.up;X.up=X.down=null}T(o,{version:"2.4.15.118",query:S,stack:{},apply:T,getJSONObject:O,whenReady:G,noConflict:e});o.DomHelper={on:v,un:x,requiresJSON:function(X){if(!u(N,"JSON")){d.write('<script type="text/javascript" src="'+X+'"><\/script>')}}};(function(){var X={};o.Fn={set:function(Y,Z){X[Y]=Z},get:function(Z,Y){var aa=X[Z];if(Y){delete X[Z]}return aa}}}());o.Socket=function(Y){var X=D(l(Y).concat([{incoming:function(ab,aa){Y.onMessage(ab,aa)},callback:function(aa){if(Y.onReady){Y.onReady(aa)}}}])),Z=j(Y.remote);this.origin=j(Y.remote);this.destroy=function(){X.destroy()};this.postMessage=function(aa){X.outgoing(aa,Z)};X.init()};o.Rpc=function(Z,Y){if(Y.local){for(var ab in Y.local){if(Y.local.hasOwnProperty(ab)){var aa=Y.local[ab];if(typeof aa==="function"){Y.local[ab]={method:aa}}}}}var X=D(l(Z).concat([new o.stack.RpcBehavior(this,Y),{callback:function(ac){if(Z.onReady){Z.onReady(ac)}}}]));this.origin=j(Z.remote);this.destroy=function(){X.destroy()};X.init()};o.stack.SameOriginTransport=function(Y){var Z,ab,aa,X;return(Z={outgoing:function(ad,ae,ac){aa(ad);if(ac){ac()}},destroy:function(){if(ab){ab.parentNode.removeChild(ab);ab=null}},onDOMReady:function(){X=j(Y.remote);if(Y.isHost){T(Y.props,{src:P(Y.remote,{xdm_e:p.protocol+"//"+p.host+p.pathname,xdm_c:Y.channel,xdm_p:4}),name:U+Y.channel+"_provider"});ab=A(Y);o.Fn.set(Y.channel,function(ac){aa=ac;K(function(){Z.up.callback(true)},0);return function(ad){Z.up.incoming(ad,X)}})}else{aa=m().Fn.get(Y.channel,true)(function(ac){Z.up.incoming(ac,X)});K(function(){Z.up.callback(true)},0)}},init:function(){G(Z.onDOMReady,Z)}})};o.stack.FlashTransport=function(aa){var ac,X,ab,ad,Y,ae;function af(ah,ag){K(function(){ac.up.incoming(ah,ad)},0)}function Z(ah){var ag=aa.swf+"?host="+aa.isHost;var aj="easyXDM_swf_"+Math.floor(Math.random()*10000);o.Fn.set("flash_loaded"+ah.replace(/[\-.]/g,"_"),function(){o.stack.FlashTransport[ah].swf=Y=ae.firstChild;var ak=o.stack.FlashTransport[ah].queue;for(var al=0;al<ak.length;al++){ak[al]()}ak.length=0});if(aa.swfContainer){ae=(typeof aa.swfContainer=="string")?d.getElementById(aa.swfContainer):aa.swfContainer}else{ae=d.createElement("div");T(ae.style,h&&aa.swfNoThrottle?{height:"20px",width:"20px",position:"fixed",right:0,top:0}:{height:"1px",width:"1px",position:"absolute",overflow:"hidden",right:0,top:0});d.body.appendChild(ae)}var ai="callback=flash_loaded"+ah.replace(/[\-.]/g,"_")+"&proto="+b.location.protocol+"&domain="+z(b.location.href)+"&port="+f(b.location.href)+"&ns="+I;ae.innerHTML="<object height='20' width='20' type='application/x-shockwave-flash' id='"+aj+"' data='"+ag+"'><param name='allowScriptAccess' value='always'></param><param name='wmode' value='transparent'><param name='movie' value='"+ag+"'></param><param name='flashvars' value='"+ai+"'></param><embed type='application/x-shockwave-flash' FlashVars='"+ai+"' allowScriptAccess='always' wmode='transparent' src='"+ag+"' height='1' width='1'></embed></object>"}return(ac={outgoing:function(ah,ai,ag){Y.postMessage(aa.channel,ah.toString());if(ag){ag()}},destroy:function(){try{Y.destroyChannel(aa.channel)}catch(ag){}Y=null;if(X){X.parentNode.removeChild(X);X=null}},onDOMReady:function(){ad=aa.remote;o.Fn.set("flash_"+aa.channel+"_init",function(){K(function(){ac.up.callback(true)})});o.Fn.set("flash_"+aa.channel+"_onMessage",af);aa.swf=B(aa.swf);var ah=z(aa.swf);var ag=function(){o.stack.FlashTransport[ah].init=true;Y=o.stack.FlashTransport[ah].swf;Y.createChannel(aa.channel,aa.secret,j(aa.remote),aa.isHost);if(aa.isHost){if(h&&aa.swfNoThrottle){T(aa.props,{position:"fixed",right:0,top:0,height:"20px",width:"20px"})}T(aa.props,{src:P(aa.remote,{xdm_e:j(p.href),xdm_c:aa.channel,xdm_p:6,xdm_s:aa.secret}),name:U+aa.channel+"_provider"});X=A(aa)}};if(o.stack.FlashTransport[ah]&&o.stack.FlashTransport[ah].init){ag()}else{if(!o.stack.FlashTransport[ah]){o.stack.FlashTransport[ah]={queue:[ag]};Z(ah)}else{o.stack.FlashTransport[ah].queue.push(ag)}}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.PostMessageTransport=function(aa){var ac,ad,Y,Z;function X(ae){if(ae.origin){return j(ae.origin)}if(ae.uri){return j(ae.uri)}if(ae.domain){return p.protocol+"//"+ae.domain}throw"Unable to retrieve the origin of the event"}function ab(af){var ae=X(af);if(ae==Z&&af.data.substring(0,aa.channel.length+1)==aa.channel+" "){ac.up.incoming(af.data.substring(aa.channel.length+1),ae)}}return(ac={outgoing:function(af,ag,ae){Y.postMessage(aa.channel+" "+af,ag||Z);if(ae){ae()}},destroy:function(){x(N,"message",ab);if(ad){Y=null;ad.parentNode.removeChild(ad);ad=null}},onDOMReady:function(){Z=j(aa.remote);if(aa.isHost){var ae=function(af){if(af.data==aa.channel+"-ready"){Y=("postMessage" in ad.contentWindow)?ad.contentWindow:ad.contentWindow.document;x(N,"message",ae);v(N,"message",ab);K(function(){ac.up.callback(true)},0)}};v(N,"message",ae);T(aa.props,{src:P(aa.remote,{xdm_e:j(p.href),xdm_c:aa.channel,xdm_p:1}),name:U+aa.channel+"_provider"});ad=A(aa)}else{v(N,"message",ab);Y=("postMessage" in N.parent)?N.parent:N.parent.document;Y.postMessage(aa.channel+"-ready",Z);K(function(){ac.up.callback(true)},0)}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.FrameElementTransport=function(Y){var Z,ab,aa,X;return(Z={outgoing:function(ad,ae,ac){aa.call(this,ad);if(ac){ac()}},destroy:function(){if(ab){ab.parentNode.removeChild(ab);ab=null}},onDOMReady:function(){X=j(Y.remote);if(Y.isHost){T(Y.props,{src:P(Y.remote,{xdm_e:j(p.href),xdm_c:Y.channel,xdm_p:5}),name:U+Y.channel+"_provider"});ab=A(Y);ab.fn=function(ac){delete ab.fn;aa=ac;K(function(){Z.up.callback(true)},0);return function(ad){Z.up.incoming(ad,X)}}}else{if(d.referrer&&j(d.referrer)!=S.xdm_e){N.top.location=S.xdm_e}aa=N.frameElement.fn(function(ac){Z.up.incoming(ac,X)});Z.up.callback(true)}},init:function(){G(Z.onDOMReady,Z)}})};o.stack.NameTransport=function(ab){var ac;var ae,ai,aa,ag,ah,Y,X;function af(al){var ak=ab.remoteHelper+(ae?"#_3":"#_2")+ab.channel;ai.contentWindow.sendMessage(al,ak)}function ad(){if(ae){if(++ag===2||!ae){ac.up.callback(true)}}else{af("ready");ac.up.callback(true)}}function aj(ak){ac.up.incoming(ak,Y)}function Z(){if(ah){K(function(){ah(true)},0)}}return(ac={outgoing:function(al,am,ak){ah=ak;af(al)},destroy:function(){ai.parentNode.removeChild(ai);ai=null;if(ae){aa.parentNode.removeChild(aa);aa=null}},onDOMReady:function(){ae=ab.isHost;ag=0;Y=j(ab.remote);ab.local=B(ab.local);if(ae){o.Fn.set(ab.channel,function(al){if(ae&&al==="ready"){o.Fn.set(ab.channel,aj);ad()}});X=P(ab.remote,{xdm_e:ab.local,xdm_c:ab.channel,xdm_p:2});T(ab.props,{src:X+"#"+ab.channel,name:U+ab.channel+"_provider"});aa=A(ab)}else{ab.remoteHelper=ab.remote;o.Fn.set(ab.channel,aj)}ai=A({props:{src:ab.local+"#_4"+ab.channel},onLoad:function ak(){var al=ai||this;x(al,"load",ak);o.Fn.set(ab.channel+"_load",Z);(function am(){if(typeof al.contentWindow.sendMessage=="function"){ad()}else{K(am,50)}}())}})},init:function(){G(ac.onDOMReady,ac)}})};o.stack.HashTransport=function(Z){var ac;var ah=this,af,aa,X,ad,am,ab,al;var ag,Y;function ak(ao){if(!al){return}var an=Z.remote+"#"+(am++)+"_"+ao;((af||!ag)?al.contentWindow:al).location=an}function ae(an){ad=an;ac.up.incoming(ad.substring(ad.indexOf("_")+1),Y)}function aj(){if(!ab){return}var an=ab.location.href,ap="",ao=an.indexOf("#");if(ao!=-1){ap=an.substring(ao)}if(ap&&ap!=ad){ae(ap)}}function ai(){aa=setInterval(aj,X)}return(ac={outgoing:function(an,ao){ak(an)},destroy:function(){N.clearInterval(aa);if(af||!ag){al.parentNode.removeChild(al)}al=null},onDOMReady:function(){af=Z.isHost;X=Z.interval;ad="#"+Z.channel;am=0;ag=Z.useParent;Y=j(Z.remote);if(af){Z.props={src:Z.remote,name:U+Z.channel+"_provider"};if(ag){Z.onLoad=function(){ab=N;ai();ac.up.callback(true)}}else{var ap=0,an=Z.delay/50;(function ao(){if(++ap>an){throw new Error("Unable to reference listenerwindow")}try{ab=al.contentWindow.frames[U+Z.channel+"_consumer"]}catch(aq){}if(ab){ai();ac.up.callback(true)}else{K(ao,50)}}())}al=A(Z)}else{ab=N;ai();if(ag){al=parent;ac.up.callback(true)}else{T(Z,{props:{src:Z.remote+"#"+Z.channel+new Date(),name:U+Z.channel+"_consumer"},onLoad:function(){ac.up.callback(true)}});al=A(Z)}}},init:function(){G(ac.onDOMReady,ac)}})};o.stack.ReliableBehavior=function(Y){var aa,ac;var ab=0,X=0,Z="";return(aa={incoming:function(af,ad){var ae=af.indexOf("_"),ag=af.substring(0,ae).split(",");af=af.substring(ae+1);if(ag[0]==ab){Z="";if(ac){ac(true)}}if(af.length>0){aa.down.outgoing(ag[1]+","+ab+"_"+Z,ad);if(X!=ag[1]){X=ag[1];aa.up.incoming(af,ad)}}},outgoing:function(af,ad,ae){Z=af;ac=ae;aa.down.outgoing(X+","+(++ab)+"_"+af,ad)}})};o.stack.QueueBehavior=function(Z){var ac,ad=[],ag=true,aa="",af,X=0,Y=false,ab=false;function ae(){if(Z.remove&&ad.length===0){w(ac);return}if(ag||ad.length===0||af){return}ag=true;var ah=ad.shift();ac.down.outgoing(ah.data,ah.origin,function(ai){ag=false;if(ah.callback){K(function(){ah.callback(ai)},0)}ae()})}return(ac={init:function(){if(t(Z)){Z={}}if(Z.maxLength){X=Z.maxLength;ab=true}if(Z.lazy){Y=true}else{ac.down.init()}},callback:function(ai){ag=false;var ah=ac.up;ae();ah.callback(ai)},incoming:function(ak,ai){if(ab){var aj=ak.indexOf("_"),ah=parseInt(ak.substring(0,aj),10);aa+=ak.substring(aj+1);if(ah===0){if(Z.encode){aa=k(aa)}ac.up.incoming(aa,ai);aa=""}}else{ac.up.incoming(ak,ai)}},outgoing:function(al,ai,ak){if(Z.encode){al=H(al)}var ah=[],aj;if(ab){while(al.length!==0){aj=al.substring(0,X);al=al.substring(aj.length);ah.push(aj)}while((aj=ah.shift())){ad.push({data:ah.length+"_"+aj,origin:ai,callback:ah.length===0?ak:null})}}else{ad.push({data:al,origin:ai,callback:ak})}if(Y){ac.down.init()}else{ae()}},destroy:function(){af=true;ac.down.destroy()}})};o.stack.VerifyBehavior=function(ab){var ac,aa,Y,Z=false;function X(){aa=Math.random().toString(16).substring(2);ac.down.outgoing(aa)}return(ac={incoming:function(af,ad){var ae=af.indexOf("_");if(ae===-1){if(af===aa){ac.up.callback(true)}else{if(!Y){Y=af;if(!ab.initiate){X()}ac.down.outgoing(af)}}}else{if(af.substring(0,ae)===Y){ac.up.incoming(af.substring(ae+1),ad)}}},outgoing:function(af,ad,ae){ac.down.outgoing(aa+"_"+af,ad,ae)},callback:function(ad){if(ab.initiate){X()}}})};o.stack.RpcBehavior=function(ad,Y){var aa,af=Y.serializer||O();var ae=0,ac={};function X(ag){ag.jsonrpc="2.0";aa.down.outgoing(af.stringify(ag))}function ab(ag,ai){var ah=Array.prototype.slice;return function(){var aj=arguments.length,al,ak={method:ai};if(aj>0&&typeof arguments[aj-1]==="function"){if(aj>1&&typeof arguments[aj-2]==="function"){al={success:arguments[aj-2],error:arguments[aj-1]};ak.params=ah.call(arguments,0,aj-2)}else{al={success:arguments[aj-1]};ak.params=ah.call(arguments,0,aj-1)}ac[""+(++ae)]=al;ak.id=ae}else{ak.params=ah.call(arguments,0)}if(ag.namedParams&&ak.params.length===1){ak.params=ak.params[0]}X(ak)}}function Z(an,am,ai,al){if(!ai){if(am){X({id:am,error:{code:-32601,message:"Procedure not found."}})}return}var ak,ah;if(am){ak=function(ao){ak=q;X({id:am,result:ao})};ah=function(ao,ap){ah=q;var aq={id:am,error:{code:-32099,message:ao}};if(ap){aq.error.data=ap}X(aq)}}else{ak=ah=q}if(!r(al)){al=[al]}try{var ag=ai.method.apply(ai.scope,al.concat([ak,ah]));if(!t(ag)){ak(ag)}}catch(aj){ah(aj.message)}}return(aa={incoming:function(ah,ag){var ai=af.parse(ah);if(ai.method){if(Y.handle){Y.handle(ai,X)}else{Z(ai.method,ai.id,Y.local[ai.method],ai.params)}}else{var aj=ac[ai.id];if(ai.error){if(aj.error){aj.error(ai.error)}}else{if(aj.success){aj.success(ai.result)}}delete ac[ai.id]}},init:function(){if(Y.remote){for(var ag in Y.remote){if(Y.remote.hasOwnProperty(ag)){ad[ag]=ab(Y.remote[ag],ag)}}}aa.down.init()},destroy:function(){for(var ag in Y.remote){if(Y.remote.hasOwnProperty(ag)&&ad.hasOwnProperty(ag)){delete ad[ag]}}aa.down.destroy()}})};b.easyXDM=o})(window,document,location,window.setTimeout,decodeURIComponent,encodeURIComponent);
this.TSC=this.TSC||{},this.TSC.templates=this.TSC.templates||{},this.TSC.templates.choice_answer_template=Handlebars.template(function(e,t,n,i,r){function a(e,t,i){var r,a,s="";return s+='\r\n <label class="tsc_multiple_choice active_quiz_item"><img src=\''+l((r=i&&i.placeHolderImg,typeof r===c?r.apply(e):r))+'\' class=\'image_feedback feedback_placeholder\' /><input type="radio" name="tsc_multiple_choice" value="',(a=n.answerIndex)?r=a.call(e,{hash:{},data:t}):(a=e&&e.answerIndex,r=typeof a===c?a.call(e,{hash:{},data:t}):a),s+=l(r)+'" tabindex="',(a=n.tabIndex)?r=a.call(e,{hash:{},data:t}):(a=e&&e.tabIndex,r=typeof a===c?a.call(e,{hash:{},data:t}):a),s+=l(r)+'" ',r=n["if"].call(e,e&&e.isChecked,{hash:{},inverse:d.noop,fn:d.program(2,o,t),data:t}),(r||0===r)&&(s+=r),s+=" />",(a=n.answer)?r=a.call(e,{hash:{},data:t}):(a=e&&e.answer,r=typeof a===c?a.call(e,{hash:{},data:t}):a),(r||0===r)&&(s+=r),s+="</label>\r\n "}function o(){return"checked"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var s,u="",c="function",l=this.escapeExpression,d=this;return u+="<form>\r\n ",s=n.each.call(t,t&&t.answers,{hash:{},inverse:d.noop,fn:d.programWithDepth(1,a,r,t),data:r}),(s||0===s)&&(u+=s),u+="\r\n </form>"}),this.TSC.templates.fill_answer_template=Handlebars.template(function(e,t,n,i,r){function a(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var o,s,u="",c="function",l=this;return u+='<input type="text" id="tsc_text_input" maxlength="140" name="tsc_text_input" value="',(s=n.userResponse)?o=s.call(t,{hash:{},data:r}):(s=t&&t.userResponse,o=typeof s===c?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+='" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:l.noop,fn:l.program(1,a,r),data:r}),(o||0===o)&&(u+=o),u+=" />\r\n"}),this.TSC.templates.html5_player_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<div id="videoWrapper" class="videoDimensions hide">\r\n <div id="videoDiv"></div>\r\n <div id="caption" class="hide"><p></p></div>\r\n <div id="hotspots" class="hide">\r\n <img class="hotspots_mapimg" hidefocus="true" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUZFRTQ3RTgzQjlFMTFFMUE1QzU4ODA1ODE4NzA1RTIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUZFRTQ3RTkzQjlFMTFFMUE1QzU4ODA1ODE4NzA1RTIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBRkVFNDdFNjNCOUUxMUUxQTVDNTg4MDU4MTg3MDVFMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBRkVFNDdFNzNCOUUxMUUxQTVDNTg4MDU4MTg3MDVFMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuQAJiQAAAAXSURBVHjaYvz//z8DOmBiwAIoFAQIMAA2UAMHLJ+dVwAAAABJRU5ErkJggg%3D%3D" usemap="#hotspots" />\r\n <map name="hotspots"></map>\r\n </div>\r\n <div id="videoSidebar">\r\n <div id="videoSidebarHead">\r\n <h6 class="video_title"></h6>\r\n <div id="searchArea">\r\n <input id="searchBox" value="',(o=n.msgSearch)?a=o.call(t,{hash:{},data:r}):(o=t&&t.msgSearch,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'" />\r\n <button id="clearSearchButton" name="ClearSearch" type="button" title="',(o=n.accessBtnClearSearch)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnClearSearch,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnClearSearch)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnClearSearch,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n </div>\r\n <div id="fsSearchAlert" class="search_disabled_message">\r\n <p>',(o=n.msgSearchIsDisabledInFS)?a=o.call(t,{hash:{},data:r}):(o=t&&t.msgSearchIsDisabledInFS,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</p>\r\n </div>\r\n </div>\r\n <div id="videoSidebarContentWrapper">\r\n <div id="videoSidebarContent">\r\n <ol id="tableOfContentsList">\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n <div id="controls" class="spritesheet sprite_repeat control_backdrop">\r\n <div class="controls_left">\r\n <button id="rewind" type="button" name="Rewind" class="spritesheet rewind_button_normal control_button" title="',(o=n.accessBtnRewind)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnRewind,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnRewind)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnRewind,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="play" type="button" name="Play" class="spritesheet play_button_normal control_button" title="',(o=n.accessBtnPlay)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnPlay,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnPlay)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnPlay,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="previous" type="button" name="Previous" class="spritesheet previous_button_disabled control_button" title="',(o=n.accessBtnPrevious)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnPrevious,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnPrevious)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnPrevious,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="next" type="button" name="Next" class="spritesheet next_button_normal control_button" title="',(o=n.accessBtnNext)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnNext,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnNext)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnNext,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n </div>\r\n <div class="controls_right">\r\n <div class="volume_wrapper">\r\n <button id="volume" type="button" name="Volume" class="spritesheet volume_button_normal control_button" title="',(o=n.accessBtnVolume)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnVolume,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnVolume)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnVolume,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <div id="volume_slider_container" class="spritesheet volumebar_backdrop hide">\r\n <div id="volume_slider_vertical"></div>\r\n </div>\r\n </div>\r\n <button id="closedCaptionButton" name="ClosedCaption" type="button" class="spritesheet closed_caption_off_button_normal control_button hide" title="',(o=n.accessBtnClosedCaption)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnClosedCaption,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnClosedCaption)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnClosedCaption,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="tocButton" name="TableOfContents" type="button" class="spritesheet toc_button_normal control_button hide" title="',(o=n.accessBtnTableOfContents)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnTableOfContents,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnTableOfContents)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnTableOfContents,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="settingsButton" name="Settings" type="button" class="spritesheet settings_off_button_normal control_button" title="',(o=n.accessBtnSettings)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnSettings,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnSettings)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnSettings,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n <button id="fullscreen_enter_button" name="FullScreen" type="button" class="spritesheet fullscreen_enter_button_normal control_button" title="',(o=n.accessBtnFullScreen)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnFullScreen,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"\"><span class='sr-only'>",(o=n.accessBtnFullScreen)?a=o.call(t,{hash:{},data:r}):(o=t&&t.accessBtnFullScreen,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</span></button>\r\n </div>\r\n <div id="progress">\r\n <div id="play_time"><span id="current_time_display">00:00</span> / <span id="duration_display">00:00</span></div>\r\n <div class="spritesheet seperator"></div>\r\n <div id="progress_box">\r\n <div id="progress_scrubbar_track_left" class="spritesheet scrubbar_track_left"></div>\r\n <div id="progress_scrubbar_track_right" class="spritesheet scrubbar_track_right"></div>\r\n <div id="progress_scrubbar_track">\r\n <div class="spritesheet sprite_repeat scrubbar_track"></div>\r\n <div id="load_progress" class="spritesheet sprite_repeat scrubbar_loaded_track"></div>\r\n <div id="play_progress" class="spritesheet sprite_repeat scrubbar_played_track">\r\n <div id="scrubbar_scrubber" class="spritesheet scrubbar_scrubber_normal"></div>\r\n </div>\r\n <canvas id="markers"></canvas>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div id="alertDialog"></div>\r\n<div id="screenText"></div>\r\n<div id="speechText"></div>\r\n<a id="videoClickToPlayLink">\r\n <div id="videoClickToPlay" class="spritesheet play_button_overlay_normal"></div>\r\n</a>\r\n<a id="videoClickToReplayLink" style="display: none;">\r\n <div id="videoClickToReplay" class="spritesheet replay_button_overlay_normal"></div>\r\n</a>\r\n'}),this.TSC.templates.io_overlay_view_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<div id="tsc_io_container"><div id="tsc_io_message"><span>',(o=n.ioMessage)?a=o.call(t,{hash:{},data:r}):(o=t&&t.ioMessage,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</span><img src="',(o=n.loaderImg)?a=o.call(t,{hash:{},data:r}):(o=t&&t.loaderImg,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'" /></div></div>'}),this.TSC.templates.ios_app_default_template=Handlebars.template(function(e,t,n,i,r){return this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{},'<div class="externalDefaultPlaybackContainer">\r\n <a href="#" class="externalLargePlayBtn centerAbsoluteElement"></a>\r\n</div>'}),this.TSC.templates.ios_app_slim_splash_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<div class="appplayer">\r\n <div class="posterFade">\r\n <div class="openVideoSmartPlayerContainer">\r\n <a class="openVideoSmartPlayerButton">',(o=n.openWithSmartPlayer)?a=o.call(t,{hash:{},data:r}):(o=t&&t.openWithSmartPlayer,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"</a>\r\n </div>\r\n </div>\r\n</div>"}),this.TSC.templates.ios_app_splash_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<div class="appplayer">\r\n <div class="posterFade">\r\n <div class="topBrdr"><div class="topBrdrInner"></div></div>\r\n <div class="content">\r\n <h2>',(o=n.playWithSmartPlayer)?a=o.call(t,{hash:{},data:r}):(o=t&&t.playWithSmartPlayer,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</h2>\r\n <a class="externalLargePlayBtn"></a>\r\n <a href="" class="appstoreBtn"></a>\r\n </div>\r\n <a class="appNativePlayBtn">\r\n <div class="appNativePlayBtnText">',(o=n.playVideoOnly)?a=o.call(t,{hash:{},data:r}):(o=t&&t.playVideoOnly,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</div>\r\n </a>\r\n <div class="btmBrdr"><div class="btmBrdrInner"></div></div>\r\n </div>\r\n</div>'}),this.TSC.templates.question_count_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+="<span class='tsc_quiz_question_count_current'>",(o=n.currentQuestionNumber)?a=o.call(t,{hash:{},data:r}):(o=t&&t.currentQuestionNumber,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"</span><span class='tsc_quiz_question_count_total'>",(o=n.prepositionText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.prepositionText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+" ",(o=n.totalQuestions)?a=o.call(t,{hash:{},data:r}):(o=t&&t.totalQuestions,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+"</span>\r\n"}),this.TSC.templates.question_set_confirmation_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<div id="tsc_confirmation_container">\r\n <div id="tsc_confirm_control" class="largeButton blueButton">',(o=n.confirmationText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.confirmationText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+'</div>\r\n <div id="tsc_review_control" class="largeButton">',(o=n.reviewText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.reviewText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n</div>'}),this.TSC.templates.question_set_review_confirmation_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function";return s+=' <div id="tsc_review_confirmation_container">\r\n <div id="tsc_review_answers_control" class="largeButton blueButton">',(o=n.reviewAnswerText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.reviewAnswerText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</div>\r\n <div id="tsc_continue_control" class="largeButton">',(o=n.continueText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.continueText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n </div>'}),this.TSC.templates.question_set_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function";return s+='<div id="tsc_quiz_container">\r\n <h2>',(o=n.questionSetTitle)?a=o.call(t,{hash:{},data:r}):(o=t&&t.questionSetTitle,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</h2>\r\n <div id="tsc_quiz_question_count"></div>\r\n <div id="tsc_question_set_result_info"></div>\r\n <div id="tsc_question"></div>\r\n <div id="tsc_answers"></div>\r\n <div id="tsc_quiz_controls">\r\n <button id="tsc_previous_button">',(o=n.previousButtonName)?a=o.call(t,{hash:{},data:r}):(o=t&&t.previousButtonName,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</button>\r\n <button id="tsc_next_button">',(o=n.nextButtonName)?a=o.call(t,{hash:{},data:r}):(o=t&&t.nextButtonName,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</button>\r\n <button id="tsc_submit_button">',(o=n.submitButtonName)?a=o.call(t,{hash:{},data:r}):(o=t&&t.submitButtonName,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</button>\r\n <button id="tsc_continue_button">',(o=n.continueButtonName)?a=o.call(t,{hash:{},data:r}):(o=t&&t.continueButtonName,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+='</button>\r\n </div>\r\n <div class="chat-bubble-arrow-border"></div>\r\n <div class="chat-bubble-arrow"></div>\r\n </div>'}),this.TSC.templates.question_text_template=Handlebars.template(function(e,t,n,i,r){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var a,o,s="",u="function",c=this.escapeExpression;return s+='<p class="quiz_question"><span>',(o=n.questionNumber)?a=o.call(t,{hash:{},data:r}):(o=t&&t.questionNumber,a=typeof o===u?o.call(t,{hash:{},data:r}):o),s+=c(a)+")</span> ",(o=n.questionText)?a=o.call(t,{hash:{},data:r}):(o=t&&t.questionText,a=typeof o===u?o.call(t,{hash:{},data:r}):o),(a||0===a)&&(s+=a),s+="</p>"}),this.TSC.templates.quiz_setup_template=Handlebars.template(function(e,t,n,i,r){function a(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var o,s,u="",c="function",l=this.escapeExpression,d=this;return u+='<div id="tsc_quiz_setup_container">\r\n <h2>',(s=n.setupMessage)?o=s.call(t,{hash:{},data:r}):(s=t&&t.setupMessage,o=typeof s===c?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+='</h2>\r\n <div class="inputContainer">\r\n <div class="inputBlock"><label>',(s=n.firstNamePlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.firstNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+='</label><input type="text" name="first_name" id="first_name" placeholder="',(s=n.firstNamePlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.firstNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),u+=l(o)+'" size="24" tabindex="1" spellcheck="false" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:d.noop,fn:d.program(1,a,r),data:r}),(o||0===o)&&(u+=o),u+=' required></div>\r\n <div class="inputBlock"><label>',(s=n.lastNamePlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.lastNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+='</label><input type="text" name="last_name" id="last_name" placeholder="',(s=n.lastNamePlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.lastNamePlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),u+=l(o)+'" size="24" tabindex="2" spellcheck="false" required></div>\r\n <div class="inputBlock"><label>',(s=n.emailPlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.emailPlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+='</label><input type="email" name="email_address" id="email_address" placeholder="',(s=n.emailPlaceholder)?o=s.call(t,{hash:{},data:r}):(s=t&&t.emailPlaceholder,o=typeof s===c?s.call(t,{hash:{},data:r}):s),u+=l(o)+'" tabindex="3" spellcheck="false" size="55" required></div>\r\n </div>\r\n <button id="tsc_begin_button" tabindex="4" disabled>',(s=n.beginButtonText)?o=s.call(t,{hash:{},data:r}):(s=t&&t.beginButtonText,o=typeof s===c?s.call(t,{hash:{},data:r}):s),u+=l(o)+'</button>\r\n <p><a href="#" tabindex="6" id="skip_control">',(s=n.skipControlText)?o=s.call(t,{hash:{},data:r}):(s=t&&t.skipControlText,o=typeof s===c?s.call(t,{hash:{},data:r}):s),u+=l(o)+"</a></p>\r\n </div>"}),this.TSC.templates.settings_view_template=Handlebars.template(function(e,t,n,i,r){function a(e,t){var i,r,a="";return a+="\r\n <option ",i=n["if"].call(e,e&&e.selected,{hash:{},inverse:l.noop,fn:l.program(2,o,t),data:t}),(i||0===i)&&(a+=i),a+=' value="',(r=n.rateValue)?i=r.call(e,{hash:{},data:t}):(r=e&&e.rateValue,i=typeof r===d?r.call(e,{hash:{},data:t}):r),a+=f(i)+'">',(r=n.rateLabel)?i=r.call(e,{hash:{},data:t}):(r=e&&e.rateLabel,i=typeof r===d?r.call(e,{hash:{},data:t}):r),a+=f(i)+"</option>\r\n "}function o(){return"selected"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var s,u,c="",l=this,d="function",f=this.escapeExpression;return c+='<div id="playerSettingsContainer">\r\n <div id="playerSpeedContainer">\r\n <label for="playbackRates">',(u=n.playerRateText)?s=u.call(t,{hash:{},data:r}):(u=t&&t.playerRateText,s=typeof u===d?u.call(t,{hash:{},data:r}):u),c+=f(s)+'</label>\r\n <select id="playbackRates">\r\n ',s=n.each.call(t,t&&t.playbackRates,{hash:{},inverse:l.noop,fn:l.program(1,a,r),data:r}),(s||0===s)&&(c+=s),c+="\r\n </select>\r\n </div>\r\n</div>"}),this.TSC.templates.short_answer_template=Handlebars.template(function(e,t,n,i,r){function a(){return"autofocus"}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,e.helpers),r=r||{};var o,s,u="",c=this,l="function";return u+='<textarea name="tsc_textarea_input" id="tsc_textarea_input" maxlength="2000" rows="5" ',o=n["if"].call(t,t&&t.useAutofocus,{hash:{},inverse:c.noop,fn:c.program(1,a,r),data:r}),(o||0===o)&&(u+=o),u+=">",(s=n.userResponse)?o=s.call(t,{hash:{},data:r}):(s=t&&t.userResponse,o=typeof s===l?s.call(t,{hash:{},data:r}):s),(o||0===o)&&(u+=o),u+="</textarea>\r\n"}),function(e){e.log=function(){log.history=log.history||[],log.history.push(arguments),this.console&&console.log(Array.prototype.slice.call(arguments))}}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.externalMessageController=function(){function n(e){if(-1!==e.data.indexOf("smartPlayerEventName")){var n=t.parse(e.data);i[n.smartPlayerEventName]&&i[n.smartPlayerEventName].call(this,n.data)}}var i={};return e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),{addCallback:function(e,t){i[e]=t},removeCallback:function(e){i[e]&&(i[e]=void 0)},removeAllCallbacks:function(){i={}}}}()}(this,JSON),function(e){e.TSC=e.TSC||{},e.TSC.windowWrapper=function(){return{getLocationHref:function(){return e.location.href}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.languageCodes=function(){"use strict";var e="en-US",t="de-DE",n="ja-JP";return{ENGLISH:e,GERMAN:t,JAPANESE:n,ENU:e,DEU:t,JPN:n,isValid:function(i){return i!==e&&i!==t&&i!==n?!1:!0}}}()}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.localizationStrings=function(){"use strict";var e,n="default",i=n,r="",a={};return a.xmpError={},a.xmpError[t.ENGLISH]="There seems to be a problem accessing certain features of this video. Please contact the video Author.",a.xmpError[t.GERMAN]="Einige Merkmale dieses Videos sind offenbar nicht zugänglich. Bitte setzen Sie sich mit dem Autor des Videos in Verbindung.",a.xmpError[t.JAPANESE]="このビデオの特定機能にアクセスする時に問題が発生したようです。ビデオの作成者に連絡してください。",a.xmpSecurity={},a.xmpSecurity[t.ENGLISH]="Certain features in your video are currently disabled due to Local Network Security. These features work correctly when the video is played from a Website or Server.",a.xmpSecurity[t.GERMAN]="Einige Merkmale Ihrem Video sind zurzeit aufgrund der Sicherheitseinstellungen im lokalen Netzwerk deaktiviert. Diese Merkmale funktionieren wie vorgesehen, wenn das Video über eine Website oder einen Server wiedergegeben wird.",a.xmpSecurity[t.JAPANESE]="ローカル ネットワークのセキュリティのために、ビデオの特定機能が現在無効になっています。これらの機能は、Web サイトまたはサーバーからビデオを再生すると正しく動作します。",a.videoNotSupported={},a.videoNotSupported[t.ENGLISH]="Your browser cannot play this video.",a.videoNotSupported[t.GERMAN]="Ihr Browser kann dieses Video nicht wiedergeben.",a.videoNotSupported[t.JAPANESE]="お使いのブラウザではこのビデオを再生できません。",a.videoNotSupportedUseFlash={},a.videoNotSupportedUseFlash[t.ENGLISH]="This browser does not support the video format needed for playback. Please install the Flash Player or use a different browser.",a.videoNotSupportedUseFlash[t.GERMAN]="Dieser Browser unterstützt das zur Wiedergabe erforderliche Videoformat nicht. Bitte installieren Sie den Flash Player oder verwenden Sie einen anderen Browser.",a.videoNotSupportedUseFlash[t.JAPANESE]="このブラウザは、再生に必要なビデオ形式をサポートしていません。最新版のFlash Player をインストールするか、別のブラウザを使用してください。",a.noWebMSupport={},a.noWebMSupport[t.ENGLISH]="This browser does not support WebM video.",a.noWebMSupport[t.GERMAN]="Dieser Browser bietet keine WebM-Video-Unterstützung.",a.noWebMSupport[t.JAPANESE]="このブラウザは WebM ビデオをサポートしていません。",a.playlistLocalError={},a.playlistLocalError[t.ENGLISH]="Videos in a Playlist cannot be viewed from a local drive. The videos will play correctly from a Playlist hosted on a Website or Server.",a.playlistLocalError[t.GERMAN]="Videos in einer Wiedergabeliste können nicht von einem lokalen Laufwerk aus abgespielt werden. Die Videos werden über eine auf einer Website oder einem Server gehostete Wiedergabeliste korrekt abgespielt.",a.playlistLocalError[t.JAPANESE]="プレイリストのビデオはローカル ドライブから再生できません。Web サイトまたはサーバーでホストされているプレイリストからは、ビデオが正しく再生されます。",a.search={},a.search[t.ENGLISH]="Search…",a.search[t.GERMAN]="Suchen…",a.search[t.JAPANESE]="検索…",a.playerRateText={},a.playerRateText[t.ENGLISH]="Playback Speed",a.playerRateText[t.GERMAN]="Wiedergabe-Geschwindigkeit",a.playerRateText[t.JAPANESE]="再生速度",a.playerRateOptionsText={},a.playerRateOptionsText[t.ENGLISH]={.25:"0.25",.5:"0.5",.75:"0.75",1:"normal",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},a.playerRateOptionsText[t.GERMAN]={.25:"0.25",.5:"0.5",.75:"0.75",1:"normal",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},a.playerRateOptionsText[t.JAPANESE]={.25:"0.25",.5:"0.5",.75:"0.75",1:"標準",1.25:"1.25",1.5:"1.5",1.75:"1.75",2:"2.0"},a.videoFailedToLoad={},a.videoFailedToLoad[t.ENGLISH]="This video failed to load completely.",a.videoFailedToLoad[t.GERMAN]="Dieses Video wurde nicht vollständig geladen.",a.videoFailedToLoad[t.JAPANESE]="このビデオを正しく読み込めませんでした。",a.videoFailedToLoadUseFlash={},a.videoFailedToLoadUseFlash[t.ENGLISH]="This video failed to load completely. You may need to try another browser or use the Flash plugin.",a.videoFailedToLoadUseFlash[t.GERMAN]="Dieses Video wurde nicht vollständig geladen. Vielleicht müssen Sie einen anderen Browser ausprobieren oder das Flash-Plug-In verwenden.",a.videoFailedToLoadUseFlash[t.JAPANESE]="このビデオを正しく読み込めませんでした。別のブラウザを試すか、Flash プラグインを使用する必要があります。",a.searchDisabledFullScreen={},a.searchDisabledFullScreen[t.ENGLISH]="Search is disabled in fullscreen mode.",a.searchDisabledFullScreen[t.GERMAN]="Die Suche ist im Vollbildmodus deaktiviert.",a.searchDisabledFullScreen[t.JAPANESE]="フル画面モードでは検索機能は無効です。",a.videoLoading={},a.videoLoading[t.ENGLISH]="Please wait... the video is loading.",a.videoLoading[t.GERMAN]="Bitte warten... Das Video wird geladen.",a.videoLoading[t.JAPANESE]="お待ちください... ビデオを読み込んでいます。",a.clickToClose={},a.clickToClose[t.ENGLISH]="Click to Close",a.clickToClose[t.GERMAN]="Hier klicken, um zu schließen",a.clickToClose[t.JAPANESE]="クリックして終了",a.playWithSmartPlayer={},a.playWithSmartPlayer[t.ENGLISH]="Play with TechSmith Smart Player",a.playWithSmartPlayer[t.GERMAN]="Mit TechSmith Smart Player abspielen",a.playWithSmartPlayer[t.JAPANESE]="クリックして終了",a.playVideoOnly={},a.playVideoOnly[t.ENGLISH]="Play Video Only",a.playVideoOnly[t.GERMAN]="Nur Video wiedergeben",a.playVideoOnly[t.JAPANESE]="ビデオの再生のみ",a.openWithSmartPlayer={},a.openWithSmartPlayer[t.ENGLISH]="Open video in TechSmith Smart Player",a.openWithSmartPlayer[t.GERMAN]="Öffnen Sie das Video im TechSmith Smart Player.",a.openWithSmartPlayer[t.JAPANESE]="TechSmith Smart Player でビデオを開く",a.FullscreenKeyboardDisabled={},a.FullscreenKeyboardDisabled[t.ENGLISH]="Warning!, keyboard support is disabled in fullscreen.",a.FullscreenKeyboardDisabled[t.GERMAN]="Warnung! Tastaturunterstützung ist im Vollbildmodus deaktiviert.",a.FullscreenKeyboardDisabled[t.JAPANESE]="警告! フル画面ではキーボード サポートは無効です。",a.txtRequiredMessage={},a.txtRequiredMessage[t.ENGLISH]="A first name, last name, and email address are required to take this quiz.",a.txtRequiredMessage[t.GERMAN]="Sie müssen Vor- und Nachnamen und eine E-Mail-Adresse angeben, um an diesem Quiz teilzunehmen.",a.txtRequiredMessage[t.JAPANESE]="このクイズに解答するには、氏名と電子メール アドレスを入力する必要があります。",a.txtSkip={},a.txtSkip[t.ENGLISH]="Watch Video Only - No Quiz",a.txtSkip[t.GERMAN]="Nur Video ansehen - Kein Quiz",a.txtSkip[t.JAPANESE]="ビデオを見るだけでクイズに解答しない",a.txtBegin={},a.txtBegin[t.ENGLISH]="Watch Video and Take Quiz",a.txtBegin[t.GERMAN]="Video ansehen und am Quiz teilnehmen",a.txtBegin[t.JAPANESE]="ビデオを見てクイズに解答する",a.txtFirstName={},a.txtFirstName[t.ENGLISH]="First",a.txtFirstName[t.GERMAN]="Vorname",a.txtFirstName[t.JAPANESE]="姓",a.txtLastName={},a.txtLastName[t.ENGLISH]="Last",a.txtLastName[t.GERMAN]="Nachname",a.txtLastName[t.JAPANESE]="名",a.txtEmail={},a.txtEmail[t.ENGLISH]="Email",a.txtEmail[t.GERMAN]="E-Mail",a.txtEmail[t.JAPANESE]="電子メール",a.txtReview={},a.txtReview[t.ENGLISH]="Replay Last Section",a.txtReview[t.GERMAN]="Letzten Abschnitt erneut wiedergeben",a.txtReview[t.JAPANESE]="最後に選択した範囲をもう一度再生",a.txtAnswerQuestion={},a.txtAnswerQuestion[t.ENGLISH]="Take Quiz Now",a.txtAnswerQuestion[t.GERMAN]="Jetzt am Quiz teilnehmen",a.txtAnswerQuestion[t.JAPANESE]="今すぐクイズに解答する",a.txtPrev={},a.txtPrev[t.ENGLISH]="Previous",a.txtPrev[t.GERMAN]="Zurück",a.txtPrev[t.JAPANESE]="前へ",a.txtNext={},a.txtNext[t.ENGLISH]="Next",a.txtNext[t.GERMAN]="Weiter",a.txtNext[t.JAPANESE]="次へ",a.txtSubmit={},a.txtSubmit[t.ENGLISH]="Submit Answers",a.txtSubmit[t.GERMAN]="Antworten abschicken",a.txtSubmit[t.JAPANESE]="解答・回答の送信",a.txtSubmittingAnswers={},a.txtSubmittingAnswers[t.ENGLISH]="Please wait... submitting answers.",a.txtSubmittingAnswers[t.GERMAN]="Bitte warten... Antwort wird gesendet.",a.txtSubmittingAnswers[t.JAPANESE]="少々お待ちください... 回答を送信中です。",a.txtContinue={},a.txtContinue[t.ENGLISH]="Continue",a.txtContinue[t.GERMAN]="Fortsetzen",a.txtContinue[t.JAPANESE]="続行",a.txtReviewAnswer={},a.txtReviewAnswer[t.ENGLISH]="View Answers",a.txtReviewAnswer[t.GERMAN]="Antworten anzeigen",a.txtReviewAnswer[t.JAPANESE]="解答・回答を表示",a.txtAnswerSent={},a.txtAnswerSent[t.ENGLISH]="Your answers have been sent.",a.txtAnswerSent[t.GERMAN]="Ihre Antworten wurden gesendet.",a.txtAnswerSent[t.JAPANESE]="解答・回答が送信されました。",a.txtDisabledLocalQuizReporting={},a.txtDisabledLocalQuizReporting[t.ENGLISH]="Keyboard input is disabled in full screen mode. Press the ESC key to exit full screen mode.",a.txtDisabledLocalQuizReporting[t.GERMAN]="Bestimmte Merkmale in Ihrem Video sind aufgrund der Sicherheitseinstellungen im lokalen Netzwerk zurzeit deaktiviert. Sie funktionieren jedoch ordnungsgemäß, wenn das Video von einer Website oder einem Server aus wiedergegeben wird.",a.txtDisabledLocalQuizReporting[t.JAPANESE]="ローカル ネットワークのセキュリティの理由により、ビデオの特定機能が現在無効化されています。Web サイトまたはサーバーからビデオを再生する場合、これらの機能は正しく動作します。",a.txtErrorMessage={},a.txtErrorMessage[t.ENGLISH]="We're sorry, a network error has prevented the quiz from loading. The video is available to view. To try and reload the quiz, refresh the browser page or check your network connection.",a.txtErrorMessage[t.GERMAN]="Das Quiz konnte aufgrund eines Netzwerkfehlers nicht geladen werden. Das Video steht zur Ansicht bereit. Sie können versuchen das Quiz erneut zu laden, indem Sie die Browserseite aktualisieren bzw. Ihre Netzwerkverbindung überprüfen.",a.txtErrorMessage[t.JAPANESE]="申し訳ありませんが、ネットワーク エラーによりクイズを読み込めませんでした。ビデオは表示できます。クイズを再度読み込むには、ブラウザのページを更新するか、ネットワーク接続を確認してください。",a.txtQuizErrorMessage={},a.txtQuizErrorMessage[t.ENGLISH]="We're attempting to save your response. Please make sure you have an active internet connection.",a.txtQuizErrorMessage[t.GERMAN]="Wir versuchen, Ihre Antworten zu speichern. Bitte achten Sie darauf, dass Sie eine aktive Internet Verbindung haben.",a.txtQuizErrorMessage[t.JAPANESE]="返答の保存を試みています。インターネットに正しく接続しているか確認してください。",a.txtLoaderMessageInstance={},a.txtLoaderMessageInstance[t.ENGLISH]="Please wait... the quiz is loading.",a.txtLoaderMessageInstance[t.GERMAN]="Bitte warten... Das Quiz wird geladen.",a.txtLoaderMessageInstance[t.JAPANESE]="お待ちください... クイズを読み込んでいます。",a.txtLoaderMessageDefinition={},a.txtLoaderMessageDefinition[t.ENGLISH]="Please wait... the quiz is loading.",a.txtLoaderMessageDefinition[t.GERMAN]="Bitte warten... Das Quiz wird geladen.",a.txtLoaderMessageDefinition[t.JAPANESE]="お待ちください... クイズを読み込んでいます。",a.txtQuestionCount={},a.txtQuestionCount[t.ENGLISH]="{{currentQuestion}} of {{totalQuestions}}",a.txtQuestionCount[t.GERMAN]="{{currentQuestion}} von {{totalQuestions}}",a.txtQuestionCount[t.JAPANESE]="{{currentQuestion}} 問 ({{totalQuestions}} 問中)",a.txtCorrectAnswer={},a.txtCorrectAnswer[t.ENGLISH]="{{numberCorrect}} correct answer.",a.txtCorrectAnswer[t.GERMAN]="{{numberCorrect}} richtige Antwort.",a.txtCorrectAnswer[t.JAPANESE]="{{numberCorrect}} 個の正解があります。",a.txtCorrectAnswers={},a.txtCorrectAnswers[t.ENGLISH]="{{numberCorrect}} correct answers.",a.txtCorrectAnswers[t.GERMAN]="{{numberCorrect}} richtige Antworten.",a.txtCorrectAnswers[t.JAPANESE]="{{numberCorrect}} 個の正解があります。",a.txtUngradedQuestion={},a.txtUngradedQuestion[t.ENGLISH]="{{numberUngraded}} question could not be scored.",a.txtUngradedQuestion[t.GERMAN]="{{numberUngraded}} Frage konnte nicht bewertet werden.",a.txtUngradedQuestion[t.JAPANESE]="{{numberUngraded}} 個の問題のスコアを付けることができませんでした。",a.txtUngradedQuestions={},a.txtUngradedQuestions[t.ENGLISH]="{{numberUngraded}} questions could not be scored.",a.txtUngradedQuestions[t.GERMAN]="{{numberUngraded}} Fragen konnte nicht bewertet werden.",a.txtUngradedQuestions[t.JAPANESE]="{{numberUngraded}} 個の問題のスコアを付けることができませんでした。",a.txtQuizFullscreenMode={},a.txtQuizFullscreenMode[t.ENGLISH]="Keyboard input is disabled in full screen mode. Press the ESC key to exit full screen mode.",a.txtQuizFullscreenMode[t.GERMAN]="Die Tastatureingabe ist im Vollbildmodus deaktiviert. Drücken Sie >Esc<, um den Vollbildmodus zu beenden.",a.txtQuizFullscreenMode[t.JAPANESE]="全画面表示ではキーボード入力は無効です。ESC キーを押すと全画面モードを終了します。",a.accessBtnClearSearch={},a.accessBtnClearSearch[t.ENGLISH]="Clear Search",a.accessBtnClearSearch[t.GERMAN]="Suche löschen",a.accessBtnClearSearch[t.JAPANESE]="検索をクリア",a.accessBtnRewind={},a.accessBtnRewind[t.ENGLISH]="Rewind",a.accessBtnRewind[t.GERMAN]="Zurückspulen",a.accessBtnRewind[t.JAPANESE]="巻き戻し",a.accessBtnPlay={},a.accessBtnPlay[t.ENGLISH]="Play",a.accessBtnPlay[t.GERMAN]="Wiedergabe",a.accessBtnPlay[t.JAPANESE]="再生",a.accessBtnPrevious={},a.accessBtnPrevious[t.ENGLISH]="Previous",a.accessBtnPrevious[t.GERMAN]="Zurück",a.accessBtnPrevious[t.JAPANESE]="前へ",a.accessBtnNext={},a.accessBtnNext[t.ENGLISH]="Next",a.accessBtnNext[t.GERMAN]="Weiter",a.accessBtnNext[t.JAPANESE]="次へ",a.accessBtnVolume={},a.accessBtnVolume[t.ENGLISH]="Volume",a.accessBtnVolume[t.GERMAN]="Volumen",a.accessBtnVolume[t.JAPANESE]="音量",a.accessBtnClosedCaption={},a.accessBtnClosedCaption[t.ENGLISH]="Closed Caption",a.accessBtnClosedCaption[t.GERMAN]="Geschlossene Beschriftung",a.accessBtnClosedCaption[t.JAPANESE]="クローズド キャプション",a.accessBtnTableOfContents={},a.accessBtnTableOfContents[t.ENGLISH]="Table of Contents",a.accessBtnTableOfContents[t.GERMAN]="Inhaltsverzeichnis",a.accessBtnTableOfContents[t.JAPANESE]="目次",a.accessBtnSettings={},a.accessBtnSettings[t.ENGLISH]="Player Settings",a.accessBtnSettings[t.GERMAN]="Einstellungen",a.accessBtnSettings[t.JAPANESE]="プレーヤー設定",a.accessBtnFullScreen={},a.accessBtnFullScreen[t.ENGLISH]="Full Screen",a.accessBtnFullScreen[t.GERMAN]="Vollbild",a.accessBtnFullScreen[t.JAPANESE]="全画面",{setLanguage:function(e){t.isValid(e)&&(i=e)
},getLanguage:function(){return i},getQuestionCountPreposition:function(){if(!r){e=i===n?t.ENGLISH:i;for(var o=a.txtQuestionCount[e].split(" "),s=0;o.length>s;s++)if(-1===o[s].indexOf("{{")){r=o[s];break}}return r},getString:function(r){if(void 0!==a[r])return e=i===n?t.ENGLISH:i,a[r][e];throw Error("getString(): '"+r+"' string does not exist in the player.")},setString:function(r,o){if(void 0===a[r])throw Error("setString(): '"+r+"' string does not exist in the player.");e=i===n?t.ENGLISH:i,a[r][e]=o}}}()}(this,TSC.languageCodes),function(e){e.TSC=e.TSC||{},e.TSC.playerType=function(){return{HTML5:"html5",FLASH:"flash",YOUTUBE:"youtube",NOT_SUPPORTED:"not_supported"}}()}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.deviceInfo=function(){"use strict";function n(){switch(e.location.protocol){case"http:":case"https:":return!1;case"file:":return!0}}function i(){for(var e in navigator.plugins)if(navigator.plugins[e].filename&&-1!==navigator.plugins[e].filename.toLowerCase().indexOf("pepflashplayer"))return!0;return!1}function r(){var t=document.createElement("video")||!1;if(a=t&&t.canPlayType!==void 0,o=a&&("maybe"===t.canPlayType("video/mp4")||"probably"===t.canPlayType("video/mp4")),s=a&&("maybe"===t.canPlayType("video/ogg")||"probably"===t.canPlayType("video/ogg")),u=a&&("maybe"===t.canPlayType("video/webm")||"probably"===t.canPlayType("video/webm")),p=null!==navigator.userAgent.match(/iPad/i),g=null!==navigator.userAgent.match(/iPhone/i),h=null!==navigator.userAgent.match(/iPod/i),m=-1!==navigator.userAgent.toLowerCase().indexOf("android"),f=-1!==navigator.userAgent.toLowerCase().indexOf("chrome"),l="Microsoft Internet Explorer"==navigator.appName,f&&n()&&(C=i()),l){var r=navigator.userAgent,T=RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!=T.exec(r)&&(c=parseFloat(RegExp.$1))}d=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),v=null!==navigator.userAgent.match(/Nuevo/i),A=null!==navigator.userAgent.match(/Safari/i),b=640>screen.availWidth&&480>screen.availHeight||480>screen.availWidth&&640>screen.availHeight,S=(g||h||p)&&e.devicePixelRatio>=2,(g||h)&&v&&S&&(p=!0,g=h=!1)}var a,o,s,u,c,l=!1,d=!1,f=!1,p=!1,g=!1,h=!1,m=!1,v=!1,A=!1,S=!1,b=!1,C=!1;return{isSmallScreen:function(){return b},isRetinaDisplay:function(){return S},isNuevoApp:function(){return v},isIPad:function(){return p},isIPhoneOrIPod:function(){return g||h},isIE:function(){return l},getIEVersion:function(){return c},isFirefox:function(){return d},isChrome:function(){return f},isSafari:function(){return A},isAndroid:function(){return m},canPlayHTML5Video:function(){return a},canPlayMP4:function(){return o},canPlayOgg:function(){return s},canPlayWebM:function(){return u},isTouchInterface:function(){return t.touch},isTouchIEInterface:function(){return navigator.msMaxTouchPoints},getFullScreenChangeEventNames:function(){return"webkitfullscreenchange MSFullscreenChange mozfullscreenchange fullscreenchange"},requiresManualPreload:function(){return p||m},supportsFullScreen:function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled||document.mozFullScreenEnabled},supportsFullScreenKeyboardInput:function(){var e=!1;return f&&void 0!==Element.ALLOW_KEYBOARD_INPUT&&(e=!0),e},mediaLocation:function(){var e=document.location.href,t=e.lastIndexOf("/"),n=e.substring(0,t+1);return l&&(n=encodeURI(n)),n=n.split("%25").join("%")},isLocal:function(){return n()},isLocalPepperFlash:function(){return C},lookAtDevice:function(){r()},needsFlashForFullScreen:function(){return l&&("9"==c||"10"==c)}}}()}(this,Modernizr),function(e,t,n){e.TSC=e.TSC||{},e.TSC.playerConfiguration=function(){"use strict";function e(e){var t=e.replace(/’/g,"'");return t}function i(e){return/[^\u0000-\u00ff]/.test(e)}var r,a,o,s,u,c,l,d,f,p,g="10.2.0",h=[],m="'playerProductInstall.swf",v="tsc_player.swf",A="100%",S="100%",b="stop",C=!0,T=!0,y=!1,E=-1,w=!1,I=!1,N="left",x="#000",R=!1,P=!1,M=!0,L=!1,k=!0,B=!0,V=!1,_=!1,Q=!1,q=!0,D=!0,O=!1,F=!1,G=!1,U=!1,z=".",H=!1,W="",Y=!0,J=!1,K=!1,j=!1;return{isIEOnServerWithUnicode:function(){return 1==t.isIE()&&1==TSC.playerConfiguration.runOnServer()&&P},runOnServer:function(){var e=!1,t=document.location.href;return 0==t.indexOf("http")&&(e=!0),e},getUnicodeSafeString:function(e){return void 0===e?e:P?1==t.isIE()?TSC.playerConfiguration.runOnServer()?i(e)?encodeURI(e):e:decodeURI(e):encodeURI(e):e},getMediaSrc:function(){return h.length>0?h[0]:""},clearMediaSrc:function(){h=[]},setMediaSrc:function(t){h[0]=e(t)},addMediaSrc:function(t){h.push(e(t))},getMediaSources:function(){return h},getMediaFileName:function(){var e,t=h.length>0?h[0]:void 0;if(t){var n=t.split("/");e=n[n.length-1],e=e.split("?")[0],(void 0===e||""===e)&&(e="Unnamed Media")}else e="No Media";return e},getXMPSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(r)},setXMPSrc:function(t){r=e(t)},setSwfBase:function(t){z=e(t)},getSwfBase:function(){return z},getConfigurationSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(a)},setConfigurationSrc:function(e){a=e},getPosterImageSrc:function(){return TSC.playerConfiguration.getUnicodeSafeString(o)},setPosterImageSrc:function(e){o=e},getUnableToDisplayContentString:function(){return n.getString("videoNotSupported")},getFlashUpdateBootstrapSwf:function(){return m},setFlashUpdateBootstrapSwf:function(e){m=e},getFlashPlayerSwf:function(){return v},setFlashPlayerSwf:function(t){v=e(t)},getPlayerWidth:function(){return A},setPlayerWidth:function(e){A=e},getPlayerHeight:function(){return S},setPlayerHeight:function(e){S=e},getEndActionType:function(){return b},setEndActionType:function(e){b=e},getEndActionParam:function(){return C},setEndActionParam:function(e){C=e},getIsSearchable:function(){return T},setIsSearchable:function(e){T=e},getAutoPlayMedia:function(){return y},setAutoPlayMedia:function(e){y=e},getAllowRewind:function(){return E},setAllowRewind:function(e){E=e},getCaptionsEnabled:function(){return w},setCaptionsEnabled:function(e){w=e},getSidebarEnabled:function(){return I},setSidebarEnabled:function(e){I=e},getSidebarLocation:function(){return N},setSidebarLocation:function(e){N=e},getBackgroundColor:function(){return x},setBackgroundColor:function(e){x=e},getMinFlashPlayerVersion:function(){return g},setDebugHotspot:function(e){R=e},getDebugHotspot:function(){return R},setAutoHideControls:function(e){M=e},getAutoHideControls:function(){return M},setProcessUnicodeNames:function(e){P=e},getProcessUnicodeNames:function(){return P},setReportScormComplete:function(e){L=e},getReportScormComplete:function(){return L},setEnforceLinearAssessment:function(e){k=e},getEnforceLinearAssessment:function(){return k},setDisableFullframeMode:function(e){B=e},getDisableFullframeMode:function(){return B},getDisableControls:function(){return V},setDisableControls:function(e){V=e},getMobileWebViewCanAutoPlay:function(){return _},setMobileWebViewCanAutoPlay:function(e){_=e},setGoogleAnalyticsID:function(e){s=e},getGoogleAnalyticsID:function(){return s},setGAPageViewTracking:function(e){q=e},getGAPageViewTracking:function(){return q},setGAEventTracking:function(e){D=e},getGAEventTracking:function(){return D},useCustomEventTracking:function(e,t){O=e,u=t},getTrackEvents:function(){return O||void 0!==s},getCustomEventTracking:function(){return O},getCustomEventCallback:function(){return u},setAltEventCategoryAsFilename:function(e){F=e},getAltEventCategoryAsFilename:function(){return F},setAltLoadTimeAsSeconds:function(e){G=e},getAltLoadTimeAsSeconds:function(){return G},setAdvancedSeeking:function(e){Q=e},getAdvancedSeeking:function(){return Q},setTechSmithAccessToken:function(e){l=e,H=!0},getTechSmithAccessToken:function(){return l},getIsUserIdentified:function(){return H},setJumpToTime:function(e){c=e},getJumpToTime:function(){return c},setDebugUIMode:function(e){U=e},getDebugUIMode:function(){return U},setFathomId:function(e){d=e},getFathomId:function(){return d},setAdditionalAppQueryParamsFromJson:function(e){var t="";for(var n in e)t+="&"+n+"="+e[n];W=t},getAdditionalAppQueryString:function(){return W},setScormStartPt:function(e){p=e},getScormStartPt:function(){return p},setEmbedIFrameId:function(e){f=e},getEmbedIFrameId:function(){return f},setUseSlimAppSplashScreen:function(e){Y=e},getUseSlimAppSplashScreen:function(){return Y},saveConfigurationFromQueryString:function(e){if(e instanceof Array){var t,n,i=e.length;for(t=0;i>t;t++)if(n=e[t].split("="),2===n.length)switch(n[0]){case"embedIFrameId":f=n[1];break;case"t":c=n[1]}}},setForceFlashPlayer:function(e){J=e},getForceFlashPlayer:function(){return J},setPrioritizeFullScreen:function(e){K=e},getPrioritizeFullScreen:function(){return K},getShowYouTubeAnnotations:function(){return j},setShowYouTubeAnnotations:function(e){j=e}}}()}(this,TSC.deviceInfo,TSC.localizationStrings),function(e){e.TSC=e.TSC||{},e.TSC.textSanitizer=function(){"use strict";return{htmlEncode:function(e,t){return e?t?e.replace(/&/g,"&").replace(/(<|&lt;)/g,"<").replace(/(>|&gt;)/g,">").replace(/&amp;/g,"&"):e.replace(/&/g,"&").replace(/("|&quot;)/g,""").replace(/(<|&lt;)/g,"<").replace(/(>|&gt;)/g,">").replace(/&amp;/g,"&"):e}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.questionType=function(){"use strict";return{FILL_IN:"FITB",CHOICE:"MC",SHORT:"SHORT"}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.reportType=function(){"use strict";var e="NONE",t="API",n="SCORM",i="APIANDSCORM";return{NONE:e,API:t,SCORM:n,APIANDSCORM:i,isValid:function(r){return r===e||r===t||r===n||r===i}}}()}(this),function(e,t,n){e.TSC=e.TSC||{},e.TSC.quizModel=function(){"use strict";function e(){v=[];for(var e=C.length,t=0,n=0,i=0;e>i;i++)C[i].complete===!1&&(t=C[i].mediaTimeCode-T,t=0>t?0:t,n=C[i].mediaTimeCode+y,v.push({quesitonSetId:i,rangeStart:t,rangeEnd:n,time:C[i].mediaTimeCode}))}function i(){var e={};e.quizId=p,e.lang=w,e.projectName=d,e.productionName=c,e.originId=l,e.mediaDuration=E,e.reportRecipients=[g],e.questionSets=[];for(var t,n,i,r=C.length,a=0;r>a;a++){e.questionSets.push({name:C[a].questionSetTitle,mediaTimePosition:C[a].mediaTimeCode,order:Number(a)+1,questions:[]}),t=C[a].questions.length;for(var o=0;t>o;o++){i=[],n=C[a].questions[o].choices.length;for(var s=0;n>s;s++)i.push(C[a].questions[o].choices[s]);e.questionSets[a].questions.push({type:C[a].questions[o].type,id:C[a].questions[o].id,questionText:C[a].questions[o].text,choices:i,correctAnswer:C[a].questions[o].correctAnswer})}}return JSON.stringify(e)}function r(e){var t={};t.quizId=p,t.order=e+1,t.questions=[];for(var i,r=C[e].questions.length,a=0;r>a;a++)i=C[e].questions[a].type===n.CHOICE&&"0"===C[e].questions[a].correctAnswer?{type:C[e].questions[a].type,id:C[e].questions[a].id,duration:C[e].questions[a].duration,response:C[e].questions[a].response,segmentWatched:C[e].percentOfVideoSegmentWatched}:{type:C[e].questions[a].type,id:C[e].questions[a].id,duration:C[e].questions[a].duration,response:C[e].questions[a].response,correct:C[e].questions[a].isResponseCorrect,segmentWatched:C[e].percentOfVideoSegmentWatched},t.questions.push(i);return JSON.stringify(t)}function a(e,t){return C[e]&&C[e].questions[t]?!0:!1}function o(e){for(var t=0,n=C[e],i=n.questions.length,r=0;i>r;r++){var a=n.questions[r];a.isQuestionGraded&&t++}return t}function s(e){for(var t=0,n=C[e],i=n.questions.length,r=0;i>r;r++){var a=n.questions[r];a.isQuestionGraded&&a.isResponseCorrect&&t++}return t}function u(e,t,i){if(e===n.CHOICE){if(t&&t>0)return!0}else{if(e!==n.FILL_IN)return!1;if(i.length>0)return!0}}var c,l,d,f,p,g,h,m,v,A=t.NONE,S=!0,b=!1,C=[],T=250,y=100,E=0,w="",I=2e3,N=!0;return{clearAllQuestions:function(){C=[]},getQuizDefinition:function(){return i()},getUseQuizApi:function(){return A===t.API||A===t.APIANDSCORM},getUseScorm:function(){return A===t.SCORM||A===t.APIANDSCORM},getDisplayFeedback:function(e){return C[e].displayFeedback},setQuizTitle:function(e){f=e},getQuizTitle:function(){return f},setProductionMetadata:function(e,t,n){c=t,l=n,d=e},setQuizID:function(e){p=e},getQuizID:function(){return p},setAuthoredEmail:function(e){g=e},getAuthoredEmail:function(){return g},setClientId:function(e){h=e},getClientId:function(){return h},setQuizHash:function(e){m=e},getQuizHash:function(){return m},setMediaDuration:function(e){E=e},setReportMethod:function(e){t.isValid(e)&&(A=e)},getReportMethod:function(){return A},setRequireUserId:function(e){S=e},getRequireUserId:function(){return S},setHideReplay:function(e){b=e},getHideReplay:function(){return b},setAllowSkipQuiz:function(e){N="0"===e||e===!1?!1:!0},getAllowSkipQuiz:function(){return N},setLocale:function(e){w=e},getLocale:function(){return w},setQuestionSetComplete:function(t){t>=0&&C.length>t&&(C[t].complete=!0,e())},getQuestionSetMarkerTimes:function(){return v||e(),v},numberQuestionSets:function(){return C.length},numberQuestionsInSet:function(e){return void 0===C[e]?-1:C[e].questions.length},addQuestionSet:function(e,t,n){return C.push({questions:[],questionSetTitle:e,mediaTimeCode:t,displayFeedback:n,complete:!1,percentOfVideoSegmentWatched:0}),C.length-1},addQuestion:function(e,t,n,i,r,a){if(void 0!==C[e]){var o=u(t,a,r);C[e].questions.push({type:t,id:n,text:i,choices:r,correctAnswer:a,isQuestionGraded:o,response:"",isResponseCorrect:!1,duration:0})}},getQuestionSetTitle:function(e){return e>=0&&C.length>e?C[e].questionSetTitle:""},getQuestionSetMarkerTime:function(e){return e>=0&&C.length>e?C[e].mediaTimeCode:-1},getQuestionType:function(e,t){return a(e,t)?C[e].questions[t].type:void 0},getQuestionApiId:function(e,t){return a(e,t)?C[e].questions[t].id:void 0},getQuestionText:function(e,t){return a(e,t)?C[e].questions[t].text:void 0},getQuestionChoices:function(e,t){return a(e,t)?C[e].questions[t].choices:void 0},getQuestionAnswer:function(e,t){return a(e,t)?C[e].questions[t].correctAnswer:void 0},setQuestionAnswer:function(e,t,n){C[e].questions[t].correctAnswer=n},setQuestionResponse:function(e,t,n){C[e].questions[t].response=n},getQuestionResponse:function(e,t){return a(e,t)?C[e].questions[t].response:void 0},getIsResponseCorrect:function(e,t){return a(e,t)?C[e].questions[t].isResponseCorrect:void 0},setIsResponseCorrect:function(e,t,n){C[e].questions[t].isResponseCorrect=n},getMinMarkerTimeDiff:function(){return I},getIsQuestionGraded:function(e,t){return a(e,t)?C[e].questions[t].isQuestionGraded:void 0},setIsQuestionGraded:function(e,t,n){C[e].questions[t].isQuestionGraded=n},getPreviousMarkerTimeForMarker:function(e){var t,n=0;if(e>0)if(e>=C.length)n=C[C.length-1].mediaTimeCode;else for(var i=e-1;i>=0;i--)if(t=C[Number(i)+1].mediaTimeCode-C[i].mediaTimeCode,t>=I){n=C[i].mediaTimeCode;break}return n},updatePercentageWatchedForQuestionSet:function(e,t){C[e].percentOfVideoSegmentWatched=t},addDurationToQuestion:function(e,t,n){C[e].questions[t].duration+=n},getApiDataForQuestionSet:function(e){return r(e)},getNumberOfCorrectInQuestionSet:function(e){return s(e)},getTotalNumberOfGradableInQuestionSet:function(e){return o(e)},getTotalNumberOfGradedQuestionSets:function(){for(var e=0,t=C.length,n=0;t>n;n++)o(n)>0&&e++;return e},getTotalNumberOfUngradableInQuestionSet:function(e){if(0>e||e>=C.length)return void 0;for(var t,n=0,i=C[e],r=i.questions.length,a=0;r>a;a++)t=i.questions[a],t.isQuestionGraded||n++;return n},getScormScore:function(){for(var e=0,t=0,n=C.length,i=0;n>i;i++)e+=o(i),t+=s(i);var r=100*(t/e);return r},getLastQuestionComplete:function(e){void 0===e&&(e=-1);for(var t=0,n=C.length,i=!0,r=0;n>r;r++)t=o(r),t>0&&C[r].complete===!1&&r!==e&&(i=!1);return i}}}()}(this,TSC.reportType,TSC.questionType),function(e,t,n,i){e.TSC=e.TSC||{},e.TSC.quizService=function(){"use strict";function r(e){void 0!==e&&(I=e.status),A&&A.call()}function a(){I=200,v&&v.call()}function o(e){I=200;var t;if(b)N="mock_id",L=!0,t=15e3;else{var n=JSON.parse(e.data);N=n.Id,L=n.DefinitionRequired,t=n.SampleRate}h&&h.call(this,N,L,t)}function s(e,t,n,i){var a={QuizId:e};if(TSC.playerConfiguration.getIsUserIdentified()?a.AccessToken=TSC.playerConfiguration.getTechSmithAccessToken():(a.FirstName=t?t:"",a.LastName=n?n:"",a.Email=i?i:""),b)setTimeout(o,1e3);else try{w[P].url+T;var s=new easyXDM.Rpc({remote:w[P].url+"cors/?noop=1"},{remote:{request:{}}});s.request({url:"/"+T,method:"POST",headers:{Accept:"application/json"},data:a},o,r)}catch(u){A&&A.call()}}function u(e,t,n){if(e)if(b)setTimeout(a,1e3);else try{var i={DefinitionText:e},o=new easyXDM.Rpc({remote:w[P].url+"cors/?noop=1"},{remote:{request:{}}});o.request({url:"/"+C+"?Quiz-Checksum="+t+"&Quiz-ClientId="+n+"&noop=1",method:"POST",headers:{Accept:"application/json"},data:i},a,r)}catch(s){A&&A.call()}}function c(e){TSC.getMediaType===TSC.mediaType.YOUTUBE&&TSC.mediaPlayer.youTube.player.pause(),TSC.playerView.displayMessagePanel("#tsc_overlay",TSC.localizationStrings.getString("txtQuizErrorMessage"),!1),e.rpc.destroy(),l(x,R)}function l(n,i){if(x=n,R=i,b){var r={0:{isCorrect:!0},1:{isCorrect:!0},2:{isCorrect:!0,correctAnswer:2}};setTimeout(function(){i(r)},1e3)}else try{var a={},o={ResponseText:n},s=e.setTimeout(function(){c(a)},M),u=new easyXDM.Rpc({remote:w[P].url+"cors/?noop=1",onReady:function(){e.clearTimeout(s)}},{remote:{request:{}}});a.rpc=u,u.request({url:"/"+y,method:"POST",headers:{Accept:"application/json"},data:o},function(e){if("function"==typeof i){t("#alertDialog").hide();var n=JSON.parse(e.data);i(n.results)}u.destroy()},c)}catch(l){A&&A.call()}}function d(e){e.rpc.destroy()}function f(t,n,i){if(b)return"function"==typeof i&&i(),void 0;if(!N)return A&&A.call(),void 0;try{var r={InstanceId:N,Interval:t,ViewedSegments:n},a={},o=e.setTimeout(function(){d(a)},M),s=new easyXDM.Rpc({remote:w[P].url+"cors/?noop=1",onReady:function(){e.clearTimeout(o)}},{remote:{request:{}}});a.rpc=s,s.request({url:"/"+E,method:"POST",headers:{Accept:"application/json"},data:r},function(){"function"==typeof i&&i(),s.destroy()})}catch(u){}}function p(e){var t='<?xml version="1.0" encoding="UTF-8" ?>';t+='<UserResponse instance="'+N+'" quiz="'+e.quizId+'" order="'+e.order+'" version="'+S+'">';for(var r=e.questions.length,a=0;r>a;a++)t+='<Question type="'+e.questions[a].type+'" id="'+e.questions[a].id+'">',t+="<Duration>"+e.questions[a].duration+"</Duration>",t+="<Response>"+n.htmlEncode(e.questions[a].response)+"</Response>",e.questions[a].type!==i.SHORT&&void 0!==e.questions[a].correct&&(t+="<Correct>"+(e.questions[a].correct?"True":"False")+"</Correct>"),t+="<SegmentWatched>"+e.questions[a].segmentWatched+"</SegmentWatched>",t+="</Question>";return t+="</UserResponse>"}function g(e){var t,r,a,o,s,u,c='<?xml version="1.0" encoding="UTF-8" ?>';for(c+='<QuizDefinition version="'+S+'" quiz="'+e.quizId+'" locale="'+e.lang+'">',c+="<ProjectName>"+n.htmlEncode(e.projectName)+"</ProjectName>",c+="<ProductionName>"+e.productionName+"</ProductionName>",c+="<OriginId>"+e.originId+"</OriginId>",c+="<MediaDuration>"+e.mediaDuration+"</MediaDuration>",c+="<ReportRecipients>",t=0;e.reportRecipients.length>t;t++)c+="<Email>"+e.reportRecipients[t]+"</Email>";for(c+="</ReportRecipients>",c+="<QuestionSets>",o=e.questionSets.length,t=0;o>t;t++){for(c+='<QuestionSet name="'+TSC.textSanitizer.htmlEncode(e.questionSets[t].name)+'" mediaTimePosition="'+e.questionSets[t].mediaTimePosition+'" order="'+e.questionSets[t].order+'">',s=e.questionSets[t].questions.length,r=0;s>r;r++){if(c+='<Question type="'+e.questionSets[t].questions[r].type+'" id="'+e.questionSets[t].questions[r].id+'">',c+="<QuestionText>"+n.htmlEncode(e.questionSets[t].questions[r].questionText,!0)+"</QuestionText>",e.questionSets[t].questions[r].type===i.CHOICE){for(c+="<Choices>",u=e.questionSets[t].questions[r].choices.length,a=0;u>a;a++)c+="<Answer>"+n.htmlEncode(e.questionSets[t].questions[r].choices[a],!0)+"</Answer>";c+="</Choices>",c+="<CorrectAnswer>"+e.questionSets[t].questions[r].correctAnswer+"</CorrectAnswer>"}else if(e.questionSets[t].questions[r].type===TSC.questionType.FILL_IN){for(c+="<Answers>",u=e.questionSets[t].questions[r].choices.length,a=0;u>a;a++)c+="<Answer>"+n.htmlEncode(e.questionSets[t].questions[r].choices[a],!0)+"</Answer>";c+="</Answers>"}c+="</Question>"}c+="</QuestionSet>"}return c+="</QuestionSets>",c+="</QuizDefinition>"}var h,m,v,A,S=1,b=!1,C="v/1/quiz/definition",T="v/1/quiz/instance?noop=1",y="v/1/quiz/response?noop=1",E="v/1/quiz/progress?noop=1",w=[];w.push({label:"Local",url:"https://quiz.techsmith.localhost:11443/"}),w.push({label:"Dev",url:"https://quiz.cloud.tsc-dev.co/"}),w.push({label:"Stage",url:"https://quiz.cloud.tsc-stage.co/"}),w.push({label:"Live",url:"https://quiz.cloud.techsmith.com/"}),w.push({label:"TE",url:"https://quizzingtest2.cloud.tsc-dev.co/"});var I,N,x,R,P=3,M=1e4,L=!1;return t.support.cors=!0,{setEnvironment:function(e){P=e},getLastAttemptStatus:function(){return I},startQuizInstance:function(e,t,n,i){s(e,t,n,i)},submitQuizDefinition:function(e,n,i){"string"==typeof e&&(e=t.parseJSON(e));var r=g(e);return u(r,n,i),r},submitQuestionSet:function(e,n){var i="<error></error>";return N&&("string"==typeof e&&(e=t.parseJSON(e)),i=p(e),l(i,n)),i},sendProgress:function(e,t,n){f(e,t,n)},addEventListener:function(e,t){"START_INSTANCE_COMPLETE"===e?h=t:"SEND_DEFINITION_COMPLETE"===e?v=t:"NEED_DEFINITION"===e?m=t:"ERROR"===e&&(A=t)},removeEventListener:function(e){"START_INSTANCE_COMPLETE"===e?h=void 0:"SEND_DEFINITION_COMPLETE"===e?v=void 0:"NEED_DEFINITION"===e?m=void 0:"ERROR"===e&&(A=void 0)}}}()}(this,jQuery,TSC.textSanitizer,TSC.questionType),function(e,t,n){e.TSC=e.TSC||{},e.TSC.quizServiceBridge=function(){"use strict";var e,i,r,a,o="#tscplayer",s=function(n,i,r){if(e){var a=t(o);if(!a)return;var s=a[0];s[e].call(s,i,r)}},u=function(){if(e){var n=t(o);if(!n)return;var i=n[0];i[e].call(i)}},c=function(){if(i){var e=t(o);if(!e)return;var n=e[0];n[i].call(n)}},l=function(e){if(r){var n=t(o);if(!n)return;var i=n[0];i[r].call(i,e)}},d=function(){if(a){var e=t(o);if(!e)return;var n=e[0];n[a].call(n)}};return{startQuizInstance:function(t,r,a,o,l,d){n.addEventListener("START_INSTANCE_COMPLETE",s),n.addEventListener("SEND_DEFINITION_COMPLETE",u),n.addEventListener("ERROR",c),e=l,i=d,n.startQuizInstance(t,r,a,o)},sendQuizDefinition:function(t,r,a,o,s){e=o,i=s,n.submitQuizDefinition(t,r,a)},submitQuestionSet:function(t,a,o){e=void 0,r=a,i=o,n.submitQuestionSet(t,l)},sendProgress:function(e,t,r,o){a=r,i=o,n.sendProgress(e,t,d)}}}()}(this,jQuery,TSC.quizService),function(e,t,n,i,r){e.TSC=e.TSC||{},e.TSC.fathomParser=function(){"use strict";function e(e){var n,a,o,s,u,c,l,d,f=-1,p=!1,g=[];r.clearAllQuestions(),t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("tscIQ:questionSetName");if(e){e=i.htmlEncode(e),p&&(r.addQuestion(f,n,o,s,g,c),p=!1,s=void 0,o=void 0,g=[],c=void 0);var h="1"===t(this).attr("tscIQ:feedback"),m=Number(t(this).attr("xmpDM:startTime"));f=r.addQuestionSet(e,m,h)}else a=t(this).attr("tscIQ:type"),a?(p&&(r.addQuestion(f,n,o,s,g,c),p=!1,p=!1,s=void 0,o=void 0,g=[],c=void 0),o=t(this).attr("tscIQ:id"),n=a,l=t(this).children(),s=i.htmlEncode(t(l[0]).text(),!0),c=i.htmlEncode(t(l[1]).text(),!0),p=!0):(u=t(this).attr("tscIQ:orderId"),u&&(l=t(this).children(),d=t(l[0]).text(),d&&g.push(i.htmlEncode(d,!0))))}),p&&r.addQuestion(f,n,o,s,g,c)}var a,o;return{parseFathom:function(i){var s,u,c=t(i).find("*").eq(2),l=c.attr("dc:title"),d=c.attr("tscDM:originId"),f=c.attr("tscDM:project"),p=t(i).find("*").length;for(a=!1,s=4;p>s;s++)if("xmpDM:Tracks"===t(i).find("*").eq(s)[0].nodeName){u=t(i).find("*").eq(s).children();break}for(var g,h=t(u).find("*").length,m=0;h>m;m++){var v=t(u).find("*").eq(m);if(g=v.attr("xmpDM:trackType"),void 0!==g)switch(g.toLowerCase()){case"quiz":if(r){a=!0;var A=t(v).attr("tscIQ:quizGuid"),S=t(v).attr("tscIQ:reportMethod"),b="1"===t(v).attr("tscIQ:requireUserId"),C="1"===t(v).attr("tscIQ:hideReplay"),T=t(v).attr("tscIQ:authoredEmail"),y=t(v).attr("tscIQ:clientId"),E=t(v).attr("tscIQ:quizHash"),w=t(v).attr("tscIQ:locale");w||(w=n.ENGLISH),r.setLocale(w),r.setProductionMetadata(f,l,d),r.setQuizTitle(l),r.setQuizID(A),r.setReportMethod(S),r.setRequireUserId(b),r.setHideReplay(C),r.setAuthoredEmail(T),r.setClientId(y),r.setQuizHash(E)}o=t(v),m+=o.find("*").length}}a&&e(o)}}}()}(this,jQuery,TSC.languageCodes,TSC.textSanitizer,TSC.quizModel),function(e,t,n){e.TSC=e.TSC||{},e.TSC.fathomService=function(){"use strict";function i(){f&&f.call()}function r(){p&&p.call()}function a(e){n.parseFathom(e),i()}function o(){if(s)setTimeout(i,1e3);else{var n=c[l].url+u+d+"?noop=1";if(e.XDomainRequest){var o=new XDomainRequest;o&&(o.onload=function(){var e=new ActiveXObject("Microsoft.XMLDOM");e.loadXML(o.responseText),a(e)},o.onerror=r,o.ontimeout=function(){},o.onprogress=function(){},o.open("GET",n),setTimeout(function(){o.send()},0))}else t.ajax({type:"GET",url:n,crossDomain:!0,dataType:"xml",success:a,error:r})}}var s,u,c,l,d,f,p;return s=!1,u="/Assessment/Xmp/",c=[],c.push({label:"Local",url:"https://results.localhost:444"}),c.push({label:"Dev",url:"https://results.cloud.tsc-dev.co"}),c.push({label:"Stage",url:"https://results.tsc-stage.co"}),c.push({label:"Live",url:"https://results.techsmith.com"}),c.push({label:"TE",url:"https://fathomtest2.cloud.tsc-dev.co"}),l=3,{setEnvironment:function(e){isNaN(e)||0>e||e>c.length-1||(l=e)},getEnvironment:function(){return l},getFathom:function(e){d=e,o()},addEventListener:function(e,t){"GET_COMPLETE"===e?f=t:"ERROR"===e&&(p=t)},removeEventListener:function(e){"GET_COMPLETE"===e?f=void 0:"ERROR"===e&&(p=void 0)}}}()}(this,jQuery,TSC.fathomParser),function(e,t){e.TSC=e.TSC||{},e.TSC.progressTracker=function(){var n,i,r=!1,a=!1,o=15e3,s=500,u=1e3,c=function(e){var t=e.length;if(1>t)return[];var n,i=[{start:1e3*e.start(0),end:1e3*e.end(0)}],r=0;for(n=1;t>n;n++)i[r].end>=1e3*e.start(n)-s?i[r].end=1e3*e.end(n):(i.push({start:1e3*e.start(n),end:1e3*e.end(n)}),r++);return i},l=function(e){var n,r,a,s,l,d,f,p,h,m=[],v=1e3*e.duration;for(h=c(e.played),n=0;h.length>n;n++)if(a=h[n].start,s=h[n].end,l=u>v-1e3*e.currentTime,!(!l&&o>s-a||(d=Math.floor(a/o),0!=a%o&&(d+=1),f=Math.floor(s/o),l||(f-=1),d>f)))for(r=d;f>=r;r++)m.push(r);t.sendProgress(o,m),p=m.length===Math.ceil(v/o),p&&(g(),e.removeEventListener("play",i,!1))},d=function(e){var t=function(){p(e),g()};e.addEventListener("ended",t,!1),r=!0},f=function(e){i=function(){-1==n&&h(e)},e.addEventListener("play",i,!1),a=!0},p=function(e){e&&(r||d(e),a||f(e),l(e))},g=function(){-1!==n&&(e.clearInterval(n),n=-1)},h=function(t){var i=function(){p(t),t.paused&&(e.clearInterval(n),n=-1)};n=e.setInterval(i,o)},m=function(e,t){r=!1,a=!1,o=t,g(),h(e)};return{start:m}}()}(window,TSC.quizService),function(e,t){e.TSC=e.TSC||{},e.TSC.BubbleView=function(n){"use strict";var i=10,r=48,a=22,o=8,s=45,u=n,c="#tsc_overlay",l=".chat-bubble-arrow-border",d=".chat-bubble-arrow",f='<div id="tsc_overlay"></div>';return{showView:function(){t(u).css("opacity",0),t(u).animate({opacity:1},300)},updateViewPosition:function(){t(u).css("bottom",r+"px")},removeView:function(e,n){t(u).animate({opacity:0},200,function(){void 0!==e&&e.call(),t(u).remove()}),n&&t(c).remove()},getOverlayMarkup:function(){return f},setBottomOffset:function(e){r=e},pointAt:function(n){var r,c,f=e.innerWidth,p=t(u).outerWidth(!0),g=.5*p,h=t(l).css("border-top-width").replace(/px/,""),m=a;0>n-(g+i)?(r=i,c=n-i-h):n+g+i>f?(r=f-(p+i),c=n-r-h):(r=n-g,c=g-h),t(u).css("left",r),t(l).css("left",c),t(d).css("left",c),s>n&&(m=o),t(u).css("border-bottom-left-radius",m+"px"),t(u).css("-webkit-border-bottom-left-radius",m+"px")}}}}(this,jQuery),function(e,t,n,i){e.TSC=e.TSC||{},e.TSC.quizSetupView=function(){"use strict";var e;if(!n||!n.quiz_setup_template)throw Error("quizSetupView: Quiz Setup Template not found.");e=n.quiz_setup_template;var r="#tsc_quiz_setup_container",a="#tsc_begin_button",o="#skip_control",s="#first_name",u="#last_name",c="#email_address",l=function(){var e=t(s).val().replace(/ /g,""),n=t(u).val().replace(/ /g,""),i=t(c).val().replace(/ /g,"");""!==e&&""!==n&&""!==i&&d(i)?t(a).removeAttr("disabled"):t(a).attr("disabled","disabled")},d=function(e){var t=/^(([^<>()[\]\\.,;:\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,}))$/;return t.test(e)};return{getViewMarkup:function(t,n,r,a,o,s){var u={setupMessage:t,firstNamePlaceholder:n,lastNamePlaceholder:r,emailPlaceholder:a,beginButtonText:o,skipControlText:s};return i.isNuevoApp()||(u.useAutofocus=!0),e(u)},getBeginControlRef:function(){return a},getSkipControlRef:function(){return o},getFirstName:function(){return t(s).val()},getLastName:function(){return t(u).val()},getEmail:function(){return t(c).val()},showView:function(){t("input").bind("keyup",l),t("input").bind("change",l),t(r).css("opacity",0),t(r).animate({opacity:1},300),i&&(i.isIE()&&t(r+" label").css("display","block"),i.isNuevoApp()||t(s).focus())},removeView:function(e){t("input").unbind("keyup",l),t("input").unbind("change",l),t(r).animate({opacity:0},200,function(){void 0!==e&&e.call(),t(r).remove()})}}}()}(this,jQuery,TSC.templates,TSC.deviceInfo),function(e,t,n){e.TSC=e.TSC||{},e.TSC.questionSetConfirmationView=function(){"use strict";var e,i=new n("#tsc_confirmation_container"),r="#tsc_review_control",a="#tsc_confirm_control";if(!t||!t.question_set_confirmation_template)throw Error("questionSetConfirmationView: Question Set Confirmation Template not found.");return e=t.question_set_confirmation_template,{getViewMarkup:function(t,n){var r={reviewText:t,confirmationText:n};return e(r)+i.getOverlayMarkup()},getReviewControlRef:function(){return r},getConfirmControlRef:function(){return a},showView:i.showView,removeView:i.removeView,updateViewPosition:i.updateViewPosition,setBottomOffset:i.setBottomOffset,pointAt:i.pointAt}}()}(this,TSC.templates,TSC.BubbleView),function(e,t,n,i,r,a,o){e.TSC=e.TSC||{},e.TSC.questionSetView=function(){"use strict";var s,u,c,l,d,f,p="#tsc_quiz_container";if(!n||!n.question_set_template)throw Error("questionSetView: Question Set Template not found.");if(s=n.question_set_template,!n||!n.question_count_template)throw Error("questionSetView: Question Count Template not found.");if(u=n.question_count_template,!n||!n.question_text_template)throw Error("questionSetView: Question Text Template not found.");if(c=n.question_text_template,!n||!n.choice_answer_template)throw Error("questionSetView: Multiple Choice Answer Template not found.");if(l=n.choice_answer_template,!n||!n.fill_answer_template)throw Error("questionSetView: Fill In The Blank Answer Template not found.");if(d=n.fill_answer_template,!n||!n.short_answer_template)throw Error("questionSetView: Short Answer Template not found.");f=n.short_answer_template;var g="#tsc_previous_button",h="#tsc_next_button",m="#tsc_submit_button",v="#tsc_continue_button",A="#tsc_quiz_controls",S="#tsc_quiz_question_count",b="#tsc_question",C="#tsc_answers",T="#tsc_question_set_result_info",y=new i(p),E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAChJREFUeNpi/P//PwM1ARMDlcGogaMGjho4auCogUPFQAAAAAD//wMAaQsDJYnTLeIAAAAASUVORK5CYII=",w="data:image/png;base64,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 2KUAAAAASUVORK5CYII=",I="data:image/png;base64,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",N=400,x=function(e,t,n,i){var a,s={},u=1;
if(r.isNuevoApp()&&(i=!1),e===o.CHOICE){a=l,s.answers=[],s.placeHolderImg=E;for(var c=t.length,p=0;c>p;p++)n&&p===Number(n)?s.answers.push({answerIndex:p,tabIndex:u,answer:t[p],isChecked:!0}):s.answers.push({answerIndex:p,tabIndex:u,answer:t[p]}),u++}else e===o.FILL_IN?(a=d,s.userResponse=n,i&&(s.useAutofocus="true")):e===o.SHORT&&(a=f,s.userResponse=n,i&&(s.useAutofocus="true"));return a(s)},R=function(e,t){var n={questionNumber:e,questionText:t};return c(n)},P=function(e,t,n){var i={currentQuestionNumber:e,totalQuestions:t,prepositionText:n};return u(i)},M=function(){var n,i,r=t(e).height(),a=N>=r;if(t(p).css("max-height","none"),t(C).css("max-height","none"),a){var o=t(A).offset().top;n=t(C).outerHeight(!0);var s=t(C).offset().top;s+n>o&&(n-=s+n-o,t(C).css("max-height",n+"px"))}else{var u=t(p).css("bottom").replace(/px/,""),c=10,l=t(p).outerHeight(!0),d=l,f=Number(u)+Number(l)+c+6;if(f>r){var g=f-r;n=t(C).outerHeight(!1),i=n-g-8,t(C).css("max-height",i+"px"),d=d-(f-r)-u,t(p).css("max-height",d+"px")}}};return{getViewMarkup:function(e,t,n,i,r,a){var o={questionSetTitle:e,previousButtonName:t,nextButtonName:n,submitButtonName:i,continueButtonName:r},u=s(o);return a&&(u+=y.getOverlayMarkup()),u},configureControls:function(e,n,i,r){e.visible?(t(g).css("display","inline"),e.disabled?t(g).attr("disabled","disabled"):t(g).removeAttr("disabled")):t(g).css("display","none"),n.visible?(t(h).css("display","inline"),n.disabled?t(h).attr("disabled","disabled"):t(h).removeAttr("disabled")):t(h).css("display","none"),i.visible?(t(m).css("display","inline"),i.disabled?t(m).attr("disabled","disabled"):t(m).removeAttr("disabled")):t(m).css("display","none"),r.visible?(t(v).css("display","inline"),r.disabled?t(v).attr("disabled","disabled"):t(v).removeAttr("disabled")):t(v).css("display","none")},showControls:function(){"hidden"===t(A).css("visibility")&&(t(A).css("visibility","visible"),t(A).css("opacity",0),t(A).animate({opacity:1},300))},hideControls:function(){"visible"===t(A).css("visibility")&&t(A).css("visibility","hidden")},showResponse:function(e){t(C).css("opacity",0),t(C).stop().animate({opacity:1},400,function(){"autofocus"in document.createElement("input")||r.isNuevoApp()||(e===o.FILL_IN?t(C+" input")[0].focus():e===o.SHORT&&t(C+" textarea")[0].focus())}),e===o.CHOICE&&r.isTouchInterface()&&t(".tsc_multiple_choice").removeClass("active_quiz_item")},displayQuestion:function(e,n,i,r,a,o,s,u){t(S).html(P(r,o,a)),t(b).html(R(r,n)),t(C).html(x(e,i,s,!u)),M()},disableResponseUI:function(e){e===o.CHOICE?t(C+" input").attr("disabled",!0):e===o.FILL_IN?t(C+" input").attr("disabled",!0):e===o.SHORT&&t(C+" textarea").attr("disabled",!0)},showFeedback:function(e){t(T).html(e),t(T).show()},showResponseFillInFeedback:function(e){e?t(C).prepend("<img src='"+w+"' class='image_fitb_feedback' />"):t(C).prepend("<img src='"+I+"' class='image_fitb_feedback' />"),t(C+" img").css("opacity",0),t(C+" img").animate({opacity:1},200)},showResponseChoiceFeedback:function(e,n,i){i&&(t("label img").removeClass("feedback_placeholder"),Number(e)===Number(n)?(t(C+" label:eq("+e+") img").remove(),t(C+" label:eq("+e+")").prepend("<img src='"+w+"' class='image_feedback' />"),t(C+" label:eq("+e+") img").css("opacity",0),t(C+" label:eq("+e+") img").animate({opacity:1},200)):(t(C+" label:eq("+e+") img").remove(),t(C+" label:eq("+n+") img").remove(),t(C+" label:eq("+n+")").prepend("<img src='"+w+"' class='image_feedback' />"),t(C+" label:eq("+e+")").prepend("<img src='"+I+"' class='image_feedback' />"),t(C+" label:eq("+e+") img").css("opacity",0),t(C+" label:eq("+e+") img").animate({opacity:1},200),t(C+" label:eq("+n+") img").css("opacity",0),t(C+" label:eq("+n+") img").animate({opacity:1},200))),t(C+" input").hide(),e&&t(C+" label:eq("+e+")").addClass("picked_quiz_item")},getPreviousControlsRef:function(){return g},getNextControlsRef:function(){return h},getSubmitControlsRef:function(){return m},getContinueControlsRef:function(){return v},getResponseLabelRef:function(){return C+" label"},getResponseInputRef:function(){return C+" input"},getResponseTextAreaRef:function(){return C+" textarea"},getResponseInputValue:function(){return a.htmlEncode(t(C+" input").val())},getResponseTextAreaValue:function(){var e=a.htmlEncode(t(C+" textarea").val().replace(/^[ \t]+|[ \t]+$/,""));if(r.isIE()){var n=t(C+" textarea").attr("maxlength");n&&e.length>n&&(e=e.substring(0,n))}return e},getResponseListSelectedIndex:function(){return t("input[name=tsc_multiple_choice]:checked").val()},showView:function(){t(p).show(),M(),y.showView()},removeView:y.removeView,updateViewPosition:y.updateViewPosition,setBottomOffset:y.setBottomOffset,pointAt:function(e){y.pointAt(e),M()}}}()}(this,jQuery,TSC.templates,TSC.BubbleView,TSC.deviceInfo,TSC.textSanitizer,TSC.questionType),function(e,t,n){e.TSC=e.TSC||{},e.TSC.reviewAnswersConfirmationView=function(){"use strict";var e,i=new n("#tsc_review_confirmation_container");if(!t||!t.question_set_review_confirmation_template)throw Error("reviewAnswersConfirmationView: Review Answer Confirmation View Template not found.");e=t.question_set_review_confirmation_template;var r="#tsc_continue_control",a="#tsc_review_answers_control";return{getViewMarkup:function(t,n){var i={continueText:t,reviewAnswerText:n};return e(i)},getContinueControlRef:function(){return r},getReviewControlRef:function(){return a},showView:i.showView,removeView:i.removeView,updateViewPosition:i.updateViewPosition,setBottomOffset:i.setBottomOffset,pointAt:i.pointAt}}()}(this,TSC.templates,TSC.BubbleView),function(e){e.TSC=e.TSC||{},e.TSC.quizMarker=function(){"use strict";var e="#ffffff",t=3;return{setColor:function(t){e=t},getColor:function(){return e},setSize:function(e){t=e},getSize:function(){return t}}}()}(this),function(e,t){e.TSC=e.TSC||{},e.TSC.xmpGrader=function(){"use strict";var e=function(e,n,i,r){var a=e.getQuestionType(n,i);if(a===t.CHOICE){var o,s=e.getQuestionAnswer(n,i);o=isNaN(parseInt(r))?!1:1<<Number(r)===Number(s),e.setIsResponseCorrect(n,i,o),e.setIsQuestionGraded(n,i,s&&s>0)}else if(a===t.FILL_IN){var u=r.toLowerCase(),c=e.getQuestionChoices(n,i),l=c?c.length:0;e.setIsQuestionGraded(n,i,l>0);for(var d=0;l>d;d++)if(u===c[d].toLowerCase()){e.setIsResponseCorrect(n,i,!0);break}}};return{gradeQuestionSet:function(t,n){for(var i=t.numberQuestionsInSet(n),r=0;i>r;r++){var a=t.getQuestionResponse(n,r);e(t,n,r,a)}},doesLocalGrading:!0}}()}(this,TSC.questionType),function(e){e.TSC=e.TSC||{},e.TSC.fathomGrader=function(){"use strict";return{processQuestionSetResults:function(e,t,n){for(var i=e.numberQuestionsInSet(t),r=0;i>r;r++){var a=e.getQuestionApiId(t,r),o=n[a];void 0!==o&&(e.setIsResponseCorrect(t,r,o.isCorrect),e.setQuestionAnswer(t,r,o.correctAnswer),e.setIsQuestionGraded(t,r,o.isGraded))}},doesLocalGrading:!1}}()}(this),function(e,t,n,i,r,a,o,s,u,c,l,d,f,p){e.TSC=e.TSC||{},e.TSC.quizController=function(){"use strict";var g,h,m,v,A,S,b,C,T,y,E,w,I,N,x=0,R=0,P=0,M=0,L=7,k=0,B=!1,V=!0,_=!1,Q=0,q=0,D=!0,O="",F=3e4,G=function(e){m=e,x=m.numberQuestionSets(),R=m.numberQuestionsInSet(0)},U=function(){S&&S.call(this,{type:"BEGIN"})},z=function(){b&&b.call(this,{type:"SKIP"})},H=function(){m.getUseScorm()&&userSubmitToLMS&&userSubmitToLMS(m.getScormScore(),m.getLastQuestionComplete(M))},W=function(){m.setQuestionSetComplete(M),M=-1},Y=function(){v&&v.call(this,{type:"COMPLETE"})},J=function(){W(),t(r.getPreviousControlsRef()).unbind("click",tt),t(r.getNextControlsRef()).unbind("click",nt),t(r.getSubmitControlsRef()).unbind("click",ut),t(r.getContinueControlsRef()).unbind("click",J),r.removeView(Y,!0),g=void 0},K=function(e){if(!B)if(e===c.CHOICE){var t=r.getResponseListSelectedIndex();t&&m.setQuestionResponse(M,P,t)}else if(e===c.FILL_IN){var n=r.getResponseInputValue();n&&""!==n&&m.setQuestionResponse(M,P,n)}else if(e===c.SHORT){var i=r.getResponseTextAreaValue();i&&""!==i&&m.setQuestionResponse(M,P,i)}},j=function(e){T&&(O=e,T.call(this,{type:"STATUS",message:e}))},Z=function(){y&&y.call(this,{type:"SUBMITTED"})},X=function(){i.isNuevoApp()&&t(e).scrollTop(0)},$=function(){var e=m.getQuestionType(M,P),i=m.getQuestionText(M,P),a=m.getQuestionChoices(M,P),o=m.getQuestionResponse(M,P);r.displayQuestion(e,i,a,Number(P+1),n.getQuestionCountPreposition(),R,o,B);var s=!(1===R),u=!(1===R),l=P!==R-1||B?!1:!0,d=B,f=0===P?!0:!1,p=P===R-1?!0:!1;if(r.configureControls({visible:s,disabled:f},{visible:u,disabled:p},{visible:l},{visible:d}),B)if(r.showResponse(),r.disableResponseUI(e),e===c.CHOICE){for(var g=r.getResponseListSelectedIndex(),h=m.getQuestionAnswer(M,P),v=-1,A=m.getQuestionChoices(M,P).length,S=0;A>S;S++)if(1<<S===Number(h)){v=S;break}r.showResponseChoiceFeedback(g,v,h>0),t(r.getResponseLabelRef()).removeClass("active_quiz_item")}else e===c.FILL_IN&&m.getIsQuestionGraded(M,P)&&r.showResponseFillInFeedback(m.getIsResponseCorrect(M,P));else r.showResponse(e),Q=(new Date).getTime()},et=function(){q=(new Date).getTime(),m.addDurationToQuestion(M,P,q-Q)},tt=function(){var e=m.getQuestionType(M,P);K(e),et(),P--,$()},nt=function(){var e=m.getQuestionType(M,P);K(e),et(),P++,$()},it=function(e,t,i){var r="";if(t>0){var a=1===e?"txtCorrectAnswer":"txtCorrectAnswers";r=n.getString(a),r=r.replace(/{{numberCorrect}}/,e)}if(i>0&&t>0){""!==r&&(r+=" ");var a=1===i?"txtUngradedQuestion":"txtUngradedQuestions";r+=n.getString(a),r=r.replace(/{{numberUngraded}}/,i)}return r},rt=function(){B=!0,R=m.numberQuestionsInSet(M);var e=r.getViewMarkup(m.getQuestionSetTitle(M),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"));h.append(e),g=r,At(),E&&g.pointAt(E),t(r.getPreviousControlsRef()).bind("click",tt),t(r.getNextControlsRef()).bind("click",nt),t(r.getSubmitControlsRef()).bind("click",ut),t(r.getContinueControlsRef()).bind("click",J);var i=m.getNumberOfCorrectInQuestionSet(M),a=m.getTotalNumberOfGradableInQuestionSet(M),o=m.getTotalNumberOfUngradableInQuestionSet(M),s=it(i,a,o);""!==s&&r.showFeedback(s),P=0,$(),r.showView(),r.updateViewPosition()},at=function(){W(),t(s.getContinueControlRef()).unbind("click",at),t(s.getReviewControlRef()).unbind("click",ot),s.removeView(Y,!0),g=void 0},ot=function(){t(s.getContinueControlRef()).unbind("click",at),t(s.getReviewControlRef()).unbind("click",ot),s.removeView(rt,!1),g=void 0},st=function(){var e=s.getViewMarkup(n.getString("txtContinue"),n.getString("txtReviewAnswer"));h.append(e),g=s,At(),E&&g.pointAt(E),t(s.getContinueControlRef()).bind("click",at),t(s.getReviewControlRef()).bind("click",ot),s.showView(),s.updateViewPosition()},ut=function(){t(TSC.questionSetView.getSubmitControlsRef()).attr("disabled","disabled"),t("#tsc_quiz_container").css("z-index",8),et();var e=m.getQuestionType(M,P);K(e),I.doesLocalGrading&&I.gradeQuestionSet(m,M),N=!0,m.getUseQuizApi()&&(j(n.getString("txtSubmittingAnswers")),u.submitQuestionSet(m.getApiDataForQuestionSet(M),ct)),m.getUseScorm()&&H(),(i.isLocal()||!m.getUseQuizApi())&&ct()},ct=function(e){if(N=!1,Z(),!I.doesLocalGrading&&m.getUseQuizApi()){if(void 0===e)return Tt(),J(),void 0;I.processQuestionSetResults(m,M,e)}m.getDisplayFeedback(M)?g.removeView(st,!1):J()},lt=function(e){B=!1,P=0,R=m.numberQuestionsInSet(M);var i=r.getViewMarkup(m.getQuestionSetTitle(M),n.getString("txtPrev"),n.getString("txtNext"),n.getString("txtSubmit"),n.getString("txtContinue"),e);h.append(i),g=r,At(),E&&g.pointAt(E),t(r.getPreviousControlsRef()).bind("click",tt),t(r.getNextControlsRef()).bind("click",nt),t(r.getSubmitControlsRef()).bind("click",ut),t(r.getContinueControlsRef()).bind("click",J),$(),r.showView(),r.updateViewPosition()},dt=function(){g.removeView(void 0,!0),g=void 0,A&&A.call(this,{type:"REVIEW"})},ft=function(){x>M&<(!1)},pt=function(){g.removeView(ft),g=void 0},gt=function(){var e;e=D?n.getString("txtReview"):n.getString("txtContinue");var i=a.getViewMarkup(e,n.getString("txtAnswerQuestion"));h.append(i),g=a,At(),m.getHideReplay()===!0&&t(a.getReviewControlRef()).hide(),t(a.getReviewControlRef()).bind("click",dt),t(a.getConfirmControlRef()).bind("click",pt),a.showView(),a.updateViewPosition()},ht=function(e){m.getUseQuizApi()?(St(o.getFirstName(),o.getLastName(),o.getEmail()),g.removeView()):g.removeView(U),g=void 0,e.preventDefault()},mt=function(e){V=!1,i.isIPad()||i.isAndroid()?(g.removeView(),z()):g.removeView(z),g=void 0,e.preventDefault()},vt=function(){var e=n.getString("txtRequiredMessage"),i=n.getString("txtFirstName"),r=n.getString("txtLastName"),a=n.getString("txtEmail"),s=n.getString("txtBegin"),u=n.getString("txtSkip"),c=o.getViewMarkup(e,i,r,a,s,u);h.append(c),g=o,t(o.getBeginControlRef()).bind("click",ht),m.getAllowSkipQuiz()?t(o.getSkipControlRef()).bind("click",mt):t(o.getSkipControlRef()).hide(),o.showView()},At=function(){g&&g.setBottomOffset&&(g.setBottomOffset(k),g.updateViewPosition())},St=function(e,t,n){u.startQuizInstance(m.getQuizID(),e,t,n),(i.isIPad()||i.isAndroid())&&U()},bt=function(e,t,i){i&&i>0&&(F=i),t?(j(n.getString("txtLoaderMessageDefinition")),u.submitQuizDefinition(d.getQuizDefinition(),d.getQuizHash(),d.getClientId())):(_=!0,U()),p.start(w(),F)},Ct=function(){_=!0,U()},Tt=function(){V=!1,N&&ct(),C.call(this,{type:"ERROR"})};return{init:function(e,n){D=e,w=n,m.getUseQuizApi()?(u.addEventListener("START_INSTANCE_COMPLETE",bt),u.addEventListener("SEND_DEFINITION_COMPLETE",Ct),u.addEventListener("ERROR",Tt),m.getRequireUserId()&&!f.getIsUserIdentified()?vt():St()):(_=!0,U()),i.isNuevoApp()&&(t("body").on("blur","#tsc_quiz_container input",X),t("body").on("blur","#tsc_quiz_container textarea",X))},getQuizReady:function(){return _},getAnalyticsSampleRate:function(){return F},getLastStatusMessage:function(){return O},setQuestionData:function(e){G(e)},setViewContainer:function(e){h=t(e)},displayNextQuestionSet:function(){x>M&<(!0)},quizEnabled:function(){return V},viewOpen:function(){return void 0!==g},findQuestionSet:function(e){for(var t=-1,n=-1,i=d.getQuestionSetMarkerTimes(),r=i.length,a=0;r>a;a++)if(D&&e>=i[a].time||e>=i[a].rangeStart&&i[a].rangeEnd>=e){t=i[a].quesitonSetId,n=i[a].time;break}return{id:t,markerTime:n}},findPrevMarkerTimeForMarker:function(e){return m.getPreviousMarkerTimeForMarker(e)},updatePercentWatchedForQuestionSet:function(e,t){m.updatePercentageWatchedForQuestionSet(e,t)},drawMarkers:function(e,t,n,i){if(V){var r=d.getQuestionSetMarkerTimes(),a=r.length,o=Math.round(i/2),s=0,u=0;t.clearRect(0,0,n,i);for(var c=0;a>c;c++)u=r[c].time/e,s=Math.round(n*u),t.fillStyle=l.getColor(),t.beginPath(),t.arc(s,o,l.getSize(),0,2*Math.PI,!0),t.closePath(),t.fill()}},displayConfirm:function(e){g||(M=e,D&&m.getQuestionSetMarkerTime(e)<=m.getMinMarkerTimeDiff()?lt(!0):gt())},addEventListener:function(e,t){"COMPLETE"===e?v=t:"REVIEW"===e?A=t:"BEGIN"===e?S=t:"SKIP"===e?b=t:"ERROR"===e?C=t:"STATUS"===e?T=t:"SUBMITTED"===e&&(y=t)},removeEventListener:function(e){"COMPLETE"===e?v=void 0:"REVIEW"===e?A=void 0:"BEGIN"===e?S=void 0:"SKIP"===e?b=void 0:"ERROR"===e?C=void 0:"STATUS"===e?T=void 0:"SUBMITTED"===e&&(y=void 0)},pointViewAt:function(e){E=e,g&&g.pointAt&&g.pointAt(E)},setViewControlBarOffset:function(e){k=e+L,At()},setQuestionGrader:function(e){I=e}}}()}(this,jQuery,TSC.localizationStrings,TSC.deviceInfo,TSC.questionSetView,TSC.questionSetConfirmationView,TSC.quizSetupView,TSC.reviewAnswersConfirmationView,TSC.quizService,TSC.questionType,TSC.quizMarker,TSC.quizModel,TSC.playerConfiguration,TSC.progressTracker),function(e){e.TSC=e.TSC||{},e.TSC.videoAnalytics=function(){"use strict";var e,t,n,i,r,a,o,s=3e4,u=0,c=[{duration:3e5,segmentLength:2e3},{duration:18e5,segmentLength:5e3}],l=0,d=!1;return{setVideoLoadStartTime:function(t){e=t},setVideoLoadEndTime:function(e){t=e},getVideoLoadTime:function(){var n=0;return e&&t&&(n=t-e),n},getNumberSegments:function(){return i},setCurrentPlayTime:function(e){a=e},getCurrentPlayTime:function(){return a},getNumberWatchedSegments:function(){return l},isPercentWatchedInitialized:function(){return u>0},clearPercentWatched:function(){u=0},initPercentWatched:function(e){if(!(0>=e)){u=e,n=s;for(var t=0;c.length>t;t++)if(c[t].duration>=e){n=c[t].segmentLength;break}for(r=[],i=Math.ceil(e/n),t=0;i>t;t++)r.push(!1);l=0}},markTimeWatched:function(e){e>u||(a=e/1e3,o=Math.floor(e/n),0>o||o>=i||r[o]||(l++,r[o]=!0))},getPercentageWatched:function(){return i&&i>0?l/i:0},getPercentageWatchedForVideoSegment:function(e,t){var i=0;if(u>0&&t>=e){for(var a=Math.floor(e/n),o=Math.floor(t/n),s=0,c=o-a+1,l=a;o>=l;l++)r[l]&&s++;i=s/c}return i},setEnabled:function(e){d=e},isEnabled:function(){return d}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.mediaType=function(){"use strict";return{WEBM:"webm",H264:"h264",OGG:"ogg",YOUTUBE:"youtube",UNKNOWN:"unknown",NOT_AVAILABLE:"not available",MULTIPLE_TYPES:"multiple types"}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.rtfParser=function(){"use strict";function e(e){var t="par ";return e.toLowerCase()==t}function t(e,t){void 0===t&&(t=0);var n="a",i="z",r=n.charCodeAt(),a=i.charCodeAt(),o=-1;if(e)for(o=e.indexOf(d,t);-1!=o;){if(e.length>o+1){var s=e.toLowerCase().charCodeAt(o+1);if(s>=r&&a>=s)break}o=e.indexOf(d,o+1)}return o}function n(n,r){void 0===r&&(r=0);for(var a=t(n,r);-1!=a;){var o=i(n,a);if(o&&!e(o))break;a=t(n,a+1)}return a}function i(e,t){var n;if(-1!=t){var i=e.indexOf(p,t+1);if(-1!=i){var r=i+1-(t+1);n=e.substr(t+1,r)}else n=e.substr(t+1)}return n}function r(e,t){for(var n="",i=[],r=t.pop();r&&r!=e&&t.length;)n+=d+r,i.push(o(r)),t.length&&(r=t.pop());for(n+=d+e;i.length;){var a=i.pop();a&&(n+=d+a,t.push(o(a)))}return n}function a(e){return-1!=e.indexOf(f)}function o(e){var t;return""!=e&&(a(e)?t=e.substr(0,e.indexOf(f)):(-1!=e.indexOf(g)&&(t=e.substr(0,e.indexOf(g))),t+=f),t+=g),t}function s(e,t){var n=e;if(-1!=t&&n&&n.length>t){var i=n.indexOf(p,t);n=-1!=i?n.substr(0,t)+n.substr(i+1):n.substr(0,t)}return n}function u(e){for(var t=" ",n=e;n.length>1&&n.charAt(0)==t;)n=n.substr(1);for(;n.length>1&&n.charAt(n.length-1)==t;)n=n.substr(0,n.length-1);return n==t&&(n=""),n}function c(s){var u=s;if(u)for(var c=[],l=n(u);-1!==l;){var d=i(u,l);if(d&&a(d)){var f=r(d,c),g=u.indexOf(p,l);u=-1!==g?u.substr(0,l)+f+u.substr(g+1):u.substr(0,l)+f,l+=f.length}else d&&!e(d)&&c.push(o(d)),l=Number(l)+1;l=t(u,l)}return u}function l(e){var t=e;if(t)for(var r=1;r>0;){r=0;for(var a=n(t);-1!=a;){var c=n(t,a+1),l=i(t,a);if(l&&-1!=c){var d=o(l),f=i(t,c);if(f&&f==d){var p=a+1+l.length,g=t.substr(p,c-p);u(g).length||(t=s(t,c),t=s(t,a),c-=l.length+1,r++)}}a=c}}return t}var d="\\",f="0",p=" ",g=" ";return{NestAndCleanUpTags:function(e){var t=e;return t&&(t=c(t),t=l(t)),t}}}()}(this),function(e){e.TSC=e.TSC||{},e.TSC.textFormatter=function(){"use strict";return{rtfToText:function(e){var t=!1;return-1!=e.indexOf("{\\rtf1")&&(e=e.split("{\\rtf1 ").join(""),t=!0),e=e.split("\\i ").join(""),e=e.split("\\i0 ").join(""),e=e.split("\\b ").join(""),e=e.split("\\b0 ").join(""),e=e.split("\\ul ").join(""),e=e.split("\\ul0 ").join(""),e=e.split("\\par ").join(""),e=e.split("\\{").join("{"),e=e.split("\\}").join("}"),e=e.split("\\\\").join("\\"),t&&"}"==e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),e},rtfToHTML:function(e){e=TSC.rtfParser.NestAndCleanUpTags(e),e=e.split("<").join("<"),e=e.split(">").join(">");var t=!1;return-1!=e.indexOf("{\\rtf1")&&(e=e.split("{\\rtf1 ").join(""),t=!0),e=e.split("\\i0 ").join("</i>"),e=e.split("\\b0 ").join("</b>"),e=e.split("\\ul0 ").join("</u>"),e=e.split("\\i ").join("<i>"),e=e.split("\\b ").join("<b>"),e=e.split("\\ul ").join("<u>"),e=e.split("\\par ").join("<br/>"),e=e.split("\\{").join("{"),e=e.split("\\}").join("}"),e=e.split("\\\\").join("\\"),t&&"}"==e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),e=e.split("<br>").join("<br/>"),e=e.split("<BR>").join("<br/>")}}}()}(this),function(e,t,n,i,r){e.TSC=e.TSC||{},e.TSC.mediaList=function(){"use strict";function e(){h=0,-1!=l[0].toLowerCase().indexOf(p)?(m=!0,a(i.getUnicodeSafeString(l[0]))):(m=!1,g.push(l),d&&d.call())}function a(e){t.ajax({type:"GET",url:e,isLocal:!0,dataType:"text",success:o,error:s})}function o(e){g=e.split(/\r?\n/g);for(var t=g.length-1,n=t;n>=0;n--)""===g[n]?g.splice(n,1):g[n]=i.getUnicodeSafeString(g[n]);d&&d.call()}function s(){"string"==typeof TSC.embedded_playlist?o(TSC.embedded_playlist):f&&f.call()}function u(e){var t="",n=c(e);switch(n){case r.WEBM:t="video/webm";break;case r.H264:t="video/mp4";break;case r.OGG:t="video/ogg";default:}return t}function c(e){var t=r.UNKNOWN,n=/youtu(?:\.be|be\.com)\//;if(n.test(e))return r.YOUTUBE;var i=e.split(".");if(i.length>0){var a=i.pop().toLowerCase();switch(a){case"webm":t=r.WEBM;break;case"mp4":case"m4v":case"mov":t=r.H264;break;case"ogv":t=r.OGG;break;default:}}return t}var l,d,f,p=".m3u",g=[],h=0,m=!1;return{init:function(t){l=t,e()},clear:function(){g=[],h=0,l=void 0},currentVideoSrc:function(){return g.length>0?g[h]:void 0},currentVideoIndex:function(){return h},setCurrentVideo:function(e){"next"===e?g.length-1>h&&h++:"previous"===e?h>0&&h--:Number(e)>=0&&Number(e)<g.length&&(h=Number(e))},getMediaList:function(){return g},getVideoIndexBySrc:function(e){for(var t=h,n=0;g.length>n;n++)if(m){if(g[n]===e){t=n;break}}else for(var i=0;g[n].length>i;i++)if(g[n][i]===e){t=n;break}return t},getMediaType:function(){var e=r.NOT_AVAILABLE;if(g.length>0)if(e=r.UNKNOWN,m)e=c(g[h]);else{var t=g[h].length;e=1===t?c(g[h][0]):r.MULTIPLE_TYPES}return e},getMediaMimeType:function(e){return u(e)},isMediaTypeAvailable:function(e){var t=!1;if(g.length>0)if(m)t=e===c(g[h]);else for(var n=g[h].length,i=0;n>i&&!(t=e===c(g[h][i]));i++);return t},isPlaylist:function(){return m},onFirstVideo:function(){return 0===h},onLastVideo:function(){return h+1===g.length},getErrorMessage:function(){return n.getString("playlistLocalError")},addEventListener:function(e,t){"READY"===e?d=t:"ERROR"===e&&(f=t)},removeEventListener:function(e){"READY"===e?d=void 0:"ERROR"===e&&(f=void 0)}}}()}(this,jQuery,TSC.localizationStrings,TSC.playerConfiguration,TSC.mediaType),function(e,t,n,i,r,a){e.TSC=e.TSC||{},e.TSC.mediaPlayerController=function(){return{getPlayerType:function(){var e=t.NOT_SUPPORTED,o=i.isMediaTypeAvailable(r.WEBM)&&a.canPlayWebM(),s=i.isMediaTypeAvailable(r.H264)&&a.canPlayMP4(),u=i.isMediaTypeAvailable(r.OGG)&&a.canPlayOgg(),c=i.isMediaTypeAvailable(r.YOUTUBE),l=swfobject.hasFlashPlayerVersion(n.getMinFlashPlayerVersion())&&i.isMediaTypeAvailable(r.H264);return n.getPrioritizeFullScreen()&&a.needsFlashForFullScreen()?e=t.FLASH:(o||s||u)&&!n.getForceFlashPlayer()?e=t.HTML5:l?e=t.FLASH:c&&(e=t.YOUTUBE),e}}}()}(this,TSC.playerType,TSC.playerConfiguration,TSC.mediaList,TSC.mediaType,TSC.deviceInfo),function(e,t,n){e.TSC=e.TSC||{},e.TSC.iFrameBridge=function(){return{postMessage:function(i,r,a){var o={};o.smartPlayerEventName=i,n.getEmbedIFrameId()&&(o.iFrameId=n.getEmbedIFrameId()),a&&(o.data=a),e.top.postMessage(t.stringify(o),r)}}}()}(this,JSON,TSC.playerConfiguration),function(e,t,n,i,r){e.TSC=e.TSC||{},e.TSC.queryParamsStripper=function(){function a(e){var t=e.slice(e.indexOf("?")+1).split("&");t&&t.length>0&&n.saveConfigurationFromQueryString(t)}function o(){t.addCallback("PARENT-URL-PARAMS",s),i.postMessage("GET-EMBEDDED-URL-VARS","*")}function s(e){t.removeCallback("PARENT-URL-PARAMS"),a(e)}return{strip:function(){a(r.getLocationHref()),e.top!=e&&o()}}}()}(this,TSC.externalMessageController,TSC.playerConfiguration,TSC.iFrameBridge,TSC.windowWrapper),function(e,t){e.TSC=e.TSC||{},e.TSC.ioOverlayView=function(){"use strict";var e,n="#tsc_io_container";if(!t||!t.io_overlay_view_template)throw Error("ioOverlayView: IO Overlay View Template not found.");e=t.io_overlay_view_template;var i="data:image/gif;base64,R0lGODlhIAAgAPMAAAAAAP///zg4OHp6ekhISGRkZMjIyKioqCYmJhoaGkJCQuDg4Pr6+gAAAAAA AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJ CgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6 k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1Z BApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYty WTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/ nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDU olIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY /CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXil oUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx6 1WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+QQJCgAAACwA AAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZ KYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMCenoCfTCE WBsJColTMANldx15BGs8B5wlCZ9Po6OJkwmRpnqkqnuSrayqfKmqpLajoiW5HJq7FL1Gr2mMMcKU MIiJgIemy7xZtJsTmsM4xHiKv5KMCXqfyUCJEonXPN2rAOIAmsfB3uPoAK++G+w48edZPK+M6hLJ pQg484enXIdQFSS1u6UhksENEQAAIfkECQoAAAAsAAAAACAAIAAABOcQyEmpGKLqzWcZRVUQnZYg 1aBSh2GUVEIQ2aQOE+G+cD4ntpWkZQj1JIiZIogDFFyHI0UxQwFugMSOFIPJftfVAEoZLBbcLEFh lQiqGp1Vd140AUklUN3eCA51C1EWMzMCezCBBmkxVIVHBWd3HHl9JQOIJSdSnJ0TDKChCwUJjoWM PaGqDKannasMo6WnM562R5YluZRwur0wpgqZE7NKUm+FNRPIhjBJxKZteWuIBMN4zRMIVIhffcgo jwCF117i4nlLnY5ztRLsnOk+aV+oJY7V7m76PdkS4trKcdg0Zc0tTcKkRAAAIfkECQoAAAAsAAAA ACAAIAAABO4QyEkpKqjqzScpRaVkXZWQEximw1BSCUEIlDohrft6cpKCk5xid5MNJTaAIkekKGQk WyKHkvhKsR7ARmitkAYDYRIbUQRQjWBwJRzChi9CRlBcY1UN4g0/VNB0AlcvcAYHRyZPdEQFYV8c cwR5HWxEJ02YmRMLnJ1xCYp0Y5idpQuhopmmC2KgojKasUQDk5BNAwwMOh2RtRq5uQuPZKGIJQIG wAwGf6I0JXMpC8C7kXWDBINFMxS4DKMAWVWAGYsAdNqW5uaRxkSKJOZKaU3tPOBZ4DuK2LATgJhk PJMgTwKCdFjyPHEnKxFCDhEAACH5BAkKAAAALAAAAAAgACAAAATzEMhJaVKp6s2nIkolIJ2WkBSh pkVRWqqQrhLSEu9MZJKK9y1ZrqYK9WiClmvoUaF8gIQSNeF1Er4MNFn4SRSDARWroAIETg1iVwuH jYB1kYc1mwruwXKC9gmsJXliGxc+XiUCby9ydh1sOSdMkpMTBpaXBzsfhoc5l58Gm5yToAaZhaOU qjkDgCWNHAULCwOLaTmzswadEqggQwgHuQsHIoZCHQMMQgQGubVEcxOPFAcMDAYUA85eWARmfSRQ CdcMe0zeP1AAygwLlJtPNAAL19DARdPzBOWSm1brJBi45soRAWQAAkrQIykShQ9wVhHCwCQCACH5 BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA 7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyND J0uIiRMDjI0Fd30/iI2UA5GSS5UDj2l6NoqgOgN4gksEBgYFf0FDqKgHnyZ9OX8HrgYHdHpcHQUL XAS2qKpENRg7eAMLC7kTBaixUYFkKAzWAAnLC7FLVxLWDBLKCwaKTULgEwbLA4hJtOkSBNqITT3x EgfLpBtzE/jiuL04RGEBgwWhShRgQExHBAAh+QQJCgAAACwAAAAAIAAgAAAE7xDISWlSqerNpyJK hWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfZiCqGk5dTE SJeaOAlClzsJsqwiJwiqnFrb2nS9kmIcgEsjQydLiIlHehhpejaIjzh9eomSjZR+ipslWIRLAgMD OR2DOqKogTB9pCUJBagDBXR6XB0EBkIIsaRsGGMMAxoDBgYHTKJiUYEGDAzHC9EACcUGkIgFzgwZ 0QsSBcXHiQvOwgDdEwfFs0sDzt4S6BK4xYjkDOzn0unFeBzOBijIm1Dgmg5YFQwsCMjp1oJ8LyIA ACH5BAkKAAAALAAAAAAgACAAAATwEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqU ToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyA SyNDJ0uIiUd6GGl6NoiPOH16iZKNlH6KmyWFOggHhEEvAwwMA0N9GBsEC6amhnVcEwavDAazGwID aH1ipaYLBUTCGgQDA8NdHz0FpqgTBwsLqAbWAAnIA4FWKdMLGdYGEgraigbT0OITBcg5QwPT4xLr ROZL6AuQAPUS7bxLpoWidY0JtxLHKhwwMJBTHgPKdEQAACH5BAkKAAAALAAAAAAgACAAAATrEMhJ aVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq+E71SRQeyqUToLA7VxF0JDyIQh/MVVPMt1ECZlfcjZJ 9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOU jY+Yip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgG BqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd+MFCN6HAAIKgNggY 0KtEBAAh+QQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9Uk UHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCX aiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgev r0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1+vsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfL zOlD4WvzAHaoG9nxPi5d+jYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnq zaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLK F0tYGKYSg+ygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0+bm4g5 VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h+Kr0SJ8MFihpNbx+4Erq7BYBu zsdiH1jCAzoSfl0rVirNbRXlBBlLX+BP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaL Cwg1RAAAOwAAAAAAAAAAAA==",r=!1;return{getViewMarkup:function(t){var n={ioMessage:t,loaderImg:i};return e(n)},setViewMessage:function(e){$(n+" span").html(e)},hideLoadingGraphic:function(){$(n+" img").hide()},showLoadingGraphic:function(){$(n+" img").show()},viewOpen:function(){return r},showView:function(){$(n).css("opacity",0),$(n).animate({opacity:1},300),r=!0},removeView:function(e){r=!1,$(n).animate({opacity:0},200,function(){void 0!==e&&e.call(),$(n).remove()})}}}()}(this,TSC.templates),function(e,t,n,i,r,a,o,s,u){e.TSC=e.TSC||{},e.TSC.xmp=function(){"use strict";function e(){E=!1,w=!1,I=!1,N=!1,x=!1,R=!1,P=!1,U=!1,z="",H=0,W="en-US",Y="#ffffff",J="#000000",K=.9,j="Arial, Helvetica, sans-serif;",Z=18,X={r:255,g:255,b:255},$="overlay",et=0,tt=2,nt=144,it=[],rt=[],at=[],ot=[],st=[]}function c(e){return-1!==e.indexOf("http://")||-1!==e.indexOf("https://")}function l(){y&&y.call()}function d(e,t,n){for(var i=(e<<16|t<<8|n).toString(16),r=6-i.length,a=0;r>a;a++)i="0"+i;return"#"+i}function f(e){t(e).find("*").filterNode("rdf:Description").each(function(){var e=Number(t(this).attr("xmpDM:startTime"))/1e3,n=s.getUnicodeSafeString(t(this).attr("tscDM:file")),i=t(this).attr("xmpDM:name"),r=t(this).attr("tscDM:image"),a=t(this).attr("tscDM:imagerect");a&&!U&&(U=!0,z="."===s.getSwfBase()||c(r)?s.getUnicodeSafeString(r):s.getSwfBase()+s.getUnicodeSafeString(r));var o={time:e,text:i,file:n,image:r,imageRect:a};it.push(o)})}function p(e){var n=t(e).find("*").length,i=e.find("*").eq(n-2);if(i&&i.length>0&&"tsc:fgColor"===i[0].nodeName){var r=i.attr("xmpG:red"),a=i.attr("xmpG:green"),u=i.attr("xmpG:blue");Y=d(r,a,u)}var c=e.find("*").eq(n-1);c&&c.length>0&&"tsc:bgColor"===c[0].nodeName&&(X.r=c.attr("xmpG:red"),X.g=c.attr("xmpG:green"),X.b=c.attr("xmpG:blue"),J=d(X.r,X.g,X.b)),t(e).find("*").filterNode("rdf:Description").each(function(){var e,n,i=Number(t(this).attr("xmpDM:startTime"))/1e3,r=Number(t(this).attr("xmpDM:duration"))/1e3,a=i+r,u=t(this).find("*").filterNode("rdf:li").text(),c=o.rtfToText(u),l=t(this).attr("tscDM:valign"),d=t(this).attr("tscDM:halign");switch(l){case"top":e="captionVAlignTop";break;default:e="captionVAlignBottom"}switch(d){case"left":n="captionHAlignLeft";break;case"right":n="captionHAlignRight";break;default:n="captionHAlignCenter"}u=o.rtfToHTML(u);var f=s.getUnicodeSafeString(t(this).attr("tscDM:file"));if(""!==c.replace(/ /g,"")){var p={start:i,end:a,text:c,htmlText:u,file:f,vAlign:l,vAlignClass:e,hAlignClass:n};rt.push(p)}})}function g(e,t){for(var n=[],i=e[4]-e[0],r=e[5]-e[1],a=i/2+e[0],o=r/2+e[1],s=e.length,u=0;s>u;u+=2){var c=h(e[u],e[u+1],i,r,a,o,t);n.push(Math.round(c[0])),n.push(Math.round(c[1]))}return n}function h(e,t,n,i,r,a,o){o=o*Math.PI/180;var s=e-r,u=t-a,c=Math.atan2(u,s),l=Math.sqrt(s*s+u*u),d=c+o,f=Math.cos(d)*l,p=Math.sin(d)*l,g=[];return g[0]=f+r,g[1]=p+a,g}function m(e){var n=0;t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("xmp:label"),i=Number(t(this).attr("xmpDM:startTime"))/1e3,r=Number(t(this).attr("xmpDM:duration"))/1e3,a=i+r,o=t(this).attr("tscDM:boundingPoly"),u=parseFloat(t(this).attr("tscDM:rotate")),c=s.getUnicodeSafeString(t(this).attr("tscHS:jumpFile")),l=o.replace(/\;/gi,",");l.lastIndexOf(",")==l.length-1&&(l=l.substr(0,l.length-1));for(var d=l.split(","),f=0;d.length>f;f++)d[f]=parseInt(d[f],10);0!==u&&(d=g(d,u));var p=!1,h="",m="",v="";"1"===t(this).attr("tscHS:pause")&&(p=!0),void 0!==t(this).attr("tscHS:jumpTime")&&(h=Number(t(this).attr("tscHS:jumpTime"))/1e3),void 0!==t(this).attr("tscHS:newWindow")&&(m=t(this).attr("tscHS:newWindow"),m="0"===m||"false"===m.toLowerCase()?!1:!0),void 0!==t(this).attr("xmpDM:location")&&(v=t(this).attr("xmpDM:location"));var A=s.getUnicodeSafeString(t(this).attr("tscDM:file")),S={id:e,start:i,end:a,pause:p,hasPausedAtEnd:!1,points:d,scaledPoints:d.concat([]),rotation:u,file:A,jumpTime:h,jumpFile:c,newWindow:m,targetURL:v,isActive:!1,index:n};at.push(S),n++})}function v(e){var n,i,r,o,s,c,l,d,f=-1,p=!1,g=[];u.clearAllQuestions(),t(e).find("*").filterNode("rdf:Description").each(function(){var e=t(this).attr("tscIQ:questionSetName");
if(e){e=a.htmlEncode(e),p&&(u.addQuestion(f,n,r,o,g,c),p=!1,o=void 0,r=void 0,g=[],c=void 0);var h="1"===t(this).attr("tscIQ:feedback"),m=Number(t(this).attr("xmpDM:startTime"));f=u.addQuestionSet(e,m,h)}else i=t(this).attr("tscIQ:type"),i?(p&&(u.addQuestion(f,n,r,o,g,c),p=!1,o=void 0,r=void 0,g=[],c=void 0),r=t(this).attr("tscIQ:id"),n=i,l=t(this).children(),o=a.htmlEncode(t(l[0]).text(),!0),c=a.htmlEncode(t(l[1]).text(),!0),p=!0):(s=t(this).attr("tscIQ:orderId"),s&&(l=t(this).children(),d=t(l[0]).text(),d&&g.push(a.htmlEncode(d,!0))))}),p&&u.addQuestion(f,n,r,o,g,c)}function A(e){var n=[];t(e).find("*").filterNode("rdf:Description").each(function(){var e=Number(t(this).attr("xmpDM:startTime"))/1e3,i=Number(t(this).attr("xmpDM:duration"))/1e3,r=t(this).attr("xmpDM:name"),a=s.getUnicodeSafeString(t(this).attr("tscDM:file")),o={start:e,end:Number(e)+Number(i)+"",text:r,file:a};n.push(o)});var i=n.length;if(!(1>i)){for(var r,a=n[0].start,o="",u=[],c=0;i>c;c++)n[c].start!==a&&(r={start:n[c-1].start,end:n[c-1].end,text:o,items:u,file:n[c-1].file},ot.push(r),o="",u=[]),o+=n[c].text+" ",u.push(n[c].text),a=n[c].start;r={start:n[c-1].start,end:n[c-1].end,text:o,items:u,file:n[c-1].file},ot.push(r)}}function S(e){t(e).find("*").filterNode("rdf:li").each(function(){var e=Number(t(this).attr("xmpDM:startTime"))/1e3,n=Number(t(this).attr("xmpDM:duration"))/1e3,i=t(this).attr("xmpDM:name"),r=s.getUnicodeSafeString(t(this).attr("tscDM:file")),a=t(this).attr("tscDM:image"),o=t(this).attr("tscDM:imagerect"),u={start:e,end:Number(e)+Number(n)+"",text:i,file:r,image:a,imageRef:document.createElement("canvas"),imageRect:o};st.push(u)})}function b(){E&&f(_),w&&p(Q),N&&v(D),I&&m(q),x&&A(V),R&&S(B),P=!0,T&&T.call()}function C(a){e();var o=t(a).find("*").eq(2);M=o.attr("dc:title"),k=o.attr("tscDM:originId"),L=o.attr("tscDM:project"),H=Number(t(a).find("*").eq(3).attr("xmpDM:value")),O=M;var l,d,f=t(a).find("*").length,p=0;for(l=4;f>l;l++)if("xmpDM:Tracks"===t(a).find("*").eq(l)[0].nodeName){d=t(a).find("*").eq(l).children();break}for(var g,h=t(d).find("*").length,m=0;h>m;m++){var v=t(d).find("*").eq(m);if(g=v.attr("xmpDM:trackType"),void 0!==g)switch(g.toLowerCase()){case"tableofcontents":F=t(v).attr("tscDM:tocCellLayout"),G=s.getUnicodeSafeString(t(v).attr("tscDM:image")),"."===s.getSwfBase()||void 0===G||c(G)||(G=s.getSwfBase()+G),E=!0,_=t(v),m+=_.find("*").length;break;case"quiz":if(u&&void 0===s.getFathomId()){N=!0;var A=t(v).attr("tscIQ:quizGuid"),S=t(v).attr("tscIQ:reportMethod"),C="1"===t(v).attr("tscIQ:requireUserId"),T="1"===t(v).attr("tscIQ:hideReplay"),y=t(v).attr("tscIQ:authoredEmail"),P=t(v).attr("tscIQ:clientId"),U=t(v).attr("tscIQ:quizHash"),z=t(v).attr("tscIQ:allowSkipQuiz"),W=t(v).attr("tscIQ:locale");W||(W=i.ENGLISH),u.setLocale(W),u.setProductionMetadata(L,M,k),u.setQuizTitle(M),u.setQuizID(A),u.setReportMethod(S),u.setRequireUserId(C),u.setHideReplay(T),u.setAuthoredEmail(y),u.setClientId(P),u.setQuizHash(U),u.setMediaDuration(H),u.setAllowSkipQuiz(z)}D=t(v),m+=D.find("*").length;break;case"caption":var Y=t(v).attr("stFnt:fontFamily");Y&&(j=Y);var J=t(v).attr("tscDM:fontSize");J&&(Z=Number(J));var X=t(v).attr("tscDM:bgOpacity");X&&(K=Number(X));var tt=t(v).attr("tscDM:position");tt&&($=tt);var nt=t(v).attr("tscDM:captionbarheight");nt&&(et=Number(nt)),w=!0,Q=t(v),m+=Q.find("*").length;break;case"hotspot":I=!0,q=t(v),m+=q.find("*").length;break;case"speech":R=!0,B=t(v),m+=B.find("*").length;break;case"screentext":x=!0,V=t(v),m+=V.find("*").length}}l+=p,t(a).find("*").filterNode("tscIQ:QuizParams").filterNode("rdf:li").each(function(){var e=t(this).attr("xmpDM:name"),i=t(this).attr("xmpDM:value");try{r.setString(e,i)}catch(a){n(a.message)}});var it,rt,at=0;for(l=l;f>l;l++)if("tscDM:controller"===t(a).find("*").eq(l)[0].nodeName){it=t(a).find("*").eq(l).children(),at=t(it).find("*").length;break}t(it).find("*").filterNode("rdf:li").each(function(){if(void 0!=t(this).attr("xmpDM:name"))switch(rt=t(this).attr("xmpDM:value").toLowerCase(),t(this).attr("xmpDM:name").toLowerCase()){case"autohide":var e="true"===rt?!0:!1;s.setAutoHideControls(e);break;case"autostart":case"autoplay":var n="true"===rt?!0:!1;s.getAutoPlayMedia()||s.setAutoPlayMedia(n);break;case"searchable":var i="true"===rt?!0:!1;s.setIsSearchable(i);break;case"captionsenabled":var a="true"===rt?!0:!1;s.setCaptionsEnabled(a);break;case"sidebarenabled":var o="true"===rt?!0:!1;s.setSidebarEnabled(o);break;case"unicodeenabled":var u="true"===rt?!0:!1;s.setProcessUnicodeNames(u);break;case"backgroundcolor":var c=rt;-1===c.indexOf("#")&&(c="#"+c),s.setBackgroundColor(c);break;case"sidebarlocation":var l="right"===rt||"r"===rt?"right":"left";s.setSidebarLocation(l);break;case"endaction":s.setEndActionType(rt);break;case"endactionparam":s.setEndActionParam(rt);break;case"locale":r.setLanguage(t(this).attr("xmpDM:value"))}}),setTimeout(b,500)}t.fn.filterNode=function(e){return this.find("*").filter(function(){return this.nodeName===e})};var T,y,E,w,I,N,x,R,P,M,L,k,B,V,_,Q,q,D,O,F,G,U,z,H,W,Y,J,K,j,Z,X,$,et,tt,nt,it,rt,at,ot,st;return e(),{loadXMP:function(e){if(e){var i=e,r=!0;if(s.isIEOnServerWithUnicode()){var a=location.href.lastIndexOf("/"),o=location.href.substr(0,a+1);i=s.getUnicodeSafeString(o)+e,r=!1}try{t.ajax({type:"GET",url:i,isLocal:r,dataType:"xml",success:C,error:l})}catch(u){n(u.message)}}},parseXMP:function(e){C(t.parseXML(e))},xmpAvailable:function(){return P},hasAdvancedFeatures:function(){return P&&(E||w||I||N)},getMediaDuration:function(){return H},getTocTitle:function(){return O},getTocImageSrc:function(){return G},getTocCellLayoutType:function(){return F},tocContainsThumbs:function(){return U},getTocThumbImageSrc:function(){return z},getTocItemArray:function(){return it},getHotspotItemArray:function(){return at},getCaptionItemArray:function(){return rt},getCaptionFontFamily:function(){return j},getCaptionFontSize:function(){return Z},getMinCaptionFontSize:function(){return tt},getMaxCaptionFontSize:function(){return nt},getCaptionBgOpacity:function(){return K},getCaptionTextColor:function(){return Y},getCaptionBgColor:function(){return J},getCaptionBg:function(){return"rgba("+X.r+", "+X.g+", "+X.b+", "+K+")"},getCaptionPosition:function(){return $},getCaptionBarHeight:function(){return et},getSpeechTextItemArray:function(){return st},getScreenTextItemArray:function(){return ot},getLanguage:function(){return W},hasTocItems:function(){return E},hasCaptionItems:function(){return w},hasHotspotItems:function(){return I},hasQuiz:function(){return N},hasScreenTextItems:function(){return x},hasSpeechTextItems:function(){return R},getLocalErrorMessage:function(){return r.getString("xmpSecurity")},get404ErrorMessage:function(){return r.getString("xmpError")},addEventListener:function(e,t){"READY"===e?T=t:"ERROR"===e&&(y=t)},removeEventListener:function(e){"READY"===e?T=void 0:"ERROR"===e&&(y=void 0)}}}()}(this,jQuery,log,TSC.languageCodes,TSC.localizationStrings,TSC.textSanitizer,TSC.textFormatter,TSC.playerConfiguration,TSC.quizModel),function(e,t,n,i,r){e.TSC=e.TSC||{},e.TSC.playerSettingsView=function(){function a(){y.hide(),u()}function o(){y.show(),s()}function s(){Q.mouseup(l)}function u(){Q.off("mouseup",l)}function c(){E=!1,a(),_!==void 0&&_()}function l(e){E!==!1&&(y.is(e.target)||0!==y.has(e.target).length||setTimeout(function(){c()},50))}function d(){y=t("#playerSettingsContainer"),I=t("#playerSpeedContainer select")}function f(){var e=w.playbackRate;e!==Number(I.find(":selected").val())&&(e>R?p(R):x>e?p(x):I.find('option[value="'+w.playbackRate+'"]').prop("selected",!0))}function p(e){x>e?e=x:e>R&&(e=R),N=e,w.playbackRate=e,w.defaultPlaybackRate=e,!r.isIPad()&&!r.isIPhoneOrIPod()||w.paused||(w.pause(),w.play()),setTimeout(function(){c()},2e3)}function g(){var e=Number(I.find(":selected").val());p(e)}function h(){f()}function m(){var e=V.indexOf(N);-1!==e&&V.length>e+1&&p(V[e+1])}function v(){var e=V.indexOf(N);-1!==e&&e>0&&p(V[e-1])}function A(e){if(P===e.shiftKey)switch(e.keyCode){case M:e.preventDefault(),m();break;case L:e.preventDefault(),v()}}function S(){for(var e=i.getString("playerRateOptionsText"),t=[],n=V.length-1;n>=0;n--){var r=V[n];t.push({rateValue:r,rateLabel:e[r],selected:r===k})}return t}function b(){E=!1,N=k}function C(){I.unbind("change",g),Q.unbind("keydown",A),w&&w.removeEventListener("ratechange",h)}function T(){I.bind("change",g),Q.bind("keydown",A)}var y,E,w,I,N,x,R,P,M,L,k,B,V,_,Q;return E=!1,P=!0,N=1,M=38,L=40,x=.25,R=2,k=1,B=[.25,.5,.75,1,1.25,1.5,1.75,2],V=B,Q=t(e.document),{destroy:function(){C()},render:function(e){var r={playerRateText:i.getString("playerRateText"),playbackRates:S()},o=n.settings_view_template(r);t(e).append(o),b(),d(),T(),a()},setVideoElement:function(e){w=e,w.addEventListener("ratechange",h,!1)},setOnHideCallback:function(e){_=e},open:function(){E=!0,o()},close:function(){E=!1,a()},isOpen:function(){return E},setAvailableRates:function(e){V=e.length>0?e:B,x=V[0],R=V[V.length-1]},getPlaybackRate:function(){return N}}}()}(window,jQuery,TSC.templates,TSC.localizationStrings,TSC.deviceInfo),jQuery(function(e){var t,n,i,r,a,o,s,u;t={},n=function(){var t=e.fn.width,n=e("#tscVideoContent"),i=e("body");return function(){return document.msFullscreenElement&&t.call(i)!==t.call(n)}}(),i=function(e){return parseInt(e.css("margin-left"),10)+parseInt(e.css("margin-right"),10)},r=function(e){return parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10)},a=function(e){return parseInt(e.css("padding-left"),10)+parseInt(e.css("padding-right"),10)},o=function(e){return parseInt(e.css("padding-top"),10)+parseInt(e.css("padding-bottom"),10)},s=function(e){return parseInt(e.css("border-left-width"),10)+parseInt(e.css("border-right-width"),10)},u=function(e){return parseInt(e.css("border-top-width"),10)+parseInt(e.css("border-bottom-width"),10)},t.width=e.fn.width,e.fn.width=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().width-a(this)-s(this)):t.width.apply(this,e.makeArray(arguments))},t.innerWidth=e.fn.innerWidth,e.fn.innerWidth=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().width-s(this)):t.innerWidth.apply(this,e.makeArray(arguments))},t.outerWidth=e.fn.outerWidth,e.fn.outerWidth=function(r){var a;return 1>=arguments.length&&0 in this&&n()&&this[0]!=window?(a=Math.round(100*this[0].getBoundingClientRect().width),r?a+i(this):a):t.outerWidth.apply(this,e.makeArray(arguments))},t.height=e.fn.height,e.fn.height=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().height-o(this)-u(this)):t.height.apply(this,e.makeArray(arguments))},t.innerHeight=e.fn.innerHeight,e.fn.innerHeight=function(){return 0===arguments.length&&0 in this&&n()&&this[0]!=window?Math.round(100*this[0].getBoundingClientRect().height-u(this)):t.innerHeight.apply(this,e.makeArray(arguments))},t.outerHeight=e.fn.outerHeight,e.fn.outerHeight=function(i){var a;return 1>=arguments.length&&0 in this&&n()&&this[0]!=window?(a=Math.round(100*this[0].getBoundingClientRect().height),i?a+r(this):a):t.outerHeight.apply(this,e.makeArray(arguments))},t.offset=e.fn.offset,e.fn.offset=function(){var i;return 0===arguments.length&&0 in this&&n()?(i=t.offset.apply(this),i&&(i.top=Math.round(100*i.top),i.left=Math.round(100*i.left)),i):t.offset.apply(this,e.makeArray(arguments))}}),function(e){e.TSC=e.TSC||{},e.TSC.playedTracker=function(e){var n=.5,i=function(){var n=[],i=0,r=this;this.start=function(e){if(0>e||e>n.length-1)throw"INDEX_SIZE_ERR";return n[e].start},this.end=function(e){if(0>e||e>n.length-1)throw"INDEX_SIZE_ERR";return n[e].end},Object.defineProperty(this,"length",{get:function(){return n.length}});var a=function(){n.push(new t),i=n.length-1},o=function(e){0===r.length&&(a(),n[0].recordTime(0)),n[i].recordTime(e.data),n.length>1&&u()},s=function(e){var t=l(e.data);-1===t&&a()},u=function(){for(var e=n.length,t=0;e>t;t++)if(i!=t&&r.areMediaSegmentsOverlapping(n[i],n[t])){c(i,t);break}},c=function(e,t){var r=Math.min(e,t),a=Math.max(e,t);n[r].start=Math.min(n[e].start,n[t].start),n[r].end=Math.max(n[e].end,n[t].end),n.splice(a,1),i=r},l=function(e){for(var t=-1,i=n.length,r=0;i>r;r++)if(e>=n[r].start&&n[r].end>=e){t=r;break}return t};e.addEventListener("seeked",s),e.addEventListener("timeupdate",o)};return i.prototype.areMediaSegmentsOverlapping=function(e,t){var i=t.start>=e.start-n&&t.start<=e.end+n,r=t.end>=e.start-n&&t.end<=e.end+n;return i||r},new i};var t=function(){var e=-1,t=-1,n=function(){};return Object.defineProperty(n,"start",{get:function(){return e},set:function(t){e=+t}}),Object.defineProperty(n,"end",{get:function(){return t},set:function(e){t=+e}}),n.recordTime=function(n){(-1===e||e>n)&&(e=n),n>t&&(t=n)},n}}(window),function(e,t,n,i){e.onYouTubeIframeAPIReady=function(){e.onYouTubeIframeAPIReady.ready=!0;for(var t=0;e.onYouTubeIframeAPIReady.queued.length>t;t++)e.onYouTubeIframeAPIReady.queued[t]()},e.onYouTubeIframeAPIReady.queued=[],e.TSC=e.TSC||{};var r=function(a,o,s,u,c,l,d){function f(){v=x.getDuration(),n.requiresManualPreload()&&u(),R("loadedmetadata"),R("canplay"),g.removeEventListener("playing",f),R("playing"),R("play")}function p(){if(y=x.getAvailablePlaybackRates(),y.length>1&&(C=!0),n.requiresManualPreload())return s(),g.addEventListener("playing",f),void 0;var e=x.getVolume();x.setVolume(0),x.seekTo(1),g.addEventListener("play",function t(){g.removeEventListener("play",t),x.pauseVideo(),x.seekTo(0),x.setVolume(e),g.addEventListener("playing",f),s()})}if(!(this instanceof r))return new r;var g=this,h={},m=0,v=0,A=0,S=1,b=-1,C=!1,T=50,y=[],E=3;this.addEventListener=function(e,t){h[e]=h[e]||[],h[e].push(t)},this.removeEventListener=function(e,t){if(h[e]&&0!==h[e].length){var n=h[e].indexOf(t);-1!==n&&h[e].splice(n,1)}},this.bind=function(e,t){if("string"==typeof e)this.addEventListener(e,t);else if("object"==typeof e)for(var n=Object.keys(e),i=0;n.length>i;i++){var r=n[i];g.addEventListener(r,e[r])}},this.unbind=function(e,t){t!==void 0?this.removeEventListener(e,t):h[e]=[]},this.off=this.unbind;var w=function(e){switch(e.data){case 2:R("error","Invalid video url.");break;case 5:R("error","The video cannot be played.");break;case 100:R("error","This video has been removed from YouTube and is no longer available for playback.");break;case 101:case 150:R("error","This video is unavailable. Its YouTube owner either disabled embedding or marked it private.");break;default:}};c&&this.addEventListener("error",c);var I=function(e){switch(b=e.data,e.data){case YT.PlayerState.PAUSED:R("pause");break;case YT.PlayerState.ENDED:R("ended");break;case YT.PlayerState.PLAYING:R("playing"),R("play");break;case YT.PlayerState.BUFFERING:}},N=function(e){S=e.data,R("ratechange",S)};t.getShowYouTubeAnnotations()&&(E=1);var x=new e.YT.Player(o,{width:l,height:d,videoId:a,playerVars:{wmode:"opaque",loop:0,autoplay:0,controls:0,disablekb:1,rel:0,showsearch:0,showinfo:0,iv_load_policy:E},events:{onReady:p,onStateChange:I,onPlaybackRateChange:N,onError:w}}),R=function(e,t){var n={type:e,target:g,data:t};if(h.hasOwnProperty(e))for(var i=h[e].slice(0),r=0;i.length>r;r++)i[r](n)},P=new i(this),M=function(){return{start:function(){return 0},end:function(){return v*A},length:1}};Object.defineProperty(this,"buffered",{get:M}),Object.defineProperty(this,"currentTime",{get:function(){return m},set:function(e){+e>g.buffered.end()?x.seekTo(+e,!0):x.seekTo(+e),R("seeked")}}),Object.defineProperty(this,"duration",{get:function(){return v}}),Object.defineProperty(this,"paused",{get:function(){return b===YT.PlayerState.PAUSED}}),Object.defineProperty(this,"playbackRate",{get:function(){return S},set:function(e){x.setPlaybackRate(+e)}}),Object.defineProperty(this,"played",{get:function(){return P}}),Object.defineProperty(this,"seekable",{get:function(){return{start:function(){return 0},end:function(){return v},length:1}}}),Object.defineProperty(this,"supportPlaybackRate",{get:function(){return C}}),Object.defineProperty(this,"validRateSettings",{get:function(){return y}}),Object.defineProperty(this,"volume",{get:function(){return T},set:function(e){var t=100*e;x.setVolume(t),T=t}}),this.play=function(){x.playVideo()},this.pause=function(){x.pauseVideo()},this.attr=function(e,t){var n=document.getElementById(o);n.setAttribute(e,t)},this.load=function(){};var L=function(){if(void 0!==x.getCurrentTime){var e=x.getCurrentTime();m!==e&&(m=e,R("timeupdate",e));var t=x.getVideoLoadedFraction;if(void 0!==t&&null!==t){var n=x.getVideoLoadedFraction();A!==n&&(A=n,R("progress"))}}};setInterval(L,250)};e.TSC.youTube=e.TSC.youTube||{},e.TSC.youTube.init=function(t,n,i,a,o,s,u){var c=/v=(.{11})/i,l=c.exec(t),d=l?l[1]:"*";e.onYouTubeIframeAPIReady.ready?e.TSC.youTube.player=new r(d,n,i,a,o,s,u):e.onYouTubeIframeAPIReady.queued.push(function(){e.TSC.youTube.player=new r(d,n,i,a,o,s,u)})}}(window,TSC.playerConfiguration,TSC.deviceInfo,TSC.playedTracker),function(e,t){e.TSC=e.TSC||{},e.TSC.searchTool=function(){function e(e,t){var n=RegExp(t,"ig");return e.replace(n,"<span class='foundSearchText'>"+t+"</span>")}function n(t,n){for(var i=[],r=t.items.length,a=n.toLowerCase().split(" "),o=0;r>o;o++){var s="",u=t.items[o],c=a[0];if(!(0>u.toLowerCase().indexOf(c))){for(var l=0;a.length>l;l++)s+=o+l>=r?"":0==l?t.items[o+l]:" "+t.items[o+l];if(-1!=s.toLowerCase().indexOf(n.toLowerCase())){var d;d=4>a.length?Math.floor(5-a.length/2):2;for(var f,p="",g="",h=0;d>h;h++)o-d+h>=0&&(p+=t.items[o-d+h]+" "),r>o+a.length+h&&(g+=" "+t.items[o+a.length+h]);s=e(s,n),f="..."+p+s+g+"...";var m=t.file,v="";void 0!==m&&(v="data-file='"+m+"'"),i.push({text:f,start:t.start,file:t.file,imageRef:void 0,imageRect:void 0})}}}return i}function i(t,n,i){for(var r=[],a=0;t.length>a;a++)if(-1!=t[a].text.toLowerCase().indexOf(n.toLowerCase()))if(i)r.push(t[a]);else{var o={text:e(t[a].text,n),start:t[a].start!==void 0?t[a].start:t[a].time,file:t[a].file,imageRef:t[a].imageRef,imageRect:t[a].imageRect};r.push(o)}return r}function r(e,t){for(var r=[],a=i(e,t,!0),o=a.length,s=0;o>s;s++)r=r.concat(n(a[s],t));return r}function a(e){var n=[];return n=n.concat(i(t.getTocItemArray(),e)),n=n.concat(i(t.getCaptionItemArray(),e)),n=n.concat(i(t.getSpeechTextItemArray(),e)),1>t.getCaptionItemArray().length&&t.getScreenTextItemArray().length>0&&(n=n.concat(r(t.getScreenTextItemArray(),e))),n}return{searchXmpForString:a}}()}(window,TSC.xmp),function(e,t,n,i,r,a,o,s,u,c,l,d,f,p,g,h,m,v,A,S,b){e.TSC=e.TSC||{},e.TSC.playerView=function(){"use strict";function n(e,t,n){u.getCustomEventTracking()&&u.getCustomEventCallback()&&(u.getAltEventCategoryAsFilename()?u.getCustomEventCallback().call(this,{category:u.getMediaFileName(),action:e,label:t,value:n}):u.getCustomEventCallback().call(this,{category:Ui,action:e,label:t,value:n})),u.getGoogleAnalyticsID()&&_gaq.push(["_trackEvent",Ui,e,t])}function C(){return h&&h.getQuizID()}function T(e){gn&&Ti&&e.keyCode===Wi&&(e.originalEvent.preventDefault(),hn.paused?hn.play():hn.pause())}function y(){t(document).bind("keydown",T)}function E(){t(document).unbind("keydown",T)}function w(e,t){t=t.replace(/\)/gi,"\\)"),t=t.replace(/\(/gi,"\\("),e.css("background-image","url("+t+")")}function I(e){w(t("#videoClickToPlayLink, #videoClickToReplayLink"),e)}function N(e){-1!=di&&t("#tableOfContentsList li:nth-child("+di+") ").removeClass("selectedTocItem"),di=e,t("#tableOfContentsList li:nth-child("+di+") ").addClass("selectedTocItem")}function x(){var e,n,i,r,a,o;0>ii||(e=vn.width(),n=vn.height(),i=ii*V(),r=ri*V(),a=Math.max((e-i)/2,0),o=Math.max((n-r)/2,0),Zn.css({width:i,height:r,left:a,top:o}),t.each(f.getHotspotItemArray(),function(e,t){var n;l.isPlaylist()&&(n=l.currentVideoSrc()),(void 0===t.file||t.file===n)&&t.jqel.attr("coords",t.pointsToCoords())}))}function R(){t("#searchList").remove(),Fn.show(),Z()}function P(){if(!(void 0===gn||0>=ri)){var e=ri;"under"===f.getCaptionPosition()&&(e=ri*((mn.height()-bn.height())/(ri+f.getCaptionBarHeight())),vn.css("height",e+"px"),Hn.css("height",f.getCaptionBarHeight()*V()+"px"));var t=Math.round(Number(f.getCaptionFontSize())*V());t=f.getMinCaptionFontSize()>t?f.getMinCaptionFontSize():t,t=t>f.getMaxCaptionFontSize()?f.getMaxCaptionFontSize():t,Wn.css("font-size",t)}}function M(){mi=Xn.width(),vi=bn.height(),Xn.attr("width",mi+"px"),Xn.attr("height",vi+"px")}function L(){var e=Xn[0].getContext("2d");s.drawMarkers(1e3*hn.duration,e,mi,vi)}function k(){t("#videoSidebarContentWrapper").css({top:t("#videoSidebarHead").height()+"px"})}function B(){Ri&&k();var e=gn&&hn;e&&hn.duration&&C()&&s.quizEnabled()&&(M(),L(),s.viewOpen()&&s.pointViewAt(O(hi))),f.hasCaptionItems()&&P(),f.hasHotspotItems()&&void 0!==gn&&x()}function V(){var e=1;if(void 0!==gn&&ii>0&&gn.width()>0){var t=gn.width()/ii,n=gn.height()/ri;e=Math.min(t,n)}return e}function _(){Ri&&!i.supportsFullScreenKeyboardInput()&&t("#videoSidebar").removeClass("search_disabled")}function Q(){u.getDisableControls()||bn.show(),i.isTouchInterface()?Ct():u.getAutoHideControls()&&Pt(),t("#ctoplay").hide(),Ht()}function q(e){(void 0===e.target.id||""+e.target.id===cn)&&(bi=!bi,bi?(xn.removeClass("fullscreen_enter_button_normal"),xn.addClass("fullscreen_leave_button_normal")):(_(),xn.removeClass("fullscreen_leave_button_normal"),xn.addClass("fullscreen_enter_button_normal"),t("body").css("margin-left","1px"),yi=!0,B(),t("body").css("margin-left","0"),yi=!0),B())}function D(){_i=!0,ii=hn.videoWidth,ri=hn.videoHeight,gn.bind("ratechange",function(){U(),z()},!1),gn.bind("play",function(){U(),z()},!1),ai=0,zi?Q():!C()||C()&&(!s.quizEnabled()||s.getQuizReady())?Q():(hn.pause(),zt(s.getLastStatusMessage())),d.isEnabled()&&!d.isPercentWatchedInitialized()&&d.initPercentWatched(1e3*hn.duration),!i.supportsFullScreen()||i.isIPad()||i.isAndroid()?e==e.top||u.getDisableFullframeMode()?xn.remove():(xn.show(),Ei=!0):(t(document).on(i.getFullScreenChangeEventNames(),q),wi=!0),yi=!0,f.hasHotspotItems()&&nn(),B()}function O(e){var t=Bn.offset().left;if(gn&&hn.duration&&hn.duration>0){var n=Math.max(0,Math.min(e,hn.duration)),i=n/hn.duration;t+=i*Bn.width()}return t}function F(){!Ti||0===hn.duration||C()&&s.quizEnabled()&&!s.getQuizReady()||(ai=hn?hn.currentTime>hn.duration?hn.duration:hn.currentTime:0,Di=Number(hn.currentTime.toFixed(2))>=Number(hn.duration.toFixed(2)),oi=1e3*ai,ct(),d.isEnabled()&&Y(),!ki&&C()&&s.quizEnabled()&&W(),f.hasHotspotItems()&&z(),f.hasCaptionItems()&&H(),u.getReportScormComplete()&&1===d.getPercentageWatched()&&(u.setReportScormComplete(!1),t.isFunction(userSubmitVideoCompletedToLMS)&&userSubmitVideoCompletedToLMS()),ki||-1!==gi||!Di||qi||(qi=!0,hn.pause(),At()))}function G(){t.each(f.getHotspotItemArray(),function(e,t){t.hasPausedAtEnd=!1})}function U(){t.each(f.getHotspotItemArray(),function(t,n){n.timer&&e.clearTimeout(n.timer),n.isActive=!1,void 0!=n.jqel&&n.jqel.remove()})}function z(){t.each(f.getHotspotItemArray(),function(t,n){var i;if(l.isPlaylist()&&(i=l.currentVideoSrc()),void 0===n.file||n.file===i)if(ai>n.start&&n.end>=ai){n.isActive===!1&&(n.isActive=!0,n.jqel.appendTo(Zn.find("map")));var r=1>=n.end-ai;if(void 0!==n.pause&&n.pause===!0&&!n.hasPausedAtEnd&&r&&!hn.paused){var a=10/(30*c.getPlaybackRate()),o=(n.end-ai)/c.getPlaybackRate()-a;e.clearTimeout(n.timer),n.timer=setTimeout(function(){hn.pause(),n.hasPausedAtEnd=!0},1e3*o)}}else n.isActive&&(G(),U())})}function H(){var e,n=!1,i=null;t.each(f.getCaptionItemArray(),function(t,r){e=!0;var a;l.isPlaylist()&&(a=l.currentVideoSrc()),void 0!==r.file&&r.file!==a&&(e=!1),ai>r.start&&r.end>=ai&&e&&(n=!0,r.text!==Wn.text()&&(i=r))}),n?null!==i&&(Hn.removeClass("captionHAlignLeft"),Hn.removeClass("captionHAlignCenter"),Hn.removeClass("captionHAlignRight"),Hn.addClass(i.hAlignClass),Hn.removeClass("captionVAlignTop"),Hn.removeClass("captionVAlignBottom"),Hn.addClass(i.vAlignClass),Wn.html(i.htmlText),dn&&dn.call(i.htmlText)):Wn.html("")}function W(){var e=s.findQuestionSet(oi);if(e.id>=0){if(gi!==e.id){if(i.isTouchInterface()||E(),Mt(),kt(!1),On&&$(!1),gi=e.id,hi=e.markerTime/1e3,hn.pause(),setTimeout(function(){st(hi,!0)},100),bi&&!i.supportsFullScreenKeyboardInput()&&rn("#videoWrapper",a.getString("txtQuizFullscreenMode"),!0),s.displayConfirm(e.id),s.pointViewAt(O(hi)),d.isEnabled()){d.markTimeWatched(e.markerTime);var t=d.getPercentageWatchedForVideoSegment(s.findPrevMarkerTimeForMarker(e.id),e.markerTime);s.updatePercentWatchedForQuestionSet(gi,t)}Bt(!1)}}else gi=-1}function Y(){var e=Math.round(100*d.getPercentageWatched());d.markTimeWatched(oi),"function"==typeof onVideoWatchedPercentage&&onVideoWatchedPercentage(.01*e,d.getCurrentPlayTime()),u.getTrackEvents()&&e>=Ai+Si&&(Ai+=Si,e>Ai&&(Ai=Si*Math.floor(e/Si)+Si),Ai>100&&(Ai=100),n("Video_Percent_Viewed","Viewed: "+Ai+" Percent"))}function J(e){e>1?e=1:0>e&&(e=0),hn.volume=e}function K(e,n,i,r,a,o,s){var u,c,d,p="",g="",h="",m=1,v=0,A=0,S=20,b=65,C=!1;if(void 0!==r&&(h="data-file='"+r+"'"),o){var T=o.split(",");-Number(T[0]),-Number(T[1]);var y=Number(T[2]),E=Number(T[3]);u="hasThumbImage",g="style='height:"+E+"px'",b>E&&(C=!0,g="style='height:"+b+"px'"),f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()&&void 0===s?v=(li-y-S)/2:y>li/2-S?(m=(li/2-S)/y,y=li/2-S,A=Math.floor((T[3]-T[3]*m)/2)):A=Math.floor((b-T[3]*m)/2),d={},d.width=Number(li-y-40)+"px",d.left=Number(y+5)+"px",d.overflow="hidden",d["line-height"]="1.2em",d["max-height"]="4.8em",c=f.getTocCellLayoutType()&&"imageOnly"===f.getTocCellLayoutType()?"":'<div class="tocItemLabel">'+n+"</div>",p="<div>"+c+"</div>"}else g="",u="noThumbImage",p=n;var w="<li "+g+" class='"+u+"' data-time='"+i+"' "+h+" ></li>";if(t(e).append(w),a){var I=a.getContext("2d");a.width=Number(T[2])*m,a.height=Number(T[3])*m,I.scale(m,m),Gn?I.drawImage(Gn,T[0],T[1],T[2],T[3],0,0,T[2],T[3]):(I.fillStyle="#000000",I.fillRect(0,0,T[2],T[3])),t(a).css("margin-left",v),t(a).css("margin-top",A),t(e+" li:last-child").append(a)}if(t(e+" li:last-child").append(p),a){t(e+" li:last-child .tocItemLabel").css(d);var x=0,R=b;t(On).is(":visible")?(x=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height())):($(!0),x=t(e+" li:last-child .tocItemLabel").height(),C||(R=t(e+" li:last-child").height()),$(!1));var P=-8;C||1!==m||(P=4);var M=-Number(R+P);M+=(R-x)/2,A=Math.floor((R-T[3]*m)/2),t(a).css("margin-top",A),t(e+" li:last-child .tocItemLabel").css("top",M+"px")}l.isPlaylist()&&N(di)}function j(e){Gn=new Image,Gn.onload=function(){Z()},Gn.onerror=function(){Gn.onload=void 0,Gn.onerror=void 0,Gn=void 0,Z()},Gn.src=e}function Z(){var e=f.getTocItemArray(),n=e.length;t("#tableOfContentsList li").remove();for(var i=0;n>i;i++)e[i].imageRect&&(e[i].imageRef=document.createElement("canvas")),K("#tableOfContentsList",e[i].text,e[i].time,e[i].file,e[i].imageRef,e[i].imageRect)}function X(){var e,n,i,r=Un.width,a=Un.height,o=.6;r>=a?r>li-20?(e=(li-20)/r,n=li-20,i=a*e):(e=1,n=r,i=a):a>li-20?(e=(r*o-20)/a,i=li*o-20,n=r*e):(e=1,i=a,n=r);var s='<div id="pipimage" style="background-image: url('+f.getTocImageSrc()+");"+"width: "+n+"px;"+"height: "+i+"px;"+"margin-left: "+(li-n)/2+"px;"+"margin-right:"+(li-n)/2+"px;"+"></div>";t(s).prependTo(t("#videoSidebarHead")),t("#videoSidebarHead .video_title").text(f.getTocTitle())}function $(e){e?(On.show(),k(),Bt(!1)):(On.hide(),Li||Bt(!0))}function et(e){if(Bi=!1,!i.isTouchInterface()||!Vi){e.stopImmediatePropagation(),e.preventDefault();var n=t(this).attr("data-time"),r=t(this).attr("data-file");if(void 0!==r){U();var a=l.getVideoIndexBySrc(r);a===l.currentVideoIndex()?st(n):(l.setCurrentVideo(a),Zt()),N(a+1)}else st(n)}}function tt(){$(Pi),On.toggleClass("right","right"===u.getSidebarLocation()),u.getIsSearchable()?(zn.keyup(function(){if(""!=zn.val()){Fn.hide(),t("#searchList").remove(),t("#videoSidebarContent").append("<ol id='searchList' ></ol>");for(var e=b.searchXmpForString(zn.val()),n=0;e.length>n;n++)K("#searchList",e[n].text,e[n].start,e[n].file,e[n].imageRef,e[n].imageRect);t("#searchList").show()}else R()}),Nn.click(function(){zn.val(""),R()})):t("#searchArea").remove(),f.getTocImageSrc()?(Un=new Image,Un.onload=X,Un.src=f.getTocImageSrc()):t("#videoSidebarHead .video_title").text(f.getTocTitle()),f.tocContainsThumbs()?j(f.getTocThumbImageSrc()):Z(),i.isTouchInterface()?(Fi="touchend",Vi=!1):t("#videoSidebarContent").on(Fi,"li",et)}function nt(t){function n(){ki&&!i.isTouchInterface()&&u.getAutoHideControls()&&_t(),ki=!1,ot(),i.isTouchInterface()?(document.ontouchmove=null,document.ontouchend=null):(document.onmousemove=null,document.onmouseup=null),r&&!Di&&hn.play(),F()}var r;ki=!0,i.isTouchInterface()||e.clearTimeout(fi),hn.paused?r=!1:(r=!0,hn.pause()),at(),i.isTouchInterface()?(ut(t.originalEvent.touches[0].clientX),document.ontouchmove=function(e){e.preventDefault(),ut(e.pageX)},document.ontouchend=n):(document.onmousemove=function(e){ut(e.pageX)},document.onmouseup=n)}function it(){gn.bind("durationchange",function(){rt(),$n&&e.clearInterval($n),$n=e.setInterval(rt,1e3)}),i.isTouchInterface()||(Bn.bind("mousedown",nt),Bn.bind("mouseup",function(e){ut(e.originalEvent.pageX)}))}function rt(){var t;gn&&hn&&(hn.buffered&&hn.buffered.length&&(t=Math.min(100,Math.ceil(100*hn.buffered.end(hn.buffered.length-1)/hn.duration))),Vn.width((t||0)+"%"),100===t&&$n&&e.clearInterval($n))}function at(){document.body.focus(),document.onselectstart=function(){return!1}}function ot(){document.onselectstart=function(){return!0}}function st(e,t){U(),G(),void 0===t&&(t=!1);try{for(var n=!1,i=0;hn.seekable.length>i;i++){var r=hn.seekable.start(i),a=hn.seekable.end(i);e>=r&&a>=e&&(n=!0)}n?Ii?si=e:(hn.currentTime=e,ct()):t&&setTimeout(function(){st(e,!0)},100)}catch(o){t&&setTimeout(function(){st(e,!0)},100)}}function ut(e){var t=e-Bn.offset().left,n=t/Bn.width();_n.width(Math.min(100,Math.max(0,100*n))+"%"),U(),Bi=!1,st(Number(n*hn.duration)),lt()}function ct(){_n.width(100*hn.currentTime/hn.duration+"%"),lt()}function lt(){Qn[0].innerHTML=dt(hn.currentTime),hn.duration&&(qn[0].innerHTML=dt(hn.duration))}function dt(e){e=Math.round(e);var t=Math.floor(e/60);return t=t>=10?t:"0"+t,e=Math.floor(e%60),e=e>=10?e:"0"+e,t+":"+e}function ft(e,t){var n=100;try{n=void 0==localStorage.getItem("volume")?100:localStorage.getItem("volume")}catch(i){}e.slider({orientation:t,range:"min",min:0,max:100,value:n,slide:function(e,t){Yn.removeClass("volume_button_high_normal"),Yn.removeClass("volume_button_med_normal"),Yn.removeClass("volume_button_low_normal"),Yn.removeClass("volume_button_normal"),Yn.removeClass("unmute_button_normal"),t.value>70?Yn.addClass("volume_button_high_normal"):t.value>30?Yn.addClass("volume_button_med_normal"):t.value>0?Yn.addClass("volume_button_low_normal"):Yn.addClass("unmute_button_normal"),J(t.value/100);try{localStorage.setItem("volume",t.value)}catch(n){}}});try{J(void 0==localStorage.getItem("volume")?100:localStorage.getItem("volume")/100)}catch(i){}}function pt(){jn.removeClass(Gi)}function gt(){-1!==ci&&(clearTimeout(ci),ci=-1),jn.unbind("mouseenter"),jn.unbind("mouseleave"),jn.addClass(Gi)}function ht(){U(),Ri&&Pi&&(t(this).removeClass("toc_off_button_normal"),t(this).addClass("toc_button_normal"),$(!1)),Sn.show()}function mt(e,t){qi=!1,Bi=!1,Sn.hide(),mn.css("visibility","visible"),U(),i.isTouchInterface()||y(),l.isPlaylist()||st(e),t&&(l.isPlaylist()?(l.setCurrentVideo(0),N(l.currentVideoIndex()+1),Zt()):hn.play())}function vt(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()}function At(){if(Math.floor(hn.currentTime)<Math.floor(hn.duration)){$n&&e.clearInterval($n);var t=Ji.getString("videoFailedToLoad");return(!i.isIPad()||i.isAndroid())&&(t=Ji.getString("videoFailedToLoadUseFlash")),rn(void 0,t,!1),void 0}if(l.isPlaylist()&&!l.onLastVideo())yi=!0,l.setCurrentVideo("next"),N(l.currentVideoIndex()+1),Zt();
else{i.isTouchInterface()||E(),hn.pause(),En.removeClass("pause_normal"),En.addClass("play_normal"),setTimeout(Vt,1e3);var r=!1,a=!0,o=!1,s=!0;if(void 0!=u.getEndActionType()){var d=u.getEndActionParam();switch(u.getEndActionType().toLowerCase()){case"loop":r="true"===d||"1"===d?!0:!1;break;case"stop":a="false"===d||"0"===d?!1:!0;break;case"jumptotime":o=!0;break;case"jumptotimeandstop":s=!1,o=!0;break;case"jumptourl":u.getTrackEvents()&&n("Video_Finished_Action",d),i.isNuevoApp()?setTimeout(function(){e.open(""+d,"_parent")},500):e.open(""+d,"_parent");break;case"jumptourlnew":u.getTrackEvents()&&n("Video_Finished_Action",d),e.open(""+d,"_blank")}}r?mt(0,!0):o?mt(d/1e3,s):a?(bi&&vt(),i.isTouchInterface()||Mt(),c.close(),Lt(),ht()):Bi=!0}}function St(){Ci=!Ci;var e;Ci?(e="ENTER-FULLFRAME",xn.removeClass("fullframe_enter_button_normal"),xn.addClass("fullframe_leave_button_normal")):(e="EXIT-FULLFRAME",xn.removeClass("fullframe_leave_button_normal"),xn.addClass("fullframe_enter_button_normal")),A.postMessage(e,"*")}function bt(){vn.unbind("touchstart"),vn.unbind("touchmove"),vn.unbind("touchend"),kn.unbind("touchstart"),t("#videoSidebarContent").off("touchstart","**"),t("#videoSidebarContent").off("touchmove","**"),t("#videoSidebarContent").off(Fi,"li",et)}function Ct(){var e=!1;vn.bind("touchstart",function(){e=!1}),vn.bind("touchmove",function(){e=!0}),vn.bind("touchend",function(){e||(Li?kt():Lt()),e=!1}),kn.bind("touchstart",nt),t("#videoSidebarContent").on("touchstart","li",function(){Vi=!1}),t("#videoSidebarContent").on("touchmove","li",function(){Vi=!0}),t("#videoSidebarContent").on(Fi,"li",et)}function Tt(){Rn.removeClass("settings_button_normal").addClass("settings_off_button_normal")}function yt(e){e.preventDefault(),c.isOpen()||(Rn.removeClass("settings_off_button_normal").addClass("settings_button_normal"),c.open())}function Et(){function r(){xi?(Mn.removeClass("closed_caption_off_button_normal"),Mn.addClass("closed_caption_button_normal"),Hn.removeClass("hide"),P()):(Mn.removeClass("closed_caption_button_normal"),Mn.addClass("closed_caption_off_button_normal"),Hn.addClass("hide"))}function a(e){Array.isArray(e)&&c.setAvailableRates(e),c.render(bn,e),c.setVideoElement(hn),c.setOnHideCallback(Tt),Rn.click(yt)}-1!==u.getAllowRewind()?yn.click(function(){Bi=!1;var e=Number(hn.currentTime)-u.getAllowRewind();st(Number(e))}):yn.addClass(Gi),En.click(function(e){hn.paused?Bi?It():hn.play():hn.pause(),e.preventDefault()}),wn.click(function(e){l.onFirstVideo()||(l.setCurrentVideo("previous"),N(l.currentVideoIndex()+1),Zt()),e.preventDefault()}),In.click(function(e){l.onLastVideo()||(l.setCurrentVideo("next"),N(l.currentVideoIndex()+1),Zt()),e.preventDefault()}),gn.bind("play",function(){En.removeClass("play_button_normal"),En.addClass("pause_button_normal")}),gn.bind("pause",function(){En.removeClass("pause_button_normal"),En.addClass("play_button_normal")}),gn.bind("ended",function(){ki||(F(),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?n("Video_Finished",Ui):n("Video_Finished",""+l.currentVideoSrc())))}),Sn.click(function(){It()}),it(),Yn.mouseover(function(){-1!=ci&&(clearTimeout(ci),ci=-1),pt()}),Yn.mouseout(function(){Jn.length>0&&(jn.bind("mouseenter",function(){-1!=ci&&(clearTimeout(ci),ci=-1)}),jn.bind("mouseleave",function(){ci=setTimeout(function(){gt(),ci=-1},1e3)}),-1!=ci&&(clearTimeout(ci),ci=-1),ci=setTimeout(function(){gt(),ci=-1},1e3))}),Yn.click(function(){var e;Ni=!Ni,Ni?(ui=hn.volume,e=0,Jn.slider("value",[0])):(e=ui,Jn.slider("value",[100*ui])),Yn.removeClass("volume_button_high_normal"),Yn.removeClass("volume_button_med_normal"),Yn.removeClass("volume_button_low_normal"),Yn.removeClass("volume_button_normal"),Yn.removeClass("unmute_button_normal"),e>.7?Yn.addClass("volume_button_high_normal"):e>.3?Yn.addClass("volume_button_med_normal"):e>0?Yn.addClass("volume_button_low_normal"):Yn.addClass("unmute_button_normal"),J(e)}),Kn.length>0?(ft(Kn,"horizontal"),jn.show()):ft(Jn,"vertical"),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?(xi=!0,Hn.css("background",f.getCaptionBg()),Hn.addClass("caption_under_video"),Hn.removeClass("hide"),bn.addClass("caption_under_video"),P()):r(),Mn.bind("click",function(){xi=!xi,r()})),i.isAndroid()?Rn.hide():zi?S.player.supportPlaybackRate?a(S.player.validRateSettings):Rn.hide():a(),xn.click(function(e){if(Ei)St();else if(bi)u.getIsSearchable()&&_(),vt();else{var n=document.getElementById(cn);i.supportsFullScreenKeyboardInput()?n.requestFullscreen?n.requestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.msRequestFullscreen?n.msRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen&&n.mozRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):(Ri&&u.getIsSearchable()&&t("#videoSidebar").addClass("search_disabled"),n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen&&n.mozRequestFullScreen())}e.preventDefault()}),Ri&&(Pn.click(function(){Pi=!Pi,Pi?(t(this).removeClass("toc_off_button_normal"),t(this).addClass("toc_button_normal")):(t(this).removeClass("toc_button_normal"),t(this).addClass("toc_off_button_normal")),"none"===On.css("display")?$(!0):$(!1)}),u.getSidebarEnabled()?(Pi=!0,Pn.removeClass("toc_off_button_normal"),Pn.addClass("toc_button_normal"),$(!0)):(Pn.removeClass("toc_button_normal"),Pn.addClass("toc_off_button_normal"))),i.isIPad()||i.isAndroid()?(t("body").on("blur","textarea",function(){Qi=!1,Ct(),Ci&&xt()}),t("body").on("focus","textarea",function(){Qi=!0,bt(),Ci&&Nt()}),t("body").on("blur","input:text",function(){Qi=!1,Ct(),Ci&&xt()}),t("body").on("focus","input:text",function(){Qi=!0,bt(),Ci&&Nt()}),e.parent.onorientationchange=function(){Ci&&(Mi?(t("#searchBox").blur(),setTimeout(Rt,500)):Rt())}):y(),u.getDisableControls()&&Lt()}function wt(e){!i.isTouchInterface()&&u.getAutoHideControls()?Pt():kt(),mt(e,!0),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?n("Video_Replay",Ui):n("Video_Replay",""+l.currentVideoSrc()))}function It(){wt(0)}function Nt(){t(document).unbind("touchmove"),t(document).unbind("gesturestart"),t(e.parent).unbind("gesturestart"),t(document).unbind("gestureend"),t(e.parent).unbind("gestureend")}function xt(){t(document).bind("touchmove",function(e){t.contains(Fn[0],e.target)||C()&&s.quizEnabled()&&s.viewOpen()||e.preventDefault()}),t(document).bind("gesturestart",function(e){e.preventDefault()}),t(e.parent).bind("gesturestart",function(e){e.preventDefault()}),t(document).bind("gestureend",function(){St()}),t(e.parent).bind("gestureend",function(){St()})}function Rt(){B()}function Pt(){if(!(i.isTouchInterface()||f.hasCaptionItems()&&"under"===f.getCaptionPosition())){i.isTouchIEInterface()||t(un).hover(kt,Lt);var e=null;t(un).bind("mousemove",function(t){(null==e||e.pageX!=t.pageX&&e.pageY!=t.pageY)&&(e=t,kt(!0))}),_t()}}function Mt(){e.clearTimeout(fi),t(un).unbind("mousemove"),t(un).unbind("mouseenter mouseleave")}function Lt(){Bt(!1),Mi||ki||c.isOpen()||(Li=!0,bn.stop(!0,!0),bn.fadeOut(ni),Pi&&(On.stop(!0,!0),On.fadeOut(ni)),-1!==ci&>())}function kt(e){u.getDisableControls()||(Li&&(Li=!1,bn.stop(!0,!0),bn.fadeIn(ni),Pi?(On.stop(!0,!0),On.fadeIn(ni)):Bt(!0),e&&ct(),yi&&(yi=!1,B())),e&&_t())}function Bt(e){i.isNuevoApp()&&(document.location=e?"nuevo://shownavbar":"nuevo://hidenavbar")}function Vt(){if(i.isNuevoApp()){var e=document.location;document.location="nuevo://hasPlayedToEnd?url="+e}}function _t(){e.clearTimeout(fi),fi=e.setTimeout(Lt,pi)}function Qt(i){i.preventDefault();var r=f.getHotspotItemArray(),a=Number(t(i.target).attr("hotspot_index"));if(void 0!==r[a].jumpFile){var o=l.getVideoIndexBySrc(r[a].jumpFile);l.setCurrentVideo(o),N(l.currentVideoIndex()+1),Zt()}else if(""!==r[a].jumpTime)Bi=!1,st(Number(r[a].jumpTime)),hn.play();else if(""!==r[a].targetURL){u.getTrackEvents()&&n("Hotspot_Action",r[a].targetURL);var s="_parent";void 0!==r[a].newWindow&&r[a].newWindow===!0&&(s="_blank"),e.open(r[a].targetURL,s)}else hn.play()}function qt(){d.isEnabled()&&(d.setVideoLoadEndTime((new Date).getTime()),u.getTrackEvents()&&(u.getAltEventCategoryAsFilename()?u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",Ui,d.getVideoLoadTime()/1e3):n("Video_Loading_Time",Ui,d.getVideoLoadTime()):u.getAltLoadTimeAsSeconds()?n("Video_Loading_Time_In_Seconds",""+l.currentVideoSrc(),d.getVideoLoadTime()/1e3):n("Video_Loading_Time",""+l.currentVideoSrc(),d.getVideoLoadTime()))),Ti=!0}function Dt(){Ii=!0}function Ot(){Ii=!1,si>-1&&(st(si),si=-1)}function Ft(){if(An.hide(),gn.unbind("playing"),u.getScormStartPt()){var e=u.getScormStartPt();hn.duration>e&&st(Number(e),!0)}if(u.getJumpToTime()){var t=sn(u.getJumpToTime());hn.duration>t&&st(Number(t),!0)}u.getDebugUIMode()&&pn&&pn.call(this)}function Gt(){f.hasHotspotItems()&&Zn.on("click","area",Qt),f.hasCaptionItems()&&(Wn.css({"font-family":f.getCaptionFontFamily(),color:f.getCaptionTextColor(),background:f.getCaptionBg()}),xi=u.getCaptionsEnabled())}function Ut(e,t,n){n||(n=!1);var r="<video";n&&u.getPosterImageSrc()&&(r+=' poster="'+u.getPosterImageSrc()+'"'),t&&(r+=" controls"),i.isNuevoApp()&&(r+=" webkit-playsinline"),r+=">";for(var a=e.length,o=0;a>o;o++){var s=u.getUnicodeSafeString(e[o]);r+='<source src="'+s+'" type="'+l.getMediaMimeType(e[o])+'" />'}return r+=u.getUnableToDisplayContentString()+"</video>"}function zt(e){if(Yi.viewOpen())Yi.setViewMessage(e);else{var n=Yi.getViewMarkup(e);t(un).append(n),Yi.showView()}}function Ht(){Yi.viewOpen()&&Yi.removeView()}function Wt(){return zi?S.player:t("video")[0]}function Yt(){C()&&s.quizEnabled()?Jt():jt()}function Jt(){An.hide(),s.init(u.getEnforceLinearAssessment(),Wt)}function Kt(e){rn("#tscVideoContent",e.data,!1)}function jt(){if(zi)gn=e.TSC.youTube.player,hn=e.TSC.youTube.player;else{var n=Ut(l.currentVideoSrc(),!1);t("#videoDiv").html(n),gn=t("video"),gn.length>0&&(hn=gn[0])}if(gn.bind({loadedmetadata:D,playing:Ft,canplay:qt,seeking:Dt,seeked:Ot,timeupdate:F,progress:rt}),mn.removeClass("hide"),Gt(),Et(),Ri&&tt(),C()&&s.quizEnabled()){var i=t("<div>",{"class":"quizMarker"});t(un).append(i),v.setSize(i.width()),v.setColor(i.css("color")),i.remove(),Xn.show()}yi=!0,B(),ln&&ln.call(),bn.hide(),zt(Ji.getString("videoLoading")),Zt()}function Zt(){qi=!1,Bi=!1,l.isPlaylist()&&(l.onFirstVideo()?(wn.removeClass("previous_button_normal"),wn.addClass("previous_button_disabled")):(wn.addClass("previous_button_normal"),wn.removeClass("previous_button_disabled")),l.onLastVideo()?(In.removeClass("next_button_normal"),In.addClass("next_button_disabled")):(In.addClass("next_button_normal"),In.removeClass("next_button_disabled")),d.isEnabled()&&(d.clearPercentWatched(),Ai=0),hn.src=l.currentVideoSrc()),i.isIPad()||i.isAndroid()?hn.play():(hn.load(),hn.play()),d.isEnabled()&&d.setVideoLoadStartTime((new Date).getTime()),u.getTrackEvents()&&Oi&&(Oi=!1,u.getAltEventCategoryAsFilename()?n("Video_Started",Ui):n("Video_Started",""+l.currentVideoSrc()),n("Video_Percent_Viewed","Viewed: 0 Percent"))}function Xt(e){switch(e.type){case"COMPLETE":case"REVIEW":if(On&&Pi?$(!0):Bt(!0),i.isTouchInterface()||(y(),u.getAutoHideControls()&&Pt()),L(),"REVIEW"===e.type&&u.getEnforceLinearAssessment()){var t=s.findPrevMarkerTimeForMarker(gi);gi=-1,st(t/1e3),hn.play()}else hn.play();break;case"BEGIN":case"SKIP":s.setViewContainer("#videoWrapper"),An.unbind("click",Jt),gn?_i&&s.getQuizReady()&&(Q(),hn.play(),yi=!0,B()):jt();break;case"ERROR":gn||jt(),rn("#videoWrapper",a.getString("txtErrorMessage"),!0);break;case"STATUS":zt(e.message);break;case"SUBMITTED":Ht()}}function $t(n,r){un=n,cn=un.replace(/^[#]/,""),Ri=r,Hi=i.requiresManualPreload()&&zi,t(un).html(Ki),bn=t("#controls"),Cn=bn.find(".controls_left"),Tn=bn.find(".controls_right"),yn=t("#rewind"),En=t("#play"),wn=t("#previous"),In=t("#next"),Yn=t("#volume"),Mn=t("#closedCaptionButton"),Pn=t("#tocButton"),Rn=t("#settingsButton"),xn=t("#fullscreen_enter_button"),Jn=t("#volume_slider_vertical"),Kn=t("#volume_slider_horizontal"),jn=t("#volume_slider_container"),Ln=t("#progress"),kn=t("#progress_box"),Vn=t("#load_progress"),_n=t("#play_progress"),Bn=t("#progress_scrubbar_track"),Qn=t("#current_time_display"),qn=t("#duration_display"),Dn=t("#scrubbar_scrubber"),On=t("#videoSidebar"),Fn=t("#tableOfContentsList"),zn=t("#searchBox"),Nn=t("#clearSearchButton"),Hn=t("#caption"),Wn=t("#caption > p"),Zn=t("#hotspots"),Xn=t("#markers"),mn=t("#videoWrapper"),vn=t("#videoDiv"),An=t("#videoClickToPlayLink"),Sn=t("#videoClickToReplayLink"),Hi&&An.addClass("noClickToPlayEvents"),t(un).css("background-color",u.getBackgroundColor()),u.getPosterImageSrc()&&I(u.getPosterImageSrc()),t(un).fadeIn(ni),Sn.fadeIn(ni),Sn.hide(),(i.isIPad()||i.isAndroid())&&(Yn.hide(),xn.hide(),Yn.remove()),Ri&&Pn.removeClass(Gi),f.hasCaptionItems()&&("under"===f.getCaptionPosition()?u.setAutoHideControls(!1):Mn.removeClass(Gi)),l.isPlaylist()?(wn.removeClass(Gi),In.removeClass(Gi)):(wn.addClass(Gi),In.addClass(Gi)),B(),t(e).resize(function(){yi=!0,B()}),zn.focus(function(){Mi=!0,zn.val()==Ji.getString("search")&&zn.val(""),i.isTouchInterface()||(E(),e.clearTimeout(fi))}),zn.blur(function(){Mi=!1,""===zn.val().replace(/ /g,"")&&zn.val(Ji.getString("search")),i.isTouchInterface()||(y(),u.getAutoHideControls()&&_t())})}function en(){zn.val(Ji.getString("search"));var e=i.isIPad()&&!i.isNuevoApp();if((e||i.isAndroid()||C()&&s.quizEnabled())&&!u.getMobileWebViewCanAutoPlay()&&u.setAutoPlayMedia(!1),u.getAutoPlayMedia()===!0&&void 0===u.getJumpToTime()?setTimeout(jt,80):C()&&s.quizEnabled()?An.bind("click",Jt):An.bind("click",jt),C()&&s.quizEnabled()){s.setViewContainer(un);var t;t=u.getFathomId()?p:m,s.setQuestionGrader(t),s.setQuestionData(h),s.setViewControlBarOffset(bn.height()),s.addEventListener("COMPLETE",Xt),s.addEventListener("REVIEW",Xt),s.addEventListener("BEGIN",Xt),s.addEventListener("SKIP",Xt),s.addEventListener("ERROR",Xt),s.addEventListener("STATUS",Xt),s.addEventListener("SUBMITTED",Xt),void 0!==u.getJumpToTime()&&setTimeout(Jt,80)}else void 0!==u.getJumpToTime()&&setTimeout(jt,80);(u.getTrackEvents()||u.getReportScormComplete()||C()&&s.quizEnabled())&&(d.setEnabled(!0),f.xmpAvailable()&&d.initPercentWatched(f.getMediaDuration())),ei=!0,u.getDebugUIMode()&&fn&&fn.call(this)}function tn(e){var n={};n.src=u.getUnicodeSafeString(u.getMediaSrc());var i=location.href.lastIndexOf("/"),r=location.href.substr(0,i+1);u.getXMPSrc()&&(n.xmp=u.getXMPSrc(),u.isIEOnServerWithUnicode()&&(n.xmp=u.getUnicodeSafeString(r)+n.xmp)),u.getAutoPlayMedia()&&(n.autoPlayJS=u.getAutoPlayMedia()),-1!==u.getAllowRewind()&&(n.allowRewind=u.getAllowRewind()),u.getConfigurationSrc()&&(n.configuration=u.getConfigurationSrc()),n.debugHotspots=u.getDebugHotspot(),u.getPosterImageSrc()&&(n.poster=u.getPosterImageSrc(),u.isIEOnServerWithUnicode()&&(n.poster=u.getUnicodeSafeString(r)+n.poster)),n.authoredLanguage=Ji.getLanguage(),u.getFathomId()&&(n.fathomId=u.getFathomId(),n.fathomEnvironmentId=g.getEnvironment()),n.isUserIdentified=u.getIsUserIdentified(),u.getGoogleAnalyticsID()&&""!=u.getGoogleAnalyticsID()&&(n.analytics=u.getGoogleAnalyticsID(),u.getGAEventTracking()||(n.trackEvents=!1),u.getGAPageViewTracking()||(n.trackPageViews=!1)),u.getCustomEventTracking()&&(n.customEventTracking=!0,n.customEventJSCallback=u.getCustomEventCallback().name),n.altEventCategoryAsFilename=u.getAltEventCategoryAsFilename(),n.altLoadTimeAsSeconds=u.getAltLoadTimeAsSeconds(),n.debugUI=u.getDebugUIMode(),n.advancedSeeking=u.getAdvancedSeeking(),n.enforceLinearAssessments=u.getEnforceLinearAssessment(),n.scormComplete=u.getReportScormComplete(),n.hostingPage=u.getUnicodeSafeString(document.location),n.initialSeekTime=u.getScormStartPt();var a=u.getMinFlashPlayerVersion(),o={};o.quality="high",o.bgcolor="#000000",o.allowscriptaccess="always",o.allowfullscreen="true",o.wmode="direct",o.allowNetworking="all","."!==u.getSwfBase()&&(o.base=u.getSwfBase());var s={};s.id="tscplayer",s.name="tscplayer",s.align="middle";var c=u.getUnicodeSafeString(u.getFlashPlayerSwf());if(u.isIEOnServerWithUnicode()){var i=location.href.lastIndexOf("/"),r=location.href.substr(0,i+1);c=u.getUnicodeSafeString(r)+c}swfobject.embedSWF(c,e.replace(/#/,""),u.getPlayerWidth(),u.getPlayerHeight(),a,u.getFlashUpdateBootstrapSwf(),n,o,s),swfobject.createCSS(e,"display:block;text-align:left;"),t(e).show()}function nn(){Zn.removeClass(Gi),Zn.find("map").empty(),t.each(f.getHotspotItemArray(),function(e,n){var i;if(l.isPlaylist()&&(i=l.currentVideoSrc()),void 0===n.file||n.file===i){n.viewpoints=[];for(var e=0;n.points.length>e;e+=2){var r={xorig:Math.round(n.points[e]),yorig:Math.round(n.points[e+1]),xscale:Math.round(n.points[e])/ii,yscale:Math.round(n.points[e+1])/ri};n.viewpoints.push(r)}n.pointsToCoords=function(){for(var e=[],t=0;this.viewpoints.length>t;t++)e.push(this.viewpoints[t].xorig>=0?Math.round(this.viewpoints[t].xscale*Zn.width()):0),e.push(this.viewpoints[t].yorig>=0?Math.round(this.viewpoints[t].yscale*Zn.height()):0);return e.join(",")},n.jqel=t("<area></area>",{shape:"poly",coords:n.pointsToCoords(),hotspot_index:n.index,alt:"Hotspot",href:"#"})}})}function rn(e,n,i){n="<span>"+n+"</span>",i&&(n+="<h4>"+Ji.getString("clickToClose")+"</h4>"),ei?(t("#alertDialog").html(n),t("#alertDialog").fadeIn(ni)):(t(e).css("background-color",u.getBackgroundColor()),t(e).css("height","100%"),t(e).html('<div id="alertDialog">'+n+"</div>"),t(e).fadeIn(ni),t("#alertDialog").show()),i&&t("#alertDialog").bind("click",function(){t("#alertDialog").hide(),t("#alertDialog").unbind("click")})}function an(){var e="#000";u.getPosterImageSrc()&&(e+=" url("+u.getPosterImageSrc()+") center no-repeat"),t(".appplayer").css({background:e,position:"relative","background-size":"cover",height:"100%","z-index":"1"})}function on(e){var n,r=t(e);if(TSC.mediaPlayer.isNuevoAppCapableAndAvailable()&&(f.hasAdvancedFeatures()||u.getFathomId())){n=u.getUseSlimAppSplashScreen()?o.ios_app_slim_splash_template({openWithSmartPlayer:Ji.getString("openWithSmartPlayer")}):o.ios_app_splash_template({playWithSmartPlayer:Ji.getString("playWithSmartPlayer"),playVideoOnly:Ji.getString("playVideoOnly")}),r.after(n),an();var a=t(".appplayer");a.show(),r.hide(),u.getUseSlimAppSplashScreen()?t(".openVideoSmartPlayerContainer").click(function(){TSC.mediaPlayer.redirectToiPhoneApp()}):(t(".externalLargePlayBtn").click(function(){a.hide(),r.show(),TSC.mediaPlayer.redirectToiPhoneApp()}),t(".appNativePlayBtn").click(function(){a.hide(),r.show(),gn=t("video"),hn.play()}),t(".appstoreBtn").click(function(){TSC.mediaPlayer.redirectToiPhoneAppDownload()}))}else if(i.isIPhoneOrIPod()){n=o.ios_app_default_template(),r.after(n);var s=t(".externalDefaultPlaybackContainer");u.getPosterImageSrc()&&(w(s,u.getPosterImageSrc()),s.addClass("fullSizePosterImgContainer")),s.show(),r.hide(),s.click(function(e){e.preventDefault(),r.show(),gn=t("video"),hn.play(),setTimeout(function(){r.hide()},1e3)})}}function sn(e){if(isNaN(e)){var t=0,n=0,i=0,r=e.toLowerCase(),a=RegExp("(\\d+[h])","g"),o=RegExp("(\\d+[m])","g"),s=RegExp("(\\d+[s])","g"),u=RegExp("\\d+","g"),c=r.match(a),l=r.match(o),d=r.match(s),f=r.match(u);return d||l||c?(c&&(t=60*60*Number(c[0].split("h").join(""))),l&&(n=60*Number(l[0].split("m").join(""))),d&&(i=Number(d[0].split("s").join(""))),Number(t+n+i)):f?i=Number(f[0]):0}return 0>e&&(e=0),e}var un,cn,ln,dn,fn,pn,gn,hn,mn,vn,An,Sn,bn,Cn,Tn,yn,En,wn,In,Nn,xn,Rn,Pn,Mn,Ln,kn,Bn,Vn,_n,Qn,qn,Dn,On,Fn,Gn,Un,zn,Hn,Wn,Yn,Jn,Kn,jn,Zn,Xn,$n,ei=!1,ti="#tscplayer",ni=300,ii=-1,ri=-1,ai=0,oi=0,si=-1,ui=1,ci=-1,li=250,di=1,fi=-1,pi=5e3,gi=-1,hi=-1,mi=0,vi=0,Ai=0,Si=10,bi=!1,Ci=!1,Ti=!1,yi=!1,Ei=!1,wi=!1,Ii=!1,Ni=!1,xi=!1,Ri=!1,Pi=!1,Mi=!1,Li=!1,ki=!1,Bi=!1,Vi=!1,_i=!1,Qi=!1,qi=!1,Di=!1,Oi=!0,Fi="click",Gi="hide",Ui="HTML5-Video",zi=!1,Hi=!1,Wi=32,Yi=r,Ji=a,Ki=o.html5_player_template({msgSearch:Ji.getString("search"),msgSearchIsDisabledInFS:Ji.getString("searchDisabledFullScreen"),accessBtnClearSearch:Ji.getString("accessBtnClearSearch"),accessBtnRewind:Ji.getString("accessBtnRewind"),accessBtnPlay:Ji.getString("accessBtnPlay"),accessBtnPrevious:Ji.getString("accessBtnPrevious"),accessBtnNext:Ji.getString("accessBtnNext"),accessBtnVolume:Ji.getString("accessBtnVolume"),accessBtnClosedCaption:Ji.getString("accessBtnClosedCaption"),accessBtnTableOfContents:Ji.getString("accessBtnTableOfContents"),accessBtnSettings:Ji.getString("accessBtnSettings"),accessBtnFullScreen:Ji.getString("accessBtnFullScreen")});return{initHtml5View:function(e,t){$t(e,t),en()},initSimpleHtml5View:function(n){if(l.isPlaylist()){for(var r=t(e).innerWidth()-20,a=l.getMediaList(),o=a.length,s="<ol>",u="style='width: "+r+"px; height: 75px;'",c=0;o>c;c++)s+="<li "+u+" >"+Ut([a[c]],!0,!0)+"</li>";s+="</ol>",t(n).html(s),t(n).css("background-color","#ffffff"),t("body").css("overflow","auto"),t(n).css("overflow","auto"),t(n+" ol").css("list-style","none"),t(n+" ol").css("margin","10px"),t(n+" ol").css("padding","0")}else t(n).html(Ut(l.currentVideoSrc(),!i.isIPhoneOrIPod(),!0));on(n)},initYouTubeView:function(e,n,i){zi=!0,$t(e,n);var r=t(e);S.init(i,"videoDiv",en,Yt,Kt,r.attr("width"),r.attr("height"))},initFlashView:function(e){tn(e)},getFlashId:function(){return ti},jsSeekTime:function(e){if(ei)if(gn)hn.duration&&hn.duration>e&&(Di?wt(e):(!C()||C()&&!s.viewOpen())&&st(e,!0));else{var n={};n.t=e,u.setURLParams(n),C()&&s.quizEnabled()?s.viewOpen()||setTimeout(Jt,80):setTimeout(jt,80)}else{var i=t(ti);i[0].jsSeekTime(e)}},jsPlay:function(){if(ei)gn?Di?wt(0):hn.play():C()&&s.quizEnabled()?s.viewOpen()||setTimeout(Jt,80):setTimeout(jt,80);else{var e=t(ti);e[0].jsPlay()}},jsDebugUI:function(){var e=t(ti);!ei&&e&&e[0].jsDebugUI(!0)},displayMessagePanel:function(e,t,n){void 0===n&&(n=!0),rn(e,t,n)},addEventListener:function(e,t){"VIDEO_START"===e?ln=t:"CAPTION_CHANGE"===e?dn=t:"READY"===e?fn=t:"VIDEO_PLAY"===e&&(pn=t)},removeEventListener:function(e){"VIDEO_START"===e?ln=void 0:"CAPTION_CHANGE"===e?dn=void 0:"READY"===e?fn=void 0:"VIDEO_PLAY"===e&&(pn=void 0)}}}()}(this,jQuery,TSC.externalMessageController,TSC.deviceInfo,TSC.ioOverlayView,TSC.localizationStrings,TSC.templates,TSC.quizController,TSC.playerConfiguration,TSC.playerSettingsView,TSC.mediaList,TSC.videoAnalytics,TSC.xmp,TSC.fathomGrader,TSC.fathomService,TSC.quizModel,TSC.xmpGrader,TSC.quizMarker,TSC.iFrameBridge,TSC.youTube,TSC.searchTool);var _gaq=_gaq||[];(function(e,t,n,i,r,a,o,s,u,c,l,d,f,p,g,h,m){e.TSC=e.TSC||{},e.TSC.mediaPlayer=function(){"use strict";function v(){c.getMediaType()!==u.WEBM&&n.hasFlashPlayerVersion(s.getMinFlashPlayerVersion())&&"flash"===s.getTechPreference()?m.initFlashView(V):m.displayMessagePanel(V,c.getErrorMessage())}function A(){r.isLocal()?m.displayMessagePanel(V,g.getLocalErrorMessage()):m.displayMessagePanel(V,g.get404ErrorMessage())}function S(){_gaq.push(["_setAccount",s.getGoogleAnalyticsID()]),s.getGAPageViewTracking()&&_gaq.push(["_trackPageview",s.getMediaFileName()]),function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}function b(){if(r.isNuevoApp()){var e=document.querySelector("meta[name=viewport]");e&&e.setAttribute("content","width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;")}}function C(){r.lookAtDevice(),b(),a.strip(),L()||T()}function T(){c.addEventListener("READY",w),c.addEventListener("ERROR",v),c.init(s.getMediaSources())}function y(){if(r.isNuevoApp()&&g.xmpAvailable()){var e=document.location,t=g.getTocTitle(),n=g.getMediaDuration();document.location="nuevo://info?url="+e+"?title="+t+"?duration="+n}}function E(){F||(m.removeEventListener("VIDEO_START"),t(document).trigger("techsmith.cloud.videofirstclickplay"),F=!0)}function w(){c.removeEventListener("READY",w),c.removeEventListener("ERROR",v);var e=d.getPlayerType();switch(e){case l.YOUTUBE:case l.HTML5:I();break;case l.FLASH:m.initFlashView(V);break;case l.NOT_SUPPORTED:c.getMediaType()===u.WEBM?m.displayMessagePanel(V,i.getString("noWebMSupport")):m.displayMessagePanel(V,i.getString("videoNotSupportedUseFlash"))}}function I(){s.getGoogleAnalyticsID()&&S(),x()}function N(e){s.getFathomId()?(h.addEventListener("GET_COMPLETE",function(){P(),"function"==typeof e&&e()}),h.addEventListener("ERROR",function(){P(),A()}),h.getFathom(s.getFathomId())):P()}function x(){s.getXMPSrc()?(g.addEventListener("READY",N),g.addEventListener("ERROR",function(){"string"==typeof TSC.embedded_config_xml?g.parseXMP(TSC.embedded_config_xml):(N(),A())}),g.loadXMP(s.getXMPSrc())):N()}function R(t){e.top!==e&&o.postMessage("CAPTION-CHANGED","*",t)}function P(){var t=!1,n=!1;g.xmpAvailable()&&(g.removeEventListener("READY",P),g.removeEventListener("ERROR",A)),r.isIPhoneOrIPod()&&!r.isNuevoApp()?m.initSimpleHtml5View(V):(g.xmpAvailable()&&((g.hasTocItems()||(g.hasCaptionItems()||g.hasScreenTextItems()||g.hasSpeechTextItems())&&s.getIsSearchable())&&(t=!0),g.hasCaptionItems()&&e.top!==e&&o.postMessage("HAS-CAPTIONS","*"),y()),p&&p.getQuizID()&&(r.isLocal()&&p.getReportMethod()!==f.NONE?(n=!0,p.setReportMethod(f.NONE)):p.getUseScorm()&&0===p.getTotalNumberOfGradedQuestionSets()&&s.setReportScormComplete(!0)),m.addEventListener("VIDEO_START",E),m.addEventListener("CAPTION_CHANGE",R),d.getPlayerType()===TSC.playerType.YOUTUBE?m.initYouTubeView(V,t,c.currentVideoSrc()):m.initHtml5View(V,t),n&&m.displayMessagePanel(V,i.getString("xmpSecurity")))}function M(e){var t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("src",e),t.async=!0,t.onload=function(){T()},t.onerror=function(){T()},t!==void 0&&document.getElementsByTagName("head")[0].appendChild(t)}function L(){return B()?(M(Q+q),!0):!1}function k(){return"true"===D}function B(){return r.isIPhoneOrIPod()&&r.isRetinaDisplay()&&!r.isNuevoApp()?!0:!1}var V,_="3.16.3",Q="http://www.techsmith.com/redirect.asp?",q="target=nuevoappdata&product=camtasia&lang=enu&ver=1.0.0&os=mac",D="false",O="",F=!1;return{init:function(e){V=e,C()},getVersion:function(){return _},keyValueDataCallback:function(e){D=e.isAppReady,O=e.appDownloadURL},isNuevoAppCapableAndAvailable:function(){return B()&&k()},redirectToiPhoneAppDownload:function(){B()&&e.open(O,"_parent")},jsSeekTime:function(e){m.jsSeekTime(e)},jsPlay:function(){m.jsPlay()},jsDebugUI:function(e){s.setDebugUIMode(e),m.jsDebugUI(e)},redirectToiPhoneApp:function(){if(B()&&k()){var t=document.location+"",n=s.getPosterImageSrc(),i=(new Date).getTime();setTimeout(function(){var t=(new Date).getTime();1e3>t-i&&e.open(O,"_parent")},300);var r="nuevo://import?url=";r+=-1!==t.indexOf("?")?t+"&posterImage="+n:t+"?posterImage="+n,r+=s.getAdditionalAppQueryString(),e.open(r,"_parent")}},addEventListener:function(e,t){m.addEventListener(e,t)},removeEventListener:function(e){m.removeEventListener(e)}}}()})(this,jQuery,swfobject,TSC.localizationStrings,TSC.deviceInfo,TSC.queryParamsStripper,TSC.iFrameBridge,TSC.playerConfiguration,TSC.mediaType,TSC.mediaList,TSC.playerType,TSC.mediaPlayerController,TSC.reportType,TSC.quizModel,TSC.xmp,TSC.fathomService,TSC.playerView,TSC.youTube);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists