Skip to content
Permalink
383bfe26d4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
107 lines (105 sloc) 277 KB
window.ally_61cce107227eabdf27c3=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=92)}([function(e,t,n){var r;
/*!
* jQuery JavaScript Library v3.3.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2018-01-20T17:24Z
*/!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,l=Object.getPrototypeOf,s=o.slice,c=o.concat,u=o.push,f=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,m=h.toString,g=m.call(Object),v={},E=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},I={type:!0,src:!0,noModule:!0};function _(e,t,n){var r,i=(t=t||a).createElement("script");if(i.text=e,n)for(r in I)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function A(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e}var b=function(e,t){return new b.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function C(e){var t=!!e&&"length"in e&&e.length,n=A(e);return!E(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}b.fn=b.prototype={jquery:"3.3.1",constructor:b,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},b.extend=b.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},l=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"==typeof a||E(a)||(a={}),l===s&&(a=this,l--);l<s;l++)if(null!=(e=arguments[l]))for(t in e)n=a[t],a!==(r=e[t])&&(c&&r&&(b.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&b.isPlainObject(n)?n:{},a[t]=b.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},b.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e))&&(!(t=l(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&m.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){_(e)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!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:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?b.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:f.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return c.apply([],a)},guid:1,support:v}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=o[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var O=
/*!
* Sizzle CSS Selector Engine v2.3.3
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-08-08
*/
function(e){var t,n,r,i,o,a,l,s,c,u,f,d,p,h,m,g,v,E,y,I="sizzle"+1*new Date,_=e.document,A=0,b=0,T=ae(),C=ae(),O=ae(),L=function(e,t){return e===t&&(f=!0),0},w={}.hasOwnProperty,S=[],N=S.pop,R=S.push,P=S.push,x=S.slice,F=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",k="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",U="\\["+k+"*("+M+")(?:"+k+"*([*^$|!~]?=)"+k+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+k+"*\\]",H=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",Y=new RegExp(k+"+","g"),B=new RegExp("^"+k+"+|((?:^|[^\\\\])(?:\\\\.)*)"+k+"+$","g"),W=new RegExp("^"+k+"*,"+k+"*"),j=new RegExp("^"+k+"*([>+~]|"+k+")"+k+"*"),V=new RegExp("="+k+"*([^\\]'\"]*?)"+k+"*\\]","g"),G=new RegExp(H),q=new RegExp("^"+M+"$"),$={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+k+"?|("+k+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},ie=Ee(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{P.apply(S=x.call(_.childNodes),_.childNodes),S[_.childNodes.length].nodeType}catch(e){P={apply:S.length?function(e,t){R.apply(e,x.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,l,c,u,f,h,v,E=t&&t.ownerDocument,A=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return r;if(!i&&((t?t.ownerDocument||t:_)!==p&&d(t),t=t||p,m)){if(11!==A&&(f=Z.exec(e)))if(o=f[1]){if(9===A){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(E&&(c=E.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return P.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!O[e+" "]&&(!g||!g.test(e))){if(1!==A)E=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(te,ne):t.setAttribute("id",u=I),l=(h=a(e)).length;l--;)h[l]="#"+u+" "+ve(h[l]);v=h.join(","),E=J.test(e)&&me(t.parentNode)||t}if(v)try{return P.apply(r,E.querySelectorAll(v)),r}catch(e){}finally{u===I&&t.removeAttribute("id")}}}return s(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[I]=!0,e}function se(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return le(function(t){return t=+t,le(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]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:_;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),_!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(p.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=I,!p.getElementsByName||!p.getElementsByName(I).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=X.test(p.querySelectorAll))&&(se(function(e){h.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+k+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+k+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+I+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||g.push(".#.+[+~]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+k+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=X.test(E=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=E.call(e,"*"),E.call(e,"[s!='']:x"),v.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(h.compareDocumentPosition),y=t||X.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===_&&y(_,e)?-1:t===p||t.ownerDocument===_&&y(_,t)?1:u?F(u,e)-F(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:u?F(u,e)-F(u,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?ue(a[r],l[r]):a[r]===_?-1:l[r]===_?1:0},p):p},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace(V,"='$1']"),n.matchesSelector&&m&&!O[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=E.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,p,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),y(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&w.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(L),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:le,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Q,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,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[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Q,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(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.replace(Y," ")+" ").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),l="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,s){var c,u,f,d,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=l&&t.nodeName.toLowerCase(),E=!s&&!l,y=!1;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(l?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&E){for(y=(p=(c=(u=(f=(d=g)[I]||(d[I]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===A&&c[1])&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(y=p=0)||h.pop();)if(1===d.nodeType&&++y&&d===t){u[e]=[A,p,y];break}}else if(E&&(y=p=(c=(u=(f=(d=t)[I]||(d[I]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===A&&c[1]),!1===y)for(;(d=++p&&d&&d[m]||(y=p=0)||h.pop())&&((l?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(E&&((u=(f=d[I]||(d[I]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[A,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[I]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=F(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:le(function(e){var t=[],n=[],r=l(e.replace(B,"$1"));return r[I]?le(function(e,t,n,i){for(var o,a=r(e,null,i,[]),l=e.length;l--;)(o=a[l])&&(e[l]=!(t[l]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:le(function(e){return function(t){return oe(e,t).length>0}}),contains:le(function(e){return e=e.replace(Q,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:le(function(e){return q.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Q,ee).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return z.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=de(t);function ge(){}function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ee(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,l=b++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,s){var c,u,f,d=[A,l];if(s){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(f=t[I]||(t[I]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[o])&&c[0]===A&&c[1]===l)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,s))return!0}return!1}}function ye(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 Ie(e,t,n,r,i){for(var o,a=[],l=0,s=e.length,c=null!=t;l<s;l++)(o=e[l])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(l)));return a}function _e(e,t,n,r,i,o){return r&&!r[I]&&(r=_e(r)),i&&!i[I]&&(i=_e(i,o)),le(function(o,a,l,s){var c,u,f,d=[],p=[],h=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",l.nodeType?[l]:l,[]),g=!e||!o&&t?m:Ie(m,d,e,l,s),v=n?i||(o?e:h||r)?[]:a:g;if(n&&n(g,v,l,s),r)for(c=Ie(v,p),r(c,[],l,s),u=c.length;u--;)(f=c[u])&&(v[p[u]]=!(g[p[u]]=f));if(o){if(i||e){if(i){for(c=[],u=v.length;u--;)(f=v[u])&&c.push(g[u]=f);i(null,v=[],c,s)}for(u=v.length;u--;)(f=v[u])&&(c=i?F(o,f):d[u])>-1&&(o[c]=!(a[c]=f))}}else v=Ie(v===a?v.splice(h,v.length):v),i?i(null,a,v,s):P.apply(a,v)})}function Ae(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],l=a||r.relative[" "],s=a?1:0,u=Ee(function(e){return e===t},l,!0),f=Ee(function(e){return F(t,e)>-1},l,!0),d=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):f(e,n,r));return t=null,i}];s<o;s++)if(n=r.relative[e[s].type])d=[Ee(ye(d),n)];else{if((n=r.filter[e[s].type].apply(null,e[s].matches))[I]){for(i=++s;i<o&&!r.relative[e[i].type];i++);return _e(s>1&&ye(d),s>1&&ve(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),n,s<i&&Ae(e.slice(s,i)),i<o&&Ae(e=e.slice(i)),i<o&&ve(e))}d.push(n)}return ye(d)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=oe.tokenize=function(e,t){var n,i,o,a,l,s,c,u=C[e+" "];if(u)return t?0:u.slice(0);for(l=e,s=[],c=r.preFilter;l;){for(a in n&&!(i=W.exec(l))||(i&&(l=l.slice(i[0].length)||l),s.push(o=[])),n=!1,(i=j.exec(l))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),l=l.slice(n.length)),r.filter)!(i=$[a].exec(l))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),l=l.slice(n.length));if(!n)break}return t?l.length:l?oe.error(e):C(e,s).slice(0)},l=oe.compile=function(e,t){var n,i=[],o=[],l=O[e+" "];if(!l){for(t||(t=a(e)),n=t.length;n--;)(l=Ae(t[n]))[I]?i.push(l):o.push(l);(l=O(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,l,s,u){var f,h,g,v=0,E="0",y=o&&[],I=[],_=c,b=o||i&&r.find.TAG("*",u),T=A+=null==_?1:Math.random()||.1,C=b.length;for(u&&(c=a===p||a||u);E!==C&&null!=(f=b[E]);E++){if(i&&f){for(h=0,a||f.ownerDocument===p||(d(f),l=!m);g=e[h++];)if(g(f,a||p,l)){s.push(f);break}u&&(A=T)}n&&((f=!g&&f)&&v--,o&&y.push(f))}if(v+=E,n&&E!==v){for(h=0;g=t[h++];)g(y,I,a,l);if(o){if(v>0)for(;E--;)y[E]||I[E]||(I[E]=N.call(s));I=Ie(I)}P.apply(s,I),u&&!o&&I.length>0&&v+t.length>1&&oe.uniqueSort(s)}return u&&(A=T,c=_),y};return n?le(o):o}(o,i))).selector=e}return l},s=oe.select=function(e,t,n,i){var o,s,c,u,f,d="function"==typeof e&&e,p=!i&&a(e=d.selector||e);if(n=n||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===t.nodeType&&m&&r.relative[s[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(Q,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=$.needsContext.test(e)?0:s.length;o--&&(c=s[o],!r.relative[u=c.type]);)if((f=r.find[u])&&(i=f(c.matches[0].replace(Q,ee),J.test(s[0].type)&&me(t.parentNode)||t))){if(s.splice(o,1),!(e=i.length&&ve(s)))return P.apply(n,i),n;break}}return(d||l(e,p))(i,t,!m,n,!t||J.test(e)&&me(t.parentNode)||t),n},n.sortStable=I.split("").sort(L).join("")===I,n.detectDuplicates=!!f,d(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ce(D,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(n);b.find=O,b.expr=O.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=O.uniqueSort,b.text=O.getText,b.isXMLDoc=O.isXML,b.contains=O.contains,b.escapeSelector=O.escape;var L=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&b(e).is(n))break;r.push(e)}return r},w=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=b.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return E(t)?b.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?b.grep(e,function(e){return e===t!==n}):"string"!=typeof t?b.grep(e,function(e){return f.call(t,e)>-1!==n}):b.filter(t,e,n)}b.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?b.find.matchesSelector(r,e)?[r]:[]:b.find.matches(e,b.grep(t,function(e){return 1===e.nodeType}))},b.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(b(e).filter(function(){for(t=0;t<r;t++)if(b.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)b.find(e,i[t],n);return r>1?b.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&S.test(e)?b(e):e||[],!1).length}});var x,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||x,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:F.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 b?t[0]:t,b.merge(this,b.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),R.test(r[1])&&b.isPlainObject(t))for(r in t)E(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):E(e)?void 0!==n.ready?n.ready(e):e(b):b.makeArray(e,this)}).prototype=b.fn,x=b(a);var D=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}b.fn.extend({has:function(e){var t=b(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(b.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&b(e);if(!S.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?b.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?f.call(b(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),this.length>1&&(k[e]||b.uniqueSort(i),D.test(e)&&i.reverse()),this.pushStack(i)}});var U=/[^\x20\t\r\n\f]+/g;function H(e){return e}function Y(e){throw e}function B(e,t,n,r){var i;try{e&&E(i=e.promise)?i.call(e).done(t).fail(n):e&&E(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}b.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return b.each(e.match(U)||[],function(e,n){t[n]=!0}),t}(e):b.extend({},e);var t,n,r,i,o=[],a=[],l=-1,s=function(){for(i=i||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l<o.length;)!1===o[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(l=o.length-1,a.push(n)),function t(n){b.each(n,function(n,r){E(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==A(r)&&t(r)})}(arguments),n&&!t&&s()),this},remove:function(){return b.each(arguments,function(e,t){for(var n;(n=b.inArray(t,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(e){return e?b.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},b.extend({Deferred:function(e){var t=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,r){var i=E(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&E(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var l=this,s=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(l,s))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,E(c)?i?c.call(n,a(o,t,H,i),a(o,t,Y,i)):(o++,c.call(n,a(o,t,H,i),a(o,t,Y,i),a(o,t,H,t.notifyWith))):(r!==H&&(l=void 0,s=[n]),(i||t.resolveWith)(l,s))}},u=i?c:function(){try{c()}catch(n){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==Y&&(l=void 0,s=[n]),t.rejectWith(l,s))}};e?u():(b.Deferred.getStackHook&&(u.stackTrace=b.Deferred.getStackHook()),n.setTimeout(u))}}return b.Deferred(function(n){t[0][3].add(a(0,n,E(i)?i:H,n.notifyWith)),t[1][3].add(a(0,n,E(e)?e:H)),t[2][3].add(a(0,n,E(r)?r:Y))}).promise()},promise:function(e){return null!=e?b.extend(e,i):i}},o={};return b.each(t,function(e,n){var a=n[2],l=n[5];i[n[1]]=a.add,l&&a.add(function(){r=l},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=b.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||E(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],a(n),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&W.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},b.readyException=function(e){n.setTimeout(function(){throw e})};var j=b.Deferred();function V(){a.removeEventListener("DOMContentLoaded",V),n.removeEventListener("load",V),b.ready()}b.fn.ready=function(e){return j.then(e).catch(function(e){b.readyException(e)}),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==e&&--b.readyWait>0||j.resolveWith(a,[b]))}}),b.ready.then=j.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(b.ready):(a.addEventListener("DOMContentLoaded",V),n.addEventListener("load",V));var G=function(e,t,n,r,i,o,a){var l=0,s=e.length,c=null==n;if("object"===A(n))for(l in i=!0,n)G(e,t,l,n[l],!0,o,a);else if(void 0!==r&&(i=!0,E(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(b(e),n)})),t))for(;l<s;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return i?e:c?t.call(e):s?t(e[0],n):o},q=/^-ms-/,$=/-([a-z])/g;function K(e,t){return t.toUpperCase()}function z(e){return e.replace(q,"ms-").replace($,K)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Z(){this.expando=b.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[z(t)]=n;else for(r in t)i[z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(z):(t=z(t))in r?[t]:t.match(U)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||b.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var J=new Z,Q=new Z,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}b.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),b.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=z(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Q.set(this,e)}):G(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))?n:void 0!==(n=ne(o,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),b.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,b.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){b.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:b.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),b.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?b.queue(this[0],e):void 0===t?this:this.each(function(){var n=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=b.Deferred(),o=this,a=this.length,l=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(l));return l(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&b.contains(e.ownerDocument,e)&&"none"===b.css(e,"display")},le=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};function se(e,t,n,r){var i,o,a=20,l=r?function(){return r.cur()}:function(){return b.css(e,t,"")},s=l(),c=n&&n[3]||(b.cssNumber[t]?"":"px"),u=(b.cssNumber[t]||"px"!==c&&+s)&&ie.exec(b.css(e,t));if(u&&u[3]!==c){for(s/=2,c=c||u[3],u=+s||1;a--;)b.style(e,t,u+c),(1-o)*(1-(o=l()/s||.5))<=0&&(a=0),u/=o;u*=2,b.style(e,t,u+c),n=n||[]}return n&&(u=+u||+s||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ce={};function ue(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=b.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ue(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}b.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?b(this).show():b(this).hide()})}});var de=/^(?:checkbox|radio)$/i,pe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?b.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var Ee,ye,Ie=/<|&#?\w+;/;function _e(e,t,n,r,i){for(var o,a,l,s,c,u,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===A(o))b.merge(d,o.nodeType?[o]:o);else if(Ie.test(o)){for(a=a||f.appendChild(t.createElement("div")),l=(pe.exec(o)||["",""])[1].toLowerCase(),s=me[l]||me._default,a.innerHTML=s[1]+b.htmlPrefilter(o)+s[2],u=s[0];u--;)a=a.lastChild;b.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&b.inArray(o,r)>-1)i&&i.push(o);else if(c=b.contains(o.ownerDocument,o),a=ge(f.appendChild(o),"script"),c&&ve(a),n)for(u=0;o=a[u++];)he.test(o.type||"")&&n.push(o);return f}Ee=a.createDocumentFragment().appendChild(a.createElement("div")),(ye=a.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),Ee.appendChild(ye),v.checkClone=Ee.cloneNode(!0).cloneNode(!0).lastChild.checked,Ee.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!Ee.cloneNode(!0).lastChild.defaultValue;var Ae=a.documentElement,be=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Oe(){return!0}function Le(){return!1}function we(){try{return a.activeElement}catch(e){}}function Se(e,t,n,r,i,o){var a,l;if("object"==typeof t){for(l in"string"!=typeof n&&(r=r||n,n=void 0),t)Se(e,l,n,r,t[l],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Le;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return b().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=b.guid++)),e.each(function(){b.event.add(this,t,i,r,n)})}b.event={global:{},add:function(e,t,n,r,i){var o,a,l,s,c,u,f,d,p,h,m,g=J.get(e);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&b.find.matchesSelector(Ae,i),n.guid||(n.guid=b.guid++),(s=g.events)||(s=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(U)||[""]).length;c--;)p=m=(l=Ce.exec(t[c])||[])[1],h=(l[2]||"").split(".").sort(),p&&(f=b.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=b.event.special[p]||{},u=b.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=s[p])||((d=s[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),b.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,l,s,c,u,f,d,p,h,m,g=J.hasData(e)&&J.get(e);if(g&&(s=g.events)){for(c=(t=(t||"").match(U)||[""]).length;c--;)if(p=m=(l=Ce.exec(t[c])||[])[1],h=(l[2]||"").split(".").sort(),p){for(f=b.event.special[p]||{},d=s[p=(r?f.delegateType:f.bindType)||p]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!i&&m!==u.origType||n&&n.guid!==u.guid||l&&!l.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(e,u));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||b.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)b.event.remove(e,p+t[c],n,r,!0);b.isEmptyObject(s)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,l=b.event.fix(e),s=new Array(arguments.length),c=(J.get(this,"events")||{})[l.type]||[],u=b.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=b.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((b.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,l=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?b(i,this).index(c)>-1:b.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&l.push({elem:c,handlers:o})}return c=this,s<t.length&&l.push({elem:c,handlers:t.slice(s)}),l},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:E(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==we()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===we()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Oe:Le,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:Le,isPropagationStopped:Le,isImmediatePropagationStopped:Le,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},b.event.addProp),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||b.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.fn.extend({on:function(e,t,n,r){return Se(this,e,t,n,r)},one:function(e,t,n,r){return Se(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,b(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Le),this.each(function(){b.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Re=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,xe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Fe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ke(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,l,s,c;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)b.event.add(t,i,c[i][n]);Q.hasData(e)&&(l=Q.access(e),s=b.extend({},l),Q.set(t,s))}}function Ue(e,t){var n=t.nodeName.toLowerCase();"input"===n&&de.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function He(e,t,n,r){t=c.apply([],t);var i,o,a,l,s,u,f=0,d=e.length,p=d-1,h=t[0],m=E(h);if(m||d>1&&"string"==typeof h&&!v.checkClone&&Pe.test(h))return e.each(function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),He(o,t,n,r)});if(d&&(o=(i=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(l=(a=b.map(ge(i,"script"),De)).length;f<d;f++)s=i,f!==p&&(s=b.clone(s,!0,!0),l&&b.merge(a,ge(s,"script"))),n.call(e[f],s,f);if(l)for(u=a[a.length-1].ownerDocument,b.map(a,ke),f=0;f<l;f++)s=a[f],he.test(s.type||"")&&!J.access(s,"globalEval")&&b.contains(u,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?b._evalUrl&&b._evalUrl(s.src):_(s.textContent.replace(xe,""),u,s))}return e}function Ye(e,t,n){for(var r,i=t?b.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||b.cleanData(ge(r)),r.parentNode&&(n&&b.contains(r.ownerDocument,r)&&ve(ge(r,"script")),r.parentNode.removeChild(r));return e}b.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,l=e.cloneNode(!0),s=b.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(a=ge(l),r=0,i=(o=ge(e)).length;r<i;r++)Ue(o[r],a[r]);if(t)if(n)for(o=o||ge(e),a=a||ge(l),r=0,i=o.length;r<i;r++)Me(o[r],a[r]);else Me(e,l);return(a=ge(l,"script")).length>0&&ve(a,!s&&ge(e,"script")),l},cleanData:function(e){for(var t,n,r,i=b.event.special,o=0;void 0!==(n=e[o]);o++)if(X(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?b.event.remove(n,r):b.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),b.fn.extend({detach:function(e){return Ye(this,e,!0)},remove:function(e){return Ye(this,e)},text:function(e){return G(this,function(e){return void 0===e?b.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(b.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return G(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Re.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(b.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return He(this,arguments,function(t){var n=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){for(var n,r=[],i=b(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),b(i[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}});var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},je=new RegExp(oe.join("|"),"i");function Ve(e,t,n){var r,i,o,a,l=e.style;return(n=n||We(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||b.contains(e.ownerDocument,e)||(a=b.style(e,t)),!v.pixelBoxStyles()&&Be.test(a)&&je.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function Ge(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ae.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,s=12===t(e.marginLeft),u.style.right="60%",l=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=36===u.offsetWidth||"absolute",Ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,l,s,c=a.createElement("div"),u=a.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,b.extend(v,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),l},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),o}}))}();var qe=/^(none|table(?!-c[ea]).+)/,$e=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},ze={letterSpacing:"0",fontWeight:"400"},Xe=["Webkit","Moz","ms"],Ze=a.createElement("div").style;function Je(e){var t=b.cssProps[e];return t||(t=b.cssProps[e]=function(e){if(e in Ze)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ze)return e}(e)||e),t}function Qe(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,o){var a="width"===t?1:0,l=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=b.css(e,n+oe[a],!0,i)),r?("content"===n&&(s-=b.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(s-=b.css(e,"border"+oe[a]+"Width",!0,i))):(s+=b.css(e,"padding"+oe[a],!0,i),"padding"!==n?s+=b.css(e,"border"+oe[a]+"Width",!0,i):l+=b.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-s-l-.5))),s}function tt(e,t,n){var r=We(e),i=Ve(e,t,r),o="border-box"===b.css(e,"boxSizing",!1,r),a=o;if(Be.test(i)){if(!n)return i;i="auto"}return a=a&&(v.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===b.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+et(e,t,n||(o?"border":"content"),a,r,i)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,l=z(t),s=$e.test(t),c=e.style;if(s||(t=Je(l)),a=b.cssHooks[t]||b.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(b.cssNumber[l]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(s?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,l=z(t);return $e.test(t)||(t=Je(l)),(a=b.cssHooks[t]||b.cssHooks[l])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in ze&&(i=ze[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),b.each(["height","width"],function(e,t){b.cssHooks[t]={get:function(e,n,r){if(n)return!qe.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):le(e,Ke,function(){return tt(e,t,r)})},set:function(e,n,r){var i,o=We(e),a="border-box"===b.css(e,"boxSizing",!1,o),l=r&&et(e,t,r,a,o);return a&&v.scrollboxSize()===o.position&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),l&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=b.css(e,t)),Qe(0,n,l)}}}),b.cssHooks.marginLeft=Ge(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(b.cssHooks[e+t].set=Qe)}),b.fn.extend({css:function(e,t){return G(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=We(e),i=t.length;a<i;a++)o[t[a]]=b.css(e,t[a],!1,r);return o}return void 0!==n?b.style(e,t,n):b.css(e,t)},e,t,arguments.length>1)}}),b.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=b.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[b.cssProps[e.prop]]&&!b.cssHooks[e.prop]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=nt.prototype.init,b.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function lt(){it&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,b.fx.interval),b.fx.tick())}function st(){return n.setTimeout(function(){rt=void 0}),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(e,t,n){var r,i,o=0,a=ft.prefilters.length,l=b.Deferred().always(function(){delete s.elem}),s=function(){if(i)return!1;for(var t=rt||st(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return l.notifyWith(e,[c,r,n]),r<1&&a?n:(a||l.notifyWith(e,[c,1,0]),l.resolveWith(e,[c]),!1)},c=l.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(l.notifyWith(e,[c,1,0]),l.resolveWith(e,[c,t])):l.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=z(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=b.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=ft.prefilters[o].call(c,e,u,c.opts))return E(r.stop)&&(b._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return b.map(u,ut,c),E(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),b.fx.timer(b.extend(s,{elem:e,anim:c,queue:c.opts.queue})),c}b.Animation=b.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){E(e)?(t=e,e=["*"]):e=e.match(U);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,l,s,c,u,f="width"in t||"height"in t,d=this,p={},h=e.style,m=e.nodeType&&ae(e),g=J.get(e,"fxshow");for(r in n.queue||(null==(a=b._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,b.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||b.style(e,r)}if((s=!b.isEmptyObject(t))||!b.isEmptyObject(p))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=J.get(e,"display")),"none"===(u=b.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=b.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===b.css(e,"float")&&(s||(d.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),s=!1,p)s||(g?"hidden"in g&&(m=g.hidden):g=J.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&fe([e],!0),d.done(function(){for(r in m||fe([e]),J.remove(e,"fxshow"),p)b.style(e,r,p[r])})),s=ut(m?g[r]:0,r,d),r in g||(g[r]=s.start,m&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||E(e)&&e,duration:e,easing:n&&t||t&&!E(t)&&t};return b.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in b.fx.speeds?r.duration=b.fx.speeds[r.duration]:r.duration=b.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){E(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=ft(this,b.extend({},e),o);(i||J.get(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=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=b.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&at.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||b.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}}),b.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.timers=[],b.fx.tick=function(){var e,t=0,n=b.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||b.fx.stop(),rt=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){it||(it=!0,lt())},b.fx.stop=function(){it=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(e,t){return e=b.fx&&b.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var dt,pt=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return G(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})}}),b.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?b.prop(e,t,n):(1===o&&b.isXMLDoc(e)||(i=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void b.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=b.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(U);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?b.removeAttr(e,n):e.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||b.find.attr;pt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=pt[a],pt[a]=i,i=null!=n(e,t,r)?a:null,pt[a]=o),i}});var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(U)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(U)||[]}b.fn.extend({prop:function(e,t){return G(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[b.propFix[e]||e]})}}),b.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&b.isXMLDoc(e)||(t=b.propFix[t]||t,i=b.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(b.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){b.propFix[this.toLowerCase()]=this}),b.fn.extend({addClass:function(e){var t,n,r,i,o,a,l,s=0;if(E(e))return this.each(function(t){b(this).addClass(e.call(this,t,vt(this)))});if((t=Et(e)).length)for(;n=this[s++];)if(i=vt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(l=gt(r))&&n.setAttribute("class",l)}return this},removeClass:function(e){var t,n,r,i,o,a,l,s=0;if(E(e))return this.each(function(t){b(this).removeClass(e.call(this,t,vt(this)))});if(!arguments.length)return this.attr("class","");if((t=Et(e)).length)for(;n=this[s++];)if(i=vt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(l=gt(r))&&n.setAttribute("class",l)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):E(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,vt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=b(this),a=Et(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;b.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=E(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,b(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=b.map(i,function(e){return null==e?"":e+""})),(t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=b.valHooks[i.type]||b.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:gt(b.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,l=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=b(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,r,i=e.options,o=b.makeArray(t),a=i.length;a--;)((r=i[a]).selected=b.inArray(b.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=b.inArray(b(e).val(),t)>-1}},v.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var It=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(e,t,r,i){var o,l,s,c,u,f,d,p,m=[r||a],g=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(l=p=s=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!It.test(g+b.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),u=g.indexOf(":")<0&&"on"+g,(e=e[b.expando]?e:new b.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:b.makeArray(t,[e]),d=b.event.special[g]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!y(r)){for(c=d.delegateType||g,It.test(c+g)||(l=l.parentNode);l;l=l.parentNode)m.push(l),s=l;s===(r.ownerDocument||a)&&m.push(s.defaultView||s.parentWindow||n)}for(o=0;(l=m[o++])&&!e.isPropagationStopped();)p=l,e.type=o>1?c:d.bindType||g,(f=(J.get(l,"events")||{})[e.type]&&J.get(l,"handle"))&&f.apply(l,t),(f=u&&l[u])&&f.apply&&X(l)&&(e.result=f.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(m.pop(),t)||!X(r)||u&&E(r[g])&&!y(r)&&((s=r[u])&&(r[u]=null),b.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,_t),r[g](),e.isPropagationStopped()&&p.removeEventListener(g,_t),b.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(e,t,n){var r=b.extend(new b.Event,n,{type:e,isSimulated:!0});b.event.trigger(r,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return b.event.trigger(e,t,n,!0)}}),v.focusin||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){b.event.simulate(t,e.target,b.event.fix(e))};b.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var At=n.location,bt=Date.now(),Tt=/\?/;b.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+e),t};var Ct=/\[\]$/,Ot=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var i;if(Array.isArray(t))b.each(t,function(t,i){n||Ct.test(e)?r(e,i):St(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==A(t))r(e,t);else for(i in t)St(e+"["+i+"]",t[i],n,r)}b.param=function(e,t){var n,r=[],i=function(e,t){var n=E(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){i(this.name,this.value)});else for(n in e)St(n,e[n],t,i);return r.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&wt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}}):{name:t.name,value:n.replace(Ot,"\r\n")}}).get()}});var Nt=/%20/g,Rt=/#.*$/,Pt=/([?&])_=[^&]*/,xt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Dt=/^\/\//,kt={},Mt={},Ut="*/".concat("*"),Ht=a.createElement("a");function Yt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(U)||[];if(E(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var i={},o=e===Mt;function a(l){var s;return i[l]=!0,b.each(e[l]||[],function(e,l){var c=l(t,n,r);return"string"!=typeof c||o||i[c]?o?!(s=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),s}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Wt(e,t){var n,r,i=b.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&b.extend(!0,e,r),e}Ht.href=At.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,b.ajaxSettings),t):Wt(b.ajaxSettings,e)},ajaxPrefilter:Yt(kt),ajaxTransport:Yt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,l,s,c,u,f,d,p,h=b.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?b(m):b.event,v=b.Deferred(),E=b.Callbacks("once memory"),y=h.statusCode||{},I={},_={},A="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!l)for(l={};t=xt.exec(o);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,I[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||A;return r&&r.abort(t),C(0,t),this}};if(v.promise(T),h.url=((e||h.url||At.href)+"").replace(Dt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(U)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=b.param(h.data,h.traditional)),Bt(kt,h,t,T),u)return T;for(d in(f=b.event&&h.global)&&0==b.active++&&b.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),i=h.url.replace(Rt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Nt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Tt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Pt,"$1"),p=(Tt.test(i)?"&":"?")+"_="+bt+++p),h.url=i+p),h.ifModified&&(b.lastModified[i]&&T.setRequestHeader("If-Modified-Since",b.lastModified[i]),b.etag[i]&&T.setRequestHeader("If-None-Match",b.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ut+"; q=0.01":""):h.accepts["*"]),h.headers)T.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(m,T,h)||u))return T.abort();if(A="abort",E.add(h.complete),T.done(h.success),T.fail(h.error),r=Bt(Mt,h,t,T)){if(T.readyState=1,f&&g.trigger("ajaxSend",[T,h]),u)return T;h.async&&h.timeout>0&&(s=n.setTimeout(function(){T.abort("timeout")},h.timeout));try{u=!1,r.send(I,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,t,a,l){var c,d,p,I,_,A=t;u||(u=!0,s&&n.clearTimeout(s),r=void 0,o=l||"",T.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(I=function(e,t,n){for(var r,i,o,a,l=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in l)if(l[i]&&l[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||e.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(h,T,a)),I=function(e,t,n,r){var i,o,a,l,s,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=u.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=c[s+" "+o]||c["* "+o]))for(i in c)if((l=i.split(" "))[1]===o&&(a=c[s+" "+l[0]]||c["* "+l[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=l[0],u.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+s+" to "+o}}}return{state:"success",data:t}}(h,I,T,c),c?(h.ifModified&&((_=T.getResponseHeader("Last-Modified"))&&(b.lastModified[i]=_),(_=T.getResponseHeader("etag"))&&(b.etag[i]=_)),204===e||"HEAD"===h.type?A="nocontent":304===e?A="notmodified":(A=I.state,d=I.data,c=!(p=I.error))):(p=A,!e&&A||(A="error",e<0&&(e=0))),T.status=e,T.statusText=(t||A)+"",c?v.resolveWith(m,[d,A,T]):v.rejectWith(m,[T,A,p]),T.statusCode(y),y=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[T,h,c?d:p]),E.fireWith(m,[T,A]),f&&(g.trigger("ajaxComplete",[T,h]),--b.active||b.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return b.get(e,t,n,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],function(e,t){b[t]=function(e,n,r,i){return E(n)&&(i=i||r,r=n,n=void 0),b.ajax(b.extend({url:e,type:t,dataType:i,data:n,success:r},b.isPlainObject(e)&&e))}}),b._evalUrl=function(e){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(E(e)&&(e=e.call(this[0])),t=b(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return E(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=E(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){b(this).replaceWith(this.childNodes)}),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var jt={0:200,1223:204},Vt=b.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,b.ajaxTransport(function(e){var t,r;if(v.cors||Vt&&!e.crossDomain)return{send:function(i,o){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];for(a in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)l.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?o(0,"error"):o(l.status,l.statusText):o(jt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),r=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=r:l.onreadystatechange=function(){4===l.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),b.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),b.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=b("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Gt,qt=[],$t=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||b.expando+"_"+bt++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,l=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(l||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=E(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace($t,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||b.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?b(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,qt.push(i)),a&&E(o)&&o(a[0]),a=o=void 0}),"script"}),v.createHTMLDocument=((Gt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),b.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),o=!n&&[],(i=R.exec(e))?[t.createElement(i[1])]:(i=_e([e],t,o),o&&o.length&&b(o).remove(),b.merge([],i.childNodes)));var r,i,o},b.fn.load=function(e,t,n){var r,i,o,a=this,l=e.indexOf(" ");return l>-1&&(r=gt(e.slice(l)),e=e.slice(0,l)),E(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&b.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?b("<div>").append(b.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.expr.pseudos.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length},b.offset={setOffset:function(e,t,n){var r,i,o,a,l,s,c=b.css(e,"position"),u=b(e),f={};"static"===c&&(e.style.position="relative"),l=u.offset(),o=b.css(e,"top"),s=b.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+s).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),E(t)&&(t=t.call(e,n,b.extend({},l))),null!=t.top&&(f.top=t.top-l.top+a),null!=t.left&&(f.left=t.left-l.left+i),"using"in t?t.using.call(e,f):u.css(f)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){b.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===b.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),i.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-b.css(r,"marginTop",!0),left:t.left-i.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||Ae})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;b.fn[e]=function(r){return G(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),b.each(["top","left"],function(e,t){b.cssHooks[t]=Ge(v.pixelPosition,function(e,n){if(n)return n=Ve(e,t),Be.test(n)?b(e).position()[t]+"px":n})}),b.each({Height:"height",Width:"width"},function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){b.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),l=n||(!0===i||!0===o?"margin":"border");return G(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?b.css(t,n,l):b.style(t,n,i,l)},t,a?i:void 0,a)}})}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),b.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),E(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||b.guid++,i},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=N,b.isFunction=E,b.isWindow=y,b.camelCase=z,b.type=A,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return b}.apply(t,[]))||(e.exports=r);var Kt=n.jQuery,zt=n.$;return b.noConflict=function(e){return n.$===b&&(n.$=zt),e&&n.jQuery===b&&(n.jQuery=Kt),b},i||(n.jQuery=n.$=b),b})},function(e,t,n){"use strict";function r(e){return null!=e}function i(e,t){if(void 0===t&&(t="Failed value assertion"),r(e))return e;throw new Error(t)}function o(e,t){return r(e)?e:t}function a(e){return r(e)?e:null}n.d(t,"b",function(){return r}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return a})},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)}},function(e,t,n){(function(t,n){
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.5+7f2b526d
*/var r;r=function(){"use strict";function e(e){return"function"==typeof e}var r=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,o=void 0,a=void 0,l=function(e,t){h[i]=e,h[i+1]=t,2===(i+=2)&&(a?a(m):I())},s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(m,1)}}var h=new Array(1e3);function m(){for(var e=0;e<i;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;i=0}var g,v,E,y,I=void 0;function _(e,t){var n=this,r=new this.constructor(T);void 0===r[b]&&H(r);var i=n._state;if(i){var o=arguments[i-1];l(function(){return M(i,r,o,n._result)})}else D(n,r,e,t);return r}function A(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(T);return R(t,e),t}f?I=function(){return t.nextTick(m)}:u?(v=0,E=new u(m),y=document.createTextNode(""),E.observe(y,{characterData:!0}),I=function(){y.data=v=++v%2}):d?((g=new MessageChannel).port1.onmessage=m,I=function(){return g.port2.postMessage(0)}):I=void 0===s?function(){try{var e=Function("return this")().require("vertx");return void 0!==(o=e.runOnLoop||e.runOnContext)?function(){o(m)}:p()}catch(e){return p()}}():p();var b=Math.random().toString(36).substring(2);function T(){}var C=void 0,O=1,L=2,w={error:null};function S(e){try{return e.then}catch(e){return w.error=e,w}}function N(t,n,r){n.constructor===t.constructor&&r===_&&n.constructor.resolve===A?function(e,t){t._state===O?x(e,t._result):t._state===L?F(e,t._result):D(t,void 0,function(t){return R(e,t)},function(t){return F(e,t)})}(t,n):r===w?(F(t,w.error),w.error=null):void 0===r?x(t,n):e(r)?function(e,t,n){l(function(e){var r=!1,i=function(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}(n,t,function(n){r||(r=!0,t!==n?R(e,n):x(e,n))},function(t){r||(r=!0,F(e,t))},e._label);!r&&i&&(r=!0,F(e,i))},e)}(t,n,r):x(t,n)}function R(e,t){var n,r;e===t?F(e,new TypeError("You cannot resolve a promise with itself")):(r=typeof(n=t),null===n||"object"!==r&&"function"!==r?x(e,t):N(e,t,S(t)))}function P(e){e._onerror&&e._onerror(e._result),k(e)}function x(e,t){e._state===C&&(e._result=t,e._state=O,0!==e._subscribers.length&&l(k,e))}function F(e,t){e._state===C&&(e._state=L,e._result=t,l(P,e))}function D(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+O]=n,i[o+L]=r,0===o&&e._state&&l(k,e)}function k(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?M(n,r,i,o):i(o);e._subscribers.length=0}}function M(t,n,r,i){var o=e(r),a=void 0,l=void 0,s=void 0,c=void 0;if(o){if((a=function(e,t){try{return e(t)}catch(e){return w.error=e,w}}(r,i))===w?(c=!0,l=a.error,a.error=null):s=!0,n===a)return void F(n,new TypeError("A promises callback cannot return that same promise."))}else a=i,s=!0;n._state!==C||(o&&s?R(n,a):c?F(n,l):t===O?x(n,a):t===L&&F(n,a))}var U=0;function H(e){e[b]=U++,e._state=void 0,e._result=void 0,e._subscribers=[]}var Y=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(T),this.promise[b]||H(this.promise),r(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&x(this.promise,this._result))):F(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===C&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===A){var i=S(e);if(i===_&&e._state!==C)this._settledAt(e._state,t,e._result);else if("function"!=typeof i)this._remaining--,this._result[t]=e;else if(n===B){var o=new n(T);N(o,e,i),this._willSettleAt(o,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===C&&(this._remaining--,e===L?F(r,n):this._result[t]=n),0===this._remaining&&x(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;D(e,void 0,function(e){return n._settledAt(O,t,e)},function(e){return n._settledAt(L,t,e)})},e}(),B=function(){function t(e){this[b]=U++,this._result=this._state=void 0,this._subscribers=[],T!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){R(e,t)},function(t){F(e,t)})}catch(t){F(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return B.prototype.then=_,B.all=function(e){return new Y(this,e).promise},B.race=function(e){var t=this;return r(e)?new t(function(n,r){for(var i=e.length,o=0;o<i;o++)t.resolve(e[o]).then(n,r)}):new t(function(e,t){return t(new TypeError("You must pass an array to race."))})},B.resolve=A,B.reject=function(e){var t=new this(T);return F(t,e),t},B._setScheduler=function(e){a=e},B._setAsap=function(e){l=e},B._asap=l,B.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=B},B.Promise=B,B},e.exports=r()}).call(this,n(12),n(11))},function(e,t,n){"use strict";n.r(t),n.d(t,"send",function(){return o}),n.d(t,"sendAndListen",function(){return a}),n.d(t,"listen",function(){return l}),n.d(t,"onMessage",function(){return s});var r=!1,i={};function o(e,t,n,r){var i=c(t,n,r);e.postMessage(JSON.stringify(i),"*")}function a(e,t,n,r,i){var o=c(t,n),a=!1;s(function(e){if(!a&&e.subject===r&&e.responseTo===o.id)return a=!0,i(e.data)}),e.postMessage(JSON.stringify(o),"*")}function l(e,t){r||(r=!0,s(function(e,t){var n=i[e.subject];n&&n(e.data,e.id,t)})),i[e]=t}function s(e,t){(t=t||window).addEventListener("message",function(t){var n=function(e){var t=null;if(e&&e.data)try{t=JSON.parse(e.data)}catch(e){}return t}(t);n&&e(n,t)})}function c(e,t,n){return t=t||{},{subject:e,id:e+"-"+Math.floor(1e6*Math.random()),data:t,responseTo:n}}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return l}),n.d(t,"a",function(){return s});var r,i=n(1);function o(e){var t=[],n=[];return Object.keys(e).forEach(function(r){t.push(r),n.push(e[r])}),[t,n]}function a(e,t){var n={};return e.forEach(function(e,r){n[e]=t[r]}),n}function l(e){return Object.keys(e).map(function(t){return e[t]})}function s(e){var t=[];return e.forEach(function(e){i.b(e)&&t.push(e)}),t}!function(e){e[e.asc=1]="asc",e[e.desc=-1]="desc"}(r||(r={}))},function(e,t,n){e.exports=n(36).default},function(e,t,n){"use strict";t.__esModule=!0,t.extend=l,t.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!o.test(e))return e;return e.replace(i,a)},t.isEmpty=function(e){return!e&&0!==e||!(!u(e)||0!==e.length)},t.createFrame=function(e){var t=l({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},i=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(e){return r[e]}function l(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var c=function(e){return"function"==typeof e};c(/x/)&&(t.isFunction=c=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=c;var u=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=u},function(e,t,n){var r,i,o;i=[n(0)],void 0===(o="function"==typeof(r=function(e){return e.ui=e.ui||{},e.ui.version="1.12.1"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";var r=n(2),i=n(3),o=n(5),a=n(1),l=n(0),s=function(){function e(e,t,n,r,o){this.baseUrl=e,this.clientId=t,this.auth=r||function(){return i.Promise.resolve({})},a.b(n)?this.forceInstructorFeedbackEnabled=n:this.forceInstructorFeedbackEnabled=null,this.jQuery=o||l}return e.fromConfigObject=function(t){return new e(t.baseUrl,t.clientId,t.forceInstructorFeedbackEnabled,t.auth,t.jQuery)},e}(),c=function(e){function t(t,n){var r=e.call(this,"Unable to execute request. (code="+t+", text="+n+")")||this;return r.code=t,r.responseText=n,r}return r.b(t,e),t}(Error),u=function(){function e(e,t,n,r,i,o,a,l,s,c,u,f,d,p,h,m,g){this.id=e,this.type=t,this.mimeType=n,this.size=r,this.isVersioned=i,this.name=o,this.description=a,this.libraryReference=l,this.decorative=s,this.availableAlternativeFormats=c,this.creator=u,this.producer=f,this.seizureRisk=d,this.score=p,this.results=h,this.suggestions=m,this.link=g,this.uploadType="File"}return e.fromResponseItem=function(t){var n,r=a.c(t.id,""),i=a.c(t.type,"other"),o=a.c(t.mimeType,"application/octet-stream"),l=a.c(t.size,0);if("string"==typeof t.libraryReference)try{n=JSON.parse(t.libraryReference)}catch(e){}return new e(r,i,o,l,t.isVersioned,t.name,t.description,n,t.decorative,t.availableAlternativeFormats,t.creator,t.producer,t.seizureRisk,t.score,t.results,t.suggestions,t.link)},e}(),f=function(){function e(e,t,n,r,i,o,a,l,s,c){this.id=e,this.type=t,this.mimeType=n,this.size=r,this.name=i,this.availableAlternativeFormats=o,this.score=a,this.results=l,this.suggestions=s,this.link=c,this.uploadType="RichContent"}return e.fromResponseItem=function(t){return new e(a.c(t.id,""),a.c(t.type,"other"),a.c(t.mimeType,"application/octet-stream"),a.c(t.size,0),t.name,t.availableAlternativeFormats,t.score,t.results,t.suggestions,t.link)},e}();n.d(t,"a",function(){return d});var d=function(){function e(e){this.config=e,this.cache={},this.jQuery=e.jQuery}return e.from=function(t){return t instanceof e?t:new e(t instanceof s?t:s.fromConfigObject(t))},e.prototype.getFileReports=function(e,t){var n=this,r=this.getCachedFileReports(e,t),o=r[0],a=r[1];return 0===Object.keys(a).length?i.Promise.resolve(o):this.getFileReports0(e,a).then(function(r){return Object.keys(a).forEach(function(t){var i=a[t];n.cache[e]=e in n.cache?n.cache[e]:{},n.cache[e][n.getUploadReferenceCacheKey(i)]=r[t]}),n.getCachedFileReports(e,t)[0]})},e.prototype.clearFileIdFromCache=function(e){var t=this;Object.keys(this.cache).forEach(function(n){Object.keys(t.cache[n]).forEach(function(r){t.getExternalIdFromReferenceCacheKey(r)===e&&delete t.cache[n][r]})})},e.prototype.clearAllFromCache=function(){this.cache={}},e.prototype.authenticateAndExec=function(e){var t=this;return this.authenticate(e).then(function(e){return new i.Promise(function(n,r){e.error=function(e){return r(new c(e.status,e.responseText))},e.success=n,t.jQuery.ajax(e)})})},e.prototype.authenticate=function(e){var t=this;return i.Promise.resolve(this.extractAuthResourceEid(e.url)).then(function(e){return t.auth(e)}).then(function(n){var i=r.a({},e);return e.headers?i.headers=r.a({},e.headers):i.headers={},i.url=t.getFullUrlFromPath(e.url),a.b(n.bearer)&&(i.headers.Authorization="Bearer "+n.bearer),i})},e.prototype.auth=function(e){var t=this;return new i.Promise(function(n,r){var i=t.config.auth(e,function(e,t){e?r(e):n(a.c(t,{}))});i&&(i.then(n),i.catch(r))})},e.prototype.getCachedFileReports=function(e,t){var n=this,r={},i={};return Object.keys(t).forEach(function(o){var a=t[o],l=n.getUploadReferenceCacheKey(a);e in n.cache&&l in n.cache[e]?r[o]=n.cache[e][l]:i[o]=a}),[r,i]},e.prototype.getFileReports0=function(e,t){var n=o.b(t),r=n[0],i=n[1],l=["/api/v1",this.config.clientId,"reports/courses",encodeURIComponent(e),"content"].join("/");a.b(this.config.forceInstructorFeedbackEnabled)&&(l+="?forceInstructorFeedbackEnabled="+this.config.forceInstructorFeedbackEnabled);var s={contentType:"application/json",data:JSON.stringify(i),method:"POST",url:l};return this.authenticateAndExec(s).then(function(e){var t=e.uploadsReport.map(function(e){return a.b(e)?"RichContent"===e.uploadType?f.fromResponseItem(e):u.fromResponseItem(e):null});return o.d(r,t)})},e.prototype.extractAuthResourceEid=function(e){for(var t=0,n=[/^\/api\/v1\/[\d]+\/formats\/[^\/]+\/([^\/]+)\/[^\/]+$/];t<n.length;t++){var r=n[t].exec(e);if(r)return r[1]}return null},e.prototype.getFullUrlFromPath=function(e){return""+this.config.baseUrl+e},e.prototype.getUploadReferenceCacheKey=function(e){var t=[e.uploadType,e.id];return"File"===e.uploadType&&a.b(e.embed)&&t.push(e.embed.altText),JSON.stringify(t)},e.prototype.getExternalIdFromReferenceCacheKey=function(e){return JSON.parse(e)[1]},e}()},function(e,t,n){"use strict";t.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];function i(e,t){var n=t&&t.loc,o=void 0,a=void 0;n&&(e+=" - "+(o=n.start.line)+":"+(a=n.start.column));for(var l=Error.prototype.constructor.call(this,e),s=0;s<r.length;s++)this[r[s]]=l[r[s]];Error.captureStackTrace&&Error.captureStackTrace(this,i);try{n&&(this.lineNumber=o,Object.defineProperty?Object.defineProperty(this,"column",{value:a,enumerable:!0}):this.column=a)}catch(e){}}i.prototype=new Error,t.default=i,e.exports=t.default},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],u=!1,f=-1;function d(){u&&s&&(u=!1,s.length?c=s.concat(c):f=-1,c.length&&p())}function p(){if(!u){var e=l(d);u=!0;for(var t=c.length;t;){for(s=c,c=[];++f<t;)s&&s[f].run();f=-1,t=c.length}s=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-af-download-logo.f25b92cffd71eaede2d7d3f62c34299d.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-high-circle.f608a8b5a3987a75cfaf1554d59e0192.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-high.739568badd8d10efc6b247bd28f610c8.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-low-circle.5436e07e5830da539e80c55225eb37c9.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-low.237e696b1522cab720d64ac57021b3bc.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-medium-circle.c796ae96b97e7e83a1451c8f277544b5.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-medium.d07e666e8e789c1a95b1bc1384618c51.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-perfect-circle.da75f9949b204ea3e4d94d452fe609f8.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-perfect.1c18279979a6d4145c30b4f8276c4740.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-seizure-flag.45a489f91e27ee94736edbac1acf7be8.svg"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=c;var i=n(7),o=r(n(10)),a=n(37),l=n(45),s=r(n(47));t.VERSION="4.1.2";t.COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},a.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new o.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===i.toString.call(e))i.extend(this.partials,e);else{if(void 0===t)throw new o.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new o.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var u=s.default.log;t.log=u,t.createFrame=i.createFrame,t.logger=s.default},function(e,t,n){"use strict";var r=n(70);function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(e){throw new i("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(83);Object.defineProperty(t,"ProtoframePublisher",{enumerable:!0,get:function(){return r.ProtoframePublisher}}),Object.defineProperty(t,"ProtoframeSubscriber",{enumerable:!0,get:function(){return r.ProtoframeSubscriber}}),Object.defineProperty(t,"ProtoframePubsub",{enumerable:!0,get:function(){return r.ProtoframePubsub}})},,,,function(e,t,n){"use strict";n.r(t),n.d(t,"images",function(){return r});var r={allyIcon:{default:n(30),white:n(31)},indicators:{high:{circle:n(14),default:n(15)},low:{circle:n(16),default:n(17)},medium:{circle:n(18),default:n(19)},perfect:{circle:n(20),default:n(21)}},loading:n(32),materialIcons:{close:n(33),dropdown:n(34)},seizureFlag:n(22)}},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon.036281fadcb78861777fac63a39d8eaf.png"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-white.5e94c18024419d8f6c3bb718ed9bd08f.png"},function(e,t,n){e.exports=n.p+"static/integration/img/loading.cb505bf9ab3f2d612ed49e94d757c3cc.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/material-icons/ic_clear_white_24px.7b66831ce156de757d9bc34d4744da93.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/material-icons/ic_arrow_drop_down_black_24px.77a0c6cb5e56584ab94976853834b18a.svg"},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=n.helperMissing;return'<iframe id="ally-accessible-versions-iframe" title="'+l(e.lambda(null!=(o=null!=t?t.i18n:t)?o.ALTERNATIVE_FORMATS:o,t))+'" class="ally-iframe" src="'+l("function"==typeof(a=null!=(a=n.ALLY_DOMAIN||(null!=t?t.ALLY_DOMAIN:t))?a:c)?a.call(s,{name:"ALLY_DOMAIN",hash:{},data:i}):a)+"/accessibleversions?locale="+l("function"==typeof(a=null!=(a=n.locale||(null!=t?t.locale:t))?a:c)?a.call(s,{name:"locale",hash:{},data:i}):a)+"&platformName="+l("function"==typeof(a=null!=(a=n.platformName||(null!=t?t.platformName:t))?a:c)?a.call(s,{name:"platformName",hash:{},data:i}):a)+"&platformUi="+l("function"==typeof(a=null!=(a=n.platformUi||(null!=t?t.platformUi:t))?a:c)?a.call(s,{name:"platformUi",hash:{},data:i}):a)+'"/>\n'},useData:!0})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=i(n(23)),a=r(n(48)),l=r(n(10)),s=i(n(7)),c=i(n(49)),u=r(n(50));function f(){var e=new o.HandlebarsEnvironment;return s.extend(e,o),e.SafeString=a.default,e.Exception=l.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=f();d.create=f,u.default(d),d.default=d,t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){i.default(e),o.default(e),a.default(e),l.default(e),s.default(e),c.default(e),u.default(e)};var i=r(n(38)),o=r(n(39)),a=r(n(40)),l=r(n(41)),s=r(n(42)),c=r(n(43)),u=r(n(44))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(7);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,o=n.fn;if(!0===t)return o(this);if(!1===t||null==t)return i(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return o(t,n)})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(7),o=n(10),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new a.default("Must pass iterator to #each");var n=t.fn,r=t.inverse,o=0,l="",s=void 0,c=void 0;function u(t,r,o){s&&(s.key=t,s.index=r,s.first=0===r,s.last=!!o,c&&(s.contextPath=c+t)),l+=n(e[t],{data:s,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(t.data&&t.ids&&(c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(s=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var f=e.length;o<f;o++)o in e&&u(o,o,o===e.length-1);else{var d=void 0;for(var p in e)e.hasOwnProperty(p)&&(void 0!==d&&u(d,o-1),d=p,o++);void 0!==d&&u(d,o-1,!0)}return 0===o&&(l=r(this)),l})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(10),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(7);t.default=function(e){e.registerHelper("if",function(e,t){return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t){return e?"constructor"!==t||e.propertyIsEnumerable(t)?e[t]:void 0:e})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(7);t.default=function(e){e.registerHelper("with",function(e,t){r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var r,i=n(46),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(7);t.default=function(e){e.registerDecorator("inline",function(e,t,n,i){var o=e;return t.partials||(t.partials={},o=function(i,o){var a=n.partials;n.partials=r.extend({},a,t.partials);var l=e(i,o);return n.partials=a,l}),t.partials[i.args[0]]=i.fn,o})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(7),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];console[t].apply(console,r)}}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=l.COMPILER_REVISION;if(t!==n){if(t<n){var r=l.REVISION_CHANGES[n],i=l.REVISION_CHANGES[t];throw new a.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new a.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new a.default("No environment passed to template");if(!e||!e.main)throw new a.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n={strict:function(e,t){if(!(t in e))throw new a.default('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:i.escapeExpression,invokePartial:function(n,r,o){o.hash&&(r=i.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,o);var l=t.VM.invokePartial.call(this,n,r,o);if(null==l&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),l=o.partials[o.name](r,o)),null!=l){if(o.indent){for(var s=l.split("\n"),c=0,u=s.length;c<u&&(s[c]||c+1!==u);c++)s[c]=o.indent+s[c];l=s.join("\n")}return l}throw new a.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,i){var o=this.programs[e],a=this.fn(e);return t||i||r||n?o=s(this,e,a,t,n,r,i):o||(o=this.programs[e]=s(this,e,a)),o},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=i.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function r(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=i.data;r._setup(i),!i.partial&&e.useData&&(o=function(e,t){t&&"root"in t||((t=t?l.createFrame(t):{}).root=e);return t}(t,o));var a=void 0,s=e.useBlockParams?[]:void 0;function c(t){return""+e.main(n,t,n.helpers,n.partials,o,s,a)}return e.useDepths&&(a=i.depths?t!=i.depths[0]?[t].concat(i.depths):i.depths:[t]),(c=u(e.main,c,n,i.depths||[],o,s))(t,i)}return r.isTop=!0,r._setup=function(r){r.partial?(n.helpers=r.helpers,n.partials=r.partials,n.decorators=r.decorators):(n.helpers=n.merge(r.helpers,t.helpers),e.usePartial&&(n.partials=n.merge(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(n.decorators=n.merge(r.decorators,t.decorators)))},r._child=function(t,r,i,o){if(e.useBlockParams&&!i)throw new a.default("must pass block params");if(e.useDepths&&!o)throw new a.default("must pass parent depths");return s(n,t,e[t],r,0,i,o)},r},t.wrapProgram=s,t.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},t.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;n.fn&&n.fn!==c&&function(){n.data=l.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=l.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=i.extend({},n.partials,e.partials))}();void 0===e&&o&&(e=o);if(void 0===e)throw new a.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=c;var r,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(7)),o=n(10),a=(r=o)&&r.__esModule?r:{default:r},l=n(23);function s(e,t,n,r,i,o,a){function l(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(l=[t].concat(a)),n(e,t,e.helpers,e.partials,i.data||r,o&&[i.blockParams].concat(o),l)}return(l=u(n,l,e,a,r,o)).program=t,l.depth=a?a.length:0,l.blockParams=i||0,l}function c(){return""}function u(e,t,n,r,o,a){if(e.decorator){var l={};t=e.decorator(t,l,n,r&&r[0],o,a,r),i.extend(t,l)}return t}},function(e,t,n){"use strict";(function(n){t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}},e.exports=t.default}).call(this,n(11))},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=n.helperMissing;return'<div id="ally-instructor-feedback-iframe" class="ally-iframe-mask" role="dialog"\n aria-label="'+s(l(null!=(o=null!=t?t.i18n:t)?o.INSTRUCTOR_FEEDBACK:o,t))+'">\n <div id="ally-instructor-feedback-iframe-start" tabindex="0" aria-hidden="true"></div>\n <img tabindex="-1" src="'+s("function"==typeof(a=null!=(a=n.ALLY_DOMAIN||(null!=t?t.ALLY_DOMAIN:t))?a:u)?a.call(c,{name:"ALLY_DOMAIN",hash:{},data:i}):a)+s(l(null!=(o=null!=t?t.images:t)?o.loading:o,t))+'"\n title="'+s(l(null!=(o=null!=t?t.i18n:t)?o.LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:o,t))+'"\n alt="'+s(l(null!=(o=null!=t?t.i18n:t)?o.LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:o,t))+'" />\n <button class="ally-iframe-close">\n <img src="'+s("function"==typeof(a=null!=(a=n.ALLY_DOMAIN||(null!=t?t.ALLY_DOMAIN:t))?a:u)?a.call(c,{name:"ALLY_DOMAIN",hash:{},data:i}):a)+s(l(null!=(o=null!=(o=null!=t?t.images:t)?o.materialIcons:o)?o.close:o,t))+'" title="'+s(l(null!=(o=null!=t?t.i18n:t)?o.CANCEL:o,t))+'"\n alt="'+s(l(null!=(o=null!=t?t.i18n:t)?o.CANCEL:o,t))+'" />\n </button>\n <div id="ally-instructor-feedback-iframe-end" tabindex="0" aria-hidden="true"></div>\n <iframe title="'+s(l(null!=(o=null!=t?t.i18n:t)?o.INSTRUCTOR_FEEDBACK:o,t))+'" class="ally-iframe" src="'+s("function"==typeof(a=null!=(a=n.ALLY_DOMAIN||(null!=t?t.ALLY_DOMAIN:t))?a:u)?a.call(c,{name:"ALLY_DOMAIN",hash:{},data:i}):a)+"/instructorfeedback?locale="+s("function"==typeof(a=null!=(a=n.locale||(null!=t?t.locale:t))?a:u)?a.call(c,{name:"locale",hash:{},data:i}):a)+'"></iframe>\n</div>\n'},useData:!0})},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=null!=t?t:e.nullContext||{},s=n.helperMissing,c="function",u=e.escapeExpression,f=e.lambda;return'<span data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-show="instructorfeedback" data-ally-show-display="inline-block"\n class="ally-scoreindicator-container" style="display: none;">\n <a data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-invoke="instructorfeedback"\n data-ally-show="instructorfeedback-score-perfect" data-ally-show-display="inline-block"\n data-ally-invoke-prop-target="'+u(typeof(a=null!=(a=n.target||(null!=t?t.target:t))?a:s)===c?a.call(l,{name:"target",hash:{},data:i}):a)+'"\n data-ally-tooltip href="#" class="ally-scoreindicator"\n title="'+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_PERFECT:o,t))+'">\n <img src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(f(null!=(o=null!=t?t.icons:t)?o.perfect:o,t))+'" alt="" aria-hidden="true" />\n <span class="ally-sr-only">'+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_PERFECT:o,t))+'</span>\n </a>\n <a data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-invoke="instructorfeedback"\n data-ally-show="instructorfeedback-score-high" data-ally-show-display="inline-block"\n data-ally-invoke-prop-target="'+u(typeof(a=null!=(a=n.target||(null!=t?t.target:t))?a:s)===c?a.call(l,{name:"target",hash:{},data:i}):a)+'" href="#"\n data-ally-tooltip class="ally-scoreindicator" title="'+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_HIGH:o,t))+"&#10;"+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+'">\n <img src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(f(null!=(o=null!=t?t.icons:t)?o.high:o,t))+'" alt="" aria-hidden="true" />\n <span class="ally-sr-only">\n '+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_HIGH:o,t))+"\n "+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+'\n </span>\n </a>\n <a data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-invoke="instructorfeedback"\n data-ally-show="instructorfeedback-score-medium" data-ally-show-display="inline-block"\n data-ally-invoke-prop-target="'+u(typeof(a=null!=(a=n.target||(null!=t?t.target:t))?a:s)===c?a.call(l,{name:"target",hash:{},data:i}):a)+'" href="#"\n data-ally-tooltip class="ally-scoreindicator" title="'+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_MEDIUM:o,t))+"&#10;"+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+'">\n <img src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(f(null!=(o=null!=t?t.icons:t)?o.medium:o,t))+'" alt="" aria-hidden="true" />\n <span class="ally-sr-only">\n '+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_MEDIUM:o,t))+"\n "+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+'\n </span>\n </a>\n <a data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-invoke="instructorfeedback"\n data-ally-show="instructorfeedback-score-low" data-ally-show-display="inline-block"\n data-ally-invoke-prop-target="'+u(typeof(a=null!=(a=n.target||(null!=t?t.target:t))?a:s)===c?a.call(l,{name:"target",hash:{},data:i}):a)+'"\n data-ally-tooltip href="#" class="ally-scoreindicator"\n title="'+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_LOW:o,t))+"&#10;"+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+'">\n <img src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(f(null!=(o=null!=t?t.icons:t)?o.low:o,t))+'" alt="" aria-hidden="true" />\n <span class="ally-sr-only">\n '+u(f(null!=(o=null!=t?t.i18n:t)?o.ACCESSIBILITY_SCORE_LOW:o,t))+"\n "+u(f(null!=(o=null!=t?t.i18n:t)?o.CLICK_TO_IMPROVE:o,t))+"\n </span>\n </a>\n</span>\n"},useData:!0})},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-high-learnUltra.e0e3bd3392a2e45e8ca17c81e764e07f.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-low-learnUltra.a78e78c6f0e59a35fef49e20a1cbe45e.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-medium-learnUltra.8f18c65040f94840495229a08f67ee03.svg"},function(e,t,n){e.exports=n.p+"static/integration/img/ally-icon-indicator-perfect-learnUltra.cd4d0bf4d0103256abd2ba724792290f.svg"},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=e.lambda,s=e.escapeExpression;return'<div class="ally-image-seizure-guard">\n <button title="'+s(l(null!=(o=null!=t?t.i18n:t)?o.POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:o,t))+'">\n <img src="'+s("function"==typeof(a=null!=(a=n.ALLY_DOMAIN||(null!=t?t.ALLY_DOMAIN:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"ALLY_DOMAIN",hash:{},data:i}):a)+"/"+s(l(null!=(o=null!=t?t.icons:t)?o.seizureFlag:o,t))+'" />\n </button>\n</div>\n'},useData:!0})},function(e,t,n){"use strict";n.r(t),n.d(t,"launch",function(){return s}),n.d(t,"launchWebpage",function(){return c}),n.d(t,"launchDirectFileOnWebpage",function(){return u}),n.d(t,"reset",function(){return f});var r=n(0),i=n(4),o=null,a=!1,l={closed:function(){},formatGenerated:v,openUrl:void 0};function s(e,t,n,r,i,o,a,s,c){s=d(s),c=c||{},l.closed=c.closed||function(){},l.formatGenerated=c.formatGenerated||v,l.openUrl=c.openUrl||void 0;var u=!!c.openUrl;p(),E("accessible-versions-show",{associatedFiles:s.associatedFiles,availableAlternativeFormats:o.availableAlternativeFormats,baseUrl:e,clientId:r,courseId:i,fileId:o.id,fileType:o.type,fromPageUrl:window.location.href,hasOpenUrlHandler:u,opts:s,platformName:t,platformUi:n,richContentId:o.id,uploadType:o.uploadType}),h(s.locale,a,s.parentSelector)}function c(e,t,n,r,i,o,a,s){a=d(a),s=s||{},l.closed=s.closed||function(){},l.formatGenerated=s.formatGenerated||v,l.openUrl=s.openUrl||void 0;var c=!!s.openUrl;p(),E("accessible-versions-show",{baseUrl:e,clientId:r,fromPageUrl:window.location.href,hasOpenUrlHandler:c,opts:a,platformName:t,platformUi:n,webpage:i}),h(a.locale,o)}function u(e,t,n,r,i,o,a,s,c){a=d(a),s=s||{},l.closed=s.closed||function(){},l.formatGenerated=s.formatGenerated||v,l.openUrl=s.openUrl||void 0;var u=!!s.openUrl;p(),E("accessible-versions-show",{baseUrl:e,clientId:r,directFileInfo:c,fromPageUrl:window.location.href,hasOpenUrlHandler:u,opts:a,platformName:t,platformUi:n,webpage:i}),h(a.locale,o)}function f(){r("#ally-accessible-versions-iframe").remove(),r(document.body).removeClass("ally-accessible-versions-active"),a=!1}function d(e){return(e=e||{}).locale=e.locale||r("html").attr("lang"),e.closeWhenFormatReady=!1!==e.closeWhenFormatReady,e.renderAudioOnMobileInline=!1!==e.renderAudioOnMobileInline,e}function p(){i.listen("init",function(e,t,n){var r,a;r=n.source,a=t,o&&i.send(r,o.subject,o.data,a)}),i.listen("hide",g),i.listen("active",m),i.listen("downloadReady",function(e){l.formatGenerated(e)}),i.listen("openUrl",function(e){var t;t=e.url,l.openUrl&&l.openUrl(t)})}function h(e,t,n){if(s&&f(),a){document.activeElement.blur();var l=r("#ally-accessible-versions-iframe").show().focus();i.send(l[0].contentWindow,o.subject,o.data)}else{var s=n&&r(n)[0];r(s||document.body).append(t),r("#ally-accessible-versions-iframe").show().focus(),a=!0}r(document.body).addClass("ally-accessible-versions-active")}function m(){r("#ally-accessible-versions-iframe").focus(),i.send(r("#ally-accessible-versions-iframe")[0].contentWindow,"accessible-versions-focus"),r(document.body).on("focusin.ally",function(e){e.target&&"ally-accessible-versions-iframe"!==e.target.id&&setTimeout(function(){m()})}),r("body > *:not(#ally-accessible-versions-iframe)").each(function(e,t){var n=r(t),i=n.attr("aria-hidden")||"";n.attr("data-ally-prev-aria-hidden",i),n.attr("aria-hidden","true")})}function g(){r("#ally-accessible-versions-iframe").hide(),r(document.body).removeClass("ally-accessible-versions-active"),r(document.body).off("focusin.ally"),r("[data-ally-prev-aria-hidden]").each(function(e,t){var n=r(t),i=n.attr("data-ally-prev-aria-hidden");n.removeAttr("data-ally-prev-aria-hidden"),i?n.attr("aria-hidden",i):n.removeAttr("aria-hidden")}),l.closed&&(l.closed(),l.closed=null)}function v(e){g(),i.send(r("#ally-accessible-versions-iframe")[0].contentWindow,"accessible-versions-reset"),window.location=e.url}function E(e,t){o={subject:e,data:t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"FileReference",function(){return i});var r=n(0);function i(e,t,n){this.fileId=e.toString(),this.embed=t,this.uploadType=n||"File"}i.prototype.id=function(){var e=[this.fileId];if(this.embed){e.push("embed");var t=this.embed.altText;"string"===r.type(t)?e.push(JSON.stringify(t)):e.push("null")}return e.join(":")},i.prototype.data=function(){return{id:this.fileId,embed:this.embed,uploadType:this.uploadType}},i.prototype.isEmbedded=function(){return null!==this.embed&&void 0!==this.embed},i.fromAltText=function(e,t){return new i(e,{altText:t})},i.fromElement=function(e,t,n){n=n||{};var r=e.prop("tagName").toLowerCase();if("img"===r){var o=e.attr("alt");return n.hasOwnProperty("alt")&&(o=n.alt),i.fromAltText(t,o)}if("a"===r||"button"===r)return new i(t);throw new Error("Tried to resolve file reference from unknown element type (tagName="+r+")")},i.fromData=function(e){return new i(e.id,e.embed,e.uploadType)}},function(e,t,n){"use strict";function r(e,t){var n=i(e),r=o(e),l=a(e,t);return n&&!r&&!l}function i(e){return!(!e||!e.trim())}function o(e){if(e){var t=e.trim().toLowerCase();return/^[a-zA-Z]{1,6}:[/\\].*$/.test(t)||function(e){return-1===e.indexOf(" ")&&/.*\.[a-zA-Z]{3,4}$/.test(e)}(t)}return!1}function a(e,t){if(e&&t){var n=c(e),r=c(t),i=c(function(e){var t=e.split(/[/\\]/).pop();-1!==t.indexOf(".")&&(t=t.split(".").slice(0,-1).join("."));return t}(t));return r==n||i==n}return!1}function l(e){return e=e||0,Math.round(1e3*e)/10}function s(e){const t=l(e);return 0!==t?t:null}function c(e){return e.replace(/[\s!@#$%^&*()_+=\-[\]{};':"<>?,\\./]/g,"").trim().toLowerCase()}n.r(t),n.d(t,"isAltTextMeaningful",function(){return r}),n.d(t,"isTextSpecified",function(){return i}),n.d(t,"isTextAFileName",function(){return o}),n.d(t,"isTextTheFileName",function(){return a}),n.d(t,"getRoundedScore",function(){return l}),n.d(t,"getHighChartFriendlyScore",function(){return s})},function(e,t,n){var r,i,o;
/*!
* jQuery UI Tooltip 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(62),n(63),n(64),n(8),n(65)],void 0===(o="function"==typeof(r=function(e){return e.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=e(this).attr("title")||"";return e("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,n){var r=(t.attr("aria-describedby")||"").split(/\s+/);r.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(r.join(" ")))},_removeDescribedBy:function(t){var n=t.data("ui-tooltip-id"),r=(t.attr("aria-describedby")||"").split(/\s+/),i=e.inArray(n,r);-1!==i&&r.splice(i,1),t.removeData("ui-tooltip-id"),(r=e.trim(r.join(" ")))?t.attr("aria-describedby",r):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=e([])},_setOption:function(t,n){var r=this;this._super(t,n),"content"===t&&e.each(this.tooltips,function(e,t){r._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur");i.target=i.currentTarget=r.element[0],t.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var t=e(this);if(t.is("[title]"))return t.data("ui-tooltip-title",t.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))}),this.disabledTitles=e([])},open:function(t){var n=this,r=e(t?t.target:this.element).closest(this.options.items);r.length&&!r.data("ui-tooltip-id")&&(r.attr("title")&&r.data("ui-tooltip-title",r.attr("title")),r.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&r.parents().each(function(){var t,r=e(this);r.data("ui-tooltip-open")&&((t=e.Event("blur")).target=t.currentTarget=this,n.close(t,!0)),r.attr("title")&&(r.uniqueId(),n.parents[this.id]={element:this,title:r.attr("title")},r.attr("title",""))}),this._registerCloseHandlers(t,r),this._updateContent(r,t))},_updateContent:function(e,t){var n,r=this.options.content,i=this,o=t?t.type:null;if("string"==typeof r||r.nodeType||r.jquery)return this._open(t,e,r);(n=r.call(e[0],function(n){i._delay(function(){e.data("ui-tooltip-open")&&(t&&(t.type=o),this._open(t,e,n))})}))&&this._open(t,e,n)},_open:function(t,n,r){var i,o,a,l,s=e.extend({},this.options.position);function c(e){s.of=e,o.is(":hidden")||o.position(s)}r&&((i=this._find(n))?i.tooltip.find(".ui-tooltip-content").html(r):(n.is("[title]")&&(t&&"mouseover"===t.type?n.attr("title",""):n.removeAttr("title")),i=this._tooltip(n),o=i.tooltip,this._addDescribedBy(n,o.attr("id")),o.find(".ui-tooltip-content").html(r),this.liveRegion.children().hide(),(l=e("<div>").html(o.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),l.removeAttr("id").find("[id]").removeAttr("id"),l.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:c}),c(t)):o.position(e.extend({of:n},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){o.is(":visible")&&(c(s.of),clearInterval(a))},e.fx.interval)),this._trigger("open",t,{tooltip:o})))},_registerCloseHandlers:function(t,n){var r={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var r=e.Event(t);r.currentTarget=n[0],this.close(r,!0)}}};n[0]!==this.element[0]&&(r.remove=function(){this._removeTooltip(this._find(n).tooltip)}),t&&"mouseover"!==t.type||(r.mouseleave="close"),t&&"focusin"!==t.type||(r.focusout="close"),this._on(!0,n,r)},close:function(t){var n,r=this,i=e(t?t.currentTarget:this.element),o=this._find(i);o?(n=o.tooltip,o.closing||(clearInterval(this.delayedShow),i.data("ui-tooltip-title")&&!i.attr("title")&&i.attr("title",i.data("ui-tooltip-title")),this._removeDescribedBy(i),o.hiding=!0,n.stop(!0),this._hide(n,this.options.hide,function(){r._removeTooltip(e(this))}),i.removeData("ui-tooltip-open"),this._off(i,"mouseleave focusout keyup"),i[0]!==this.element[0]&&this._off(i,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,function(t,n){e(n.element).attr("title",n.title),delete r.parents[t]}),o.closing=!0,this._trigger("close",t,{tooltip:n}),o.hiding||(o.closing=!1))):i.removeData("ui-tooltip-open")},_tooltip:function(t){var n=e("<div>").attr("role","tooltip"),r=e("<div>").appendTo(n),i=n.uniqueId().attr("id");return this._addClass(r,"ui-tooltip-content"),this._addClass(n,"ui-tooltip","ui-widget ui-widget-content"),n.appendTo(this._appendTo(t)),this.tooltips[i]={element:t,tooltip:n}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var t=this;e.each(this.tooltips,function(n,r){var i=e.Event("blur"),o=r.element;i.target=i.currentTarget=o[0],t.close(i,!0),e("#"+n).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==e.uiBackCompat&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),e.ui.tooltip})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;
/*!
* jQuery UI Keycode 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(8)],void 0===(o="function"==typeof(r=function(e){return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;
/*!
* jQuery UI Position 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/position/
*/i=[n(0),n(8)],void 0===(o="function"==typeof(r=function(e){return function(){var t,n=Math.max,r=Math.abs,i=/left|center|right/,o=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,s=/%$/,c=e.fn.position;function u(e,t,n){return[parseFloat(e[0])*(s.test(e[0])?t/100:1),parseFloat(e[1])*(s.test(e[1])?n/100:1)]}function f(t,n){return parseInt(e.css(t,n),10)||0}function d(t){var n=t[0];return 9===n.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(n)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}e.position={scrollbarWidth:function(){if(void 0!==t)return t;var n,r,i=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=i.children()[0];return e("body").append(i),n=o.offsetWidth,i.css("overflow","scroll"),n===(r=o.offsetWidth)&&(r=i[0].clientWidth),i.remove(),t=n-r},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),r=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),i="scroll"===n||"auto"===n&&t.width<t.element[0].scrollWidth;return{width:"scroll"===r||"auto"===r&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:i?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),r=e.isWindow(n[0]),i=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:r,isDocument:i,offset:r||i?{left:0,top:0}:e(t).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},e.fn.position=function(t){if(!t||!t.of)return c.apply(this,arguments);t=e.extend({},t);var s,p,h,m,g,v,E=e(t.of),y=e.position.getWithinInfo(t.within),I=e.position.getScrollInfo(y),_=(t.collision||"flip").split(" "),A={};return v=d(E),E[0].preventDefault&&(t.at="left top"),p=v.width,h=v.height,m=v.offset,g=e.extend({},m),e.each(["my","at"],function(){var e,n,r=(t[this]||"").split(" ");1===r.length&&(r=i.test(r[0])?r.concat(["center"]):o.test(r[0])?["center"].concat(r):["center","center"]),r[0]=i.test(r[0])?r[0]:"center",r[1]=o.test(r[1])?r[1]:"center",e=a.exec(r[0]),n=a.exec(r[1]),A[this]=[e?e[0]:0,n?n[0]:0],t[this]=[l.exec(r[0])[0],l.exec(r[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===t.at[0]?g.left+=p:"center"===t.at[0]&&(g.left+=p/2),"bottom"===t.at[1]?g.top+=h:"center"===t.at[1]&&(g.top+=h/2),s=u(A.at,p,h),g.left+=s[0],g.top+=s[1],this.each(function(){var i,o,a=e(this),l=a.outerWidth(),c=a.outerHeight(),d=f(this,"marginLeft"),v=f(this,"marginTop"),b=l+d+f(this,"marginRight")+I.width,T=c+v+f(this,"marginBottom")+I.height,C=e.extend({},g),O=u(A.my,a.outerWidth(),a.outerHeight());"right"===t.my[0]?C.left-=l:"center"===t.my[0]&&(C.left-=l/2),"bottom"===t.my[1]?C.top-=c:"center"===t.my[1]&&(C.top-=c/2),C.left+=O[0],C.top+=O[1],i={marginLeft:d,marginTop:v},e.each(["left","top"],function(n,r){e.ui.position[_[n]]&&e.ui.position[_[n]][r](C,{targetWidth:p,targetHeight:h,elemWidth:l,elemHeight:c,collisionPosition:i,collisionWidth:b,collisionHeight:T,offset:[s[0]+O[0],s[1]+O[1]],my:t.my,at:t.at,within:y,elem:a})}),t.using&&(o=function(e){var i=m.left-C.left,o=i+p-l,s=m.top-C.top,u=s+h-c,f={target:{element:E,left:m.left,top:m.top,width:p,height:h},element:{element:a,left:C.left,top:C.top,width:l,height:c},horizontal:o<0?"left":i>0?"right":"center",vertical:u<0?"top":s>0?"bottom":"middle"};p<l&&r(i+o)<p&&(f.horizontal="center"),h<c&&r(s+u)<h&&(f.vertical="middle"),n(r(i),r(o))>n(r(s),r(u))?f.important="horizontal":f.important="vertical",t.using.call(this,e,f)}),a.offset(e.extend(C,{using:o}))})},e.ui.position={fit:{left:function(e,t){var r,i=t.within,o=i.isWindow?i.scrollLeft:i.offset.left,a=i.width,l=e.left-t.collisionPosition.marginLeft,s=o-l,c=l+t.collisionWidth-a-o;t.collisionWidth>a?s>0&&c<=0?(r=e.left+s+t.collisionWidth-a-o,e.left+=s-r):e.left=c>0&&s<=0?o:s>c?o+a-t.collisionWidth:o:s>0?e.left+=s:c>0?e.left-=c:e.left=n(e.left-l,e.left)},top:function(e,t){var r,i=t.within,o=i.isWindow?i.scrollTop:i.offset.top,a=t.within.height,l=e.top-t.collisionPosition.marginTop,s=o-l,c=l+t.collisionHeight-a-o;t.collisionHeight>a?s>0&&c<=0?(r=e.top+s+t.collisionHeight-a-o,e.top+=s-r):e.top=c>0&&s<=0?o:s>c?o+a-t.collisionHeight:o:s>0?e.top+=s:c>0?e.top-=c:e.top=n(e.top-l,e.top)}},flip:{left:function(e,t){var n,i,o=t.within,a=o.offset.left+o.scrollLeft,l=o.width,s=o.isWindow?o.scrollLeft:o.offset.left,c=e.left-t.collisionPosition.marginLeft,u=c-s,f=c+t.collisionWidth-l-s,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];u<0?((n=e.left+d+p+h+t.collisionWidth-l-a)<0||n<r(u))&&(e.left+=d+p+h):f>0&&((i=e.left-t.collisionPosition.marginLeft+d+p+h-s)>0||r(i)<f)&&(e.left+=d+p+h)},top:function(e,t){var n,i,o=t.within,a=o.offset.top+o.scrollTop,l=o.height,s=o.isWindow?o.scrollTop:o.offset.top,c=e.top-t.collisionPosition.marginTop,u=c-s,f=c+t.collisionHeight-l-s,d="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,p="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];u<0?((i=e.top+d+p+h+t.collisionHeight-l-a)<0||i<r(u))&&(e.top+=d+p+h):f>0&&((n=e.top-t.collisionPosition.marginTop+d+p+h-s)>0||r(n)<f)&&(e.top+=d+p+h)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}(),e.ui.position})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;
/*!
* jQuery UI Unique ID 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(8)],void 0===(o="function"==typeof(r=function(e){return e.fn.extend({uniqueId:(t=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}});var t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;
/*!
* jQuery UI Widget 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(8)],void 0===(o="function"==typeof(r=function(e){var t,n=0,r=Array.prototype.slice;return e.cleanData=(t=e.cleanData,function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{(r=e._data(i,"events"))&&r.remove&&e(i).triggerHandler("remove")}catch(e){}t(n)}),e.widget=function(t,n,r){var i,o,a,l={},s=t.split(".")[0],c=s+"-"+(t=t.split(".")[1]);return r||(r=n,n=e.Widget),e.isArray(r)&&(r=e.extend.apply(null,[{}].concat(r))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[s]=e[s]||{},i=e[s][t],o=e[s][t]=function(e,t){if(!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},e.extend(o,i,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),(a=new n).options=e.widget.extend({},a.options),e.each(r,function(t,r){e.isFunction(r)?l[t]=function(){function e(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,o=this._superApply;return this._super=e,this._superApply=i,t=r.apply(this,arguments),this._super=n,this._superApply=o,t}}():l[t]=r}),o.prototype=e.widget.extend(a,{widgetEventPrefix:i&&a.widgetEventPrefix||t},l,{constructor:o,namespace:s,widgetName:t,widgetFullName:c}),i?(e.each(i._childConstructors,function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete i._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var n,i,o=r.call(arguments,1),a=0,l=o.length;a<l;a++)for(n in o[a])i=o[a][n],o[a].hasOwnProperty(n)&&void 0!==i&&(e.isPlainObject(i)?t[n]=e.isPlainObject(t[n])?e.widget.extend({},t[n],i):e.widget.extend({},i):t[n]=i);return t},e.widget.bridge=function(t,n){var i=n.prototype.widgetFullName||t;e.fn[t]=function(o){var a="string"==typeof o,l=r.call(arguments,1),s=this;return a?this.length||"instance"!==o?this.each(function(){var n,r=e.data(this,i);return"instance"===o?(s=r,!1):r?e.isFunction(r[o])&&"_"!==o.charAt(0)?(n=r[o].apply(r,l))!==r&&void 0!==n?(s=n&&n.jquery?s.pushStack(n.get()):n,!1):void 0:e.error("no such method '"+o+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+o+"'")}):s=void 0:(l.length&&(o=e.widget.extend.apply(null,[o].concat(l))),this.each(function(){var t=e.data(this,i);t?(t.option(o||{}),t._init&&t._init()):e.data(this,i,new n(o,this))})),s}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r,i,o,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},r=t.split("."),t=r.shift(),r.length){for(i=a[t]=e.widget.extend({},this.options[t]),o=0;o<r.length-1;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(t=r.pop(),1===arguments.length)return void 0===i[t]?null:i[t];i[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=n}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,r,i;for(n in t)i=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&i&&i.length&&(r=e(i.get()),this._removeClass(i,n),r.addClass(this._classes({element:r,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){var n=[],r=this;function i(i,o){var a,l;for(l=0;l<i.length;l++)a=r.classesElementLookup[i[l]]||e(),a=t.add?e(e.unique(a.get().concat(t.element.get()))):e(a.not(t.element).get()),r.classesElementLookup[i[l]]=a,n.push(i[l]),o&&t.classes[i[l]]&&n.push(t.classes[i[l]])}return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&i(t.keys.match(/\S+/g)||[],!0),t.extra&&i(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,function(r,i){-1!==e.inArray(t.target,i)&&(n.classesElementLookup[r]=e(i.not(t.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof e||null===e,o={extra:i?t:n,keys:i?e:t,element:i?this.element:e,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(t,n,r){var i,o=this;"boolean"!=typeof t&&(r=n,n=t,t=!1),r?(n=i=e(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),e.each(r,function(r,a){function l(){if(t||!0!==o.options.disabled&&!e(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(l.guid=a.guid=a.guid||l.guid||e.guid++);var s=r.match(/^([\w:-]*)\s*(.*)$/),c=s[1]+o.eventNamespace,u=s[2];u?i.on(c,u,l):n.on(c,l)})},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n).off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,r){var i,o,a=this.options[t];if(r=r||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!(e.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,n){e.Widget.prototype["_"+t]=function(r,i,o){var a;"string"==typeof i&&(i={effect:i});var l=i?!0===i||"number"==typeof i?n:i.effect||n:t;"number"==typeof(i=i||{})&&(i={duration:i}),a=!e.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),a&&e.effects&&e.effects.effect[l]?r[t](i):l!==t&&r[l]?r[l](i.duration,i.easing,o):r.queue(function(n){e(this)[t](),o&&o.call(r[0]),n()})}}),e.widget})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";n.r(t);var r=n(0);r.fn.visible=function(){var e=r(window).outerWidth(),t=r(window).outerHeight(),n=this.get(0).getBoundingClientRect(),i=n.top>=0&&n.top<t,o=n.bottom>0&&n.bottom<=t,a=n.left>=0&&n.left<e,l=n.right>0&&n.right<=e;return{isEntirelyVisible:i&&o&&a&&l,topVisible:i,bottomVisible:o,leftVisible:a,rightVisible:l}}},function(e,t,n){"use strict";n.r(t),n.d(t,"launch",function(){return s}),n.d(t,"reset",function(){return c});var r=n(0),i=n(4),o=null,a=!1,l={closed:function(){},deleted:function(){},updated:function(){},replacedFile:function(){}};function s(e,t,n,s,c,u,h,m,g){(m=m||{}).locale=m.locale||r("html").attr("lang"),m.target=m.target||"iframe",g=g||{},l.closed=g.closed||function(){},l.deleted=g.deleted||function(){},l.updated=g.updated||function(){},l.replacedFile=g.replacedFile||function(){},i.listen("init",function(e,t,n){p(n.source,t)}),i.listen("hide",d),i.listen("active",f),i.listen("close",function(e){l.closed(e.fileId),l.closed=null}),i.listen("replaceFile",function(e){e.oldFileId&&e.newFile?l.replacedFile(e.oldFileId,e.newFile):l.updated(e.newFile)}),i.listen("deleteFile",function(e){l.deleted(e.fileId)}),i.listen("print",function(){window.print()}),"window"===m.target?function(e,t,n,r,i,o,a,l){var s={fromPageUrl:window.location.href,clientId:r,courseId:i,uploadType:o.uploadType||"File",externalId:o.fileId,altText:o.embed&&o.embed.altText,filePreviewUrl:l.filePreviewUrl,issue:l.issue,locale:l.locale,locator_selector:l.locator&&l.locator.selector&&encodeURIComponent(l.locator.selector),locator_index:l.locator&&l.locator.index,platformName:t,platformUi:n,richContentId:l.richContentId,windowTitle:l.windowTitle},c=[];Object.keys(s).forEach(function(e){s[e]&&c.push(e+"="+encodeURIComponent(s[e]))});var u=e+"/launchinstructorfeedback/?"+c.join("&");(l.windowLauncher||window.open).call(null,[u])}(e,t,n,s,c,u,0,m):function(e,t,n,i,l,s,c,u){f="instructor-feedback-show",h={fromPageUrl:window.location.href,clientId:i,courseId:l,fileReferenceData:s.data(),filePreviewUrl:u.filePreviewUrl,locator:u.locator,platformName:t,platformUi:n,richContentId:u.richContentId,issue:u.issue,locale:u.locale},o={subject:f,data:h},function(e){var t=null,n=null;a?(t=r("#ally-instructor-feedback-iframe"),n=t.find("iframe"),t.removeClass("ally-iframe-active"),t.fadeIn(300,function(){r(document.body).addClass("ally-instructor-feedback-active")}),t.find("> :not(iframe):not(#ally-instructor-feedback-iframe-start):not(#ally-instructor-feedback-iframe-end)").attr("aria-hidden","false"),t.find("> img").focus(),p(n[0].contentWindow)):(t=r(e),n=t.find("iframe"),t.css({display:"flex"}).hide(),t.find("button").click(function(){d()}),t.find("#ally-instructor-feedback-iframe-start,#ally-instructor-feedback-iframe-end").focus(function(){t.find("button").focus()}),r(document.body).append(t),t.fadeIn(300,function(){r(document.body).addClass("ally-instructor-feedback-active")}),t.find("> img").focus(),a=!0)}(c);var f,h}(0,t,n,s,c,u,h,m)}function c(){r("#ally-instructor-feedback-iframe").remove(),r(document.body).removeClass("ally-instructor-feedback-active"),a=!1}function u(){r(document.body).find(":focus").blur(),r("#ally-instructor-feedback-iframe > :not(iframe)").attr("aria-hidden","true"),i.send(r("#ally-instructor-feedback-iframe iframe")[0].contentWindow,"instructor-feedback-focus")}function f(){r("#ally-instructor-feedback-iframe").addClass("ally-iframe-active"),r(document.body).on("focusin.ally",function(){u()}),u(),r("body > *:not(#ally-instructor-feedback-iframe)").each(function(e,t){var n=r(t),i=n.attr("aria-hidden")||"";n.attr("data-ally-prev-aria-hidden",i),n.attr("aria-hidden","true")})}function d(){r(document.body).off("focusin.ally"),r(document.body).removeClass("ally-instructor-feedback-active"),r("#ally-instructor-feedback-iframe").fadeOut(),r("[data-ally-prev-aria-hidden]").each(function(e,t){var n=r(t),i=n.attr("data-ally-prev-aria-hidden");n.removeAttr("data-ally-prev-aria-hidden"),i?n.attr("aria-hidden",i):n.removeAttr("aria-hidden")}),l.closed(),l.closed=null}function p(e,t){o&&i.send(e,o.subject,o.data,t)}},function(e,t){var n={__root:{ACCESSIBILITY:"Accessibility",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Accessibility information not available",ACCESSIBILITY_SCORE_HIGH:"Accessibility score: High",ACCESSIBILITY_SCORE_LOW:"Accessibility score: Low",ACCESSIBILITY_SCORE_MEDIUM:"Accessibility score: Medium",ACCESSIBILITY_SCORE_PERFECT:"Accessibility score: Perfect",ACTIONS:"Actions",ALTERNATIVE_FORMATS:"Alternative formats",CANCEL:"Cancel",CLICK_TO_IMPROVE:"Click to improve",DOWNLOAD:"Download",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Download alternative formats ...",DOWNLOAD_OPTIONS:"Download options",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternative Formats",FILE_HAS_BEEN_DELETED:"File has been deleted",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"HTML file",FILE_TYPE_IMAGE:"Image",FILE_TYPE_OTHER:"Other",FILE_TYPE_PDF:"PDF document",FILE_TYPE_PRESENTATION:"Presentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Fix",INSTRUCTOR_FEEDBACK:"Instructor feedback",INSTRUCTOR_FEEDBACK_FOR:"Instructor feedback for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Loading Instructor Feedback. Please wait.",POTENTIALLY_SEIZURE_INDUCING:"Potentially seizure inducing",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potentially seizure inducing animation. Press to enable.",PREVIEW:"Preview",SHOW_IMAGE_ANYWAY:"Show image anyway",X_OF_Y:"{0} / {1}"},__ar:{ACCESSIBILITY:"إمكانية وصول ذوي الاحتياجات الخاصة",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"معلومات إمكانية وصول ذوي الاحتياجات الخاصة غير متاحة",ACCESSIBILITY_SCORE_HIGH:"درجة إمكانية وصول ذوي الاحتياجات الخاصة: عالية",ACCESSIBILITY_SCORE_LOW:"درجة إمكانية وصول ذوي الاحتياجات الخاصة: منخفضة",ACCESSIBILITY_SCORE_MEDIUM:"درجة إمكانية وصول ذوي الاحتياجات الخاصة: متوسطة",ACCESSIBILITY_SCORE_PERFECT:"درجة إمكانية وصول ذوي الاحتياجات الخاصة: ممتازة",ACTIONS:"الإجراءات",ALTERNATIVE_FORMATS:"تنسيقات بديلة",CANCEL:"إلغاء الأمر",CLICK_TO_IMPROVE:"النقر للتحسين",DOWNLOAD:"تنزيل",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"تنزيل تنسيقات بديلة ...",DOWNLOAD_OPTIONS:"خيارات التنزيل",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - التنسيقات البديلة",FILE_HAS_BEEN_DELETED:"تم حذف الملف",FILE_TYPE_DOCUMENT:"المستند",FILE_TYPE_HTML_PAGE:"ملف HTML",FILE_TYPE_IMAGE:"الصورة",FILE_TYPE_OTHER:"أخرى",FILE_TYPE_PDF:"مستند PDF",FILE_TYPE_PRESENTATION:"العرض التقديمي",FILE_TYPE_SCORE:"{0} - {1}",FIX:"إصلاح",INSTRUCTOR_FEEDBACK:"ملاحظات المدرس",INSTRUCTOR_FEEDBACK_FOR:"ملاحظات المدرس الخاصة بـ {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"تحميل ملاحظات المدرس. يرجى الانتظار.",POTENTIALLY_SEIZURE_INDUCING:"احتمال حدوث نوبة صرع",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"احتمال حدوث نوبة صرع من الرسوم المتحركة. اضغط للتمكين.",PREVIEW:"معاينة",SHOW_IMAGE_ANYWAY:"إظهار الصورة على أي حال"},__ca:{ACCESSIBILITY:"Accessibilitat",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Informació d'accessibilitat no disponible",ACCESSIBILITY_SCORE_HIGH:"Puntuació d'accessibilitat: alta",ACCESSIBILITY_SCORE_LOW:"Puntuació d'accessibilitat: baixa",ACCESSIBILITY_SCORE_MEDIUM:"Puntuació d'accessibilitat: mitjana",ACCESSIBILITY_SCORE_PERFECT:"Puntuació d'accessibilitat: perfecta",ACTIONS:"Accions",ALTERNATIVE_FORMATS:"Formats alternatius",CANCEL:"Cancel·la",CLICK_TO_IMPROVE:"Feu clic per millorar",DOWNLOAD:"Descarrega",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Descarrega formats alternatius...",DOWNLOAD_OPTIONS:"Opcions de descàrrega",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Formats alternatius",FILE_HAS_BEEN_DELETED:"S'ha suprimit el fitxer",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"Fitxer HTML",FILE_TYPE_IMAGE:"Imatge",FILE_TYPE_OTHER:"Altres",FILE_TYPE_PDF:"Document PDF",FILE_TYPE_PRESENTATION:"Presentació",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Corregeix",INSTRUCTOR_FEEDBACK:"Comentaris de l'instructor",INSTRUCTOR_FEEDBACK_FOR:"Comentaris de l'instructor per a {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"S'estan carregant els comentaris de l'instructor. Espereu.",POTENTIALLY_SEIZURE_INDUCING:"Pot provocar atacs",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Aquesta animació podria provocar atacs. Premeu per activar-la.",PREVIEW:"Visualització prèvia",SHOW_IMAGE_ANYWAY:"Mostra la imatge de totes maneres"},__cy:{ACCESSIBILITY:"Hygyrchedd",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Gwybodaeth hygyrchedd ddim ar gael",ACCESSIBILITY_SCORE_HIGH:"Sgôr hygyrchedd: Uchel",ACCESSIBILITY_SCORE_LOW:"Sgôr hygyrchedd: Isel",ACCESSIBILITY_SCORE_MEDIUM:"Sgôr hygyrchedd: Canolig",ACCESSIBILITY_SCORE_PERFECT:"Sgôr hygyrchedd: Perffaith",ACTIONS:"Gweithrediadau",ALTERNATIVE_FORMATS:"Fformatau amgen",CANCEL:"Canslo",CLICK_TO_IMPROVE:"Cliciwch i'w wella",DOWNLOAD:"Lawrlwytho",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Lawrlwytho fformatau amgen ...",DOWNLOAD_OPTIONS:"Opsiynau lawrlwytho",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Fformatau Amgen",FILE_HAS_BEEN_DELETED:"Dilëwyd y ffeil",FILE_TYPE_DOCUMENT:"Dogfen",FILE_TYPE_HTML_PAGE:"Ffeil HTML",FILE_TYPE_IMAGE:"Delwedd",FILE_TYPE_OTHER:"Arall",FILE_TYPE_PDF:"Dogfen PDF",FILE_TYPE_PRESENTATION:"Cyflwyniad",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Trwsio",INSTRUCTOR_FEEDBACK:"Adborth gan yr hyfforddwr",INSTRUCTOR_FEEDBACK_FOR:"Adborth hyfforddwr ar gyfer {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Wrthi'n llwytho adborth yr hyfforddwr. Arhoswch.",POTENTIALLY_SEIZURE_INDUCING:"Gallai achosi trawiad",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animeiddiad a allai achosi trawiad. Pwyswch i'w alluogi.",PREVIEW:"Rhagolwg",SHOW_IMAGE_ANYWAY:"Dangos y ddelwedd beth bynnag"},__da:{ACCESSIBILITY:"Tilgængelighed",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Ingen oplysninger om tilgængelighed",ACCESSIBILITY_SCORE_HIGH:"Tilgængelighedsvurdering: Høj",ACCESSIBILITY_SCORE_LOW:"Tilgængelighedsvurdering: Lav",ACCESSIBILITY_SCORE_MEDIUM:"Tilgængelighedsvurdering: Middel",ACCESSIBILITY_SCORE_PERFECT:"Tilgængelighedsvurdering: Perfekt",ACTIONS:"Handlinger",ALTERNATIVE_FORMATS:"Alternative formater",CANCEL:"Annuller",CLICK_TO_IMPROVE:"Klik for at forbedre",DOWNLOAD:"Download",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Download alternative formater ...",DOWNLOAD_OPTIONS:"Indstillinger for download",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternative formater",FILE_HAS_BEEN_DELETED:"Filen blev slettet",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-fil",FILE_TYPE_IMAGE:"Billede",FILE_TYPE_OTHER:"Andet",FILE_TYPE_PDF:"PDF-dokument",FILE_TYPE_PRESENTATION:"Præsentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Ret",INSTRUCTOR_FEEDBACK:"Undervisers feedback",INSTRUCTOR_FEEDBACK_FOR:"Undervisers feedback for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Indlæser undervisers feedback. Vent venligst.",POTENTIALLY_SEIZURE_INDUCING:"Kan fremkalde epileptiske anfald",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animationen kan fremkalde epileptiske anfald. Tryk for at aktivere.",PREVIEW:"Eksempelvisning",SHOW_IMAGE_ANYWAY:"Vis billedet alligevel"},__de:{ACCESSIBILITY:"Barrierefreiheit",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Informationen zur Barrierefreiheit nicht verfügbar",ACCESSIBILITY_SCORE_HIGH:"Barrierefreiheit: Hoch",ACCESSIBILITY_SCORE_LOW:"Barrierefreiheit: Gering",ACCESSIBILITY_SCORE_MEDIUM:"Barrierefreiheit: Mittel",ACCESSIBILITY_SCORE_PERFECT:"Barrierefreiheit: Perfekt",ACTIONS:"Aktionen",ALTERNATIVE_FORMATS:"Alternative Formate",CANCEL:"Abbrechen",CLICK_TO_IMPROVE:"Zum Verbessern klicken",DOWNLOAD:"Herunterladen",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Alternative Formate herunterladen ...",DOWNLOAD_OPTIONS:"Optionen zum Herunterladen",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} – Alternative Formate",FILE_HAS_BEEN_DELETED:"Datei wurde gelöscht",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-Datei",FILE_TYPE_IMAGE:"Grafik",FILE_TYPE_OTHER:"Andere",FILE_TYPE_PDF:"PDF-Dokument",FILE_TYPE_PRESENTATION:"Präsentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Beheben",INSTRUCTOR_FEEDBACK:"Feedback des Kursleiters",INSTRUCTOR_FEEDBACK_FOR:"Feedback des Kursleiters für {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Feedback des Kursleiters wird geladen. Bitte warten.",POTENTIALLY_SEIZURE_INDUCING:"Kann Anfälle auslösen",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animation kann Anfälle auslösen. Zum Aktivieren drücken.",PREVIEW:"Vorschau",SHOW_IMAGE_ANYWAY:"Grafik dennoch anzeigen"},"__en-gb":{ACCESSIBILITY:"Accessibility",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Accessibility information not available",ACCESSIBILITY_SCORE_HIGH:"Accessibility score: High",ACCESSIBILITY_SCORE_LOW:"Accessibility score: Low",ACCESSIBILITY_SCORE_MEDIUM:"Accessibility score: Medium",ACCESSIBILITY_SCORE_PERFECT:"Accessibility score: Perfect",ACTIONS:"Actions",ALTERNATIVE_FORMATS:"Alternative formats",CANCEL:"Cancel",CLICK_TO_IMPROVE:"Click to improve",DOWNLOAD:"Download",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Download alternative formats ...",DOWNLOAD_OPTIONS:"Download options",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternative Formats",FILE_HAS_BEEN_DELETED:"File has been deleted",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"HTML file",FILE_TYPE_IMAGE:"Image",FILE_TYPE_OTHER:"Other",FILE_TYPE_PDF:"PDF document",FILE_TYPE_PRESENTATION:"Presentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Fix",INSTRUCTOR_FEEDBACK:"Instructor feedback",INSTRUCTOR_FEEDBACK_FOR:"Instructor feedback for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Loading Instructor Feedback. Please wait.",POTENTIALLY_SEIZURE_INDUCING:"Potentially seizure-inducing",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potentially seizure-inducing animation. Press to enable.",PREVIEW:"Preview",SHOW_IMAGE_ANYWAY:"Show image anyway"},"__en-us-pro":{ACCESSIBILITY:"Accessibility",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Accessibility information not available",ACCESSIBILITY_SCORE_HIGH:"Accessibility score: High",ACCESSIBILITY_SCORE_LOW:"Accessibility score: Low",ACCESSIBILITY_SCORE_MEDIUM:"Accessibility score: Medium",ACCESSIBILITY_SCORE_PERFECT:"Accessibility score: Perfect",ACTIONS:"Actions",ALTERNATIVE_FORMATS:"Alternative formats",CANCEL:"Cancel",CLICK_TO_IMPROVE:"Click to improve",DOWNLOAD:"Download",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Download alternative formats ...",DOWNLOAD_OPTIONS:"Download options",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternative Formats",FILE_HAS_BEEN_DELETED:"File has been deleted",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"HTML file",FILE_TYPE_IMAGE:"Image",FILE_TYPE_OTHER:"Other",FILE_TYPE_PDF:"PDF document",FILE_TYPE_PRESENTATION:"Presentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Fix",INSTRUCTOR_FEEDBACK:"Instructor feedback",INSTRUCTOR_FEEDBACK_FOR:"Instructor feedback for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Loading Instructor Feedback. Please wait.",POTENTIALLY_SEIZURE_INDUCING:"Potentially seizure inducing",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potentially seizure inducing animation. Press to enable.",PREVIEW:"Preview",SHOW_IMAGE_ANYWAY:"Show image anyway"},__es:{ACCESSIBILITY:"Accesibilidad",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Información de accesibilidad no disponible",ACCESSIBILITY_SCORE_HIGH:"Calificación de accesibilidad: alta",ACCESSIBILITY_SCORE_LOW:"Calificación de accesibilidad: baja",ACCESSIBILITY_SCORE_MEDIUM:"Calificación de accesibilidad: media",ACCESSIBILITY_SCORE_PERFECT:"Calificación de accesibilidad: perfecta",ACTIONS:"Acciones",ALTERNATIVE_FORMATS:"Formatos alternativos",CANCEL:"Cancelar",CLICK_TO_IMPROVE:"Haga clic para mejorar",DOWNLOAD:"Descargar",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Descargar formatos alternativos...",DOWNLOAD_OPTIONS:"Opciones de descarga",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME}: formatos alternativos",FILE_HAS_BEEN_DELETED:"Se eliminó el archivo",FILE_TYPE_DOCUMENT:"Documento",FILE_TYPE_HTML_PAGE:"Archivo HTML",FILE_TYPE_IMAGE:"Imagen",FILE_TYPE_OTHER:"Otros",FILE_TYPE_PDF:"Documento PDF",FILE_TYPE_PRESENTATION:"Presentación",FILE_TYPE_SCORE:"{0}-{1}",FIX:"Corregir",INSTRUCTOR_FEEDBACK:"Comentarios del profesor",INSTRUCTOR_FEEDBACK_FOR:"Comentarios del profesor para {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Cargando los comentarios del profesor. Aguarde un momento.",POTENTIALLY_SEIZURE_INDUCING:"Puede generar convulsiones",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"La animación puede generar convulsiones. Presione para permitir.",PREVIEW:"Vista previa",SHOW_IMAGE_ANYWAY:"Mostrar imagen de todas formas"},__fi:{ACCESSIBILITY:"Helppokäyttöisyys",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Helppokäyttöisyystiedot eivät ole käytettävissä",ACCESSIBILITY_SCORE_HIGH:"Helppokäyttöisyysarvo: korkea",ACCESSIBILITY_SCORE_LOW:"Helppokäyttöisyysarvo: matala",ACCESSIBILITY_SCORE_MEDIUM:"Helppokäyttöisyysarvo: keskitaso",ACCESSIBILITY_SCORE_PERFECT:"Helppokäyttöisyysarvo: täydellinen",ACTIONS:"Toiminnot",ALTERNATIVE_FORMATS:"Vaihtoehtoiset muodot",CANCEL:"Peruuta",CLICK_TO_IMPROVE:"Paranna napsauttamalla",DOWNLOAD:"Lataa",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Lataa vaihtoehtoiset muodot...",DOWNLOAD_OPTIONS:"Latausasetukset",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Vaihtoehtoiset tiedostomuodot",FILE_HAS_BEEN_DELETED:"Tiedosto on poistettu",FILE_TYPE_DOCUMENT:"Asiakirja",FILE_TYPE_HTML_PAGE:"HTML-tiedosto",FILE_TYPE_IMAGE:"Kuva",FILE_TYPE_OTHER:"Muu",FILE_TYPE_PDF:"PDF-asiakirja",FILE_TYPE_PRESENTATION:"Esitys",FILE_TYPE_SCORE:"{0}–{1}",FIX:"Korjaa",INSTRUCTOR_FEEDBACK:"Ohjaajan palaute",INSTRUCTOR_FEEDBACK_FOR:"Ohjaajan palaute kohteelle {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Ladataan ohjaajan palautetta. Odota.",POTENTIALLY_SEIZURE_INDUCING:"Voi aiheuttaa epileptisiä kohtauksia",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animaatio voi aiheuttaa epileptisiä kohtauksia. Ota käyttöön painamalla tätä.",PREVIEW:"Esikatsele",SHOW_IMAGE_ANYWAY:"Näytä kuva tästä huolimatta"},__fr:{ACCESSIBILITY:"Accessibilité",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Les informations sur l'accessibilité ne sont pas disponibles",ACCESSIBILITY_SCORE_HIGH:"Résultat d'accessibilité : élevé",ACCESSIBILITY_SCORE_LOW:"Résultat d'accessibilité : faible",ACCESSIBILITY_SCORE_MEDIUM:"Résultat d'accessibilité : moyen",ACCESSIBILITY_SCORE_PERFECT:"Résultat d'accessibilité : parfait",ACTIONS:"Actions",ALTERNATIVE_FORMATS:"Formats alternatifs",CANCEL:"Annuler",CLICK_TO_IMPROVE:"Cliquer pour améliorer",DOWNLOAD:"Télécharger",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Télécharger des formats alternatifs…",DOWNLOAD_OPTIONS:"Options de téléchargement",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Formats alternatifs",FILE_HAS_BEEN_DELETED:"Le fichier a été supprimé",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"Fichier HTML",FILE_TYPE_IMAGE:"Image",FILE_TYPE_OTHER:"Autre",FILE_TYPE_PDF:"Document PDF",FILE_TYPE_PRESENTATION:"Présentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Résoudre",INSTRUCTOR_FEEDBACK:"Feed-back du professeur",INSTRUCTOR_FEEDBACK_FOR:"Feed-back du professeur pour {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Chargement du feed-back du professeur en cours. Veuillez patienter.",POTENTIALLY_SEIZURE_INDUCING:"Risque potentiel de crise d'épilepsie",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animation susceptible de provoquer une crise d'épilepsie. Appuyez pour activer.",PREVIEW:"Aperçu",SHOW_IMAGE_ANYWAY:"Afficher quand même l'image"},"__fr-ca":{ACCESSIBILITY:"Accessibilité",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"L'information d'accessibilité n'est pas disponible",ACCESSIBILITY_SCORE_HIGH:"Score d'accessibilité : Élevé",ACCESSIBILITY_SCORE_LOW:"Score d'accessibilité : Bas",ACCESSIBILITY_SCORE_MEDIUM:"Score d'accessibilité : Moyen",ACCESSIBILITY_SCORE_PERFECT:"Score d'accessibilité : Parfait",ACTIONS:"Actions",ALTERNATIVE_FORMATS:"Médias adaptés",CANCEL:"Annuler",CLICK_TO_IMPROVE:"Cliquer pour améliorer",DOWNLOAD:"Télécharger",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Télécharger d'autres formats...",DOWNLOAD_OPTIONS:"Télécharger les options",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Autres formats",FILE_HAS_BEEN_DELETED:"Le fichier a été supprimé",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"Fichier HTML",FILE_TYPE_IMAGE:"Image",FILE_TYPE_OTHER:"Autre",FILE_TYPE_PDF:"Document PDF",FILE_TYPE_PRESENTATION:"Présentation",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Corriger",INSTRUCTOR_FEEDBACK:"Rétroactions de l'instructeur",INSTRUCTOR_FEEDBACK_FOR:"Rétroactions de l'instructeur pour {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Chargement des rétroactions de l'instructeur en cours. Veuillez patienter.",POTENTIALLY_SEIZURE_INDUCING:"Susceptible de provoquer une crise épileptique",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Cette animation est susceptible de provoquer une crise épileptique. Appuyez pour la lancer.",PREVIEW:"Aperçu",SHOW_IMAGE_ANYWAY:"Afficher l'image quand même"},__it:{ACCESSIBILITY:"Accessibilità",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Informazioni sull'accessibilità non disponibili",ACCESSIBILITY_SCORE_HIGH:"Punteggio di accessibilità: alto",ACCESSIBILITY_SCORE_LOW:"Punteggio di accessibilità: basso",ACCESSIBILITY_SCORE_MEDIUM:"Punteggio di accessibilità: medio",ACCESSIBILITY_SCORE_PERFECT:"Punteggio di accessibilità: perfetto",ACTIONS:"Azioni",ALTERNATIVE_FORMATS:"Formati alternativi",CANCEL:"Annulla",CLICK_TO_IMPROVE:"Fare clic per migliorare",DOWNLOAD:"Scarica",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Scarica formati alternativi ...",DOWNLOAD_OPTIONS:"Opzioni di download",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Formati alternativi",FILE_HAS_BEEN_DELETED:"Il file è stato eliminato",FILE_TYPE_DOCUMENT:"Documento",FILE_TYPE_HTML_PAGE:"File HTML",FILE_TYPE_IMAGE:"Immagine",FILE_TYPE_OTHER:"Altro",FILE_TYPE_PDF:"Documento PDF",FILE_TYPE_PRESENTATION:"Presentazione",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Correggi",INSTRUCTOR_FEEDBACK:"Feedback docenti",INSTRUCTOR_FEEDBACK_FOR:"Feedback docenti per {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Caricamento feedback docenti. Attendere.",POTENTIALLY_SEIZURE_INDUCING:"Che può provocare una crisi convulsiva",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animazione che può provocare una crisi convulsiva. Premere per abilitare.",PREVIEW:"Anteprima",SHOW_IMAGE_ANYWAY:"Mostra immagine comunque"},__nb:{ACCESSIBILITY:"Tilgjengelighet",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Ingen tilgjengelighetsinformasjon er tilgjengelig",ACCESSIBILITY_SCORE_HIGH:"Tilgjengelighetsresultat: God",ACCESSIBILITY_SCORE_LOW:"Tilgjengelighetsresultat: Dårlig",ACCESSIBILITY_SCORE_MEDIUM:"Tilgjengelighetsresultat: Middels",ACCESSIBILITY_SCORE_PERFECT:"Tilgjengelighetsresultat: Perfekt",ACTIONS:"Handlinger",ALTERNATIVE_FORMATS:"Alternative formater",CANCEL:"Avbryt",CLICK_TO_IMPROVE:"Klikk for å forbedre",DOWNLOAD:"Last ned",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Last ned alternative formater ...",DOWNLOAD_OPTIONS:"Nedlastingsalternativer",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} – alternative formater",FILE_HAS_BEEN_DELETED:"Filen er slettet",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-fil",FILE_TYPE_IMAGE:"Bilde",FILE_TYPE_OTHER:"Annet",FILE_TYPE_PDF:"Rediger dokumentet",FILE_TYPE_PRESENTATION:"Presentasjon",FILE_TYPE_SCORE:"{0}–{1}",FIX:"Fiks",INSTRUCTOR_FEEDBACK:"Tilbakemelding fra underviseren",INSTRUCTOR_FEEDBACK_FOR:"Undervisertilbakemelding for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Laster inn tilbakemelding fra underviseren. Vent litt.",POTENTIALLY_SEIZURE_INDUCING:"Potensielt anfallsfremkallende",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potensielt anfallsfremkallende animasjon. Trykk for å aktivere den.",PREVIEW:"Forhåndsvisning",SHOW_IMAGE_ANYWAY:"Vis bildet likevel"},__nn:{ACCESSIBILITY:"Tilgjenge",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Tilgjengeinformasjon ikkje tilgjengeleg",ACCESSIBILITY_SCORE_HIGH:"Tilgjengevurdering: Høg",ACCESSIBILITY_SCORE_LOW:"Tilgjengevurdering: Låg",ACCESSIBILITY_SCORE_MEDIUM:"Tilgjengevurdering: Middels",ACCESSIBILITY_SCORE_PERFECT:"Tilgjengevurdering: Perfekt",ALTERNATIVE_FORMATS:"Alternative format",CANCEL:"Avbryt",CLICK_TO_IMPROVE:"Klikk for å betre",DOWNLOAD:"Last ned",DOWNLOAD_OPTIONS:"Last ned alternativ",FILE_HAS_BEEN_DELETED:"Fila er sletta",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-fil",FILE_TYPE_IMAGE:"Bilete",FILE_TYPE_OTHER:"Anna",FILE_TYPE_PDF:"PDF-dokument",FILE_TYPE_PRESENTATION:"Presentasjon",FILE_TYPE_SCORE:"{0}−{1}",FIX:"Reparer",INSTRUCTOR_FEEDBACK:"Tilbakemelding frå lærar",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Lastar inn tilbakemelding frå lærar. Vent litt.",POTENTIALLY_SEIZURE_INDUCING:"Potensielt åtaksframkallande",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potensielt åtaksframkallande animasjon. Trykk for å aktivere.",PREVIEW:"Førehandsvis",SETTINGS:"Innstillingar",SHOW_IMAGE_ANYWAY:"Vis bilete likevel"},"__nn-no":{ACCESSIBILITY:"Tilgjenge",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Tilgjengeinformasjon ikkje tilgjengeleg",ACCESSIBILITY_SCORE_HIGH:"Tilgjengevurdering: Høg",ACCESSIBILITY_SCORE_LOW:"Tilgjengevurdering: Låg",ACCESSIBILITY_SCORE_MEDIUM:"Tilgjengevurdering: Middels",ACCESSIBILITY_SCORE_PERFECT:"Tilgjengevurdering: Perfekt",ACTIONS:"Handlingar",ALTERNATIVE_FORMATS:"Alternative format",CANCEL:"Avbryt",CLICK_TO_IMPROVE:"Klikk for å betre",DOWNLOAD:"Last ned",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Last ned alternative format ...",DOWNLOAD_OPTIONS:"Last ned alternativ",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternative format",FILE_HAS_BEEN_DELETED:"Fila er sletta",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-fil",FILE_TYPE_IMAGE:"Bilete",FILE_TYPE_OTHER:"Anna",FILE_TYPE_PDF:"PDF-dokument",FILE_TYPE_PRESENTATION:"Presentasjon",FILE_TYPE_SCORE:"{0}−{1}",FIX:"Reparer",INSTRUCTOR_FEEDBACK:"Tilbakemelding frå lærar",INSTRUCTOR_FEEDBACK_FOR:"Lærartilbakemelding for {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Lastar inn tilbakemelding frå lærar. Vent litt.",POTENTIALLY_SEIZURE_INDUCING:"Potensielt åtaksframkallande",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potensielt åtaksframkallande animasjon. Trykk for å aktivere.",PREVIEW:"Førehandsvis",SHOW_IMAGE_ANYWAY:"Vis bilde likevel"},__nl:{ACCESSIBILITY:"Toegankelijkheid",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Toegankelijkheidsinformatie is niet beschikbaar",ACCESSIBILITY_SCORE_HIGH:"Toegankelijkheidsscore: hoog",ACCESSIBILITY_SCORE_LOW:"Toegankelijkheidsscore: laag",ACCESSIBILITY_SCORE_MEDIUM:"Toegankelijkheidsscore: gemiddeld",ACCESSIBILITY_SCORE_PERFECT:"Toegankelijkheidsscore: perfect",ACTIONS:"Acties",ALTERNATIVE_FORMATS:"Alternatieve formaten",CANCEL:"Annuleren",CLICK_TO_IMPROVE:"Klikken om te verbeteren",DOWNLOAD:"Downloaden",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Alternatieve formaten downloaden ...",DOWNLOAD_OPTIONS:"Downloadopties",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternatieve formaten",FILE_HAS_BEEN_DELETED:"Bestand is verwijderd",FILE_TYPE_DOCUMENT:"Document",FILE_TYPE_HTML_PAGE:"HTML-bestand",FILE_TYPE_IMAGE:"Afbeelding",FILE_TYPE_OTHER:"Overige",FILE_TYPE_PDF:"PDF-document",FILE_TYPE_PRESENTATION:"Presentatie",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Corrigeren",INSTRUCTOR_FEEDBACK:"Feedback cursusleider",INSTRUCTOR_FEEDBACK_FOR:"Feedback cursusleider voor {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"De feedback van de cursusleider wordt geladen, even geduld aub.",POTENTIALLY_SEIZURE_INDUCING:"Potentiële aanval opwekkende",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Potentiële aanval opwekkende animatie. Klik om in te schakelen.",PREVIEW:"Voorbeeld",SHOW_IMAGE_ANYWAY:"Afbeelding toch tonen"},__pl:{ACCESSIBILITY:"Ułatwienia dostępu",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Informacje o ułatwieniach dostępu są niedostępne",ACCESSIBILITY_SCORE_HIGH:"Ocena dostępności: wysoka",ACCESSIBILITY_SCORE_LOW:"Ocena dostępności: niska",ACCESSIBILITY_SCORE_MEDIUM:"Ocena dostępności: przeciętna",ACCESSIBILITY_SCORE_PERFECT:"Ocena dostępności: doskonała",ACTIONS:"Działania",ALTERNATIVE_FORMATS:"Alternatywne formaty",CANCEL:"Anuluj",CLICK_TO_IMPROVE:"Kliknij, aby poprawić",DOWNLOAD:"Pobierz",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Pobierz alternatywne formaty...",DOWNLOAD_OPTIONS:"Opcje pobierania",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} – alternatywne formaty",FILE_HAS_BEEN_DELETED:"Plik został usunięty",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"Plik HTML",FILE_TYPE_IMAGE:"Obraz",FILE_TYPE_OTHER:"Inne",FILE_TYPE_PDF:"Dokument PDF",FILE_TYPE_PRESENTATION:"Prezentacja",FILE_TYPE_SCORE:"{0} — {1}",FIX:"Napraw",INSTRUCTOR_FEEDBACK:"Uwagi od instruktora",INSTRUCTOR_FEEDBACK_FOR:"Uwagi od instruktora dla: {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Ładowanie uwag od instruktora. Proszę czekać.",POTENTIALLY_SEIZURE_INDUCING:"Może wywoływać napady padaczkowe",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animacja, która może wywoływać napady padaczkowe. Naciśnij, aby włączyć.",PREVIEW:"Podgląd",SHOW_IMAGE_ANYWAY:"Pokaż obraz mimo to"},__pt:{ACCESSIBILITY:"Acessibilidade",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Informação de acessibilidade não disponível",ACCESSIBILITY_SCORE_HIGH:"Classificação de acessibilidade: Elevada",ACCESSIBILITY_SCORE_LOW:"Classificação de acessibilidade: Reduzida",ACCESSIBILITY_SCORE_MEDIUM:"Classificação de acessibilidade: Média",ACCESSIBILITY_SCORE_PERFECT:"Classificação de acessibilidade: Perfeita",ACTIONS:"Ações",ALTERNATIVE_FORMATS:"Formatos alternativos",CANCEL:"Cancelar",CLICK_TO_IMPROVE:"Clique para melhorar",DOWNLOAD:"Transferir",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Transferir formatos alternativos ...",DOWNLOAD_OPTIONS:"Opções de transferência",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Formatos alternativos",FILE_HAS_BEEN_DELETED:"O ficheiro foi eliminado",FILE_TYPE_DOCUMENT:"Documento",FILE_TYPE_HTML_PAGE:"Ficheiro HTML",FILE_TYPE_IMAGE:"Imagem",FILE_TYPE_OTHER:"Outro",FILE_TYPE_PDF:"Documento PDF",FILE_TYPE_PRESENTATION:"Apresentação",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Corrigir",INSTRUCTOR_FEEDBACK:"Comentários do formador",INSTRUCTOR_FEEDBACK_FOR:"Comentários do formador para {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"A carregar os comentários do formador. Aguarde um momento.",POTENTIALLY_SEIZURE_INDUCING:"Potencialmente indutor de convulsões",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animação potencialmente indutora de convulsões. Prima para ativar.",PREVIEW:"Pré-visualizar",SHOW_IMAGE_ANYWAY:"Mostrar imagem mesmo assim"},"__pt-br":{ACCESSIBILITY:"Acessibilidade",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Não há informações de acessibilidade disponíveis",ACCESSIBILITY_SCORE_HIGH:"Pontuação de acessibilidade: alta",ACCESSIBILITY_SCORE_LOW:"Pontuação de acessibilidade: baixa",ACCESSIBILITY_SCORE_MEDIUM:"Pontuação de acessibilidade: média",ACCESSIBILITY_SCORE_PERFECT:"Pontuação de acessibilidade: perfeita",ACTIONS:"Ações",ALTERNATIVE_FORMATS:"Formatos alternativos",CANCEL:"Cancelar",CLICK_TO_IMPROVE:"Clique para melhorar",DOWNLOAD:"Fazer download",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Baixar formatos alternativos...",DOWNLOAD_OPTIONS:"Opções de download",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} – Formatos alternativos",FILE_HAS_BEEN_DELETED:"O arquivo foi excluído",FILE_TYPE_DOCUMENT:"Documento",FILE_TYPE_HTML_PAGE:"Arquivo HTML",FILE_TYPE_IMAGE:"Imagem",FILE_TYPE_OTHER:"Outro",FILE_TYPE_PDF:"Documento PDF",FILE_TYPE_PRESENTATION:"Apresentação",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Corrigir",INSTRUCTOR_FEEDBACK:"Comentários do instrutor",INSTRUCTOR_FEEDBACK_FOR:"Comentários do instrutor para {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Carregando os comentários do instrutor. Aguarde.",POTENTIALLY_SEIZURE_INDUCING:"Possibilidade de provocar convulsão",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animação com possibilidade de provocar convulsão. Pressione para ativar.",PREVIEW:"Pré-visualização",SHOW_IMAGE_ANYWAY:"Mostrar imagem mesmo assim"},__sv:{ACCESSIBILITY:"Tillgänglighet",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Tillgänglighetsinformation är inte tillgänglig",ACCESSIBILITY_SCORE_HIGH:"Tillgänglighetspoäng: hög",ACCESSIBILITY_SCORE_LOW:"Tillgänglighetspoäng: låg",ACCESSIBILITY_SCORE_MEDIUM:"Tillgänglighetspoäng: mellan",ACCESSIBILITY_SCORE_PERFECT:"Tillgänglighetspoäng: perfekt",ACTIONS:"Åtgärder",ALTERNATIVE_FORMATS:"Alternativa format",CANCEL:"Avbryt",CLICK_TO_IMPROVE:"Klicka för att förbättra",DOWNLOAD:"Ladda ner",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Ladda ner alternativa format ...",DOWNLOAD_OPTIONS:"Nerladdningsalternativ",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} – Alternativa format",FILE_HAS_BEEN_DELETED:"Filen har raderats",FILE_TYPE_DOCUMENT:"Dokument",FILE_TYPE_HTML_PAGE:"HTML-fil",FILE_TYPE_IMAGE:"Bild",FILE_TYPE_OTHER:"Annat",FILE_TYPE_PDF:"PDF-dokument",FILE_TYPE_PRESENTATION:"Presentation",FILE_TYPE_SCORE:"{0}–{1}",FIX:"Fixa",INSTRUCTOR_FEEDBACK:"Läraråterkoppling",INSTRUCTOR_FEEDBACK_FOR:"Läraråterkoppling för {0}",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Laddar läraråterkoppling. Vänta.",POTENTIALLY_SEIZURE_INDUCING:"Kan potentiellt framkalla anfall",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Animation som potentiellt kan framkalla anfall. Klicka för att aktivera.",PREVIEW:"Förhandsvisning",SHOW_IMAGE_ANYWAY:"Visa bilden ändå"},__tr:{ACCESSIBILITY:"Erişilebilirlik",ACCESSIBILITY_INFORMATION_NOT_AVAILABLE:"Erişilebilirlik bilgileri kullanılamıyor",ACCESSIBILITY_SCORE_HIGH:"Erişilebilirlik puanı: Yüksek",ACCESSIBILITY_SCORE_LOW:"Erişilebilirlik puanı: Düşük",ACCESSIBILITY_SCORE_MEDIUM:"Erişilebilirlik puanı: Orta",ACCESSIBILITY_SCORE_PERFECT:"Erişilebilirlik puanı: Mükemmel",ACTIONS:"Eylemler",ALTERNATIVE_FORMATS:"Alternatif biçimler",CANCEL:"İptal",CLICK_TO_IMPROVE:"İyileştirmek için tıklatın",DOWNLOAD:"İndir",DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:"Alternatif biçimleri indirin...",DOWNLOAD_OPTIONS:"İndirme seçenekleri",FILENAME_ALTERNATIVE_FORMAT:"{FILENAME} - Alternatif Biçimler",FILE_HAS_BEEN_DELETED:"Dosya silindi",FILE_TYPE_DOCUMENT:"Belge",FILE_TYPE_HTML_PAGE:"HTML dosyası",FILE_TYPE_IMAGE:"Görüntü",FILE_TYPE_OTHER:"Diğer",FILE_TYPE_PDF:"PDF belgesi",FILE_TYPE_PRESENTATION:"Sunum",FILE_TYPE_SCORE:"{0} - {1}",FIX:"Düzelt",INSTRUCTOR_FEEDBACK:"Eğitmen geri bildirimi",INSTRUCTOR_FEEDBACK_FOR:"{0} için eğitmen geri bildirimi",LOADING_INSTRUCTOR_FEEDBACK_PLEASE_WAIT:"Eğitmen Geri Bildirimi yükleniyor. Lütfen bekleyin.",POTENTIALLY_SEIZURE_INDUCING:"Nöbete yol açabilir",POTENTIALLY_SEIZURE_INDUCING_ANIMATION_PRESS_TO_ENABLE:"Nöbete yol açabilecek animasyon. Etkinleştirmek için basın.",PREVIEW:"Ön izleme",SHOW_IMAGE_ANYWAY:"Görüntüyü yine de göster"},init:function(e){e||(e=window._i18n&&window._i18n.locale?window._i18n.locale:document.documentElement.lang?document.documentElement.lang:"root");var t=this["__"+e]||this.__root;if(t)for(var n in t)this[n]=t[n];for(var n in this.__root)void 0===this[n]&&(this[n]=this.__root[n])}};n.init(),e.exports=n},function(e,t,n){e.exports=n.p+"static/integration/css/ally.b0865be865cd64e793f7cc569b416eaf.css"},function(e,t,n){var r=n(71);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(e){return r(t)}}},function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){this.message=e}r.prototype=new Error,r.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,o,a=0,l=0,s="";o=t.charAt(l++);~o&&(i=a%4?64*i+o:o,a++%4)?s+=String.fromCharCode(255&i>>(-2*a&6)):0)o=n.indexOf(o);return s}},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=null!=t?t:e.nullContext||{},s=n.helperMissing,c=e.escapeExpression;return'<button\n class="d2l-button ally-d2l-button button new-unit-btn subtle"\n data-ally-content-ref="'+c("function"==typeof(a=null!=(a=n.contentRef||(null!=t?t.contentRef:t))?a:s)?a.call(l,{name:"contentRef",hash:{},data:i}):a)+'"\n data-ally-invoke="alternativeformats"\n data-ally-show="alternativeformats"\n data-ally-show-display="inline-block"\n style="display: none">\n <img src="'+c("function"==typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+c("function"==typeof(a=null!=(a=n.aafIcon||(null!=t?t.aafIcon:t))?a:s)?a.call(l,{name:"aafIcon",hash:{},data:i}):a)+'" alt="" class="d2l-icon-custom" />'+c(e.lambda(null!=(o=null!=t?t.i18n:t)?o.ALTERNATIVE_FORMATS:o,t))+"\n</button>\n"},useData:!0})},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return'<span\n data-ally-content-ref="'+s("function"==typeof(o=null!=(o=n.contentRef||(null!=t?t.contentRef:t))?o:l)?o.call(a,{name:"contentRef",hash:{},data:i}):o)+'"\n data-ally-scoreindicator="custom"\n data-ally-show="instructorfeedback"\n data-ally-show-display="inline-block"\n data-ally-scoreindicator-target="'+s("function"==typeof(o=null!=(o=n.target||(null!=t?t.target:t))?o:l)?o.call(a,{name:"target",hash:{},data:i}):o)+'"\n style="display: none;"\n></span>\n'},useData:!0})},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=null!=t?t:e.nullContext||{},s=n.helperMissing,c=e.escapeExpression,u=e.lambda;return'<a\n class="ally-aaf-link d2l-link"\n data-ally-content-ref="'+c("function"==typeof(a=null!=(a=n.contentRef||(null!=t?t.contentRef:t))?a:s)?a.call(l,{name:"contentRef",hash:{},data:i}):a)+'"\n data-ally-invoke="alternativeformats"\n data-ally-show="alternativeformats"\n data-ally-show-display="inline-block"\n data-ally-tooltip\n href="#"\n style="display: none"\n title="'+c(u(null!=(o=null!=t?t.i18n:t)?o.ALTERNATIVE_FORMATS:o,t))+'"\n>\n <img src="'+c("function"==typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+c("function"==typeof(a=null!=(a=n.aafIcon||(null!=t?t.aafIcon:t))?a:s)?a.call(l,{name:"aafIcon",hash:{},data:i}):a)+'" alt="'+c(u(null!=(o=null!=t?t.i18n:t)?o.ALTERNATIVE_FORMATS:o,t))+'" />\n</a>\n'},useData:!0})},function(e,t,n){e.exports=n.p+"static/integration/d2l/d2l.16c2a453679f87eceb2899bc391f656e.css"},function(e,t,n){e.exports=n.p+"static/integration/d2l/img/ally-icon-indicator-high.4fccb0f18334b56672d171b4dac3f1c4.svg"},function(e,t,n){e.exports=n.p+"static/integration/d2l/img/ally-icon-indicator-low.6f607b35ae94f095c20f15d2362d2044.svg"},function(e,t,n){e.exports=n.p+"static/integration/d2l/img/ally-icon-indicator-medium.a662f4a26fd5fafb0774e99f9410f9e7.svg"},function(e,t,n){e.exports=n.p+"static/integration/d2l/img/ally-icon-indicator-perfect.a287f7db4d0d8bc8338953b0b6ea805a.svg"},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=e.escapeExpression;return'<a\n href="#"\n data-ally-content-ref="'+l("function"==typeof(a=null!=(a=n.contentRef||(null!=t?t.contentRef:t))?a:n.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"contentRef",hash:{},data:i}):a)+'"\n data-ally-invoke="alternativeformats"\n data-ally-show="alternativeformats"\n data-ally-show-display="inline-block"\n data-ally-tooltip title="'+l(e.lambda(null!=(o=null!=t?t.i18n:t)?o.ALTERNATIVE_FORMATS:o,t))+'"\n aria-haspopup="true"\n class="ally-prominent-af-download-button">\n</a>\n'},useData:!0})},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},l=n.helperMissing,s=e.escapeExpression;return'<span data-ally-content-ref="'+s("function"==typeof(o=null!=(o=n.contentRef||(null!=t?t.contentRef:t))?o:l)?o.call(a,{name:"contentRef",hash:{},data:i}):o)+'" data-ally-scoreindicator="'+s("function"==typeof(o=null!=(o=n.style||(null!=t?t.style:t))?o:l)?o.call(a,{name:"style",hash:{},data:i}):o)+'" data-ally-show="instructorfeedback">\n</span>'},useData:!0})},function(e,t,n){e.exports=n.p+"static/integration/moodlerooms/moodlerooms.10777f010a49a05e9cc5dc700eb9b4a7.css"},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProtoframePubsub=t.ProtoframePublisher=t.ProtoframeSubscriber=void 0;var o=n(84);function a(e,t,n){return e.type+"#"+t+"#"+n}function l(e,t,n,r){return{body:r,type:a(e,t,n)}}function s(e,t,n,r){if(o.hasValue(r)){var i=r.type;if(o.hasValue(i)&&o.hasValue(r.body)){var a=i.split("#"),l=a[0],s=a[1],c=a[2];return l===e.type&&s===t&&c===n}return!1}return!1}function c(e){e.forEach(function(e){var t=e[0],n=e[1];return t.removeEventListener("message",n)}),e.length=0}function u(e,t,n){return new Promise(function(r){var i=function(a){var l=a.data;(function(e,t,n){if(o.hasValue(n)){var r=n.type;if(o.hasValue(r)&&o.hasValue(n.response)){var i=r.split("#"),a=i[0],l=i[1],s=i[2];return a===e.type&&"ask"===l&&s===t}return!1}return!1})(t,n,l)&&(e.removeEventListener("message",i),r(l.response))};e.addEventListener("message",i)})}function f(e,t,n,r){var i=function(e){var i=e.data;s(t,"tell",n,i)&&r(i.body)};return e.addEventListener("message",i),[e,i]}function d(e,t,n,o,l,c){var u=this,f=function(e){return r(u,void 0,void 0,function(){var r,u;return i(this,function(i){switch(i.label){case 0:return r=e.data,s(n,"ask",o,r)?[4,c(r.body)]:[3,2];case 1:u=i.sent(),t.postMessage(function(e,t,n){return{response:n,type:a(e,"ask",t)}}(n,o,u),l),i.label=2;case 2:return[2]}})})};return e.addEventListener("message",f),[e,f]}function p(e,t,n,r,i){return e.postMessage(l(t,"tell",n,r),i)}function h(e,t,n,o,a,s,c){return r(this,void 0,void 0,function(){var f,d=this;return i(this,function(p){return f=new Promise(function(t,a){return r(d,void 0,void 0,function(){var r,l;return i(this,function(i){switch(i.label){case 0:return r=setTimeout(function(){return a(new Error("Failed to get response within "+c+"ms"))},c),[4,u(e,n,o)];case 1:return l=i.sent(),clearTimeout(r),t(l),[2]}})})}),t.postMessage(l(n,"ask",o,a),s),[2,f]})})}var m=function(){function e(e,t){void 0===t&&(t=window),this.protocol=e,this.thisWindow=t,this.listeners=[]}return e.prototype.handleTell=function(e,t){this.listeners.push(f(this.thisWindow,this.protocol,e,t))},e.prototype.destroy=function(){c(this.listeners)},e}();t.ProtoframeSubscriber=m;var g=function(){function e(e,t,n){void 0===n&&(n="*"),this.protocol=e,this.targetWindow=t,this.targetOrigin=n,this.listeners=[]}return e.parent=function(t,n,r){var i=n.contentWindow;if(o.hasValue(i))return new e(t,i,r);throw new Error("iframe.contentWindow was null")},e.iframe=function(t,n,r){return void 0===r&&(r=window.parent),new e(t,r,n)},e.prototype.tell=function(e,t){p(this.targetWindow,this.protocol,e,t,this.targetOrigin)},e.prototype.destroy=function(){c(this.listeners)},e}();t.ProtoframePublisher=g;var v=function(){function e(e,t,n,r){void 0===n&&(n=window),void 0===r&&(r="*"),this.protocol=e,this.targetWindow=t,this.thisWindow=n,this.targetOrigin=r,this.systemProtocol={type:"system|"+this.protocol.type},this.listeners=[],d(n,t,this.systemProtocol,"ping",r,function(){return Promise.resolve({})})}return e.connect=function(e,t,n){return void 0===t&&(t=50),void 0===n&&(n=500),r(this,void 0,void 0,function(){var r;return i(this,function(i){switch(i.label){case 0:r=0,i.label=1;case 1:if(!(r<=t))return[3,6];i.label=2;case 2:return i.trys.push([2,4,,5]),[4,e.ping({timeout:n})];case 3:return i.sent(),[2,e];case 4:return i.sent(),[3,5];case 5:return r++,[3,1];case 6:throw new Error("Could not connect on protocol "+e.protocol.type+" after "+t*n+"ms")}})})},e.parent=function(t,n,r,i){void 0===r&&(r="*"),void 0===i&&(i=window);var a=n.contentWindow;if(o.hasValue(a))return new e(t,a,i,r);throw new Error("iframe.contentWindow was null")},e.iframe=function(t,n,r){void 0===n&&(n="*");var i=void 0===r?{}:r,o=i.thisWindow,a=void 0===o?window:o,l=i.targetWindow;return new e(t,void 0===l?window.parent:l,a,n)},e.prototype.ping=function(e){var t=e.timeout,n=void 0===t?1e4:t;return r(this,void 0,void 0,function(){return i(this,function(e){switch(e.label){case 0:return[4,h(this.thisWindow,this.targetWindow,this.systemProtocol,"ping",{},this.targetOrigin,n)];case 1:return e.sent(),[2]}})})},e.prototype.handleTell=function(e,t){this.listeners.push(f(this.thisWindow,this.protocol,e,t))},e.prototype.tell=function(e,t){p(this.targetWindow,this.protocol,e,t,this.targetOrigin)},e.prototype.handleAsk=function(e,t){this.listeners.push(d(this.thisWindow,this.targetWindow,this.protocol,e,this.targetOrigin,t))},e.prototype.ask=function(e,t,n){return void 0===n&&(n=1e4),h(this.thisWindow,this.targetWindow,this.protocol,e,t,this.targetOrigin,n)},e.prototype.destroy=function(){c(this.listeners)},e}();t.ProtoframePubsub=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasValue=void 0,t.hasValue=function(e){return null!=e}},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o;return'<div class="ally-preview-selection-container">\n <span class="ally-preview-selection-content">\n '+e.escapeExpression("function"==typeof(o=null!=(o=n.content||(null!=t?t.content:t))?o:n.helperMissing)?o.call(null!=t?t:e.nullContext||{},{name:"content",hash:{},data:i}):o)+"\n </span>\n</div>\n"},useData:!0})},function(e,t,n){e.exports=n.p+"static/integration/css/web.c4ad383a460728603ef1e0b2d9646f4d.css"},function(e,t,n){var r,i,o;
/*!
* jQuery UI Tabbable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(8),n(88)],void 0===(o="function"==typeof(r=function(e){return e.extend(e.expr[":"],{tabbable:function(t){var n=e.attr(t,"tabindex"),r=null!=n;return(!r||n>=0)&&e.ui.focusable(t,r)}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;
/*!
* jQuery UI Focusable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/i=[n(0),n(8)],void 0===(o="function"==typeof(r=function(e){return e.ui.focusable=function(t,n){var r,i,o,a,l,s=t.nodeName.toLowerCase();return"area"===s?(i=(r=t.parentNode).name,!(!t.href||!i||"map"!==r.nodeName.toLowerCase())&&(o=e("img[usemap='#"+i+"']")).length>0&&o.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(a=!t.disabled)&&(l=e(t).closest("fieldset")[0])&&(a=!l.disabled):a="a"===s&&t.href||n,a&&e(t).is(":visible")&&function(e){for(var t=e.css("visibility");"inherit"===t;)e=e.parent(),t=e.css("visibility");return"hidden"!==t}(e(t)))},e.extend(e.expr[":"],{focusable:function(t){return e.ui.focusable(t,null!=e.attr(t,"tabindex"))}}),e.ui.focusable})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r=n(6);e.exports=(r.default||r).template({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var o,a,l=null!=t?t:e.nullContext||{},s=n.helperMissing,c="function",u=e.escapeExpression;return'<div id="ally-af-launcher" class="ally-af-launch-container ally-af-style-'+u(typeof(a=null!=(a=n.style||(null!=t?t.style:t))?a:s)===c?a.call(l,{name:"style",hash:{},data:i}):a)+'">\n <button data-ally-content-ref="'+u(typeof(a=null!=(a=n.contentId||(null!=t?t.contentId:t))?a:s)===c?a.call(l,{name:"contentId",hash:{},data:i}):a)+'" data-ally-invoke="alternativeformats">\n <img class="ally-af-launch-icon-white" src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(typeof(a=null!=(a=n.iconWhite||(null!=t?t.iconWhite:t))?a:s)===c?a.call(l,{name:"iconWhite",hash:{},data:i}):a)+'" alt="" aria-hidden="true" />\n <img class="ally-af-launch-icon-black" src="'+u(typeof(a=null!=(a=n.baseUrl||(null!=t?t.baseUrl:t))?a:s)===c?a.call(l,{name:"baseUrl",hash:{},data:i}):a)+"/"+u(typeof(a=null!=(a=n.iconBlack||(null!=t?t.iconBlack:t))?a:s)===c?a.call(l,{name:"iconBlack",hash:{},data:i}):a)+'" alt="" aria-hidden="true" />\n <span>'+u(e.lambda(null!=(o=null!=t?t.i18n:t)?o.DOWNLOAD_ALTERNATIVE_FORMATS_ELLIPSIS:o,t))+"</span>\n </button>\n</div>\n"},useData:!0})},function(e,t,n){e.exports=n.p+"static/shared/img/icons/iconAllyDownload-IC-Black.edde979ad5266d2085fee7571f1af90f.svg"},function(e,t,n){e.exports=n.p+"static/shared/img/icons/iconAllyDownload-IC-White.9750b42d5d7fe4baf2432a3dc743a1a3.svg"},function(e,t,n){"use strict";n.r(t);var r,i=n(0),o=n(9),a=n(2),l=n(3),s=n(5),c=n(1),u=n(29).images,f=function(){function e(){}return e.prototype.apply=function(e){return e.images=u,i(this.template(e))},e}(),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(35),t}return a.b(t,e),t}(f),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(51),t}return a.b(t,e),t}(f);!function(e){e.circle="circle",e.custom="custom",e.learnUltra="learnUltra",e.standard="standard"}(r||(r={}));var h,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(52),t.icons={circle:{high:n(14),low:n(16),medium:n(18),perfect:n(20)},learnUltra:{high:n(53),low:n(54),medium:n(55),perfect:n(56)},standard:{high:n(15),low:n(17),medium:n(19),perfect:n(21)}},t}return a.b(t,e),t.prototype.apply=function(e){var t=this.icons.standard;e.style===r.custom?void 0!==e.customIconSet&&(t=e.customIconSet):t=this.icons[e.style];var n=c.c(e.target,"iframe"),o=a.a({},e,{icons:t,target:n});return i(this.template(o))},t}(f),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(57),t.icons={seizureFlag:n(22)},t}return a.b(t,e),t.prototype.apply=function(e){return i(this.template(a.a({},e,{icons:this.icons})))},t}(f),v=new d,E=new p,y=new m,I=new g,_=n(58),A=function(){function e(){}return e.launchFile=function(t,n,r,i,o){var a,l=t.client.config.baseUrl,s=t.config.platformName,c=t.config.platformUi,u=t.client.config.clientId,f=v.apply({ALLY_DOMAIN:t.client.config.baseUrl,i18n:t.i18n,locale:t.config.locale,platformName:s,platformUi:c});e.previousFileLaunchArgs=[l,s,c,u,n,r,f,i,e.resolveCallbacks(t,o)],(a=_.launch).call.apply(a,[null].concat(e.previousFileLaunchArgs))},e.launchWebpage=function(t,n,r,i){var o,a=t.client.config.baseUrl,l=t.i18n,s=t.config.platformName,c=t.config.platformUi,u=t.client.config.clientId,f=v.apply({ALLY_DOMAIN:a,i18n:l,locale:t.config.locale,platformName:s,platformUi:c});e.previousWebpageLaunchArgs=[a,s,c,u,n.toJson(),f,r,e.resolveCallbacks(t,i)],(o=_.launchWebpage).call.apply(o,[null].concat(e.previousWebpageLaunchArgs))},e.launchDirectFileOnWebpage=function(t,n,r,i,o){var a,l=t.client.config.baseUrl,s=t.i18n,c=t.config.platformName,u=t.config.platformUi,f=t.client.config.clientId,d=v.apply({ALLY_DOMAIN:l,i18n:s,locale:t.config.locale,platformName:c,platformUi:u});e.previousWebpageLaunchArgs=[l,c,u,f,n.toJson(),d,r,e.resolveCallbacks(t,o),i],(a=_.launchDirectFileOnWebpage).call.apply(a,[null].concat(e.previousWebpageLaunchArgs))},e.destroy=function(){_.reset()},e.resolveCallbacks=function(e,t){var n={closed:function(){c.b(t.closed)&&t.closed(),e.config.alternativeFormats.callbacks.closed()},formatGenerated:function(n){c.b(t.formatGenerated)&&t.formatGenerated(n),e.config.alternativeFormats.callbacks.formatGenerated(n)},openUrl:void 0};return(c.b(t.openUrl)||c.b(e.config.alternativeFormats.callbacks.openUrl))&&(n.openUrl=function(n){c.b(t.openUrl)&&t.openUrl(n),c.b(e.config.alternativeFormats.callbacks.openUrl)&&e.config.alternativeFormats.callbacks.openUrl(n)}),n},e}(),b=n(59).FileReference,T=function(){function e(){}return e.isMeaningful=function(t,n){return""===t||e.restUtil.isAltTextMeaningful(t,n)},e.getFromFileReport=function(e){return!0===e.decorative?"":null!==e.description&&void 0!==e.description?e.description:null},e.restUtil=n(60),e}(),C=function(){function e(){}return e.getDataAllyAttrName=function(e){return"data-ally-"+e},e}(),O=function(){function e(){}return e.count=function(){return Object.keys(e.monitors).length},e.offCoordsChange=function(t){var n=e.monitors[t];n&&clearInterval(n),delete e.monitors[t]},e.onCoordsChange=function(t,n,r,i){var o=e.findCoords(t);if(o){var a=o;i(a),e.monitors[n]=setInterval(function(){var r=a,o=e.findCoords(t);o?(a=o,e.coordsEqual(r,o)||i(a)):(e.offCoordsChange(n),i(null))},r)}else i(null)},e.coordsEqual=function(e,t){return e.bottom===t.bottom&&e.left===t.left&&e.right===t.right&&e.top===t.top},e.findCoords=function(e){if(!i.contains(document.documentElement,e[0]))return null;var t=e.offset(),n=e.height(),r=e.width();return{bottom:t.top+n,left:t.left,right:t.left+r,top:t.top}},e.monitors={},e}(),L=function(){function e(){}return e.create=function(t,n){var r=e.guardId(n),i=I.apply({ALLY_DOMAIN:t.client.config.baseUrl,i18n:t.i18n});n.$el.after(i),O.onCoordsChange(n.$el,r,50,function(r){r?(i.offset({left:r.left,top:r.top}),i.width(r.right-r.left),i.height(r.bottom-r.top)):e.destroy(t,n)}),e.guards[r]=i,i.find("button").click(function(){return e.destroy(t,n),!1})},e.destroyAll=function(){Object.keys(e.guards).forEach(function(t){return e.destroyByGuardId(t,{fade:!1})})},e.destroy=function(t,n,r){var i=(void 0===r?{}:r).fade,o=void 0===i||i,a=e.guardId(n);e.destroyByGuardId(a,{fade:o})},e.count=function(){return Object.keys(e.guards).length},e.destroyByGuardId=function(t,n){if(O.offCoordsChange(t),t in e.guards){var r=e.guards[t];n.fade?r.fadeOut(function(){return r.remove()}):r.remove(),delete e.guards[t]}},e.guardId=function(e){return"seizureguard-"+e.getId()},e.guards={},e}();!function(e){e.file="file",e.richContent="richContent",e.unknown="unknown",e.webpage="webpage"}(h||(h={}));var w=function(){function e(t){if(this.$el=t,t.is(e.typeSelector(h.file))?this.type=h.file:t.is(e.typeSelector(h.richContent))?this.type=h.richContent:t.is(e.typeSelector(h.webpage))?this.type=h.webpage:this.type=h.unknown,!e.allowedIdRegExp.test(this.getId()))throw new Error("Content Instance ids must match "+e.allowedIdRegExp.toString())}return e.typeSelector=function(e){var t=C.getDataAllyAttrName("content-id");switch(e){case h.file:return"["+t+"]["+C.getDataAllyAttrName("file-eid")+"]";case h.richContent:return"["+t+"]["+C.getDataAllyAttrName("richcontent-eid")+"]";case h.webpage:return"["+t+"]["+C.getDataAllyAttrName("webpage")+"]";case h.unknown:return"["+t+"]["+C.getDataAllyAttrName("unknown")+"]"}},e.fromRoot=function(t){var n={},r=e.typeSelector(h.file),o=e.typeSelector(h.richContent),a=e.typeSelector(h.webpage);t.find(r).toArray().map(function(t){return new e(i(t))}).forEach(function(e){return n[e.getId()]=e}),t.find(o).toArray().map(function(t){return new e(i(t))}).forEach(function(e){return n[e.getId()]=e});var l=t.find(a).toArray();return t.is(a)&&l.push(t[0]),l.map(function(t){return new e(i(t))}).forEach(function(e){return n[e.getId()]=e}),n},e.findContainingRichContent=function(t){var n=t.$el.parents(e.typeSelector(h.richContent)).first();return 1===n.length?new e(n):null},e.findContentInstances=function(e,t){return"*"===t?Object.keys(e).map(function(t){return e[t]}):t in e?[e[t]]:[]},e.prototype.getId=function(){return this.$el.attr(C.getDataAllyAttrName("content-id"))},e.prototype.getFileEid=function(){var e=this.$el.attr(C.getDataAllyAttrName("file-eid"));return"string"==typeof e?e:null},e.prototype.getRichContentEid=function(){var e=this.$el.attr(C.getDataAllyAttrName("richcontent-eid"));return"string"==typeof e?e:null},e.prototype.getFilePreviewUrl=function(){var e=this.$el.attr(C.getDataAllyAttrName("file-preview-url"));return"string"==typeof e?e:null},e.prototype.getFileReference=function(){var e=this.getFileEid();if(c.b(e)){var t=this.getAllyWorkAroundSourceValues();return b.fromElement(this.$el,e,t)}var n=this.getRichContentEid();return c.b(n)?b.fromData({id:n,uploadType:"RichContent"}):null},e.prototype.getRichContentLocator=function(t){var n=e.findContainingRichContent(this),r=this.getFileReference();if(null!==n&&null!==r&&r.isEmbedded()){var i=this.$el.prop("tagName").toLowerCase(),o=c.c(this.$el.attr(C.getDataAllyAttrName("richcontent-selector")),c.c(n.$el.attr(C.getDataAllyAttrName("richcontent-selector-"+i)),this.getDefaultRichContentSelector())),a=c.c(this.$el.attr(C.getDataAllyAttrName("richcontent-index")),this.getDefaultRichContentIndex(t,n,o)),l=this.coerceIndex(a);return null!==l?{index:l,selector:o}:null}return null},e.prototype.applyAllyWorkArounds=function(e,t){if(t&&"IMG"===this.$el[0].tagName){var n=this.getSourceAttrValue("alt");if(!T.isMeaningful(n,t.name)){var r=T.getFromFileReport(t);T.isMeaningful(r,t.name)&&this.setAllyWorkAroundValue("alt",r)}!0!==t.seizureRisk||this.$el.is("["+C.getDataAllyAttrName("seizureguard-created")+"]")?!0!==t.seizureRisk&&this.$el.is("["+C.getDataAllyAttrName("seizureguard-created")+"]")&&L.destroy(e,this):(this.$el.attr(C.getDataAllyAttrName("seizureguard-created"),""),L.create(e,this))}},e.prototype.setAllyWorkAroundValue=function(e,t){var n=C.getDataAllyAttrName("work-around")+"-"+e,r=c.c(JSON.stringify(this.$el.attr(e)),"null");null==t?this.$el.removeAttr(e):this.$el.attr(e,t),this.$el.is("["+n+"]")||this.$el.attr(n,r)},e.prototype.getSourceAttrValue=function(e){var t=C.getDataAllyAttrName("work-around")+"-"+e;if(this.$el.is("["+t+"]")){var n=this.$el.attr(t);return JSON.parse(n)}return this.$el.is("["+e+"]")?this.$el.attr(e):null},e.prototype.getAllyWorkAroundSourceValues=function(){var t=this,n={};if(this.$el.length>0){var r=this.$el[0];i.each(r.attributes,function(r,i){if(0===i.name.indexOf(e.allyWorkAroundAttrPrefix)){var o=i.name.substring(e.allyWorkAroundAttrPrefix.length+1);n[o]=t.getSourceAttrValue(o)}})}return n},e.prototype.getDefaultRichContentSelector=function(){return this.$el.prop("tagName").toLowerCase()},e.prototype.getDefaultRichContentIndex=function(e,t,n){var r=t.$el.find(n);this.$el.prop("tagName").toLowerCase()===n.toLowerCase()&&(r=r.not('[src^="'+e.client.config.baseUrl+'"]'));var i=r.index(this.$el);return-1===i?null:i},e.prototype.coerceIndex=function(e){var t=null;return"number"==typeof e?t=e:"string"==typeof e&&(t=parseInt(e,10)),null===t?null:isNaN(t)?null:t},e.allowedIdRegExp=/^[a-zA-Z0-9=_\-:\/\+\.;]+$/,e.allyWorkAroundAttrPrefix=C.getDataAllyAttrName("work-around"),e}();function S(e){var t=document.createElement("a");t.href=e;var n={hash:t.hash,host:t.host,hostname:t.hostname,href:t.href,origin:t.origin,password:t.password,pathname:t.pathname,port:t.port,protocol:t.protocol,search:t.search,username:t.username};return n.pathname.length>0&&"/"!==n.pathname[0]&&(n.pathname="/"+location.pathname),n}function N(){!function(){if(i(document.body).hasClass("ally-tooltips-enabled"))return;i(document.body).addClass("ally-tooltips-enabled"),i(window).on("scroll",function(){i(".ally-tooltip").fadeOut(400,function(){i(this).remove()})}),i(document).tooltip((e={content:function(){return c.c(this.getAttribute("title"),c.c(this.getAttribute("data-title"),"")).replace(/\n/g,"<br>")},items:".ally-add-tooltip",position:{at:"center top",my:"center bottom-15",using:function(e,t){setTimeout(function(){var e=i(t.element.element).css({position:"fixed"}),n=c.c(e.outerWidth(),0),r=c.c(e.outerHeight(),0),o=i(t.target.element),a=o.find(".ally-tooltip-center");0!==a.length&&(o=a);var l=c.c(o.outerWidth(),0),s=c.c(o.outerHeight(),0),u=o[0].getBoundingClientRect(),f=u.left+l/2,d=u.top+s/2,p=o.find("img"),h=c.c(p.outerWidth(),0),m=c.c(p.outerHeight(),0);e.css({left:f-n/2+"px",position:"fixed",top:d-r-25+"px"});var g=e.visible();if(i("<div>").addClass("ally-arrow").appendTo(e),!g.isEntirelyVisible){var v=c.c(i(window).outerHeight(),0);if(u.bottom+75<v&&g.leftVisible&&g.rightVisible){var E=d+m/2+25;e.css({top:E+"px"}),i(".ally-arrow").addClass("ally-arrow-bottom")}else if(g.leftVisible){var y=f-n-h/2-15,I=d-r/2;e.css({left:y+"px",top:I+"px"}),i(".ally-arrow").addClass("ally-arrow-right")}else{y=f+h/2+15;var _=d-r/2;e.css({left:y+"px",top:_+"px"}),i(".ally-arrow").addClass("ally-arrow-left")}}e.css("visibility","visible")},50)}},open:function(e,t){R(t.tooltip),R(t.tooltip.find("*"))},classes:{"ui-tooltip":"ally-tooltip"}},e)),i("div.ui-helper-hidden-accessible:last-of-type").removeClass("ui-helper-hidden-accessible").addClass("ally-helper-hidden-accessible");var e}()}function R(e){var t=c.c(e.attr("class"),"").split(" ").filter(function(e){return 0===e.indexOf("ui-")}).join(" ");e.removeClass(t)}n(61),n(66);var P,x,F=function(){function e(){}return e.isUltra=function(e){return e.location.pathname.toLowerCase().startsWith("/ultra/")},e}(),D=function(){function e(e,t,n,r,i,o,a,l,s,c,u){this.platformName=e,this.platformUi=t,this.courseId=n,this.role=r,this.locale=i,this.client=o,this.alternativeFormats=a,this.instructorFeedback=l,this.contentRoot=s,this.directives=c,this.macros=u}return e.from=function(t,n,r,i){var o=this.resolvePlatformUi(t,n.platformName,n.platformUi),a=e.resolveAlternativeFormats(n.alternativeformats),l=e.resolveInstructorFeedback(n.instructorfeedback),s=n.contentRoot?n.contentRoot:document.body,u=e.resolveLocale(n.locale);return new e(n.platformName,o,c.d(n.courseId),n.role,u,n.client,a,l,s,r,i)},e.resolveAlternativeFormats=function(t){return(t=t||{}).callbacks=e.resolveAlternativeFormatsCallbacks(t.callbacks),t.formats=e.resolveAlternativeFormatsFormatsConfig(t.formats),t},e.resolveInstructorFeedback=function(t){return(t=t||{}).callbacks=e.resolveInstructorFeedbackCallbacks(t.callbacks),t},e.resolveLocale=function(e){if("string"==typeof e)return e;var t=i("html").attr("lang");return"string"==typeof t?t:"en-us"},e.resolveAlternativeFormatsCallbacks=function(e){e=e||{};var t=function(e){window.location.href=e.url};c.b(e.formatGenerated)&&(t=e.formatGenerated);var n,r=function(){};return c.b(e.closed)&&(r=e.closed),c.b(e.openUrl)&&(n=e.openUrl),{closed:r,formatGenerated:t,openUrl:n}},e.resolveAlternativeFormatsFormatsConfig=function(e){return{closeWhenFormatReady:!c.b(e)||!c.b(e.closeWhenFormatReady)||!1!==e.closeWhenFormatReady,renderAudioOnMobileInline:!c.b(e)||!c.b(e.renderAudioOnMobileInline)||!1!==e.renderAudioOnMobileInline}},e.resolveInstructorFeedbackCallbacks=function(e){return e=e||{},a.a({closed:function(){},deleted:function(){},replacedFile:function(){},updated:function(){}},e)},e.resolvePlatformUi=function(e,t,n){return"learn"!==t||c.b(n)?c.d(n):F.isUltra(e)?"ultra":"classic"},e}(),k=n(67);!function(e){e.AlternativeText="AlternativeText",e.Contrast="Contrast",e.HeadingsHigherLevel="HeadingsHigherLevel",e.HeadingsPresence="HeadingsPresence",e.HeadingsSequential="HeadingsSequential",e.HeadingsStartAtOne="HeadingsStartAtOne",e.HtmlBrokenLink="HtmlBrokenLink",e.HtmlCaption="HtmlCaption",e.HtmlColorContrast="HtmlColorContrast",e.HtmlDefinitionList="HtmlDefinitionList",e.HtmlEmptyHeading="HtmlEmptyHeading",e.HtmlHasLang="HtmlHasLang",e.HtmlHeadingOrder="HtmlHeadingOrder",e.HtmlHeadingsPresence="HtmlHeadingsPresence",e.HtmlHeadingsStart="HtmlHeadingsStart",e.HtmlImageAlt="HtmlImageAlt",e.HtmlImageRedundantAlt="HtmlImageRedundantAlt",e.HtmlLabel="HtmlLabel",e.HtmlLinkName="HtmlLinkName",e.HtmlList="HtmlList",e.HtmlObjectAlt="HtmlObjectAlt",e.HtmlTdHasHeader="HtmlTdHasHeader",e.HtmlTitle="HtmlTitle",e.ImageContrast="ImageContrast",e.ImageDescription="ImageDescription",e.ImageOcr="ImageOcr",e.ImageSeizure="ImageSeizure",e.LanguageCorrect="LanguageCorrect",e.LanguagePresence="LanguagePresence",e.Ocred="Ocred",e.Parsable="Parsable",e.Scanned="Scanned",e.Security="Security",e.TableHeaders="TableHeaders",e.Tagged="Tagged",e.Title="Title"}(P||(P={})),function(e){e.Iframe="iframe",e.Window="window"}(x||(x={}));var M=function(){function e(){}return e.emitContentDeleted=function(t){Object.keys(e.deleteHandlers).map(function(t){return e.deleteHandlers[t]}).forEach(function(e){return e(t)}),e.userCallbacks&&e.userCallbacks.deleted(t)},e.offContentDeleted=function(t){delete e.deleteHandlers[t]},e.onContentDeleted=function(t,n){e.deleteHandlers[t]=n},e.emitContentReplaced=function(t,n){Object.keys(e.replaceHandlers).map(function(t){return e.replaceHandlers[t]}).forEach(function(e){return e(t,n)}),e.userCallbacks&&e.userCallbacks.replacedFile(t,n)},e.offContentReplaced=function(t){delete e.replaceHandlers[t]},e.onContentReplaced=function(t,n){e.replaceHandlers[t]=n},e.emitContentUpdated=function(t){Object.keys(e.updatedHandlers).map(function(t){return e.updatedHandlers[t]}).forEach(function(e){return e(t)}),e.userCallbacks&&e.userCallbacks.updated(t)},e.offContentUpdated=function(t){delete e.updatedHandlers[t]},e.onContentUpdated=function(t,n){e.updatedHandlers[t]=n},e.launch=function(t,n,r,i,o){var a,l=t.client.config.baseUrl,s=t.config.platformName,c=t.config.platformUi,u=t.client.config.clientId,f=E.apply({ALLY_DOMAIN:t.client.config.baseUrl,i18n:t.i18n,locale:t.config.locale}),d=D.resolveInstructorFeedbackCallbacks(o),p=e.userCallbacks={closed:function(){d.closed(),t.config.instructorFeedback.callbacks.closed()},deleted:function(e){d.deleted(e),t.config.instructorFeedback.callbacks.deleted(e)},replacedFile:function(e,n){d.replacedFile(e,n),t.config.instructorFeedback.callbacks.replacedFile(e,n)},updated:function(e){d.updated(e),t.config.instructorFeedback.callbacks.updated(e)}},h={closed:function(){return p.closed()},deleted:e.emitContentDeleted,replacedFile:e.emitContentReplaced,updated:e.emitContentUpdated};e.previousLaunchArgs=[l,s,c,u,n,r,f,i,h],(a=k.launch).call.apply(a,[null].concat(e.previousLaunchArgs))},e.destroy=function(){k.reset(),Object.keys(e.deleteHandlers).forEach(e.offContentDeleted),Object.keys(e.replaceHandlers).forEach(e.offContentReplaced),Object.keys(e.updatedHandlers).forEach(e.offContentUpdated),this.userCallbacks=null},e.userCallbacks=null,e.deleteHandlers={},e.replaceHandlers={},e.updatedHandlers={},e}(),U=function(){function e(){}return e.run=function(e,t,n,r,i){i.forEach(function(i){i.isApplicable(e,t,n,r)&&i.run(e,t,n,r)})},e}(),H=function(){function e(e,t,n){this.href=e,this.text=t,this.title=n}return e.fromEl=function(t){var n=e.resolveNonEmptyHref(t);if(c.b(n)){var r=e.resolveSimpleText(t,n);return new e(n,r,c.d(t.attr("title")))}return null},e.resolveNonEmptyHref=function(e){var t=e.attr("href");if(c.b(t)&&""!==t.trim()&&0!==t.indexOf("#")){var n=t.split("#")[0].trim();return""!==n&&0!==n.toLowerCase().indexOf("javascript:")?n:null}return null},e.resolveSimpleText=function(t,n){if(e.hasStructuralElements(t))return null;var r=t.text().trim();return""===r?null:r},e.hasStructuralElements=function(e){return e.find("*").filter(function(e,t){return-1===c.c(i(t).css("display"),"").indexOf("inline")}).length>0},e.prototype.toJson=function(){return{href:this.href,text:this.text,title:this.title}},e}(),Y=function(){function e(e,t,n){this.title=e,this.url=t,this.links=n}return e.fromMain=function(t){var n=t.find("a:visible:not([data-ally-af-disabled])").toArray().map(function(e){return H.fromEl(i(e))});return new e(document.title,window.location.href,s.a(n))},e.prototype.toJson=function(){return{links:this.links.map(function(e){return e.toJson()}),title:this.title,url:this.url}},e}(),B=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a.b(t,e),t.prototype.isApplicable=function(e,t,n,r){return t.hasDataAllyAttr("invoke")},t.prototype.run=function(e,t,n,r){var o=this,a=n[t.getContentInstanceId()],l=r[a.getId()],s=t.getDataAllyAttrValue("invoke");if("instructorfeedback"===s){var u=e.config.courseId;if(null===u)throw new Error("Cannot attach file instructor feedback without specifying a course id in ally.ui config");if(l&&"number"==typeof l.score){var f=this.resolveIssue(t),d=this.resolveTarget(t),p=this.resolveWindowTitle(e,t,l),m=c.a(a.getFileReference());this.bindClickIfNecessary(t.$el,"ally-instructorfeedback",function(n){var r=w.findContainingRichContent(a),o={filePreviewUrl:a.getFilePreviewUrl(),issue:f,locale:e.config.locale,locator:a.getRichContentLocator(e),richContentId:r?r.getRichContentEid():null,target:d,windowLauncher:e.config.instructorFeedback.windowLauncher,windowTitle:p},l={closed:function(){return t.$el.focus()}};return"window"===d&&i(".ally-tooltip").remove(),M.launch(e,u,m,o,l),!1})}else t.$el.unbind("click.ally-instructorfeedback")}else if("alternativeformats"!==s||a.type!==h.file&&a.type!==h.richContent)"alternativeformats"===s&&a.type===h.webpage&&this.bindClickIfNecessary(t.$el,"ally-alternativeformats",function(){var n=Y.fromMain(a.$el),r={closeWhenFormatReady:o.getCloseWhenFormatReady(e.config.alternativeFormats),locale:e.config.locale,renderAudioOnMobileInline:o.getRenderAudioOnMobileInline(e.config.alternativeFormats)},i={closed:function(){return t.$el.focus()}},l=t.getDataAllyAttrValue("invoke-direct-file"),s=H.fromEl(t.$el);if(c.b(l)&&c.b(s)){var u=o.resolveFilenameFromUrl(s.href),f=o.resolveMimeAndFileType(u),d=f[0],p={fileType:f[1],href:s.href,id:"semi-random-link",mimeType:d,text:c.b(s.text)?s.text:s.href,url:s.href};A.launchDirectFileOnWebpage(e,n,r,p,i)}else A.launchWebpage(e,n,r,i);return!1});else{var g=e.config.courseId;if(null===g)throw new Error("Cannot attach file alternative formats without specifying a course id in ally.ui config");l&&l.availableAlternativeFormats&&l.availableAlternativeFormats.length>0?this.bindClickIfNecessary(t.$el,"ally-alternativeformats",function(){var n=[];a.type===h.richContent&&(n=o.getAssociatedFiles(a));var r={associatedFiles:n,closeWhenFormatReady:o.getCloseWhenFormatReady(e.config.alternativeFormats),locale:e.config.locale,renderAudioOnMobileInline:o.getRenderAudioOnMobileInline(e.config.alternativeFormats)},i={closed:function(){return t.$el.focus()}};return A.launchFile(e,g,l,r,i),!1}):t.$el.unbind("click.ally-alternativeformats")}},t.prototype.getAssociatedFiles=function(e){var t=this,n=w.fromRoot(e.$el);return Object.values(n).filter(function(e){return e.type===h.file}).map(function(e){var n=e.getFileEid();if(c.b(n)){var r=e.$el.text().trim();return c.b(r)&&""!==r?c.b(r)&&0===r.indexOf("http")&&(r=t.resolveFilenameFromUrl(r)):r=null,{externalId:n,title:r}}}).filter(c.b)},t.prototype.resolveIssue=function(e){var t=e.getDataAllyAttrValue("invoke-prop-issue");return null!==t&&""!==t?t:null},t.prototype.resolveTarget=function(e){return"window"===e.getDataAllyAttrValue("invoke-prop-target")?"window":"iframe"},t.prototype.resolveWindowTitle=function(e,t,n){var r=t.getDataAllyAttrValue("invoke-prop-window-title");return null!==r&&""!==r?r:n&&void 0!==n.name?e.i18n.INSTRUCTOR_FEEDBACK_FOR.replace("{0}",n.name):e.i18n.INSTRUCTOR_FEEDBACK},t.prototype.bindClickIfNecessary=function(e,t,n){var r=i._data(e[0],"events"),o=(r?r.click.filter(function(e){return e.namespace===t}):[])[0];(void 0===o?null:o)||e.bind("click."+t,n)},t.prototype.getRenderAudioOnMobileInline=function(e){return c.b(e.formats)?e.formats.renderAudioOnMobileInline:void 0},t.prototype.getCloseWhenFormatReady=function(e){return c.b(e.formats)?e.formats.closeWhenFormatReady:void 0},t.prototype.resolveFilenameFromUrl=function(e){var t=S(e).pathname.split("/").pop();return c.c(t,"unknown")},t.prototype.resolveMimeAndFileType=function(e){var t=e.toLowerCase().split(".").pop();return"pdf"===t?["application/pdf","pdf"]:"doc"===t||"docx"===t?["application/msword","document"]:"ppt"===t||"pptx"===t?["application/application/vnd.ms-powerpoint","presentation"]:"html"===t||"htm"===t?["text/html","html-file"]:["application/octet-stream","unknown"]},t}(U)),W=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a.b(t,e),t.prototype.isApplicable=function(e,t,n,r){return t.hasDataAllyAttr("show")},t.prototype.run=function(e,t,n,r){var i=this,o=t.getContentInstanceId(),a=c.c(t.getDataAllyAttrValue("show"),"").split(" "),l=c.c(t.getDataAllyAttrValue("show-display"),"block");w.findContentInstances(n,o).filter(function(e){return a.filter(function(t){return i.shouldShow(t,e,r[e.getId()])}).length>0}).length>0?t.$el.css("display",l):t.$el.hide()},t.prototype.shouldShow=function(e,t,n){if(n){if(0===e.indexOf("instructorfeedback")){var r=this.shouldShowInstructorFeedback(t,n);if(r){var i=r[0];return"instructorfeedback"===e||e==="instructorfeedback-score-"+this.scoreLabel(i)}return!1}if("alternativeformats"===e&&(t.type===h.file||t.type===h.richContent)&&n.availableAlternativeFormats&&n.availableAlternativeFormats.length>0)return!0;if("seizureinducing"===e&&!0===n.seizureRisk)return!0}else if("alternativeformats"===e&&t.type===h.webpage)return!0;return!1},t.prototype.shouldShowInstructorFeedback=function(e,t){return"number"==typeof t.score?"IMG"!==e.$el[0].tagName?[t.score]:!0===t.seizureRisk?[t.score]:T.isMeaningful(e.getSourceAttrValue("alt"),t.name)?w.findContainingRichContent(e)?[t.score]:null:[t.score]:null},t.prototype.scoreLabel=function(e){var t=Math.floor(100*e);return t<=33?"low":t<=66?"medium":t<=99?"high":"perfect"},t}(U)),j=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a.b(t,e),t.prototype.isApplicable=function(e,t,n,r){var i=t.$el.is("[title]");return t.hasDataAllyAttr("tooltip")&&i},t.prototype.run=function(e,t,n,r){N(),t.$el.addClass("ally-add-tooltip")},t}(U)),V=function(){function e(){}return e.resolveSupportedLanguage=function(e){return this.hasAllyLanguageSupport(e)?e:-1!==e.indexOf("-")?this.resolveSupportedLanguage(e.split("-").slice(0,-1).join("-")):e},e.hasAllyLanguageSupport=function(e){return this.allI18n["__"+e]},e.allI18n=n(68),e}(),G=function(){function e(){}return e.run=function(e,t,n,r,i){i.forEach(function(i){i.isApplicable(e,t,n,r)&&i.run(e,t,n,r)})},e}(),q=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a.b(t,e),t.prototype.isApplicable=function(e,t,n,r){return t.hasDataAllyAttr("scoreindicator")&&0===t.$el.find("*").length},t.prototype.run=function(e,t,n,r){var i=n[t.getContentInstanceId()],o=c.c(t.getDataAllyAttrValue("scoreindicator"),""),a=y.apply({baseUrl:e.client.config.baseUrl,contentId:i.getId(),customIconSet:e.config.instructorFeedback.customIconSet,i18n:e.i18n,style:this.resolveScoreIndicatorStyle(e,o),target:this.resolveTarget(t)});t.$el.attr(C.getDataAllyAttrName("show"),"instructorfeedback"),t.$el.empty().append(a)},t.prototype.resolveScoreIndicatorStyle=function(e,t){var n=r.standard;return"custom"===t?n=r.custom:"circle"===t?n=r.circle:"learnUltra"===t&&(n=r.learnUltra),n!==r.standard&&n!==r.circle||"learn"===e.config.platformName&&"ultra"===e.config.platformUi&&(n=r.learnUltra),n},t.prototype.resolveTarget=function(e){var t=e.getDataAllyAttrValue("scoreindicator-target");return"window"===t?"window":"iframe"===t?"iframe":void 0},t}(G)),$=function(){function e(e){this.$el=e}return e.fromRoot=function(t){return t.find("["+C.getDataAllyAttrName("content-ref")+"]").toArray().map(function(t){return new e(i(t))})},e.prototype.getContentInstanceId=function(){return this.getDataAllyAttrValue("content-ref")},e.prototype.getDataAllyAttrValue=function(e){var t=this.$el.attr(C.getDataAllyAttrName(e));return void 0!==t?t:null},e.prototype.hasDataAllyAttr=function(e){return this.$el.is("["+C.getDataAllyAttrName(e)+"]")},e}(),K=function(){function e(){}return e.$mock=function(e,t,n,r){void 0===e&&(e={}),void 0===t&&(t={}),void 0===r&&(r={});var i=/^.*\/api\/v1\/([^\/]+)\/reports\/courses\/([^\/]+)$/,o=/^.*\/api\/v1\/([^\/]+)\/reports\/courses\/([^\/]+)\/content(\?|$)/,a=/^.*\/api\/v2\/clients\/([^\/]+)\/courses\/([^\/]+)\/(files|rich-content)\/([^\/]+)\/report(\?|$)/,l=/^.*\/api\/v1\/([^\/]+)\/courses\/([^\/]+)\/files\/([^/?]+)$/,u=/^.*\/api\/v1\/[0-9]+\/help$/,f=/^.*\/api\/v1\/([^\/]+)\/courses\/([^\/]+)\/files\/([^\/?]+)\/embedInfo$/,d=/^.*\/api\/v1\/([^\/]+)\/courses\/([^\/]+)\/files\/([^\/?]+)\/help\/sendExpertInstructorFeedbackHelp$/,p=/^.*\/api\/v2\/clients\/([^\/]+)\/courses\/([^\/]+)\/rich-content\/([^\/?]+)\/files$/;return{ajax:function(h){var m=h.url.match(i),g=h.url.match(o),v=h.url.match(f),E=h.url.match(a),y=h.url.match(p);if(null!==m&&m.length>0){var I=m[2],_=r[I];void 0!==_?h.success(_):h.error({responseText:"Not Found",status:404},"error","Not Found")}else if(null!==g&&g.length>0){var A=g[2],b={uploadsReport:JSON.parse(h.data).map(function(t){var n=e[A];if(c.b(n)){var r=null;if("File"===t.uploadType)r=n.File[t.id];else if("RichContent"===t.uploadType){var i=n.RichContent[t.id];c.b(i)&&(r=i.report)}return r}return null})};h.success(b)}else if(null!==E&&E.length>0){I=decodeURIComponent(E[2]);var T="rich-content"===E[3]?"RichContent":"File",C=decodeURIComponent(E[4]),O=void 0;O="RichContent"===T?e[I].RichContent[C].report:e[I].File[C];var L=s.d(Object.keys(O.results).map(function(e){return e}),Object.values(O.results).map(function(e){return{score:e}})),w=c.c(O.availableAlternativeFormats,[]),S={feedback:{report:{results:L,score:Number(O.score),suggestions:O.suggestions}},formats:{available:w.length>0,availableFormats:w,canToggleAvailability:!0,visibility:w.length>0},id:O.id,metadata:{decorative:O.decorative,description:O.description,fileType:O.type,isSeizureInducing:O.seizureRisk,isVersioned:Boolean(O.isVersioned),libraryReference:O.libraryReference,mimeType:String(O.mimeType),name:O.name}};h.success(S)}else if(null!==y&&y.length>0){I=decodeURIComponent(y[2]),C=decodeURIComponent(y[3]);var N=e[I].RichContent[C].linkedFiles;h.success({results:N})}else if(l.test(h.url))h.success({alternativeFormatsEnabled:!0,disabledFormats:[]});else if(null!==v&&v.length>0){I=v[2];var R=v[3],P=t[I],x={status:"Pending",urls:{original:null,pdf:null}};c.b(P)&&c.b(P[R])&&(x=P[R]),h.success(x)}else u.test(h.url)?"instructor"===h.data.targetGroup?h.success(c.b(n)?n.instructor:null):"student"===h.data.targetGroup&&h.success(c.b(n)?n.student:null):d.test(h.url)?h.success("OK"):(console.log("Unknown URL hitting mock: "+h.url),h.error({code:404}))},set:function(t){e=t}}},e}(),z=n(4),X=n(69),Z=0,J=function(e){return ee.fromConfigObject(window,e,ee.allDirectives,ee.allMacros)};J.nextContentId=function(){return(++Z).toString()},J.$mock=K.$mock;var Q,ee=function(){function e(e){var t=this;this.autoUpdates=[],this.domWatches=[],this.onDestroyHandlers=[],this.isListeningOnIframe=!1,this.config=e,this.client=o.a.from(e.client),this.i18n=V.allI18n,this.i18n.init(V.resolveSupportedLanguage(e.locale)),M.onContentDeleted("ui",function(e){return t.doAutoUpdate(e)}),M.onContentReplaced("ui",function(e,n){return t.doAutoUpdate(e,n.id)}),M.onContentUpdated("ui",function(e){return t.doAutoUpdate(e.id)})}return e.fromConfigObject=function(t,n,r,i){return new e(D.from(t,n,r,i))},e.addStylesheet=function(e,t){if(0===i('.ally-styles[href="'+e+'"]').length){var n=i("<link />",{class:"ally-styles",href:e,id:t,rel:"stylesheet"});i("head").append(n)}},e.prototype.autoUpdate=function(e){var t=this;void 0===e&&(e={});var n=e.el?e.el:this.config.contentRoot;this.autoUpdates.push({el:n});var r=c.c(e.preHook,function(){return!0});return(r()?this.update(n):l.Promise.resolve()).then(function(){var i=null;return c.c(e.domWatch,0)>0&&(i=setInterval(function(){r()&&t.update(n)},e.domWatch),t.domWatches.push(i)),{intervalHandler:i}})},e.prototype.update=function(e){var t=this,n=c.b(e)?e:this.config.contentRoot,r=w.fromRoot(i(this.config.contentRoot));return this.getFileReportMapIfNecessary(r).then(function(e){t.initStylesIfNecessary(r,e),t.listenOnIframeIfNecessary(r,e),Object.keys(e).forEach(function(n){return r[n].applyAllyWorkArounds(t,e[n])}),$.fromRoot(i(n)).forEach(function(n){w.findContentInstances(r,n.getContentInstanceId()).length>0&&G.run(t,n,r,e,t.config.macros)}),$.fromRoot(i(n)).forEach(function(n){w.findContentInstances(r,n.getContentInstanceId()).length>0&&U.run(t,n,r,e,t.config.directives)})})},e.prototype.destroy=function(){var e=this;return this.domWatches.forEach(function(e){return clearInterval(e)}),this.domWatches=[],this.autoUpdates=[],M.destroy(),A.destroy(),L.destroyAll(),this.runAllSafe(this.onDestroyHandlers).then(function(){return e.onDestroyHandlers=[]}).then(function(){})},e.prototype.onDestroy=function(e){this.onDestroyHandlers.push(e)},e.prototype.runAllSafe=function(e){var t=this,n=e.shift();if(!c.b(n))return l.Promise.resolve();try{return n().catch(function(e){return console.error(e)}).then(function(){return t.runAllSafe(e)})}catch(t){return console.error(t),this.runAllSafe(e)}},e.prototype.getFileReportMapIfNecessary=function(e){var t=this.config.courseId;if(c.b(t)){var n={};return Object.keys(e).forEach(function(t){var r=e[t].getFileReference();c.b(r)&&(n[t]=r.data())}),this.client.getFileReports(t,n)}return l.Promise.resolve({})},e.prototype.initStylesIfNecessary=function(e,t){this.isActive(e,t)&&this.initStyles()},e.prototype.listenOnIframeIfNecessary=function(e,t){this.isActive(e,t)&&this.listenOnIframe()},e.prototype.isActive=function(e,t){return 0!==s.c(e).filter(function(e){return e.type===h.webpage}).length||s.c(t).length>0},e.prototype.listenOnIframe=function(){var e=this;this.isListeningOnIframe||(this.isListeningOnIframe=!0,z.listen("http",function(t,n,r){var i={crossDomain:!0,data:t.parameters,type:t.method,url:t.path,xhrFields:{withCredentials:!1}};t.opts&&t.opts.contentType&&(i.contentType=t.opts.contentType),t.opts&&t.opts.headers&&(i.headers=t.opts.headers),e.client.authenticateAndExec(i).then(function(e){return z.send(r.source,"http-response",{response:e},n)}).catch(function(e){return z.send(r.source,"http-response",{err:e},n)})}),z.listen("sign",function(t,n,r){var i={data:t.parameters,url:t.path};e.client.authenticate(i).then(function(e){var t=e;t.parameters=e.data,z.send(r.source,"sign-response",{response:t},n)}).catch(function(e){return z.send(r.source,"sign-response",{err:e},n)})}),z.listen("getDownloadUrl",function(t,n,r){e.getFileDownloadUrl(t.parameters.fileId).then(function(e){return z.send(r.source,"getDownloadUrl-response",{response:e},n)}).catch(function(e){return z.send(r.source,"getDownloadUrl-response",{err:e},n)})}))},e.prototype.getFileDownloadUrl=function(e){var t=this;return new l.Promise(function(n,r){if(t.config.instructorFeedback.getFileDownloadUrl){var i=t.config.instructorFeedback.getFileDownloadUrl(e,function(e,t){e?r(e):n(t)});i&&(i.then(n),i.catch(r))}else r({code:501,msg:"File downloads are not supported"})})},e.prototype.initStyles=function(){e.addStylesheet(this.resourcePath(X),"ally-styles")},e.prototype.doAutoUpdate=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];t.forEach(function(t){return e.client.clearFileIdFromCache(t)});var r=this.autoUpdates.map(function(t){return function(){return e.update(t.el)}});return this.seq(r)},e.prototype.seq=function(e,t){var n=this;void 0===t&&(t=[]);var r=e.shift();return r?r().then(function(r){return n.seq(e,t.concat(r))}):l.Promise.resolve(t)},e.prototype.resourcePath=function(e){return this.client.config.baseUrl+"/"+e},e.allMacros=[q],e.allDirectives=[B,W,j],e}(),te=n(24);!function(e){e[e.NoConfigObjectAvailable=0]="NoConfigObjectAvailable",e[e.NotAD2lPlatform=1]="NotAD2lPlatform",e[e.NotASupportedPageType=2]="NotASupportedPageType"}(Q||(Q={}));var ne,re=/^\/d2l\/le\/content\/\d+\/Home/,ie=/^\/d2l\/le\/content\/\d+\/viewContent\/\d+\/View/,oe=/^\/apps\/smart-curriculum\//;!function(e){e[e.TableOfContents=0]="TableOfContents",e[e.IndividualContentView=1]="IndividualContentView",e[e.NewContentExperienceView=2]="NewContentExperienceView"}(ne||(ne={}));var ae,le=function(){function e(e,t,n,r,i,o,a,l){this.baseUrl=e,this.clientId=t,this.courseId=n,this.locale=r,this.roles=i,this.jwtToken=o,this.parsedToken=a,this.pageType=l}return e.fromPage=function(t,n,r){var i=c.c(n.attr("src"),"");if(""!==i&&-1!==i.indexOf("platform-name=d2l")){if(r){var o=i.split("/").slice(0,3).join("/"),a=this.parseJwtToken(r.token),l=function(e){return re.test(e.pathname)?ne.TableOfContents:ie.test(e.pathname)?ne.IndividualContentView:oe.test(e.pathname)?ne.NewContentExperienceView:null}(t);return c.b(l)?new e(o,r.clientId,a.course_id,a.locale,a.roles.split(","),r.token,a,l):Q.NotASupportedPageType}return Q.NoConfigObjectAvailable}return Q.NotAD2lPlatform},e.parseJwtToken=function(e){return te(e)},e}();!function(e){e[e.IndividualContentViewItem=0]="IndividualContentViewItem",e[e.ContentViewImage=1]="ContentViewImage",e[e.TableOfContentsTopicLink=2]="TableOfContentsTopicLink",e[e.TableOfContentsModule=3]="TableOfContentsModule",e[e.TableOfContentsChildModule=4]="TableOfContentsChildModule",e[e.NewContentExperienceView=5]="NewContentExperienceView"}(ae||(ae={}));var se=function(){function e(){}return e.prototype.annotate=function(e,t,n){t.$el.attr("data-ally-file-eid",t.eid),t.$el.attr("data-ally-content-ref",t.id);var r=t.$el.attr("src"),o=document.location,a=o.protocol+"//"+o.host+r;return i(".d2l-button[data-ally-content-id]").attr("data-ally-file-preview-url",a),!0},e}(),ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(72),t.blackAfIcon=n(13),t}return a.b(t,e),t.prototype.apply=function(e){return i(this.template(a.a({},e,{aafIcon:this.blackAfIcon})))},t}(f),ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(73),t}return a.b(t,e),t.prototype.apply=function(e){var t=this.resolveTarget(e),n=a.a({},e,{target:t});return i(this.template(n))},t.prototype.resolveTarget=function(e){return"iframe"===e.target||"window"===e.target?e.target:"iframe"},t}(f),fe=function(){function e(){}return e.prototype.annotate=function(e,t,n){var r=!1;if(e.parsedToken.can_download_content){t.$el.attr("data-ally-file-eid",t.eid);var o=t.$el.parent(),a=new ce,l=i(a.apply({baseUrl:e.baseUrl,contentRef:t.id,i18n:n.i18n}));o.append(l),r=!0}if(e.parsedToken.can_update_content){var s=new ue,c=i(s.apply({contentRef:t.id}));i(".d2l-page-header .d2l-page-header-side > .d2l-inline").first().prepend(c),r=!0}return r},e}(),de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(74),t.aafIcon=n(13),t}return a.b(t,e),t.prototype.apply=function(e){return i(this.template(a.a({},e,{aafIcon:this.aafIcon})))},t}(f),pe=function(){function e(){}return e.prototype.annotate=function(e,t,n){var r=!1,o=t.$el.parents(".content-panel").find("#content-header .header-button-tray"),a=o.find(".ally-container");if(0===a.length?(a=i('<div class="ally-container" />'),o.prepend(a)):a.children().remove(),e.parsedToken.can_update_content){"img"===t.$el[0].tagName.toLowerCase()&&(t.$el.attr("data-ally-file-preview-url",t.$el.attr("src")),t.$el.attr("alt",null));var l=new ue,s=i(l.apply({contentRef:t.id,target:"window"}));a.prepend(s),r=!0}if(e.parsedToken.can_download_content){var c=new de,u=i(c.apply({baseUrl:e.baseUrl,contentRef:t.id,i18n:n.i18n}));a.prepend(u),r=!0}return r},e}(),he=function(){function e(){}return e.prototype.annotate=function(e,t,n){t.$el.attr("data-ally-richcontent-eid",t.eid);var r=new de,o=i(r.apply({baseUrl:e.baseUrl,contentRef:t.id,i18n:n.i18n}));return t.$el.prepend(o),!0},e}(),me=function(){function e(){}return e.prototype.annotate=function(e,t,n){t.$el.attr("data-ally-file-eid",t.eid);var r=t.$el.parents(".d2l-topic-view").parent(),o=r.find(".d2l-topic-view");o.addClass("ally-d2l-toc-topic-view");var a=r.parents("ul.d2l-datalist");r.find(".d2l-menuflyout-custom-content").length>0&&(a.addClass("ally-d2l-toc-with-draft"),r.addClass("ally-d2l-toc-row-with-draft")),this.canViewOnly(e.parsedToken)&&a.addClass("ally-d2l-toc-aafs-only");var l=i('<div class="ally-d2l-toc-column" />');if(e.parsedToken.can_download_content){var s=new de,c=i(s.apply({baseUrl:e.baseUrl,contentRef:t.id,i18n:n.i18n}));l.append(c)}if(e.parsedToken.can_update_content){var u=new ue,f=i(u.apply({contentRef:t.id}));l.append(f)}return l.children().length>0&&l.insertAfter(o),!0},e.prototype.canViewOnly=function(e){return e.can_download_content&&!e.can_update_content&&!e.can_delete_content&&!e.can_create_content},e}();var ge=/^d2l_content_[\d]+_([\d]+)$/,ve=function(){function e(e,t,n,r){this.type=e,this.$el=t,this.id=n,this.eid=r}return e.fromPage=function(t,n){switch(t.pageType){case ne.TableOfContents:var r=n.find("ul.d2l-datalist .d2l-topic-view .d2l-link").toArray().map(function(t){return e.fromElement(i(t),ae.TableOfContentsTopicLink)}),o=n.find(".d2l-htmlblock").toArray().map(function(t){return e.moduleFromHtmlBlock(i(t))});return s.a(r.concat(o));case ne.IndividualContentView:var a=n.find("#ContentView").next();c.b(a.attr("id"))||a.attr("id","d2l_btn_bar");var l=a.find('.d2l-button[id*="d2l_content_"]'),u=e.extractIdsFromElement(l);if(c.b(u)){var f=u[0],d=u[1],p=[];p.push(new e(ae.IndividualContentViewItem,l,f,d));var h=n.find(".d2l-fileviewer-image img.d2l-fileviewer-rendered-image");if(h.length>0){var m="ally_d2l_"+d;h.attr("id",m),p.push(new e(ae.ContentViewImage,h,m,d))}return p}return[];case ne.NewContentExperienceView:var g=i(".content-panel"),v=g.find("a#ally-content-item"),E=e.extractIdsFromElement(g);if(c.b(E)){f=E[0],d=E[1];var y=v,I=g.find(".vui-fileviewer-image-container img.vui-fileviewer-image");return 1===I.length?(y=I,v.remove()):0===v.length&&(v=i('<a id="ally-content-item" href="" style="display: none"></a>'),g.append(v),y=v),y.attr("data-ally-file-eid")!==d&&(y.attr("data-ally-file-eid",d),y.attr("data-ally-content-id",null)),[new e(ae.NewContentExperienceView,y,f,d)]}return v.remove(),g.find(".ally-container").remove(),[]}},e.fromElement=function(t,n){var r=e.extractIdsFromElement(t);return c.b(r)?new e(n,t,r[0],r[1]):null},e.extractIdsFromElement=function(e){var t,n,r=e.attr("id");if("string"==typeof r){var i=(t=1,(n=ge.exec(r))?c.d(n[t]):null);return c.b(i)?[r,i]:null}return null},e.moduleFromHtmlBlock=function(t){var n=t.parents(".d2l-datalist").length;if(1===n){var r=t.parents(".d2l-collapsepane").find(".d2l-expandcollapse").data("key");if(c.b(r)){var i="application/x-module:"+r;return new e(ae.TableOfContentsModule,t,i,i)}return null}if(2===n){r=t.parents(".d2l-datalist-item-content").first().find("d2l-dropdown").data("placeholderkey");if(c.b(r)){i="application/x-module:"+r;return new e(ae.TableOfContentsChildModule,t,i,i)}return null}return null},e.prototype.annotate=function(e,t){return!this.$el[0].hasAttribute("data-ally-content-id")&&(this.$el.attr("data-ally-content-id",this.id),function(e){switch(e){case ae.IndividualContentViewItem:return new fe;case ae.ContentViewImage:return new se;case ae.TableOfContentsTopicLink:return new me;case ae.NewContentExperienceView:return new pe;case ae.TableOfContentsModule:case ae.TableOfContentsChildModule:return new he}}(this.type).annotate(e,this,t))},e}();var Ee,ye=n(75),Ie=function(){function e(){}return e.annotate=function(t,n,r){var i=S(n),o=window.allyConfig,a=le.fromPage(i,r,o);if("number"!=typeof a){e.addCss(a);var s=e.getUi(a,t[0],r),c={domWatch:500,preHook:function(){return e.annotatePage(a,t,s)}};return s.autoUpdate(c).then(function(){return s})}return l.Promise.resolve(a)},e.getUi=function(e,t,r){var i;if(void 0!==r&&void 0!==r.attr("data-ally-mock")){var o=r.attr("data-ally-mock");void 0!==o&&(i=window[o])}var s={auth:function(){return l.Promise.resolve({bearer:e.jwtToken})},baseUrl:e.baseUrl,clientId:e.clientId,jQuery:i},c=!1,u=a.a({},D.resolveInstructorFeedbackCallbacks(),{closed:function(){c&&window.location.reload()},deleted:function(){return c=!0},replacedFile:function(){return c=!0}});return J({client:s,contentRoot:t,courseId:e.courseId.toString(),instructorfeedback:{callbacks:u,customIconSet:{high:n(76),low:n(77),medium:n(78),perfect:n(79)},getFileDownloadUrl:function(t,n){var r=window.location;return n(null,r.protocol+"//"+r.host+"/d2l/api/le/1.12/"+e.courseId+"/content/topics/"+t+"/file?stream=true")}},platformName:"d2l",role:"anonymous"})},e.annotatePage=function(e,t,n){var r=!1;return ve.fromPage(e,t).forEach(function(t){var i=t.annotate(e,n);r=r||i}),r},e.addCss=function(e){ee.addStylesheet(e.baseUrl+"/"+ye,"ally-d2l-styles")},e}();!function(e){e[e.NotAMoodlePlatform=0]="NotAMoodlePlatform",e[e.MoodleAllyFilterNotFound=1]="MoodleAllyFilterNotFound",e[e.NotAMoodleCourse=2]="NotAMoodleCourse"}(Ee||(Ee={}));var _e=function(){function e(e,t,n,r,i){this.baseUrl=e,this.clientId=t,this.courseId=n,this.locale=r,this.jwtToken=i}return e.fromPage=function(t,n){if(-1===c.c(t.attr("src"),"").indexOf("platform-name=moodle"))return Ee.NotAMoodlePlatform;var r=this.getCourse(n);if(!c.b(r))return Ee.NotAMoodleCourse;var i=n.require;if("function"!=typeof i)return Ee.MoodleAllyFilterNotFound;var o=i("filter_ally/ally");if(!c.b(o)||"object"!=typeof o)return Ee.MoodleAllyFilterNotFound;var a=o.getAllyBaseUrl(),l=o.config().clientid,s=n.document.documentElement.getAttribute("lang"),u=o.token();return new e(a,l,r,c.c(s,"en"),u)},e.getCourse=function(e){var t=c.c(e.document.body.getAttribute("class"),"").split(" ").filter(function(e){return 0===e.indexOf("course-")}).map(function(e){return e.split("-")[1]})[0];if(c.b(t)&&"1"!==t){var n=parseInt(t,10);return isNaN(n)?null:n}return null},e}(),Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(80),t}return a.b(t,e),t.prototype.apply=function(e){return i(this.template(e))},t}(f),be=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(81),t}return a.b(t,e),t.prototype.apply=function(e){var t="";return!0===e.asCircle&&(t="circle"),i(this.template(a.a({},e,{style:t})))},t}(f),Te=n(82),Ce=n(93),Oe=function(){function e(){}return e.annotate=function(t,n,r){var i=_e.fromPage(n,r);if("number"!=typeof i){var o=e.getUi(i,r,t[0],n),a={domWatch:500,preHook:function(){return e.annotateActions(t,o)}};return ee.addStylesheet(i.baseUrl+"/"+Te,"ally-moodle-styles"),void 0!==r.tinymce&&Ce.fix("id_summary_editor",".ally-actions",".filter-ally-wrapper"),o.autoUpdate(a).then(function(){return o})}return l.Promise.resolve(i)},e.getUi=function(e,t,n,r){var i;if(c.b(r)){var o=r.attr("data-ally-mock");c.b(o)&&(i=t[o])}var s={auth:function(){return l.Promise.resolve({bearer:e.jwtToken})},baseUrl:e.baseUrl,clientId:e.clientId,jQuery:i},u=!1,f=a.a({},D.resolveInstructorFeedbackCallbacks(),{closed:function(){u&&t.location.reload()},deleted:function(){return u=!0},replacedFile:function(){return u=!0}});return J({client:s,contentRoot:n,courseId:e.courseId.toString(),instructorfeedback:{callbacks:f},platformName:"moodle",role:"anonymous"})},e.annotateActions=function(e,t){var n=this,r=!1;return e.find(".ally-actions").each(function(e,o){var a=i(o),l=a.find("[data-file-id]").first().attr("data-file-id"),s="ally-content-"+l+"-"+e;a.parents("li.snap-resource").length>0&&a.closest(".ally-actions").addClass("ally-actions-tile");var u=a.siblings("a, img");if(n.isInSnapImageCard(a)&&(u=a.parents(".snap-image").find(".filter-ally-wrapper.ally-image-wrapper img")),1===u.length&&c.b(l)){var f=a.find(".ally-feedback"),d=a.find(".ally-download");if((d.length>0||f.length>0)&&u.first().attr("data-ally-content-id",s).attr("data-ally-file-eid",l),1===d.length){var p=n.addDownloadIcon(d,s,t);r=r||p,d.addClass("ally-active")}if(1===f.length&&(f.attr("data-ally-content-ref",s),0===f.find("[data-ally-scoreindicator]").length)){var h=new be,m="img"===u.first()[0].tagName.toLowerCase();f.addClass("ally-active").prepend(h.apply({asCircle:m,contentRef:s})),m&&f.addClass("ally-score-indicator-embedded"),r=!0}}}),e.find("[data-ally-richcontent]").each(function(e,o){var a=i(o),l=a.attr("data-ally-richcontent");if(n.isSupported(l)){a.attr("data-ally-richcontent-eid",l),a.attr("data-ally-content-id",l);var s=n.addDownloadIcon(a,l,t);r=r||s}}),r},e.addDownloadIcon=function(e,t,n){if(0===e.children('[data-ally-invoke="alternativeformats"]').length){var r=new Ae,o=i(r.apply({contentRef:t,i18n:n.i18n}));return e.prepend(o),!0}return!1},e.isSupported=function(e){return!0==={"assign:assign:intro":!0,"block_html:block_instances:configdata":!0,"book:book:intro":!0,"book:book_chapters:content":!0,"course:course:summary":!0,"course:course_sections:summary":!0,"forum:forum:intro":!0,"forum:forum_posts:message":!0,"glossary:glossary:intro":!0,"glossary:glossary_entries:definition":!0,"label:label:intro":!0,"lesson:lesson:intro":!0,"lesson:lesson_pages:contents":!0,"page:page:content":!0,"page:page:intro":!0}[e.split(":").slice(0,-1).join(":")]},e.isInSnapImageCard=function(e){return e.parents(".snap-image").length>0},e}();function Le(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function we(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function Se(e){var t=we(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ne(e){return e instanceof we(e).Element||e instanceof Element}function Re(e){return e instanceof we(e).HTMLElement||e instanceof HTMLElement}function Pe(e){return e?(e.nodeName||"").toLowerCase():null}function xe(e){return(Ne(e)?e.ownerDocument:e.document).documentElement}function Fe(e){return Le(xe(e)).left+Se(e).scrollLeft}function De(e){return we(e).getComputedStyle(e)}function ke(e){var t=De(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Me(e,t,n){void 0===n&&(n=!1);var r,i,o=xe(t),a=Le(e),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return n||(("body"!==Pe(t)||ke(o))&&(l=(r=t)!==we(r)&&Re(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Se(r)),Re(t)?((s=Le(t)).x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Fe(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ue(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function He(e){return"html"===Pe(e)?e:e.assignedSlot||e.parentNode||e.host||xe(e)}function Ye(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(Pe(t))>=0?t.ownerDocument.body:Re(t)&&ke(t)?t:e(He(t))}(e),r="body"===Pe(n),i=we(n),o=r?[i].concat(i.visualViewport||[],ke(n)?n:[]):n,a=t.concat(o);return r?a:a.concat(Ye(He(o)))}function Be(e){return["table","td","th"].indexOf(Pe(e))>=0}function We(e){return Re(e)&&"fixed"!==De(e).position?e.offsetParent:null}function je(e){for(var t=we(e),n=We(e);n&&Be(n);)n=We(n);return n&&"body"===Pe(n)&&"static"===De(n).position?t:n||t}var Ve="top",Ge="bottom",qe="right",$e="left",Ke="auto",ze=[Ve,Ge,qe,$e],Xe="start",Ze="end",Je="clippingParents",Qe="viewport",et="popper",tt="reference",nt=ze.reduce(function(e,t){return e.concat([t+"-"+Xe,t+"-"+Ze])},[]),rt=[].concat(ze,[Ke]).reduce(function(e,t){return e.concat([t,t+"-"+Xe,t+"-"+Ze])},[]),it=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ot(e){var t=new Map,n=new Set,r=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||function e(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach(function(r){if(!n.has(r)){var i=t.get(r);i&&e(i)}}),r.push(i)}(e)}),r}var at={placement:"bottom",modifiers:[],strategy:"absolute"};function lt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function st(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?at:i;return function(e,t,n){void 0===n&&(n=o);var i,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},at,{},o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){f(),l.options=Object.assign({},o,{},l.options,{},n),l.scrollParents={reference:Ne(e)?Ye(e):e.contextElement?Ye(e.contextElement):[],popper:Ye(t)};var i=function(e){var t=ot(e);return it.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,{},t,{options:Object.assign({},n.options,{},t.options),data:Object.assign({},n.data,{},t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}([].concat(r,l.options.modifiers)));return l.orderedModifiers=i.filter(function(e){return e.enabled}),l.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:l,name:t,instance:u,options:r});s.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(lt(t,n)){l.rects={reference:Me(t,je(n),"fixed"===l.options.strategy),popper:Ue(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(e){return l.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var i=l.orderedModifiers[r],o=i.fn,a=i.options,s=void 0===a?{}:a,f=i.name;"function"==typeof o&&(l=o({state:l,options:s,name:f,instance:u})||l)}else l.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(l)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})),a}),destroy:function(){f(),c=!0}};if(!lt(e,t))return u;function f(){s.forEach(function(e){return e()}),s=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var ct={passive:!0};function ut(e){return e.split("-")[0]}function ft(e){return e.split("-")[1]}function dt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pt(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?ut(i):null,a=i?ft(i):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(o){case Ve:t={x:l,y:n.y-r.height};break;case Ge:t={x:l,y:n.y+n.height};break;case qe:t={x:n.x+n.width,y:s};break;case $e:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=o?dt(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Xe:t[c]=Math.floor(t[c])-Math.floor(n[u]/2-r[u]/2);break;case Ze:t[c]=Math.floor(t[c])+Math.ceil(n[u]/2-r[u]/2)}}return t}var ht={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mt(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.offsets,a=e.position,l=e.gpuAcceleration,s=e.adaptive,c=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(o),u=c.x,f=c.y,d=o.hasOwnProperty("x"),p=o.hasOwnProperty("y"),h=$e,m=Ve,g=window;if(s){var v=je(n);v===we(n)&&(v=xe(n)),i===Ve&&(m=Ge,f-=v.clientHeight-r.height,f*=l?1:-1),i===$e&&(h=qe,u-=v.clientWidth-r.width,u*=l?1:-1)}var E,y=Object.assign({position:a},s&&ht);return l?Object.assign({},y,((E={})[m]=p?"0":"",E[h]=d?"0":"",E.transform=(g.devicePixelRatio||1)<2?"translate("+u+"px, "+f+"px)":"translate3d("+u+"px, "+f+"px, 0)",E)):Object.assign({},y,((t={})[m]=p?f+"px":"",t[h]=d?u+"px":"",t.transform="",t))}var gt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,function(e){return gt[e]})}var Et={start:"end",end:"start"};function yt(e){return e.replace(/start|end/g,function(e){return Et[e]})}function It(e){return parseFloat(e)||0}function _t(e){var t=we(e),n=function(e){var t=Re(e)?De(e):{};return{top:It(t.borderTopWidth),right:It(t.borderRightWidth),bottom:It(t.borderBottomWidth),left:It(t.borderLeftWidth)}}(e),r="html"===Pe(e),i=Fe(e),o=e.clientWidth+n.right,a=e.clientHeight+n.bottom;return r&&t.innerHeight-e.clientHeight>50&&(a=t.innerHeight-n.bottom),{top:r?0:e.clientTop,right:e.clientLeft>n.left?n.right:r?t.innerWidth-o-i:e.offsetWidth-o,bottom:r?t.innerHeight-a:e.offsetHeight-a,left:r?i:e.clientLeft}}function At(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function bt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tt(e,t){return t===Qe?bt(function(e){var t=we(e),n=t.visualViewport,r=t.innerWidth,i=t.innerHeight;return n&&/iPhone|iPod|iPad/.test(navigator.platform)&&(r=n.width,i=n.height),{width:r,height:i,x:0,y:0}}(e)):Re(t)?Le(t):bt(function(e){var t=we(e),n=Se(e),r=Me(xe(e),t);return r.height=Math.max(r.height,t.innerHeight),r.width=Math.max(r.width,t.innerWidth),r.x=-n.scrollLeft,r.y=-n.scrollTop,r}(xe(e)))}function Ct(e,t,n){var r="clippingParents"===t?function(e){var t=Ye(e),n=["absolute","fixed"].indexOf(De(e).position)>=0&&Re(e)?je(e):e;return Ne(n)?t.filter(function(e){return Ne(e)&&At(e,n)}):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],a=i.reduce(function(t,n){var r=Tt(e,n),i=_t(Re(n)?n:xe(e));return t.top=Math.max(r.top+i.top,t.top),t.right=Math.min(r.right-i.right,t.right),t.bottom=Math.min(r.bottom-i.bottom,t.bottom),t.left=Math.max(r.left+i.left,t.left),t},Tt(e,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},{},e)}function Lt(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function wt(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.boundary,a=void 0===o?Je:o,l=n.rootBoundary,s=void 0===l?Qe:l,c=n.elementContext,u=void 0===c?et:c,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,m=Ot("number"!=typeof h?h:Lt(h,ze)),g=u===et?tt:et,v=e.elements.reference,E=e.rects.popper,y=e.elements[d?g:u],I=Ct(Ne(y)?y:y.contextElement||xe(e.elements.popper),a,s),_=Le(v),A=pt({reference:_,element:E,strategy:"absolute",placement:i}),b=bt(Object.assign({},E,{},A)),T=u===et?b:_,C={top:I.top-T.top+m.top,bottom:T.bottom-I.bottom+m.bottom,left:I.left-T.left+m.left,right:T.right-I.right+m.right},O=e.modifiersData.offset;if(u===et&&O){var L=O[i];Object.keys(C).forEach(function(e){var t=[qe,Ge].indexOf(e)>=0?1:-1,n=[Ve,Ge].indexOf(e)>=0?"y":"x";C[e]+=L[n]*t})}return C}function St(e,t,n){return Math.max(e,Math.min(t,n))}function Nt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Rt(e){return[Ve,qe,Ge,$e].some(function(t){return e[t]>=0})}var Pt=st({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,l=void 0===a||a,s=we(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,ct)}),l&&s.addEventListener("resize",n.update,ct),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,ct)}),l&&s.removeEventListener("resize",n.update,ct)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,l={placement:ut(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,{},mt(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,{},mt(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];Re(i)&&Pe(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Re(r)&&Pe(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=rt.reduce(function(e,n){return e[n]=function(e,t,n){var r=ut(e),i=[$e,Ve].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[$e,qe].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,o),e},{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=ut(g),E=s||(v===g||!h?[vt(g)]:function(e){if(ut(e)===Ke)return[];var t=vt(e);return[yt(e),t,yt(t)]}(g)),y=[g].concat(E).reduce(function(e,n){return e.concat(ut(n)===Ke?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?rt:s,u=ft(r),f=(u?l?nt:nt.filter(function(e){return ft(e)===u}):ze).filter(function(e){return c.indexOf(e)>=0}).reduce(function(t,n){return t[n]=wt(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[ut(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),I=t.rects.reference,_=t.rects.popper,A=new Map,b=!0,T=y[0],C=0;C<y.length;C++){var O=y[C],L=ut(O),w=ft(O)===Xe,S=[Ve,Ge].indexOf(L)>=0,N=S?"width":"height",R=wt(t,{placement:O,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),P=S?w?qe:$e:w?Ge:Ve;I[N]>_[N]&&(P=vt(P));var x=vt(P),F=[];if(o&&F.push(R[L]<=0),l&&F.push(R[P]<=0,R[x]<=0),F.every(function(e){return e})){T=O,b=!1;break}A.set(O,F)}if(b)for(var D=function(e){var t=y.find(function(t){var n=A.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return T=t,"break"},k=h?3:1;k>0;k--){if("break"===D(k))break}t.placement!==T&&(t.modifiersData[r]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,g=wt(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:u}),v=ut(t.placement),E=ft(t.placement),y=!E,I=dt(v),_="x"===I?"y":"x",A=t.modifiersData.popperOffsets,b=t.rects.reference,T=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O={x:0,y:0};if(A){if(o){var L="y"===I?Ve:$e,w="y"===I?Ge:qe,S="y"===I?"height":"width",N=A[I],R=A[I]+g[L],P=A[I]-g[w],x=p?-T[S]/2:0,F=E===Xe?b[S]:T[S],D=E===Xe?-T[S]:-b[S],k=t.elements.arrow,M=p&&k?Ue(k):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=U[L],Y=U[w],B=St(0,b[S],M[S]),W=y?b[S]/2-x-B-H-C:F-B-H-C,j=y?-b[S]/2+x+B+Y+C:D+B+Y+C,V=t.elements.arrow&&je(t.elements.arrow),G=V?"y"===I?V.clientTop||0:V.clientLeft||0:0,q=t.modifiersData.offset?t.modifiersData.offset[t.placement][I]:0,$=A[I]+W-q-G,K=A[I]+j-q,z=St(p?Math.min(R,$):R,N,p?Math.max(P,K):P);A[I]=z,O[I]=z-N}if(l){var X="x"===I?Ve:$e,Z="x"===I?Ge:qe,J=A[_],Q=St(J+g[X],J,J-g[Z]);A[_]=Q,O[_]=Q-J}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=n.elements.arrow,o=n.modifiersData.popperOffsets,a=ut(n.placement),l=dt(a),s=[$e,qe].indexOf(a)>=0?"height":"width";if(i&&o){var c=n.modifiersData[r+"#persistent"].padding,u=Ue(i),f="y"===l?Ve:$e,d="y"===l?Ge:qe,p=n.rects.reference[s]+n.rects.reference[l]-o[l]-n.rects.popper[s],h=o[l]-n.rects.reference[l],m=je(i),g=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=p/2-h/2,E=c[f],y=g-u[s]-c[d],I=g/2-u[s]/2+v,_=St(E,I,y),A=l;n.modifiersData[r]=((t={})[A]=_,t.centerOffset=_-I,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,i=n.element,o=void 0===i?"[data-popper-arrow]":i,a=n.padding,l=void 0===a?0:a;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&At(t.elements.popper,o)&&(t.elements.arrow=o,t.modifiersData[r+"#persistent"]={padding:Ot("number"!=typeof l?l:Lt(l,ze))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=wt(t,{elementContext:"reference"}),l=wt(t,{altBoundary:!0}),s=Nt(a,r),c=Nt(l,i,o),u=Rt(s),f=Rt(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),xt=n(25),Ft={type:"preview-html"},Dt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(85),t}return a.b(t,e),t}(f),kt=n(86);n(87);var Mt=function(){function e(e,t){this.baseUrl=e,this.i18n=t,this.elements=[],this.highlights=[],this.preprocess=[],this.visibility=!0}return e.prototype.start=function(e){var t=this,n=void 0===e?{}:e,r=n.thisWindow,o=void 0===r?window:r,a=n.parentWindow,l=void 0===a?window.parent:a,s=n.preprocessInterval,u=void 0===s?500:s,f={href:this.baseUrl+"/"+kt,id:"ally-preview-styles",rel:"stylesheet"},d=i("<link />",f);i("head").append(d),this.connector=xt.ProtoframePubsub.iframe(Ft,void 0,{targetWindow:l,thisWindow:o}),this.connector.handleTell("init",function(e){t.unHighlightAll(),t.unPreprocessAll(),t.elements=c.b(e.locator)?t.locateElements(e.locator):[],t.sortElements(),t.preprocessAll(u),t.visibility=!0,t.highlightAll()}),this.connector.handleTell("select",function(e){var n=e.index;t.currentSelectionIndex=n,t.visibility&&t.select()}),this.connector.handleTell("setVisibility",function(e){var n=e.visibility;t.visibility!==n&&(t.visibility=n,n?(t.highlightAll(),t.select()):t.unHighlightAll())})},e.prototype.destroy=function(){i("#ally-preview-styles").remove(),this.deselect(),this.unHighlightAll(),this.unPreprocessAll(),c.b(this.connector)&&this.connector.destroy()},e.prototype.locateElements=function(e){var t=this;return"xpaths"in e?e.xpaths.map(this.evaluateXpath):e.links.map(function(e){var n=t.getUrlKey("http://"+e),r=i("a").toArray().filter(function(e){try{return n===t.getUrlKey(e.href)}catch(e){return!1}}),o=r.filter(function(e){return i(e).is(":visible")});return(o.length>0?o:r).pop()}).filter(c.b)},e.prototype.getUrlKey=function(e){var t=new URL(e);return(t.hostname.toLowerCase()+":"+(t.pathname.endsWith("/")?t.pathname.toLowerCase().slice(0,-1):t.pathname.toLowerCase())+":"+t.search.toLowerCase()).replace(" ","%20")},e.prototype.highlightAll=function(){var e=this;this.highlights=this.elements.map(function(t){return[t,e.applyReversibleUpdate(t,{attributes:{"data-ally-html-preview-highlight":""}})]})},e.prototype.preprocessAll=function(e){var t=this;this.preprocessAll0(),this.preprocessTimer=setInterval(function(){return t.preprocessAll0()},e)},e.prototype.preprocessAll0=function(){var e,t=this,n=i("*:tabbable").toArray().map(function(e){return[e,t.applyReversibleUpdate(e,{attributes:{tabindex:"-1"}})]});(e=this.preprocess).push.apply(e,n)},e.prototype.unPreprocessAll=function(){var e=this;clearTimeout(this.preprocessTimer),this.preprocess.forEach(function(t){var n=t[0],r=t[1];e.applyReversibleUpdate(n,r)}),this.preprocess=[]},e.prototype.unHighlightAll=function(){var e=this;this.deselect(),this.highlights.forEach(function(t){var n=t[0],r=t[1];e.applyReversibleUpdate(n,r)}),this.highlights=[]},e.prototype.sortElements=function(){this.elements.sort(function(e,t){return e.getBoundingClientRect().top-t.getBoundingClientRect().top})},e.prototype.deselect=function(){c.b(this.currentTooltip)&&(this.currentTooltip.remove(),this.currentTooltip=void 0),this.elements.forEach(function(e){return e.removeAttribute("data-ally-html-preview-selected")})},e.prototype.select=function(){this.deselect();var e=this.elements[this.currentSelectionIndex];e.setAttribute("data-ally-html-preview-selected","");var t=(new Dt).apply({ALLY_DOMAIN:this.baseUrl,content:this.i18n.X_OF_Y.replace("{0}",(this.currentSelectionIndex+1).toString()).replace("{1}",this.elements.length.toString()),i18n:this.i18n}).css({"scroll-margin":"50px"});i(document.body).append(t),Pt(e,t[0],{modifiers:[{name:"flip",options:{fallbackPlacements:["left","right","bottom"],rootBoundary:"document"}},{name:"offset",options:{offset:function(e){var t=e.placement,n=e.popper,r=e.reference;return t.startsWith("bottom")||t.startsWith("top")?[n.width/2-r.width/2,0]:[n.height/2-r.height/2,0]}}}],placement:"top"}),setTimeout(function(){t[0].scrollIntoView({behavior:"smooth",block:"start",inline:"start"})}),this.currentTooltip=t},e.prototype.applyReversibleUpdate=function(e,t){var n=t.attributes,r=void 0===n?{}:n,i={attributes:{}};return Object.keys(r).forEach(function(t){var n=r[t];i.attributes[t]=e.getAttribute(t),c.b(n)?e.setAttribute(t,n):e.removeAttribute(t)}),i},e.prototype.evaluateXpath=function(e){return document.evaluate(e,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue},e}(),Ut={};
/*! (c) Andrea Giammarchi - ISC */try{!function(e,t){if("+"!==new e("q=%2B").get("q")||"+"!==new e({q:"+"}).get("q")||"+"!==new e([["q","+"]]).get("q")||"q=%0A"!==new e("q=\n").toString()||"q=+%26"!==new e({q:" &"}).toString())throw e;Ut.URLSearchParams=e}(URLSearchParams)}catch(e){!function(e,t,n){var r=e.create,i=e.defineProperty,o=/[!'\(\)~]|%20|%00/g,a=/\+/g,l={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},s={append:function(e,t){d(this._ungap,e,t)},delete:function(e){delete this._ungap[e]},get:function(e){return this.has(e)?this._ungap[e][0]:null},getAll:function(e){return this.has(e)?this._ungap[e].slice(0):[]},has:function(e){return e in this._ungap},set:function(e,n){this._ungap[e]=[t(n)]},forEach:function(e,n){var r=this;for(var i in r._ungap)r._ungap[i].forEach(o,i);function o(o){e.call(n,o,t(i),r)}},toJSON:function(){return{}},toString:function(){var e=[];for(var t in this._ungap)for(var n=h(t),r=0,i=this._ungap[t];r<i.length;r++)e.push(n+"="+h(i[r]));return e.join("&")}};for(var c in s)i(u.prototype,c,{configurable:!0,writable:!0,value:s[c]});function u(e){var t=r(null);switch(i(this,"_ungap",{value:t}),!0){case!e:break;case"string"==typeof e:"?"===e.charAt(0)&&(e=e.slice(1));for(var o=e.split("&"),a=0,l=o.length;a<l;a++){var s=(c=o[a]).indexOf("=");-1<s?d(t,p(c.slice(0,s)),p(c.slice(s+1))):c.length&&d(t,p(c),"")}break;case n(e):for(a=0,l=e.length;a<l;a++){var c;d(t,(c=e[a])[0],c[1])}break;case"forEach"in e:e.forEach(f,t);break;default:for(var u in e)d(t,u,e[u])}}function f(e,t){d(this,t,e)}function d(e,t,r){var i=n(r)?r.join(","):r;t in e?e[t].push(i):e[t]=[i]}function p(e){return decodeURIComponent(e.replace(a," "))}function h(e){return encodeURIComponent(e).replace(o,m)}function m(e){return l[e]}Ut.URLSearchParams=u}(Object,String,Array.isArray)}!function(e){var t=!1;try{t=!!Symbol.iterator}catch(e){}function n(e,n){var r=[];return e.forEach(n,r),t?r[Symbol.iterator]():{next:function(){var e=r.shift();return{done:void 0===e,value:e}}}}"forEach"in e||(e.forEach=function(e,t){var n=this,r=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach(function(i){!i.length||i in r||(r[i]=n.getAll(i)).forEach(function(r){e.call(t,r,i,n)})})}),"keys"in e||(e.keys=function(){return n(this,function(e,t){this.push(t)})}),"values"in e||(e.values=function(){return n(this,function(e,t){this.push(e)})}),"entries"in e||(e.entries=function(){return n(this,function(e,t){this.push([t,e])})}),!t||Symbol.iterator in e||(e[Symbol.iterator]=e.entries),"sort"in e||(e.sort=function(){for(var e,t,n,r=this.entries(),i=r.next(),o=i.done,a=[],l=Object.create(null);!o;)t=(n=i.value)[0],a.push(t),t in l||(l[t]=[]),l[t].push(n[1]),o=(i=r.next()).done;for(a.sort(),e=0;e<a.length;e++)this.delete(a[e]);for(e=0;e<a.length;e++)t=a[e],this.append(t,l[t].shift())}),function(t){var n=t.defineProperty,r=t.getOwnPropertyDescriptor,i=function(t){var n=t.append;t.append=e.append,URLSearchParams.call(t,t._usp.search.slice(1)),t.append=n},o=function(e,t){if(!(e instanceof t))throw new TypeError("'searchParams' accessed on an object that does not implement interface "+t.name)},a=function(a){var l,s,c=a.prototype,u=r(c,"searchParams"),f=r(c,"href"),d=r(c,"search");!u&&d&&d.set&&(s=function(t){function r(n,r){e.append.call(this,n,r),n=this.toString(),t.set.call(this._usp,n?"?"+n:"")}function i(n){e.delete.call(this,n),n=this.toString(),t.set.call(this._usp,n?"?"+n:"")}function o(n,r){e.set.call(this,n,r),n=this.toString(),t.set.call(this._usp,n?"?"+n:"")}return function(e,t){return e.append=r,e.delete=i,e.set=o,n(e,"_usp",{configurable:!0,writable:!0,value:t})}}(d),l=function(e,t){return n(e,"_searchParams",{configurable:!0,writable:!0,value:s(t,e)}),t},t.defineProperties(c,{href:{get:function(){return f.get.call(this)},set:function(e){var t=this._searchParams;f.set.call(this,e),t&&i(t)}},search:{get:function(){return d.get.call(this)},set:function(e){var t=this._searchParams;d.set.call(this,e),t&&i(t)}},searchParams:{get:function(){return o(this,a),this._searchParams||l(this,new URLSearchParams(this.search.slice(1)))},set:function(e){o(this,a),l(this,e)}}}))};try{a(HTMLAnchorElement),/^function|object$/.test(typeof URL)&&URL.prototype&&a(URL)}catch(e){}}(Object)}(Ut.URLSearchParams.prototype,Object);Ut.URLSearchParams;var Ht=function(){function e(){}return e.getQueryStringParam=function(e,t){return new URLSearchParams(e).get(t)},e}();function Yt(e){return c.c(e.attr("src"),"").split("/").slice(0,3).join("/")}var Bt,Wt=function(){function e(){}return e.annotate=function(e,t,n){var r=Ht.getQueryStringParam(e.location.search,"data-ally-platform-name");if(c.b(r)&&"wcm"===r.toLowerCase()&&c.b(Ht.getQueryStringParam(e.location.search,"data-ally-preview"))){var i=Yt(n);new Mt(i,V.allI18n).start({parentWindow:t,thisWindow:e})}return Promise.resolve()},e}(),jt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.template=n(89),t.iconBlack=n(90),t.iconWhite=n(91),t}return a.b(t,e),t.prototype.apply=function(e){var t=a.a({},e,{iconBlack:this.iconBlack,iconWhite:this.iconWhite});return i(this.template(t))},t}(f);!function(e){e.BarBottom="bar_bottom",e.FlagLarge="flag_large",e.FlagSmall="flag_small"}(Bt||(Bt={}));var Vt={bar_bottom:Bt.BarBottom,flag_large:Bt.FlagLarge,flag_small:Bt.FlagSmall},Gt=function(){function e(){}return e.annotate=function(t,n,r){var o,a,s,u,f=(o={},(a=r[0])&&i.each(a.attributes,function(e,t){if(0===t.name.indexOf("data-ally-")){var n=t.name.slice(10);o[n]=t.value}}),o);if("web"===c.c(f["platform-name"],"").toLowerCase()){var d=(s=f["client-id"],u=parseInt(c.c(s,""),10),isNaN(u)?null:u);if("number"==typeof d){var p=Yt(r),h=c.c(f["af-style"],"none"),m=h in Vt?Vt[h]:null,g=e.findEl(f["selector-root"],"body",i("body")),v=e.findEl(f["selector-main"],"main,[role=main]",g),E=f.mock,y=void 0!==E?t[E]:void 0,I=J({client:{baseUrl:p,clientId:d,jQuery:y},contentRoot:v[0],platformName:"web",role:"anonymous"}),_=I.i18n;if(v.attr("data-ally-content-id","0").attr("data-ally-webpage",""),null!==m){var A=new jt;g.append(A.apply({baseUrl:p,contentId:"0",i18n:_,style:m}))}if(c.b(Ht.getQueryStringParam(t.location.search,"data-ally-preview"))){var b=new Mt(p,I.i18n);return I.onDestroy(function(){return l.Promise.resolve(b.destroy())}),this.startDriver(b,t,n).then(function(){return I})}return I.update(g[0]).then(function(){return I})}return l.Promise.reject(new Error("Ally loader script is missing data-ally-client-id attribute. Aborting."))}return l.Promise.resolve(null)},e.startDriver=function(e,t,n){return new l.Promise(function(r){var o=i("p,span,div,h1,h2,h3,h4,h5,h6").toArray(),a=setInterval(function(){for(var i=0,l=o;i<l.length;i++){if(0!==l[i].getBoundingClientRect().top)return clearInterval(a),e.start({parentWindow:n,thisWindow:t}),void r()}},500)})},e.findEl=function(e,t,n){var r=i(c.c(e,t)).first();return r[0]?r:n},e}();function qt(e){return o.a.from(e)}n.d(t,"client",function(){return qt}),n.d(t,"ui",function(){return $t});var $t=J,Kt=i("script[data-ally-loader]");Oe.annotate(i("body"),Kt,window),Gt.annotate(window,window.parent,Kt),Ie.annotate(i("body"),location.href,Kt),Wt.annotate(window,window.parent,Kt)},function(e,t,n){"use strict";n.r(t);var r=n(0);function i(e){return o(function(){return function(e){var t=null;if(window.tinymce){var n=function(e){if("string"===r.type(e))return function(t){return e===t};if("regexp"===r.type(e))return function(t){return e.test(t)};throw new Error("Unsupported editor id matcher type")}(e);r.each(window.tinymce.editors,function(e,r){!t&&n(r.id)&&(t=r)})}return t}(e)})}function o(e,t,n){t=t||1e3,n=n||r.Deferred();var i=e();return i?n.resolve(i):setTimeout(o,t,e,t,n),n}function a(e,t,n){i(e).then(function(e){e.settings&&!e.settings.paste_preprocess&&(e.settings.paste_preprocess=function(e,i){if(i&&i.content){var o=r("<div />").append(i.content);o.find(t).remove(),n&&o.find(n).unwrap(),i.content=o.html()}})})}n.d(t,"fix",function(){return a})}]);
//# sourceMappingURL=../../../ui.61cce107227eabdf27c3.js.map