(function(){var h;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function l(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}function ba(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}var ca="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},da;
if("function"==typeof Object.setPrototypeOf)da=Object.setPrototypeOf;else{var ea;a:{var fa={Tb:!0},ha={};try{ha.__proto__=fa;ea=ha.Tb;break a}catch(a){}ea=!1}da=ea?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ia=da;
function m(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ia)ia(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.fb=b.prototype}var ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},ka="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;
function la(a){if(a){for(var b=ka,c=["Object","is"],d=0;d<c.length-1;d++){var e=c[d];e in b||(b[e]={});b=b[e]}c=c[c.length-1];d=b[c];a=a(d);a!=d&&null!=a&&ja(b,c,{configurable:!0,writable:!0,value:a})}}la(function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});var n=this;function q(a){return"string"==typeof a}function r(a){return"number"==typeof a}
function t(a,b,c){a=a.split(".");c=c||n;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}function ma(){}
function u(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function na(a){var b=u(a);return"array"==b||"object"==b&&"number"==typeof a.length}function oa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var pa="closure_uid_"+(1E9*Math.random()>>>0),qa=0;function ra(a,b,c){return a.call.apply(a.bind,arguments)}
function sa(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function v(a,b,c){v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ra:sa;return v.apply(null,arguments)}var w=Date.now||function(){return+new Date};
function ta(a,b){function c(){}c.prototype=b.prototype;a.fb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ec=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};function ua(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ua);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}ta(ua,Error);ua.prototype.name="CustomError";function va(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");ua.call(this,c+a[d])}ta(va,ua);va.prototype.name="AssertionError";function wa(a){throw a;}function x(a,b,c){if(!a){var d="Assertion failed";if(b){d+=": "+b;var e=Array.prototype.slice.call(arguments,2)}d=new va(""+d,e||[]);wa(d)}return a}function xa(a,b){wa(new va("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))};function ya(){return!1}function Aa(a,b){ya()&&(b?n.console.error(a):n.console.warn(a))}function Ca(a,b){var c=a.stack||a.toString();0>String(c).indexOf(a.message)&&Aa(a.message,b);Aa(c,b)}window.onerror=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c=l(b);b=c.next().value;c.next();c.next();c.next();(c=c.next().value)?Ca(c,!0):Aa(b,!0);return!0};wa=function(a){try{throw Error(a.message);}catch(b){Ca(b,!1)}};
n.console||(window._log="",n.console={log:function(a){window._log+="\n"+a},warn:function(a){window._log+="\nwarn: "+a},error:function(a){window._log+="\nerror: "+a}});var Da=Array.prototype.indexOf?function(a,b){x(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(q(a))return q(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ea=Array.prototype.forEach?function(a,b){x(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=q(a)?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Fa=Array.prototype.map?function(a,b){x(null!=a.length);return Array.prototype.map.call(a,
b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e=q(a)?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d};function Ga(a,b){a:{for(var c=a.length,d=q(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:q(a)?a.charAt(b):a[b]}function Ha(a,b){b=Da(a,b);var c;(c=0<=b)&&Ia(a,b);return c}function Ia(a,b){x(null!=a.length);Array.prototype.splice.call(a,b,1)}
function Ja(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(na(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}}function Ka(a,b,c,d){x(null!=a.length);Array.prototype.splice.apply(a,La(arguments,1))}function La(a,b,c){x(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var y=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ma=/&/g,Na=/</g,Oa=/>/g,Pa=/"/g,Qa=/'/g,Ra=/\x00/g,Sa=/[\x00&<>"']/,Ta={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Ua={"'":"\\'"};
function Va(a){a=String(a);for(var b=['"'],c=0;c<a.length;c++){var d=a.charAt(c),e=d.charCodeAt(0),f=c+1,g;if(!(g=Ta[d])){if(!(31<e&&127>e))if(d in Ua)d=Ua[d];else if(d in Ta)d=Ua[d]=Ta[d];else{g=d.charCodeAt(0);if(31<g&&127>g)e=d;else{if(256>g){if(e="\\x",16>g||256<g)e+="0"}else e="\\u",4096>g&&(e+="0");e+=g.toString(16).toUpperCase()}d=Ua[d]=e}g=d}b[f]=g}b.push('"');return b.join("")}function Wa(a,b){return a<b?-1:a>b?1:0}
function Xa(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Ya(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var z;a:{var Za=n.navigator;if(Za){var $a=Za.userAgent;if($a){z=$a;break a}}z=""}function A(a){return-1!=z.indexOf(a)};function ab(a){var b={id:"hacpFormTarget",name:"hacpFormTarget"},c;for(c in b)a.call(void 0,b[c],c,b)};function bb(){return A("iPhone")&&!A("iPod")&&!A("iPad")};function cb(a){cb[" "](a);return a}cb[" "]=ma;var db=A("Opera"),B=A("Trident")||A("MSIE"),eb=A("Edge"),fb=A("Gecko")&&!(-1!=z.toLowerCase().indexOf("webkit")&&!A("Edge"))&&!(A("Trident")||A("MSIE"))&&!A("Edge"),gb=-1!=z.toLowerCase().indexOf("webkit")&&!A("Edge");function hb(){var a=n.document;return a?a.documentMode:void 0}var C;
a:{var ib="",jb=function(){var a=z;if(fb)return/rv:([^\);]+)(\)|;)/.exec(a);if(eb)return/Edge\/([\d\.]+)/.exec(a);if(B)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(gb)return/WebKit\/(\S+)/.exec(a);if(db)return/(?:Version)[ \/]?(\S+)/.exec(a)}();jb&&(ib=jb?jb[1]:"");if(B){var kb=hb();if(null!=kb&&kb>parseFloat(ib)){C=String(kb);break a}}C=ib}var lb={},mb;var nb=n.document;mb=nb&&B?hb()||("CSS1Compat"==nb.compatMode?parseInt(C,10):5):void 0;var ob;(ob=!B)||(ob=9<=Number(mb));var pb=ob,qb;
if(qb=B){var rb;if(Object.prototype.hasOwnProperty.call(lb,"9"))rb=lb["9"];else{for(var sb=0,tb=y(String(C)).split("."),ub=y("9").split("."),vb=Math.max(tb.length,ub.length),wb=0;0==sb&&wb<vb;wb++){var xb=tb[wb]||"",yb=ub[wb]||"";do{var D=/(\d*)(\D*)(.*)/.exec(xb)||["","","",""],E=/(\d*)(\D*)(.*)/.exec(yb)||["","","",""];if(0==D[0].length&&0==E[0].length)break;sb=Wa(0==D[1].length?0:parseInt(D[1],10),0==E[1].length?0:parseInt(E[1],10))||Wa(0==D[2].length,0==E[2].length)||Wa(D[2],E[2]);xb=D[3];yb=
E[3]}while(0==sb)}rb=lb["9"]=0<=sb}qb=!rb}var zb=qb,Ab=function(){if(!n.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{n.addEventListener("test",ma,b),n.removeEventListener("test",ma,b)}catch(c){}return a}();function Bb(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.$a=!1}Bb.prototype.stopPropagation=function(){this.$a=!0};Bb.prototype.preventDefault=function(){this.defaultPrevented=!0};function F(a,b){Bb.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.ja=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
b;if(b=a.relatedTarget){if(fb){a:{try{cb(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=gb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=gb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=q(a.pointerType)?a.pointerType:Cb[a.pointerType]||"";this.state=a.state;this.ja=a;a.defaultPrevented&&this.preventDefault()}}ta(F,Bb);
var Cb={2:"touch",3:"pen",4:"mouse"};F.prototype.stopPropagation=function(){F.fb.stopPropagation.call(this);this.ja.stopPropagation?this.ja.stopPropagation():this.ja.cancelBubble=!0};F.prototype.preventDefault=function(){F.fb.preventDefault.call(this);var a=this.ja;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,zb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Db="closure_listenable_"+(1E6*Math.random()|0),Eb=0;function Fb(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Ya=e;this.key=++Eb;this.la=this.Ta=!1}function Gb(a){a.la=!0;a.listener=null;a.proxy=null;a.src=null;a.Ya=null};function Hb(a){this.src=a;this.I={};this.Ca=0}Hb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.I[f];a||(a=this.I[f]=[],this.Ca++);var g=Ib(a,b,d,e);-1<g?(b=a[g],c||(b.Ta=!1)):(b=new Fb(b,this.src,f,!!d,e),b.Ta=c,a.push(b));return b};Hb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.I))return!1;var e=this.I[a];b=Ib(e,b,c,d);return-1<b?(Gb(e[b]),Ia(e,b),0==e.length&&(delete this.I[a],this.Ca--),!0):!1};
function Jb(a,b){var c=b.type;c in a.I&&Ha(a.I[c],b)&&(Gb(b),0==a.I[c].length&&(delete a.I[c],a.Ca--))}function Ib(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.la&&f.listener==b&&f.capture==!!c&&f.Ya==d)return e}return-1};var Kb="closure_lm_"+(1E6*Math.random()|0),Lb={},Mb=0;function Nb(a,b,c,d,e){if(d&&d.once)return Ob(a,b,c,d,e);if("array"==u(b)){for(var f=0;f<b.length;f++)Nb(a,b[f],c,d,e);return null}c=Pb(c);a&&a[Db]?(d=oa(d)?!!d.capture:!!d,x(a.Wa,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?"),a=a.Wa.add(String(b),c,!1,d,e)):a=Qb(a,b,c,!1,d,e);return a}
function Qb(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=oa(e)?!!e.capture:!!e,k=Rb(a);k||(a[Kb]=k=new Hb(a));c=k.add(b,c,d,g,f);if(c.proxy)return c;d=Sb();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ab||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Tb(b.toString()),d);else if(a.addListener&&a.removeListener)x("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");
Mb++;return c}function Sb(){var a=Ub,b=pb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Ob(a,b,c,d,e){if("array"==u(b)){for(var f=0;f<b.length;f++)Ob(a,b[f],c,d,e);return null}c=Pb(c);return a&&a[Db]?a.Wa.add(String(b),c,!0,oa(d)?!!d.capture:!!d,e):Qb(a,b,c,!0,d,e)}
function Vb(a){if(!r(a)&&a&&!a.la){var b=a.src;if(b&&b[Db])Jb(b.Wa,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Tb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Mb--;(c=Rb(b))?(Jb(c,a),0==c.Ca&&(c.src=null,b[Kb]=null)):Gb(a)}}}function Tb(a){return a in Lb?Lb[a]:Lb[a]="on"+a}
function Wb(a,b,c,d){var e=!0;if(a=Rb(a))if(b=a.I[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.la&&(f=Xb(f,d),e=e&&!1!==f)}return e}function Xb(a,b){var c=a.listener,d=a.Ya||a.src;a.Ta&&Vb(a);return c.call(d,b)}
function Ub(a,b){if(a.la)return!0;if(!pb){if(!b)a:{b=["window","event"];for(var c=n,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new F(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.$a&&0<=e;e--){b.currentTarget=d[e];var f=Wb(d[e],a,!0,b);c=c&&f}for(e=0;!b.$a&&e<d.length;e++)b.currentTarget=
d[e],f=Wb(d[e],a,!1,b),c=c&&f}return c}return Xb(a,new F(b,this))}function Rb(a){a=a[Kb];return a instanceof Hb?a:null}var Yb="__closure_events_fn_"+(1E9*Math.random()>>>0);function Pb(a){x(a,"Listener can not be null.");if("function"==u(a))return a;x(a.handleEvent,"An object listener must have handleEvent method.");a[Yb]||(a[Yb]=function(b){return a.handleEvent(b)});return a[Yb]};function Zb(){};function $b(){this.aa=this.T=this.sa=null}$b.prototype.push=function(a,b){if(0==b)this.aa=this.aa||[];else if(this.sa=this.sa||[0],this.T=this.T||{},!(b in this.T)){this.T[b]=[];var c=this.sa;var d=0;for(var e=c.length,f;d<e;){var g=d+e>>1;var k=c[g];k=b>k?1:b<k?-1:0;0<k?d=g+1:(e=g,f=!k)}d=f?d:~d;0>d&&Ka(c,-(d+1),0,b)}b=ac(this,b);x(b).push(a)};$b.prototype.remove=function(a,b){(b=ac(this,b))&&Ha(b,a)};function bc(a,b){return 0==b?a.aa||[]:b in x(a.T)?x(ac(a,b)):[]}
function cc(a){if(!a.T)return a.aa?a.aa.slice():[];for(var b=[],c=x(a.sa),d=0;d<c.length;++d){var e=ac(a,c[d]);e&&Ja(b,e)}return b}function ac(a,b){return 0==b?a.aa:x(a.T)[b]};function G(a){this.tb=this.F=null;this.Rb=void 0===a?null:a}m(G,Zb);h=G.prototype;h.Ub=function(){return this.Rb};h.addHandler=function(a,b,c){this.F=this.F||new $b;this.F.push({Xa:a,context:b},c||0)};h.removeHandler=function(a,b,c){c=c||0;if(this.F)for(var d=bc(this.F,c),e=d.length,f=0;f<e;++f){var g=d[f];if(g.Xa==a&&g.context==b){a=f;(c=ac(this.F,c))&&Ia(c,a);break}}else xa("EventDispatcher has no handlers!")};
h.Vb=function(a,b,c){if(!this.F)return!1;c=bc(this.F,c||0);for(var d=c.length,e=0;e<d;++e){var f=c[e];if(f.Xa==a&&f.context==b)return!0}return!1};h.ba=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(this.F){c=cc(this.F);for(var d=c.length,e=0;e<d;++e){var f=c[e];if(-1!=Da(cc(this.F),f))try{f.Xa.apply(f.context,arguments)}catch(g){Ca(g,!0)}}}this.tb&&this.tb.forEach(function(a){a.ba.apply(a,b instanceof Array?b:ba(l(b)))})};G.prototype.dispatch=G.prototype.ba;
G.prototype.hasHandler=G.prototype.Vb;G.prototype.removeHandler=G.prototype.removeHandler;G.prototype.addHandler=G.prototype.addHandler;G.prototype.eventOwner=G.prototype.Ub;function dc(a){this.sb=a};function ec(){this.wb=new G;this.lb=new G};function H(a,b){this.ha=a;this.Lb=b;this.Jb=""}H.prototype.id=function(){return this.ha};H.prototype.name=function(){return this.Lb};H.prototype.email=function(){return this.Jb};function fc(a){this.ha=a}h=fc.prototype;h.oa="";h.u=null;h.v=null;h.Qa="unanticipated";h.ub=0;h.hb=null;h.kb=null;h.zb=null;h.H=null;h.id=function(){return this.ha};h.type=function(){return this.s};h.description=function(){return this.oa};h.ma=function(){return this.u};function gc(a,b){a.v=b}h.result=function(){return this.Qa};h.score=function(){return this.ub};h.L=function(a){this.ub=a};h.awardedScore=function(){return this.hb};h.duration=function(){return this.kb};h.V=function(){return this.zb};
h.xa=function(){return this.H};function hc(a,b){a.H=b};function I(a){a=y(a);return a=a.replace(/[^\w-]/g,"_")}function ic(a,b){return"0123456789abcdefghijklmnopqrstuvwxyz"[((null!=b?b:1)?a:35-a)%36]};function jc(a,b){this.g=a;this.l=b};function J(a){var b=a.ac,c=a.$b;this.h=a.Zb;this.Ab=b;this.o=!1;this.vb=c}J.prototype.create=function(a){if(!a.submitted())return null;var b=(void 0!==this.vb?"Slide"+this.vb+"_":"")+"Q_"+a.slide().id();b=new fc(I(b));this.c(b,a);return b};
J.prototype.c=function(a,b){var c=b.slide();c=K(this,c.description(),!0);a.oa=c;b.hasBeenVisited()&&(c=b.visitDuration(),a.kb=c,c=b.firstVisitTime(),a.zb=c);if(c=b.slide().settings().evaluation()){if(a.L(b.maxScore()),b=b.review()){var d=Math.max(0,b.awardedScore());a.hb=d;d="unanticipated";switch(b.status()){case "correct":d="correct";break;case "incorrect":case "partially":d="incorrect"}a.Qa=d}}else a.Qa="neutral";this.o=!!c};function kc(a,b){return b.join(a.h?",":"[,]")}
function L(a,b,c){return a.h?ic(b):I(b+"_"+c)}function K(a,b,c){return b.textWithEquations(a.h||!c?"Equation":"")};function M(a,b){this.ha=a;this.oa=b}M.prototype.id=function(){return this.ha};M.prototype.description=function(){return this.oa};function N(){this.i=[]}N.prototype.count=function(){return this.i.length};function O(a,b){a.i.push(b)}N.prototype.getChoice=function(a){if(0>a||a>=this.count())throw Error("Index out of bounds");return this.i[a]};function lc(){this.Ra=new N;this.ia=new N};function mc(a){J.apply(this,arguments)}m(mc,J);h=mc.prototype;h.c=function(a,b){J.prototype.c.call(this,a,b);a.s="matching";var c=b.contentState(),d=b.slide().content(),e=this.Oa(d);b=e.xa;var f=e.premises,g=e.responses;e=e.Yb;c=this.Ja(c.chainsStates(),f,g,e);a.u=c;this.o&&(c=[this.o?this.Ka(d.chains(),f,g,e):c],a.v=c);a.H=b};
h.Oa=function(a){var b=new lc,c=[],d=[];a=a.chains();a=l(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;e=f.object().slideObject();f=f.destination().slideObject();if(e&&0>c.indexOf(e)){c.push(e);var g=e.name();O(b.Ra,new M(I(c.indexOf(e)+"_"+g),g))}f&&0>d.indexOf(f)&&(d.push(f),e=f.name(),O(b.ia,new M(I(d.indexOf(f)+"_"+e),e)))}a=this.h?ic(d.length,!1):d.length+"_None";O(b.ia,new M(a,"None"));return{xa:b,premises:c,responses:d,Yb:a}};
h.Ja=function(a,b,c,d){var e=[],f=b.slice();a=l(a);for(var g=a.next();!g.done;g=a.next()){var k=g.value;g=k.objectState().slideObject();k=k.destinationState().slideObject();k=this.X(g,k,b,c,d);e.push(k);f.splice(f.indexOf(g),1)}f=l(f);for(a=f.next();!a.done;a=f.next())a=this.X(a.value,null,b,c,d),e.push(a);return this.ea(e)};
h.Ka=function(a,b,c,d){var e=[];a=l(a);for(var f=a.next();!f.done;f=a.next()){var g=f.value;f=g.object().slideObject();g=g.destination().slideObject();f&&(f=this.X(f,g,b,c,d),e.push(f))}return this.ea(e)};h.ga=function(a,b,c){this.h?b=ic(b,c):(a=a.name(),a=I(a),b=b+"_"+a);return b};h.X=function(a,b,c,d,e){a=this.ga(a,c.indexOf(a),!0);b=b?this.ga(b,d.indexOf(b),!1):e;d=this.h?".":"[.]";return I(a)+d+I(b)};h.ea=function(a){return a.join(this.h?",":"[,]")};function nc(a){J.apply(this,arguments)}m(nc,J);nc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="long-fill-in";b=b.contentState().response();a.u=b};function oc(a){J.apply(this,arguments)}m(oc,J);oc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s=this.h?"other":"fill-in";var c=b.contentState();b=[];var d=[];c=l(c.placeholders());for(var e=c.next();!e.done;e=c.next())e=e.value,b.push(e.response()),(e=e.correctAnswers())&&(this.Ab?d.push(e[0]):d.push(e.join("[,]")));a.u=b.join("[,]");if(this.o){b=d;if(this.h||this.Ab)b=[b.join(this.h?"[.]":"[,]")];a.v=b}};function P(){this.i=new N};function pc(a){J.apply(this,arguments)}m(pc,J);pc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="choice";var c=[],d=[],e=new P;this.Ha(b.contentState(),e,d,c);a.u=kc(this,c);this.o&&(a.v=[kc(this,d)]);a.H=e};
pc.prototype.Ha=function(a,b,c,d){var e=this;a.areas().forEach(function(f,g){var k=f.area(),p=k.label().text();g=L(e,g,p);k.correct()&&c.push(g);a.areaSelected(f)&&d.push(g);O(b.i,new M(g,p))});for(var f=a.areas().length,g=f;g<f+a.freePointsCount();++g){var k=L(this,g,"Untitled_Spot");d.push(k)}};function qc(a){J.apply(this,arguments)}m(qc,J);qc.prototype.c=function(a,b){var c=this;J.prototype.c.call(this,a,b);a.s="choice";var d=[],e=new P;b.contentState().statementsStates().forEach(function(a,b){var f=a.statement().text();O(e.i,new M(L(c,b,f),f));(a=a.selectedScale())&&d.push(I(b+"_"+a.text()))});a.u=kc(this,d);a.H=e};function rc(a){J.apply(this,arguments)}m(rc,J);h=rc.prototype;h.c=function(a,b){J.prototype.c.call(this,a,b);a.s="matching";var c=b.contentState(),d=b.slide().content(),e=this.Oa(d);b=e.xa;var f=e.premises;e=e.responses;c=this.Ja(c.matches(),f,e,this.h);a.u=c;this.o&&(c=[this.Ka(d.matches(),this.h)],a.v=c);a.H=b};
h.Oa=function(a){for(var b=new lc,c=[],d=[],e=a.matches(),f=0;f<e.count();++f){var g=e.getChoice(f);c.push(g.premise());d.push(g.response());var k=K(this,g.premise().textRange(),!1);g=K(this,g.response().textRange(),!1);O(b.Ra,new M(I(f+"_"+k),k));O(b.ia,new M(I(f+"_"+g),g))}a=a.distractors();for(e=0;e<a.count();++e)f=a.getChoice(e),d.push(f),f=K(this,f.textRange(),!1),O(b.ia,new M(I(e+"_"+f),f));return{xa:b,premises:c,responses:d}};
h.Ja=function(a,b,c,d){var e=[];a=l(a);for(var f=a.next();!f.done;f=a.next()){var g=f.value;f=g.premise();g=g.response();var k=Da(b,f),p=Da(c,g);f=this.X(f,k,g,p,d);e.push(f)}return this.ea(e,d)};h.Ka=function(a,b){for(var c=[],d=0;d<a.count();++d){var e=a.getChoice(d);e=this.X(e.premise(),d,e.response(),d,b);c.push(e)}return this.ea(c,b)};h.ga=function(a,b,c,d){return c?ic(b,d):b+"_"+K(this,a.textRange(),!1)};
h.X=function(a,b,c,d,e){a=this.ga(a,b,e,!0);c=this.ga(c,d,e,!1);e=e?".":"[.]";return I(a)+e+I(c)};h.ea=function(a,b){return a.join(b?",":"[,]")};function sc(){this.i=new N;this.ib=[]}ta(sc,P);function Q(a){J.apply(this,arguments)}m(Q,J);Q.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="choice";var c=b.slide();b=b.contentState();var d=c.content();c=this.La(c.content(),b);a.u=c;if(this.o){a:{for(c=0;c<d.count();++c){var e=d.getChoice(c);if(e.correct()){c=L(this,c,K(this,e.textRange(),!1));break a}}c=""}a.v=[c]}b=this.fa(d,b);a.H=b};
Q.prototype.fa=function(a,b){var c=new P;if(this.mb()){c=new sc;for(var d=0;d<b.count();++d){var e=b.getChoiceState(d),f=e.choice(),g=a.getChoiceIndex(f);f.typeIn()&&(e=e.customAnswer(),c.ib[g]=e)}}for(b=0;b<a.count();++b)d=a.getChoice(b),d=K(this,d.textRange(),!1),O(c.i,new M(I(b+"_"+d),d));return c};Q.prototype.mb=function(){return!this.o};
Q.prototype.La=function(a,b){for(var c=0;c<b.count();++c){var d=b.getChoiceState(c);if(d.selected())return a=a.getChoiceIndex(d.choice()),L(this,a,K(this,d.choice().textRange(),!1))}return""};function tc(a){J.apply(this,arguments)}m(tc,J);tc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s=this.h?"other":"matching";var c=[],d=[],e=new P;b.contentState().placeholders().forEach(function(a,b){var f=a.response(),g=a.correctAnswer();a.answers().forEach(function(a){var k=e.i.count();k=b+"[.]"+I(k+"_"+a);a==g&&d.push(k);a==f&&c.push(k);O(e.i,new M(k,a))})});a.u=c.join("[,]");this.o&&gc(a,[d.join("[,]")]);hc(a,vc(b.slide().content()))};
function vc(a){var b=new lc,c=0;Ea(a.placeholders(),function(a,e){e+="";O(b.Ra,new M(e,e));a.values.forEach(function(a){a=a.text();var d=c++ +"_"+a;d=I(d);O(b.ia,new M(d,a))})});return b};function R(a){J.apply(this,arguments)}m(R,J);R.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="choice";var c=b.slide().content(),d=this.La(c,b.contentState());a.u=d;this.o&&(d=[this.Ia(c)],a.v=d);b=this.fa(c,b.contentState());a.H=b};
R.prototype.fa=function(a,b){var c=new P;if(!this.o){c=new sc;for(var d=0;d<b.count();++d){var e=b.getChoiceState(d),f=e.choice(),g=a.getChoiceIndex(f);f.typeIn()&&(e=e.customAnswer(),c.ib[g]=e)}}for(b=0;b<a.count();++b)d=a.getChoice(b),d=K(this,d.textRange(),!1),O(c.i,new M(I(b+"_"+d),d));return c};
R.prototype.La=function(a,b){for(var c=[],d=0;d<b.count();++d){var e=b.getChoiceState(d),f=e.choice(),g=K(this,f.textRange(),!1);e.selected()&&(e=a.getChoiceIndex(f),g=L(this,e,g),c.push(g))}return kc(this,c)};R.prototype.Ia=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getChoice(c);d.correct()&&(d=L(this,c,K(this,d.textRange(),!1)),b.push(d))}return kc(this,b)};function wc(a){J.apply(this,arguments)}m(wc,J);
wc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);var c=b.slide();b=b.contentState().response();c=c.content();var d;a:{for(d=0;d<c.count();++d)if("notEqual"==c.getAnswer(d).comparisonOperation()){d=!0;break a}d=!1}a.s=this.h||d?"fill-in":"numeric";a.u=b;if(this.o){d=(b=this.h||d)?"[,]":"[.]";for(var e=[],f=0;f<c.count();++f){var g="",k=c.getAnswer(f),p=k.comparisonOperation();if("between"==p)p=k,g=p.leftOperand(),p=p.rightOperand(),g=b?"between "+g+" and "+p:g+"[:]"+p;else switch(k=k.operand(),
p){case "notEqual":b&&(g="not equal to "+k);break;case "equal":g=b?"equal to "+k:k+"[:]"+k;break;case "greaterThan":g=b?"greater than "+k:k+"[:]";break;case "greaterThanOrEqual":g=b?"greater than or equal to "+k:k+"[:]";break;case "lessThan":g=b?"less than "+k:"[:]"+k;break;case "lessThanOrEqual":g=b?"less than or equal to "+k:"[:]"+k}e.push(g)}a.v=[e.join(d)]}};function xc(a){J.apply(this,arguments)}m(xc,J);xc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="sequencing";var c=b.slide().content();b=yc(this,c,b.contentState().studentResponse(),this.h);a.u=b;this.o&&(b=[yc(this,c,c,this.h)],a.v=b);c=this.fa(c);a.H=c};xc.prototype.fa=function(a){for(var b=new P,c=0;c<a.count();++c){var d=a.getChoice(c).textRange().text();O(b.i,new M(I(c+"_"+d),d))}return b};
function yc(a,b,c,d){var e=d?",":"[,]",f=[];c.forEach(function(c){var e=K(a,c.textRange(),!1);c=b.getChoiceIndex(c);f.push(I(d?ic(c,!0):c+"_"+e))});return f.join(e)};function zc(a){Q.apply(this,arguments)}m(zc,Q);zc.prototype.c=function(a,b){Q.prototype.c.call(this,a,b);if(this.h&&this.o){a.s="true-false";var c=b.slide().content();b=b.contentState();var d=c.getChoice(0).correct()?"t":"f",e="t"==d?"f":"t";c=c.getChoice(0).correct()?c.getChoice(0).id():c.getChoice(1).id();for(var f=null,g=0;2>g;++g){var k=b.getChoiceState(g);if(k.selected()){f=k.choice().id()==c?d:e;break}}a.u=f;a.v=[d]}};zc.prototype.mb=function(){return!1};function Ac(a){J.apply(this,arguments)}m(Ac,J);Ac.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s="fill-in";var c=b.slide();b=b.contentState().response().text();a.u=b;this.o&&(c=this.Ia(c.content()),a.v=c)};Ac.prototype.Ia=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getChoice(c);b.push(d.textRange().text())}return b};function Bc(a,b){this.length=b;for(var c=0;c<b;++c)this[c]=a(c)};function Cc(a){J.apply(this,arguments)}m(Cc,J);Cc.prototype.c=function(a,b){J.prototype.c.call(this,a,b);a.s=this.h?"other":"choice";var c=b.slide().content(),d=[],e=new P;c=c.extraWords();c=l(c);for(var f=c.next();!f.done;f=c.next()){f=f.value.text();var g=e.i.count();g=I(g+"_"+f);O(e.i,new M(g,f))}b=b.contentState().placeholders();this.o&&(c=[],this.Ha(b,e,c),a.v=[c.join("[,]")]);Dc(b,e,d);a.u=d.join("[,]");a.H=e};
Cc.prototype.Ha=function(a,b,c){a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value.placeholder().value||"";var e=b.i.count();e=I(e+"_"+d);c.push(e);O(b.i,new M(e,d))}};function Dc(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;d={na:d.na},e=a.next())d.na=e.value.response(),null!=d.na&&(e=new Bc(function(a){return b.i.getChoice(a)},b.i.count()),e=Ga(e,function(a){return function(b){return y(b.description())==a.na}}(d)),x(null!=e),c.push(e.id()))};var S={},Ec=(S.FillInTheBlank=oc,S.WordBank=Cc,S.TypeIn=Ac,S.Numeric=wc,S.MultipleChoice=Q,S.MultipleResponse=R,S.MultipleChoiceText=tc,S.Sequence=xc,S.Matching=rc,S.TrueFalse=zc,S.Essay=nc,S.Hotspot=pc,S.LikertScale=qc,S.DND=mc,S);var Fc={dc:"prompt",bc:"always",cc:"never"};t("ispring.quiz.ResumeType",Fc,void 0);t("PROMPT_TO_RESUME","prompt",Fc);t("ALWAYS_RESUME","always",Fc);t("NEVER_RESUME","never",Fc);var Gc=A("Firefox"),Hc=A("Safari")&&!((A("Chrome")||A("CriOS"))&&!A("Edge")||A("Coast")||A("Opera")||A("Edge")||A("Silk")||A("Android"))&&!(bb()||A("iPad")||A("iPod"));function T(){this.za="";this.Gb=Ic;this.Va=null}T.prototype.Wb=!0;T.prototype.Db=!0;function Jc(a){if(a instanceof T&&a.constructor===T&&a.Gb===Ic)return a.za;xa("expected object of type SafeHtml, got '"+a+"' of type "+u(a));return"type_error:SafeHtml"}
function Kc(a){function b(a){if("array"==u(a))Ea(a,b);else{if(a instanceof T)var e=a;else{var g="object"==typeof a;e=null;g&&a.Wb&&(e=a.Va);a=g&&a.Db?a.za:String(a);Sa.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(Ma,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(Na,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(Oa,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(Pa,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(Qa,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(Ra,"&#0;")));e=U(a,e)}d+=Jc(e);e=e.Va;0==c?c=e:0!=e&&c!=e&&
(c=null)}}var c=0,d="";Ea(arguments,b);return U(d,c)}var Ic={};function U(a,b){return(new T).Xb(a,b)}T.prototype.Xb=function(a,b){this.za=a;this.Va=b;return this};U("<!DOCTYPE html>",0);U("",0);var Lc=U("<br>",0);var Mc={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Nc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div");a.innerHTML="<div><div></div></div>";var b=a.firstChild.firstChild;a.innerHTML="";return!b.parentElement});function Oc(a,b){if(Mc[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");b=Jc(b);if(Nc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function Pc(a){ab(function(b,c){b&&"object"==typeof b&&b.Db&&(b=b.za);"style"==c?a.style.cssText=b:"class"==c?a.className=b:"for"==c?a.htmlFor=b:Qc.hasOwnProperty(c)?a.setAttribute(Qc[c],b):0==c.lastIndexOf("aria-",0)||0==c.lastIndexOf("data-",0)?a.setAttribute(c,b):a[c]=b})}
var Qc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Rc(a,b){x(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};function Sc(a,b){if("function"!=u(a))if(a&&"function"==typeof a.handleEvent)a=v(a.handleEvent,a);else throw Error("Invalid listener argument");2147483647<Number(b)||n.setTimeout(a,b||0)};var Tc=null,Uc=fb||gb&&!Hc||db||"function"==typeof n.btoa;function Vc(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}function Wc(a){a=String(a);if(Vc(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function Xc(a){this.Aa=a}function Yc(a,b){var c=[];Zc(a,b,c);return c.join("")}
function Zc(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if("array"==u(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Zc(a,a.Aa?a.Aa.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),$c(d,c),c.push(":"),Zc(a,a.Aa?a.Aa.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":$c(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}}var ad={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},bd=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function $c(a,b){b.push('"',a.replace(bd,function(a){var b=ad[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),ad[a]=b);return b}),'"')};function cd(a,b){if(q(b))(b=dd(a,b))&&(a.style[b]=void 0);else for(var c in b){var d=a,e=b[c],f=dd(d,c);f&&(d.style[f]=e)}}var ed={};function dd(a,b){var c=ed[b];if(!c){var d=Xa(b);c=d;void 0===a.style[d]&&(d=(gb?"Webkit":fb?"Moz":B?"ms":db?"O":null)+Ya(d),void 0!==a.style[d]&&(c=d));ed[b]=c}return c};function fd(a,b){this.s=a;this.Hb=b||[]}t("iSpring.ios.mobile.MobileAppCommand",fd,void 0);fd.prototype.id=function(){return this[pa]||(this[pa]=++qa)};function gd(a){try{var b=document.createElement("iframe");cd(b,{width:"1px",height:"1px",border:"0"});b.src=a;Rc(document.body,b);Sc(function(){b&&b.parentNode&&b.parentNode.removeChild(b)},100)}catch(c){}};function V(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}V.prototype.BYTES_PER_ELEMENT=4;V.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};V.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(V.BYTES_PER_ELEMENT=4,V.prototype.BYTES_PER_ELEMENT=V.prototype.BYTES_PER_ELEMENT,V.prototype.set=V.prototype.set,V.prototype.toString=V.prototype.toString,t("Float32Array",V,void 0));function W(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0}W.prototype.BYTES_PER_ELEMENT=8;W.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};W.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{W.BYTES_PER_ELEMENT=8}catch(a){}W.prototype.BYTES_PER_ELEMENT=W.prototype.BYTES_PER_ELEMENT;W.prototype.set=W.prototype.set;W.prototype.toString=W.prototype.toString;t("Float64Array",W,void 0)};function X(){var a=window.location.search.substr(1);if(!a)return{};var b={};a=a.split("&");for(var c=0;c<a.length;++c){var d=a[c].split("=");if(2==d.length){try{var e=decodeURIComponent(d[0].replace(/\+/g," "))}catch(g){e=d[0]}try{var f=decodeURIComponent(d[1].replace(/\+/g," "))}catch(g){f=d[1]}e=e.toLowerCase();b[e]=f}}return b};(function(){function a(a){try{return a.ISPlayer&&(window.ISPlayer=a.ISPlayer),a.ISPVideoPlayer&&(window.ISPVideoPlayer=a.ISPVideoPlayer),a.ISPQuizPlayer&&(window.ISPQuizPlayer=a.ISPQuizPlayer),a.ISPInteractionPlayerCore&&(window.ISPInteractionPlayerCore=a.ISPInteractionPlayerCore),a.ISPBookPlayer&&(window.ISPBookPlayer=a.ISPBookPlayer),a.ISPScenarioPlayer&&(window.ISPScenarioPlayer=a.ISPScenarioPlayer),a.ISPFlipPlayer&&(window.ISPFlipPlayer=a.ISPFlipPlayer),!0}catch(e){return!1}}if(function(){try{var a=
window.frameElement}catch(e){}return null!=a}())for(var b=window,c=7;b&&b.parent!=b&&0!=c--&&!a(b.parent);)b=b.parent})();var hd,id=X().user_agent;hd=id?id:z||"";X();X();var jd=-1!=hd.toLowerCase().indexOf("chrome"),kd=-1==hd.toLowerCase().indexOf("windows phone")&&-1!=hd.toLowerCase().indexOf("android")&&!jd&&!Gc&&!db,ld=-1!=hd.indexOf("ismobile"),md=document.createElement("audio"),nd=md.play&&md.play();nd&&nd.then(function(){md.pause()},function(){});X();X();
function od(){return 1==window._ispringDebug||"1"==X().isdebug}if(A("Windows")){var pd=z,Y;if(A("Windows")){Y=/Windows (?:NT|Phone) ([0-9.]+)/;var qd=Y.exec(pd)}else bb()||A("iPad")||A("iPod")?(Y=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,(qd=Y.exec(pd))&&qd[1].replace(/_/g,".")):A("Macintosh")?(Y=/Mac OS X ([0-9_.]+)/,(qd=Y.exec(pd))&&qd[1].replace(/_/g,".")):A("Android")?(Y=/Android\s+([^\);]+)(\)|;)/,qd=Y.exec(pd)):A("CrOS")&&(Y=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,qd=Y.exec(pd))}
setTimeout(function(){ya=od},0);function rd(a,b){this.Da=a;this.Ib=b;this.O=!1;this.l=this.ta=null;this.xb=0;this.nb="";this.w=this.yb=!1;this.va=new ec;this.Ea=this.g=null}h=rd.prototype;
h.m=function(a,b,c){this.w="never"!=b;try{a:{var d=new dc(this.Ib.flags),e=this.w;switch(this.Da){case "1.2":var f=new sd(d,e);break a;case "2004":f=new td(e,this.Sb.edition);break a;case "aicc":f=new ud(d,e);break a}throw Error("unknown api version");}this.g=f}catch(g){od()&&alert(g),this.pb(a,b,c)}this.g&&this.g.m(v(this.Ob,this,a,b,c),v(this.pb,this,a,b,c))};
h.Ob=function(a,b,c){var d=this,e=vd(this,b);b=e.state;a(e.mode,function(a){wd(d,a);c(a)},b);a=Nb(window,"unload",this.Fa,!1,this);e=Nb(window,"beforeunload",this.Fa,!1,this);this.Ea=[a,e];this.yb=null!=b};function vd(a,b){a.nb=a.g.ca();var c=null;switch(a.nb){case "browse":b="never";c=null;break;case "review":b="always";c=a.g.f.ya();break;case "normal":c=a.w?a.g.f.ya():null}return{state:c,mode:b}}h.pb=function(a,b,c){window.console.log("Lms initialization failed");a(b,c)};
function wd(a,b){a.ta=b;b.closeWindowEvent().addHandler(a.Mb,a);var c=b.currentSession();c&&xd(a,c);b.currentSessionChangedEvent().addHandler(a.Nb,a);var d=a.g.ka();d&&b.setUserInfo(d.id(),{USER_NAME:d.name(),USER_EMAIL:d.email()});b.stateChangedEvent().addHandler(a.Pb,a);setInterval(function(){yd(a)},15E3);"1.2"!=a.Da||a.yb||c||a.g.B(null,!1)}h.Pb=function(a){a.actionPrevented()||(a.preventAction(),yd(this))};function yd(a){var b=a.ta.persistState();a.g.cb(b)}
h.Nb=function(){x(this.ta);var a=this.ta.currentSession();a&&(this.O?(x(this.O&&this.l),zd(this,this.l),this.va.lb.ba(),this.l=a,this.va.wb.ba(a.quiz().title()),Ad(this,this.l)):xd(this,a))};function xd(a,b){x(!a.O);a.O=!0;a.xb=w();a.l=b;b=b.quiz().title();a.va.wb.ba(b);Ad(a,a.l)}
function Ad(a,b){a.l.evaluation();b.sessionModeChangedEvent().addHandler(a.qb,a);b=b.slidePoolState();b=l(b.questions());for(var c=b.next();!c.done;c=b.next())c=c.value,"InfoSlide"!=c.slide().type()&&c.submittedEvent().addHandler(a.rb,a);Bd(a,!1)}function zd(a,b){b.sessionModeChangedEvent().removeHandler(a.qb,a);b=b.slidePoolState();b=l(b.questions());for(var c=b.next();!c.done;c=b.next())c.value.submittedEvent().removeHandler(a.rb,a)}
h.Fa=function(){if(this.Ea)for(var a=l(this.Ea),b=a.next();!b.done;b=a.next())Vb(b.value);this.O&&(x(this.l),this.O=!1,a=w()-this.xb,this.g.ab(a),yd(this),zd(this,this.l));this.w?this.g.suspend():this.g.terminate()};function Cd(a){a=a.sessionMode();return"completed"==a||"reviewing"==a}h.qb=function(a){x(this.l);Cd(this.l)&&Bd(this,"testing"==a)};
function Bd(a,b){var c=x(a.l),d=a.l.evaluation();if(d){var e="byGroups"==c.settings().passingScoreType(),f=d.awardedScore();if(e){var g=f=0,k=c.slidePoolState();k=l(k.groups());for(var p=k.next();!p.done;p=k.next())p=p.value,0!=p.maxScore()&&(g++,p.isPassed()&&f++);f=100*(g?f/g:0)}e=e?100:d.maxScore();a.g.L(f,0,e,100)}e=(c=Cd(c))&&d?d.quizPassed():null;a.g.B(e,c);b&&(d&&(x(a.l&&a.g),(new jc(a.g,a.l)).l.settings()),a.va.lb.ba());a.g.G()}
h.rb=function(a){if(a.initiated()){var b=a.slide().type(),c=this.Da;(a=(new Ec[b]({Zb:"1.2"==c||"aicc"==c,ac:"tincan"==c,$b:void 0})).create(a))&&this.g.U(a)}};h.Mb=function(a){this.O&&(a.suspend(),this.Fa())};rd.prototype.initialize=rd.prototype.m;function Dd(a,b){this.jb=a;this.wa=b}function Ed(a,b){return b in a.jb?a.jb[b]:null};function Fd(){this.Y=[]}Fd.prototype.U=function(a){this.Y.push(a)};function Gd(){this.Na="unknown";this.wa=this.Ma=this.ob=this.qa=this.ua=null}Gd.prototype.maxScore=function(){return this.ob};Gd.prototype.ab=function(a){this.Ma=a};Gd.prototype.cb=function(a){this.wa=a};var Hd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Id(a){var b=window.location.toString();a=a.match(Hd);b=b.match(Hd);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};function Jd(a,b){var c;if(void 0!==c?c:1)return parseFloat(a.toFixed(b))+"";b=Math.pow(10,b);return Math.floor(a*b)/b+""};function Kd(a){function b(b){try{for(var c=0;255>c;++c){if(b[a])return b[a];var d=b.parent;if(!d||b==d)break;b=d}}catch(g){}return null}var c=window;return b(c)||c.opener&&b(c.opener)}function Ld(a){a=Md(a);return Z(a.Cb)+":"+Z(a.Eb)+":"+Z(a.Fb)}function Nd(a){a=Md(a);return"PT"+a.Cb+"H"+a.Eb+"M"+a.Fb+"S"}function Od(a){r(a)&&(a=new Date(a));return a.getUTCFullYear()+"/"+Z(a.getUTCMonth()+1)+"/"+Z(a.getUTCDate())}
function Pd(a){r(a)&&(a=new Date(a));return Z(a.getUTCHours())+":"+Z(a.getUTCMinutes())+":"+Z(a.getUTCSeconds())}function Md(a){return{Cb:Math.floor(a/3600),Eb:Math.floor(a%3600/60),Fb:Math.floor(a%60),fc:a-Math.floor(a)}}function Z(a){return 10>a?"0"+a:a}var Qd=null;function Rd(){Qd||(Qd=Sd(),Rc(document.body,Qd));for(var a=Qd.contentDocument,b=w();100>w()-b;){a.open();for(var c=0;300>c;++c)a.write("sleep");a.close()}}
function Sd(){var a=document.createElement("iframe");cd(a,{width:"1px",height:"1px",border:"0"});return a}function Td(){var a=null;if(B&&11>parseFloat(C))try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}a||"undefined"==typeof XMLHttpRequest||(a=new XMLHttpRequest);return a}
function Ud(){if(ld)if(ld){var a=new fd("closeWindow");if(ld){var b=a.s,c=a.Hb;a=a.id();var d=Yc(new Xc(null),c);if(Uc)c=n.btoa(d);else{c=[];for(var e=0,f=0;f<d.length;f++){var g=d.charCodeAt(f);255<g&&(c[e++]=g&255,g>>=8);c[e++]=g}x(na(c),"encodeByteArray takes an array as a parameter");if(!Tc)for(Tc={},d=0;65>d;d++)Tc[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d);d=Tc;e=[];for(f=0;f<c.length;f+=3){var k=c[f],p=(g=f+1<c.length)?c[f+1]:0,uc=f+2<c.length,za=uc?c[f+
2]:0,ce=k>>2;k=(k&3)<<4|p>>4;p=(p&15)<<2|za>>6;za&=63;uc||(za=64,g||(p=64));e.push(d[ce],d[k],d[p],d[za])}c=e.join("")}gd("isplayer://"+b+"/"+a+"/"+c)}}else try{kd||(window.open("","_self",""),window.close())}catch(ye){}else try{kd||(window.Ba=window,b=Vd(),b==window.top?(window.open("","_self",""),window.close()):Wd(b))}catch(ye){Wd(window.top)}}function Wd(a){if(a&&a.Ba){var b=document.createElement("a");b.href="data/goodbye.html";a.Ba.location.replace(b.href)}}
function Vd(){var a=window;if(a.Ba)return a;for(var b=0;a!=window.top&&100>b++;){if(a.Ba)return a;a=a.parent}console.log("Unable to locate content root");return null}function Xd(){try{var a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(b){}};function Yd(){this.W=this.S=this.$=null}
Yd.prototype.m=function(a,b){if(!Id(a))return!1;var c=document.body;this.$=Sd();cd(this.$,{position:"absolute"});Pc(this.$);this.$.onload=v(this.Qb,this);Rc(c,this.$);var d=U('<form method="POST">'+('<input type="hidden" name="session_id" value="'+b+'">')+'<input type="hidden" name="command" value=""><input type="hidden" name="version" value="4"><input type="hidden" name="aicc_data" value=""></form>',null),e=document;b=e.createElement("DIV");B?(Oc(b,Kc(Lc,d)),b.removeChild(x(b.firstChild))):Oc(b,
d);if(1==b.childNodes.length)b=b.removeChild(x(b.firstChild));else{for(d=e.createDocumentFragment();b.firstChild;)d.appendChild(b.firstChild);b=d}this.S=b;this.S.target="hacpFormTarget";this.S.action=a;Rc(c,this.S);return!0};Yd.prototype.gb=function(a,b){this.W=null;Zd(this,a,b);Rd()};Yd.prototype.Sa=function(a,b,c){this.W=null;Zd(this,a,b);c&&(this.W=c)};function Zd(a,b,c){a.S.command.value=b;a.S.aicc_data.value=c||"";a.S.submit()}
Yd.prototype.Qb=function(){if(this.W){a:{try{var a=this.$.contentWindow.document.body.innerHTML;break a}catch(b){}a=""}this.W(a);this.W=null}};function $d(){this.da=this.P=""}$d.prototype.m=function(a,b){if(null==ae())return!1;this.P=a;this.da=b;return!0};$d.prototype.gb=function(a,b){var c=ae();x(c);var d=!1,e=!1;c.onload=function(){e=d=!0};c.onerror=function(){d=!0};be(this,c,a,b);for(a=w();!d&&1E3>w()-a;)Rd();if(!e)throw 0;};$d.prototype.Sa=function(a,b,c,d){var e=ae();x(e);e.onload=function(){c&&c(e.responseText)};e.onerror=function(){d&&d("")};e.onprogress=function(){};be(this,e,a,b)};
function be(a,b,c,d){var e=a.P;var f=window.location.toString().match(Hd)[1]||null;if("file"!=f){var g=e.match(Hd)[1]||null;e=f+e.substr(g.length)}a="session_id="+encodeURIComponent(a.da)+"&version=4&command="+encodeURIComponent(c);d&&(a+="&aicc_data="+encodeURIComponent(d));try{b.open("POST",e),b.send(a)}catch(k){b.onerror&&b.onerror()}}function ae(){return window.XDomainRequest?new XDomainRequest:null};function de(){this.da=this.P=""}de.prototype.m=function(a,b){if(B&&11>parseFloat(C)&&!Id(this.P)||!Td())return!1;this.P=a;this.da=b;return!0};de.prototype.gb=function(a,b){var c=Td();x(c);c.open("POST",this.P,!1);ee(this,c,a,b)};
de.prototype.Sa=function(a,b,c,d){var e=Td();x(e);c&&(e.onreadystatechange=function(){if(4==e.readyState){delete e.onreadystatechange;a:switch(e.status){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var a=!0;break a;default:a=!1}a?c&&c(e.responseText):d&&d(e.responseText)}});e.open("POST",this.P,!0);ee(this,e,a,b)};
function ee(a,b,c,d){b.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a="session_id="+encodeURIComponent(a.da)+"&version=4&command="+encodeURIComponent(c);d&&(a+="&aicc_data="+encodeURIComponent(d));b.send(a)};function fe(a,b){this.J=[];for(var c=[new de,new $d,new Yd],d=0;d<c.length;++d){var e=c[d];e.m(a,b)&&this.J.push(e)}if(0===this.J.length)throw alert("No available transports, progress can't be reported"),Error("No available transports, progress can't be reported");}
function ge(a,b,c){return he(a,"GETPARAM",null,function(a){if(a){if(b){var d={},f=null;a=a.split("\n");for(var g=0;g<a.length-1;++g){var k=y(a[g]);0<k.indexOf("=")?(k=k.split("="),d[y(k[0])]=y(k[1])):"[core_lesson]"==k.toLowerCase()&&(k=y(a[g+1]),k.match(/^\[\w+\]$/)||(f=k))}b(new Dd(d,f))}}else c&&c("response is empty")},c)}function ie(a,b,c){return he(a,"PUTPARAM",je(b),function(a){a&&c&&c()},void 0)}
function ke(a,b,c){0<b.Y.length?he(a,"PUTINTERACTIONS",le(b),function(a){a&&c&&c()},void 0):c&&c()}function me(a,b,c,d){var e=!0;b&&(e=ie(a,b,function(){c&&ke(a,c,function(){d&&d()})}));return e}function ne(a,b,c){for(var d=0<a.J.length?a.J[0]:null;d;)try{d.gb(b,c);break}catch(e){console.log(e),d=oe(a)}}function he(a,b,c,d,e){for(var f=0<a.J.length?a.J[0]:null;f;)try{return f.Sa(b,c,d,e),!0}catch(g){f=oe(a)}return!1}function oe(a){a.J.shift();return 0<a.J.length?a.J[0]:null}
function je(a){var b=["[core]","lesson_status="+a.Na];if(null!==a.ua){var c="score="+a.ua;null===a.qa||null===a.maxScore()||(c+=","+a.maxScore()+","+a.qa);b.push(c)}c=a.Ma;null===c||b.push("time="+Ld(c));a=a.wa;null!==a&&(b.push("[core_lesson]"),b.push(a));return b.join("\r\n")}
function le(a){function b(a){return"incorrect"==a?"wrong":a}for(var c=[],d=0;d<a.Y.length;++d){if(0>d||d>=a.Y.length)throw Error("index is out of bounds");var e=a.Y[d],f=e.V(),g=e.v,k=e.awardedScore(),p=e.duration();c.push(["","","","",f?Od(f):"",f?Pd(f):"",e.id(),e.type(),g?g.join("[,]"):"",e.ma()||"",r(k)?k+"":b(e.result()),e.score()+"",null===p?"":Ld(p/1E3)])}a=["course_id student_id lesson_id objective_id date time interaction_id type_interaction correct_response student_response result weighting latency".split(" ")].concat(c);
a=Fa(a,function(a){return Fa(a,Va).join(",")});return a.join("\r\n")};t("Tincan.MobileHttpTransport.onRequestComplete",function(a,b,c){var d=null.Kb[a];if(null==d)return"";delete null.Kb[a];Sc(function(){if(b)d.onload(c);else d.onerror()},10);return"ok"},void 0);function pe(){a:{try{var a=X();if("aicc_url"in a&&"aicc_sid"in a){var b=new fe(a.aicc_url,a.aicc_sid);break a}}catch(c){}b=null}this.b=b;this.C=new Gd;this.j=!1;this.pa=null;this.M=!1;this.Z=null}h=pe.prototype;h.m=function(){throw Error("not supported");};h.Za=function(a,b){var c=this;if(this.j)a();else if(null!=this.b){var d=this;ge(this.b,function(b){d.pa=b;c.j=!0;a()},function(){b()})||b()}else b()};
h.terminate=function(){if(null!=this.b){var a=this.b,b=this.M?this.C:null,c=this.Z;b&&ne(a,"PUTPARAM",je(b));c&&0<c.Y.length&&ne(a,"PUTINTERACTIONS",le(c));ne(this.b,"EXITAU");return!0}return!1};h.G=function(){var a=this;return null!=this.b?me(this.b,this.M?this.C:null,this.Z,function(){a.M=!1;a.Z=null}):!1};h.A=function(){throw Error("not supported");};h.a=function(){throw Error("not supported");};
h.L=function(a,b,c){var d=!1;this.C.qa!=b&&(this.C.qa=b,d=!0);this.C.maxScore()!=c&&(this.C.ob=c,d=!0);this.C.ua!=a&&(this.C.ua=a,d=!0);this.M=this.M||d};h.N=function(){};h.bb=function(a){a/=1E3;this.C.Ma!=a&&(this.C.ab(a),this.M=!0)};h.ya=function(){var a=this.pa.wa;if(a)try{return Wc(a)}catch(b){}return null};h.eb=function(a){a=Yc(new Xc(void 0),a);this.C.cb(a);this.M=!0};h.ca=function(){return"normal"};
h.B=function(a,b){a=null===a?null===b?"unknown":b?"completed":"incomplete":a?"passed":"failed";this.C.Na!=a&&(this.C.Na=a,this.M=!0)};h.U=function(a){this.Z||(this.Z=new Fd);this.Z.U(a)};h.ka=function(){x(this.pa);var a=this.pa;return new H(Ed(a,"student_id")||"",Ed(a,"student_name")||"")};function qe(a,b){this.D=a;this.ra=!1;this.R=0;this.w=b}h=qe.prototype;h.m=function(){try{return this.K(this.D.LMSInitialize(""))}catch(a){}return!1};h.terminate=function(a){this.a("cmi.core.exit",a?re(this):"");this.G();try{return this.K(this.D.LMSFinish(""))}catch(b){}return!1};function re(a){return a.ra?"":"suspend"}h.G=function(){0==this.R&&this.a("cmi.core.exit",this.w?re(this):"");try{var a=this.K(this.D.LMSCommit(""));this.R+=1;return a}catch(b){}return!1};h.N=function(a){this.ra=a};h.A=function(a){try{return this.D.LMSGetValue(a)}catch(b){}return""};
h.a=function(a,b){r(b)&&(b=Jd(b,2)+"");try{return this.K(this.D.LMSSetValue(a,b))}catch(c){}return!1};h.K=function(a){return"true"==a};var se={id:"id",type:"type",score:"weighting",Bb:"correct_responses.%INDEX%.pattern",ma:"student_response",result:"result",duration:"latency",V:"time"},te={id:"id",type:"type",score:"weighting",Bb:"correct_responses.%INDEX%.pattern",ma:"learner_response",description:"description",result:"result",duration:"latency",V:"timestamp"},ue={};function ve(a){return parseInt(a.A("cmi.interactions._count"),10)}
function we(a,b,c,d,e){if(e){var f=a.id()+"_"+a.description();f=I(f.substr(0,255));c.a(b+d.id,f)}else c.a(b+d.id,a.id());c.a(b+d.type,a.type());c.a(b+d.score,a.score());f=a.v||[];for(var g=0;g<f.length;++g){var k=d.Bb.replace("%INDEX%",g);c.a(b+k,f[g])}f=a.ma();null!=f&&c.a(b+d.ma,f);c.a(b+d.result,function(a){return e?"incorrect"==a?"wrong":a:a}(a.result()))};function xe(a){a=Yc(new Xc(void 0),a);return LZString.compressToBase64(a)}function ze(a){a=LZString.decompressFromBase64(a);try{return Wc(a)}catch(b){}return null};function Ae(a){var b=Kd("API");this.b=b?new qe(b,a):null;this.j=!1}h=Ae.prototype;h.m=function(){return this.j?!0:this.j=null!=this.b?this.b.m():!1};h.Za=function(a,b){this.j?a():null!=this.b?(this.j=this.b.m())?a():b():(this.j=!1,b())};h.terminate=function(a){return null!=this.b?this.b.terminate(a):!1};h.G=function(){return null!=this.b?this.b.G():!1};h.A=function(a){return null!=this.b?this.b.A(a):""};h.a=function(a,b){return null!=this.b?this.b.a(a,b):!1};
h.L=function(a,b,c){this.a("cmi.core.score.raw",a);this.a("cmi.core.score.min",b);this.a("cmi.core.score.max",c)};h.bb=function(a){this.a("cmi.core.session_time",Ld(a/1E3))};h.ya=function(){var a=this.A("cmi.suspend_data");return a?ze(a):null};h.ca=function(){return"normal"};h.eb=function(a){a=xe(a);this.a("cmi.suspend_data",a)};
h.B=function(a,b){null===a?null===b?this.a("cmi.core.lesson_status","unknown"):this.a("cmi.core.lesson_status",b?"completed":"incomplete"):this.a("cmi.core.lesson_status",a?"passed":"failed")};h.N=function(a){this.b.N(a)};h.U=function(a){var b=a.id();if(a.id()in ue)var c=ue[b];else c=ve(this),ue[b]=c;0>c||(b="cmi.interactions."+c+".",we(a,b,this,se,!0),c=a.duration(),null===c||this.a(b+se.duration,Ld(c/1E3)),a=a.V(),null===a||this.a(b+se.V,Ld(3600*a.getHours()+60*a.getMinutes()+a.getSeconds())))};
h.ka=function(){return new H(this.A("cmi.core.student_id"),this.A("cmi.core.student_name"))};function Be(){this.f=null}h=Be.prototype;h.m=function(a,b){(this.f=this.Ua())?this.f.Za(a,b):b()};h.G=function(){this.f.G()};h.suspend=function(){this.f.terminate(!0);Xd();Ud()};h.terminate=function(){this.f.terminate(!1);Xd();Ud()};h.cb=function(a){this.f.eb(a)};h.ca=function(){return"normal"};h.B=function(a,b){this.f.N(a);this.f.B(a,b)};h.L=function(a,b,c,d){var e=0<c-b?a/(c-b):0;null!=d&&(a=e*d,c=d);this.f.L(a,b,c,e)};h.ab=function(a){this.f.bb(a)};h.U=function(a){this.f.U(a)};h.ka=function(){return this.f.ka()};function ud(a,b){this.f=null;this.Pa=a;this.w=b}m(ud,Be);ud.prototype.Ua=function(){var a=new Ae(this.w);a.m()||(a=new pe);return a};ud.prototype.B=function(a,b){var c=null===a;a=c?b:a;null===a?this.f.B(null,null):!c&&this.Pa.sb&(a?2:1)?this.f.B(a,null):this.f.B(null,a)};function sd(a,b){this.f=null;this.Pa=a;this.w=b}m(sd,Be);sd.prototype.Ua=function(){return new Ae(this.w)};sd.prototype.B=function(a,b){var c=null===a;b=c?b:a;this.f.N(a);null===b?this.f.B(null,null):!c&&this.Pa.sb&(b?2:1)?this.f.B(b,null):this.f.B(null,b)};function Ce(a,b,c){this.D=a;this.Ga=b;this.ra=!1;this.R=0;this.w=c}h=Ce.prototype;h.m=function(){try{return this.K(this.D.Initialize(""))}catch(a){}return!1};h.terminate=function(a){this.a("cmi.exit",a?re(this):"normal");this.a("adl.nav.request","exitAll");this.G();try{return this.K(this.D.Terminate(""))}catch(b){}return!1};h.G=function(){0==this.R&&this.a("cmi.exit",this.w?re(this):"normal");try{var a=this.K(this.D.Commit(""));this.R+=1;return a}catch(b){}return!1};h.A=function(a){try{return this.D.GetValue(a)}catch(b){}return""};
h.a=function(a,b){r(b)&&(b=Jd(b,7)+"");try{return this.K(this.D.SetValue(a,b))}catch(c){}return!1};h.N=function(a){this.ra=a};h.K=function(a){return"true"==a};function De(a,b){var c=Kd("API_1484_11");this.b=c?new Ce(c,a,b):null;this.j=!1}h=De.prototype;h.m=function(){return this.j?!0:this.j=null!=this.b?this.b.m():!1};h.Za=function(a,b){this.j?a():null!=this.b?(this.j=this.b.m())?a():b():(this.j=!1,b())};h.terminate=function(a){return null!=this.b?this.b.terminate(a):!1};h.G=function(){return null!=this.b?this.b.G():!1};h.A=function(a){return null!=this.b?this.b.A(a):""};h.a=function(a,b){return null!=this.b?this.b.a(a,b):!1};
h.L=function(a,b,c,d){null!=d||(d=0);this.a("cmi.score.raw",a);this.a("cmi.score.min",b);this.a("cmi.score.max",c);this.a("cmi.score.scaled",d)};h.bb=function(a){this.a("cmi.session_time",Nd(a/1E3))};h.ya=function(){var a=this.A("cmi.suspend_data");return a?ze(a):null};h.eb=function(a){a=xe(a);a.length<=("2"==this.b.Ga?4E3:64E3)&&this.a("cmi.suspend_data",a)};h.ca=function(){return null!=this.b?this.b.A("cmi.mode"):"normal"};
h.B=function(a,b){this.a("cmi.success_status",null===a?"unknown":a?"passed":"failed");this.a("cmi.completion_status",null===b?"unknown":b?"completed":"incomplete")};h.N=function(a){this.b.N(a)};
h.U=function(a){var b=ve(this);if(!(0>b)){b="cmi.interactions."+b+".";we(a,b,this,te,!1);this.a(b+te.description,a.description());var c=a.duration();null===c||this.a(b+te.duration,Nd(c/1E3));a=a.V();null!==a&&(r(a)&&(a=new Date(a)),this.a(b+te.V,a.getUTCFullYear()+"-"+Z(a.getUTCMonth()+1)+"-"+Z(a.getUTCDate())+"T"+Z(a.getUTCHours())+":"+Z(a.getUTCMinutes())+":"+Z(a.getUTCSeconds())+".0Z"))}};h.ka=function(){return new H(this.A("cmi.learner_id"),this.A("cmi.learner_name"))};function td(a,b){this.f=null;this.Ga=void 0===b?"2":b;this.w=a}m(td,Be);td.prototype.Ua=function(){return new De(this.Ga,this.w)};td.prototype.L=function(a,b,c){Be.prototype.L.call(this,a,b,c)};td.prototype.ca=function(){return this.f.ca()};function Ee(a,b){rd.call(this,a,b);this.Sb=b}m(Ee,rd);t("iSpring.quiz.LMS.create",function(a,b){return new Ee(a,b)},void 0);})();
var LZString={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_f:String.fromCharCode,compressToBase64:function(e){if(e==null)return"";var t="";var n,r,i,s,o,u,a;var f=0;e=LZString.compress(e);while(f<e.length*2){if(f%2==0){n=e.charCodeAt(f/2)>>8;r=e.charCodeAt(f/2)&255;if(f/2+1<e.length)i=e.charCodeAt(f/2+1)>>8;else i=NaN}else{n=e.charCodeAt((f-1)/2)&255;if((f+1)/2<e.length){r=e.charCodeAt((f+1)/2)>>8;i=e.charCodeAt((f+1)/2)&255}else r=i=NaN}f+=3;s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+LZString._keyStr.charAt(s)+LZString._keyStr.charAt(o)+LZString._keyStr.charAt(u)+LZString._keyStr.charAt(a)}return t},decompressFromBase64:function(e){if(e==null)return"";var t="",n=0,r,i,s,o,u,a,f,l,c=0,h=LZString._f;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(c<e.length){u=LZString._keyStr.indexOf(e.charAt(c++));a=LZString._keyStr.indexOf(e.charAt(c++));f=LZString._keyStr.indexOf(e.charAt(c++));l=LZString._keyStr.indexOf(e.charAt(c++));i=u<<2|a>>4;s=(a&15)<<4|f>>2;o=(f&3)<<6|l;if(n%2==0){r=i<<8;if(f!=64){t+=h(r|s)}if(l!=64){r=o<<8}}else{t=t+h(r|i);if(f!=64){r=s<<8}if(l!=64){t+=h(r|o)}}n+=3}return LZString.decompress(t)},compressToUTF16:function(e){if(e==null)return"";var t="",n,r,i,s=0,o=LZString._f;e=LZString.compress(e);for(n=0;n<e.length;n++){r=e.charCodeAt(n);switch(s++){case 0:t+=o((r>>1)+32);i=(r&1)<<14;break;case 1:t+=o(i+(r>>2)+32);i=(r&3)<<13;break;case 2:t+=o(i+(r>>3)+32);i=(r&7)<<12;break;case 3:t+=o(i+(r>>4)+32);i=(r&15)<<11;break;case 4:t+=o(i+(r>>5)+32);i=(r&31)<<10;break;case 5:t+=o(i+(r>>6)+32);i=(r&63)<<9;break;case 6:t+=o(i+(r>>7)+32);i=(r&127)<<8;break;case 7:t+=o(i+(r>>8)+32);i=(r&255)<<7;break;case 8:t+=o(i+(r>>9)+32);i=(r&511)<<6;break;case 9:t+=o(i+(r>>10)+32);i=(r&1023)<<5;break;case 10:t+=o(i+(r>>11)+32);i=(r&2047)<<4;break;case 11:t+=o(i+(r>>12)+32);i=(r&4095)<<3;break;case 12:t+=o(i+(r>>13)+32);i=(r&8191)<<2;break;case 13:t+=o(i+(r>>14)+32);i=(r&16383)<<1;break;case 14:t+=o(i+(r>>15)+32,(r&32767)+32);s=0;break}}return t+o(i+32)},decompressFromUTF16:function(e){if(e==null)return"";var t="",n,r,i=0,s=0,o=LZString._f;while(s<e.length){r=e.charCodeAt(s)-32;switch(i++){case 0:n=r<<1;break;case 1:t+=o(n|r>>14);n=(r&16383)<<2;break;case 2:t+=o(n|r>>13);n=(r&8191)<<3;break;case 3:t+=o(n|r>>12);n=(r&4095)<<4;break;case 4:t+=o(n|r>>11);n=(r&2047)<<5;break;case 5:t+=o(n|r>>10);n=(r&1023)<<6;break;case 6:t+=o(n|r>>9);n=(r&511)<<7;break;case 7:t+=o(n|r>>8);n=(r&255)<<8;break;case 8:t+=o(n|r>>7);n=(r&127)<<9;break;case 9:t+=o(n|r>>6);n=(r&63)<<10;break;case 10:t+=o(n|r>>5);n=(r&31)<<11;break;case 11:t+=o(n|r>>4);n=(r&15)<<12;break;case 12:t+=o(n|r>>3);n=(r&7)<<13;break;case 13:t+=o(n|r>>2);n=(r&3)<<14;break;case 14:t+=o(n|r>>1);n=(r&1)<<15;break;case 15:t+=o(n|r);i=0;break}s++}return LZString.decompress(t)},compress:function(e){if(e==null)return"";var t,n,r={},i={},s="",o="",u="",a=2,f=3,l=2,c="",h=0,p=0,d,v=LZString._f;for(d=0;d<e.length;d+=1){s=e.charAt(d);if(!Object.prototype.hasOwnProperty.call(r,s)){r[s]=f++;i[s]=true}o=u+s;if(Object.prototype.hasOwnProperty.call(r,o)){u=o}else{if(Object.prototype.hasOwnProperty.call(i,u)){if(u.charCodeAt(0)<256){for(t=0;t<l;t++){h=h<<1;if(p==15){p=0;c+=v(h);h=0}else{p++}}n=u.charCodeAt(0);for(t=0;t<8;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}else{n=1;for(t=0;t<l;t++){h=h<<1|n;if(p==15){p=0;c+=v(h);h=0}else{p++}n=0}n=u.charCodeAt(0);for(t=0;t<16;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}r[o]=f++;u=String(s)}}if(u!==""){if(Object.prototype.hasOwnProperty.call(i,u)){if(u.charCodeAt(0)<256){for(t=0;t<l;t++){h=h<<1;if(p==15){p=0;c+=v(h);h=0}else{p++}}n=u.charCodeAt(0);for(t=0;t<8;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}else{n=1;for(t=0;t<l;t++){h=h<<1|n;if(p==15){p=0;c+=v(h);h=0}else{p++}n=0}n=u.charCodeAt(0);for(t=0;t<16;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}}a--;if(a==0){a=Math.pow(2,l);l++}}n=2;for(t=0;t<l;t++){h=h<<1|n&1;if(p==15){p=0;c+=v(h);h=0}else{p++}n=n>>1}while(true){h=h<<1;if(p==15){c+=v(h);break}else p++}return c},decompress:function(e){if(e==null)return"";if(e=="")return null;var t=[],n,r=4,i=4,s=3,o="",u="",a,f,l,c,h,p,d,v=LZString._f,m={string:e,val:e.charCodeAt(0),position:32768,index:1};for(a=0;a<3;a+=1){t[a]=a}l=0;h=Math.pow(2,2);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}switch(n=l){case 0:l=0;h=Math.pow(2,8);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}d=v(l);break;case 1:l=0;h=Math.pow(2,16);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}d=v(l);break;case 2:return""}t[3]=d;f=u=d;while(true){if(m.index>m.string.length){return""}l=0;h=Math.pow(2,s);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}switch(d=l){case 0:l=0;h=Math.pow(2,8);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}t[i++]=v(l);d=i-1;r--;break;case 1:l=0;h=Math.pow(2,16);p=1;while(p!=h){c=m.val&m.position;m.position>>=1;if(m.position==0){m.position=32768;m.val=m.string.charCodeAt(m.index++)}l|=(c>0?1:0)*p;p<<=1}t[i++]=v(l);d=i-1;r--;break;case 2:return u}if(r==0){r=Math.pow(2,s);s++}if(t[d]){o=t[d]}else{if(d===i){o=f+f.charAt(0)}else{return null}}u+=o;t[i++]=f+o.charAt(0);r--;f=o;if(r==0){r=Math.pow(2,s);s++}}}};if(typeof module!=="undefined"&&module!=null){module.exports=LZString}
