3 lines
146 KiB
JavaScript
3 lines
146 KiB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["h5p-standalone"]=t():e.H5PStandalone=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=20)}([function(e,t,n){e.exports=n(14)},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,c,"next",e)}function c(e){n(a,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){var r;
|
||
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
|
||
*/!function(i,o){var a,s,c=typeof o,l=i.document,u=i.location,d=i.jQuery,f=i.$,p={},h=[],g="1.9.1",m=h.concat,y=h.push,v=h.slice,b=h.indexOf,x=p.toString,w=p.hasOwnProperty,C=g.trim,T=function(e,t){return new T.fn.init(e,t,s)},k=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,E=/\S+/g,S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,P=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,A=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,j=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,L=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,H=/^-ms-/,I=/-([\da-z])/gi,O=function(e,t){return t.toUpperCase()},F=function(e){(l.addEventListener||"load"===e.type||"complete"===l.readyState)&&(M(),T.ready())},M=function(){l.addEventListener?(l.removeEventListener("DOMContentLoaded",F,!1),i.removeEventListener("load",F,!1)):(l.detachEvent("onreadystatechange",F),i.detachEvent("onload",F))};function B(e){var t=e.length,n=T.type(e);return!T.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}T.fn=T.prototype={jquery:g,constructor:T,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:l,!0)),P.test(r[1])&&T.isPlainObject(t))for(r in t)T.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=l.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=l,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?n.ready(e):(e.selector!==o&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return v.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return T.each(this,e,t)},ready:function(e){return T.ready.promise().done(e),this},slice:function(){return this.pushStack(v.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(T.map(this,(function(t,n){return e.call(t,n,t)})))},end:function(){return this.prevObject||this.constructor(null)},push:y,sort:[].sort,splice:[].splice},T.fn.init.prototype=T.fn,T.extend=T.fn.extend=function(){var e,t,n,r,i,a,s=arguments[0]||{},c=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},c=2),"object"==typeof s||T.isFunction(s)||(s={}),l===c&&(s=this,--c);l>c;c++)if(null!=(i=arguments[c]))for(r in i)e=s[r],s!==(n=i[r])&&(u&&n&&(T.isPlainObject(n)||(t=T.isArray(n)))?(t?(t=!1,a=e&&T.isArray(e)?e:[]):a=e&&T.isPlainObject(e)?e:{},s[r]=T.extend(u,a,n)):n!==o&&(s[r]=n));return s},T.extend({noConflict:function(e){return i.$===T&&(i.$=f),e&&i.jQuery===T&&(i.jQuery=d),T},isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){if(!0===e?!--T.readyWait:!T.isReady){if(!l.body)return setTimeout(T.ready);T.isReady=!0,!0!==e&&--T.readyWait>0||(a.resolveWith(l,[T]),T.fn.trigger&&T(l).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray||function(e){return"array"===T.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?p[x.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;try{if(e.constructor&&!w.call(e,"constructor")&&!w.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}var t;for(t in e);return t===o||w.call(e,t)},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||l;var r=P.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=T.buildFragment([e],t,i),i&&T(i).remove(),T.merge([],r.childNodes))},parseJSON:function(e){return i.JSON&&i.JSON.parse?i.JSON.parse(e):null===e?e:"string"==typeof e&&((e=T.trim(e))&&A.test(e.replace(j,"@").replace(L,"]").replace(D,"")))?Function("return "+e)():(T.error("Invalid JSON: "+e),o)},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{i.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=o}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&T.trim(e)&&(i.execScript||function(e){i.eval.call(i,e)})(e)},camelCase:function(e){return e.replace(H,"ms-").replace(I,O)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=B(e);if(n){if(o)for(;i>r&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;i>r&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:C&&!C.call("\ufeff ")?function(e){return null==e?"":C.call(e)}:function(e){return null==e?"":(e+"").replace(S,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(B(Object(e))?T.merge(n,"string"==typeof e?[e]:e):y.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(b)return b.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,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else for(;t[i]!==o;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;o>i;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(B(e))for(;o>i;i++)null!=(r=t(e[i],i,n))&&(a[a.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(a[a.length]=r);return m.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),T.isFunction(e)?(n=v.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(v.call(arguments)))}).guid=e.guid=e.guid||T.guid++,r):o},access:function(e,t,n,r,i,a,s){var c=0,l=e.length,u=null==n;if("object"===T.type(n))for(c in i=!0,n)T.access(e,t,c,n[c],!0,a,s);else if(r!==o&&(i=!0,T.isFunction(r)||(s=!0),u&&(s?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;l>c;c++)t(e[c],n,s?r:r.call(e[c],c,t(e[c],n)));return i?e:u?t.call(e):l?t(e[0],n):a},now:function(){return(new Date).getTime()}}),T.ready.promise=function(e){if(!a)if(a=T.Deferred(),"complete"===l.readyState)setTimeout(T.ready);else if(l.addEventListener)l.addEventListener("DOMContentLoaded",F,!1),i.addEventListener("load",F,!1);else{l.attachEvent("onreadystatechange",F),i.attachEvent("onload",F);var t=!1;try{t=null==i.frameElement&&l.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!T.isReady){try{t.doScroll("left")}catch(t){return setTimeout(e,50)}M(),T.ready()}}()}return a.promise(e)},T.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()})),s=T(l);var _={};T.Callbacks=function(e){e="string"==typeof e?_[e]||function(e){var t=_[e]={};return T.each(e.match(E)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,i,a,s,c=[],l=!e.once&&[],u=function(o){for(n=e.memory&&o,r=!0,a=s||0,s=0,i=c.length,t=!0;c&&i>a;a++)if(!1===c[a].apply(o[0],o[1])&&e.stopOnFalse){n=!1;break}t=!1,c&&(l?l.length&&u(l.shift()):n?c=[]:d.disable())},d={add:function(){if(c){var r=c.length;(function t(n){T.each(n,(function(n,r){var i=T.type(r);"function"===i?e.unique&&d.has(r)||c.push(r):r&&r.length&&"string"!==i&&t(r)}))})(arguments),t?i=c.length:n&&(s=r,u(n))}return this},remove:function(){return c&&T.each(arguments,(function(e,n){for(var r;(r=T.inArray(n,c,r))>-1;)c.splice(r,1),t&&(i>=r&&i--,a>=r&&a--)})),this},has:function(e){return e?T.inArray(e,c)>-1:!(!c||!c.length)},empty:function(){return c=[],this},disable:function(){return c=l=n=o,this},disabled:function(){return!c},lock:function(){return l=o,n||d.disable(),this},locked:function(){return!l},fireWith:function(e,n){return n=[e,(n=n||[]).slice?n.slice():n],!c||r&&!l||(t?l.push(n):u(n)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},T.extend({Deferred:function(e){var t=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,o){var a=o[0],s=T.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=s&&s.apply(this,arguments);e&&T.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?T.extend(e,r):r}},i={};return r.pipe=r.then,T.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,n,r,i=0,o=v.call(arguments),a=o.length,s=1!==a||e&&T.isFunction(e.promise)?a:0,c=1===s?e:T.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?v.call(arguments):i,r===t?c.notifyWith(n,r):--s||c.resolveWith(n,r)}};if(a>1)for(t=Array(a),n=Array(a),r=Array(a);a>i;i++)o[i]&&T.isFunction(o[i].promise)?o[i].promise().done(l(i,r,o)).fail(c.reject).progress(l(i,n,t)):--s;return s||c.resolveWith(r,o),c.promise()}}),T.support=function(){var e,t,n,r,o,a,s,u,d,f,p=l.createElement("div");if(p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=p.getElementsByTagName("*"),n=p.getElementsByTagName("a")[0],!t||!n||!t.length)return{};s=(o=l.createElement("select")).appendChild(l.createElement("option")),r=p.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==p.className,leadingWhitespace:3===p.firstChild.nodeType,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!r.value,optSelected:s.selected,enctype:!!l.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==l.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===l.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,e.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,e.optDisabled=!s.disabled;try{delete p.test}catch(t){e.deleteExpando=!1}for(f in(r=l.createElement("input")).setAttribute("value",""),e.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),e.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),(a=l.createDocumentFragment()).appendChild(r),e.appendChecked=r.checked,e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,p.attachEvent&&(p.attachEvent("onclick",(function(){e.noCloneEvent=!1})),p.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})p.setAttribute(u="on"+f,"t"),e[f+"Bubbles"]=u in i||!1===p.attributes[u].expando;return p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===p.style.backgroundClip,T((function(){var t,n,r,o="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=l.getElementsByTagName("body")[0];a&&((t=l.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(t).appendChild(p),p.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(r=p.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",d=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",e.reliableHiddenOffsets=d&&0===r[0].offsetHeight,p.innerHTML="",p.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%;",e.boxSizing=4===p.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==a.offsetTop,i.getComputedStyle&&(e.pixelPosition="1%"!==(i.getComputedStyle(p,null)||{}).top,e.boxSizingReliable="4px"===(i.getComputedStyle(p,null)||{width:"4px"}).width,(n=p.appendChild(l.createElement("div"))).style.cssText=p.style.cssText=o,n.style.marginRight=n.style.width="0",p.style.width="1px",e.reliableMarginRight=!parseFloat((i.getComputedStyle(n,null)||{}).marginRight)),typeof p.style.zoom!==c&&(p.innerHTML="",p.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===p.offsetWidth,p.style.display="block",p.innerHTML="<div></div>",p.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==p.offsetWidth,e.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(t),t=p=r=n=null)})),t=o=a=s=n=r=null,e}();var q=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,R=/([A-Z])/g;function z(e,t,n,r){if(T.acceptData(e)){var i,a,s=T.expando,c="string"==typeof t,l=e.nodeType,u=l?T.cache:e,d=l?e[s]:e[s]&&s;if(d&&u[d]&&(r||u[d].data)||!c||n!==o)return d||(l?e[s]=d=h.pop()||T.guid++:d=s),u[d]||(u[d]={},l||(u[d].toJSON=T.noop)),("object"==typeof t||"function"==typeof t)&&(r?u[d]=T.extend(u[d],t):u[d].data=T.extend(u[d].data,t)),i=u[d],r||(i.data||(i.data={}),i=i.data),n!==o&&(i[T.camelCase(t)]=n),c?null==(a=i[t])&&(a=i[T.camelCase(t)]):a=i,a}}function V(e,t,n){if(T.acceptData(e)){var r,i,o,a=e.nodeType,s=a?T.cache:e,c=a?e[T.expando]:T.expando;if(s[c]){if(t&&(o=n?s[c]:s[c].data)){T.isArray(t)?t=t.concat(T.map(t,T.camelCase)):t in o?t=[t]:t=(t=T.camelCase(t))in o?[t]:t.split(" ");for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?X:T.isEmptyObject)(o))return}(n||(delete s[c].data,X(s[c])))&&(a?T.cleanData([e],!0):T.support.deleteExpando||s!=s.window?delete s[c]:s[c]=null)}}}function $(e,t,n){if(n===o&&1===e.nodeType){var r="data-"+t.replace(R,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:q.test(n)?T.parseJSON(n):n)}catch(e){}T.data(e,t,n)}else n=o}return n}function X(e){var t;for(t in e)if(("data"!==t||!T.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}T.extend({cache:{},expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?T.cache[e[T.expando]]:e[T.expando])&&!X(e)},data:function(e,t,n){return z(e,t,n)},removeData:function(e,t){return V(e,t)},_data:function(e,t,n){return z(e,t,n,!0)},_removeData:function(e,t){return V(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&T.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),T.fn.extend({data:function(e,t){var n,r,i=this[0],a=0,s=null;if(e===o){if(this.length&&(s=T.data(i),1===i.nodeType&&!T._data(i,"parsedAttrs"))){for(n=i.attributes;n.length>a;a++)(r=n[a].name).indexOf("data-")||(r=T.camelCase(r.slice(5)),$(i,r,s[r]));T._data(i,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each((function(){T.data(this,e)})):T.access(this,(function(t){return t===o?i?$(i,e,T.data(i,e)):null:(this.each((function(){T.data(this,e,t)})),o)}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){T.removeData(this,e)}))}}),T.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=T._data(e,t),n&&(!r||T.isArray(n)?r=T._data(e,t,T.makeArray(n)):r.push(n)),r||[]):o},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){T.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return T._data(e,n)||T._data(e,n,{empty:T.Callbacks("once memory").add((function(){T._removeData(e,t+"queue"),T._removeData(e,n)}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?T.queue(this[0],e):t===o?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},delay:function(e,t){return e=T.fx&&T.fx.speeds[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,t){var n,r=1,i=T.Deferred(),a=this,s=this.length,c=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=o),e=e||"fx";s--;)(n=T._data(a[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(c));return c(),i.promise(t)}});var U,W,Q=/[\t\r\n]/g,Y=/\r/g,J=/^(?:input|select|textarea|button|object)$/i,G=/^(?:a|area)$/i,K=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Z=/^(?:checked|selected)$/i,ee=T.support.getSetAttribute,te=T.support.input;T.fn.extend({attr:function(e,t){return T.access(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))},prop:function(e,t){return T.access(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return e=T.propFix[e]||e,this.each((function(){try{this[e]=o,delete this[e]}catch(e){}}))},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,c="string"==typeof e&&e;if(T.isFunction(e))return this.each((function(t){T(this).addClass(e.call(this,t,this.className))}));if(c)for(t=(e||"").match(E)||[];s>a;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(Q," "):" ")){for(o=0;i=t[o++];)0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=T.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,c=0===arguments.length||"string"==typeof e&&e;if(T.isFunction(e))return this.each((function(t){T(this).removeClass(e.call(this,t,this.className))}));if(c)for(t=(e||"").match(E)||[];s>a;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(Q," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");n.className=e?T.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return T.isFunction(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,this.className,t),t)})):this.each((function(){if("string"===n)for(var i,o=0,a=T(this),s=t,l=e.match(E)||[];i=l[o++];)s=r?s:!a.hasClass(i),a[s?"addClass":"removeClass"](i);else(n===c||"boolean"===n)&&(this.className&&T._data(this,"__className__",this.className),this.className=this.className||!1===e?"":T._data(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];return arguments.length?(r=T.isFunction(e),this.each((function(t){var i,a=T(this);1===this.nodeType&&(null==(i=r?e.call(this,t,a.val()):e)?i="":"number"==typeof i?i+="":T.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,i,"value")!==o||(this.value=i))}))):i?(n=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(i,"value"))!==o?t:"string"==typeof(t=i.value)?t.replace(Y,""):null==t?"":t:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){for(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,c=0>i?s:o?i:0;s>c;c++)if(!(!(n=r[c]).selected&&c!==i||(T.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&T.nodeName(n.parentNode,"optgroup"))){if(t=T(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=T.makeArray(t);return T(e).find("option").each((function(){this.selected=T.inArray(T(this).val(),n)>=0})),n.length||(e.selectedIndex=-1),n}}},attr:function(e,t,n){var r,i,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===c?T.prop(e,t,n):((i=1!==s||!T.isXMLDoc(e))&&(t=t.toLowerCase(),r=T.attrHooks[t]||(K.test(t)?W:U)),n===o?r&&i&&"get"in r&&null!==(a=r.get(e,t))?a:(typeof e.getAttribute!==c&&(a=e.getAttribute(t)),null==a?o:a):null!==n?r&&i&&"set"in r&&(a=r.set(e,n,t))!==o?a:(e.setAttribute(t,n+""),n):(T.removeAttr(e,t),o))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(E);if(o&&1===e.nodeType)for(;n=o[i++];)r=T.propFix[n]||n,K.test(n)?!ee&&Z.test(n)?e[T.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:T.attr(e,n,""),e.removeAttribute(ee?n:r)},attrHooks:{type:{set:function(e,t){if(!T.support.radioValue&&"radio"===t&&T.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!T.isXMLDoc(e))&&(t=T.propFix[t]||t,i=T.propHooks[t]),n!==o?i&&"set"in i&&(r=i.set(e,n,t))!==o?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):J.test(e.nodeName)||G.test(e.nodeName)&&e.href?0:o}}}}),W={get:function(e,t){var n=T.prop(e,t),r="boolean"==typeof n&&e.getAttribute(t),i="boolean"==typeof n?te&&ee?null!=r:Z.test(t)?e[T.camelCase("default-"+t)]:!!r:e.getAttributeNode(t);return i&&!1!==i.value?t.toLowerCase():o},set:function(e,t,n){return!1===t?T.removeAttr(e,n):te&&ee||!Z.test(n)?e.setAttribute(!ee&&T.propFix[n]||n,n):e[T.camelCase("default-"+n)]=e[n]=!0,n}},te&&ee||(T.attrHooks.value={get:function(e,t){var n=e.getAttributeNode(t);return T.nodeName(e,"input")?e.defaultValue:n&&n.specified?n.value:o},set:function(e,t,n){return T.nodeName(e,"input")?(e.defaultValue=t,o):U&&U.set(e,t,n)}}),ee||(U=T.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&("id"===t||"name"===t||"coords"===t?""!==n.value:n.specified)?n.value:o},set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:o}},T.attrHooks.contenteditable={get:U.get,set:function(e,t,n){U.set(e,""!==t&&t,n)}},T.each(["width","height"],(function(e,t){T.attrHooks[t]=T.extend(T.attrHooks[t],{set:function(e,n){return""===n?(e.setAttribute(t,"auto"),n):o}})}))),T.support.hrefNormalized||(T.each(["href","src","width","height"],(function(e,t){T.attrHooks[t]=T.extend(T.attrHooks[t],{get:function(e){var n=e.getAttribute(t,2);return null==n?o:n}})})),T.each(["href","src"],(function(e,t){T.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}))),T.support.style||(T.attrHooks.style={get:function(e){return e.style.cssText||o},set:function(e,t){return e.style.cssText=t+""}}),T.support.optSelected||(T.propHooks.selected=T.extend(T.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),T.support.enctype||(T.propFix.enctype="encoding"),T.support.checkOn||T.each(["radio","checkbox"],(function(){T.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}})),T.each(["radio","checkbox"],(function(){T.valHooks[this]=T.extend(T.valHooks[this],{set:function(e,t){return T.isArray(t)?e.checked=T.inArray(T(e).val(),t)>=0:o}})}));var ne=/^(?:input|select|textarea)$/i,re=/^key/,ie=/^(?:mouse|contextmenu)|click/,oe=/^(?:focusinfocus|focusoutblur)$/,ae=/^([^.]*)(?:\.(.+)|)$/;function se(){return!0}function ce(){return!1}T.event={global:{},add:function(e,t,n,r,i){var a,s,l,u,d,f,p,h,g,m,y,v=T._data(e);if(v){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=T.guid++),(s=v.events)||(s=v.events={}),(f=v.handle)||((f=v.handle=function(e){return typeof T===c||e&&T.event.triggered===e.type?o:T.event.dispatch.apply(f.elem,arguments)}).elem=e),l=(t=(t||"").match(E)||[""]).length;l--;)g=y=(a=ae.exec(t[l])||[])[1],m=(a[2]||"").split(".").sort(),d=T.event.special[g]||{},g=(i?d.delegateType:d.bindType)||g,d=T.event.special[g]||{},p=T.extend({type:g,origType:y,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:m.join(".")},u),(h=s[g])||((h=s[g]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,m,f)||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),d.add&&(d.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,p):h.push(p),T.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,c,l,u,d,f,p,h,g,m=T.hasData(e)&&T._data(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(E)||[""]).length;l--;)if(p=g=(s=ae.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=o=f.length;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--,d.remove&&d.remove.call(e,a));c&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||T.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)T.event.remove(e,p+t[l],n,r,!0);T.isEmptyObject(u)&&(delete m.handle,T._removeData(e,"events"))}},trigger:function(e,t,n,r){var a,s,c,u,d,f,p,h=[n||l],g=w.call(e,"type")?e.type:e,m=w.call(e,"namespace")?e.namespace.split("."):[];if(c=f=n=n||l,3!==n.nodeType&&8!==n.nodeType&&!oe.test(g+T.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),s=0>g.indexOf(":")&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=!0,e.namespace=m.join("."),e.namespace_re=e.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=o,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[g]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!T.isWindow(n)){for(u=d.delegateType||g,oe.test(u+g)||(c=c.parentNode);c;c=c.parentNode)h.push(c),f=c;f===(n.ownerDocument||l)&&h.push(f.defaultView||f.parentWindow||i)}for(p=0;(c=h[p++])&&!e.isPropagationStopped();)e.type=p>1?u:d.bindType||g,(a=(T._data(c,"events")||{})[e.type]&&T._data(c,"handle"))&&a.apply(c,t),(a=s&&c[s])&&T.acceptData(c)&&a.apply&&!1===a.apply(c,t)&&e.preventDefault();if(e.type=g,!(r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(n.ownerDocument,t)||"click"===g&&T.nodeName(n,"a"))&&T.acceptData(n)&&s&&n[g]&&!T.isWindow(n)){(f=n[s])&&(n[s]=null),T.event.triggered=g;try{n[g]()}catch(e){}T.event.triggered=o,f&&(n[s]=f)}return e.result}},dispatch:function(e){e=T.event.fix(e);var t,n,r,i,a,s=[],c=v.call(arguments),l=(T._data(this,"events")||{})[e.type]||[],u=T.event.special[e.type]||{};if(c[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=T.event.handlers.call(this,e,l),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,a=0;(r=i.handlers[a++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,(n=((T.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,c))!==o&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],a=0;c>a;a++)i[n=(r=t[a]).selector+" "]===o&&(i[n]=r.needsContext?T(n,this).index(l)>=0:T.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return t.length>c&&s.push({elem:this,handlers:t.slice(c)}),s},fix:function(e){if(e[T.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=ie.test(i)?this.mouseHooks:re.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new T.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||l),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.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,t){var n,r,i,a=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||l).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||a===o||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return T.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):o}},focus:{trigger:function(){if(this!==l.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===l.activeElement&&this.blur?(this.blur(),!1):o},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==o&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=T.extend(new T.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?T.event.trigger(i,null,t):T.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},T.removeEvent=l.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]===c&&(e[r]=null),e.detachEvent(r,n))},T.Event=function(e,t){return this instanceof T.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?se:ce):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),this[T.expando]=!0,o):new T.Event(e,t)},T.Event.prototype={isDefaultPrevented:ce,isPropagationStopped:ce,isImmediatePropagationStopped:ce,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=se,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=se,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=se,this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!T.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),T.support.submitBubbles||(T.event.special.submit={setup:function(){return!T.nodeName(this,"form")&&(T.event.add(this,"click._submit keypress._submit",(function(e){var t=e.target,n=T.nodeName(t,"input")||T.nodeName(t,"button")?t.form:o;n&&!T._data(n,"submitBubbles")&&(T.event.add(n,"submit._submit",(function(e){e._submit_bubble=!0})),T._data(n,"submitBubbles",!0))})),o)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&T.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!T.nodeName(this,"form")&&(T.event.remove(this,"._submit"),o)}}),T.support.changeBubbles||(T.event.special.change={setup:function(){return ne.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(T.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)})),T.event.add(this,"click._change",(function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),T.event.simulate("change",this,e,!0)}))),!1):(T.event.add(this,"beforeactivate._change",(function(e){var t=e.target;ne.test(t.nodeName)&&!T._data(t,"changeBubbles")&&(T.event.add(t,"change._change",(function(e){!this.parentNode||e.isSimulated||e.isTrigger||T.event.simulate("change",this.parentNode,e,!0)})),T._data(t,"changeBubbles",!0))})),o)},handle:function(e){var t=e.target;return this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type?e.handleObj.handler.apply(this,arguments):o},teardown:function(){return T.event.remove(this,"._change"),!ne.test(this.nodeName)}}),T.support.focusinBubbles||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=0,r=function(e){T.event.simulate(t,e.target,T.event.fix(e),!0)};T.event.special[t]={setup:function(){0==n++&&l.addEventListener(e,r,!0)},teardown:function(){0==--n&&l.removeEventListener(e,r,!0)}}})),T.fn.extend({on:function(e,t,n,r,i){var a,s;if("object"==typeof e){for(a in"string"!=typeof t&&(n=n||t,t=o),e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=o):null==r&&("string"==typeof t?(r=n,n=o):(r=n,n=t,t=o)),!1===r)r=ce;else if(!r)return this;return 1===i&&(s=r,(r=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),this.each((function(){T.event.add(this,e,r,n,t)}))},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(!1===t||"function"==typeof t)&&(n=t,t=o),!1===n&&(n=ce),this.each((function(){T.event.remove(this,e,n,t)}))},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)},trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];return n?T.event.trigger(e,t,n,!0):o}}),function(e,t){var n,r,i,o,a,s,c,l,u,d,f,p,h,g,m,y,v,b="sizzle"+-new Date,x=e.document,w={},C=0,k=0,E=ne(),S=ne(),N=ne(),P=typeof t,A=1<<31,D=[],j=D.pop,L=D.push,H=D.slice,I=D.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},O="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M=F.replace("w","w#"),B="\\["+O+"*("+F+")"+O+"*(?:([*^$|!~]?=)"+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+M+")|)|)"+O+"*\\]",_=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",q=RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),R=RegExp("^"+O+"*,"+O+"*"),z=RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),V=RegExp(_),$=RegExp("^"+M+"$"),X={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+_),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},U=/[\x20\t\r\n\f]*[+~]/,W=/^[^{]+\{\s*\[native code/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,G=/'|\\/g,K=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,Z=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,ee=function(e,t){var n="0x"+t-65536;return n!=n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{H.call(x.documentElement.childNodes,0)[0].nodeType}catch(e){H=function(e){for(var t,n=[];t=this[e++];)n.push(t);return n}}function te(e){return W.test(e+"")}function ne(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function re(e){return e[b]=!0,e}function ie(e){var t=d.createElement("div");try{return e(t)}catch(e){return!1}finally{t=null}}function oe(e,t,n,r){var i,o,a,s,c,l,f,g,m,v;if((t?t.ownerDocument||t:x)!==d&&u(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||d).nodeType)&&9!==s)return[];if(!p&&!r){if(i=Q.exec(e))if(a=i[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return L.apply(n,H.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&w.getByClassName&&t.getElementsByClassName)return L.apply(n,H.call(t.getElementsByClassName(a),0)),n}if(w.qsa&&!h.test(e)){if(f=!0,g=b,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(l=ue(e),(f=t.getAttribute("id"))?g=f.replace(G,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",c=l.length;c--;)l[c]=g+de(l[c]);m=U.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return L.apply(n,H.call(m.querySelectorAll(v),0)),n}catch(e){}finally{f||t.removeAttribute("id")}}}return ve(e.replace(q,"$1"),t,n,r)}function ae(e,t){var n=t&&e,r=n&&(~t.sourceIndex||A)-(~e.sourceIndex||A);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function se(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ce(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function le(e){return re((function(t){return t=+t,re((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}for(n in a=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},u=oe.setDocument=function(e){var n=e?e.ownerDocument||e:x;return n!==d&&9===n.nodeType&&n.documentElement?(d=n,f=n.documentElement,p=a(n),w.tagNameNoComments=ie((function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length})),w.attributes=ie((function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t})),w.getByClassName=ie((function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!e.getElementsByClassName||!e.getElementsByClassName("e").length)&&(e.lastChild.className="e",2===e.getElementsByClassName("e").length)})),w.getByName=ie((function(e){e.id=b+0,e.innerHTML="<a name='"+b+"'></a><div name='"+b+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(b).length===2+n.getElementsByName(b+0).length;return w.getIdNotName=!n.getElementById(b),f.removeChild(e),t})),i.attrHandle=ie((function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==P&&"#"===e.firstChild.getAttribute("href")}))?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},w.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==P&&!p){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==P&&!p){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==P&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=typeof e.getAttributeNode!==P&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=w.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==P?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=w.getByName&&function(e,n){return typeof n.getElementsByName!==P?n.getElementsByName(name):t},i.find.CLASS=w.getByClassName&&function(e,n){return typeof n.getElementsByClassName===P||p?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(w.qsa=te(n.querySelectorAll))&&(ie((function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")})),ie((function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+O+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")}))),(w.matchesSelector=te(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ie((function(e){w.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",_)})),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=te(f.contains)||f.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(c=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(x,e)?-1:t===n||y(x,t)?1:0:4&r?-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 c=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ae(e,t);for(r=e;r=r.parentNode;)s.unshift(r);for(r=t;r=r.parentNode;)l.unshift(r);for(;s[i]===l[i];)i++;return i?ae(s[i],l[i]):s[i]===x?-1:l[i]===x?1:0},c=!1,[0,0].sort(v),w.detectDuplicates=c,d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&u(e),t=t.replace(K,"='$1']"),!(!w.matchesSelector||p||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&u(e),y(e,t)},oe.attr=function(e,t){var n;return(e.ownerDocument||e)!==d&&u(e),p||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):p||w.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&!0===e[t]?t:n&&n.specified?n.value:null},oe.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,n=[],r=1,i=0;if(c=!w.detectDuplicates,e.sort(v),c){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},o=oe.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=oe.selectors={cacheLength:50,createPseudo:re,match:X,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[4]||e[5]||"").replace(Z,ee),"~="===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]||oe.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]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return X.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&V.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(Z,ee).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=E[e+" "];return t||(t=RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&E(e,(function(e){return t.test(e.className||typeof e.getAttribute!==P&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=oe.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+"-"))}},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,c){var l,u,d,f,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!c&&!s;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(p=(l=(u=m[b]||(m[b]={}))[e]||[])[0]===C&&l[1],f=l[0]===C&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(f=p=0)||h.pop();)if(1===d.nodeType&&++f&&d===t){u[e]=[C,p,f];break}}else if(v&&(l=(t[b]||(t[b]={}))[e])&&l[0]===C)f=l[1];else for(;(d=++p&&d&&d[g]||(f=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++f||(v&&((d[b]||(d[b]={}))[e]=[C,f]),d!==t)););return(f-=i)===r||0==f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?re((function(e,n){for(var i,o=r(e,t),a=o.length;a--;)e[i=I.call(e,o[a])]=!(n[i]=o[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:re((function(e){var t=[],n=[],r=s(e.replace(q,"$1"));return r[b]?re((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;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:re((function(e){return function(t){return oe(e,t).length>0}})),contains:re((function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}})),lang:re((function(e){return $.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=p?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Y.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:le((function(){return[0]})),last:le((function(e,t){return[t-1]})),eq:le((function(e,t,n){return[0>n?n+t:n]})),even:le((function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e})),odd:le((function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e})),lt:le((function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e})),gt:le((function(e,t,n){for(var r=0>n?n+t:n;t>++r;)e.push(r);return e}))}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=se(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ce(n);function ue(e,t){var n,r,o,a,s,c,l,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=i.preFilter;s;){for(a in(!n||(r=R.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),c.push(o=[])),n=!1,(r=z.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(q," ")}),s=s.slice(n.length)),i.filter)!(r=X[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):S(e,c).slice(0)}function de(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function fe(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=k++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var c,l,u,d=C+" "+a;if(s){for(;t=t[i];)if((1===t.nodeType||o)&&e(t,n,s))return!0}else for(;t=t[i];)if(1===t.nodeType||o)if((l=(u=t[b]||(t[b]={}))[i])&&l[0]===d){if(!0===(c=l[1])||c===r)return!0===c}else if((l=u[i]=[d])[1]=e(t,n,s)||r,!0===l[1])return!0}}function pe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,i){for(var o,a=[],s=0,c=e.length,l=null!=t;c>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function ge(e,t,n,r,i,o){return r&&!r[b]&&(r=ge(r)),i&&!i[b]&&(i=ge(i,o)),re((function(o,a,s,c){var l,u,d,f=[],p=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;i>r;r++)oe(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:he(g,f,e,s,c),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,c),r)for(l=he(y,p),r(l,[],s,c),u=l.length;u--;)(d=l[u])&&(y[p[u]]=!(m[p[u]]=d));if(o){if(i||e){if(i){for(l=[],u=y.length;u--;)(d=y[u])&&l.push(m[u]=d);i(null,y=[],l,c)}for(u=y.length;u--;)(d=y[u])&&(l=i?I.call(o,d):f[u])>-1&&(o[l]=!(a[l]=d))}}else y=he(y===a?y.splice(h,y.length):y),i?i(null,a,y,c):L.apply(a,y)}))}function me(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],c=a?1:0,u=fe((function(e){return e===t}),s,!0),d=fe((function(e){return I.call(t,e)>-1}),s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r))}];o>c;c++)if(n=i.relative[e[c].type])f=[fe(pe(f),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[b]){for(r=++c;o>r&&!i.relative[e[r].type];r++);return ge(c>1&&pe(f),c>1&&de(e.slice(0,c-1)).replace(q,"$1"),n,r>c&&me(e.slice(c,r)),o>r&&me(e=e.slice(r)),o>r&&de(e))}f.push(n)}return pe(f)}function ye(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,c,u,f,p){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=p,T=l,k=s||a&&i.find.TAG("*",p&&c.parentNode||c),E=C+=null==T?1:Math.random()||.1;for(w&&(l=c!==d&&c,r=n);null!=(h=k[b]);b++){if(a&&h){for(g=0;m=e[g++];)if(m(h,c,u)){f.push(h);break}w&&(C=E,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){for(g=0;m=t[g++];)m(x,y,c,u);if(s){if(v>0)for(;b--;)x[b]||y[b]||(y[b]=j.call(f));y=he(y)}L.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&oe.uniqueSort(f)}return w&&(C=E,l=T),x};return o?re(s):s}function ve(e,t,n,r){var o,a,c,l,u,d=ue(e);if(!r&&1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(c=a[0]).type&&9===t.nodeType&&!p&&i.relative[a[1].type]){if(!(t=i.find.ID(c.matches[0].replace(Z,ee),t)[0]))return n;e=e.slice(a.shift().value.length)}for(o=X.needsContext.test(e)?0:a.length;o--&&(c=a[o],!i.relative[l=c.type]);)if((u=i.find[l])&&(r=u(c.matches[0].replace(Z,ee),U.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),!(e=r.length&&de(a)))return L.apply(n,H.call(r,0)),n;break}}return s(e,d)(r,t,p,n,U.test(e)),n}function be(){}s=oe.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){for(t||(t=ue(e)),n=t.length;n--;)(o=me(t[n]))[b]?r.push(o):i.push(o);o=N(e,ye(i,r))}return o},i.pseudos.nth=i.pseudos.eq,i.filters=be.prototype=i.pseudos,i.setFilters=new be,u(),oe.attr=T.attr,T.find=oe,T.expr=oe.selectors,T.expr[":"]=T.expr.pseudos,T.unique=oe.uniqueSort,T.text=oe.getText,T.isXMLDoc=oe.isXML,T.contains=oe.contains}(i);var le=/Until$/,ue=/^(?:parents|prev(?:Until|All))/,de=/^.[^:#\[\.,]*$/,fe=T.expr.match.needsContext,pe={children:!0,contents:!0,next:!0,prev:!0};function he(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function ge(e,t,n){if(t=t||0,T.isFunction(t))return T.grep(e,(function(e,r){return!!t.call(e,r,e)===n}));if(t.nodeType)return T.grep(e,(function(e){return e===t===n}));if("string"==typeof t){var r=T.grep(e,(function(e){return 1===e.nodeType}));if(de.test(t))return T.filter(t,r,!n);t=T.filter(t,r)}return T.grep(e,(function(e){return T.inArray(e,t)>=0===n}))}function me(e){var t=ye.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}T.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(T(e).filter((function(){for(t=0;i>t;t++)if(T.contains(r[t],this))return!0})));for(n=[],t=0;i>t;t++)T.find(e,this[t],n);return(n=this.pushStack(i>1?T.unique(n):n)).selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=T(e,this),r=n.length;return this.filter((function(){for(t=0;r>t;t++)if(T.contains(this,n[t]))return!0}))},not:function(e){return this.pushStack(ge(this,e,!1))},filter:function(e){return this.pushStack(ge(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?fe.test(e)?T(e,this.context).index(this[0])>=0:T.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=fe.test(e)||"string"!=typeof e?T(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n.ownerDocument&&n!==t&&11!==n.nodeType;){if(a?a.index(n)>-1:T.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}return this.pushStack(o.length>1?T.unique(o):o)},index:function(e){return e?"string"==typeof e?T.inArray(this[0],T(e)):T.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?T(e,t):T.makeArray(e&&e.nodeType?[e]:e),r=T.merge(this.get(),n);return this.pushStack(T.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.fn.andSelf=T.fn.addBack,T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T.dir(e,"parentNode")},parentsUntil:function(e,t,n){return T.dir(e,"parentNode",n)},next:function(e){return he(e,"nextSibling")},prev:function(e){return he(e,"previousSibling")},nextAll:function(e){return T.dir(e,"nextSibling")},prevAll:function(e){return T.dir(e,"previousSibling")},nextUntil:function(e,t,n){return T.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return T.dir(e,"previousSibling",n)},siblings:function(e){return T.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return T.sibling(e.firstChild)},contents:function(e){return T.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:T.merge([],e.childNodes)}},(function(e,t){T.fn[e]=function(n,r){var i=T.map(this,t,n);return le.test(e)||(r=n),r&&"string"==typeof r&&(i=T.filter(r,i)),i=this.length>1&&!pe[e]?T.unique(i):i,this.length>1&&ue.test(e)&&(i=i.reverse()),this.pushStack(i)}})),T.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?T.find.matchesSelector(t[0],e)?[t[0]]:[]:T.find.matches(e,t)},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===o||1!==i.nodeType||!T(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var ye="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ve=/ jQuery\d+="(?:null|\d+)"/g,be=RegExp("<(?:"+ye+")[\\s/>]","i"),xe=/^\s+/,we=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ce=/<([\w:]+)/,Te=/<tbody/i,ke=/<|&#?\w+;/,Ee=/<(?:script|style|link)/i,Se=/^(?:checkbox|radio)$/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^$|\/(?:java|ecma)script/i,Ae=/^true\/(.*)/,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,je={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:T.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Le=me(l).appendChild(l.createElement("div"));function He(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ie(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function Oe(e){var t=Ae.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Fe(e,t){for(var n,r=0;null!=(n=e[r]);r++)T._data(n,"globalEval",!t||T._data(t[r],"globalEval"))}function Me(e,t){if(1===t.nodeType&&T.hasData(e)){var n,r,i,o=T._data(e),a=T._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;i>r;r++)T.event.add(t,n,s[n][r]);a.data&&(a.data=T.extend({},a.data))}}function Be(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!T.support.noCloneEvent&&t[T.expando]){for(r in(i=T._data(t)).events)T.removeEvent(t,r,i.handle);t.removeAttribute(T.expando)}"script"===n&&t.text!==e.text?(Ie(t).text=e.text,Oe(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),T.support.html5Clone&&e.innerHTML&&!T.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Se.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)}}function _e(e,t){var n,r,i=0,a=typeof e.getElementsByTagName!==c?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==c?e.querySelectorAll(t||"*"):o;if(!a)for(a=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||T.nodeName(r,t)?a.push(r):T.merge(a,_e(r,t));return t===o||t&&T.nodeName(e,t)?T.merge([e],a):a}function qe(e){Se.test(e.type)&&(e.defaultChecked=e.checked)}je.optgroup=je.option,je.tbody=je.tfoot=je.colgroup=je.caption=je.thead,je.th=je.td,T.fn.extend({text:function(e){return T.access(this,(function(e){return e===o?T.text(this):this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(e))}),null,e,arguments.length)},wrapAll:function(e){if(T.isFunction(e))return this.each((function(t){T(this).wrapAll(e.call(this,t))}));if(this[0]){var t=T(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return T.isFunction(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=T.isFunction(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)}))},prepend:function(){return this.domManip(arguments,!0,(function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)}))},before:function(){return this.domManip(arguments,!1,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,!1,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)(!e||T.filter(e,[n]).length>0)&&(t||1!==n.nodeType||T.cleanData(_e(n)),n.parentNode&&(t&&T.contains(n.ownerDocument,n)&&Fe(_e(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&T.cleanData(_e(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&T.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return T.access(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(e===o)return 1===t.nodeType?t.innerHTML.replace(ve,""):o;if(!("string"!=typeof e||Ee.test(e)||!T.support.htmlSerialize&&be.test(e)||!T.support.leadingWhitespace&&xe.test(e)||je[(Ce.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(we,"<$1></$2>");try{for(;r>n;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(e){return T.isFunction(e)||"string"==typeof e||(e=T(e).not(this).detach()),this.domManip([e],!0,(function(e){var t=this.nextSibling,n=this.parentNode;n&&(T(this).remove(),n.insertBefore(e,t))}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=m.apply([],e);var r,i,a,s,c,l,u=0,d=this.length,f=this,p=d-1,h=e[0],g=T.isFunction(h);if(g||!(1>=d||"string"!=typeof h||T.support.checkClone)&&Ne.test(h))return this.each((function(r){var i=f.eq(r);g&&(e[0]=h.call(this,r,t?i.html():o)),i.domManip(e,t,n)}));if(d&&(r=(l=T.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=r),r)){for(t=t&&T.nodeName(r,"tr"),a=(s=T.map(_e(l,"script"),Ie)).length;d>u;u++)i=l,u!==p&&(i=T.clone(i,!0,!0),a&&T.merge(s,_e(i,"script"))),n.call(t&&T.nodeName(this[u],"table")?He(this[u],"tbody"):this[u],i,u);if(a)for(c=s[s.length-1].ownerDocument,T.map(s,Oe),u=0;a>u;u++)i=s[u],Pe.test(i.type||"")&&!T._data(i,"globalEval")&&T.contains(c,i)&&(i.src?T.ajax({url:i.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):T.globalEval((i.text||i.textContent||i.innerHTML||"").replace(De,"")));l=r=null}return this}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=0,i=[],o=T(e),a=o.length-1;a>=r;r++)n=r===a?this:this.clone(!0),T(o[r])[t](n),y.apply(i,n.get());return this.pushStack(i)}})),T.extend({clone:function(e,t,n){var r,i,o,a,s,c=T.contains(e.ownerDocument,e);if(T.support.html5Clone||T.isXMLDoc(e)||!be.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Le.innerHTML=e.outerHTML,Le.removeChild(o=Le.firstChild)),!(T.support.noCloneEvent&&T.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(r=_e(o),s=_e(e),a=0;null!=(i=s[a]);++a)r[a]&&Be(i,r[a]);if(t)if(n)for(s=s||_e(e),r=r||_e(o),a=0;null!=(i=s[a]);a++)Me(i,r[a]);else Me(e,o);return(r=_e(o,"script")).length>0&&Fe(r,!c&&_e(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,c,l,u,d=e.length,f=me(t),p=[],h=0;d>h;h++)if((o=e[h])||0===o)if("object"===T.type(o))T.merge(p,o.nodeType?[o]:o);else if(ke.test(o)){for(s=s||f.appendChild(t.createElement("div")),c=(Ce.exec(o)||["",""])[1].toLowerCase(),u=je[c]||je._default,s.innerHTML=u[1]+o.replace(we,"<$1></$2>")+u[2],i=u[0];i--;)s=s.lastChild;if(!T.support.leadingWhitespace&&xe.test(o)&&p.push(t.createTextNode(xe.exec(o)[0])),!T.support.tbody)for(i=(o="table"!==c||Te.test(o)?"<table>"!==u[1]||Te.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)T.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(T.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),T.support.appendChecked||T.grep(_e(p,"input"),qe),h=0;o=p[h++];)if((!r||-1===T.inArray(o,r))&&(a=T.contains(o.ownerDocument,o),s=_e(f.appendChild(o),"script"),a&&Fe(s),n))for(i=0;o=s[i++];)Pe.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,r,i,o,a=0,s=T.expando,l=T.cache,u=T.support.deleteExpando,d=T.event.special;null!=(n=e[a]);a++)if((t||T.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)d[r]?T.event.remove(n,r):T.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==c?n.removeAttribute(s):n[s]=null,h.push(i))}}});var Re,ze,Ve,$e=/alpha\([^)]*\)/i,Xe=/opacity\s*=\s*([^)]*)/,Ue=/^(top|right|bottom|left)$/,We=/^(none|table(?!-c[ea]).+)/,Qe=/^margin/,Ye=RegExp("^("+k+")(.*)$","i"),Je=RegExp("^("+k+")(?!px)[a-z%]+$","i"),Ge=RegExp("^([+-])=("+k+")","i"),Ke={BODY:"block"},Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:0,fontWeight:400},tt=["Top","Right","Bottom","Left"],nt=["Webkit","O","Moz","ms"];function rt(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=nt.length;i--;)if((t=nt[i]+n)in e)return t;return r}function it(e,t){return e=t||e,"none"===T.css(e,"display")||!T.contains(e.ownerDocument,e)}function ot(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)(r=e[a]).style&&(o[a]=T._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&it(r)&&(o[a]=T._data(r,"olddisplay",lt(r.nodeName)))):o[a]||(i=it(r),(n&&"none"!==n||!i)&&T._data(r,"olddisplay",i?n:T.css(r,"display"))));for(a=0;s>a;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function at(e,t,n){var r=Ye.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function st(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=T.css(e,n+tt[o],!0,i)),r?("content"===n&&(a-=T.css(e,"padding"+tt[o],!0,i)),"margin"!==n&&(a-=T.css(e,"border"+tt[o]+"Width",!0,i))):(a+=T.css(e,"padding"+tt[o],!0,i),"padding"!==n&&(a+=T.css(e,"border"+tt[o]+"Width",!0,i)));return a}function ct(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ze(e),a=T.support.boxSizing&&"border-box"===T.css(e,"boxSizing",!1,o);if(0>=i||null==i){if((0>(i=Ve(e,t,o))||null==i)&&(i=e.style[t]),Je.test(i))return i;r=a&&(T.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+st(e,t,n||(a?"border":"content"),r,o)+"px"}function lt(e){var t=l,n=Ke[e];return n||("none"!==(n=ut(e,t))&&n||((t=((Re=(Re||T("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||Re[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=ut(e,t),Re.detach()),Ke[e]=n),n}function ut(e,t){var n=T(t.createElement(e)).appendTo(t.body),r=T.css(n[0],"display");return n.remove(),r}T.fn.extend({css:function(e,t){return T.access(this,(function(e,t,n){var r,i,a={},s=0;if(T.isArray(t)){for(i=ze(e),r=t.length;r>s;s++)a[t[s]]=T.css(e,t[s],!1,i);return a}return n!==o?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)},show:function(){return ot(this,!0)},hide:function(){return ot(this)},toggle:function(e){var t="boolean"==typeof e;return this.each((function(){(t?e:it(this))?T(this).show():T(this).hide()}))}}),T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:T.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,s,c=T.camelCase(t),l=e.style;if(t=T.cssProps[c]||(T.cssProps[c]=rt(l,c)),s=T.cssHooks[t]||T.cssHooks[c],n===o)return s&&"get"in s&&(i=s.get(e,!1,r))!==o?i:l[t];if("string"===(a=typeof n)&&(i=Ge.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(T.css(e,t)),a="number"),!(null==n||"number"===a&&isNaN(n)||("number"!==a||T.cssNumber[c]||(n+="px"),T.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===o)))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,a,s,c=T.camelCase(t);return t=T.cssProps[c]||(T.cssProps[c]=rt(e.style,c)),(s=T.cssHooks[t]||T.cssHooks[c])&&"get"in s&&(a=s.get(e,!0,n)),a===o&&(a=Ve(e,t,r)),"normal"===a&&t in et&&(a=et[t]),""===n||n?(i=parseFloat(a),!0===n||T.isNumeric(i)?i||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i}}),i.getComputedStyle?(ze=function(e){return i.getComputedStyle(e,null)},Ve=function(e,t,n){var r,i,a,s=n||ze(e),c=s?s.getPropertyValue(t)||s[t]:o,l=e.style;return s&&(""!==c||T.contains(e.ownerDocument,e)||(c=T.style(e,t)),Je.test(c)&&Qe.test(t)&&(r=l.width,i=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=c,c=s.width,l.width=r,l.minWidth=i,l.maxWidth=a)),c}):l.documentElement.currentStyle&&(ze=function(e){return e.currentStyle},Ve=function(e,t,n){var r,i,a,s=n||ze(e),c=s?s[t]:o,l=e.style;return null==c&&l&&l[t]&&(c=l[t]),Je.test(c)&&!Ue.test(t)&&(r=l.left,(a=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),l.left="fontSize"===t?"1em":c,c=l.pixelLeft+"px",l.left=r,a&&(i.left=a)),""===c?"auto":c}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){return n?0===e.offsetWidth&&We.test(T.css(e,"display"))?T.swap(e,Ze,(function(){return ct(e,t,r)})):ct(e,t,r):o},set:function(e,n,r){var i=r&&ze(e);return at(0,n,r?st(e,t,r,T.support.boxSizing&&"border-box"===T.css(e,"boxSizing",!1,i),i):0)}}})),T.support.opacity||(T.cssHooks.opacity={get:function(e,t){return Xe.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=T.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===T.trim(o.replace($e,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$e.test(o)?o.replace($e,i):o+" "+i)}}),T((function(){T.support.reliableMarginRight||(T.cssHooks.marginRight={get:function(e,t){return t?T.swap(e,{display:"inline-block"},Ve,[e,"marginRight"]):o}}),!T.support.pixelPosition&&T.fn.position&&T.each(["top","left"],(function(e,t){T.cssHooks[t]={get:function(e,n){return n?(n=Ve(e,t),Je.test(n)?T(e).position()[t]+"px":n):o}}}))})),T.expr&&T.expr.filters&&(T.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!T.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||T.css(e,"display"))},T.expr.filters.visible=function(e){return!T.expr.filters.hidden(e)}),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+tt[r]+t]=o[r]||o[r-2]||o[0];return i}},Qe.test(e)||(T.cssHooks[e+t].set=at)}));var dt=/%20/g,ft=/\[\]$/,pt=/\r?\n/g,ht=/^(?:submit|button|image|reset|file)$/i,gt=/^(?:input|select|textarea|keygen)/i;function mt(e,t,n,r){var i;if(T.isArray(t))T.each(t,(function(t,i){n||ft.test(e)?r(e,i):mt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)}));else if(n||"object"!==T.type(t))r(e,t);else for(i in t)mt(e+"["+i+"]",t[i],n,r)}T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&>.test(this.nodeName)&&!ht.test(e)&&(this.checked||!Se.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:T.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(pt,"\r\n")}})):{name:t.name,value:n.replace(pt,"\r\n")}})).get()}}),T.param=function(e,t){var n,r=[],i=function(e,t){t=T.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===o&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(n in e)mt(n,e[n],t,i);return r.join("&").replace(dt,"+")},T.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){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),T.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var yt,vt,bt=T.now(),xt=/\?/,wt=/#.*$/,Ct=/([?&])_=[^&]*/,Tt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,kt=/^(?:GET|HEAD)$/,Et=/^\/\//,St=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Nt=T.fn.load,Pt={},At={},Dt="*/".concat("*");try{vt=u.href}catch(e){(vt=l.createElement("a")).href="",vt=vt.href}function jt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(E)||[];if(T.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Lt(e,t,n,r){var i={},a=e===At;function s(c){var l;return i[c]=!0,T.each(e[c]||[],(function(e,c){var u=c(t,n,r);return"string"!=typeof u||a||i[u]?a?!(l=u):o:(t.dataTypes.unshift(u),s(u),!1)})),l}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Ht(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(r in t)t[r]!==o&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&T.extend(!0,e,n),e}yt=St.exec(vt.toLowerCase())||[],T.fn.load=function(e,t,n){if("string"!=typeof e&&Nt)return Nt.apply(this,arguments);var r,i,a,s=this,c=e.indexOf(" ");return c>=0&&(r=e.slice(c,e.length),e=e.slice(0,c)),T.isFunction(t)?(n=t,t=o):t&&"object"==typeof t&&(a="POST"),s.length>0&&T.ajax({url:e,type:a,dataType:"html",data:t}).done((function(e){i=arguments,s.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).complete(n&&function(e,t){s.each(n,i||[e.responseText,t,e])}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,i){return T.isFunction(n)&&(i=i||r,r=n,n=o),T.ajax({url:e,type:t,dataType:i,data:n,success:r})}})),T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(yt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dt,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"},converters:{"* text":i.String,"text html":!0,"text json":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,T.ajaxSettings),t):Ht(T.ajaxSettings,e)},ajaxPrefilter:jt(Pt),ajaxTransport:jt(At),ajax:function(e,t){"object"==typeof e&&(t=e,e=o),t=t||{};var n,r,i,a,s,c,l,u,d=T.ajaxSetup({},t),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?T(f):T.event,h=T.Deferred(),g=T.Callbacks("once memory"),m=d.statusCode||{},y={},v={},b=0,x="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!u)for(u={};t=Tt.exec(a);)u[t[1].toLowerCase()]=t[2];t=u[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||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||x;return l&&l.abort(t),C(0,t),this}};if(h.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,d.url=((e||d.url||vt)+"").replace(wt,"").replace(Et,yt[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=T.trim(d.dataType||"*").toLowerCase().match(E)||[""],null==d.crossDomain&&(n=St.exec(d.url.toLowerCase()),d.crossDomain=!(!n||n[1]===yt[1]&&n[2]===yt[2]&&(n[3]||("http:"===n[1]?80:443))==(yt[3]||("http:"===yt[1]?80:443)))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Lt(Pt,d,t,w),2===b)return w;for(r in(c=d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!kt.test(d.type),i=d.url,d.hasContent||(d.data&&(i=d.url+=(xt.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Ct.test(i)?i.replace(Ct,"$1_="+bt++):i+(xt.test(i)?"&":"?")+"_="+bt++)),d.ifModified&&(T.lastModified[i]&&w.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&w.setRequestHeader("If-None-Match",T.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&w.setRequestHeader("Content-Type",d.contentType),w.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Dt+"; q=0.01":""):d.accepts["*"]),d.headers)w.setRequestHeader(r,d.headers[r]);if(d.beforeSend&&(!1===d.beforeSend.call(f,w,d)||2===b))return w.abort();for(r in x="abort",{success:1,error:1,complete:1})w[r](d[r]);if(l=Lt(At,d,t,w)){w.readyState=1,c&&p.trigger("ajaxSend",[w,d]),d.async&&d.timeout>0&&(s=setTimeout((function(){w.abort("timeout")}),d.timeout));try{b=1,l.send(y,C)}catch(e){if(!(2>b))throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,n,r){var u,y,v,x,C,k=t;2!==b&&(b=2,s&&clearTimeout(s),l=o,a=r||"",w.readyState=e>0?4:0,n&&(x=function(e,t,n){var r,i,a,s,c=e.contents,l=e.dataTypes,u=e.responseFields;for(s in u)s in n&&(t[u[s]]=n[s]);for(;"*"===l[0];)l.shift(),i===o&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(s in c)if(c[s]&&c[s].test(i)){l.unshift(s);break}if(l[0]in n)a=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}r||(r=s)}a=a||r}return a?(a!==l[0]&&l.unshift(a),n[a]):o}(d,w,n)),e>=200&&300>e||304===e?(d.ifModified&&((C=w.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=C),(C=w.getResponseHeader("etag"))&&(T.etag[i]=C)),204===e?(u=!0,k="nocontent"):304===e?(u=!0,k="notmodified"):(k=(u=function(e,t){var n,r,i,o,a={},s=0,c=e.dataTypes.slice(),l=c[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=c[++s];)if("*"!==r){if("*"!==l&&l!==r){if(!(i=a[l+" "+r]||a["* "+r]))for(n in a)if((o=n.split(" "))[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){!0===i?i=a[n]:!0!==a[n]&&(r=o[0],c.splice(s--,0,r));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}(d,x)).state,y=u.data,u=!(v=u.error))):(v=k,(e||!k)&&(k="error",0>e&&(e=0))),w.status=e,w.statusText=(t||k)+"",u?h.resolveWith(f,[y,k,w]):h.rejectWith(f,[w,k,v]),w.statusCode(m),m=o,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[w,d,u?y:v]),g.fireWith(f,[w,k]),c&&(p.trigger("ajaxComplete",[w,d]),--T.active||T.event.trigger("ajaxStop")))}return w},getScript:function(e,t){return T.get(e,o,t,"script")},getJSON:function(e,t,n){return T.get(e,t,n,"json")}}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){e.cache===o&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),T.ajaxTransport("script",(function(e){if(e.crossDomain){var t,n=l.head||T("head")[0]||l.documentElement;return{send:function(r,i){(t=l.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(o,!0)}}}}));var It=[],Ot=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=It.pop()||T.expando+"_"+bt++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var r,a,s,c=!1!==e.jsonp&&(Ot.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ot.test(e.data)&&"data");return c||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,c?e[c]=e[c].replace(Ot,"$1"+r):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||T.error(r+" was not called"),s[0]},e.dataTypes[0]="json",a=i[r],i[r]=function(){s=arguments},n.always((function(){i[r]=a,e[r]&&(e.jsonpCallback=t.jsonpCallback,It.push(r)),s&&T.isFunction(a)&&a(s[0]),s=a=o})),"script"):o}));var Ft,Mt,Bt=0,_t=i.ActiveXObject&&function(){var e;for(e in Ft)Ft[e](o,!0)};function qt(){try{return new i.XMLHttpRequest}catch(e){}}T.ajaxSettings.xhr=i.ActiveXObject?function(){return!this.isLocal&&qt()||function(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:qt,Mt=T.ajaxSettings.xhr(),T.support.cors=!!Mt&&"withCredentials"in Mt,(Mt=T.support.ajax=!!Mt)&&T.ajaxTransport((function(e){var t;if(!e.crossDomain||T.support.cors)return{send:function(n,r){var a,s,c=e.xhr();if(e.username?c.open(e.type,e.url,e.async,e.username,e.password):c.open(e.type,e.url,e.async),e.xhrFields)for(s in e.xhrFields)c[s]=e.xhrFields[s];e.mimeType&&c.overrideMimeType&&c.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(s in n)c.setRequestHeader(s,n[s])}catch(e){}c.send(e.hasContent&&e.data||null),t=function(n,i){var s,l,u,d;try{if(t&&(i||4===c.readyState))if(t=o,a&&(c.onreadystatechange=T.noop,_t&&delete Ft[a]),i)4!==c.readyState&&c.abort();else{d={},s=c.status,l=c.getAllResponseHeaders(),"string"==typeof c.responseText&&(d.text=c.responseText);try{u=c.statusText}catch(e){u=""}s||!e.isLocal||e.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(e){i||r(-1,e)}d&&r(s,u,d,l)},e.async?4===c.readyState?setTimeout(t):(a=++Bt,_t&&(Ft||(Ft={},T(i).unload(_t)),Ft[a]=t),c.onreadystatechange=t):t()},abort:function(){t&&t(o,!0)}}}));var Rt,zt,Vt=/^(?:toggle|show|hide)$/,$t=RegExp("^(?:([+-])=|)("+k+")([a-z%]*)$","i"),Xt=/queueHooks$/,Ut=[function(e,t,n){var r,i,o,a,s,c,l,u,d,f=this,p=e.style,h={},g=[],m=e.nodeType&&it(e);for(i in n.queue||(null==(u=T._queueHooks(e,"fx")).unqueued&&(u.unqueued=0,d=u.empty.fire,u.empty.fire=function(){u.unqueued||d()}),u.unqueued++,f.always((function(){f.always((function(){u.unqueued--,T.queue(e,"fx").length||u.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===T.css(e,"display")&&"none"===T.css(e,"float")&&(T.support.inlineBlockNeedsLayout&&"inline"!==lt(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",T.support.shrinkWrapBlocks||f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),t)if(a=t[i],Vt.exec(a)){if(delete t[i],c=c||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){"hidden"in(s=T._data(e,"fxshow")||T._data(e,"fxshow",{}))&&(m=s.hidden),c&&(s.hidden=!m),m?T(e).show():f.done((function(){T(e).hide()})),f.done((function(){var t;for(t in T._removeData(e,"fxshow"),h)T.style(e,t,h[t])}));for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||T.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}],Wt={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=$t.exec(t),a=i.cur(),s=+a||0,c=1,l=20;if(o){if(n=+o[2],"px"!==(r=o[3]||(T.cssNumber[e]?"":"px"))&&s){s=T.css(i.elem,e,!0)||n||1;do{s/=c=c||".5",T.style(i.elem,e,s+r)}while(c!==(c=i.cur()/a)&&1!==c&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Qt(){return setTimeout((function(){Rt=o})),Rt=T.now()}function Yt(e,t,n){var r,i,o=0,a=Ut.length,s=T.Deferred().always((function(){delete c.elem})),c=function(){if(i)return!1;for(var t=Rt||Qt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;a>o;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),1>r&&a?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Rt||Qt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),u=l.props;for(function(e,t){var n,r,i,o,a;for(i in e)if(r=T.camelCase(i),o=t[r],n=e[i],T.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),(a=T.cssHooks[r])&&"expand"in a)for(i in n=a.expand(n),delete e[r],n)i in e||(e[i]=n[i],t[i]=o);else t[r]=o}(u,l.opts.specialEasing);a>o;o++)if(r=Ut[o].call(l,e,u,l.opts))return r;return function(e,t){T.each(t,(function(t,n){for(var r=(Wt[t]||[]).concat(Wt["*"]),i=0,o=r.length;o>i;i++)if(r[i].call(e,t,n))return}))}(l,u),T.isFunction(l.opts.start)&&l.opts.start.call(e,l),T.fx.timer(T.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function Jt(e,t,n,r,i){return new Jt.prototype.init(e,t,n,r,i)}function Gt(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)r["margin"+(n=tt[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function Kt(e){return T.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}T.Animation=T.extend(Yt,{tweener:function(e,t){T.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],Wt[n]=Wt[n]||[],Wt[n].unshift(t)},prefilter:function(e,t){t?Ut.unshift(e):Ut.push(e)}}),T.Tween=Jt,Jt.prototype={constructor:Jt,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||(T.cssNumber[n]?"":"px")},cur:function(){var e=Jt.propHooks[this.prop];return e&&e.get?e.get(this):Jt.propHooks._default.get(this)},run:function(e){var t,n=Jt.propHooks[this.prop];return this.pos=t=this.options.duration?T.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):Jt.propHooks._default.set(this),this}},Jt.prototype.init.prototype=Jt.prototype,Jt.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[T.cssProps[e.prop]]||T.cssHooks[e.prop])?T.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Jt.propHooks.scrollTop=Jt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Gt(t,!0),e,r,i)}})),T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(it).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=T.isEmptyObject(e),o=T.speed(t,n,r),a=function(){var t=Yt(this,T.extend({},e),o);a.finish=function(){t.stop(!0)},(i||T._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=o),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=T.timers,a=T._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Xt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=T._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),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}))}}),T.each({slideDown:Gt("show"),slideUp:Gt("hide"),slideToggle:Gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||T.isFunction(e)&&e,duration:e,easing:n&&t||t&&!T.isFunction(t)&&t};return r.duration=T.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in T.fx.speeds?T.fx.speeds[r.duration]:T.fx.speeds._default,(null==r.queue||!0===r.queue)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){T.isFunction(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},T.timers=[],T.fx=Jt.prototype.init,T.fx.tick=function(){var e,t=T.timers,n=0;for(Rt=T.now();t.length>n;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||T.fx.stop(),Rt=o},T.fx.timer=function(e){e()&&T.timers.push(e)&&T.fx.start()},T.fx.interval=13,T.fx.start=function(){zt||(zt=setInterval(T.fx.tick,T.fx.interval))},T.fx.stop=function(){clearInterval(zt),zt=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fx.step={},T.expr&&T.expr.filters&&(T.expr.filters.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length}),T.fn.offset=function(e){if(arguments.length)return e===o?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],a=i&&i.ownerDocument;return a?(t=a.documentElement,T.contains(t,i)?(typeof i.getBoundingClientRect!==c&&(r=i.getBoundingClientRect()),n=Kt(a),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},T.offset={setOffset:function(e,t,n){var r=T.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=T(e),s=a.offset(),c=T.css(e,"top"),l=T.css(e,"left"),u={},d={};("absolute"===r||"fixed"===r)&&T.inArray("auto",[c,l])>-1?(i=(d=a.position()).top,o=d.left):(i=parseFloat(c)||0,o=parseFloat(l)||0),T.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(u.top=t.top-s.top+i),null!=t.left&&(u.left=t.left-s.left+o),"using"in t?t.using.call(e,u):a.css(u)}},T.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===T.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),T.nodeName(e[0],"html")||(n=e.offset()),n.top+=T.css(e[0],"borderTopWidth",!0),n.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-T.css(r,"marginTop",!0),left:t.left-n.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||l.documentElement;e&&!T.nodeName(e,"html")&&"static"===T.css(e,"position");)e=e.offsetParent;return e||l.documentElement}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n=/Y/.test(t);T.fn[e]=function(r){return T.access(this,(function(e,r,i){var a=Kt(e);return i===o?a?t in a?a[t]:a.document.documentElement[r]:e[r]:(a?a.scrollTo(n?T(a).scrollLeft():i,n?i:T(a).scrollTop()):e[r]=i,o)}),e,r,arguments.length,null)}})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return T.access(this,(function(t,n,r){var i;return T.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===o?T.css(t,n,s):T.style(t,n,r,s)}),t,a?r:o,a,null)}}))})),i.jQuery=i.$=T,n(3).jQuery&&(void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r))}(window);var i=window.H5P=window.H5P||{};i.jQuery=jQuery.noConflict(!0),i.jQuery.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)}))},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t){var n=window.H5P=window.H5P||{};n.Event=function(e,t,n){this.type=e,this.data=t;var r=!1,i=!1,o=!1;void 0===n&&(n={}),!0===n.bubbles&&(r=!0),!0===n.external&&(i=!0),this.preventBubbling=function(){r=!1},this.getBubbles=function(){return r},this.scheduleForExternal=function(){return!(!i||o)&&(o=!0,!0)}},n.EventDispatcher=function(){var e=this,t={};this.on=function(n,r,i){if("function"!=typeof r)throw TypeError("listener must be a function");e.trigger("newListener",{type:n,listener:r});var o={listener:r,thisArg:i};t[n]?t[n].push(o):t[n]=[o]},this.once=function(t,n,r){if(!(n instanceof Function))throw TypeError("listener must be a function");var i=function(t){e.off(t.type,i),n.call(this,t)};e.on(t,i,r)},this.off=function(n,r){if(void 0!==r&&!(r instanceof Function))throw TypeError("listener must be a function");if(void 0!==t[n]){if(void 0===r)return delete t[n],void e.trigger("removeListener",n);for(var i=0;i<t[n].length;i++)if(t[n][i].listener===r){t[n].splice(i,1),e.trigger("removeListener",n,{listener:r});break}t[n].length||delete t[n]}};var r=function(e,n){if(void 0!==t[e])for(var r=t[e].slice(),i=0;i<r.length;i++){var o=r[i],a=o.thisArg?o.thisArg:this;o.listener.call(a,n)}};this.trigger=function(t,i,o){if(void 0!==t){t instanceof String||"string"==typeof t?t=new n.Event(t,i,o):void 0!==i&&(t.data=i);var a=t.scheduleForExternal();r.call(this,t.type,t),r.call(this,"*",t),t.getBubbles()&&e.parent instanceof n.EventDispatcher&&(e.parent.trigger instanceof Function||"function"==typeof e.parent.trigger)&&e.parent.trigger(t),a&&n.externalDispatcher.trigger.call(this,t)}}}},function(e,t){var n=window.H5P=window.H5P||{};n.externalDispatcher=new n.EventDispatcher,n.EventDispatcher.prototype.triggerXAPI=function(e,t){this.trigger(this.createXAPIEventTemplate(e,t))},n.EventDispatcher.prototype.createXAPIEventTemplate=function(e,t){var r=new n.XAPIEvent;if(r.setActor(),r.setVerb(e),void 0!==t)for(var i in t)r.data.statement[i]=t[i];return"object"in r.data.statement||r.setObject(this),"context"in r.data.statement||r.setContext(this),r},n.EventDispatcher.prototype.triggerXAPICompleted=function(e,t,n){this.triggerXAPIScored(e,t,"completed",!0,n)},n.EventDispatcher.prototype.triggerXAPIScored=function(e,t,n,r,i){var o=this.createXAPIEventTemplate(n);o.setScoredResult(e,t,this,r,i),this.trigger(o)},n.EventDispatcher.prototype.setActivityStarted=function(){void 0===this.activityStartTime&&(void 0!==this.contentId&&void 0!==H5PIntegration.contents&&void 0!==H5PIntegration.contents["cid-"+this.contentId]&&this.triggerXAPI("attempted"),this.activityStartTime=Date.now())},n.xAPICompletedListener=function(e){if(("completed"===e.getVerb()||"answered"===e.getVerb())&&!e.getVerifiedStatementValue(["context","contextActivities","parent"])){var t=e.getScore(),r=e.getMaxScore(),i=e.getVerifiedStatementValue(["object","definition","extensions","http://h5p.org/x-api/h5p-local-content-id"]);n.setFinished(i,t,r)}}},function(e,t){var n=window.H5P=window.H5P||{};n.XAPIEvent=function(){n.Event.call(this,"xAPI",{statement:{}},{bubbles:!0,external:!0})},n.XAPIEvent.prototype=Object.create(n.Event.prototype),n.XAPIEvent.prototype.constructor=n.XAPIEvent,n.XAPIEvent.prototype.setScoredResult=function(e,t,n,r,i){if(this.data.statement.result={},void 0!==e&&(void 0===t?this.data.statement.result.score={raw:e}:(this.data.statement.result.score={min:0,max:t,raw:e},t>0&&(this.data.statement.result.score.scaled=Math.round(e/t*1e4)/1e4))),this.data.statement.result.completion=void 0===r?"completed"===this.getVerb()||"answered"===this.getVerb():r,void 0!==i&&(this.data.statement.result.success=i),n&&n.activityStartTime){var o=Math.round((Date.now()-n.activityStartTime)/10)/100;this.data.statement.result.duration="PT"+o+"S"}},n.XAPIEvent.prototype.setVerb=function(e){-1!==n.jQuery.inArray(e,n.XAPIEvent.allowedXAPIVerbs)?this.data.statement.verb={id:"http://adlnet.gov/expapi/verbs/"+e,display:{"en-US":e}}:void 0!==e.id&&(this.data.statement.verb=e)},n.XAPIEvent.prototype.getVerb=function(e){var t=this.data.statement;return"verb"in t?!0===e?t.verb:t.verb.id.slice(31):null},n.XAPIEvent.prototype.setObject=function(e){if(e.contentId)if(this.data.statement.object={id:this.getContentXAPIId(e),objectType:"Activity",definition:{extensions:{"http://h5p.org/x-api/h5p-local-content-id":e.contentId}}},e.subContentId)this.data.statement.object.definition.extensions["http://h5p.org/x-api/h5p-subContentId"]=e.subContentId,"function"==typeof e.getTitle&&(this.data.statement.object.definition.name={"en-US":e.getTitle()});else{var t=n.getContentForInstance(e.contentId);t&&t.metadata&&t.metadata.title&&(this.data.statement.object.definition.name={"en-US":n.createTitle(t.metadata.title)})}else this.data.statement.object={definition:{}}},n.XAPIEvent.prototype.setContext=function(e){e.parent&&(e.parent.contentId||e.parent.subContentId)&&(this.data.statement.context={contextActivities:{parent:[{id:this.getContentXAPIId(e.parent),objectType:"Activity"}]}}),e.libraryInfo&&(void 0===this.data.statement.context&&(this.data.statement.context={contextActivities:{}}),this.data.statement.context.contextActivities.category=[{id:"http://h5p.org/libraries/"+e.libraryInfo.versionedNameNoSpaces,objectType:"Activity"}])},n.XAPIEvent.prototype.setActor=function(){if(void 0!==H5PIntegration.user)this.data.statement.actor={name:H5PIntegration.user.name,mbox:"mailto:"+H5PIntegration.user.mail,objectType:"Agent"};else{var e;try{localStorage.H5PUserUUID?e=localStorage.H5PUserUUID:(e=n.createUUID(),localStorage.H5PUserUUID=e)}catch(t){e="not-trackable-"+n.createUUID()}this.data.statement.actor={account:{name:e,homePage:H5PIntegration.siteUrl},objectType:"Agent"}}},n.XAPIEvent.prototype.getMaxScore=function(){return this.getVerifiedStatementValue(["result","score","max"])},n.XAPIEvent.prototype.getScore=function(){return this.getVerifiedStatementValue(["result","score","raw"])},n.XAPIEvent.prototype.getContentXAPIId=function(e){var t;return e.contentId&&H5PIntegration&&H5PIntegration.contents&&H5PIntegration.contents["cid-"+e.contentId]&&(t=H5PIntegration.contents["cid-"+e.contentId].url,e.subContentId&&(t+="?subContentId="+e.subContentId)),t},n.XAPIEvent.prototype.isFromChild=function(){var e=this.getVerifiedStatementValue(["context","contextActivities","parent",0,"id"]);return!e||-1===e.indexOf("subContentId")},n.XAPIEvent.prototype.getVerifiedStatementValue=function(e){for(var t=this.data.statement,n=0;n<e.length;n++){if(void 0===t[e[n]])return null;t=t[e[n]]}return t},n.XAPIEvent.allowedXAPIVerbs=["answered","asked","attempted","attended","commented","completed","exited","experienced","failed","imported","initialized","interacted","launched","mastered","passed","preferred","progressed","registered","responded","resumed","scored","shared","suspended","terminated","voided","downloaded","copied","accessed-reuse","accessed-embed","accessed-copyright"]},function(e,t){H5P.ContentType=function(e){function t(){}return t.prototype=new H5P.EventDispatcher,t.prototype.isRoot=function(){return e},t.prototype.getLibraryFilePath=function(e){return H5P.getLibraryPath(this.libraryInfo.versionedNameNoSpaces)+"/"+e},t}},,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){e.exports=n(15)},function(e,t,n){var r=window.H5PIntegration,i=(n(2),window.H5P=window.H5P||{});i.isFramed=window.self!==window.parent,i.$window=i.jQuery(window),i.instances=[],document.documentElement.requestFullScreen?i.fullScreenBrowserPrefix="":document.documentElement.webkitRequestFullScreen?(i.safariBrowser=navigator.userAgent.match(/version\/([.\d]+)/i),i.safariBrowser=null===i.safariBrowser?0:parseInt(i.safariBrowser[1]),(0===i.safariBrowser||i.safariBrowser>6)&&(i.fullScreenBrowserPrefix="webkit")):document.documentElement.mozRequestFullScreen?i.fullScreenBrowserPrefix="moz":document.documentElement.msRequestFullscreen&&(i.fullScreenBrowserPrefix="ms"),i.opened={},i.init=function(e){void 0===i.$body&&(i.$body=i.jQuery(document.body)),void 0===i.fullscreenSupported&&(i.fullscreenSupported=!(r.fullscreenDisabled||i.fullscreenDisabled||i.isFramed&&!1!==i.externalEmbed&&!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled))),void 0===i.canHasFullScreen&&(i.canHasFullScreen=i.fullscreenSupported),i.jQuery(".h5p-content:not(.h5p-initialized)",e).each((function(){var e=i.jQuery(this).addClass("h5p-initialized"),t=i.jQuery('<div class="h5p-container"></div>').appendTo(e),n=e.data("content-id"),o=r.contents["cid-"+n];if(void 0===o)return i.error("No data for content id "+n+". Perhaps the library is gone?");var a={library:o.library,params:JSON.parse(o.jsonContent),metadata:o.metadata};i.getUserData(n,"state",(function(e,c){if(c)a.userDatas={state:c};else if(null===c&&r.saveFreq){delete o.contentUserData;var l=new i.Dialog("content-user-data-reset","Data Reset","<p>"+i.t("contentChanged")+"</p><p>"+i.t("startingOver")+'</p><div class="h5p-dialog-ok-button" tabIndex="0" role="button">OK</div>',t);i.jQuery(l).on("dialog-opened",(function(e,t){var r=function(e){"click"!==e.type&&32!==e.which||(l.close(),i.deleteUserData(n,"state",0))};t.find(".h5p-dialog-ok-button").click(r).keypress(r),i.trigger(s,"resize")})).on("dialog-closed",(function(){i.trigger(s,"resize")})),l.open()}}));var s=i.newRunnable(a,n,t,!0,{standalone:!0});i.offlineRequestQueue=new i.OfflineRequestQueue({instance:s}),1==o.fullScreen&&i.fullscreenSupported&&i.jQuery('<div class="h5p-content-controls"><div role="button" tabindex="0" class="h5p-enable-fullscreen" aria-label="'+i.t("fullscreen")+'" title="'+i.t("fullscreen")+'"></div></div>').prependTo(t).children().click((function(){i.fullScreen(t,s)})).keydown((function(e){if(32===e.which||13===e.which)return i.fullScreen(t,s),!1}));var c,l=o.displayOptions,u=!1;if(l.frame){if(l.copyright){var d=i.getCopyrights(s,a.params,n,a.metadata);d||(l.copyright=!1)}var f=new i.ActionBar(l),p=f.getDOMElement();f.on("reuse",(function(){i.openReuseDialog(p,o,a,s,n),s.triggerXAPI("accessed-reuse")})),f.on("copyrights",(function(){new i.Dialog("copyrights",i.t("copyrightInformation"),d,t).open(!0),s.triggerXAPI("accessed-copyright")})),f.on("embed",(function(){i.openEmbedDialog(p,o.embedCode,o.resizeCode,{width:e.width(),height:e.height()},s),s.triggerXAPI("accessed-embed")})),f.hasActions()&&(u=!0,p.insertAfter(t))}if(e.addClass(u?"h5p-frame":"h5p-no-frame"),i.opened[n]=new Date,i.on(s,"finish",(function(e){void 0!==e.data&&i.setFinished(n,e.data.score,e.data.maxScore,e.data.time)})),i.on(s,"xAPI",i.xAPICompletedListener),!1!==r.saveFreq&&(s.getCurrentState instanceof Function||"function"==typeof s.getCurrentState)){var h,g=function(){var e=s.getCurrentState();void 0!==e&&i.setUserData(n,"state",e,{deleteOnChange:!0}),r.saveFreq&&(h=setTimeout(g,1e3*r.saveFreq))};r.saveFreq&&(h=setTimeout(g,1e3*r.saveFreq)),i.on(s,"xAPI",(function(e){var t=e.getVerb();"completed"!==t&&"progressed"!==t||(clearTimeout(h),h=setTimeout(g,3e3))}))}if(i.isFramed)if(!1===i.externalEmbed){var m=window.frameElement;i.on(s,"resize",(function(){clearTimeout(c),c=setTimeout((function(){!function(){if(!window.parent.H5P.isFullscreen){var e=m.parentElement.style.height;m.parentElement.style.height=m.parentElement.clientHeight+"px",m.getBoundingClientRect(),m.style.height="1px",m.style.height=m.contentDocument.body.scrollHeight+"px",m.parentElement.style.height=e}}()}),1)}))}else if(i.communicator){var y=!1;i.communicator.on("ready",(function(){i.communicator.send("hello")})),i.communicator.on("hello",(function(){y=!0,document.body.style.height="auto",document.body.style.overflow="hidden",i.trigger(s,"resize")})),i.communicator.on("resizePrepared",(function(){i.communicator.send("resize",{scrollHeight:document.body.scrollHeight})})),i.communicator.on("resize",(function(){i.trigger(s,"resize")})),i.on(s,"resize",(function(){i.isFullscreen||(clearTimeout(c),c=setTimeout((function(){y?i.communicator.send("prepareResize",{scrollHeight:document.body.scrollHeight,clientHeight:document.body.clientHeight}):i.communicator.send("hello")}),0))}))}i.isFramed&&!1!==i.externalEmbed||i.jQuery(window.parent).resize((function(){window.parent.H5P.isFullscreen,i.trigger(s,"resize")})),i.instances.push(s),i.trigger(s,"resize"),e.addClass("using-mouse"),e.on("mousedown keydown keyup",(function(t){e.toggleClass("using-mouse","mousedown"===t.type)})),i.externalDispatcher&&i.externalDispatcher.trigger("initialized")})),i.jQuery("iframe.h5p-iframe:not(.h5p-initialized)",e).each((function(){var e=i.jQuery(this).addClass("h5p-initialized").data("content-id");this.contentDocument.open(),this.contentDocument.write('<!doctype html><html class="h5p-iframe"><head>'+i.getHeadTags(e)+'</head><body><div class="h5p-content" data-content-id="'+e+'"/></body></html>'),this.contentDocument.close()}))},i.getHeadTags=function(e){var t=function(e){for(var t="",n=0;n<e.length;n++)t+='<link rel="stylesheet" href="'+e[n]+'">';return t},n=function(e){for(var t="",n=0;n<e.length;n++)t+='<script src="'+e[n]+'"><\/script>';return t};return'<base target="_parent">'+t(r.core.styles)+t(r.contents["cid-"+e].styles)+n(r.core.scripts)+n(r.contents["cid-"+e].scripts)+"<script>H5PIntegration = window.parent.H5PIntegration; var H5P = H5P || {}; H5P.externalEmbed = false;<\/script>"},i.communicator=window.postMessage&&window.addEventListener?new function(){var e={};window.addEventListener("message",(function(t){window.parent===t.source&&"h5p"===t.data.context&&void 0!==e[t.data.action]&&e[t.data.action](t.data)}),!1),this.on=function(t,n){e[t]=n},this.send=function(e,t){void 0===t&&(t={}),t.context="h5p",t.action=e,window.parent.postMessage(t,"*")}}:void 0,i.semiFullScreen=function(e,t,n,r){i.fullScreen(e,t,n,r,!0)},i.fullScreen=function(e,t,n,r,o){if(void 0===i.exitFullScreen){if(i.isFramed&&!1===i.externalEmbed)return window.parent.H5P.fullScreen(e,t,n,i.$body.get(),o),i.isFullscreen=!0,i.exitFullScreen=function(){window.parent.H5P.exitFullScreen()},void i.on(t,"exitFullScreen",(function(){i.isFullscreen=!1,i.exitFullScreen=void 0}));var a,s,c,l=e;if(void 0===r)c=i.$body;else{c=i.jQuery(r),a=c.add(e.get());var u="#h5p-iframe-"+e.parent().data("content-id");e=(s=i.jQuery(u)).parent()}a=e.add(i.$body).add(a);var d=function(e){a.addClass(e),void 0!==s&&s.css("height","")},f=function(){i.trigger(t,"resize"),i.trigger(t,"focus"),i.trigger(t,"enterFullScreen")},p=function(e){i.isFullscreen=!1,a.removeClass(e),i.trigger(t,"resize"),i.trigger(t,"focus"),i.exitFullScreen=void 0,void 0!==n&&n(),i.trigger(t,"exitFullScreen")};if(i.isFullscreen=!0,void 0===i.fullScreenBrowserPrefix||!0===o){if(i.isFramed)return;d("h5p-semi-fullscreen");var h,g,m,y=i.jQuery('<div role="button" tabindex="0" class="h5p-disable-fullscreen" title="'+i.t("disableFullscreen")+'" aria-label="'+i.t("disableFullscreen")+'"></div>').appendTo(l.find(".h5p-content-controls")),v=i.exitFullScreen=function(){g?m.content=g:w.removeChild(m),y.remove(),c.unbind("keyup",h),p("h5p-semi-fullscreen")};h=function(e){27===e.keyCode&&v()},y.click(v),c.keyup(h);for(var b=document.getElementsByTagName("meta"),x=0;x<b.length;x++)if("viewport"===b[x].name){m=b[x],g=m.content;break}if(g||((m=document.createElement("meta")).name="viewport"),m.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0",!g){var w=document.getElementsByTagName("head")[0];w.appendChild(m)}f()}else{d("h5p-fullscreen");var C,T="ms"===i.fullScreenBrowserPrefix?"MSFullscreenChange":i.fullScreenBrowserPrefix+"fullscreenchange";if(document.addEventListener(T,(function(){if(void 0===C)return C=!1,void f();p("h5p-fullscreen"),document.removeEventListener(T,arguments.callee,!1)})),""===i.fullScreenBrowserPrefix)e[0].requestFullScreen();else{var k="ms"===i.fullScreenBrowserPrefix?"msRequestFullscreen":i.fullScreenBrowserPrefix+"RequestFullScreen",E="webkit"===i.fullScreenBrowserPrefix&&0===i.safariBrowser?Element.ALLOW_KEYBOARD_INPUT:void 0;e[0][k](E)}i.exitFullScreen=function(){""===i.fullScreenBrowserPrefix?document.exitFullscreen():"moz"===i.fullScreenBrowserPrefix?document.mozCancelFullScreen():document[i.fullScreenBrowserPrefix+"ExitFullscreen"]()}}}},function(){i.addQueryParameter=function(e,t){let n,r;const i=e.split("?");return i[1]?(r=i[1].split("#"),n=i[0]+"?"+r[0]+"&"):n=(r=i[0].split("#"))[0]+"?",n+=t,r[1]&&(n+="#"+r[1]),n},i.setSource=function(e,t,n){let o=t.path;const a=i.getCrossOrigin(t);a?(e.crossOrigin=a,r.crossoriginCacheBuster&&(o=i.addQueryParameter(o,r.crossoriginCacheBuster))):e.removeAttribute("crossorigin"),e.src=i.getPath(o,n)};var e=function(e){return e.match(/^[a-z0-9]+:\/\//i)};i.getCrossOrigin=function(t){return"object"!=typeof t?r.crossorigin&&r.crossoriginRegex&&t.match(r.crossoriginRegex)?r.crossorigin:null:r.crossorigin&&!e(t.path)?r.crossorigin:void 0},i.getPath=function(t,n){if(e(t))return t;var i,o="#tmp"===t.substr(-4,4);if(void 0===n||o){if(void 0===window.H5PEditor)return;i=H5PEditor.filesPath}else void 0!==r.contents&&r.contents["cid-"+n]&&(i=r.contents["cid-"+n].contentUrl),i||(i=r.url+"/content/"+n);return e(i)||(i=window.location.protocol+"//"+window.location.host+i),i+"/"+t}}(),i.getContentPath=function(e){return r.url+"/content/"+e},i.classFromName=function(e){var t=e.split(".");return this[t[t.length-1]]},i.newRunnable=function(e,t,n,o,a){var s,c,l,u;try{l=(s=e.library.split(" ",2))[0],c=s[1].split(".",2)}catch(t){return i.error("Invalid library string: "+e.library)}if(e.params instanceof Object!=!0||e.params instanceof Array==!0)return i.error("Invalid library params for: "+e.library),i.error(e.params);try{s=s[0].split("."),u=window;for(var d=0;d<s.length;d++)u=u[s[d]];if("function"!=typeof u)throw null}catch(t){return i.error("Unable to find constructor for: "+e.library)}void 0===a&&(a={}),e.subContentId&&(a.subContentId=e.subContentId),e.userDatas&&e.userDatas.state&&r.saveFreq&&(a.previousState=e.userDatas.state),e.metadata&&(a.metadata=e.metadata);var f,p=a.standalone||!1;return u.prototype=i.jQuery.extend({},i.ContentType(p).prototype,u.prototype),void 0===(f=i.jQuery.inArray(e.library,["H5P.CoursePresentation 1.0","H5P.CoursePresentation 1.1","H5P.CoursePresentation 1.2","H5P.CoursePresentation 1.3"])>-1?new u(e.params,t):new u(e.params,t,a)).$&&(f.$=i.jQuery(f)),void 0===f.contentId&&(f.contentId=t),void 0===f.subContentId&&e.subContentId&&(f.subContentId=e.subContentId),void 0===f.parent&&a&&a.parent&&(f.parent=a.parent),void 0===f.libraryInfo&&(f.libraryInfo={versionedName:e.library,versionedNameNoSpaces:l+"-"+c[0]+"."+c[1],machineName:l,majorVersion:c[0],minorVersion:c[1]}),void 0!==n&&(n.toggleClass("h5p-standalone",p),f.attach(n),i.trigger(f,"domChanged",{$target:n,library:l,key:"newLibrary"},{bubbles:!0,external:!0}),void 0!==o&&o||i.trigger(f,"resize")),f},i.error=function(e){void 0!==window.console&&void 0!==console.error&&console.error(e.stack?e.stack:e)},i.t=function(e,t,n){if(void 0===n&&(n="H5P"),void 0===r.l10n[n])return'[Missing translation namespace "'+n+'"]';if(void 0===r.l10n[n][e])return'[Missing translation "'+e+'" in "'+n+'"]';var i=r.l10n[n][e];if(void 0!==t)for(var o in t)i=i.replace(o,t[o]);return i},i.Dialog=function(e,t,n,r){var o=this,a=i.jQuery('<div class="h5p-popup-dialog h5p-'+e+'-dialog" role="dialog" tabindex="-1"> <div class="h5p-inner"> <h2>'+t+'</h2> <div class="h5p-scroll-content">'+n+'</div> <div class="h5p-close" role="button" tabindex="0" aria-label="'+i.t("close")+'" title="'+i.t("close")+'"></div> </div> </div>').insertAfter(r).click((function(e){e&&e.originalEvent&&e.originalEvent.preventClosing||o.close()})).children(".h5p-inner").click((function(e){e.originalEvent.preventClosing=!0})).find(".h5p-close").click((function(){o.close()})).keypress((function(e){if(13===e.which||32===e.which)return o.close(),!1})).end().find("a").click((function(e){e.stopPropagation()})).end().end();o.open=function(e){e&&a.css("height","100%"),setTimeout((function(){a.addClass("h5p-open"),i.jQuery(o).trigger("dialog-opened",[a]),a.focus()}),1)},o.close=function(){a.removeClass("h5p-open"),setTimeout((function(){a.remove(),i.jQuery(o).trigger("dialog-closed",[a]),r.attr("tabindex","-1"),r.focus()}),200)}},i.getCopyrights=function(e,t,n,r){var o;if(void 0!==e.getCopyrights)try{o=e.getCopyrights()}catch(e){}void 0===o&&(o=new i.ContentCopyrights,i.findCopyrights(o,t,n));var a=i.buildMetadataCopyrights(r,e.libraryInfo.machineName);return void 0!==a&&o.addMediaInFront(a),void 0!==o&&(o=o.toString()),o},i.findCopyrights=function(e,t,n,r){var o;for(var a in r&&(r.params=t,l(r,r.machineName,n)),t)if(t.hasOwnProperty(a))if("overrideSettings"!==a){var s=t[a];if(s&&s.library&&"string"==typeof s.library?o=s.library.split(" ")[0]:s&&s.library&&"object"==typeof s.library&&(o=s.library.library&&"string"==typeof s.library.library?s.library.library.split(" ")[0]:o),s instanceof Array)i.findCopyrights(e,s,n);else if(s instanceof Object)if(l(s,o,n),void 0===s.copyright||void 0===s.copyright.license||void 0===s.path||void 0===s.mime)i.findCopyrights(e,s,n);else{var c=new i.MediaCopyright(s.copyright);void 0!==s.width&&void 0!==s.height&&c.setThumbnail(new i.Thumbnail(i.getPath(s.path,n),s.width,s.height)),e.addMedia(c)}}else console.warn("The semantics field 'overrideSettings' is DEPRECATED and should not be used."),console.warn(t);function l(t,n,r){if(t.metadata){const o=i.buildMetadataCopyrights(t.metadata,n);if(void 0!==o){if(t.params&&"Image"===t.params.contentName&&t.params.file){const e=t.params.file.path,n=t.params.file.width,a=t.params.file.height;o.setThumbnail(new i.Thumbnail(i.getPath(e,r),n,a))}e.addMedia(o)}}}},i.buildMetadataCopyrights=function(e){if(e&&void 0!==e.license&&"U"!==e.license){var t={contentType:e.contentType,title:e.title,author:e.authors&&e.authors.length>0?e.authors.map((function(e){return e.role?e.name+" ("+e.role+")":e.name})).join(", "):void 0,source:e.source,year:e.yearFrom?e.yearFrom+(e.yearTo?"-"+e.yearTo:""):void 0,license:e.license,version:e.licenseVersion,licenseExtras:e.licenseExtras,changes:e.changes&&e.changes.length>0?e.changes.map((function(e){return e.log+(e.author?", "+e.author:"")+(e.date?", "+e.date:"")})).join(" / "):void 0};return new i.MediaCopyright(t)}},i.openReuseDialog=function(e,t,n,r,o){let a="";t.displayOptions.export&&(a+='<button type="button" class="h5p-big-button h5p-download-button"><div class="h5p-button-title">Download as an .h5p file</div><div class="h5p-button-description">.h5p files may be uploaded to any web-site where H5P content may be created.</div></button>'),t.displayOptions.export&&t.displayOptions.copy&&(a+='<div class="h5p-horizontal-line-text"><span>or</span></div>'),t.displayOptions.copy&&(a+='<button type="button" class="h5p-big-button h5p-copy-button"><div class="h5p-button-title">Copy content</div><div class="h5p-button-description">Copied content may be pasted anywhere this content type is supported on this website.</div></button>');const s=new i.Dialog("reuse",i.t("reuseContent"),a,e);i.jQuery(s).on("dialog-opened",(function(e,a){i.jQuery('<a href="https://h5p.org/node/442225" target="_blank">More Info</a>').click((function(e){e.stopPropagation()})).appendTo(a.find("h2")),a.find(".h5p-download-button").click((function(){window.location.href=t.exportUrl,r.triggerXAPI("downloaded"),s.close()})),a.find(".h5p-copy-button").click((function(){const e=new i.ClipboardItem(n);e.contentId=o,i.setClipboard(e),r.triggerXAPI("copied"),s.close(),i.attachToastTo(i.jQuery(".h5p-content:first")[0],i.t("contentCopied"),{position:{horizontal:"centered",vertical:"centered",noOverflowX:!0}})})),i.trigger(r,"resize")})).on("dialog-closed",(function(){i.trigger(r,"resize")})),s.open()},i.openEmbedDialog=function(e,t,n,r,o){var a=t+n,s=new i.Dialog("embed",i.t("embed"),'<textarea class="h5p-embed-code-container" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>'+i.t("size")+': <input type="text" value="'+Math.ceil(r.width)+'" class="h5p-embed-size"/> × <input type="text" value="'+Math.ceil(r.height)+'" class="h5p-embed-size"/> px<br/><div role="button" tabindex="0" class="h5p-expander">'+i.t("showAdvanced")+'</div><div class="h5p-expander-content"><p>'+i.t("advancedHelp")+'</p><textarea class="h5p-embed-code-container" autocorrect="off" autocapitalize="off" spellcheck="false">'+n+"</textarea></div>",e);i.jQuery(s).on("dialog-opened",(function(e,t){var n=t.find(".h5p-inner").find(".h5p-scroll-content"),s=(n.outerHeight(),n.innerHeight(),function(){i.trigger(o,"resize")}),c=t.find(".h5p-embed-size:eq(0)"),l=t.find(".h5p-embed-size:eq(1)"),u=function(e,t){var n=parseFloat(e.val());return isNaN(n)?t:Math.ceil(n)},d=function(){t.find(".h5p-embed-code-container:first").val(a.replace(":w",u(c,r.width)).replace(":h",u(l,r.height)))};c.change(d),l.change(d),d(),t.find(".h5p-embed-code-container").each((function(){i.jQuery(this).css("height",this.scrollHeight+"px").focus((function(){i.jQuery(this).select()}))})),t.find(".h5p-embed-code-container").eq(0).select(),s();var f=function(){var e=i.jQuery(this),n=e.next();n.is(":visible")?(e.removeClass("h5p-open").text(i.t("showAdvanced")).attr("aria-expanded","true"),n.hide()):(e.addClass("h5p-open").text(i.t("hideAdvanced")).attr("aria-expanded","false"),n.show()),t.find(".h5p-embed-code-container").each((function(){i.jQuery(this).css("height",this.scrollHeight+"px")})),s()};t.find(".h5p-expander").click(f).keypress((function(e){if(32===e.keyCode)return f.apply(this),!1}))})).on("dialog-closed",(function(){i.trigger(o,"resize")})),s.open()},i.attachToastTo=function(e,t,n){if(void 0===e||void 0===t)return;const r=function(t){-1===function(e){var t=e.composedPath&&e.composedPath()||e.path,n=e.target;if(null!=t)return t.indexOf(window)<0?t.concat(window):t;if(n===window)return[window];return[n].concat(function e(t,n){n=n||[];var r=t.parentNode;return r?e(r,n.concat(r)):n}(n),window)}(t).indexOf(e)&&(clearTimeout(c),i())},i=function(){document.removeEventListener("click",r),o.parentNode&&o.parentNode.removeChild(o)};(n=n||{}).style=n.style||"h5p-toast",n.duration=n.duration||3e3;const o=document.createElement("div");o.setAttribute("id",n.style),o.classList.add("h5p-toast-disabled"),o.classList.add(n.style);const a=document.createElement("span");a.innerHTML=t,o.appendChild(a),document.body.appendChild(o);const s=function(e,t,n){(n=n||{}).offsetHorizontal=n.offsetHorizontal||0,n.offsetVertical=n.offsetVertical||0;const r=t.getBoundingClientRect(),i=e.getBoundingClientRect();let o=0,a=0;switch(n.horizontal){case"before":o=i.left-r.width-n.offsetHorizontal;break;case"after":o=i.left+i.width+n.offsetHorizontal;break;case"left":o=i.left+n.offsetHorizontal;break;case"right":o=i.left+i.width-r.width-n.offsetHorizontal;break;case"centered":o=i.left+i.width/2-r.width/2+n.offsetHorizontal;break;default:o=i.left+i.width/2-r.width/2+n.offsetHorizontal}switch(n.vertical){case"above":a=i.top-r.height-n.offsetVertical;break;case"below":a=i.top+i.height+n.offsetVertical;break;case"top":a=i.top+n.offsetVertical;break;case"bottom":a=i.top+i.height-r.height-n.offsetVertical;break;case"centered":a=i.top+i.height/2-r.height/2+n.offsetVertical;break;default:a=i.top+i.height+n.offsetVertical}const s=document.body.getBoundingClientRect();return(n.noOverflowLeft||n.noOverflowX)&&o<s.x&&(o=s.x),(n.noOverflowRight||n.noOverflowX)&&o+r.width>s.x+s.width&&(o=s.x+s.width-r.width),(n.noOverflowTop||n.noOverflowY)&&a<s.y&&(a=s.y),(n.noOverflowBottom||n.noOverflowY)&&a+r.height>s.y+s.height&&(o=s.y+s.height-r.height),{left:o,top:a}}(e,o,n.position);o.style.left=Math.round(s.left)+"px",o.style.top=Math.round(s.top)+"px",o.classList.remove("h5p-toast-disabled");const c=setTimeout(i,n.duration);document.addEventListener("click",r)},i.ContentCopyrights=function(){var e,t=[],n=[];this.setLabel=function(t){e=t},this.addMedia=function(e){void 0!==e&&t.push(e)},this.addMediaInFront=function(e){void 0!==e&&t.unshift(e)},this.addContent=function(e){void 0!==e&&n.push(e)},this.toString=function(){for(var r="",i=0;i<t.length;i++)r+=t[i];for(i=0;i<n.length;i++)r+=n[i];return""!==r&&(void 0!==e&&(r="<h3>"+e+"</h3>"+r),r='<div class="h5p-content-copyrights">'+r+"</div>"),r}},i.MediaCopyright=function(e,t,n,r){var o,a=new i.DefinitionList,s=function(e){return void 0===t||void 0===t[e]?i.t(e):t[e]},c=function(e,t){var n,r,o=i.copyrightLicenses[e],a="";"PD"===e&&t||(a+=o.hasOwnProperty("label")?o.label:o),o.versions&&(!o.versions.default||t&&o.versions[t]||(t=o.versions.default),t&&o.versions[t]&&(n=o.versions[t])),n&&(a&&(a+=" "),a+=n.hasOwnProperty("label")?n.label:n),o.hasOwnProperty("link")?r=o.link.replace(":version",o.linkVersions?o.linkVersions[t]:t):n&&o.hasOwnProperty("link")&&(r=n.link),r&&(a='<a href="'+r+'" target="_blank">'+a+"</a>");var s="";return"PD"!==e&&"C"!==e&&(s+=e),t&&"CC0 1.0"!==t&&(s&&"GNU GPL"!==e&&(s+=" "),s+=t),s&&(a+=" ("+s+")"),"C"===e&&(a+=" ©"),a};if(void 0!==e){for(var l in r)r.hasOwnProperty(l)&&(e[l]=r[l]);void 0===n&&(n=["contentType","title","license","author","year","source","licenseExtras","changes"]);for(var u=0;u<n.length;u++){var d=n[u];if(void 0!==e[d]&&""!==e[d]){var f=e[d];"license"===d&&(f=c(e.license,e.version)),"source"===d&&(f=f?'<a href="'+f+'" target="_blank">'+f+"</a>":void 0),a.add(new i.Field(s(d),f))}}}this.setThumbnail=function(e){o=e},this.undisclosed=function(){if(1===a.size()){var e=a.get(0);if(e.getLabel()===s("license")&&e.getValue()===c("U"))return!0}return!1},this.toString=function(){var e="";return this.undisclosed()?e:(void 0!==o&&(e+=o),""!==(e+=a)&&(e='<div class="h5p-media-copyright">'+e+"</div>"),e)}},i.Thumbnail=function(e,t,n){var r;void 0!==t&&(r=Math.round(t/n*100)),this.toString=function(){return'<img src="'+e+'" alt="'+i.t("thumbnail")+'" class="h5p-thumbnail" height="100"'+(void 0===r?"":' width="'+r+'"')+"/>"}},i.Field=function(e,t){this.getLabel=function(){return e},this.getValue=function(){return t}},i.DefinitionList=function(){var e=[];this.add=function(t){e.push(t)},this.size=function(){return e.length},this.get=function(t){return e[t]},this.toString=function(){for(var t="",n=0;n<e.length;n++){var r=e[n];t+="<dt>"+r.getLabel()+"</dt><dd>"+r.getValue()+"</dd>"}return""===t?t:'<dl class="h5p-definition-list">'+t+"</dl>"}},i.Coords=function(e,t,n,r){return this instanceof i.Coords?(this.x=0,this.y=0,this.w=1,this.h=1,"object"==typeof e?(this.x=e.x,this.y=e.y,this.w=e.w,this.h=e.h):(void 0!==e&&(this.x=e),void 0!==t&&(this.y=t),void 0!==n&&(this.w=n),void 0!==r&&(this.h=r)),this):new i.Coords(e,t,n,r)},i.libraryFromString=function(e){var t=/(.+)\s(\d+)\.(\d+)$/g.exec(e);return null!==t&&{machineName:t[1],majorVersion:parseInt(t[2]),minorVersion:parseInt(t[3])}},i.getLibraryPath=function(e){return void 0!==r.urlLibraries?r.urlLibraries+"/"+e:r.url+"/libraries/"+e},i.cloneObject=function(e,t){var n=e instanceof Array?[]:{};for(var r in e)e.hasOwnProperty(r)&&(void 0!==t&&t&&"object"==typeof e[r]?n[r]=i.cloneObject(e[r],t):n[r]=e[r]);return n},i.trim=function(e){return e.replace(/^\s+|\s+$/g,"")},i.jsLoaded=function(e){return r.loadedJs=r.loadedJs||[],-1!==i.jQuery.inArray(e,r.loadedJs)},i.cssLoaded=function(e){return r.loadedCss=r.loadedCss||[],-1!==i.jQuery.inArray(e,r.loadedCss)},i.shuffleArray=function(e){if(e instanceof Array){var t,n,r,i=e.length;if(0===i)return!1;for(;--i;)t=Math.floor(Math.random()*(i+1)),n=e[i],r=e[t],e[i]=r,e[t]=n;return e}},i.setFinished=function(e,t,n,o){if(("number"==typeof t||t instanceof Number)&&!0===r.postUserStatistics){var a=function(e){return Math.round(e.getTime()/1e3)};const s={contentId:e,score:t,maxScore:n,opened:a(i.opened[e]),finished:a(new Date),time:o};i.jQuery.post(r.ajax.setFinished,s).fail((function(){i.offlineRequestQueue.add(r.ajax.setFinished,s)}))}},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),void 0===String.prototype.trim&&(String.prototype.trim=function(){return i.trim(this)}),i.trigger=function(e,t,n,r){void 0!==e.trigger?e.trigger(t,n,r):void 0!==e.$&&void 0!==e.$.trigger&&e.$.trigger(t)},i.on=function(e,t,n){void 0!==e.on?e.on(t,n):void 0!==e.$&&void 0!==e.$.on&&e.$.on(t,n)},i.createUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},i.createTitle=function(e,t){if(!e)return"";void 0===t&&(t=60);var n=i.jQuery("<div></div>").text(e.replace(/(<([^>]+)>)/gi,"")).text();return n.length>t&&(n=n.substr(0,t-3)+"..."),n},function(e){function t(t,n,i,o,a,s,c,l){if(void 0!==r.user){var u={url:r.ajax.contentUserData.replace(":contentId",t).replace(":dataType",n).replace(":subContentId",i||0),dataType:"json",async:void 0===l||l};void 0!==a?(u.type="POST",u.data={data:null===a?0:a,preload:s?1:0,invalidate:c?1:0}):u.type="GET",void 0!==o&&(u.error=function(e,t){o(t)},u.success=function(e){e.success?!1!==e.data&&void 0!==e.data?o(void 0,e.data):o():o(e.message)}),e.ajax(u)}else o("Not signed in.")}i.getUserData=function(e,n,i,o){o||(o=0),r.contents=r.contents||{};var a=r.contents["cid-"+e]||{},s=a.contentUserData;if(s&&s[o]&&void 0!==s[o][n]){if("RESET"===s[o][n])return void i(void 0,null);try{i(void 0,JSON.parse(s[o][n]))}catch(e){i(e)}}else t(e,n,o,(function(e,t){if(e||void 0===t)i(e,t);else{void 0===a.contentUserData&&(a.contentUserData=s={}),void 0===s[o]&&(s[o]={}),s[o][n]=t;try{i(void 0,JSON.parse(t))}catch(e){i(e)}}}))},i.setUserData=function(e,n,o,a){var s=i.jQuery.extend(!0,{},{subContentId:0,preloaded:!0,deleteOnChange:!1,async:!0},a);try{o=JSON.stringify(o)}catch(e){return void(s.errorCallback&&s.errorCallback(e))}var c=r.contents["cid-"+e];void 0===c&&(c=r.contents["cid-"+e]={}),c.contentUserData||(c.contentUserData={});var l=c.contentUserData;void 0===l[s.subContentId]&&(l[s.subContentId]={}),o!==l[s.subContentId][n]&&(l[s.subContentId][n]=o,t(e,n,s.subContentId,(function(e){s.errorCallback&&e&&s.errorCallback(e)}),o,s.preloaded,s.deleteOnChange,s.async))},i.deleteUserData=function(e,n,i){i||(i=0);var o=r.contents["cid-"+e].contentUserData;o&&o[i]&&o[i][n]&&delete o[i][n],t(e,n,i,void 0,null)},i.getContentForInstance=function(e){var t="cid-"+e;return r&&r.contents&&r.contents[t]?r.contents[t]:void 0},i.ClipboardItem=function(e,t,n){var r=this;t||(t="action",e={action:e}),r.specific=e,t&&e[t]&&(r.generic=t),n&&(r.from=n),window.H5PEditor&&H5PEditor.contentId&&(r.contentId=H5PEditor.contentId),r.specific.width||r.specific.height||function(){if(r.generic){var e=r.specific[r.generic];e.params.file&&e.params.file.width&&e.params.file.height&&(r.width=20,r.height=e.params.file.height/e.params.file.width*r.width)}}()},i.clipboardify=function(e){e instanceof i.ClipboardItem||(e=new i.ClipboardItem(e)),i.setClipboard(e)},i.getClipboard=function(){return n()},i.setClipboard=function(e){localStorage.setItem("h5pClipboard",JSON.stringify(e)),i.externalDispatcher.trigger("datainclipboard",{reset:!1})},i.getLibraryConfig=function(e){return r.libraryConfig&&r.libraryConfig[e]?r.libraryConfig[e]:{}};var n=function(){var e=localStorage.getItem("h5pClipboard");if(e){try{e=JSON.parse(e)}catch(e){return void console.error("Unable to parse JSON from clipboard.",e)}return o(e.specific,(function(t){return"#tmp"===t.substr(-4,4)||!e.contentId||t.match(/^https?:\/\//i)?t:H5PEditor.contentId?"../"+e.contentId+"/"+t:(H5PEditor.contentRelUrl?H5PEditor.contentRelUrl:"../content/")+e.contentId+"/"+t})),e.generic&&(e.generic=e.specific[e.generic]),e}},o=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]instanceof Object){var r=e[n];void 0!==r.path&&void 0!==r.mime?r.path=t(r.path):(void 0!==r.library&&void 0!==r.subContentId&&delete r.subContentId,o(r,t))}};e(document).ready((function(){window.addEventListener("storage",(function(e){"h5pClipboard"===e.key&&i.externalDispatcher.trigger("datainclipboard",{reset:null===e.newValue})}));var e={default:"4.0","4.0":i.t("licenseCC40"),"3.0":i.t("licenseCC30"),2.5:i.t("licenseCC25"),"2.0":i.t("licenseCC20"),"1.0":i.t("licenseCC10")};if(i.copyrightLicenses={U:i.t("licenseU"),"CC BY":{label:i.t("licenseCCBY"),link:"http://creativecommons.org/licenses/by/:version",versions:e},"CC BY-SA":{label:i.t("licenseCCBYSA"),link:"http://creativecommons.org/licenses/by-sa/:version",versions:e},"CC BY-ND":{label:i.t("licenseCCBYND"),link:"http://creativecommons.org/licenses/by-nd/:version",versions:e},"CC BY-NC":{label:i.t("licenseCCBYNC"),link:"http://creativecommons.org/licenses/by-nc/:version",versions:e},"CC BY-NC-SA":{label:i.t("licenseCCBYNCSA"),link:"http://creativecommons.org/licenses/by-nc-sa/:version",versions:e},"CC BY-NC-ND":{label:i.t("licenseCCBYNCND"),link:"http://creativecommons.org/licenses/by-nc-nd/:version",versions:e},"CC0 1.0":{label:i.t("licenseCC010"),link:"https://creativecommons.org/publicdomain/zero/1.0/"},"GNU GPL":{label:i.t("licenseGPL"),link:"http://www.gnu.org/licenses/gpl-:version-standalone.html",linkVersions:{v3:"3.0",v2:"2.0",v1:"1.0"},versions:{default:"v3",v3:i.t("licenseV3"),v2:i.t("licenseV2"),v1:i.t("licenseV1")}},PD:{label:i.t("licensePD"),versions:{"CC0 1.0":{label:i.t("licenseCC010"),link:"https://creativecommons.org/publicdomain/zero/1.0/"},"CC PDM":{label:i.t("licensePDM"),link:"https://creativecommons.org/publicdomain/mark/1.0/"}}},"ODC PDDL":'<a href="http://opendatacommons.org/licenses/pddl/1.0/" target="_blank">Public Domain Dedication and Licence</a>',"CC PDM":{label:i.t("licensePDM"),link:"https://creativecommons.org/publicdomain/mark/1.0/"},C:i.t("licenseC")},i.isFramed&&!1===i.externalEmbed&&i.externalDispatcher.on("*",(function(e){window.parent.H5P.externalDispatcher.trigger.call(this,e)})),i.preventInit||i.init(document.body),!1!==r.saveFreq){var t=0,n=function(){var e=(new Date).getTime();if(e-t>250){t=e;for(var n=0;n<i.instances.length;n++){var r=i.instances[n];if(r.getCurrentState instanceof Function||"function"==typeof r.getCurrentState){var o=r.getCurrentState();void 0!==o&&i.setUserData(r.contentId,"state",o,{deleteOnChange:!0,async:!1})}}}};i.$window.one("beforeunload unload",(function(){i.$window.off("pagehide beforeunload unload"),n()})),i.$window.on("pagehide",n)}}))}(i.jQuery),e.exports=i},function(e,t){var n={l10n:{H5P:{fullscreen:"Fullscreen",disableFullscreen:"Disable fullscreen",download:"Download",copyrights:"Rights of use",embed:"Embed",size:"Size",showAdvanced:"Show advanced",hideAdvanced:"Hide advanced",advancedHelp:"Include this script on your website if you want dynamic sizing of the embedded content:",copyrightInformation:"Rights of use",close:"Close",title:"Title",author:"Author",year:"Year",source:"Source",license:"License",thumbnail:"Thumbnail",noCopyrights:"No copyright information available for this content.",reuse:"Reuse",reuseContent:"Reuse Content",reuseDescription:"Reuse this content.",downloadDescription:"Download this content as a H5P file.",copyrightsDescription:"View copyright information for this content.",embedDescription:"View the embed code for this content.",h5pDescription:"Visit H5P.org to check out more cool content.",contentChanged:"This content has changed since you last used it.",startingOver:"You'll be starting over.",by:"by",showMore:"Show more",showLess:"Show less",subLevel:"Sublevel",confirmDialogHeader:"Confirm action",confirmDialogBody:"Please confirm that you wish to proceed. This action is not reversible.",cancelLabel:"Cancel",confirmLabel:"Confirm",licenseU:"Undisclosed",licenseCCBY:"Attribution",licenseCCBYSA:"Attribution-ShareAlike",licenseCCBYND:"Attribution-NoDerivs",licenseCCBYNC:"Attribution-NonCommercial",licenseCCBYNCSA:"Attribution-NonCommercial-ShareAlike",licenseCCBYNCND:"Attribution-NonCommercial-NoDerivs",licenseCC40:"4.0 International",licenseCC30:"3.0 Unported",licenseCC25:"2.5 Generic",licenseCC20:"2.0 Generic",licenseCC10:"1.0 Generic",licenseGPL:"General Public License",licenseV3:"Version 3",licenseV2:"Version 2",licenseV1:"Version 1",licensePD:"Public Domain",licenseCC010:"CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",licensePDM:"Public Domain Mark",licenseC:"Copyright",contentType:"Content Type",licenseExtras:"License Extras",changes:"Changelog",contentCopied:"Content is copied to the clipboard",connectionLost:"Connection lost. Results will be stored and sent when you regain connection.",connectionReestablished:"Connection reestablished.",resubmitScores:"Attempting to submit stored results.",offlineDialogHeader:"Your connection to the server was lost",offlineDialogBody:"We were unable to send information about your completion of this task. Please check your internet connection.",offlineDialogRetryMessage:"Retrying in :num....",offlineDialogRetryButtonLabel:"Retry now",offlineSuccessfulSubmit:"Successfully submitted results."}}};window.H5PIntegration=n},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new N(r||[]);return o._invoke=function(e,t,n){var r=u;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?p:d,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u="suspendedStart",d="suspendedYield",f="executing",p="completed",h={};function g(){}function m(){}function y(){}var v={};v[o]=function(){return this};var b=Object.getPrototypeOf,x=b&&b(b(P([])));x&&x!==n&&r.call(x,o)&&(v=x);var w=y.prototype=g.prototype=Object.create(v);function C(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function T(e){var t;this._invoke=function(n,i){function o(){return new Promise((function(t,o){!function t(n,i,o,a){var s=l(e[n],e,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(u).then((function(e){c.value=e,o(c)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}(n,i,t,o)}))}return t=t?t.then(o,o):o()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return m.prototype=w.constructor=y,y.constructor=m,y[s]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},C(T.prototype),T.prototype[a]=function(){return this},e.AsyncIterator=T,e.async=function(t,n,r,i){var o=new T(c(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=P,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r,i,o;i=[t,e],void 0===(o="function"==typeof(r=function(e,t){"use strict";var n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.edges=[],this.Toposort=e}return e.prototype.add=function(e,t){if("string"!=typeof e||!e)throw new TypeError("Dependent name must be given as a not empty string");if((t=Array.isArray(t)?t:[t]).length>0){var n=t,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;if("string"!=typeof a||!a)throw new TypeError("Dependency name must be given as a not empty string");this.edges.push([e,a])}}else this.edges.push([e]);return this},e.prototype.sort=function(){var e=this,t=[],n=this.edges,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=b=o,s=Array.isArray(a),c=0;for(a=s?a:a[Symbol.iterator]();;){var l;if(s){if(c>=a.length)break;l=a[c++]}else{if((c=a.next()).done)break;l=c.value}var u=l;-1===t.indexOf(u)&&t.push(u)}}for(var d=t.length,f=new Array(t.length),p=function n(r,i){if(0!==i.length&&-1!==i.indexOf(r))throw new Error("Cyclic dependency found. "+r+" is dependent of itself.\nDependency chain: "+i.join(" -> ")+" => "+r);var o=t.indexOf(r);if(-1!==o){var a=!1;t[o]=!1;var s=e.edges,c=Array.isArray(s),l=0;for(s=c?s:s[Symbol.iterator]();;){var u;if(c){if(l>=s.length)break;u=s[l++]}else{if((l=s.next()).done)break;u=l.value}var p=u;p[0]===r&&(a=a||i.concat([r]),n(p[1],a))}f[--d]=r}},h=0;h<t.length;h++)if(!1!==(u=t[h])){t[h]=!1;var g=this.edges,m=Array.isArray(g),y=0;for(g=m?g:g[Symbol.iterator]();;){var v,b;if(m){if(y>=g.length)break;v=g[y++]}else{if((y=g.next()).done)break;v=y.value}(b=v)[0]===u&&p(b[1],[u])}f[--d]=u}return f},e.prototype.clear=function(){return this.edges=[],this},e}();t.exports=n})?r.apply(t,i):r)||(e.exports=o)},,,,,function(e,t,n){"use strict";n.r(t);n(13);var r=n(0),i=n.n(r),o=n(1),a=n.n(o),s=n(9),c=n.n(s),l=n(10),u=n.n(l),d=n(11),f=n.n(d),p=n(12),h=n.n(p);H5PIntegration=window.H5PIntegration;var g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"workspace",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return c()(this,e),this.id=r.id||Math.random().toString(36).substr(2,9),this.path=n,this.initElement(t),this.initH5P(r.frameCss,r.frameJs,i,r.preventH5PInit)}var t,n,r,o;return u()(e,[{key:"initElement",value:function(e){if(!(e instanceof HTMLElement))throw new Error("createH5P must be passed an element");e.innerHTML='<div class="h5p-iframe-wrapper" style="background-color:#DDD;">\n <iframe id="h5p-iframe-'.concat(this.id,'" class="h5p-iframe" data-content-id="').concat(this.id,'" style="width: 100%; height: 100%; border: none; display: block;" src="about:blank" frameBorder="0"></iframe>\n </div>')}},{key:"initH5P",value:(o=a()(i.a.mark((function e(){var t,n,r,o,a,s,c,l,u=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=u.length>0&&void 0!==u[0]?u[0]:"./styles/h5p.css",n=u.length>1&&void 0!==u[1]?u[1]:"./frame.bundle.js",r=u.length>2?u[2]:void 0,u.length>3&&u[3],e.next=6,this.getJSON("".concat(this.path,"/h5p.json"));case 6:return this.h5p=e.sent,e.next=9,this.getJSON("".concat(this.path,"/content/content.json"));case 9:return o=e.sent,e.next=12,this.checkIfPathIncludesVersion();case 12:return H5PIntegration.pathIncludesVersion=this.pathIncludesVersion=e.sent,e.next=15,this.findMainLibrary();case 15:return this.mainLibrary=e.sent,e.next=18,this.findAllDependencies();case 18:a=e.sent,s=this.sortDependencies(a),c=s.styles,l=s.scripts,H5PIntegration.url=this.path,H5PIntegration.contents=H5PIntegration.contents?H5PIntegration.contents:{},H5PIntegration.core={styles:[t],scripts:[n]},H5PIntegration.contents["cid-".concat(this.id)]={library:"".concat(this.mainLibrary.machineName," ").concat(this.mainLibrary.majorVersion,".").concat(this.mainLibrary.minorVersion),jsonContent:JSON.stringify(o),styles:c,scripts:l,displayOptions:r},h.a.init();case 25:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"getJSON",value:function(e){return fetch(e).then((function(e){return e.json()}))}},{key:"checkIfPathIncludesVersion",value:(r=a()(i.a.mark((function e(){var t,n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.h5p.preloadedDependencies[0],n=t.machineName+"-"+t.majorVersion+"."+t.minorVersion,e.prev=2,e.next=5,this.getJSON("".concat(this.path,"/").concat(n,"/library.json"));case 5:r=!0,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(2),r=!1;case 11:return e.abrupt("return",r);case 12:case"end":return e.stop()}}),e,this,[[2,8]])}))),function(){return r.apply(this,arguments)})},{key:"libraryPath",value:function(e){return e.machineName+(this.pathIncludesVersion?"-"+e.majorVersion+"."+e.minorVersion:"")}},{key:"findMainLibrary",value:function(){var e=this,t=this.h5p.preloadedDependencies.find((function(t){return t.machineName===e.h5p.mainLibrary}));return this.mainLibraryPath=this.h5p.mainLibrary+(this.pathIncludesVersion?"-"+t.majorVersion+"."+t.minorVersion:""),this.getJSON("".concat(this.path,"/").concat(this.mainLibraryPath,"/library.json"))}},{key:"findAllDependencies",value:function(){var e=this,t=this.h5p.preloadedDependencies.map((function(t){return e.libraryPath(t)}));return this.loadDependencies(t,[])}},{key:"loadDependencies",value:(n=a()(i.a.mark((function e(t,n){var r,o,a,s=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n,o=[],e.next=4,Promise.all(t.map((function(e){return s.findLibraryDependencies(e)})));case 4:if((a=e.sent).forEach((function(e){r.push(e),e.dependencies.forEach((function(e){r.find((function(t){return t.libraryPath===e}))||a.find((function(t){return t.libraryPath===e}))||o.push(e)}))})),!(o.length>0)){e.next=8;break}return e.abrupt("return",this.loadDependencies(o,r));case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"findLibraryDependencies",value:(t=a()(i.a.mark((function e(t){var n,r,o,a=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getJSON("".concat(this.path,"/").concat(t,"/library.json"));case 2:return n=e.sent,r=this.libraryPath(n),o=[],n.preloadedDependencies&&(o=n.preloadedDependencies.map((function(e){return a.libraryPath(e)}))),e.abrupt("return",{libraryPath:r,dependencies:o,preloadedCss:n.preloadedCss,preloadedJs:n.preloadedJs});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"sortDependencies",value:function(e){var t=this,n=new f.a,r={},i={};e.forEach((function(e){n.add(e.libraryPath,e.dependencies),e.preloadedCss&&(r[e.libraryPath]=r[e.libraryPath]?r[e.libraryPath]:[],e.preloadedCss.forEach((function(n){r[e.libraryPath].push("".concat(t.path,"/").concat(e.libraryPath,"/").concat(n.path))}))),e.preloadedJs&&(i[e.libraryPath]=i[e.libraryPath]?i[e.libraryPath]:[],e.preloadedJs.forEach((function(n){i[e.libraryPath].push("".concat(t.path,"/").concat(e.libraryPath,"/").concat(n.path))})))}));var o=[],a=[];return n.sort().reverse().forEach((function(e){Array.prototype.push.apply(o,r[e]),Array.prototype.push.apply(a,i[e])})),this.mainLibrary.preloadedCss&&Array.prototype.push.apply(o,this.mainLibrary.preloadedCss.map((function(e){return"".concat(t.path,"/").concat(t.mainLibraryPath,"/").concat(e.path)}))),this.mainLibrary.preloadedJs&&Array.prototype.push.apply(a,this.mainLibrary.preloadedJs.map((function(e){return"".concat(t.path,"/").concat(t.mainLibraryPath,"/").concat(e.path)}))),{styles:o,scripts:a}}}]),e}();n(4),n(5),n(6),n(7);window.H5P.preventInit=!0;t.default={H5P:g}}]).default})); |