(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={fc:!0},ha={};try{ha.__proto__=fa;ea=ha.fc;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.pc=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,b){if(b){var c=ka;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ja(c,a,{configurable:!0,writable:!0,value:b})}}la("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});
la("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=b[c];if(f===a||Object.is(f,a))return!0}return!1}});var n=this;function p(a){return void 0!==a}function q(a){return"string"==typeof a}
function r(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&&p(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}}
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 ma(a){var b=u(a);return"array"==b||"object"==b&&"number"==typeof a.length}function na(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var v="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)}
function qa(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 w(a,b,c){w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?pa:qa;return w.apply(null,arguments)}var ra=Date.now||function(){return+new Date};
function sa(a,b){function c(){}c.prototype=b.prototype;a.pc=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Wc=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 ta(a){if(Error.captureStackTrace)Error.captureStackTrace(this,ta);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}sa(ta,Error);ta.prototype.name="CustomError";function ua(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");ta.call(this,c+a[d])}sa(ua,ta);ua.prototype.name="AssertionError";function va(a){throw a;}function wa(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);a=new ua(""+e,f||[]);va(a)}function x(a,b,c){a||wa("",null,b,Array.prototype.slice.call(arguments,2));return a}function xa(a,b){va(new ua("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1)))}
function ya(a,b,c){"number"==typeof a||wa("Expected number but got %s: %s.",[u(a),a],b,Array.prototype.slice.call(arguments,2))};function za(){return!1}function Aa(a,b){za()&&(b?n.console.error(a):n.console.warn(a))}function Ba(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)?Ba(c,!0):Aa(b,!0);return!0};va=function(a){try{throw Error(a.message);}catch(b){Ba(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 y=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},Ca=Array.prototype.forEach?function(a,b,c){x(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
function Da(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 Ea(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function Fa(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ma(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 Ga(a,b,c,d){x(null!=a.length);Array.prototype.splice.apply(a,Ha(arguments,1))}function Ha(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 Ja=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ka(a){if(!La.test(a))return 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;"));return a}
var Ma=/&/g,Na=/</g,Oa=/>/g,Pa=/"/g,Qa=/'/g,Ra=/\x00/g,La=/[\x00&<>"']/;function Sa(a,b){return a<b?-1:a>b?1:0}function Ta(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Ua(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 Va=n.navigator;if(Va){var Wa=Va.userAgent;if(Wa){z=Wa;break a}}z=""}function A(a){return-1!=z.indexOf(a)};function Xa(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function Ya(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function B(a,b,c){return null!==a&&b in a?a[b]:c}var Za="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function $a(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Za.length;f++)c=Za[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function ab(){return A("iPhone")&&!A("iPod")&&!A("iPad")};var bb=A("Opera"),C=A("Trident")||A("MSIE"),cb=A("Edge"),db=A("Gecko")&&!(-1!=z.toLowerCase().indexOf("webkit")&&!A("Edge"))&&!(A("Trident")||A("MSIE"))&&!A("Edge"),eb=-1!=z.toLowerCase().indexOf("webkit")&&!A("Edge");function fb(){var a=n.document;return a?a.documentMode:void 0}var gb;
a:{var hb="",ib=function(){var a=z;if(db)return/rv:([^\);]+)(\)|;)/.exec(a);if(cb)return/Edge\/([\d\.]+)/.exec(a);if(C)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(eb)return/WebKit\/(\S+)/.exec(a);if(bb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();ib&&(hb=ib?ib[1]:"");if(C){var jb=fb();if(null!=jb&&jb>parseFloat(hb)){gb=String(jb);break a}}gb=hb}var kb={},lb;var mb=n.document;lb=mb&&C?fb()||("CSS1Compat"==mb.compatMode?parseInt(gb,10):5):void 0;function nb(){};function ob(){this.da=this.U=this.xa=null}ob.prototype.push=function(a,b){if(0==b)this.da=this.da||[];else if(this.xa=this.xa||[0],this.U=this.U||{},!(b in this.U)){this.U[b]=[];var c=this.xa;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&&Ga(c,-(d+1),0,b)}b=pb(this,b);x(b).push(a)};ob.prototype.remove=function(a,b){if(b=pb(this,b))a=y(b,a),0<=a&&(x(null!=b.length),Array.prototype.splice.call(b,a,1))};
function qb(a,b){return 0==b?a.da||[]:b in x(a.U)?x(pb(a,b)):[]}function rb(a){if(!a.U)return a.da?a.da.slice():[];for(var b=[],c=x(a.xa),d=0;d<c.length;++d){var e=pb(a,c[d]);e&&Fa(b,e)}return b}function pb(a,b){return 0==b?a.da:x(a.U)[b]};function D(a){this.Cb=this.D=null;this.Wb=void 0===a?null:a}m(D,nb);h=D.prototype;h.hc=function(){return this.Wb};h.addHandler=function(a,b,c){this.D=this.D||new ob;this.D.push({jb:a,context:b},c||0)};h.removeHandler=function(a,b,c){c=c||0;if(this.D)for(var d=qb(this.D,c),e=d.length,f=0;f<e;++f){var g=d[f];if(g.jb==a&&g.context==b){a=f;if(c=pb(this.D,c))x(null!=c.length),Array.prototype.splice.call(c,a,1);break}}else xa("EventDispatcher has no handlers!")};
h.jc=function(a,b,c){if(!this.D)return!1;c=qb(this.D,c||0);for(var d=c.length,e=0;e<d;++e){var f=c[e];if(f.jb==a&&f.context==b)return!0}return!1};h.Ea=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(this.D){c=rb(this.D);for(var d=c.length,e=0;e<d;++e){var f=c[e];if(-1!=y(rb(this.D),f))try{f.jb.apply(f.context,arguments)}catch(g){Ba(g,!0)}}}this.Cb&&this.Cb.forEach(function(a){a.Ea.apply(a,b instanceof Array?b:ba(l(b)))})};D.prototype.dispatch=D.prototype.Ea;
D.prototype.hasHandler=D.prototype.jc;D.prototype.removeHandler=D.prototype.removeHandler;D.prototype.addHandler=D.prototype.addHandler;D.prototype.eventOwner=D.prototype.hc;function sb(a){x(0==a.length%2,"Key string length must be multiple of 2");for(var b=[],c=0;c<a.length;c+=2)b.push(parseInt(a.substring(c,c+2),16));return b}function tb(a,b){x(a.length==b.length,"XOR array lengths must match");for(var c=[],d=0;d<a.length;d++)c.push(a[d]^b[d]);return c};function ub(a){x(16==a.length||24==a.length||32==a.length,"Key must have length 16, 24, or 32.");for(var b=0;b<a.length;b++)ya(a[b]),x(0<=a[b]&&255>=a[b]);this.sa=a;this.w=this.sa.length/4;this.Y=this.w+6;this.B=[[],[],[],[]];this.ga=[[],[],[],[]];this.u=Array(F*(this.Y+1));for(a=0;a<this.w;a++)this.u[a]=[this.sa[4*a],this.sa[4*a+1],this.sa[4*a+2],this.sa[4*a+3]];b=Array(4);for(a=this.w;a<F*(this.Y+1);a++){b[0]=this.u[a-1][0];b[1]=this.u[a-1][1];b[2]=this.u[a-1][2];b[3]=this.u[a-1][3];if(0==a%this.w){var c=
b,d=c[0];c[0]=c[1];c[1]=c[2];c[2]=c[3];c[3]=d;vb(b);b[0]^=wb[a/this.w][0];b[1]^=wb[a/this.w][1];b[2]^=wb[a/this.w][2];b[3]^=wb[a/this.w][3]}else 6<this.w&&4==a%this.w&&vb(b);this.u[a]=Array(4);this.u[a][0]=this.u[a-this.w][0]^b[0];this.u[a][1]=this.u[a-this.w][1]^b[1];this.u[a][2]=this.u[a-this.w][2]^b[2];this.u[a][3]=this.u[a-this.w][3]^b[3]}}ub.prototype.G=16;var F=ub.prototype.G/4;
ub.prototype.encrypt=function(a){xb(this,a);G(this,0);for(a=1;a<this.Y;++a){yb(this,H);zb(this);for(var b=this.B,c=this.ga[0],d=0;4>d;d++)c[0]=b[0][d],c[1]=b[1][d],c[2]=b[2][d],c[3]=b[3][d],b[0][d]=Ab[c[0]]^Bb[c[1]]^c[2]^c[3],b[1][d]=c[0]^Ab[c[1]]^Bb[c[2]]^c[3],b[2][d]=c[0]^c[1]^Ab[c[2]]^Bb[c[3]],b[3][d]=Bb[c[0]]^c[1]^c[2]^Ab[c[3]];G(this,a)}yb(this,H);zb(this);G(this,this.Y);return Cb(this)};
ub.prototype.decrypt=function(a){xb(this,a);G(this,this.Y);for(a=1;a<this.Y;++a){Db(this);yb(this,Eb);G(this,this.Y-a);for(var b=this.B,c=this.ga[0],d=0;4>d;d++)c[0]=b[0][d],c[1]=b[1][d],c[2]=b[2][d],c[3]=b[3][d],b[0][d]=Fb[c[0]]^Gb[c[1]]^Hb[c[2]]^Ib[c[3]],b[1][d]=Ib[c[0]]^Fb[c[1]]^Gb[c[2]]^Hb[c[3]],b[2][d]=Hb[c[0]]^Ib[c[1]]^Fb[c[2]]^Gb[c[3]],b[3][d]=Gb[c[0]]^Hb[c[1]]^Ib[c[2]]^Fb[c[3]]}Db(this);yb(this,Eb);G(this,0);return Cb(this)};
function xb(a,b){x(b.length==a.G,"Expecting input of block size.");for(var c=0;c<F;c++)for(var d=0;4>d;d++){var e=4*d+c;var f=b[e];x(255>=f&&0<=f,"Invalid input. Value %s at position %s is not a byte.",f,e);a.B[c][d]=f}}function Cb(a){for(var b=[],c=0;c<F;c++)for(var d=0;4>d;d++)b[4*d+c]=a.B[c][d];return b}function G(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.B[c][d]^=a.u[4*b+d][c]}function yb(a,b){for(var c=0;4>c;c++)for(var d=0;4>d;d++)a.B[c][d]=b[a.B[c][d]]}
function zb(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.ga[b][c]=a.B[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.B[b][c]=a.ga[b][(c+b)%F]}function Db(a){for(var b=1;4>b;b++)for(var c=0;4>c;c++)a.ga[b][(c+b)%F]=a.B[b][c];for(b=1;4>b;b++)for(c=0;4>c;c++)a.B[b][c]=a.ga[b][c]}function vb(a){a[0]=H[a[0]];a[1]=H[a[1]];a[2]=H[a[2]];a[3]=H[a[3]]}
var H=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,
61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],Eb=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,
255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,
26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],wb=[[0,0,0,0],[1,0,0,0],[2,0,0,0],[4,0,0,0],[8,0,0,0],[16,0,0,0],[32,0,0,0],[64,0,0,0],[128,0,0,0],[27,0,0,0],[54,0,0,0]],Ab=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,
32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,27,25,31,29,19,17,23,21,11,9,15,13,3,1,7,5,59,57,63,61,51,49,55,53,43,41,47,45,35,33,39,
37,91,89,95,93,83,81,87,85,75,73,79,77,67,65,71,69,123,121,127,125,115,113,119,117,107,105,111,109,99,97,103,101,155,153,159,157,147,145,151,149,139,137,143,141,131,129,135,133,187,185,191,189,179,177,183,181,171,169,175,173,163,161,167,165,219,217,223,221,211,209,215,213,203,201,207,205,195,193,199,197,251,249,255,253,243,241,247,245,235,233,239,237,227,225,231,229],Bb=[0,3,6,5,12,15,10,9,24,27,30,29,20,23,18,17,48,51,54,53,60,63,58,57,40,43,46,45,36,39,34,33,96,99,102,101,108,111,106,105,120,123,
126,125,116,119,114,113,80,83,86,85,92,95,90,89,72,75,78,77,68,71,66,65,192,195,198,197,204,207,202,201,216,219,222,221,212,215,210,209,240,243,246,245,252,255,250,249,232,235,238,237,228,231,226,225,160,163,166,165,172,175,170,169,184,187,190,189,180,183,178,177,144,147,150,149,156,159,154,153,136,139,142,141,132,135,130,129,155,152,157,158,151,148,145,146,131,128,133,134,143,140,137,138,171,168,173,174,167,164,161,162,179,176,181,182,191,188,185,186,251,248,253,254,247,244,241,242,227,224,229,230,
239,236,233,234,203,200,205,206,199,196,193,194,211,208,213,214,223,220,217,218,91,88,93,94,87,84,81,82,67,64,69,70,79,76,73,74,107,104,109,110,103,100,97,98,115,112,117,118,127,124,121,122,59,56,61,62,55,52,49,50,35,32,37,38,47,44,41,42,11,8,13,14,7,4,1,2,19,16,21,22,31,28,25,26],Ib=[0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,59,50,41,32,31,22,13,4,115,122,97,104,87,94,69,76,171,162,185,176,143,134,157,148,227,234,241,248,199,
206,213,220,118,127,100,109,82,91,64,73,62,55,44,37,26,19,8,1,230,239,244,253,194,203,208,217,174,167,188,181,138,131,152,145,77,68,95,86,105,96,123,114,5,12,23,30,33,40,51,58,221,212,207,198,249,240,235,226,149,156,135,142,177,184,163,170,236,229,254,247,200,193,218,211,164,173,182,191,128,137,146,155,124,117,110,103,88,81,74,67,52,61,38,47,16,25,2,11,215,222,197,204,243,250,225,232,159,150,141,132,187,178,169,160,71,78,85,92,99,106,113,120,15,6,29,20,43,34,57,48,154,147,136,129,190,183,172,165,
210,219,192,201,246,255,228,237,10,3,24,17,46,39,60,53,66,75,80,89,102,111,116,125,161,168,179,186,133,140,151,158,233,224,251,242,205,196,223,214,49,56,35,42,21,28,7,14,121,112,107,98,93,84,79,70],Gb=[0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,176,187,166,173,156,151,138,129,232,227,254,245,196,207,210,217,123,112,109,102,87,92,65,74,35,40,53,62,15,4,25,18,203,192,221,214,231,236,241,250,147,152,133,142,191,180,169,162,246,253,224,235,218,209,204,199,174,165,184,179,130,137,148,159,70,77,
80,91,106,97,124,119,30,21,8,3,50,57,36,47,141,134,155,144,161,170,183,188,213,222,195,200,249,242,239,228,61,54,43,32,17,26,7,12,101,110,115,120,73,66,95,84,247,252,225,234,219,208,205,198,175,164,185,178,131,136,149,158,71,76,81,90,107,96,125,118,31,20,9,2,51,56,37,46,140,135,154,145,160,171,182,189,212,223,194,201,248,243,238,229,60,55,42,33,16,27,6,13,100,111,114,121,72,67,94,85,1,10,23,28,45,38,59,48,89,82,79,68,117,126,99,104,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,122,
113,108,103,86,93,64,75,34,41,52,63,14,5,24,19,202,193,220,215,230,237,240,251,146,153,132,143,190,181,168,163],Hb=[0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,208,221,202,199,228,233,254,243,184,181,162,175,140,129,150,155,187,182,161,172,143,130,149,152,211,222,201,196,231,234,253,240,107,102,113,124,95,82,69,72,3,14,25,20,55,58,45,32,109,96,119,122,89,84,67,78,5,8,31,18,49,60,43,38,189,176,167,170,137,132,147,158,213,216,207,194,225,236,251,246,214,219,204,193,226,239,248,245,190,179,164,
169,138,135,144,157,6,11,28,17,50,63,40,37,110,99,116,121,90,87,64,77,218,215,192,205,238,227,244,249,178,191,168,165,134,139,156,145,10,7,16,29,62,51,36,41,98,111,120,117,86,91,76,65,97,108,123,118,85,88,79,66,9,4,19,30,61,48,39,42,177,188,171,166,133,136,159,146,217,212,195,206,237,224,247,250,183,186,173,160,131,142,153,148,223,210,197,200,235,230,241,252,103,106,125,112,83,94,73,68,15,2,21,24,59,54,33,44,12,1,22,27,56,53,34,47,100,105,126,115,80,93,74,71,220,209,198,203,232,229,242,255,180,185,
174,163,128,141,154,151],Fb=[0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,224,238,252,242,216,214,196,202,144,158,140,130,168,166,180,186,219,213,199,201,227,237,255,241,171,165,183,185,147,157,143,129,59,53,39,41,3,13,31,17,75,69,87,89,115,125,111,97,173,163,177,191,149,155,137,135,221,211,193,207,229,235,249,247,77,67,81,95,117,123,105,103,61,51,33,47,5,11,25,23,118,120,106,100,78,64,82,92,6,8,26,20,62,48,34,44,150,152,138,132,174,160,178,188,230,232,250,244,222,208,194,204,65,79,93,83,121,
119,101,107,49,63,45,35,9,7,21,27,161,175,189,179,153,151,133,139,209,223,205,195,233,231,245,251,154,148,134,136,162,172,190,176,234,228,246,248,210,220,206,192,122,116,102,104,66,76,94,80,10,4,22,24,50,60,46,32,236,226,240,254,212,218,200,198,156,146,128,142,164,170,184,182,12,2,16,30,52,58,40,38,124,114,96,110,68,74,88,86,55,57,43,37,15,1,19,29,71,73,91,85,127,113,99,109,215,217,203,197,239,225,243,253,167,169,187,181,159,145,131,141];function Jb(a){this.I=a}Jb.prototype.encrypt=function(a,b){x(0==a.length%this.I.G,"Data's length must be multiple of block size.");x(b.length==this.I.G,"Initial vector must be size of one block.");var c=[],d=b;for(b=0;b<a.length;b+=this.I.G){var e=Ha(a,b,b+this.I.G);d=tb(e,d);d=this.I.encrypt(d);Fa(c,d)}return c};
Jb.prototype.decrypt=function(a,b){x(0==a.length%this.I.G,"Data's length must be multiple of block size.");x(b.length==this.I.G,"Initial vector must be size of one block.");for(var c=[],d=0,e=b;d<a.length;){b=Ha(a,d,d+this.I.G);var f=this.I.decrypt(b);e=tb(e,f);Fa(c,e);e=b;d+=this.I.G}return c};var Kb=sb("343ebcf014a7e244ba703229647cf607"),Lb=sb("429ab6bc5b161fb66503db4b4b7e310b"),Mb=sb("410f951a7436c2bcae986399fe12d772"),Nb=sb("b3ee0a61544dc2e8b07cfc41277893ac");function Ob(a,b,c){a=l(a.split(":"));var d=a.next().value;a=a.next().value;a=sb(a);d=parseInt(d,10);b=new ub(b);c=(new Jb(b)).decrypt(a,c);c=d?c.slice(0,-d):c;for(a=b=0;b<c.length;)d=c[b++],128>d||(191<d&&224>d?b++:239<d&&365>d?(b++,b++,b++,a++):(b++,b++)),a++};function I(a){this.Wa=a}I.prototype.ic=function(a,b,c){c=this.Wa.hasOwnProperty(a)?this.Wa[a]:c;if(p(c)){if(p(b)){a=this.Qb;for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];a&&(d=a(d));c=c.replace(new RegExp(d,"g"),e)}}return c}xa("unknown message id: "+a);return a};I.prototype.messages=function(){return this.Wa};I.prototype.Qb=function(a){return"%"+a.toUpperCase()+"%"};I.prototype.getMessage=I.prototype.ic;function Pb(a,b,c,d){this.Rb=new I(b);this.Nb=c;this.F=d}Pb.prototype.i18n=function(){return this.Rb};function Qb(){this.cc=new D};var J={Qc:"slidePool",sc:"authorizationForm",xc:"informationSlide",yc:"introSlide",Nc:"resultSlide",wc:"hotspotQuestion",zc:"likertScaleQuestion",Uc:"wordBankQuestion",tc:"essayQuestion",Sc:"typeInQuestion",Pc:"shortAnswerQuestion",uc:"fillInTheBlankQuestion",vc:"fillInTheBlankSurveyQuestion",Hc:"numericQuestion",Ic:"numericSurveyQuestion",Oc:"sequenceQuestion",Mc:"rankingQuestion",Tc:"whichWordQuestion",Dc:"multipleChoiceTextQuestion",Ec:"multipleChoiceTextSurveyQuestion",Cc:"multipleChoiceQuestion",
Fc:"multipleResponseQuestion",Kc:"pickOneQuestion",Jc:"pickManyQuestion",Rc:"trueFalseQuestion",Vc:"yesNoQuestion",Ac:"matchingQuestion",Bc:"matchingSurveyQuestion"};r("ispring.quiz.slides.SlideType",J,void 0);r("SLIDE_POOL","slidePool",J);r("INFORMATION_SLIDE","informationSlide",J);r("INTRO_SLIDE","introSlide",J);r("HOTSPOT_QUESTION","hotspotQuestion",J);r("LIKERT_SCALE_QUESTION","likertScaleQuestion",J);r("WORD_BANK_QUESTION","wordBankQuestion",J);r("RESULT_SLIDE","resultSlide",J);
r("ESSAY_QUESTION","essayQuestion",J);r("TYPE_IN_QUESTION","typeInQuestion",J);r("SHORT_ANSWER_QUESTION","shortAnswerQuestion",J);r("FILL_IN_THE_BLANK_QUESTION","fillInTheBlankQuestion",J);r("FILL_IN_THE_BLANK_SURVEY_QUESTION","fillInTheBlankSurveyQuestion",J);r("NUMERIC_QUESTION","numericQuestion",J);r("NUMERIC_SURVEY_QUESTION","numericSurveyQuestion",J);r("SEQUENCE_QUESTION","sequenceQuestion",J);r("RANKING_QUESTION","rankingQuestion",J);r("WHICH_WORD_QUESTION","whichWordQuestion",J);
r("MULTIPLE_CHOICE_TEXT_QUESTION","multipleChoiceTextQuestion",J);r("MULTIPLE_CHOICE_TEXT_SURVEY_QUESTION","multipleChoiceTextSurveyQuestion",J);r("MULTIPLE_CHOICE_QUESTION","multipleChoiceQuestion",J);r("MULTIPLE_RESPONSE_QUESTION","multipleResponseQuestion",J);r("PICK_ONE_QUESTION","pickOneQuestion",J);r("PICK_MANY_QUESTION","pickManyQuestion",J);r("TRUE_FALSE_QUESTION","trueFalseQuestion",J);r("YES_NO_QUESTION","yesNoQuestion",J);r("MATCHING_QUESTION","matchingQuestion",J);
r("MATCHING_SURVEY_QUESTION","matchingSurveyQuestion",J);function K(a,b,c,d,e,f){this.type=b;this.Mb=a;this.lc=c;this.maxScore=p(d)?d:null;this.mc=p(e)?e:null;this.lb=p(f)?f:null}K.prototype.kb=function(){var a={};a[Rb]=this.Mb;a[Sb]=this.lc;a[Tb]=this.maxScore;a[Ub]=this.mc;a[Vb]=this.lb;a[Wb]=this.type;return a};var Rb="e",Sb="p",Tb="m",Ub="r",Vb="s",Wb="t";function Xb(a){this.ra=a;this.V=[];this.Ba=[];this.L={}}h=Xb.prototype;h.va=-1;h.O=0;h.wa=null;h.duration=function(){return this.O};h.Ja=function(a){this.O=a};h.kb=function(){var a={};a[Yb]=this.O;a[Zb]=this.va;a[$b]=this.V;a[ac]=this.Ba;a[bc]=this.ra;a[cc]=this.wa;var b={},c;for(c in this.L)b[c]=this.L[c].kb();a[dc]=b;return a};var Zb="l",$b="v",ac="vh",bc="V",Yb="d",cc="p",dc="q";function ec(a){for(var b=0,c=0;c<a.length;++c)b+=a[c];return b};function fc(a,b,c,d,e,f){this.S=a;this.bc=b;this.ec=e;this.Xb=f;this.J={};for(a=0;a<c.length;++a)b=c[a],e=b[1],this.J[b[0]]=e,0<e&&++this.ia;this.ba={};for(a=0;a<d.length;++a)c=d[a],b=c[1],this.ba[c[0]]=b,0<b&&++this.ia}h=fc.prototype;h.ia=0;h.slidesWeight=function(){return 0<this.S?this.bc:0};h.slidesToView=function(){return this.S};h.totalScore=function(){return this.ec};h.passingScore=function(){return this.Xb};function gc(a,b,c,d){this.dc=a;this.Qa=b;this.ac=c;this.Tb=d}gc.prototype.timeLimit=function(){return this.dc};gc.prototype.message=function(){return this.Tb};function hc(a,b){this.hb=a;this.Hb=b;this.Ib=new D}h=hc.prototype;h.gb=!1;h.aa=0;h.ya=0;h.za=-1;h.Aa=0;h.Oa=0;h.started=function(){return this.gb};h.start=function(a){this.started()||(this.Aa=this.aa=a||0,a=this.aa>=this.hb,a&&this.Hb||(this.gb=!0,this.ya=ra(),a||(this.za=setTimeout(w(this.$a,this),this.hb-this.aa))))};h.$a=function(){this.Hb&&(this.stop(),this.Aa=this.hb);this.Ib.Ea()};
h.stop=function(){this.started()&&(this.gb=!1,0<this.za&&(clearTimeout(this.za),this.za=-1),this.Oa=ra()-this.ya,this.Aa=this.Oa+this.aa)};function ic(a,b,c){var d=window.iSpring.LMSAPI;switch(a){case "1.2":return new d.Scorm12Api(b);case "2004":return new d.Scorm2004Api(b);case "aicc":return new d.AiccApi(b);case "tincan":return new d.TinCanApi(b,c);case "cmi-5":return new d.Cmi5Api(b,c);default:throw Error("unknown api");}};function jc(a,b){this.ma=a;this.Ub=b;this.Pb=""}jc.prototype.id=function(){return this.ma};jc.prototype.name=function(){return this.Ub};jc.prototype.email=function(){return this.Pb};function kc(a){this.ma=a}h=kc.prototype;h.N="";h.s=null;h.v=null;h.oa="unanticipated";h.Db=0;h.La=null;h.O=null;h.ib=null;h.C=null;h.id=function(){return this.ma};h.type=function(){return this.h};h.description=function(){return this.N};h.pb=function(){return this.s};function lc(a,b){a.v=b}h.result=function(){return this.oa};h.score=function(){return this.Db};h.fa=function(a){this.Db=a};h.awardedScore=function(){return this.La};h.duration=function(){return this.O};h.Ja=function(a){this.O=a};h.qb=function(){return this.ib};
h.Da=function(){return this.C};function mc(a,b){a.C=b};function L(a){a=Ja(a);return a=a.replace(/[^\w-]/g,"_")}function nc(a,b){return"0123456789abcdefghijklmnopqrstuvwxyz"[((null!=b?b:1)?a:35-a)%36]};function oc(a,b){this.i=a;this.eb=b};function M(a){var b=a.qc,c=a.slideIndex;this.g=a.nc;this.Jb=b;this.m=!1;this.Fb=c}M.prototype.create=function(a){if(!a.submitted())return null;var b=(p(this.Fb)?"Slide"+this.Fb+"_":"")+"Q_"+a.slide().id();b=new kc(L(b));this.a(b,a);return b};
M.prototype.a=function(a,b){var c=b.slide();c=O(this,c.description(),!0);a.N=c;b.hasBeenVisited()&&(a.Ja(b.visitDuration()),c=b.firstVisitTime(),a.ib=c);if(c=b.slide().settings().evaluation()){if(a.fa(b.maxScore()),b=b.review()){var d=Math.max(0,b.awardedScore());a.La=d;d="unanticipated";switch(b.status()){case "correct":d="correct";break;case "incorrect":case "partially":d="incorrect"}a.oa=d}}else a.oa="neutral";this.m=!!c};function pc(a,b){return b.join(a.g?",":"[,]")}
function P(a,b,c){return a.g?nc(b):L(b+"_"+c)}function O(a,b,c){return b.textWithEquations(a.g||!c?"Equation":"")};function Q(a,b){this.ma=a;this.N=b}Q.prototype.id=function(){return this.ma};Q.prototype.description=function(){return this.N};function qc(){this.c=[]}qc.prototype.count=function(){return this.c.length};function R(a,b){a.c.push(b)}qc.prototype.getChoice=function(a){if(0>a||a>=this.count())throw Error("Index out of bounds");return this.c[a]};function rc(){this.fb=new qc;this.qa=new qc};function sc(a){M.apply(this,arguments)}m(sc,M);h=sc.prototype;h.a=function(a,b){M.prototype.a.call(this,a,b);a.h="matching";var c=b.contentState(),d=b.slide().content(),e=this.bb(d);b=e.Da;var f=e.premises,g=e.responses;e=e.kc;c=this.Ta(c.chainsStates(),f,g,e);a.s=c;this.m&&(c=[this.m?this.Ua(d.chains(),f,g,e):c],a.v=c);a.C=b};
h.bb=function(a){var b=new rc,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();R(b.fb,new Q(L(c.indexOf(e)+"_"+g),g))}f&&0>d.indexOf(f)&&(d.push(f),e=f.name(),R(b.qa,new Q(L(d.indexOf(f)+"_"+e),e)))}a=this.g?nc(d.length,!1):d.length+"_None";R(b.qa,new Q(a,"None"));return{Da:b,premises:c,responses:d,kc:a}};
h.Ta=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.Z(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.Z(a.value,null,b,c,d),e.push(a);return this.ja(e)};
h.Ua=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.Z(f,g,b,c,d),e.push(f))}return this.ja(e)};h.la=function(a,b,c){this.g?b=nc(b,c):(a=a.name(),a=L(a),b=b+"_"+a);return b};h.Z=function(a,b,c,d,e){a=this.la(a,c.indexOf(a),!0);b=b?this.la(b,d.indexOf(b),!1):e;d=this.g?".":"[.]";return L(a)+d+L(b)};h.ja=function(a){return a.join(this.g?",":"[,]")};function tc(a){M.apply(this,arguments)}m(tc,M);tc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="long-fill-in";b=b.contentState().response();a.s=b};function uc(a){M.apply(this,arguments)}m(uc,M);uc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h=this.g?"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.Jb?d.push(e[0]):d.push(e.join("[,]")));a.s=b.join("[,]");if(this.m){b=d;if(this.g||this.Jb)b=[b.join(this.g?"[.]":"[,]")];a.v=b}};function S(){this.c=new qc};function vc(a){M.apply(this,arguments)}m(vc,M);vc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="choice";var c=[],d=[],e=new S;this.Ra(b.contentState(),e,d,c);a.s=pc(this,c);this.m&&(a.v=[pc(this,d)]);a.C=e};
vc.prototype.Ra=function(a,b,c,d){var e=this;a.areas().forEach(function(f,g){var k=f.area(),t=k.label().text();g=P(e,g,t);k.correct()&&c.push(g);a.areaSelected(f)&&d.push(g);R(b.c,new Q(g,t))});for(var f=a.areas().length,g=f;g<f+a.freePointsCount();++g){var k=P(this,g,"Untitled_Spot");d.push(k)}};function wc(a){M.apply(this,arguments)}m(wc,M);wc.prototype.a=function(a,b){var c=this;M.prototype.a.call(this,a,b);a.h="choice";var d=[],e=new S;b.contentState().statementsStates().forEach(function(a,b){var f=a.statement().text();R(e.c,new Q(P(c,b,f),f));(a=a.selectedScale())&&d.push(L(b+"_"+a.text()))});a.s=pc(this,d);a.C=e};function xc(a){M.apply(this,arguments)}m(xc,M);h=xc.prototype;h.a=function(a,b){M.prototype.a.call(this,a,b);a.h="matching";var c=b.contentState(),d=b.slide().content(),e=this.bb(d);b=e.Da;var f=e.premises;e=e.responses;c=this.Ta(c.matches(),f,e,this.g);a.s=c;this.m&&(c=[this.Ua(d.matches(),this.g)],a.v=c);a.C=b};
h.bb=function(a){for(var b=new rc,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=O(this,g.premise().textRange(),!1);g=O(this,g.response().textRange(),!1);R(b.fb,new Q(L(f+"_"+k),k));R(b.qa,new Q(L(f+"_"+g),g))}a=a.distractors();for(e=0;e<a.count();++e)f=a.getChoice(e),d.push(f),f=O(this,f.textRange(),!1),R(b.qa,new Q(L(e+"_"+f),f));return{Da:b,premises:c,responses:d}};
h.Ta=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=y(b,f),t=y(c,g);f=this.Z(f,k,g,t,d);e.push(f)}return this.ja(e,d)};h.Ua=function(a,b){for(var c=[],d=0;d<a.count();++d){var e=a.getChoice(d);e=this.Z(e.premise(),d,e.response(),d,b);c.push(e)}return this.ja(c,b)};h.la=function(a,b,c,d){return c?nc(b,d):b+"_"+O(this,a.textRange(),!1)};
h.Z=function(a,b,c,d,e){a=this.la(a,b,e,!0);c=this.la(c,d,e,!1);e=e?".":"[.]";return L(a)+e+L(c)};h.ja=function(a,b){return a.join(b?",":"[,]")};function yc(){this.c=new qc;this.rb=[]}sa(yc,S);function T(a){M.apply(this,arguments)}m(T,M);T.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="choice";var c=b.slide();b=b.contentState();var d=c.content();c=this.Va(c.content(),b);a.s=c;if(this.m){a:{for(c=0;c<d.count();++c){var e=d.getChoice(c);if(e.correct()){c=P(this,c,O(this,e.textRange(),!1));break a}}c=""}a.v=[c]}b=this.ka(d,b);a.C=b};
T.prototype.ka=function(a,b){var c=new S;if(this.sb()){c=new yc;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.rb[g]=e)}}for(b=0;b<a.count();++b)d=a.getChoice(b),d=O(this,d.textRange(),!1),R(c.c,new Q(L(b+"_"+d),d));return c};T.prototype.sb=function(){return!this.m};
T.prototype.Va=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()),P(this,a,O(this,d.choice().textRange(),!1))}return""};function zc(a){M.apply(this,arguments)}m(zc,M);zc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h=this.g?"other":"matching";var c=[],d=[],e=new S;b.contentState().placeholders().forEach(function(a,b){var f=a.response(),g=a.correctAnswer();a.answers().forEach(function(a){var k=e.c.count();k=b+"[.]"+L(k+"_"+a);a==g&&d.push(k);a==f&&c.push(k);R(e.c,new Q(k,a))})});a.s=c.join("[,]");this.m&&lc(a,[d.join("[,]")]);mc(a,Ac(b.slide().content()))};
function Ac(a){var b=new rc,c=0;Ca(a.placeholders(),function(a,e){e+="";R(b.fb,new Q(e,e));a.values.forEach(function(a){a=a.text();var d=c++ +"_"+a;d=L(d);R(b.qa,new Q(d,a))})});return b};function Bc(a){M.apply(this,arguments)}m(Bc,M);Bc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="choice";var c=b.slide().content(),d=this.Va(c,b.contentState());a.s=d;this.m&&(d=[this.Sa(c)],a.v=d);b=this.ka(c,b.contentState());a.C=b};
Bc.prototype.ka=function(a,b){var c=new S;if(!this.m){c=new yc;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.rb[g]=e)}}for(b=0;b<a.count();++b)d=a.getChoice(b),d=O(this,d.textRange(),!1),R(c.c,new Q(L(b+"_"+d),d));return c};
Bc.prototype.Va=function(a,b){for(var c=[],d=0;d<b.count();++d){var e=b.getChoiceState(d),f=e.choice(),g=O(this,f.textRange(),!1);e.selected()&&(e=a.getChoiceIndex(f),g=P(this,e,g),c.push(g))}return pc(this,c)};Bc.prototype.Sa=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getChoice(c);d.correct()&&(d=P(this,c,O(this,d.textRange(),!1)),b.push(d))}return pc(this,b)};function Cc(a){M.apply(this,arguments)}m(Cc,M);
Cc.prototype.a=function(a,b){M.prototype.a.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.h=this.g||d?"fill-in":"numeric";a.s=b;if(this.m){d=(b=this.g||d)?"[,]":"[.]";for(var e=[],f=0;f<c.count();++f){var g="",k=c.getAnswer(f),t=k.comparisonOperation();if("between"==t)t=k,g=t.leftOperand(),t=t.rightOperand(),g=b?"between "+g+" and "+t:g+"[:]"+t;else switch(k=k.operand(),
t){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 Dc(a){M.apply(this,arguments)}m(Dc,M);Dc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="sequencing";var c=b.slide().content();b=Ec(this,c,b.contentState().studentResponse(),this.g);a.s=b;this.m&&(b=[Ec(this,c,c,this.g)],a.v=b);c=this.ka(c);a.C=c};Dc.prototype.ka=function(a){for(var b=new S,c=0;c<a.count();++c){var d=a.getChoice(c).textRange().text();R(b.c,new Q(L(c+"_"+d),d))}return b};
function Ec(a,b,c,d){var e=d?",":"[,]",f=[];c.forEach(function(c){var e=O(a,c.textRange(),!1);c=b.getChoiceIndex(c);f.push(L(d?nc(c,!0):c+"_"+e))});return f.join(e)};function Fc(a){T.apply(this,arguments)}m(Fc,T);Fc.prototype.a=function(a,b){T.prototype.a.call(this,a,b);if(this.g&&this.m){a.h="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.s=f;a.v=[d]}};Fc.prototype.sb=function(){return!1};function Gc(a){M.apply(this,arguments)}m(Gc,M);Gc.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h="fill-in";var c=b.slide();b=b.contentState().response().text();a.s=b;this.m&&(c=this.Sa(c.content()),a.v=c)};Gc.prototype.Sa=function(a){for(var b=[],c=0;c<a.count();++c){var d=a.getChoice(c);b.push(d.textRange().text())}return b};function Hc(a,b){this.length=b;for(var c=0;c<b;++c)this[c]=a(c)};function Ic(a){M.apply(this,arguments)}m(Ic,M);Ic.prototype.a=function(a,b){M.prototype.a.call(this,a,b);a.h=this.g?"other":"choice";var c=b.slide().content(),d=[],e=new S;c=c.extraWords();c=l(c);for(var f=c.next();!f.done;f=c.next()){f=f.value.text();var g=e.c.count();g=L(g+"_"+f);R(e.c,new Q(g,f))}b=b.contentState().placeholders();this.m&&(c=[],this.Ra(b,e,c),a.v=[c.join("[,]")]);Jc(b,e,d);a.s=d.join("[,]");a.C=e};
Ic.prototype.Ra=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.c.count();e=L(e+"_"+d);c.push(e);R(b.c,new Q(e,d))}};function Jc(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;d={ta:d.ta},e=a.next())d.ta=e.value.response(),null!=d.ta&&(e=new Hc(function(a){return b.c.getChoice(a)},b.c.count()),e=Da(e,function(a){return function(b){return Ja(b.description())==a.ta}}(d)),x(null!=e),c.push(e.id()))};var U={},Kc=(U.FillInTheBlank=uc,U.WordBank=Ic,U.TypeIn=Gc,U.Numeric=Cc,U.MultipleChoice=T,U.MultipleResponse=Bc,U.MultipleChoiceText=zc,U.Sequence=Dc,U.Matching=xc,U.TrueFalse=Fc,U.Essay=tc,U.Hotspot=vc,U.LikertScale=wc,U.DND=sc,U);var Lc=!C||9<=Number(lb),Mc;
if(Mc=C){var Nc;if(Object.prototype.hasOwnProperty.call(kb,"9"))Nc=kb["9"];else{for(var Oc=0,Pc=Ja(String(gb)).split("."),Qc=Ja("9").split("."),Rc=Math.max(Pc.length,Qc.length),Sc=0;0==Oc&&Sc<Rc;Sc++){var Tc=Pc[Sc]||"",Uc=Qc[Sc]||"";do{var Vc=/(\d*)(\D*)(.*)/.exec(Tc)||["","","",""],Wc=/(\d*)(\D*)(.*)/.exec(Uc)||["","","",""];if(0==Vc[0].length&&0==Wc[0].length)break;Oc=Sa(0==Vc[1].length?0:parseInt(Vc[1],10),0==Wc[1].length?0:parseInt(Wc[1],10))||Sa(0==Vc[2].length,0==Wc[2].length)||Sa(Vc[2],Wc[2]);
Tc=Vc[3];Uc=Wc[3]}while(0==Oc)}Nc=kb["9"]=0<=Oc}Mc=!Nc}var Xc=Mc;function Yc(a,b){Xa(b,function(b,d){b&&"object"==typeof b&&b.Yc&&(b=b.Xc());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Zc.hasOwnProperty(d)?a.setAttribute(Zc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}
var Zc={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 $c(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!Lc&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',Ka(g.name),'"');if(g.type){f.push(' type="',Ka(g.type),'"');var k={};$a(k,g);delete k.type;g=k}f.push(">");f=f.join("")}f=e.createElement(f);g&&(q(g)?f.className=g:"array"==u(g)?f.className=g.join(" "):Yc(f,g));2<d.length&&ad(e,f,d);return f}
function ad(a,b,c){function d(c){c&&b.appendChild(q(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];!ma(f)||na(f)&&0<f.nodeType?d(f):Ca(bd(f)?Ea(f):f,d)}}function cd(a){var b=document.body;x(null!=b&&null!=a,"goog.dom.appendChild expects non-null arguments");b.appendChild(a)}var dd={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},ed={IMG:" ",BR:"\n"};
function fd(a){if(Xc&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];gd(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Xc||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}
function gd(a,b,c){if(!(a.nodeName in dd))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in ed)b.push(ed[a.nodeName]);else for(a=a.firstChild;a;)gd(a,b,c),a=a.nextSibling}function bd(a){if(a&&"number"==typeof a.length){if(na(a))return"function"==typeof a.item||"string"==typeof a.item;if("function"==u(a))return"function"==typeof a.item}return!1};function hd(a,b){if("function"!=u(a))if(a&&"function"==typeof a.handleEvent)a=w(a.handleEvent,a);else throw Error("Invalid listener argument");2147483647<Number(b)||n.setTimeout(a,b||0)};var id=A("Firefox"),jd=A("Safari")&&!((A("Chrome")||A("CriOS"))&&!A("Edge")||A("Coast")||A("Opera")||A("Edge")||A("Silk")||A("Android"))&&!(ab()||A("iPad")||A("iPod"));var kd=null,ld=db||eb&&!jd||bb||"function"==typeof n.btoa;function md(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 nd(a){a=String(a);if(md(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);}function od(a){this.Ha=a}od.prototype.serialize=function(a){var b=[];pd(this,a,b);return b.join("")};
function pd(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],pd(a,a.Ha?a.Ha.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),qd(d,c),c.push(":"),pd(a,a.Ha?a.Ha.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":qd(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 rd={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},sd=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;
function qd(a,b){b.push('"',a.replace(sd,function(a){var b=rd[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),rd[a]=b);return b}),'"')};function td(a){var b={width:"1px",height:"1px",border:"0"};if(q(b))(b=ud(a,b))&&(a.style[b]=void 0);else for(var c in b){var d=a,e=b[c],f=ud(d,c);f&&(d.style[f]=e)}}var vd={};function ud(a,b){var c=vd[b];if(!c){var d=Ta(b);c=d;void 0===a.style[d]&&(d=(eb?"Webkit":db?"Moz":C?"ms":bb?"O":null)+Ua(d),void 0!==a.style[d]&&(c=d));vd[b]=c}return c};function wd(a,b){this.h=a;this.Ob=b||[]}r("iSpring.ios.mobile.MobileAppCommand",wd,void 0);wd.prototype.id=function(){return this[v]||(this[v]=++oa)};function xd(a){try{var b=document.createElement("iframe");td(b);b.src=a;cd(b);hd(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,r("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;r("Float64Array",W,void 0)};function yd(){var a=window.location.search.substr(1);if(a){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}}}else b={};return b};function zd(a){var b="\r";if(0==a.length)return"";null!=b||(b="");var c=0,d="",e=a.length;do{var f=Ad(a,["<p>","<p "],c);if(f&&f.Ga>c){c=a.substr(c,f.Ga-c);var g=$c("DIV");g.innerHTML=c;d+=(g.textContent||g.innerText||fd(g))+b;c=f.Ga}if(g=Ad(a,["</p>","</p >"],c)){f=g.Ga+g.oc.length-c;var k=a.substr(c,f);g=$c("DIV");g.innerHTML=k;d+=(g.textContent||g.innerText||fd(g))+b;c+=f}else return g=$c("DIV"),g.innerHTML=a.substr(c,e-c),d+(g.textContent||g.innerText||fd(g))}while(c<e);return d}
function Ad(a,b,c){"array"==u(b)||(b=[b]);var d=void 0,e=void 0;Ca(b,function(b){var f=a.indexOf(b,c);0<=f&&(!p(d)||f<d)&&(d=f,e=b)});return p(e)&&p(d)?new Bd(e,d):null}function Bd(a,b){this.oc=a;this.Ga=b};function Cd(a,b,c,d){this.eb=a;this.Zb=b;this.$b=c;this.Yb=d;this.cb=void 0}function Dd(a){a=zd(a.text());a=Ka(a);if(!a)return"";var b=document.createElement("div");b.innerHTML=a;return b.firstChild.nodeValue}
Cd.prototype.create=function(){var a=0,b=[],c=this.Zb,d=this.Yb,e=new kc(c.id()+"_"+a);a+=1;e.h="choice";if(null!=c.message()){var f=c.message().text();f=zd(f);e.N=f;f=c.message().replies();null!=c.speech()&&0<zd(c.speech())&&(a=new kc(c.id()+"_"+a),a.h="other",c=zd(c.speech()),a.N=c,a.oa="neutral",Ed(this,a),b.push(a))}else f=zd(c.speech()),e.N=f,f=c.replies();0==f.count()&&(e.h="other");c=null;for(var g=a=0,k=-1,t=[],E=0;E<f.count();E++){var N=f.getReply(E);null!=d&&N==d&&(k=E);a=Math.max(a,N.score());
t.push(Fd(this,E,Dd(N)))}null!=d&&(c=Fd(this,k,Dd(d)),g=Math.max(g,d.score()));d=f;f=new S;for(k=0;k<d.count();++k)E=Dd(d.getReply(k)),R(f.c,new Q(L(k+"_"+E),E));e.C=f;e.s=c;e.v=t;this.eb.scenario().settings().evaluationSettings().enabled()&&(e.fa(a),e.La=g);e.oa="neutral";Ed(this,e);b.push(e);return b};function Fd(a,b,c){c=L(b+"_"+c);b=nc(b);return a.$b?b:c}function Ed(a,b){null!=a.cb&&(b.ib=new Date(a.cb),b.Ja(ra()-a.cb))};function Gd(){function a(a){try{for(var b=0;255>b;++b){if(a.API_1484_11)return a.API_1484_11;var c=a.parent;if(!c||a==c)break;a=c}}catch(f){}return null}var b=window;return a(b)||b.opener&&a(b.opener)}function Hd(a){return"PT"+Math.floor(a/3600)+"H"+Math.floor(a%3600/60)+"M"+Math.floor(a%60)+"S"}function Id(a){return 10>a?"0"+a:a}
function Jd(){if(Kd)if(Kd){var a=new wd("closeWindow");if(Kd){var b=a.h,c=a.Ob;a=a.id();var d=(new od(null)).serialize(c);if(ld)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(ma(c),"encodeByteArray takes an array as a parameter");if(!kd)for(kd={},d=0;65>d;d++)kd[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d);d=kd;e=[];for(f=0;f<c.length;f+=3){var k=c[f],t=(g=f+1<c.length)?c[f+1]:0,E=f+2<c.length,
N=E?c[f+2]:0,Qd=k>>2;k=(k&3)<<4|t>>4;t=(t&15)<<2|N>>6;N&=63;E||(N=64,g||(t=64));e.push(d[Qd],d[k],d[t],d[N])}c=e.join("")}xd("isplayer://"+b+"/"+a+"/"+c)}}else try{Ld||(window.open("","_self",""),window.close())}catch(le){}else try{Ld||(window.Ia=window,b=Md(),b==window.top?(window.open("","_self",""),window.close()):Nd(b))}catch(le){Nd(window.top)}}function Nd(a){if(a&&a.Ia){var b=document.createElement("a");b.href="data/goodbye.html";a.Ia.location.replace(b.href)}}
function Md(){var a=window;if(a.Ia)return a;for(var b=0;a!=window.top&&100>b++;){if(a.Ia)return a;a=a.parent}console.log("Unable to locate content root");return null}function Od(){try{var a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(b){}};var Pd={Lc:"prompt",rc:"always",Gc:"never"};r("ispring.presenter.presentation.settings.PresentationResumeMode",Pd,void 0);r("PROMPT_TO_RESUME","prompt",Pd);r("ALWAYS_RESUME","always",Pd);r("NEVER_RESUME","never",Pd);(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 Rd,Sd=yd().user_agent;Rd=Sd?Sd:z||"";yd();yd();var Td=-1!=Rd.toLowerCase().indexOf("chrome"),Ld=-1==Rd.toLowerCase().indexOf("windows phone")&&-1!=Rd.toLowerCase().indexOf("android")&&!Td&&!id&&!bb,Kd=-1!=Rd.indexOf("ismobile"),Ud=document.createElement("audio"),Vd=Ud.play&&Ud.play();Vd&&Vd.then(function(){Ud.pause()},function(){});yd();yd();
function Wd(){return 1==window._ispringDebug||"1"==yd().isdebug}if(A("Windows")){var Xd=z,X;if(A("Windows")){X=/Windows (?:NT|Phone) ([0-9.]+)/;var Yd=X.exec(Xd)}else ab()||A("iPad")||A("iPod")?(X=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,(Yd=X.exec(Xd))&&Yd[1].replace(/_/g,".")):A("Macintosh")?(X=/Mac OS X ([0-9_.]+)/,(Yd=X.exec(Xd))&&Yd[1].replace(/_/g,".")):A("Android")?(X=/Android\s+([^\);]+)(\)|;)/,Yd=X.exec(Xd)):A("CrOS")&&(X=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,Yd=X.exec(Xd))}
setTimeout(function(){za=Wd},0);function Y(a,b){try{this.Ka=a;this.ua={};this.Na=null;this.P=new fc(b.slidesToView,b.slidesWeight,b.quizzes||{},b.scenarios||{},b.totalScore,b.passingScore);this.T=new gc(1E3*b.timeLimit,b.exitOnTimeout,b.showMessageOnTimeout,b.timeoutMessage);this.ca=new hc(this.T.timeLimit(),this.T.Qa);var c=b.tincan.auth,d=c.login;d&&Ob(d,Nb,Lb);var e=c.password;e&&Ob(e,Mb,Kb);this.F="never"!=b.resumeMode;var f=new Pb("ispring://presentations/"+encodeURIComponent(b.presentationId),b.tincan.i18n,b.scorm2004?b.scorm2004.edition:
"",this.F);this.Eb=new Qb;this.i=ic(a,f,this.Eb)}catch(g){Wd()&&alert(g)}}h=Y.prototype;h.H=!1;h.na=null;h.M=!1;h.o=null;h.R=null;h.Gb=!1;h.A=null;h.K=null;var Zd=h.pa=null;r("iSpring.LMS.create",function(a,b,c){x(!Zd);return Zd=new Y(b,c)},void 0);r("iSpring.LMS.instance",function(){return x(Zd)},void 0);Y.prototype.X=function(a){this.na=a;null!=this.i?this.i.X(w(this.Vb,this),w(this.wb,this)):this.wb()};Y.prototype.initialize=Y.prototype.X;
Y.prototype.Vb=function(){this.$=this.i.Fa();var a=null;var b=this.i.j.W("cmi.suspend_data");if(b)a:{b=LZString.decompressFromBase64(b);try{var c=nd(b);break a}catch(d){}c=null}else c=null;switch(this.$){case "browse":a=null;break;case "review":c&&(a=$d(this,c));break;case "normal":this.F&&c&&(a=$d(this,c))}window.launchMode=this.$;p(a)&&(this.H=!0,this.na&&this.na(a))};
function $d(a,b){var c=new Xb(B(b,bc,[]));c.O=B(b,Yb,0);c.va=B(b,Zb,-1);c.V=B(b,$b,[]);c.Ba=B(b,ac,[]);c.wa=B(b,cc,null);var d={};b=B(b,dc,{});for(var e in b){var f=b[e];d[e]=new K(f[Rb],f[Wb],f[Sb],f[Tb],f[Ub],f[Vb])}c.L=d;a.R=c;c=a.R.duration();if(a.T.Qa&&c>=a.T.timeLimit())alert("You have already exceeded available time for viewing this content."),Od(),Jd();else return a.R.wa}Y.prototype.wb=function(){this.na&&this.na()};
Y.prototype.start=function(a){if(this.H){for(var b=a.presentation().slides(),c=[],d=0;d<b.visibleSlidesCount();++d){var e=b.getVisibleSlide(d).index();c.push(e)}this.f=new Xb(c);this.o=a;this.M=!0;this.Eb.cc.Ea(a.presentation().title());a.startupEvent().addHandler(this.xb,this);a.startupCompletedEvent().addHandler(this.yb,this);a.closeWindowEvent().addHandler(this.tb,this)}};Y.prototype.start=Y.prototype.start;
Y.prototype.xb=function(a){this.o.startupEvent().removeHandler(this.xb,this);var b=(this.F||"review"==this.$)&&this.R?this.R.va:-1;0<=b?(a.setSlideIndex(b),a.setAction("resumePlayback")):(b=this.o.view().playbackController().firstSlideIndex(),a.setSlideIndex(b),a.setAction("gotoSlide"))};
Y.prototype.yb=function(a,b){this.o.startupCompletedEvent().removeHandler(this.yb,this);this.Gb=!0;"resumePlayback"==a&&this.R&&(this.f=this.R);a=this.f.duration();this.ca.started()||(this.ca.Ib.addHandler(this.$a,this),this.ca.start(a));a=this.o.view().playbackController();a.slideChangeEvent().addHandler(this.Xa,this);a=a.currentSlideIndex();a==b&&this.Xa(a);this.o.stateChangedEvent().addHandler(this.zb,this)};Y.prototype.Kb=function(){this.M&&ae(this,this.F)};Y.prototype.closeLms=Y.prototype.Kb;
function ae(a,b){a.M&&(a.M=!1,a.Gb&&(a.ca.stop(),be(a),a.o.view().playbackController().slideChangeEvent().removeHandler(a.Xa,a)),a.o.closeWindowEvent().removeHandler(a.tb,a),a.o.stateChangedEvent().removeHandler(a.zb,a),b?a.i.suspend():a.i.terminate())}h=Y.prototype;
h.Xa=function(a){if(this.A){var b=this.A;b.currentSessionChangedEvent().removeHandler(this.ub,this);(b=b.currentSession())&&ce(this,b);this.A=null}this.K&&(this.K.currentSessionChangedEvent().removeHandler(this.vb,this),null!=this.pa&&de(this),this.K=null);b=this.o.view().playbackController();if(a in this.P.J){var c=this.A=b.quizPlayer(),d=(c[v]||(c[v]=++oa))+"";d in this.ua||(this.ua[d]=!0,(d=ee(this.i.j))&&c.setUserInfo(d.id(),{USER_NAME:d.name(),USER_EMAIL:d.email()}));c.currentSessionChangedEvent().addHandler(this.ub,
this);(c=c.currentSession())&&fe(this,c)}a in this.P.ba&&(b=this.K=b.scenarioPlayer(),c=(b[v]||(b[v]=++oa))+"",c in this.ua||(this.ua[c]=!0,c=ee(this.i.j),d=!b.userInfoIsLoaded(),c&&d&&b.setUserInfo(c.id(),{USER_NAME:c.name(),USER_EMAIL:c.email()})),c=b.currentSession(),null!=c&&ge(this,c),b.currentSessionChangedEvent().addHandler(this.vb,this));b=this.o.presentation().slides().getSlide(a);"normal"==this.$&&b.title()&&b.title();b=this.f;0<=b.ra.indexOf(a)?(b=b.V,0<=y(b,a)||b.push(a)):(b=b.Ba,0<=y(b,
a)||b.push(a));this.f.va=a;he(this)};function be(a){var b=a.ca;b=b.started()?ra()-b.ya+b.aa:b.Aa;var c=a.ca;c=c.started()?ra()-c.ya:c.Oa;a.f.Ja(b);a.i.j.b("cmi.session_time",Hd(c/1E3));b=a.o.persistState();a.f.wa=b;b=a.i.j;a=(new od(void 0)).serialize(a.f.kb());a=LZString.compressToBase64(a);a.length<=("2"==b.l.Pa?4E3:64E3)&&b.b("cmi.suspend_data",a)}
function he(a){var b=a.P;if(0<b.S||0<b.ia){var c=ie(a),d=b.totalScore()*c;a.i.fa(c,0,b.totalScore(),d)}a.i.nb(a.f.V.length/a.f.ra.length);a.i.ob(je(a),ke(a));be(a);a.i.ea()}function je(a){var b=a.P,c;if(!(c=!(0<b.S||0<b.ia))&&(c=a.F)){a:if(c=a.f,c=c.V.concat(c.Ba),0<a.P.S&&0<c.length)var d=!0;else{var e=a.f.L;for(d in e){var f=parseInt(d,10);if(e[d].Mb&&-1!=y(c,f)){d=!0;break a}}d=!1}c=!d}return c?null:ie(a)*b.totalScore()>=b.passingScore()}
function ke(a){var b=a.P,c=a.f.V,d=a.f.ra,e=a.f.L;a=a.o.presentation().slides();for(var f=0;f<a.count();++f)if(d.includes(f)&&!c.includes(f)||(f in b.J||f in b.ba)&&!e[f+""])return!1;return!0}
function ie(a){var b=a.P;if(!(0<b.S||0<b.ia))return 0;var c=0,d=a.f.L,e;for(e in d){var f=d[e],g=parseInt(e,10);c+=(null!=f.lb?f.lb:1)*(null!=(g in b.J?b.J[g]:null)?g in b.J?b.J[g]:0:g in b.ba?b.ba[g]:0)}d=0;0<b.S&&(d=a.f.V.length/a.f.ra.length*b.slidesWeight());a=ec(Ya(b.J))+ec(Ya(b.ba))+b.slidesWeight();return(c+d)/a}h.vb=function(){null!=this.pa&&de(this);var a=this.K.currentSession();ge(this,a)};
function ge(a,b){"normal"==a.$&&(a.pa=b,b.showTerminalSceneEvent().addHandler(a.Za,a),b.onReplySelectedEvent().addHandler(a.Ya,a),b.scenario().id(),b.scenario().title(),b.completed()&&a.Za())}function de(a){var b=a.pa;a.pa=null;b.showTerminalSceneEvent().removeHandler(a.Za,a);b.onReplySelectedEvent().removeHandler(a.Ya,a)}
h.Za=function(){var a=this.K.currentSession();x(a);var b=a.currentSceneState().scene();null!=b&&(null!=b.speech()&&0<b.speech().length||null!=b.message()&&0<b.message().text().length)&&this.Ya();if(a.scenario().settings().evaluationSettings().enabled()){b=Math.max(0,a.maxScore());var c=Math.max(0,a.userScore()),d=0<b-0?c/(b-0):1;b=new K(!0,"scenario",a.scenarioPassed(),b,c,d)}else b=new K(!1,"scenario",!0);c=this.o.view().playbackController().currentSlideIndex();this.f.L[c+""]=b;a.duration();a.scenario().settings().evaluationSettings().enabled()&&
(a.maxScore(),a.userScore(),a.scenarioPassed());a.scenario().id();a.scenario().title();he(this)};h.Ya=function(a){var b=this.K.currentSession();x(b);var c=b.currentSceneState().scene();null!=c&&(a=(new Cd(b,c,"1.2"==this.Ka,a)).create(),Ca(a,function(a){if("tincan"==this.Ka||"choice"==a.type()){var c="/scenarios/"+b.scenario().id();a.id();a.type();this.i.Ca(c,a)}},this))};
function fe(a,b){if("normal"==a.$){b.sessionModeChangedEvent().addHandler(a.Bb,a);var c=b.slidePoolState();c=l(c.questions());for(var d=c.next();!d.done;d=c.next())d.value.submittedEvent().addHandler(a.Ab,a);a.A.id();b.quiz().title()}}function ce(a,b){b.sessionModeChangedEvent().removeHandler(a.Bb,a);b=b.slidePoolState();b=l(b.questions());for(var c=b.next();!c.done;c=b.next())c.value.submittedEvent().removeHandler(a.Ab,a)}
h.ub=function(){var a=this.A.currentSession();this.Na&&ce(this,this.Na);(this.Na=a)&&fe(this,a)};
h.Bb=function(a){if("testing"==a){a=this.A.currentSession();x(a);var b;if(b=a.evaluation()){var c=b.maxScore(),d=b.awardedScore(),e=b.awardedPercent()/100;b=new K(!0,"quiz",b.quizPassed(),c,d,e)}else b=new K(!1,"quiz",!0);c=this.o.view().playbackController().currentSlideIndex();this.f.L[c+""]=b;a.quizDuration();if(b=a.evaluation())b.maxScore(),b.awardedScore(),b.quizPassed(),b=this.A.currentSession(),x(b),(new oc(this.i,b)).eb.settings();this.A.id();a.quiz().title();he(this)}};
h.Ab=function(a){var b=this.A.currentSession();x(b);if(a.initiated()){b=this.o.view().playbackController().currentSlideIndex()+1;var c=a.slide().type(),d=this.Ka;if(a=(new Kc[c]({nc:"1.2"==d||"aicc"==d,qc:"tincan"==d,slideIndex:b})).create(a))b="/quizzes/"+this.A.id(),a.id(),this.i.Ca(b,a)}};h.tb=function(a){x(this.M);a.preventAction();this.Kb()};h.$a=function(){x(this.M);this.T.ac&&alert(this.T.message());this.T.Qa&&ae(this,!1)};
h.zb=function(a){x(this.M);a.actionPrevented()||(a.preventAction(),be(this))};function me(a,b,c){this.ha=a;this.Pa=b;this.ab=!1;this.Ma=0;this.F=c}h=me.prototype;h.X=function(){try{return"true"==this.ha.Initialize("").toString()}catch(a){}return!1};h.terminate=function(a){this.b("cmi.exit",a?this.ab?"":"suspend":"normal");this.b("adl.nav.request","exitAll");this.ea();try{return"true"==this.ha.Terminate("").toString()}catch(b){}return!1};
h.ea=function(){0==this.Ma&&this.b("cmi.exit",this.F?this.ab?"":"suspend":"normal");try{var a="true"==this.ha.Commit("").toString();this.Ma+=1;return a}catch(b){}return!1};h.W=function(a){try{return this.ha.GetValue(a)}catch(b){}return""};h.b=function(a,b){if("number"==typeof b){var c;(c=p(c)?c:!0)?b=parseFloat(b.toFixed(7))+"":(c=Math.pow(10,7),b=Math.floor(b*c)/c+"");b+=""}try{return"true"==this.ha.SetValue(a,b).toString()}catch(d){}return!1};h.mb=function(a){this.ab=a};var Z={id:"id",type:"type",score:"weighting",gc:"correct_responses.%INDEX%.pattern",pb:"learner_response",description:"description",result:"result",duration:"latency",qb:"timestamp"};r("Tincan.MobileHttpTransport.onRequestComplete",function(a,b,c){var d=null.Sb[a];if(null==d)return"";delete null.Sb[a];hd(function(){if(b)d.onload(c);else d.onerror()},10);return"ok"},void 0);function ee(a){return new jc(a.W("cmi.learner_id"),a.W("cmi.learner_name"))};function ne(a,b){var c=Gd();this.l=c?new me(c,a,b):null;this.H=!1}h=ne.prototype;h.X=function(){return this.H?!0:this.H=null!=this.l?this.l.X():!1};h.terminate=function(a){return null!=this.l?this.l.terminate(a):!1};h.ea=function(){return null!=this.l?this.l.ea():!1};h.W=function(a){return null!=this.l?this.l.W(a):""};h.b=function(a,b){return null!=this.l?this.l.b(a,b):!1};
h.fa=function(a,b,c,d){null!=d||(d=0);this.b("cmi.score.raw",a);this.b("cmi.score.min",b);this.b("cmi.score.max",c);this.b("cmi.score.scaled",d)};h.nb=function(a){this.b("cmi.progress_measure",a)};h.Fa=function(){return null!=this.l?this.l.W("cmi.mode"):"normal"};h.ob=function(a,b){this.b("cmi.success_status",null===a?"unknown":a?"passed":"failed");this.b("cmi.completion_status",null===b?"unknown":b?"completed":"incomplete")};h.mb=function(a){this.l.mb(a)};
h.Ca=function(a){var b=parseInt(this.W("cmi.interactions._count"),10);if(!(0>b)){b="cmi.interactions."+b+".";this.b(b+Z.id,a.id());this.b(b+Z.type,a.type());this.b(b+Z.score,a.score());for(var c=a.v||[],d=0;d<c.length;++d){var e=Z.gc.replace("%INDEX%",d);this.b(b+e,c[d])}c=a.pb();null!=c&&this.b(b+Z.pb,c);this.b(b+Z.result,a.result());this.b(b+Z.description,a.description());c=a.duration();null===c||this.b(b+Z.duration,Hd(c/1E3));a=a.qb();null!==a&&("number"==typeof a&&(a=new Date(a)),this.b(b+Z.qb,
a.getUTCFullYear()+"-"+Id(a.getUTCMonth()+1)+"-"+Id(a.getUTCDate())+"T"+Id(a.getUTCHours())+":"+Id(a.getUTCMinutes())+":"+Id(a.getUTCSeconds())+".0Z"))}};function oe(){}h=oe.prototype;h.j=null;h.Lb=function(){throw Error("unimplemented abstract method");};h.nb=function(a){this.j.nb(a)};h.X=function(a,b){if(this.j=this.Lb()){var c=this.j;c.H?a():null!=c.l?(c.H=c.l.X(),c.H?a():b()):(c.H=!1,b())}else b()};h.ea=function(){this.j.ea()};h.suspend=function(){this.j.terminate(!0);Od();Jd()};h.terminate=function(){this.j.terminate(!1);Od();Jd()};h.Fa=function(){return"normal"};h.ob=function(a,b){this.j.mb(a);this.j.ob(a,b)};
h.fa=function(a,b,c,d){this.j.fa(d,b,c,a)};h.Ca=function(a,b){this.j.Ca(b)};function pe(a){this.Pa=a.Nb||"2";this.F=a.F}sa(pe,oe);r("iSpring.LMSAPI.Scorm2004Api",pe,void 0);pe.prototype.Lb=function(){return new ne(this.Pa,this.F)};pe.prototype.Fa=function(){return this.j.Fa()};})();
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}
