(function(){var h,l=this;function p(a){return void 0!==a}function q(a,b,c){a=a.split(".");c=c||l;a[0]in c||!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 aa(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 ba(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length}function r(a){return"string"==typeof a}function ca(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function da(a){return a[ea]||(a[ea]=++fa)}var ea="closure_uid_"+(1E9*Math.random()>>>0),fa=0;function ga(a,b,c){return a.call.apply(a.bind,arguments)} function ha(a,b,c){if(!a)throw Error();if(2")&&(a=a.replace(oa,">"));-1!=a.indexOf('"')&&(a=a.replace(pa,"""));-1!=a.indexOf("'")&&(a=a.replace(qa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(ra,"�"));return a}var ma=/&/g,na=//g,pa=/"/g,qa=/'/g,ra=/\x00/g,la=/[\x00&<>"']/; function sa(a,b){for(var c=0,d=ja(String(a)).split("."),e=ja(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&gb?1:0} function ua(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})}function va(a){var b=r(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#c?Math.max(0,a.length+c):c;if(r(a))return r(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc?null:r(a)?a.charAt(c):a[c]}function Ga(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function Ha(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)} function La(a){for(var b={},c=0,d=0;dparseFloat(Wa)){Va=String(Ya);break a}}Va=Wa}var Qa={};function B(a){return Pa(a,function(){return 0<=sa(Va,a)})}var Za;var $a=l.document; Za=$a&&z?Ua()||("CSS1Compat"==$a.compatMode?parseInt(Va,10):5):void 0;z&&B("9");!Ta||B("528");A&&B("1.9b")||z&&B("8")||Ra&&B("9.5")||Ta&&B("528");A&&!B("8")||z&&B("9");function ab(){};var bb=!z||9<=Number(Za);!A&&!z||z&&9<=Number(Za)||A&&B("1.9.1");var cb=z&&!B("9");function db(a,b){wa(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:eb.hasOwnProperty(d)?a.setAttribute(eb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var eb={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 fb(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!bb&&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={};Ba(k,g);delete k.type;g=k}f.push(">");f=f.join("")}f=e.createElement(f);g&&(r(g)?f.className=g:"array"==aa(g)?f.className=g.join(" "):db(f,g));2>=8;e[f++]=k}if(!zb)for(zb={},d=0;65>d;d++)zb[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d);d=zb;f=[];for(g=0;g>2,m=(m&3)<<4|n>>4,n=(n&15)<<2|P>>6,P=P&63;C||(P=64,k||(n=64));f.push(d[sd],d[m], d[n],d[P])}e=f.join("")}return"isplayer://"+a+"/"+c+"/"+e};function Cb(a){try{var b=document.createElement("iframe");mb(b);b.src=a;document.body.appendChild(b);pb(function(){b&&b.parentNode&&b.parentNode.removeChild(b)},100)}catch(c){}};function D(a){this.length=a.length||a;for(var b=0;b>1,k;k=c[g];k=b>k?1:bd&&Ja(c,-(d+1),0,b)}this.C[b].push(a)};Nb.prototype.remove=function(a,b){if(b in this.C){var c=this.C[b],d=Ca(c,a);0<=d&&Array.prototype.splice.call(c,d,1)}};function Ob(a,b){return b in a.C?a.C[b]:[]} function Pb(a){var b=[],c=a.C;a=a.ob;for(var d=0;d=this.Ta,a&&this.sb||(this.O=!0,this.sa=ia(),a||(this.ua=setTimeout(t(this.Pa,this),this.Ta-this.Y))))};h.Pa=function(){this.sb&&(this.stop(),this.va=this.Ta);this.tb.Wa()};h.stop=function(){this.O&&(this.O=!1,0","

c){var c=a.substr(c,f.za-c),g=fb("DIV");g.innerHTML=c;d+=(g.textContent||g.innerText||kb(g))+b;c=f.za}if(g=cc(a,["

","

"],c)){var f=g.za+g.Sb.length-c,k=a.substr(c,f),g=fb("DIV");g.innerHTML=k;d+=(g.textContent||g.innerText||kb(g))+b;c+=f}else return g=fb("DIV"),g.innerHTML=a.substr(c,e-c),d+(g.textContent||g.innerText||kb(g))}while(ca||a>=this.count())throw Error("Index out of bounds");return this.V[a]};function L(){this.V=new ec}L.prototype.choices=function(){return this.V};function M(a){a=ja(a);return a=a.replace(/[^\w-]/g,"_")}function N(a,b){return"0123456789abcdefghijklmnopqrstuvwxyz"[((null!=b?b:1)?a:35-a)%36]};function fc(a,b,c,d,e){this.qa=a;this.Hb=b;this.Ib=c;this.Gb=d;this.Sa=e}function gc(a){a=bc(a.text());a=ka(a);if(!a)return"";var b=document.createElement("div");b.innerHTML=a;return b.firstChild.nodeValue} fc.prototype.create=function(){var a=0,b=[],c=this.Hb,d=this.Gb,e=new hc(c.id()+"_"+a),a=a+1;e.c=O;var f;null!=c.message()?(f=c.message().text(),f=bc(f),e.D=f,f=c.message().replies(),null!=c.speech()&&0b;++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 pc(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 qc(){try{var a=document.getElementById("preloader");a&&a.parentNode.removeChild(a)}catch(b){}};function rc(a,b,c){this.ha=a;this.Cb=b;this.yb=c}rc.prototype.id=function(){return this.ha};rc.prototype.name=function(){return this.Cb};rc.prototype.email=function(){return this.yb};var ic="neutral";function hc(a){this.ha=a}h=hc.prototype;h.D="";h.h=null;h.i=null;h.$="unanticipated";h.pb=0;h.ma=null;h.L=null;h.Ua=null;h.id=function(){return this.ha};h.type=function(){return this.c};h.description=function(){return this.D};h.ka=function(){return this.h};h.Va=function(){return this.i};function sc(a,b){a.i=b}h.result=function(){return this.$};h.score=function(){return this.pb};h.T=function(a){this.pb=a};h.awardedScore=function(){return this.ma};h.duration=function(){return this.L}; h.Ba=function(a){this.L=a};h.$a=function(){return this.Ua};function tc(){};function uc(){}uc.prototype.create=function(a){var b=a.slide().id(),b=new hc(this.f(b));this.a(b,a);return b};uc.prototype.a=function(a,b){var c=b.slide().name();a.D=c;a.c=Q;a.T(b.maxScore());c=b.awardedScore();a.ma=c;c=b.isPassed()?"correct":"incorrect";a.$=c};uc.prototype.f=function(a){return M(a)};function vc(){}h=vc.prototype;h.wb=null;h.maxScore=null;h.awardedScore=null;h.ya=null;h.duration=null;function wc(a,b){this.s=a;this.qa=b}function xc(a){"byGroups"==a.qa.settings().passingScoreType()&&a.qa.slidePoolState().forEach(function(a){"slidePool"==a.slide().type()&&(new uc).create(a)})};function yc(a,b,c,d,e){this.type=a;this.ya=b;this.maxScore=p(c)?c:null;this.Rb=p(d)?d:null;this.Za=p(e)?e:null}yc.prototype.Ya=function(){var a={};a[zc]=this.ya;a[Ac]=this.maxScore;a[Bc]=this.Rb;a[Cc]=this.Za;a[Dc]=this.type;return a}; function Ec(a){if("graded"==a.quiz().type()){var b="byGroups"==a.settings().passingScoreType(),c=a.awardedScore();if(b){var d=0,e=0;a.slidePoolState().forEach(function(a){"slidePool"==a.slide().type()&&0!=a.maxScore()&&(e++,a.isPassed()&&d++)});c=100*(e?d/e:0)}var f=b?100:a.maxScore(),b=b?0k;++k){var m=d.getChoiceState(k);if(m.selected()){g=m.choice().id()==c?e:f;break}}a.h=g;a.i=[e]}};function td(a,b){var c="1.2"==b||"aicc"==b,d="tincan"==b;switch(a){case "essayQuestion":return new md;case "likertScaleQuestion":return new qd;case "hotspotQuestion":return new kd(c);case "fillInTheBlankQuestion":return new jd(c,d);case "wordBankQuestion":return new Wc(c);case "typeInQuestion":return new hd;case "fillInTheBlankSurveyQuestion":return new Uc(c,d);case "shortAnswerQuestion":return new fd;case "whichWordQuestion":return new od(c);case "numericQuestion":return new Tc(c);case "multipleChoiceQuestion":return new V(c); case "multipleResponseQuestion":return new cd(c);case "numericSurveyQuestion":return new Yc(c);case "multipleChoiceTextQuestion":return new ed(c);case "sequenceQuestion":return new Vc(c);case "multipleChoiceTextSurveyQuestion":return new id(c);case "rankingQuestion":return new Rc(c);case "pickManyQuestion":return new $c(c);case "matchingQuestion":return new nd(c);case "matchingSurveyQuestion":return new bd(c);case "pickOneQuestion":return new W(c);case "trueFalseQuestion":return new rd(c);case "yesNoQuestion":return new gd}return null} ;function X(a,b,c){try{this.Da=b;this.o=new Gc;this.na={};this.M=new Nc(c.slidesToView,c.slidesWeight,c.quizzes||{},c.scenarios||{},c.totalScore,c.passingScore);this.P=new Zb(1E3*c.timeLimit,c.exitOnTimeout,c.showMessageOnTimeout,c.timeoutMessage);this.aa=new Tb(this.P.timeLimit(),this.P.Ga);var d=new Ub(c.flags);this.A="never"!=c.resumeMode;var e=new Wb(0,d,c.tincan.i18n,0,0,0,this.A);this.qb=new Yb;this.s=Xb(b,e,this.qb)}catch(f){Kb()&&alert(f)}}h=X.prototype;h.B=!1;h.ia=null;h.la=!1;h.m=null; h.N=null;h.rb=!1;h.F=null;h.H=null;var ud=h.ja=null;q("iSpring.LMS.create",function(a,b,c){return ud=new X(0,b,c)},void 0);q("iSpring.LMS.instance",function(){return ud},void 0);X.prototype.S=function(a){this.ia=a;null!=this.s?this.s.S(t(this.Db,this),t(this.ib,this)):this.ib()};X.prototype.initialize=X.prototype.S; X.prototype.Db=function(){this.X="normal";var a=null,b=this.s.l.ca("cmi.suspend_data"),c;if(b)a:{b=LZString.decompressFromBase64(b);try{c=rb(b);break a}catch(d){}c=null}else c=null;switch(this.X){case "browse":a=null;break;case "review":c&&(a=vd(this,c));break;case "normal":this.A&&c&&(a=vd(this,c))}window.launchMode=this.X;p(a)&&(this.B=!0,this.ia&&this.ia(a))}; function vd(a,b){var c=new Gc;c.L=za(b,Hc,0);c.oa=za(b,Ic,-1);c.R=za(b,Jc,[]);c.pa=za(b,Kc,null);var d={},e=za(b,Lc,{}),f;for(f in e){var g=e[f];d[f]=new yc(g[Dc],g[zc],g[Ac],g[Bc],g[Cc])}c.I=d;a.N=c;c=a.N.duration();if(a.P.Ga&&c>=a.P.timeLimit())alert("You have already exceeded available time for viewing this content."),qc(),Eb();else return a.N.pa}X.prototype.ib=function(){this.ia&&this.ia()}; X.prototype.start=function(a){this.B&&(this.m=a,this.la=!0,this.qb.Lb.Wa(a.presentation().title()),a.startupEvent().addHandler(this.jb,this),a.startupCompletedEvent().addHandler(this.kb,this),a.closeWindowEvent().addHandler(this.fb,this))};X.prototype.start=X.prototype.start; X.prototype.jb=function(a){this.m.startupEvent().removeHandler(this.jb,this);var b=(this.A||"review"==this.X)&&this.N?this.N.oa:-1;0<=b?(a.setSlideIndex(b),a.setAction("resumePlayback")):(b=this.m.view().playbackController().firstSlideIndex(),a.setSlideIndex(b),a.setAction("gotoSlide"))}; X.prototype.kb=function(a,b){this.m.startupCompletedEvent().removeHandler(this.kb,this);this.rb=!0;"resumePlayback"==a&&this.N&&(this.o=this.N);var c=this.o.duration();this.aa.O||(this.aa.tb.addHandler(this.Pa,this),this.aa.start(c));c=this.m.view().playbackController();c.slideChangeEvent().addHandler(this.Ma,this);c=c.currentSlideIndex();c==b&&this.Ma(c);this.m.stateChangedEvent().addHandler(this.lb,this)};X.prototype.ub=function(){this.la&&wd(this,this.A)};X.prototype.closeLms=X.prototype.ub; function wd(a,b){a.la&&(a.la=!1,a.rb&&(a.aa.stop(),xd(a),a.m.view().playbackController().slideChangeEvent().removeHandler(a.Ma,a)),a.m.closeWindowEvent().removeHandler(a.fb,a),a.m.stateChangedEvent().removeHandler(a.lb,a),b?a.s.suspend():a.s.terminate())}h=X.prototype; h.Ma=function(a){if(this.F){var b=this.F;b.currentSessionChangedEvent().removeHandler(this.gb,this);(b=b.currentSession())&&yd(this,b);this.F=null}this.H&&(this.H.currentSessionChangedEvent().removeHandler(this.hb,this),null!=this.ja&&zd(this),this.H=null);b=this.m.view().playbackController();if(a in this.M.G){var c=this.F=b.quizPlayer(),d=da(c)+"";d in this.na||(this.na[d]=!0,(d=Ad(this.s.l))&&c.setUserInfo(d.id(),{USER_NAME:d.name(),USER_EMAIL:d.email()}));c.currentSessionChangedEvent().addHandler(this.gb, this);(c=c.currentSession())&&Bd(this,c)}a in this.M.Z&&(b=this.H=b.scenarioPlayer(),c=da(b)+"",c in this.na||(this.na[c]=!0,c=Ad(this.s.l),d=!b.userInfoIsLoaded(),c&&d&&b.setUserInfo(c.id(),{USER_NAME:c.name(),USER_EMAIL:c.email()})),c=b.currentSession(),null!=c&&Cd(this,c),b.currentSessionChangedEvent().addHandler(this.hb,this));b=this.m.presentation().slides().getSlide(a);"normal"==this.X&&b.title()&&b.title();b=this.o.R;0<=Ca(b,a)||b.push(a);this.o.oa=a;Dd(this)}; function xd(a){var b=a.aa,b=b.O?ia()-b.sa+b.Y:b.va,c=a.aa,c=c.O?ia()-c.sa:c.Fa;a.o.Ba(b);a.s.l.j("cmi.core.session_time",pc(c/1E3));b=a.m.persistState();a.o.pa=b;b=a.s.l;a=(new sb(void 0)).serialize(a.o.Ya());a=LZString.compressToBase64(a);b.j("cmi.suspend_data",a)}function Dd(a){var b=a.M;if(0=b.passingScore()}function Gd(a){var b=a.M,c=0=c&&b} function Ed(a){var b=a.M;if(!(0c||(b="cmi.interactions."+c+".",Md(a,b,this),c=a.duration(),null===c||this.j(b+Y.duration,pc(c/1E3)),a=a.$a(),null===a||this.j(b+Y.$a,pc(3600*a.getHours()+60*a.getMinutes()+a.getSeconds())))};function Z(a){this.Ra=a.Ra;this.A=a.A}u(Z,Jd);q("iSpring.LMSAPI.Scorm12Api",Z,void 0);Z.prototype.vb=function(){return new Pd(this.A)};Z.prototype.U=function(a,b){var c=null===a,d=c?b:a;this.l.Ca(a);null===d?this.l.U(null,null):!c&&this.Ra.Eb&(d?2:1)?this.l.U(d,null):this.l.U(null,d)};Z.prototype.suspend=function(){Z.g.suspend.call(this);qc();Eb()};Z.prototype.terminate=function(){Z.g.terminate.call(this);qc();Eb()};})(); 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}