(function(){var h;function aa(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));c>>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(2String(c).indexOf(a.message)&&ya(a.message,b);ya(c,b)}window.onerror=function(a){for(var b=[],c=0;cb?null:q(a)?a.charAt(b):a[b]}function Da(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var Ha=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function Ia(a){if(!Ja.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ka,"&"));-1!=a.indexOf("<")&&(a=a.replace(La,"<"));-1!=a.indexOf(">")&&(a=a.replace(Ma,">"));-1!=a.indexOf('"')&&(a=a.replace(Na,"""));-1!=a.indexOf("'")&&(a=a.replace(Oa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Pa,"�"));return a} var Ka=/&/g,La=//g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Ja=/[\x00&<>"']/;function Qa(a,b){return ab?1:0}function Ra(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function Sa(a){var b=q(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(fb)){eb=String(hb);break a}}eb=fb}var ib={},jb;var kb=n.document;jb=kb&&C?db()||("CSS1Compat"==kb.compatMode?parseInt(eb,10):5):void 0;function lb(){};function mb(){this.Y=this.O=this.pa=null}mb.prototype.push=function(a,b){if(0==b)this.Y=this.Y||[];else if(this.pa=this.pa||[0],this.O=this.O||{},!(b in this.O)){this.O[b]=[];var c=this.pa;var d=0;for(var e=c.length,f;d>1;var k=c[g];k=b>k?1:bd&&Fa(c,-(d+1),0,b)}b=nb(this,b);x(b).push(a)};mb.prototype.remove=function(a,b){if(b=nb(this,b))a=y(b,a),0<=a&&(x(null!=b.length),Array.prototype.splice.call(b,a,1))}; function ob(a,b){return 0==b?a.Y||[]:b in x(a.O)?x(nb(a,b)):[]}function pb(a){if(!a.O)return a.Y?a.Y.slice():[];for(var b=[],c=x(a.pa),d=0;d=this.$a,a&&this.xb||(this.Za=!0,this.qa=ra(),a||(this.ra=setTimeout(w(this.Sa,this),this.$a-this.U))))};h.Sa=function(){this.xb&&(this.stop(),this.sa=this.$a);this.yb.xa()}; h.stop=function(){this.started()&&(this.Za=!1,0a||a>=this.count())throw Error("Index out of bounds");return this.c[a]};function Sb(){this.Ya=new P;this.ka=new P};function Tb(a){K.apply(this,arguments)}m(Tb,K);h=Tb.prototype;h.a=function(a,b){K.prototype.a.call(this,a,b);a.h="matching";var c=b.contentState(),d=b.slide().content(),e=this.Ua(d);b=e.wa;var f=e.premises,g=e.responses;e=e.ac;c=this.La(c.chainsStates(),f,g,e);a.o=c;this.j&&(c=[this.j?this.Ma(d.chains(),f,g,e):c],a.s=c);a.w=b}; h.Ua=function(a){var b=new Sb,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();Q(b.Ya,new O(I(c.indexOf(e)+"_"+g),g))}f&&0>d.indexOf(f)&&(d.push(f),e=f.name(),Q(b.ka,new O(I(d.indexOf(f)+"_"+e),e)))}a=this.g?J(d.length,!1):d.length+"_None";Q(b.ka,new O(a,"None"));return{wa:b,premises:c,responses:d,ac:a}}; h.La=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.S(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.S(a.value,null,b,c,d),e.push(a);return this.da(e)}; h.Ma=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.S(f,g,b,c,d),e.push(f))}return this.da(e)};h.fa=function(a,b,c){this.g?b=J(b,c):(a=a.name(),a=I(a),b=b+"_"+a);return b};h.S=function(a,b,c,d,e){a=this.fa(a,c.indexOf(a),!0);b=b?this.fa(b,d.indexOf(b),!1):e;d=this.g?".":"[.]";return I(a)+d+I(b)};h.da=function(a){return a.join(this.g?",":"[,]")};function Ub(a){K.apply(this,arguments)}m(Ub,K);Ub.prototype.a=function(a,b){K.prototype.a.call(this,a,b);a.h="long-fill-in";b=b.contentState().response();a.o=b};function Vb(a){K.apply(this,arguments)}m(Vb,K);Vb.prototype.a=function(a,b){K.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.zb?d.push(e[0]):d.push(e.join("[,]")));a.o=b.join("[,]");if(this.j){b=d;if(this.g||this.zb)b=[b.join(this.g?"[.]":"[,]")];a.s=b}};function R(){this.c=new P};function Wb(a){K.apply(this,arguments)}m(Wb,K);Wb.prototype.a=function(a,b){K.prototype.a.call(this,a,b);a.h="choice";var c=[],d=[],e=new R;this.Ja(b.contentState(),e,d,c);a.o=Rb(this,c);this.j&&(a.s=[Rb(this,d)]);a.w=e}; Wb.prototype.Ja=function(a,b,c,d){var e=this;a.areas().forEach(function(f,g){var k=f.area(),t=k.label().text();g=N(e,g,t);k.correct()&&c.push(g);a.areaSelected(f)&&d.push(g);Q(b.c,new O(g,t))});for(var f=a.areas().length,g=f;gg;++g){var k=b.getChoiceState(g);if(k.selected()){f=k.choice().id()==c?d:e;break}}a.o=f;a.s=[d]}};ec.prototype.ib=function(){return!1};function fc(a){K.apply(this,arguments)}m(fc,K);fc.prototype.a=function(a,b){K.prototype.a.call(this,a,b);a.h="fill-in";var c=b.slide();b=b.contentState().response().text();a.o=b;this.j&&(c=this.Ka(c.content()),a.s=c)};fc.prototype.Ka=function(a){for(var b=[],c=0;c");f=f.join("")}f=e.createElement(f);g&&(q(g)?f.className=g:"array"==u(g)?f.className=g.join(" "):xc(f,g));2","

c){c=a.substr(c,f.ya-c);var g=zc("DIV");g.innerHTML=c;d+=(g.textContent||g.innerText||Fc(g))+b;c=f.ya}if(g=$c(a,["

","

"],c)){f=g.ya+g.ec.length-c;var k=a.substr(c,f);g=zc("DIV");g.innerHTML=k;d+=(g.textContent||g.innerText||Fc(g))+b;c+=f}else return g=zc("DIV"),g.innerHTML=a.substr(c,e-c),d+(g.textContent||g.innerText||Fc(g))}while(cb;++b){if(a.API)return a.API;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 gd(a){var b=Math.floor(a/3600),c=Math.floor(a%3600/60);a=Math.floor(a%60);return(10>b?"0"+b:b)+":"+(10>c?"0"+c:c)+":"+(10>a?"0"+a:a)} function hd(){if(id)if(id){var a=new Wc("closeWindow");if(id){var b=a.h,c=a.Db;a=a.id();var d=(new Oc(null)).serialize(c);if(Lc)c=n.btoa(d);else{c=[];for(var e=0,f=0;f>=8);c[e++]=g}x(ma(c),"encodeByteArray takes an array as a parameter");if(!Kc)for(Kc={},d=0;65>d;d++)Kc[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d);d=Kc;e=[];for(f=0;f>2;k=(k&3)<<4|t>>4;t=(t&15)<<2|M>>6;M&=63;E||(M=64,g||(t=64));e.push(d[qd],d[k],d[t],d[M])}c=e.join("")}Xc("isplayer://"+b+"/"+a+"/"+c)}}else try{jd||(window.open("","_self",""),window.close())}catch(Md){}else try{jd||(window.Aa=window,b=kd(),b==window.top?(window.open("","_self",""),window.close()):ld(b))}catch(Md){ld(window.top)}}function ld(a){if(a&&a.Aa){var b=document.createElement("a");b.href="data/goodbye.html";a.Aa.location.replace(b.href)}} function kd(){var a=window;if(a.Aa)return a;for(var b=0;a!=window.top&&100>b++;){if(a.Aa)return a;a=a.parent}console.log("Unable to locate content root");return null}function md(){try{var a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(b){}};var nd={Gc:"resumePlayback",nc:"gotoSlide",jc:"delayStartup"};r("ispring.presenter.player.startup.PresentationStartup.Action",nd,void 0);r("RESUME_PLAYBACK","resumePlayback",nd);r("GOTO_SLIDE","gotoSlide",nd);r("DELAY_STARTUP","delayStartup",nd);var od={Dc:"prompt",hc:"always",yc:"never"};r("ispring.presenter.presentation.settings.PresentationResumeMode",od,void 0);r("PROMPT_TO_RESUME","prompt",od);r("ALWAYS_RESUME","always",od);r("NEVER_RESUME","never",od);(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 pd,rd=Yc().user_agent;pd=rd?rd:z||"";Yc();Yc();var sd=-1!=pd.toLowerCase().indexOf("chrome"),jd=-1==pd.toLowerCase().indexOf("windows phone")&&-1!=pd.toLowerCase().indexOf("android")&&!sd&&!Ic&&!$a,id=-1!=pd.indexOf("ismobile"),td=document.createElement("audio"),ud=td.play&&td.play();ud&&ud.then(function(){td.pause()},function(){});Yc();Yc(); function vd(){return 1==window._ispringDebug||"1"==Yc().isdebug}if(A("Windows")){var wd=z,X;if(A("Windows")){X=/Windows (?:NT|Phone) ([0-9.]+)/;var xd=X.exec(wd)}else Za()||A("iPad")||A("iPod")?(X=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,(xd=X.exec(wd))&&xd[1].replace(/_/g,".")):A("Macintosh")?(X=/Mac OS X ([0-9_.]+)/,(xd=X.exec(wd))&&xd[1].replace(/_/g,".")):A("Android")?(X=/Android\s+([^\);]+)(\)|;)/,xd=X.exec(wd)):A("CrOS")&&(X=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,xd=X.exec(wd))} setTimeout(function(){xa=vd},0);function Y(a,b){try{this.Da=a;this.ma={};this.Ga=null;this.K=new Ib(b.slidesToView,b.slidesWeight,b.quizzes||{},b.scenarios||{},b.totalScore,b.passingScore);this.N=new Jb(1E3*b.timeLimit,b.exitOnTimeout,b.showMessageOnTimeout,b.timeoutMessage);this.W=new Kb(this.N.timeLimit(),this.N.Ia);var c=new qb(b.flags);this.B="never"!=b.resumeMode;var d=new rb("ispring://presentations/"+encodeURIComponent(b.presentationId),c,b.tincan.i18n,this.B);this.ub=new sb;this.l=Lb(a,d,this.ub)}catch(e){vd()&&alert(e)}} h=Y.prototype;h.C=!1;h.ha=null;h.H=!1;h.m=null;h.L=null;h.wb=!1;h.v=null;h.F=null;var yd=h.ja=null;r("iSpring.LMS.create",function(a,b,c){x(!yd);return yd=new Y(b,c)},void 0);r("iSpring.LMS.instance",function(){return x(yd)},void 0);Y.prototype.P=function(a){this.ha=a;null!=this.l?this.l.P(w(this.Kb,this),w(this.mb,this)):this.mb()};Y.prototype.initialize=Y.prototype.P; Y.prototype.Kb=function(){this.T="normal";var a=null;var b=this.l.f.$("cmi.suspend_data");if(b)a:{b=LZString.decompressFromBase64(b);try{var c=Nc(b);break a}catch(d){}c=null}else c=null;switch(this.T){case "browse":a=null;break;case "review":c&&(a=zd(this,c));break;case "normal":this.B&&c&&(a=zd(this,c))}window.launchMode=this.T;p(a)&&(this.C=!0,this.ha&&this.ha(a))}; function zd(a,b){var c=new zb(B(b,Eb,[]));c.J=B(b,Ab,0);c.na=B(b,Bb,-1);c.X=B(b,Cb,[]);c.ta=B(b,Db,[]);c.oa=B(b,Fb,null);var d={};b=B(b,Gb,{});for(var e in b){var f=b[e];d[e]=new H(f[tb],f[yb],f[ub],f[vb],f[wb],f[xb])}c.G=d;a.L=c;c=a.L.duration();if(a.N.Ia&&c>=a.N.timeLimit())alert("You have already exceeded available time for viewing this content."),md(),hd();else return a.L.oa}Y.prototype.mb=function(){this.ha&&this.ha()}; Y.prototype.start=function(a){if(this.C){for(var b=a.presentation().slides(),c=[],d=0;d=b.passingScore()}function Kd(a){var b=a.K,c=a.i.X,d=a.i.ua,e=a.i.G;a=a.m.presentation().slides();for(var f=0;fc||(b="cmi.interactions."+c+".",Od(a,b,this),c=a.duration(),null===c||this.b(b+Z.duration,gd(c/1E3)),a=a.gb(),null===a||this.b(b+Z.gb,gd(3600*a.getHours()+60*a.getMinutes()+a.getSeconds())))};function Qd(){}h=Qd.prototype;h.f=null;h.Bb=function(){throw Error("unimplemented abstract method");};h.P=function(a,b){if(this.f=this.Bb()){var c=this.f;c.C?a():null!=c.u?(c.C=c.u.P(),c.C?a():b()):(c.C=!1,b())}else b()};h.Z=function(){this.f.Z()};h.suspend=function(){this.f.terminate(!0);md();hd()};h.terminate=function(){this.f.terminate(!1);md();hd()};h.R=function(a,b){this.f.Ca(a);this.f.R(a,b)};h.aa=function(a,b,c,d){this.f.aa(d,b,c,a)};h.va=function(a,b){this.f.va(b)};function Rd(a){this.Va=a.Va;this.B=a.B}sa(Rd,Qd);r("iSpring.LMSAPI.Scorm12Api",Rd,void 0);Rd.prototype.Bb=function(){return new Pd(this.B)};Rd.prototype.R=function(a,b){var c=null===a;b=c?b:a;this.f.Ca(a);null===b?this.f.R(null,null):!c&&this.Va.Lb&(b?2:1)?this.f.R(b,null):this.f.R(null,b)};})(); 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>8;r=e.charCodeAt(f/2)&255;if(f/2+1>8;else i=NaN}else{n=e.charCodeAt((f-1)/2)&255;if((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>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>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>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>1}}else{n=1;for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t>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>1}}else{n=1;for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}delete i[u]}else{n=r[u];for(t=0;t>1}}a--;if(a==0){a=Math.pow(2,l);l++}}n=2;for(t=0;t>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}