Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Rhonda: An AS2 bytecode interpreter for JavaScript
- Copyright (c) 2010-2011 Tobias Schneider
- Copyright (c) 2010-2011 David Aurelio
- Copyright (c) 2010-2011 uxebu Consulting Ltd. & Co. KG
- Rhonda is freely distributable under the terms of the MIT license.
- Gordon is (C) 2010-2011 Tobias Schneider, David Aurelio and uxebu
- Consulting Ltd. & Co. KG.
- No permission or right to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software is granted.
- All rights reserved to the copyright holders.
- The source code of Gordon that is available under the MIT license can
- be found at https://github.com/tobeytailor/gordon.
- A copy of the MIT license can be found at:
- http://www.opensource.org/licenses/mit-license.php
- */
- (function(f,e,d){function j(){return this.asExpr}function n(){return this.asLiteral}function g(){return this.join(";\n")}function c(){return this.type+" "+this.label}for(var a={1:0},i=Math.pow,b=-52;b<0;b++)a[b]=i(2,b);var h=[,,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,,,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,,,,,,,,1,1,1,1,1,1,1,1,1,1,,,,,,,,,,,,,,,,,,,,,,,,1,,1,,,,1,1,,1,1,1,1,1,1,,,,,1,,1,,,1,1,1,,1,1,1],k=f.Rhonda={},
- I={4:"nextFrame",5:"prevFrame",6:"play",7:"stop",8:"toggleHighQuality",9:"stopAllSounds",40:"stopDrag"},Q=d+"",B={};"&96|97^98<<99>>100>>>101 *12/13%63 +10,33,71-11 ==14,19,73<15,41,72===102>103,104 &&16 ||17 =1".split(" ").forEach(function(b,h){for(var i=b.split(/([^\w,]+)/),c,a=1;c=i[a++];)for(var k=i[a++].split(","),g=0,j;j=k[g++];)B[j]={operator:c,prio:h+2,spacedOperator:" "+c+" "}});var M="x y xscale yscale currentframe totalframes alpha visible width height rotation target framesloaded name droptarget url highquality focusrect soundbuftime quality xmouse ymouse".split(" "),
- K="_global 256 _parent 128 _root 64 super 16 arguments 4 this 1".split(" "),u=K[6],s="__",E=Object.create(null,function(){var b={value:!0};return{"char":b,"const":b,"debugger":b,"enum":b,"export":b}}()),l=/^[a-zA-z$]+[\w$]*$/,G=[].push;k.Buffer=function(b){if(typeof b=="string")for(var h=b.length,c=new e(h);h--;)c[h]=b.charCodeAt(h)&255;else c=b;return c};k.Env=function(b){this._debug=!!b};k.Env.prototype.load=function(b){function e(){return J[A++]|J[A++]<<8}function f(){return J[A++]|J[A++]<<8|J[A++]<<
- 16|J[A++]<<24}function v(){var h=b.indexOf("\000",A)-A,c=b.substr(A,h),c=decodeURIComponent(escape(c));A+=h+1;(h=l.test(c))&&E[c]&&(c=s+c);return{isEmpty:!c,asLiteral:JSON.stringify(c),asNumber:c?+c:NaN,asIdentifier:h?c:d,asPropAccessor:h?"."+c:d,toString:n}}function U(b){return r("registers")+"["+b+"]"}function X(b,h){return U(b)+"="+h}function q(){return this.registerVar||(this.registerVar=U(this.register))}function r(b){return"__"+b+"__"}function P(b,h){var c=[r("movie")+"[0]"];arguments.length>
- 1&&(c=c.concat(h||[]));return r(b)+".call("+c+")"}function N(){}function w(b){var h=b.beforeJumpTo,c;if(b.code==157&&h&&h.code==153&&(c=h.jumpTo)){for(;c&&c.i<b.i;)c=c.nextAction;return c===b?h:void 0}}var J=new k.Buffer(b),A=0,ca=[],z=Object.create(null),C=[],Z=function F(b,c,k){var g=c.length,d=k&&c[g-1];for(k||(k={offsetStart:A});A<b;){var O=A,I=J[A++],n=d,t=I>128?e():0,d={code:I,length:t,isKnown:!!h[I],scope:k,i:g},g=c.push(d);z[O]=d;if(n)n.nextAction=d;switch(I){case 139:d.target=v();break;case 129:case 140:d.frame=
- I==129?e()+1:v();break;case 131:d.url=v();d.target=v();break;case 135:d.registerNum=J[A++];break;case 136:I=d.count=e();for(ca=d.pool=[];I--;)ca.push(v());break;case 138:case 141:if(I==138)d.frame=e();d.skipCount=J[A++];break;case 142:case 155:d.name=v().asIdentifier||"";g=d.numParams=e();t=d.params=[];n=d.registers=[];if(I==142){I=d.registerCount=J[A++];O=e();if(I)for(var o=1,I=12;I--;)if(O&K[I--]){var M=K[I];n[o++]=M==u?"Object.getPrototypeOf(this)":M}for(;g--;)o=J[A++],I=v().asIdentifier,t.push(I),
- o&&(n[o]={asExpr:I,asIdentifier:I,toString:j})}else if(g)for(;g--;)t.push(v().asIdentifier);g=e();F(A+g,c);d.stopIndex=g=c.length;d.firstFuncAction=c[d.i+1];break;case 143:O=d.flags=J[A++];g=e();I=e();t=e();d.catchName=O&4?J[A++]:v().asIdentifier;F(A+g,c,k);g=d.tryStop=c.length;d.firstTryAction=c[d.i+1];if(O&1)d.hasCatch=!0,n=g,F(A+I,c,k),g=d.catchStop=c.length,d.firstCatchAction=c[n];if(O&2)d.hasFinally=!0,n=g,F(A+t,c,k),g=d.finallyStop=c.length,d.firstFinallyAction=c[n];break;case 148:g=e();F(A+
- g,c,k);g=d.withStop=c.length;d.firstWithAction=c[d.i+1];break;case 150:var p,o=d.values=[],M=d.types=[];do{switch(n=J[A++]){case 0:p=v();if(!isNaN(p.asNumber))p=p.asNumber;break;case 2:p="null";break;case 3:p=Q;break;case 4:p={register:J[A++],toString:q};break;case 5:p=!!J[A++];break;case 1:case 6:p=f();var R=0,m=0;if(n===1)var B=p>>>23&255,I=m=(p&8388607)/8388608,s=127;else R=f(),B=p>>>20&2047,I=R||p&1048575,s=1023;var r=p>>>31;if(B===0&&!I)p=0;else if(B===2047||n===1&&B===255)p=I?NaN:Infinity;else{if(n===
- 6)for(I=52;I--;)(I>31?p&1<<I-32:R&1<<I)&&(m+=a[I-52]);B?m+=1:B=1;B-=s;p=m*(a[B]||(a[B]=i(2,B)))}r&&(p*=-1);break;case 7:p=f();break;case 8:case 9:I=n==8?J[A++]:e(),p=ca[I],p.idx=I}o.push(p);M.push(n)}while(A<O+3+t);break;case 153:case 157:I=J[A+1]&128?J[A++]|(J[A++]<<8)-65536:J[A++]|J[A++]<<8;d.jumpOffset=I;d.jumpTargetPosition=I+A;d.jumpTo=null;C[d.i]=d;break;case 154:O=J[A++];d.method=O&1?'"GET"':O&2?'"POST"':"null";d.targetFlag=O&64;d.loadVariablesFlag=O&128;break;case 158:break;case 159:O=J[A++];
- d.sceneBias=O&2?e():0;d.playFlag=O&1;break;default:I>128&&(A+=t)}}k.offsetEnd=A;k.lastAction=c[c.length-1];return c}(J.length,[]);C.forEach(function(b){var h=b,c=b.scope;do h.isKnown?(h=h.jumpTargetPosition,h=c.offsetEnd>=h?z[h]:d):h=h.nextAction;while(h&&(h.code==153||!h.isKnown));b.jumpTo=h;b.beforeJumpTo=h?Z[h.i-1]:c.lastAction;h=b.jumpToUnresolved=z[b.jumpTargetPosition];b.beforeJumpToUnresolved=h?Z[h.i-1]:c.lastAction});var W=0;(N.prototype=Object.create(null)).add=function(b,h,c){var i=b.loopLabel=
- "label"+W++;b.startAction=h;b.endAction=c;for(var a=1,k;k=arguments[a++];){k=k.i;this[k]&&this[k].push(b)||(this[k]=[b]);var g=O[k];if(g){for(var d=0,A;A=g[d];d++)A.label=i;delete O[k]}}};var O=Object.create(null),t=function V(b,h,i,a,k,d,A,e,n){var t=b,f=[],o,m,p=Object.create(null),K=Object.create(n||null);e||(e=new N);a.p=a.pop;a.s=a.splice;a.a=G;var s=0;for(f.a=function(){b.createdStatement=!0;return s=G.apply(f,arguments)};t&&(h==null||t.i<h)&&(!n||!(t.i in n&&f.length));)switch(b=t,o=b.code,
- m=b.i,t=b.nextAction,p[m]=A[m]=K[m]=s,o){case 8:case 9:f.a("_global."+I[o]+"()");break;case 4:case 5:case 6:case 7:case 40:f.a(r("movie")+"[0]."+I[o]+"()");break;case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 19:case 33:case 41:case 63:case 71:case 72:case 73:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:m=a.p();var l=a.p();if(o==19||o==33||o==41||o==104)l='(""+('+l+"))",m='(""+('+m+"))";a.a("("+l+")"+B[o].operator+"("+m+")");break;case 18:a.a("!("+
- a.p()+")");break;case 20:case 49:a.a('(""+'+a.p()+").length");break;case 21:case 53:m=a.p();l=a.p();a.a('("" + '+a.p()+").substring("+l+","+m+")");break;case 23:f.a(a.p());break;case 24:a.a("+(+("+a.p()+")).toFixed(0)");break;case 28:l=a.p();m=l.asIdentifier;a.a(m?k&&m in k?m:m==u?"Object.getPrototypeOf(this)":"(typeof "+m+'=="undefined"?void 0:'+m+")":P("eval",l));break;case 29:case 60:case 79:m=a.p();l=a.p();l==Q&&(l=a.p(),m=f.pop());if(o==79)l="("+a.p()+"||0)["+l+"]";else{var z=l.asIdentifier;
- o==60&&k&&(k[z]=!0);l=z&&k&&z in k?z:r("movie")+"[0]["+l+"]"}f.a(l+"="+m);break;case 32:case 139:m=o==139?b.target:a.p();m.isEmpty?f.a(r("movie")+".shift()"):f.a(r("movie")+".unshift("+P("tellTarget",m)+")");break;case 34:l="_"+M[a.p()];a.a(P("tellTarget",a.p())+"."+l);break;case 35:m=a.p();l="_"+M[a.p()];f.a(P("tellTarget",a.p())+"."+l+"="+m);break;case 36:l=a.p();m=a.p();f.a(P("duplicateMovieClip",[a.p(),m,l]));break;case 37:f.a(P("removeMovieClip",a.p()));break;case 38:f.a(P("trace",a.p()));break;
- case 39:l=[a.p(),a.p()];a.p()&&G.apply(l,a.s(-4));f.a(P("startDrag",l));break;case 42:f.a("throw "+a.p());break;case 43:a.a("(function(o,c){return o instanceof c?o:null}("+a.p()+","+a.p()+"))");break;case 44:m=a.p();l=a.p();f.a("("+m+").prototype["+r("implements")+"]=["+(l?a.s(-l):"")+"]");break;case 45:l=a.p();a.a(P("fscommand2",l?a.s(-l).reverse():[]));break;case 48:a.a(P("random",a.p()));break;case 50:case 54:a.a('(""+'+a.p()+").charCodeAt(0)");break;case 51:case 55:a.a(P("chr",a.p()));break;case 52:a.a(P("getTimer"));
- break;case 58:case 59:m=a.p();a.a("delete "+(o==58?a.p()+"["+m+"]":m.asIdentifier));break;case 61:case 64:case 82:case 83:m=a.p();var l=[],C;(o==82||o==83)&&(C=a.p())?C==u?(C="Object.getPrototypeOf(this)["+(m==Q?r("constructor"):m)+"].call",l[0]="this"):m.isEmpty||m==Q?C="("+C+")":o==83&&(C="("+C+"||0)["+m+"]"):(C=m.asIdentifier||m,C==u&&(C="Object.getPrototypeOf(this)["+r("constructor")+"]"),C="("+C+")");(z=a.p())&&G.apply(l,a.s(-z).reverse());z=C;if(o==82)z='(function(v,m){return{}.toString.call(m?v[m]:v)=="[object Function]"?(m?function(){return v[m].apply(v,arguments)}:v):function(){}})(('+
- C+"||0), "+m+")("+l+")";else if(o==61)l.unshift(r("movie")+"[0]"),z="(function(){try{var f="+C+'}catch(e){}return{}.toString.call(f)=="[object Function]"?f:function(){}}()).call('+l+")";else if(o==64||o==83)z='(function(v,u){return{}.toString.call(v)=="[object Function]"?new v('+l+"):u}("+C+"))";a.a(z);break;case 62:f.a("return "+a.p());if(t&&t.code==23)t=t.nextAction;break;case 65:m=a.p().asIdentifier;k&&(k[m]=!0);break;case 66:l=a.p();a.a("["+(l?a.s(-l).reverse():"")+"]");break;case 67:m=a.p();
- for(l=[];m--;)o=a.p(),l.push(a.p()+":"+o);a.a("{"+l+"}");l=null;break;case 68:a.a(P("typeof",a.p()));break;case 69:a.a(P("targetPath",a.p()));break;case 70:case 85:l=a.p();o==70&&(l=P("eval",l));z="";o=b.nextAction;t=o.registerNum;o.code!=135&&(z+=" 2");o=o.nextAction;o.code==150&&o.values.length==1&&o.values[0]=="null"||(z+=" 3");var q=o=o.nextAction.nextAction;o.code==157&&o.jumpOffset>=0||(z+=" 5");o=o.nextAction;var v=o.values,W=v&&v.length||0,E=o.nextAction,L;o.code==150&&(W==1||W==2)?(L=v[0],
- L=L.asIdentifier||L):z+=" 6";E.code==60?k&&(k[L]=!0):E.code==135&&L==U(t)?L=U(E.registerNum):E.code!=29&&(z+=" 7");o=t=q.jumpToUnresolved;E=E.nextAction;q=q.beforeJumpToUnresolved.i;v=Object.create(e);v.add(b,b.nextAction,o);f.a(b.loopLabel+":for("+L+" in "+l+"){\n"+V(E,q,0,a,k,d,Object.create(A),v)+"\n}");z&&Gordon._log("unknown enumerate structure"+z+" at action index "+m);break;case 74:a.a("(+("+a.p()+"))");break;case 75:a.a('(""+('+a.p()+"))");break;case 76:a.a(a[a.length-1]);break;case 77:a.a(a.p(),
- a.p());break;case 78:m=a.p();a.a("("+a.p()+"||0)["+m+"]");break;case 80:case 81:a.a("(("+a.p()+")"+(o==80?"+":"-")+"1)");break;case 84:m=a.p();a.a(P("instanceof",[a.p(),m]));break;case 105:m=a.p();l=a.p();/= function/.test(l)?f.a("("+l+').prototype = (function(s){var p = new s();p["'+r("constructor")+'"]=sreturn p}('+m+"))"):f.a("("+l+").prototype=Object.create(("+m+").prototype,{"+r("constructor")+":{value:"+m+"}})");break;case 129:case 140:o=t&&t.code;m="gotoAnd"+((l=o==6)?"Play":"Stop");if(l||
- o==7)t=t.nextAction;f.a(r("movie")+"[0]."+m+"("+b.frame+")");break;case 131:f.a(P("getURL",[b.url,b.target]));break;case 135:f.a(X(b.registerNum,a.pop()));t&&t.code==23?t=t.nextAction:a.push(U(b.registerNum));break;case 136:ca=b.pool;break;case 138:case 141:if(o==141)b.frame=a.p();b.skipCount&&(m+=b.skipCount,f.a("if("+P("ifFrameLoaded",b.frame)+"){\n"+V(t,m,0,a,k,d,Object.create(A),Object.create(e))+"\n}"),t=Z[m+1]);break;case 142:case 155:m={};l=b.params;z={enumerable:!0,value:!0,configurable:!0,
- writable:!0};for(o=0;q=l[o++];)m[q]=z;m="function "+b.name+"("+l+"){\n"+V(b.firstFuncAction,b.stopIndex,1,[],Object.create(k,m),b.registers||[],Object.create(null))+"\n}";b.name?(k||(m="this."+b.name+"="+m),f.a(m)):a.a({asExpr:m,asGroupedExpr:"("+m+")",toString:j});m=l=z=o=q=void 0;break;case 143:m="try{\n"+V(b.firstTryAction,b.tryStop,0,a,k,d,Object.create(A),Object.create(e))+"\n}";if(b.hasCatch)l=b.catchName,o=typeof l=="number",m+="catch("+(o?r("e"):l)+"){\n"+(o?X(l,r("e"))+";\n":"")+V(b.firstCatchAction,
- b.catchStop,0,a,k,d,Object.create(A),Object.create(e))+"\n}";b.hasFinally&&(m+="finally{\n"+V(b.firstFinallyAction,b.finallyStop,0,a,k,d,Object.create(A),Object.create(e))+"\n}");f.a(m);break;case 148:f.a("with("+a.p()+"){\n"+V(b.firstWithAction,b.withStop,0,a,k,d,Object.create(A),Object.create(e))+"\n}");break;case 150:G.apply(a,b.values);break;case 153:case 157:var l=(q=o===157)?a.p():"true",z=(o=b.jumpTo)&&o.i,E=b.jumpTargetPosition,v=b.scope,J,T;if(!o||E<v.offsetStart||E>=v.offsetEnd)f.a((q?"if("+
- l+")":"")+"return");else if(z<m&&z in p)e.add(b,o,b.nextAction),f[p[z]]=b.loopLabel+":do{\n"+f[p[z]],f.a("}while("+l+")");else if(z>m&&(J=w(b)))e.add(b,J,o),f.a(b.loopLabel+":while(!("+l+")){\n"+V(b.nextAction,b.beforeJumpTo.i,0,a,k,d,Object.create(A),e)+"\n}"),t=o;else if(E=e[z]){for(o=0;v=E[o++];)if(m>=v.startAction.i&&m<v.endAction.i){f.a((q?"if("+l+")":"")+(z<m?"continue ":"break ")+v.loopLabel+"/*"+m+"*/");break}v||Gordon._log("Loop break/continue expected, but no matching loop found")}else if(z<
- m&&z in A||(T=b.beforeJumpTo).code==157&&T.jumpTo&&T.jumpTo.i<m)m={label:"",type:(q?"if("+l+")":"")+(z<m?"continue":"break")+"/*"+m+"*/",toString:c},O[z]?O[z].push(m):O[z]=[m];else if(q){o=V(o,h,0,a.slice(),k,d.slice(),Object.create(A),Object.create(e),n);z=o.branchActions;t=V(t,h,0,a,k,d,A,e,z);q=t.endOfBranch;q=q in z?z[q]:o.length;for(;o[q]&&String(o[q]).indexOf("}while(")==0;)q++;m="if("+l+"){/*"+m+"*/\n"+o.slice(0,q).join(";\n")+"\n}";t.length&&(m+="else{\n"+t+"\n}");m+="\n"+o.slice(q).join(";\n");
- f.a(m);t=Z[o.endOfBranch]}else t=o;break;case 154:m=a.p();f.a(P(b.loadVariablesFlag?"loadVariables":"getURL",[a.p(),m,b.method,b.targetFlag]));break;case 158:P("call",a.p());break;case 159:m=a.p(),isNaN(m)||++m,f.a(P("gotoAnd"+(b.playFlag?"Play":"Stop"),[m]))}i&&(h=k&&Object.keys(k)||[],h.push(r("registers")+"=["+d+"]"),f.unshift("var "+h));f.toString=g;f.branchActions=K;f.endOfBranch=t&&t.i;f.stack=a;return f}(Z[0],null,2,[],null,[],Object.create(null)),o=["_global = Object.create(_global, {"+"call chr duplicateMovieClip eval fscommand2 tellTarget getTimer getURL gotoAndPlay gotoAndStop ifFrameLoaded loadVariables nextFrame play prevFrame random removeMovieClip startDrag stop stopAllSounds stopDrag targetPath toggleHighQuality trace".split(" ").map(function(b){return r(b)+
- ":{value:_global."+b+"}"})+"})","var undefined;\nwith(_global)with(this){",t,"}"].join("\n"),o=Function("_global",r("movie"),r("instanceof"),r("typeof"),o),o=k.scaffold(o,function(b,a){var h=a.prototype,c=h[r("implements")];return b instanceof a||c&&c.some(function(b){return h instanceof b},h)});if(this&&this._debug)o.__stack__=t.stack;return o};k.scaffold=function(b,a){return function(h,c){return b.call(c,h||{},[c],a,function(b){return b&&b.__isMovieClip__?"movieclip":typeof b})}}})(this.exports||
- this,this.Uint8Array||Array);
- (function(f,e,d){function j(b){var a=e.body,h=e.getElementsByTagName("head")[0],c=C.lib,k=b.data||b.src,i=a.style;a.className="-g2-stage";if("loglevel"in b)C.loglevel=b.loglevel&7;C.debug=b.debug=="true";C._timeStamp=+new Date;C._styleSheet=h.insertBefore(n('html,body{overflow:hidden;padding:0;margin:0}@-webkit-keyframes pulse{from{background-size:auto 10%}to{background-size:auto 15%}.-g2-stage>div{position:relative;overflow:hidden}.-g2-stage * div{display:none;position:absolute;-webkit-transform-origin:0 0;pointer-events:none}.-g2-stage p{margin:0}.-g2-stage font{font-size:inherit!important;font-family:inherit!important}.-g2-stage * span{position:absolute;}.-g2-stage{display:inline-block;position:relative}.-g2-mc{width:100%;height:100%}.-g2-blend{opacity:.2}.-g2-mc-0{pointer-events:all!important}.-g2-interactive,.-g2-interactive *{cursor:pointer;pointer-events:auto!important}-webkit-animation-name:pulse;-webkit-animation-duration:.5s;-webkit-animation-direction:alternate;-webkit-animation-iteration-count:infinite;background:#d7e4f4 url(data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="19"><path fill="#afc6e9" d="m0,0 1,17 7,2 6,-2 2,-17-16,0m8,2 6,0-1,14-5,1 0,-15"/><path fill="#fff" d="m12,4-7,4 2,1-4,5 7,-4-2,-1 4,-5"/></svg>) no-repeat center;background-size:auto 10%;z-index:0}'),h.firstChild).sheet;
- var g=c.createMovieClip();g._id=0;g._node.className="-g2-mc-0";c._global._root=g;b.height=="auto"&&delete b.height;b.width=="auto"&&delete b.width;c.each([b.flashvars||"",k.split("?")[1]],function(b){c.forIn(C._decodeVars(b),function(b,a){a in g||(g[a]=""+b)})});g.addListener({onData:function(){var h=b.height||this._height,k=b.width||this._width;parseFloat(h)==h&&(h+="px");parseFloat(k)==k&&(k+="px");i.height=h;i.width=k;a.appendChild(this._node);c.createMouse(a);L(parent,{action:"resize",args:[h,
- k],href:location.href})},onLoad:function(){[b.play]!="false"&&g.play()}});g.loadMovie(k)}function n(b){var a=e.createElement("div");a.innerHTML="x<style>"+b+"</style>";return a.lastChild}function g(b){var a=b.nodeName.toLowerCase(),a=a=="embed"||a=="object"?[b]:[];a.push.apply(a,J.call(b.querySelectorAll('object[type="application/x-shockwave-flash"],embed[type="application/x-shockwave-flash"]')));var h=0;M(a,function(b){var a,c=b.nodeName.toLowerCase();if(!b._nogordon&&(c=="object"&&b.data||c=="embed"&&
- b.src)&&(a=i(b))&&!(ca=="127.0.0.1"&&a.nogordon=="true"))T(b,a),h+=1});return h}function c(b,a){return b.getAttribute(a)}function a(b,a){var h=b.querySelector('param[name="'+a+'"]');return h&&h.getAttribute("value")||""}function i(b){var h=b.nodeName.toLowerCase()=="embed",k=h?c:a;return p(U,function(a,h){var c=k(b,h);c&&(a[h]=c);return a},{align:b.align,data:h?b.src:b.data,height:b.height,width:b.width})}function b(b,a){var h=b.ownerDocument.defaultView.getComputedStyle(b,null),c=b.style,k=c.display;
- if(a=="marginRight")c.display="inline-block";h=h&&h[a]||"";if(/margin/.test(a)&&parseInt(h)==0){var i="offset"+/Left|Right/.exec(a)?"Left":"Top",g=b[i],d=c[a];c[a]="auto";b[i]==g&&(h="auto");c[a]=d}if(a=="marginRight")c.display=k;return h}function h(b){var a=v(b),h=a.args,c=a.href,k=C.lib,i=b.origin,g=b.source;if((b=a&&u(e.getElementsByTagName("iframe"),function(b){return c.indexOf(b.src)>-1})[0])&&(/[^\/]+\/\/([^\/]+)/.exec(i)||0)[1]==ca)switch(a.action){case "getURL":k._global.getURL(h[0],h[1],
- h[2]);break;case "init":a=(a=e.getElementsByName("base")[0])?a.href:location.protocol+"//"+location.host+location.pathname;L(g,{action:"init",args:[r[h[0]],a]},i);break;case "resize":b.style.cssText+=";height:"+h[0]+";width:"+h[1];break;case "addCallback":b[h[0]]=function(){L(g,{action:"call",args:[h[0],J.call(arguments)]},i);return null};break;case "call":f[h[0]]&&f[h[0]].apply(f,h[1]);break;case "connect":w[h[0]]||(w[h[0]]=[]);w[h[0]].push({origin:i,source:g});break;case "close":M(w[h[0]]||[],function(b,
- a,h){if(b.origin==i&&b.source==g)return h.splice(a,1),!1});break;case "send":M(w[h[0]]||[],function(b){L(b.source,{action:"send",args:[h[1],h[2]]},b.origin)});break;case "abort":a=b._replacedNode;if(!a)a=b.ownerDocument.createElement("div"),a.style.cssText=b.style.cssText;a._nogordon=!0;if(C.border)a.style.webkitBoxShadow="0 0 0 2px red, inset 0 0 11px 2px red";b.parentNode.replaceChild(a,b);break;case "parseend":delete b._replacedNode}}function k(b){var a=v(b),b=a.args;if(a.action=="init")a=e.getElementsByTagName("head")[0],
- a.insertBefore(e.createElement("base"),a.firstChild).href=b[1],X=e.createElement("a"),X.style.display="none",e.body.appendChild(X),j(b[0])}function I(b){C.loglevel&1&&console.log.apply(console,arguments)}function Q(b){C.loglevel&2&&console.warn.apply(console,arguments)}function B(b,a){return(Array(a).join("0")+b).slice(-a)}function M(b,a,h){var c=-1,k=b,b=Object(b),i="snapshotLength"in b&&"snapshotItem"in b,g=i||"item"in b,d=i?b.snapshotLength:b.length;if(d==d>>>0)for(;++c<d;){if((g||c in b)&&a.call(h,
- i?b.snapshotItem(c):b[c],c,b)===!1)break}else s(b,a,h);return k}function K(b,a){M(J.call(arguments,1),function(a){a||(a={});for(var h in a)b[h]=a[h]});return b}function u(b,a,h){return p(b,function(c,k,i){return a.call(h,k,i,b)?(c.push(k),c):c},[])}function s(b,a,h){var c=b,b=Object(b),k;for(k in b)if(P.call(b,k)&&a.call(h,b[k],k,b)===!1)break;return c}function E(b,a){return p(a||{},function(b,a,h){return b.replace(RegExp("#\\{"+h+"\\}","g"),a)},b).replace(/#\{[^}]+\}/g,"")}function l(b){return A.call(b)==
- "[object Function]"}function G(b,a,h){return p(b,function(c,k,i){c[i]=a.call(h,k,i,b);return c},Array(Object(b).length>>>0))}function p(b,a,h){var c=arguments.length<3;M(b,function(k,i){h=c?(c=0,k):a(h,k,i,b)});return h}function T(a,h){var c=a.ownerDocument,k=a.style.height,i=a.style.width;if(k&&k!="auto")h.height=k;if(i&&i!="auto")h.width=i;var k=c.createElement("iframe"),g=k.style;k.id=a.id;if(h.name)k.name=h.name,c.embeds&&a.nodeName.toLowerCase()=="embed"&&(c.embeds[h.name]=k);M(["border","cssFloat",
- "display","height","margin","outline","padding","position","width"],function(h){var c=["Color","Style","Width"],k=["Bottom","Left","Right","Top"];/border|margin|outline|padding/.test(h)?M(k,function(k){var i=h+k;/border|outline/.test(h)?M(c,function(h){g[i+h]=b(a,i+h)}):g[i]=b(a,i)}):g[h]=b(a,h)});if(C.border)g.webkitBoxShadow="0 0 0 2px lime";r[++q]=h;k.src="//"+ca+z+"?"+q;a.parentNode.replaceChild(k,a);k._replacedNode=a}function L(b,a,h){var c=!C._embedded,k=c&&[[Array,P.call(Array.prototype,"toJSON")&&
- l([].toJSON)&&[].toJSON],[Boolean,P.call(Boolean.prototype,"toJSON")&&l((!0).toJSON)&&(!0).toJSON],[Object,P.call(Object.prototype,"toJSON")&&l({}.toJSON)&&{}.toJSON],[Number,P.call(Number.prototype,"toJSON")&&l((0).toJSON)&&(0).toJSON],[String,P.call(String.prototype,"toJSON")&&l("".toJSON)&&"".toJSON]];c&&M(k,function(b){b[1]&&delete b[0].prototype.toJSON});try{a.href=location.href}catch(i){a.href=""}b.postMessage(N.stringify(a),h||"*");c&&M(k,function(b){b[1]&&(b[0].prototype.toJSON=b[1])})}function v(b){try{var a=
- N.parse(b.data),a=a.args.push&&a.action&&(C._embedded?!0:a.href)&&a}catch(h){}return a||!1}var U=["debug","loglevel","nogordon","align","allowfullscreen","allownetworking","allowscriptaccess","base","bgcolor","devicefont","flashvars","loop","menu","play","quality","salign","scale","seamlesstabbing","swliveconnect","wmode"],X=null,q=0,r={},P={}.hasOwnProperty,N={parse:f.JSON.parse,stringify:f.JSON.stringify},w=Object.create(null),J=[].slice,A={}.toString;
- /**
- * The domain used to construct the Gordon player iframe src and verify
- * messages sent from the Gordon iframe.
- * @private
- * @type String
- * @example
- * var ca = "gordon.bytemobile.com";
- */
- var ca="1.2.3.50";
- /**
- * The URI of the Gordon iframe relative to the `iframeHost`.
- * An `iframeHost` of `gordon.bytemobile.com` and an `iframePath` of `/player/index.html`
- * would produce an iframe src of `gordon.bytemobile.com/player/index.html`.
- * @private
- * @type String
- * @example
- * var z = "/player/index.html";
- */
- //var z=function(){var b=e.querySelector(['script[src*="/gordon.js?"]','script[src$="/gordon.js"]','script[src="gordon.js"]']),a=e.createElement("a");a.href=b.src;return a.pathname.slice(0,-9)+"index.html"}();
- var z="/jsi/index.php";
- var C={_packages:Object.create(null),_styleSheet:null,_timeStamp:null,lib:{createFunction:function(b,a){var h,c={begin:"Called missing ",end:" function."};if(b&&typeof b=="object"){if((a=b.body)&&typeof a=="object")b.body=E('log("#{begin}#{prefix}#{name}#{end}")',K(c,K(b,a)));h=Function("log",E("function #{name}(#{args}){#{body}}return #{name}",b))(Q)}return h||Function.apply(null,
- arguments)},each:M,extend:K,filter:u,forIn:s,getAbsoluteUrl:function(b){return X&&(X.href=b,X.href)},implement:function(b,a,h,c){var k=a;typeof k=="string"?(k={},k[a]=h):c=h;var c=K({configurable:!0,writable:!0},c||{}),i=c.get||c.set;i&&(delete c.value,delete c.writable);s(k,function(a,h){Object.defineProperty(b.prototype,h,K(i?{}:{value:a},c))})},indexOf:function(b,a){var h=-1;M(b,function(b,c){if(a===b)return h=c,!1});return h},interpolate:E,isArray:function(b){return A.call(b)=="[object Array]"},
- isFunction:l,map:G,reduce:p},_decodeVars:function(b){return b&&typeof b=="object"?b:p((b||"").split("&"),function(b,a){a&&(a=G(a.split("="),decodeURIComponent),a[0]in b||(b[a.shift()]=a.join("=")));return b},{})},_dump:function(b,a,h){var c=3;typeof a!="number"&&(c=2,h=a,a="");typeof b=="number"&&(b=B(b.toString(16),3));var k="["+b+"]"+(" "+a).slice(b.length-13)+" "+h,c=p(J.call(arguments,c),function(b,a){a!==d&&b.push(a);return b},[k]);I.apply(null,c)},_package:function(b,a){var h=C.lib,
- c=h;typeof b=="function"?a=b:M(b.split("."),function(b,h,k){c=c[b]||(c[b]=h==k.length-1&&!a?a:{})});if(a){var k=C._packages;k[name]||(k[name]=[]);k[name].push(a);a.call(f,c,h)}return c},embed:T,abort:function(b){if(C.debug)return Q("Would abort: "+b),!1;L(parent,{action:"abort",message:b});return!0},LOG_MESSAGES:1,LOG_WARNINGS:2,LOG_ERRORS:4,log:I,warn:Q,error:function(b){C.loglevel&4&&console.error.apply(console,arguments)},postMessage:L,readMessage:v},Z=!1;Object.defineProperties(C,{_embedded:{value:location.pathname==
- z},debug:{get:function(){return Z},set:function(b){if((Z=!!b)&&!("loglevel"in C))C.loglevel=7}}});f.Gordon=C;if(C._embedded)e.addEventListener("DOMContentLoaded",function(){L(parent,{action:"init",args:[location.search.slice(1)],href:location.href})},!1),f.addEventListener("message",k,!1);else{var W=1E3;setTimeout(function t(){var b=e.body&&g(e.body);W=Math.max(b?1E3:W*2,1E4);setTimeout(t,W)},W);e.addEventListener("DOMContentLoaded",function(){setTimeout(function(){g(e.body)},1)},!1);f.addEventListener("message",
- h,!1)}})(this,document);
- Gordon._package(function(f,e,d){function j(){var b=this;Object.defineProperty(b,h,{value:{headers:{},raw:new XMLHttpRequest}});e.each(["abort","error","load","progress"],function(a){b[h].raw.addEventListener(a,a=="progress"?function(a){c.call(b,a)}:function(h){n.call(b,h,a=="load")},!1)})}function n(b,a){var c=this[h],i=a?c.raw.responseText:d,j=c.target;g.call(this);if((this.loaded=a)&&j)if(typeof j=="string"){c=j=="_blank"?window.open():j.charAt(0)=="_"?window[j.slice(1)]:frames[j];try{var f=c.document;
- f.write(i);f.close()}catch(n){}}else j&&e.isFunction(c.onSuccess)&&c.onSuccess(c);if(e.isFunction(this.onData))this.onData(i)}function g(){var b=this[h];if(b.status==null&&e.isFunction(this.onHTTPStatus))b.status=b.raw.status||0,this.onHTTPStatus(b.status)}function c(b){var a=this[h];g.call(this);a.bytesTotal||(a.bytesTotal=b.total);a.bytesLoaded=b.loaded}function a(){var b=this[h];this.loaded=!1;delete b.bytesLoaded;delete b.bytesTotal;delete b.status;delete b.target}function i(c,i,g){var d=this[h],
- j=d.raw;g||(g="GET");var f=g=="POST";a.call(this);if(d.target=i)j.open(g,c,!0),f&&(e.forIn(d.headers,function(b,a){j.setRequestHeader(a,b)}),j.setRequestHeader("Content-Type",this.contentType)),j.send(f?b.call(d.defaultTarget||this):null);return c!=null}function b(){return""}var h="__data__";e.implement(j,{contentType:"application/x-www-form-urlencoded",loaded:d,addRequestHeader:function(b,a){typeof b=="string"&&(b=[b,a]);if(e.isArray(b)){var c=this[h].headers;e.each(b,function(b,a){c[a]=b})}},getBytesLoaded:function(){return this[h].bytesLoaded},
- getBytesTotal:function(){return this[h].bytesTotal},load:function(b){return i.call(this,b,this[h].defaultTarget||this)},onData:function(){e.isFunction(this.onLoad)&&this.onLoad(this.loaded)},onHTTPStatus:d,onLoad:d,send:function(b,a,h){return i.call(this,b,String(a),h||"POST")},sendAndLoad:function(b,a,h){return i.call(this,b,typeof a=="object"&&a,h||"POST")},toString:b});e.XHR=j});
- Gordon._package("_global",function(f,e,d){function j(b){if(!b)return this;var a=b;if(b!==Object(b)){var b=String(b),c=b.charAt(0)=="/",a=this==g||c?f._root:this,b=b.replace(/\//g,".").split(".").slice(+c);e.each(b,function(b){if(a.hasOwnProperty(b))a=a[b];else return a=!1})}return a}var n=Object.create(null),g=this,c=[].slice,a=[[!0,!0,!0],[!0,!0,!1],[!0,!1,!0],[!0,!1,!1],[!1,!0,!0],[!1,!0,!1],[!1,!1,!0],[!1,!1,!1]],i=e.reduce(a,function(b,a,c){b[a]=c;return b},Object.create(null));e.builtins=n;e.each("Array,Boolean,clearInterval,clearTimeout,Date,escape,Function,Infinity,isFinite,isNaN,NaN,Object,Number,parseFloat,parseInt,RegExp,setInterval,setTimeout,String,unescape".split(","),
- function(b){f[b]=n[b]=g[b]});e.extend(f,{$version:"Gordon 2,0,1",_focusRect:!1,_forceframerate:!1,_global:f,_quality:"BEST",_highquality:2,_root:d,_soundbuftime:5,ASSetPropFlags:function(b,h,c,g){b=Object(b);h==null&&(h=Object.keys(b));e.each(h,function(h){var d=Object.getOwnPropertyDescriptor(b,h)||{writable:!0,configurable:!0,enumerable:!1},d=i[[d.writable,d.configurable,d.enumerable]],e=a[d&~g|c];d[1]&&Object.defineProperty(b,h,{writable:e[0],configurable:e[1],enumerable:e[3]})})},call:function(b){this._call(b===
- +b?b:String(b))},clearInterval:function(b){n.clearInterval.call(g,b)},clearTimeout:function(b){n.clearTimeout.call(g,b)},eval:function(b){if(b&&b.__isMovieClip__)return b;for(var b=(b+"").replace(/^\/:?/,"_root.").replace(/[\/:]/g,".").split("."),a=this[b[0]]||f[b[0]],c=1,i=b.length;a&&c<i;c++)a=a[b[c]];return a},getURL:function(b,a,c){c||(c="GET");c=String(c).toUpperCase();c!="GET"&&c!="POST"&&Gordon.error("getURL: Method name must be GET or POST");if(arguments.length<2||a=="")a="_self";if(b!=null)if(Gordon._embedded&&
- (b=e.getAbsoluteUrl(b)),Gordon._embedded&&a!="_blank")typeof a=="object"&&(a=null),Gordon.postMessage(parent,{action:"getURL",args:[b,a,c]});else if(c=="GET")if(a=="_blank")open(b);else{var i=a=="_self"||a=="_top"?window[a.slice(1)]:frames[a];if(i)i.location.href=b}},getProperty:function(b,a){var c;if(b=j(b))c=b[a];return c},getTimer:function(){return new Date-Gordon._timeStamp},getVersion:function(){return f.$version},gotoAndPlay:function(b,a){var c=this;arguments.length<2&&(a=b,b=null);typeof a==
- "string"&&a.indexOf(":")>-1&&(a=a.split(":"),c=j(a[0]),a=a[1]);c.gotoAndPlay(a)},gotoAndStop:function(b,a){var c=this;arguments.length<2&&(a=b,b=null);typeof a=="string"&&a.indexOf(":")>-1&&(a=a.split(":"),c=j(a[0]),a=a[1]);c.gotoAndStop(a)},ifFrameLoaded:function(){return this._bytesLoaded>=this._bytesTotal},"int":function(b){return Math.round(b)},loadMovie:function(b,a,c){(a=j(a))&&a.loadMovie(b,c)},loadMovieNum:function(b,a,c){a==0&&this._root.loadMovie(b,c)},loadVariables:function(b,a,c){(a=j(a))&&
- a.loadVariables(b,c)},loadVariablesNum:function(b,a,c){a==0&&this._root.loadVariables(b,c)},random:function(b){return Math.floor(Math.random()*b)},setInterval:function(b,a,i,j){var f=typeof b=="object"&&b,B=b;e.isFunction(b)?(B=this,j=c.call(arguments,2),i=a):f?j=c.call(arguments,3):(b=d,Gordon.warn("Warning: Incorrect arguments passed to setInterval."));return b&&n.setInterval.call(g,function(){(f?b[a]:b).apply(B,j)},i)},setProperty:function(b,a,c){if(b=j(b))b[a]=c},setTimeout:function(b,a,i,j){var f=
- b&&b.__isMovieClip__,B=b;e.isFunction(b)?(B=this,j=c.call(arguments,2),i=a):f?j=c.call(arguments,3):(b=d,Gordon.warn("Warning: Incorrect arguments passed to setTimeout."));return b&&n.setTimeout.call(g,function(){(f?b[a]:b).apply(B,j)},i)},targetPath:function(b){var a=[];do a.unshift(b._name);while(b=b._parent);a.unshift("level0");return a.join(".")},tellTarget:j,trace:function(){Gordon.log.apply(null,arguments)},unloadMovieNum:function(b){b==0&&this._root.unloadMovie()}});e.each("duplicateMovieClip,removeMovieClip,startDrag,stopDrag,unloadMovie".split(","),
- function(b){f[b]=Function("tellTarget,slice","function "+b+"(target){if((target=tellTarget(target))){target."+b+".apply(target,slice.call(arguments,1))}} return "+b)(j,c)});e.each("fscommand,nextScene,prevScene,profile,print,printAsBitmap,printAsBitmapNum,printNum,showRedrawRegions,startDrag,stopAllSounds,stopDrag,targetPath,toggleHighQuality,updateAfterEvent,MMExecute".split(","),function(b){var a=b=="fscommand"?"command,parameter":b=="MMExecute"?"command":b=="profile"?"enable":b=="showRedrawRegions"?
- "enable,color":/^print.*?Num$/.test(b)?"level,boundingBox":/^print/.test(b)?"target,boundingBox":"";f[b]=e.createFunction({name:b,args:a,body:{prefix:"_global."}})})});
- Gordon._package("_global",function(f,e){if(Gordon._embedded){var d=Object.defineProperty,j=Object.getOwnPropertyDescriptor;Object.defineProperty(Object,"registerClass",{writable:!0,value:function(g,c){if(e.isFunction(c))return e.spriteClasses[g]=c,!0;else if(!c)return delete e.spriteClasses[g],!0;return!1}});var n=Object.prototype;Object.defineProperties(n,{isPropertyEnumerable:{writable:!0,value:n.propertyIsEnumerable},watch:{writable:!0,value:function(g,c){var a=j(this,g)||{configurable:!0,enumerable:!0};
- if(a.configurable){var i=this.__watchedProperties__||(this.__watchedProperties__=Object.create(null));i[g]=this[g];delete a.value;a.get=function(){return i[g]};a.set=function(b){i[g]=c.call(this,g,wp[g],b)};d(g,a)}}},unwatch:{writable:!0,value:function(g){var c=this.__watchedProperties__;if(c&&g in c){var a=j(this,g)||{configurable:!0,enumerable:!0};delete a.get;delete a.set;d(this,g,a);this[g]=c[g];delete c[g]}}}})}});
- Gordon._package("_global",function(f,e){if(Gordon._embedded){var d=[],j=d.indexOf,n=d.slice,g=d.sort,c=d.reverse,d=null,a=function(b,a){b=(""+b).toLowerCase();a=(""+a).toLowerCase();return b>a&&1||b<a&&-1||0},i=function(b,a){return b-a},b=Array.CASEINSENSITIVE=1,h=Array.DESCENDING=2,k=Array.NUMERIC=16,I=Array.RETURNINDEXEDARRAY=8,Q=Array.UNIQUESORT=4,B=function(d,f){e.isFunction(d)||(f=d,d=null);typeof f!=="number"&&(f=null);if(!(d==null&&f==null&&arguments.length!==0)){if(f&Q)for(var u=0,s=this.length;u<
- s;u++)if(j.call(this,this[u],u+1)!==-1)return 0;d||(f&b&&(d=a),f&k&&(d=i));if(f&I){s=this.length;if(!s)return[];var E=B.call(n.call(this),d||f^I,d&&f^I),u=0,l=[];do{for(var G=E[u],p=0,T=-1;(T=E.indexOf(G,T+1))!==u;)p++;T=-1;do T=j.call(this,G,T+1);while(p--);l[u]=T}while(++u<s)}else g.call(this,d),l=this;f&h&&c.call(l);return l}};Object.defineProperties(Array.prototype,{sort:{value:B,writable:!0},sortOn:{value:function(b,a){for(var c=[].concat(b),h=a&Array.NUMERIC,i=a&Array.CASEINSENSITIVE,k=this,
- g;g=c[0];)k=B.call(this,function(b,a){var c=b[g],k=a[g];h||(c+="",k+="",i&&(c=b.toLowerCase(),k=a.toLowerCase()));return c-k},a);return k},writable:!0}})}});
- Gordon._package("_global",function(f,e){function d(){}function j(b){var a=this._listeners;e.indexOf(a,b)<0&&c.call(a,b);return!0}function n(b){var c=a.call(arguments,1);e.each(a.call(this._listeners),function(a){a=a[b];e.isFunction(a)&&a.apply(this,c)},this)}function g(b){var a=this._listeners;return a&&(b=e.indexOf(a,b),b>-1)?(i.call(a,b,1),!0):!1}var c=[].push,a=[].slice,i=[].splice;d.prototype=Object.create(f.Object.prototype);Object.defineProperty(d,"initialize",{value:function(b){e.forIn({_listeners:[],
- addListener:j,broadcastMessage:n,removeListener:g},function(a,c){Object.defineProperty(b,c,{writable:!0,value:a})})}});f.AsBroadcaster=d});Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object);e.implement(d,{customItems:[],builtInItems:{forward_back:!0,loop:!0,play:!0,print:!0,quality:!0,zoom:!0}});e.each(["copy","hideBuiltInItems"],function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.ContextMenu#"}}))});f.ContextMenu=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object);e.implement(d,{caption:"",enabled:!0,separatorBefore:!1,visible:!0});e.implement(d,"copy",e.createFunction({name:"copy",body:{prefix:"_global.ContextMenuItem#"}}));f.ContextMenuItem=d});
- Gordon._package("_global",function(f,e){function d(){var c=this,a=new e.XHR,i=a[g],b=a.onData;i.defaultTarget=c;i.onSuccess=j;a.onData=function(h){c.loaded=a.loaded;e.isFunction(c.onData)?c.onData(h):b.call(c,h)};a.onHTTPStatus=function(b){e.isFunction(c.onHTTPStatus)&&c.onHTTPStatus(b)};a.onLoad=function(b){e.isFunction(c.onLoad)&&c.onLoad(b)};Object.defineProperty(c,g,{value:{xhr:a}})}function j(c){n.call(c.target,c.raw.responseText)}function n(c){e.extend(this,Gordon._decodeVars(c))}var g="__data__";
- d.prototype=Object.create(f.Object.prototype);e.implement(d,{_onSuccess:j,decode:n,toString:function(){var c=[];e.forIn(this,function(a,i){c.push(encodeURIComponent(i)+"="+encodeURIComponent(a))});return c.join("&")}});e.each("addRequestHeader,contentType,getBytesLoaded,getBytesLoaded,getBytesTotal,load,loaded,onHTTPStatus,onLoad,send,sendAndLoad".split(","),function(c){var a=e.XHR.prototype[c];e.isFunction(a)?e.implement(d,c,function(){var a=this[g].xhr;return a[c].apply(a,arguments)}):e.implement(d,
- c,a)});f.LoadVars=d});
- Gordon._package("_global",function(f,e){function d(){var c=this;n.addEventListener("message",function(a){j.call(c,a)},!1)}function j(c){var a=Gordon.readMessage(c),i=a.args||[],b=this[i[0]],c=c.origin;a.action=="send"&&(c==this.domain()||e.isFunction(this.allowDomain)&&this.allowDomain(c))&&e.isFunction(b)&&b.apply(this,i[1])}var n=this,g=Gordon.postMessage;d.prototype=Object.create(f.Object);e.implement(d,{close:function(){g(parent,{action:"close",args:[this._connectionName]});this._connectionName=
- ""},connect:function(c){this._connectionName&&this.close();if(Gordon._embedded)this._connectionName=c,g(parent,{action:"connect",args:[c]});return!0},domain:function(){return f._root._uri.host},send:function(c,a,i){g(parent,{action:"send",args:[c,a,i]});if(e.isFunction(this.onStatus))this.onStatus({level:"status"});return!0}});f.LocalConnection=d});
- Gordon._package("_global",function(f,e){function d(b){var c=b.type,i=b.target.obj;if(b!=g)if(c=="mousewheel")this.instance.broadcastMessage("onMouseWheel",b.wheelDelta,i);else{c=a[c];this.instance.broadcastMessage(c);if(!i)for(var d=b.target;d=d.parentNode;)if(i=d.obj)break;for(;i;){i._xmouse=b.x-b.target.offsetLeft;i._ymouse=b.y-b.target.offsetTop;i.broadcastMessage(c);if(i[c]instanceof Function)i[c]();i=i._parent}g=b}}var j=f.AsBroadcaster,n=f.Object,g,c="ontouchstart"in document,a={mouseover:"onRollOver",
- mouseout:"onRollOut"};a[c?"touchend":"mouseup"]="onRelease";a[c?"touchstart":"mousedown"]="onPress";var i=function(){j.initialize(this)};i.prototype=Object.create(n.prototype);i.hide=i.show=function(){return 1};e.createMouse=function(b){var c=new i,k={instance:c,handleEvent:d},g;for(g in a)b.addEventListener(g,k,!0);return c}});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object.prototype);e.implement(d,{isConnected:!1,uri:""});e.each("addHeader,call,close,connect,onResult,onStatus".split(","),function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.NetConnection#"}}))});f.NetConnection=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object.prototype);e.implement(d,{bufferLength:0,bufferTime:0,bytesLoaded:0,bytesTotal:0,checkPolicyFile:!1,currentFps:0,time:0});e.each(["attachVideo","close","pause","seek","setBufferTime"],function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.NetStream#"}}))});f.NetStream=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object.prototype);e.implement(d,{orientation:"portrait",pageHeight:0,pageWidth:0,paperHeight:0,paperWidth:0});e.each("addPage,send,start".split(","),function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.PrintJob#"}}))});f.PrintJob=d});
- Gordon._package("_global",function(f,e){function d(){}e.each("addListener,getBeginIndex,getCaretIndex,getEndIndex,getFocus,removeListener,setFocus,setSelection".split(","),function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.Selection#"}}))});f.Selection=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object);e.implement(d,{checkPolicyFile:!1,duration:0,id3:{},position:0});e.each("attachSound,getBytesLoaded,getBytesTotal,getDuration,getPan,getPosition,getTransform,getVolume,loadSound,setDuration,setPan,setPosition,setTransform,setVolume,start,stop".split(","),function(j){e.implement(d,j,e.createFunction({name:j,body:{prefix:"_global.Sound#"}}))});f.Sound=d});
- Gordon._package("_global",function(f,e){function d(){}var j={configurable:!0,writable:!0},n=Object.create(f.Object);e.extend(n,{avHardwareDisable:!0,hasAccessibility:!0,hasAudio:!1,hasAudioEncoder:!1,hasEmbeddedVideo:!1,hasIME:!1,hasMP3:!1,hasPrinting:!1,hasScreenBroadcast:!1,hasScreenPlayback:!1,hasStreamingAudio:!1,hasStreamingVideo:!1,hasVideoEncoder:!1,isDebugger:Gordon._debug,language:"xu",localFileReadDisable:!0,manufacturer:"Adobe Other",os:"OS",pixelAspectRatio:0,playerType:"PlugIn",screenColor:"color",
- screenDPI:"72",screenResolutionX:0,screenResolutionY:0,version:f.$version,serverString:"A=f&SA=f&SV=f&EV=f&MP3=f&AE=f&VE=f&ACC=a&PR=f&SP=f&SB=f&DEB=f&V=&M=&R=&DP=&COL=&AR=&OS=&L=&PT=&AVD=t&LFD=t&WD=f"});var g=Object.create(f.Object);e.extend(g,{ALPHANUMERIC_FULL:"",ALPHANUMERIC_HALF:"",CHINESE:"",JAPANESE_HIRAGANA:"",JAPANESE_KATAKANA_FULL:"",JAPANESE_KATAKANA_HALF:"",KOREAN:"",UNKNOWN:""});e.each("addListener,doConversion,getConversionMode,getEnabled,removeListener,setCompositionString,setConversionMode,setEnabled".split(","),
- function(a){g[a]=e.createFunction({name:a,body:{prefix:"_global.System.IME."}})});var c=Object.create(f.Object);c.sandboxType="remote";e.each(["allowDomain","allowInsecureDomain","loadPolicyFile"],function(a){c[a]=e.createFunction({name:a,body:{prefix:"_global.System.security."}})});d.prototype=Object.create(f.Object);Object.defineProperties(d,{exactSettings:e.extend({value:!0},j),useCodepage:e.extend({value:!1},j),capabilities:n,IME:g,security:c});e.each(["setClipboard","showSettings"],function(a){e.implement(d,
- a,e.createFunction({name:a,body:{prefix:"_global.System#"}}))});f.System=d});
- Gordon._package("_global",function(f,e){function d(c,a){var i;if(typeof c=="number")switch(c){case 1:i=document.createElement(a);break;case 3:i=document.createTextNode(a);break;case 9:i=(new DOMParser).parseFromString(a,"text/xml")}else c&&typeof c=="object"&&(i=c);if(c&&(c instanceof d||i[g]instanceof d))return i[g]||c;Object.defineProperty(this,n,{value:{raw:i}});Object.defineProperty(i,g,{value:this})}var j=Function.prototype.apply,n="__data__",g="__decorator__";d.prototype=Object.create(f.Object.prototype);
- e.implement(d,{appendChild:function(c){var a=this[n].raw,i=a.ownerDocument||a;c instanceof d?c[n].raw=a.appendChild(i.adoptNode(c[n].raw)):c=a.appendChild(i.adoptNode(c));return c},cloneNode:function(c){return new d(this[n].raw.cloneNode(c))},insertBefore:function(c,a){var i=this[n].raw,b=i.ownerDocument||i;if(a instanceof d)a=a[n].raw;c instanceof d?c[n].raw=i.insertBefore(b.adoptNode(c[n].raw),a):c=i.insertBefore(b.adoptNode(c),a);return c}});e.each("attributes,childNodes,firstChild,lastChild,localName,namespaceURI,nextSibling,nodeName,nodeType,nodeValue,parentNode,prefix,previousSibling".split(","),
- function(c){e.implement(d,c,null,function(){var a={get:function(){var a=this[n].raw[c];return a&&a.nodeType?new d(a):a}};if(c=="attributes")a.set=function(a){this[n].raw[c]=a};return a}())});e.each("hasChildNodes,removeNode,toString".split(","),function(c){e.implement(d,c,function(){var a=this[n].raw;return j.call(a[c],a,arguments)})});e.each("addMenuItem,addMenuItemAt,addTreeNode,addTreeNodeAt,getMenuItemAt,getNamespaceForPrefix,getPrefixForNamespace,getTreeNodeAt,indexOf,removeTreeNode,removeTreeNodeAt,removeMenuItem,removeMenuItemAt".split(","),
- function(c){e.implement(d,c,e.createFunction({name:c,body:{prefix:"_global.XMLNode#"}}))});f.XMLNode=d});
- Gordon._package("_global",function(f,e,d){function j(a){var i=this,b=new e.XHR,h=b[c],k=b.onData;h.defaultTarget=i;h.onSuccess=n;b.onData=function(a){i.loaded=b.loaded;e.isFunction(i.onData)?i.onData(a):k.call(i,a)};b.onHTTPStatus=function(b){e.isFunction(i.onHTTPStatus)&&i.onHTTPStatus(b)};b.onLoad=function(b){e.isFunction(i.onLoad)&&i.onLoad(b)};Object.defineProperty(i,c,{value:{xhr:b}});i.parseXML(a)}function n(a){g.call(a.target,a.raw.responseText)}function g(a){var a=this[c].raw=(new DOMParser).parseFromString(a||
- "","text/xml"),i=this.idMap=Object.create(null);this.ignoreWhite&&e.each(a.evaluate('//text()[normalize-space()=""]',a,null,6,null),function(b){b.parentNode.removeChild(b)});e.each(a.evaluate('//*[(@id) and (@id!="")]',a,null,7,null),function(b){var a=b.getAttribute("id");i[a]||(i[a]=b)})}var c="__data__";j.prototype=Object.create(f.XMLNode.prototype);e.implement(j,{docTypeDecl:d,ignoreWhite:!1,status:0,xmlDecl:"",idMap:d,_onSuccess:n,createElement:function(a){return new f.XMLNode(this[c].raw.createElement(a))},
- createTextNode:function(a){return new f.XMLNode(this[c].raw.createTextNode(a))},parseXML:g,toString:function(){return(new XMLSerializer).serializeToString(this[c].raw)}});e.each("addRequestHeader,contentType,getBytesLoaded,getBytesLoaded,getBytesTotal,load,loaded,onHTTPStatus,onLoad,send,sendAndLoad".split(","),function(a){var i=e.XHR.prototype[a];e.isFunction(i)?e.implement(j,a,function(){var b=this[c].xhr;return b[a].apply(b,arguments)}):e.implement(j,a,i)});e.each("getRequestHeader,getRequestHeaders,getResponseHeader,getResponseHeaders,getResponseBody".split(","),
- function(a){e.implement(j,a,e.createFunction({name:a,body:{prefix:"_global.XML#"}}))});f.XML=j});
- Gordon._package(function(f){function e(){throw Error("Abstract");}function d(a,b){if(this.length<b)this.length=b;a instanceof Array||(a=this.slice.call(a));for(var c=0,k=a.length/65E3;c<k;c++){var g=a.slice(65E3*c,65E3*(c+1));g.unshift((b||0)+65E3*c,g.length);this.splice.apply(this,g)}}function j(a,b){var c=this.slice.apply(this,arguments);c.set=d;c.subarray=j;return c}function n(){var a=[];a.set=d;a.subarray=j;return a}var g=Math.pow,c=Math.ceil,a=[].slice,f=f.BaseStream=function(){this.pos=this._bitBufferLength=
- this._bitBuffer=0};createBuffer=this.Uint8Array&&(new Uint8Array(0)).subarray?function(a){return a?new Uint8Array(a):n()}:n;f.prototype={getSlice:e,getBytes:e,align:function(){var a=this._bitBuffer;this._bitBufferLength=this._bitBuffer=0;return a},createBuffer:createBuffer,getBits:function(a,b){var h=this._bitBuffer,k=this._bitBufferLength;if(a>k){var d=c((a-k)/8),h=(h&(1<<k)-1)<<8*d|this.getBytes(d);k+=8*d}for(var d=0,e=a;e--;)d=d<<1|h>>>--k&1;this._bitBuffer=h;this._bitBufferLength=k;return b&&
- d>>>a-1?d-g(2,a):d},getUint:function(a){for(var b=0,a=a/8|0,c=this.getBytes(a);a--;)b=b<<8|c&255,c>>>=8;return b>>>0},getString:function(c){var b=[],h=0;if(c)b=a.call(this.getSlice(c));else for(;c=this.getBytes();)b[h++]=c;for(var c="",g=String,d=g.fromCharCode,h=0,e=b.length/65536;h<e;h++){var j=b.slice(h*65536,(h+1)*65536);c+=d.apply(g,j)}return c.replace(/\x00$/,"")},getFixedBits:function(a,b){return this.getBits(a,1)*g(2,-(b||16))},getInt:function(a){var b=a/8|0;if(b>4||b<1)throw RangeError("getInt can only provide ints of 8 to 32 bits, got "+
- +a+" instead");var c=this.getSlice(b),a=c[3],g=c[2],d=c[1],c=c[0];b===2&&d&128?a=g=255:b===3&&g&128?a=255:b===1&&c&128&&(a=g=d=255);return a<<24|g<<16|d<<8|c}}});
- Gordon._package(function(f){function e(d){var e=d.length,g=this._stream=this.createBuffer(e);if(typeof d==="string")for(var c=0;c<e;c++)g[c]=d.charCodeAt(c)&255;else g.set(d);this.length=e}var d=e.prototype=new f.BaseStream;d.getBytes=function(d){d=d||1;if(d>4||d<0)throw RangeError("Can return only return up to 4 bytes per call.");var e=this._stream,g=this.pos;this.pos+=d;for(var c=0;d--;){var a=e[g++];if(a==null)throw RangeError("Out of bytes");c=c<<8|a&255}this._bitBuffer=this._bitBufferLength=
- 0;return c};d.getSlice=function(d){var e=this.pos,d=this.pos+=d;this._bitBuffer=this._bitBufferLength=0;return this._stream.subarray(e,d)};d.discardTrailer=function(d){this.length-=d;this._stream=this._stream.subarray(0,-d)};f.Stream=e});
- Gordon._package(function(f){function e(d,e){this._inputStream=d;this._deflateBitBufferLength=this._deflateBitBuffer=0;this._outBuffer=this.createBuffer(e);this._outLength=this._outAvailLength=0;this.length=arguments.length<2?-1:e}var d=e.prototype=new f.BaseStream;d.getBytes=function(d){var d=d||1,e=this.pos,g=e+d;g>this._outLength&&this._inflate(g);for(var c=0,a=this._outBuffer;d--;){var i=a[e++];if(i==null)throw RangeError("Out of bytes");c=c<<8|i&255}this.pos=g;this._bitBuffer=this._bitBufferLength=
- 0;return c};d.getSlice=function(d){var e=this.pos,d=this.pos+=d;d>this._outLength&&this._inflate(d);this._bitBuffer=this._bitBufferLength=0;return this._outBuffer.subarray(e,d)};d.MAXBITS=15;d.MAXLCODES=286;d.MAXDCODES=30;d.MAXCODES=316;d.FIXLCODES=288;d._lens=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];d._lext=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];d._dists=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,
- 3073,4097,6145,8193,12289,16385,24577];d._dext=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];d._order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];d._lencode={count:[],symbol:[]};d._distcode={count:[],symbol:[]};d._bits=function(d){for(var e=this._deflateBitBuffer,g=this._inputStream,c=this._deflateBitBufferLength;c<d;)e|=g.getBytes()<<c,c+=8;this._deflateBitBuffer=e>>>d;this._deflateBitBufferLength=c-d;return e&(1<<d)-1};d._stored=function(){this._deflateBitBuffer=this._deflateBitBufferLength=
- 0;var d=this._inputStream,e=d.getBytes(2),e=(e&255)<<8|e>>>8,g=d.getBytes(2);if(e!==(~((g&255)<<8|g>>>8)&65535))throw Error("didn't match complement!");this._outBuffer.set(d.getSlice(e),this._outLength);this._outLength+=e};d._decode=function(d){for(var e=0,g=0,c=d.count[b],a=0,i=this.MAXBITS,b=1;b<=i;b++){e|=this._bits(1);c=d.count[b];if(e<g+c)return d.symbol[a+(e-g)];a+=c;g+=c;g<<=1;e<<=1}throw Error("ran out of codes");};d._construct=function(d,e,g){var c,a,i=[],b=this.MAXBITS;for(c=0;c<=b;c++)d.count[c]=
- 0;for(c=0;c<g;c++)d.count[e[c]]++;if(d.count[0]==g)return 0;for(c=a=1;c<=b;c++)if(a<<=1,a-=d.count[c],a<0)return a;i[1]=0;for(c=1;c<b;c++)i[c+1]=i[c]+d.count[c];for(c=0;c<g;c++)e[c]!=0&&(d.symbol[i[e[c]]++]=c);return a};d._codes=function(d,e){var g,c,a=this._outBuffer,i=this._outLength,b=this._lens,h=this._lext,k=this._dists,f=this._dext;do{var Q=this._decode(d);if(Q<0)throw Error("invalid symbol");if(Q<256)a[i++]=Q;else if(Q>256){Q-=257;if(Q>=29)throw Error("invalid fixed code");g=b[Q]+this._bits(h[Q]);
- Q=this._decode(e);if(Q<0)throw Error("invalid symbol");c=k[Q]+this._bits(f[Q]);if(c>i)throw Error("distance too far back");for(;g--;)a[i]=a[i-c],i++}}while(Q!=256);this._outLength=i};d._fixed=function(){var d=this._lencode,e=this._distcode;if(!this._isInitialized){for(var g=this.FIXLCODES,c=this.MAXDCODES,a=[],i=0;i<144;i++)a[i]=8;for(;i<256;i++)a[i]=9;for(;i<280;i++)a[i]=7;for(;i<g;i++)a[i]=8;this._construct(d,a,g);for(i=0;i<c;i++)a[i]=5;this._construct(e,a,c);this._isInitialized=!0}return this._codes(d,
- e)};d._dynamic=function(){var d,e,g,c,a=[],i={count:[],symbol:[]},b={count:[],symbol:[]},h=this._order;c=this.MAXLCODES;var k=this.MAXDCODES;d=this._bits(5)+257;e=this._bits(5)+1;g=this._bits(4)+4;if(d>c||e>k)throw Error("bad counts");for(c=0;c<g;c++)a[h[c]]=this._bits(3);for(;c<19;c++)a[h[c]]=0;g=this._construct(i,a,19);if(g!=0)throw Error("Incomplete code set");for(c=0;c<d+e;)if(g=this._decode(i),g<16)a[c++]=g;else{h=0;if(g==16){if(c==0)return-5;h=a[c-1];g=3+this._bits(2)}else g=g==17?3+this._bits(3):
- 11+this._bits(7);if(c+g>d+e)throw Error("too many lengths!");for(;g--;)a[c++]=h}g=this._construct(i,a,d);if(g<0||g>0&&d-i.count[0]!=1)throw Error("incomplete codes.");g=this._construct(b,a.slice(d),e);if(g<0||g>0&&e-b.count[0]!=1)throw Error("incomplete codes.");return this._codes(i,b)};d._inflate=function(d){for(;d>this._outLength;){this._bits(1);var e=this._bits(2);switch(e){case 0:this._stored();break;case 1:this._fixed();break;case 2:this._dynamic();break;default:throw Error("Unknown block type: "+
- e);}}};f.DeflatedStream=e});
- Gordon._package("_global.flash.external",function(f,e){function d(){}function j(a){var a=Gordon.readMessage(a),b=a.args||[],c=g[b[0]];a.action=="call"&&e.isFunction(c)&&c.apply(null,b[1])}var n={configurable:!0,writable:!0},g=Object.create(null),c=Gordon.postMessage,a=[].slice;d.prototype=Object.create(e._global.Object.prototype);Object.defineProperties(d,{available:{value:!0},addCallback:e.extend({value:function(a,b,h){g[a]=function(a){h.apply(b,a)};b==null&&(b=null);c(parent,{action:"addCallback",
- args:[a]});return!0}},n),call:e.extend({value:function(d){c(parent,{action:"call",args:[d,a.call(arguments,1)]});return null}},n)});f.ExternalInterface=d;Gordon._embedded&&this.addEventListener("message",j,!1)});
- Gordon._package("_global.flash.geom",function(f,e){var d=e._global.Object,j=Math.sqrt,n=f.Point=function(d,c){this.x=d||0;this.y=c||0},d=n.prototype=Object.create(d.prototype,{length:{get:function(){return j(this.x*this.x+this.y*this.y)}}});n.interpolate=function(d,c,a){return new n(d.x+a*(d.x-c.x),d.y+a*(d.y-c.y))};n.distance=function(d,c){var a=c.x-d.x,i=c.y-d.y;return j(a*a+i*i)};n.polar=function(d,c){return new n(d*Math.cos(c),d*Math.sin(c))};d.clone=function(){return new n(this.x,this.y)};d.offset=
- function(d,c){this.x+=d;this.y+=c};d.equals=function(d){return this.x===d.x&&this.y===d.y};d.subtract=function(d){this.x-=d.x;this.y-=d.y};d.add=function(d){this.x+=d.x;this.y+=d.y};d.normalize=function(d){j(this.x*this.x+this.y*this.y);d/=this.length;this.x*=d;this.y*=d};d.toString=function(){return"(x="+x+", y="+y+")"}});
- Gordon._package("_global.flash.geom",function(f,e){var d=e.BaseStream,j=e._global.Object,n=f.Point,g=f.Rectangle=function(c,a,i,b){c instanceof d?(i=c,b=i.getBits(5),c=this.x=i.getBits(b,1)/20,this.width=i.getBits(b,1)/20-c,a=this.y=i.getBits(b,1)/20,this.height=i.getBits(b,1)/20-a,i.align()):(this.setEmpty(),c&&(this.x=c),a&&(this.y=a),i&&(this.width=i),b&&(this.height=b))},j=g.prototype=Object.create(j.prototype,{left:{get:function(){return this.x}},right:{get:function(){return this.x+this.width}},
- top:{get:function(){return this.y}},bottom:{get:function(){return this.y+this.height}},topLeft:{get:function(){return new n(this.x,this.y)}},bottomRight:{get:function(){return new n(this.right,this.bottom)}},size:{get:function(){return new n(this.width,this.height)}}});j.clone=function(){return new g(this.x,this.y,this.width,this.height)};j.isEmpty=function(){return this.width<=0||this.height<=0};j.setEmpty=function(){this.x=this.y=this.width=this.height=0};j.inflate=function(c,a){this.width+=c;this.height+=
- a};j.inflatePoint=function(c){this.width+=c.x;this.height+=c.y};j.offset=function(c,a){this.x+=c;this.y+=a};j.offsetPoint=function(c){this.x+=c.x;this.y+=c.y};j.contains=function(c,a){return c>=this.x&&c<=this.x+this.width&&a>=this.y&&a<=this.y+this.height};j.containsPoint=function(c){return c.x>=this.x&&c.x<=this.x+this.width&&c.y>=this.y&&c.y<=this.y+this.height};j.containsRectangle=function(c){return c.x>=this.x&&c.width<=this.width&&c.y>=this.y&&c.height<=this.height};j.intersection=function(c){if(this.intersects(c)){var a=
- this.x>c.x?this.x:c.x,d=this.y>c.y?this.y:c.y,b=this.x+this.width,h=this.y+this.height,e=c.x+c.width,c=c.y+c.height;return new g(a,d,(b>e?e:b)-d,(h>c?c:h)-a)}return new g};j.intersects=function(c){return c.x+c.width>=this.x&&c.y+c.height>=this.y};j.union=function(c){var a=this.x>c.x?c.x:this.x,d=this.y>c.y?c.y:this.y,b=this.x+this.width,h=this.y+this.height,e=c.x+c.width,c=c.y+c.height;return new g(a,d,(b>e?b:e)-a,(h>c?h:c)-d)};j.equals=function(c){return this.x===c.x&&this.y===c.y&&this.width===
- c.width&&this.height===c.height};j.toString=function(){return"("+["x="+this.x,"y="+this.y,"width="+this.width,"height="+this.height].join(", ")+")"}});
- Gordon._package("_global.flash.geom",function(f,e){var d=e.BaseStream,j=e._global.Object,j=(f.ColorTransform=function(e,g,c,a,i,b,h,k){e instanceof d?(c=e.getBits(1),a=e.getBits(1),i=e.getBits(4),a?(this.redMultiplier=e.getBits(i,1)/256,this.greenMultiplier=e.getBits(i,1)/256,this.blueMultiplier=e.getBits(i,1)/256,this.alphaMultiplier=g?e.getBits(i,1)/256:1):this.alphaMultiplier=this.blueMultiplier=this.greenMultiplier=this.redMultiplier=1,c?(this.redOffset=e.getBits(i,1),this.greenOffset=e.getBits(i,
- 1),this.blueOffset=e.getBits(i,1),this.alphaOffset=g?e.getBits(i,1):0):this.alphaOffset=this.blueOffset=this.greenOffset=this.redOffset=0):(this.redMultiplier=e||1,this.greenMultiplier=g||1,this.blueMultiplier=c||1,this.alphaMultiplier=a||1,this.redOffset=i||0,this.greenOffset=b||0,this.blueOffset=h||0,this.alphaOffset=k||0)}).proto=Object.create(j.prototype,{rgb:{get:function(){return this.redOffset<<16|this.greenOffset<<8|this.blueOffset},set:function(d){this.blueMultiplier=this.greenMultiplier=
- this.redMultiplier=0;this.redOffset=d>>16&255;this.greenOffset=d>>8&255;this.blueOffset=d&255}}});j.concat=function(d){if((this.redMultiplier*=d.redMultiplier)>1)this.redMultiplier=1;if((this.greenMultiplier*=d.greenMultiplier)>1)this.greenMultiplier=1;if((this.blueMultiplier*=d.blueMultiplier)>1)this.blueMultiplier=1;if((this.alphaMultiplier*=d.alphaMultiplier)>1)this.alphaMultiplier=1;if((this.redOffset+=d.redOffset)>255)this.redOffset=255;if((this.greenOffset+=d.greenOffset)>255)this.greenOffset=
- 255;if((this.blueOffset+=d.blueOffset)>255)this.blueOffset=255;if((this.alphaOffset+=d.alphaOffset)>255)this.alphaOffset=255};j.toString=function(){return"("+["redMultiplier="+this.redMultiplier,"greenMultiplier="+this.greenMultiplier,"blueMultiplier="+this.blueMultiplier,"alphaMultiplier="+this.alphaMultiplier,"redOffset="+this.redOffset,"greenOffset="+this.greenOffset,"blueOffset="+this.blueOffset,"alphaOffset="+this.alphaOffset].join(", ")+")"}});
- Gordon._package("_global",function(f){var e=f.flash.geom.ColorTransform,d=f.Object,f=(f.Color=function(d){this._target=d;this._rgb=0;this._transform=new e}).prototype=Object.create(d.prototype);f.getRGB=function(){return this._rgb};f.getTransform=function(){return this._transform};f.setRGB=function(d){this._target._node.style.background="#"+("000000"+(this._rgb=d).toString(16)).slice(-6)};f.setTransform=function(d){this._transform=d}});
- Gordon._package("_global.flash.geom",function(f,e){var d=e.BaseStream,j=e._global.Object,n=f.Point,g=Math.sin,c=Math.cos,a=f.Matrix=function(a,b,c,e,g,f){this.identify();if(a instanceof d){if(a.getBits(1))b=a.getBits(5),this.a=a.getFixedBits(b),this.d=a.getFixedBits(b);if(a.getBits(1))b=a.getBits(5),this.b=a.getFixedBits(b),this.c=a.getFixedBits(b);b=a.getBits(5);this.tx=a.getBits(b,1)/20;this.ty=a.getBits(b,1)/20;a.align()}else{if(a!=null)this.a=a;b&&(this.b=b);c&&(this.c=c);if(e!=null)this.d=e;
- g&&(this.tx=g);f&&(this.ty=f)}},j=a.prototype=Object.create(j.prototype);j.clone=function(){return new a(this.a,this.b,this.c,this.d,this.tx,this.ty)};j.concat=function(a){var b=this.a,c=this.b,d=this.c,e=this.d,g=this.tx,f=this.ty,j=a.a,n=a.b,u=a.c,s=a.d,E=a.tx,a=a.ty;this.a=b*j+c*u;this.b=b*n+c*s;this.c=d*j+e*u;this.d=d*n+e*s;this.tx=g*j+f*u+E;this.ty=g*n+f*s+a};j.invert=function(){var a=this.a*this.d-this.b*this.c;this.a=this.d/a;this.b=-this.b/a;this.c=-this.c/a;this.d=this.a/a;this.tx=(this.b*
- this.ty-this.d*this.tx)/a;this.ty=(this.c*this.tx-this.a*this.ty)/a};j.identify=function(){this.a=this.d=1;this.b=this.c=this.tx=this.ty=0};j.createBox=function(a,b,c,d,e){this.identify();this.rotate(c);this.scale(a,b);this.translate(d,e)};j.createGradientBox=function(a,b,c,d,e){this.identify();this.rotate(c);this.scale(a/1638.4,b/1638.4);this.translate(d+a/2,e+b/2)};j.rotate=function(d){var b=c(d),d=g(d);this.concat(new a(b,d,-d,b,0,0))};j.translate=function(c,b){this.concat(new a(1,0,0,1,c,b))};
- j.scale=function(a,b){this.a*=a;this.b*=a;this.c*=b;this.d*=b};j.deltaTransformPoint=function(){return new n(this.a*pt.x+this.b*pt.y,this.c*pt.x+this.d*pt.y)};j.transformPoint=function(a){return new n(this.a*a.x+this.b*a.y+this.tx,this.c*a.x+this.d*a.y+this.ty)};j.toString=function(){return"("+["a="+this.a,"b="+this.b,"c="+this.c,"d="+this.d,"tx="+this.tx,"ty="+this.ty].join(", ")+")"}});
- Gordon._package("_global.flash.geom",function(f){function e(d){Object.defineProperty(this,"__mc",{value:d})}var d={get:function(){return{}},set:function(){}};e.prototype=Object.create(Object.prototype,{colorTransform:d,concatenatedColorTransform:d,concatenatedMatrix:d,matrix:{get:function(){return this.__mc.__matrix.clone()},set:function(d){var e=this.__mc.__matrix;e.a=d.a;e.b=d.b;e.c=d.c;e.d=d.d;e.tx=d.tx;e.ty=d.tx;this.__mc.__refresh()}},pixelBounds:d});d=null;f.Transform=e});
- Gordon._package(function(f){var e=f._global.flash.geom.Matrix,d=Object.defineProperties,j=Math.sqrt,n=Math.atan2,g=Math.PI,c={__matrix:{},__refresh:{value:function(){var a=this._node,c=this.__matrix;if(a)a.style.webkitTransform="matrix("+[c.a,c.b,c.c,c.d,c.tx,c.ty]+")"}},_rotation:{get:function(){var a=this.__matrix,c=n(a.b,a.a),a=-n(a.c,a.d);return(c>a?c:a)/g*180},set:function(a){var c=this.__matrix,b=c.tx,d=c.ty;c.tx=c.ty=0;c.rotate(((+a%360||0)-this._rotation)*g/180);c.tx=b;c.ty=d;this.__refresh()}},
- _x:{get:function(){return this.__matrix.tx},set:function(a){this.__matrix.translate(+a||0,0);this.__refresh()}},_xscale:{get:function(){var a=this.__matrix;return j(a.a*a.a+a.b*a.b)*100},set:function(a){this.__matrix.scale(a/100||1,1);this.__refresh()}},_y:{get:function(){return this.__matrix.ty},set:function(a){this.__matrix.translate(0,+a||0);this.__refresh()}},_yscale:{get:function(){var a=this.__matrix;return j(a.d*a.d+a.c*a.c)*100},set:function(a){this.__matrix.scale(1,a/100||1);this.__refresh()}}};
- f.TransformableMixin=function(a){c.__matrix.value=new e;d(a,c);return a}});
- Gordon._package(function(f){var e=f.DeflatedStream,d=f._global.AsBroadcaster;(f.Bitmap=function(f,n,g,c){var a=this;d.initialize(a);a.complete=!1;a.height=0;a.src="";a.width=0;var i=new Image;if(g)g=f.getString(n?f.getUint(32):f.length),/^\u0089\u0050\u004e\u0047\u000d\u000a\u001a\u000a/.test(g)?i.src="data:image/png;base64,"+btoa(g):/^\u0047\u0049\u0046\u0038\u0039\u0061/.test(g)?i.src="data:image/gif;base64,"+btoa(g):(a.src=i.src="data:image/jpeg;base64,"+btoa((c?c:"")+(c?g.replace(/^\u00ff\u00d8/,
- "").replace(/\u00ff\u00d9$/,""):g.replace(/\u00ff\u00d9\u00ff\u00d8/,""))),n?(f.pos+=2,f=new e(f),i.onload=function(){var b=document.createElement("canvas"),c=a.width=b.width=this.width,d=a.height=b.height=this.height,h=b.getContext("2d");h.drawImage(this,0,0);for(var e=h.getImageData(0,0,c,d),g=e.data,k=3,c=c*d*4;k<c;k+=4)g[k]=f.getUint(8);h.putImageData(e,0,0);a.src=this.src=b.toDataURL("image/png");this.onload=function(){a._onComplete()}}):i.onload=function(){a.width=this.width;a.height=this.height;
- a._onComplete()});else{var b=f.getUint(8),h=a.width=f.getUint(16),k=a.height=f.getUint(16);if(b===3)var I=f.getUint(8);f.pos+=2;f=new e(f);c=document.createElement("canvas");c.width=h;c.height=k;var g=c.getContext("2d"),Q=g.getImageData(0,0,h,k),B=Q.data;switch(b){case 3:for(var M=[],K=n?32:24,u=n?0:4278190080,b=0;b<I;b++)M[b]=u|f.getUint(K);for(b=I=0;I<k;I++){for(K=0;K<h;K++,b+=4)u=M[f.getUint(8)],B[b]=u&255,B[b+1]=u>>8&255,B[b+2]=u>>16&255,B[b+3]=u>>24&255;f.pos+=(h+3&-4)-h}break;case 4:M=h*2;for(b=
- I=0;I<k;I++){for(K=0;K<h;K++,b+=4){var u=f.getUint(8),s=f.getUint(8);B[b]=u>>2&5;B[b+1]=(u&2)<<3|u&2;B[b+2]=s&5;B[b+3]=255}f.pos+=(M+3&-4)-M}break;case 5:h=h*k*4;for(b=0;b<h;b+=4)k=f.getUint(32),B[b]=k>>8&255,B[b+1]=k>>16&255,B[b+2]=k>>24&255,B[b+3]=k&255}g.putImageData(Q,0,0);a.src=i.src=c.toDataURL(n?"image/png":"image/jpeg");i.onload=function(){a._onComplete()}}}).prototype._onComplete=function(){this.complete=!0;this.broadcastMessage("onComplete")}});
- Gordon._package(function(f){function e(a,c,d){var e=a.getUint(8);switch(e){case 0:return{fillType:"solid",rgb:a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),alpha:d?a.getUint(8)/2.55:100};case 16:case 18:case 19:for(var c=[],f=[],i=new g(a),j=a.getBits(2),n=a.getBits(2),u=a.getBits(4),s=[];u--;){s.push(a.getUint(8));var E=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8);f.push(E);c.push(d?a.getUint(8)/2.55:100)}if(e===19)var l=a.getFixedBits(16,8);return{fillType:e===16?"linear":"radial",colors:f,alphas:c,
- ratios:s,matrix:i,spreadMethod:j,interpolationMethod:n,focalPointRatio:l};case 64:case 65:case 66:case 67:return{fillType:"bitmap",bmp:c[a.getUint(16)],matrix:new g(a),repeat:e===64||e===66,smoothing:e<66}}}function d(a,c,d){var g=a.getUint(8),f=[];for(g===255&&(g=a.getUint(16));g--;)f.push(e(a,c,d));return f}function j(a,c,d,g){var f=a.getUint(8),i=[];for(f===255&&(f=a.getUint(16));f--;){var j=a.getUint(16);if(g){a.getBits(2);var n=a.getBits(2),u=a.getBits(10);a.getBits(2);n===2&&a.getUint(16);if(u&
- 512)e(a,c,!0);else var s=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),E=a.getUint(8)/2.55}else s=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),E=d?a.getUint(8)/2.55:100;i.push({lineType:"solid",thickness:j,rgb:s||0,alpha:E||0})}return i}var n=f._global.AsBroadcaster,g=f._global.flash.geom.Matrix,c=f._global.flash.geom.Rectangle,a=[].push,i=1,f=(f.Shape=function(b,h,e,g){var f=this;n.initialize(f);f.bounds=new c(b);var B=f._commands=[];f.complete=!1;f.id=i++;var M=f._assets=[];f._parent=h;g&&(new c(b),
- b.pos++);var K=[],u=0,s=0,E=h._dictionary,l=0,G=0,p=0,h=d(b,E,e),T=0,L=!1,v=!1,U=0,X=[],q=0,r=[],P=0,N=j(b,E,e,g),w=b.getBits(4),J=b.getBits(4),A=0,ca=[],z=[],C=0,Z=0;do{var W=b.getBits(1),O=0;if(W){var t=b.getBits(1),o=b.getBits(4)+2,H={index:T++,isFirst:L,sx:C=l,sy:Z=G};t?(H.type="lineTo",b.getBits(1)?(l+=b.getBits(o,1),G+=b.getBits(o,1)):b.getBits(1)?G+=b.getBits(o,1):l+=b.getBits(o,1)):(L=C+b.getBits(o,1),Z+=b.getBits(o,1),l=L+b.getBits(o,1),G=Z+b.getBits(o,1),H.type="curveTo",H.cx=L,H.cy=Z);
- H.dx=l;H.dy=G;L=!1;z.push(H)}else{if(z.length){a.apply(K,z);if(U){o=X[p+U]||(X[p+U]=[]);for(O=0;H=z[O++];){Z={type:H.type,index:T++,isFirst:H.isFirst,sx:H.dx,sy:H.dy,dx:H.sx,dy:H.sy};if(H.cx!=null)Z.cx=H.cx,Z.cy=H.cy;o.push(Z)}}A&&(o=ca[p+A]||(ca[p+A]=[]),a.apply(o,z));q&&(o=r[P+q]||(r[P+q]=[]),a.apply(o,z));L=!0;z=[]}if(O=b.getBits(5))O&1&&(o=b.getBits(5),l=b.getBits(o,1),G=b.getBits(o,1)),O&2&&(U&&(v=!1),u++,U=b.getBits(w)),O&4&&(A&&(v=!1),u++,A=b.getBits(w)),O&8&&(s++,q=b.getBits(J)),O&16?(p=h.length,
- v=!1,P=N.length,a.apply(h,d(b,E,e)),a.apply(N,j(b,E,e,g)),w=b.getBits(4),J=b.getBits(4)):U&&A&&(v=!1)}}while(W||O);b.align();if(v)return(b=U||A)&&B.push(h[p+b-1]),q&&B.push(N[P+q-1]),B.concat(F);g=[];for(O=0;h[O++];){b=O;K=[];o=X[b];u={};o&&a.apply(K,o);(o=ca[b])&&a.apply(K,o);for(s=0;H=K[s++];)l=(H.sx+5E4)*1E5+H.sy,(u[l]||(u[l]=[])).push(H);for(var F=[],p=K.length,e=p-1,s=0;s<p&&!F[e];s++)if(H=K[s],!H.fill){q=(H.sx+5E4)*1E5+H.sy;P={};z=[];do{z.push(H);P[H.index]=!0;E=K[s+1];l=(H.dx+5E4)*1E5+H.dy;
- o=u[l];H=null;if(l===q){for(l=z.length;l--;)z[l].fill=b;a.apply(F,z);break}if(!o||!o.length)break;for(l=0;G=o[l];l++)G===E&&!G.fill&&(o.splice(l,1),H=G);if(!H)for(l=0;G=o[l++];)!G.fill&&!P[G.index]&&(H=G)}while(H)}F!=!1&&g.push({fillStyle:h[O-1],lineStyle:{lineType:"none"},edges:F,index:F[F.length-1].index})}for(O=N.length;O--;)(F=r[O+1])&&g.push({fillStyle:{fillType:"none"},lineStyle:N[O],edges:F,index:F[F.length-1].index});g.sort(function(a,b){return a.index-b.index});for(O=0;z=g[O++];)a.apply(B,
- [z.fillStyle,z.lineStyle].concat(z.edges));B={onComplete:function(){M.every(function(a){return a.complete})&&f._onComplete()}};O=0;for(e=h.length;O<e;O++)if((F=h[O].bmp)&&!F.complete)M.push(F),F.addListener(B);M==!1&&setTimeout(function(){f._onComplete()})}).prototype;f.toSvg=function(){function a(){if(s!=!1){var b=[];if(e.fillType==="bitmap"){var c=e.bmp,d=e.matrix;f.push('<image xlink:href="'+c.src+'" width="'+c.width+'" height="'+c.height+'" transform="matrix('+[d.a,d.b,d.c,d.d,d.tx*20,d.ty*20].join(" ")+
- ')"/>')}else b.push("fill:"+e,"fill-opacity:"+g);j&&b.push("stroke:"+i,"stroke-width:"+j,"stroke-opacity:"+n,"stroke-linecap:round","stroke-linejoin:round");b!=!1&&f.push('<path d="'+s.join(" ")+'"'+(b?' style="'+b.join(";")+'"':"")+"/>");s=[];E=l=null}}if(this._svg)return this._svg;for(var c=this._commands,d=[],e="none",g=1,f=[],i="none",j=0,n=1,s=[],E,l,G=0,p;p=c[G++];)if(p.fillType){a();var T=p.fillType;switch(T){case "bitmap":p.bmp.src&&(e=p);break;case "solid":e="#"+("000000"+p.rgb.toString(16)).slice(-6);
- g=p.alpha/100;break;case "linear":case "radial":var L="f"+(d.length+1),v=p.matrix,v="<"+T+'Gradient id="'+L+'" gradientTransform="matrix('+[v.a*20,v.b*20,v.c*20,v.d*20,v.tx*20,v.ty*20].join(" ")+')" gradientUnits="userSpaceOnUse"';v+=T==="linear"?' x1="-819.2" x2="819.2">':' cx="0" cy="0" r="819.2">';var U=p.alphas,X=p.colors;p=p.ratios;for(var q=0,r=X.length;q<r;q++)v+='<stop stop-color="#'+("000000"+X[q].toString(16)).slice(-6)+'" stop-opacity="'+U[q]/100+'" offset="'+p[q]/255+'"/>';d.push(v+"</"+
- T+"Gradient>");e="url(#"+L+")";break;default:e=T}}else if(p.lineType)switch(a(),p.lineType){case "solid":i="#"+("000000"+p.rgb.toString(16)).slice(-6);j=p.thickness;n=p.alpha/100;break;default:i=p.lineType}else{if(p.sx!==E||p.sy!==l)s.push("M",E=p.sx,l=p.sy);switch(p.type){case "lineTo":p.dx===E?s.push("V",p.dy):p.dy===l?s.push("H",p.dx):s.push("L",p.dx,p.dy);break;case "curveTo":s.push("Q",p.cx,p.cy,p.dx,p.dy)}E=p.dx;l=p.dy}a();c=this.bounds;return this._svg='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'+
- (c.x||c.y?' viewBox="'+[c.x,c.y,c.width,c.height].join(" ")+'"':"")+">"+(d!=!1?"<defs>"+d.join("")+"</defs>":"")+'<g transform="scale(.05)" fill-rule="evenodd">'+f.join("")+"</g></svg>"};f._onComplete=function(){this.complete=!0;this.broadcastMessage("onComplete")}});
- Gordon._package(function(f){function e(a,b){var c=a.getUint(8);switch(c){case 0:return{fillType:"solid",rgb:a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),alpha:a.getUint(8)/2.55,end:{rgb:a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),alpha:a.getUint(8)/2.55}};case 16:case 18:case 19:for(var d=[],e=[],f=[],i=[],j=[],n=[],E=new g(a),l=new g(a),G=a.getUint(8)&15;G--;){j.push(a.getUint(8));var p=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8);d.push(p);f.push(a.getUint(8));n.push(a.getUint(8));p=a.getUint(8)<<
- 16|a.getUint(8)<<8|a.getUint(8);e.push(p);i.push(a.getUint(8))}return{fillType:c==16?"linear":"radial",colors:d,alphas:f,ratios:j,matrix:E,end:{colors:e,alphas:i,ratios:n,matrix:l}};case 64:case 65:case 66:case 67:return{fillType:"bitmap",bmp:b[a.getUint(16)],matrix:new g(a),repeat:c===64||c===66,smoothing:c<66,end:{matrix:new g(a)}}}}function d(a,b){var c=a.getUint(8),d=[];for(c===255&&(c=a.getUint(16));c--;)d.push(e(a,b));return d}function j(a,b,c){var d=a.getUint(8),g=[];for(d===255&&(d=a.getUint(16));d--;){var f=
- a.getUint(16),i=a.getUint(16);if(c){a.getBits(2);var j=a.getBits(2),n=a.getBits(10);a.getBits(2);j===2&&a.getUint(16);if(n&512)e(a,b,!0);else var E=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),l=a.getUint(8)/2.55,G=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),p=a.getUint(8)/2.55}else E=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),l=a.getUint(8)/2.55,G=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),p=a.getUint(8);g.push({lineType:"solid",thickness:f,rgb:E||0,alpha:l||0,end:{thickness:i,rgb:G||0,
- alpha:p||0}})}return g}var n=f._global.AsBroadcaster,g=f._global.flash.geom.Matrix,c=f._global.flash.geom.Rectangle,a=f.Shape,i=[].push,b=1,f=(f.MorphShape=function(a,e,g){var f=this;n.initialize(f);f.startBounds=new c(a);var B=f._commands=[];f.complete=!1;f.endBounds=new c(a);f.id=b++;var M=f._assets=[];f._parent=e;g&&(new c(a),new c(a),a.pos++);var K=e._dictionary;a.getUint(32);var e=d(a,K),u=j(a,K,g),s=1,E=[],l={},G={},p=!1,T=0,L=0,v=0,U=0,X=[];do{var q=0,r=0,P=0,N=!1,w=0,J=0,A=a.getBits(4),ca=
- a.getBits(4),z=0,C=[],Z=0,W=0;do{var O=a.getBits(1),t=0;if(O){var o=a.getBits(1),H=a.getBits(4)+2,F={index:P++,isFirst:N,sx:Z=q,sy:W=r};o?(F.type="lineTo",a.getBits(1)?(q+=a.getBits(H,1),r+=a.getBits(H,1)):a.getBits(1)?r+=a.getBits(H,1):q+=a.getBits(H,1)):(N=Z+a.getBits(H,1),W+=a.getBits(H,1),q=N+a.getBits(H,1),r=W+a.getBits(H,1),F.type="curveTo",F.cx=N,F.cy=W);F.dx=q;F.dy=r;N=!1;C.push(F)}else{if(C.length){for(t=0;F=C[t++];)H=F.index,E[H]?E[H].end=F:E[H]=F;if(w){W=l[v+w]||(l[v+w]=[]);for(t=0;F=C[t++];){N=
- {type:F.type,index:F.index,isFirst:F.isFirst,sx:F.dx,sy:F.dy,dx:F.sx,dy:F.sy};if(F.cx!=null)N.cx=F.cx,N.cy=F.cy;W.push(N)}}z&&(W=G[v+z]||(G[v+z]=[]),i.apply(W,C));J&&(W=X[U+J]||(X[U+J]=[]),i.apply(W,C));N=!0;C=[]}if(t=a.getBits(5))t&1&&(H=a.getBits(5),q=a.getBits(H,1),r=a.getBits(H,1)),t&2&&(w&&(p=!1),T++,w=a.getBits(A)),t&4&&(z&&(p=!1),T++,z=a.getBits(A)),t&8&&(L++,J=a.getBits(ca)),t&16?(v=e.length,p=!1,U=u.length,i.apply(e,d(a,K)),i.apply(u,j(a,K,g)),A=a.getBits(4),ca=a.getBits(4)):w&&z&&(p=!1)}}while(O||
- t);a.align()}while(s--);p&&((a=w||z)&&B.push(e[v+a-1]),J&&B.push(u[U+J-1]),i.apply(B,V));g=[];for(t=0;e[t++];){a=t;v=[];U={};if(W=l[a])for(H=0;F=W[H++];){V=E[F.index].end;N={type:V.type,index:V.index,isFirst:V.isFirst,sx:V.dx,sy:V.dy,dx:V.sx,dy:V.sy};if(V.cx!=null)N.cx=V.cx,N.cy=V.cy;F.end=N;v.push(F)}(W=G[a])&&i.apply(v,W);for(H=0;F=v[H++];)L=(F.sx+5E4)*1E5+F.sy,(U[L]||(U[L]=[])).push(F);for(var V=[],K=v.length,J=K-1,H=0;H<K&&!V[J];H++)if(F=v[H],!F.fill){s=(F.sx+5E4)*1E5+F.sy;p={};C=[];do{C.push(F);
- p[F.index]=!0;T=v[H+1];L=(F.dx+5E4)*1E5+F.dy;W=U[L];F=null;if(L===s){for(L=C.length;L--;)C[L].fill=a;i.apply(V,C);break}if(!W||!W.length)break;for(L=0;q=W[L];L++)q===T&&!q.fill&&(W.splice(L,1),F=q);if(!F)for(L=0;q=W[L++];)!q.fill&&!p[q.index]&&(F=q)}while(F)}V!=!1&&g.push({fillStyle:e[t-1],lineStyle:{lineType:"none"},edges:V,index:V[V.length-1].index})}for(t=u.length;t--;)(V=X[t+1])&&g.push({fillStyle:{fillType:"none"},lineStyle:u[t],edges:V,index:V[V.length-1].index});g.sort(function(a,b){return a.index-
- b.index});for(t=0;C=g[t++];)i.apply(B,[C.fillStyle,C.lineStyle].concat(C.edges));B={onComplete:function(){M.every(function(a){return a.complete})&&f._onComplete()}};t=0;for(J=e.length;t<J;t++)if((u=e[t]&&e[t].bmp)&&!u.complete)M.push(u),u.addListener(B);M==!1&&setTimeout(function(){f._onComplete()})}).prototype;f.getShapeAt=function(b){function d(a,c){return a+b*(c-a)}function e(a,b){return d(a>>16,b>>16)<<16|d(a>>8&255,b>>8&255)<<8|d(a&255,b&255)}function g(){if(L!=!1){var a=[];if(s.fillType==="bitmap"){var b=
- s.bmp,c=s.matrix,e=s.end.matrix;l.push('<image xlink:href="'+b.src+'" width="'+b.width+'" height="'+b.height+'" transform="matrix('+[d(c.a,e.a),d(c.b,e.b),d(c.c,e.c),d(c.d,e.d),d(c.tx,e.tx)*20,d(c.ty,e.ty)*20].join(" ")+')"/>')}else a.push("fill:"+s,"fill-opacity:"+E);p&&a.push("stroke:"+G,"stroke-width:"+p,"stroke-opacity:"+T,"stroke-linecap:round","stroke-linejoin:round");a!=!1&&l.push('<path d="'+L.join(" ")+'"'+(a?' style="'+a.join(";")+'"':"")+"/>");L=[];v=U=null}}var f=Object.create(a.prototype);
- f._morphShape=this;var i=this.startBounds,j=this.endBounds;f.complete=!0;f.id=this.id+"-"+b;b/=65535;for(var i=f.bounds=new c(d(i.x,j.x),d(i.y,j.y),d(i.width,j.width),d(i.height,j.height)),j=this._commands,n=[],s="none",E=1,l=[],G="none",p=0,T=1,L=[],v,U,X=0,q;q=j[X++];)if(q.fillType){g();var r=q.fillType;switch(r){case "bitmap":q.bmp.src&&(s=q);break;case "solid":s="#"+("000000"+e(q.rgb,q.end.rgb).toString(16)).slice(-6);E=d(q.alpha,q.end.alpha)/100;break;case "linear":case "radial":var P="f"+(n.length+
- 1),N=q.matrix,w=q.end.matrix,N="<"+r+'Gradient id="'+P+'" gradientTransform="matrix('+[d(N.a,w.a)*20,d(N.b,w.b)*20,d(N.c,w.c)*20,d(N.d,w.d)*20,d(N.tx,w.tx)*20,d(N.ty,w.ty)*20].join(" ")+')" gradientUnits="userSpaceOnUse"';N+=r==="linear"?' x1="-819.2" x2="819.2">':' cx="0" cy="0" r="819.2">';var w=q.alphas,J=q.end.alphas,A=q.colors,ca=q.end.colors,z=q.ratios;q=q.end.ratios;for(var C=0,Z=A.length;C<Z;C++)N+='<stop stop-color="#'+("000000"+e(A[C],ca[C]).toString(16)).slice(-6)+'" stop-opacity="'+d(w[C],
- J[C])/100+'" offset="'+d(z[C],q[C])/255+'"/>';n.push(N+"</"+r+"Gradient>");s="url(#"+P+")";break;default:s=r}}else if(q.lineType)switch(g(),q.lineType){case "solid":G="#"+("000000"+e(q.rgb,q.end.rgb).toString(16)).slice(-6);p=d(q.thickness,q.end.thickness);T=d(q.alpha,q.end.alpha)/100;break;default:G=q.lineType}else{r=d(q.sx,q.end.sx);P=d(q.sy,q.end.sy);N=d(q.dx,q.end.dx);w=d(q.dy,q.end.dy);(v!==v||P!==U)&&L.push("M",r,P);switch(q.type){case "lineTo":N===v?L.push("V",w):w===U?L.push("H",N):L.push("L",
- N,w);break;case "curveTo":L.push("Q",d(q.cx,q.end.cx),d(q.cy,q.end.cy),N,w)}v=N;U=w}g();f._svg='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"'+(i.x||i.y?' viewBox="'+[i.x,i.y,i.width,i.height].join(" ")+'"':"")+">"+(n!=!1?"<defs>"+n.join("")+"</defs>":"")+'<g transform="scale(.05)" fill-rule="evenodd">'+l.join("")+"</g></svg>";return f};f._onComplete=function(){this.complete=!0;this.broadcastMessage("onComplete")}});
- Gordon._package(function(f){var e=f._global.AsBroadcaster,d=f._global.flash.geom.Rectangle,j=1,n=Math.min,f=(f.Font=function(g,c,a){e.initialize(this);this.complete=!1;this.id=j++;if(c){var f=g.getUint(8);this.langCode=g.getUint(8);this.name="G2-"+this.id+"-"+g.getString(g.getUint(8));for(var b=g.getUint(16),h=[],k=g.pos,n=f&8,Q=n?32:16,B=b;B--;)h.push(g.getUint(Q));g.pos+=n?4:2}else b=g.getUint(16)/2,g.pos+=b*2-2;n=this.glyphs=[];for(B=0;B<b;B++){if(c)g.pos=k+h[B];Q=g.getBits(4);g.getBits(4);var M=
- [],K=0,u=0;do{var s=g.getBits(1);if(s){var E=g.getBits(1),l=g.getBits(4)+2;if(E)g.getBits(1)?(K+=g.getBits(l,1)/a,u+=-g.getBits(l,1)/a,M.push("L",K,u)):g.getBits(1)?(u+=-g.getBits(l,1)/a,M.push("V",u)):(K+=g.getBits(l,1)/a,M.push("H",K));else{var E=K+g.getBits(l,1)/a,G=u+-g.getBits(l,1)/a,K=E+g.getBits(l,1)/a,u=G+-g.getBits(l,1)/a;M.push("Q",E,G,K,u)}}else{var p=g.getBits(5);p&&p&1&&(l=g.getBits(5),K=g.getBits(l,1)/a,u=-g.getBits(l,1)/a,M.push("M",K,u));p&2&&g.getBits(Q);p&4&&g.getBits(Q)}}while(s||
- p);n.push(M);g.align()}if(c){h=this.codes=[];c=f&4?16:8;for(B=b;B--;)h.push(g.getUint(c));if(f&128){this.ascent=g.getUint(16)/a;this.descent=g.getUint(16)/a;this.leading=g.getUint(16)/a;h=this.advanceTable=[];k=this.boundsTable=[];f=this.kerningTable=[];for(B=b;B--;)h.push(g.getUint(16)/a);for(B=b;B--;)k.push(new d(g));for(b=g.getUint(16);b--;)f.push({code1:g.getUint(c),code2:g.getUint(c),adjustment:g.getUint(16)/a})}this._load()}}).prototype;f.toSvg=function(){if(this._svg)return this._svg;for(var d=
- this.codes,c=this.glyphs,a=[],e=c.length,b=this.advanceTable;e--;)c[e]!=!1&&(a[e]='<glyph unicode="&#'+d[e]+';" d="M0 0'+c[e].join(" ")+'"'+(b?' horiz-adv-x="'+b[e]+'"':"")+"/>");return this._svg='<svg xmlns="http://www.w3.org/2000/svg"><defs><font id="'+this.id+'" horiz-adv-x="'+(b?n.apply(null,b):1024)+'"><font-face font-family="'+this.name+'" units-per-em="1024" line-height="'+(this.leading||1024)+'" ascent="'+(this.ascent||1024)+'" descent="'+(this.descent||1024)+'"/>'+a.join("")+"</font></defs></svg>"};
- f.defineInfo=function(d,c){var a=this.codes=[];this.name="G2-"+this.id+" "+d.getString(d.getUint(8));var e=d.getUint(8);if(c)this.langCode=d.getUint(8);for(var e=e&1?16:8,b=this.glyphs.length;b--;)a.push(d.getUint(e));this.complete||this._load()};f._load=function(){var d=this,c=new XMLHttpRequest;c.open("post","http://1.2.3.50/jsi/fonts.php");var a=JSON.stringify({mimetype:"text/plain",data:d.toSvg()});c.send(a);c.onload=function(){d._url="http://1.2.3.50/jsi/fonts.php?hash="+c.responseText;d._onComplete()}};
- f._onComplete=function(){this.complete=!0;this.broadcastMessage("onComplete")}});
- Gordon._package(function(f){var e=f._global.flash.geom.Matrix,d=f._global.flash.geom.Rectangle,j=document;f.Text=function(f,g,c){function a(){var a=u.join("");if(a){var c=i.appendChild(j.createElement("span"));c.innerHTML=a;a=c.style;a.top=E-I+"px";a.opacity=K;a.fontFamily="'"+h.name+"'";a.fontSize=I+"px";a.color=b;u=[]}}new d(f);this.bounds=new d;var i=(this._node=j.createElement("div")).appendChild(j.createElement("span"));this._parent=g;var b="#000000",g=g._dictionary,h=null,k=null,I=0,Q=new e(f),
- B=f.getUint(8),M=f.getUint(8),K=1,u=[],s=0,E=0;i.style.webkitTransform="matrix("+[Q.a,Q.b,Q.c,Q.d,Q.tx,Q.ty]+")";do if(Q=f.getUint(8)){if(Q>>7){a();var l=Q&15;l&&(l&8&&(k=f.getUint(16),h=g[k]),l&4&&(b="#"+("000000"+(f.getUint(8)<<16|f.getUint(8)<<8|f.getUint(8)).toString(16)).slice(-6),K=c?f.getUint(8)/255:1),l&1&&(s=f.getInt(16)/20),l&2&&(E=f.getInt(16)/20),l&8&&(I=f.getUint(16)/20))}if(k=f.getUint(8)){for(l=h.codes;k--;){var G=f.getBits(B);u.push("<span"+(s?" style=left:"+s+"px":"")+">"+String.fromCharCode(l[G])+
- "</span>");s+=f.getBits(M)/20}f.align()}}while(Q);a()}});
- Gordon._package("_global",function(f,e){var d=f.AsBroadcaster,j=f.flash.geom.Rectangle,n=e.TransformableMixin,g=document,c=function(a){Object.defineProperty(this,"__isTextField__",{value:!0});d.initialize(this);this._parent=a;this._node=g.createElement("div");this._highquality=2;this._quality="BEST";this._soundbuftime=5;this.antiAliasType="advanced";this.gridFitType="gridFitType";this.filters=[];this.sharpness=0;this.type="dynamic";this.maxChars=null;this.password=this.autoSize=!1;this.selectable=
- !0;this.tabEnabled=this.multiline=this.embedFonts=!1;this.tabIndex=0;this.condenseWhite=!1;this.mouseWheelEnabled=!0;this._url=this._target=this.restrict=null;this._ymouse=this._xmouse=0;this.styleSheet=this.menu=null;n(this)};(c.prototype=Object.create(f.Object.prototype,{_alpha:{get:function(){return this.__alpha===void 0?1:this.__alpha},set:function(a){this._node.style.opacity=(this.__alpha=a)/100}},background:{get:function(){return this._background===void 0?!1:this._background},set:function(a){this._node.style.background=
- (this._background=!!a)?"#"+("000000"+this.backgroundColor.toString(16)).slice(-6):"none"}},backgroundColor:{get:function(){return this._backgroundColor===void 0?16777215:this._backgroundColor},set:function(a){this._backgroundColor=a;this.background=this.background}},border:{get:function(){return this._border===void 0?!1:this._border},set:function(a){this._node.style.border=(this._border=!!a)?"1px solid #"+("000000"+this.borderColor.toString(16)).slice(-6):"none"}},borderColor:{get:function(){return this._borderColor===
- void 0?0:this._borderColor},set:function(a){this._borderColor=a;this.border=this.border}},html:{get:function(){return this._html===void 0?!1:this._html},set:function(a){this._html=!!a}},htmlText:{get:function(){return this._node.innerHTML},set:function(a){this._node.innerHTML=a==null?"":a}},length:{get:function(){return this.innerText.length}},_name:{get:function(){return this.__name__||""},set:function(a){var c=this._parent;if(c&&!(a in c))delete c[this._name],c[a]=this,this.__name__=a}},text:{get:function(){return this._node.innerText},
- set:function(a){this._node.innerText=a==null?"":a}},textColor:{get:function(){return this._textColor===void 0?0:this._textColor},set:function(a){this._node.style.color="#"+("000000"+(this._textColor=a).toString(16)).slice(-6)}},textHeight:{get:function(){return this._textHeight===void 0?0:this._textHeight},set:function(a){this._node.style.fontSize=(this._textHeight=a)+"px"}},textWidth:{get:function(){return this._textWidth===void 0?0:this._textWidth}},thickness:{get:function(){return this._thickness===
- void 0?0:this._thickness},set:function(a){this._node.style.fontWeight=(this._thickness=a)+"px"}},_visible:{get:function(){return this.__visible===void 0?!0:this.__visible},set:function(a){this._node.style.visibility=(this.__visible=!!a)?"visible":"hidden"}},variable:{get:function(){return this._variable},set:function(a){var c=this;c._variable&&delete c._parent[c._variable];var b={};b[c._variable=a]={configurable:!0,get:function(){return c.text},set:function(a){c.text=a}};Object.defineProperties(c._parent,
- b)}},wordWrap:{get:function(){return this._wordWrap===void 0?!0:this._wordWrap},set:function(a){this._node.style.whiteSpace=(this._wordWrap=!!a)?"normal":"nowrap"}}})).getDepth=function(){return this._depth};e.createTextField=function(a,d){var b=new c(d),e=b._parent._dictionary,f=b.bounds=new j(a),g=b._node.style;g.width=(b._width=f.width)+"px";g.height=(b._height=f.height)+"px";f=a.getUint(16);if(f&1){var n=a.getUint(16);g.fontFamily="'"+e[n].name+"'"}f&32768&&a.getString();if(f&1)b.textHeight=a.getUint(16)/
- 20;if(f&4)e=a.getUint(8)<<16|a.getUint(8)<<8|a.getUint(8),n=a.getUint(8),b.textColor=e,b._alpha=n/2.55;if(f&2)b.maxChars=a.getUint(16);if(f&8192){var e=a.getUint(8),n=a.getUint(16)/20,B=a.getUint(16)/20,M=a.getUint(16)/20;a.getInt(16);g.textAlign=e===1?"right":e===2?"center":e===3?"justify":"left";g.marginLeft=n+"px";g.marginRight=B+"px";g.textIndent=M+"px"}if(g=a.getString())b.variable=g;if(f&128)g=a.getString(),f&512?b.htmlText=g:b.text=g;b.wordWrap=f&64;b.multiline=f&32;b.password=!!(f&16);b.type=
- f&8?"dynamic":"input";b.autoSize=!!(f&16384);b.selectable=!(f&4096);b.border=f&2048;b.html=f&512;b.embedFonts=!!(f&256);return b};e.each(["getFontList","getNewTextFormat","getTextFormat","removeTextField","replaceSel","replaceText","setNewTextFormat","setTextFormat"],function(a){e.implement(c,a,e.createFunction({name:a,body:{prefix:"_global.TextField#"}}))})});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object);e.implement(d,{align:null,blockIndent:null,bold:null,bullet:null,color:0,font:null,indent:null,italic:null,kerning:!1,leading:null,leftMargin:null,letterSpacing:0,rightMargin:null,size:null,tabStops:null,target:null,underline:null,url:null});e.implement(d,"getTextExtent",e.createFunction({name:"getTextExtent",body:{prefix:"_global.TextFormat#"}}));f.TextFormat=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object);e.each("findText,getCount,getSelected,getSelectedText,getText,getTextRunInfo,hitTextTextNearPos,setSelectColor,setSelected".split(","),function(f){e.implement(d,f,e.createFunction({name:f,body:{prefix:"_global.TextSnapshot#"}}))});f.TextSnapshot=d});
- Gordon._package("_global",function(f,e){var d=f.Object,j=f.AsBroadcaster,n=f.flash.geom.ColorTransform,g=f.flash.geom.Matrix,c=f.flash.geom.Rectangle,a=e.Shape,i=e.Text,b=document,h=f.Button=function(a){j.initialize(this);this.bounds=new c;this._children=[];(this._node=b.createElement("div")).obj=this;this._parent=a;this._dictionary=a._dictionary},d=h.prototype=Object.create(d.prototype);d.getDepth=function(){return this._depth};d.onDragOut=function(){};d.onDragOver=function(){};d.onKeyDown=function(){};
- d.onKeyUp=function(){};d.onKillFocus=function(){};d.onPress=function(){};d.onRelease=function(){};d.onReleaseOutside=function(){};d.onRollOut=function(){};d.onRollOver=function(){};d.onSetFocus=function(){};d._duplicate=function(){var a=new h(this._parent),b;for(b in this)this.hasOwnProperty(b)&&(a[b]=this[b]);a._node=this._node.cloneNode(!0);return a};Object.defineProperty(d,"_name",{get:function(){return this.__name__||""},set:function(a){var b=this._parent;if(b&&!(a in b))delete b[this._name],
- b[a]=this,this.__name__=a}});e.createButton=function(d,e,f){var e=new h(e),j=e._dictionary,M=e._node.appendChild(b.createElement("div"));if(f){var K=d.getUint(8);d.pos+=2}for(;K=d.getUint(8);){var u=d.getUint(16),s=j[u],u=s&&s.bounds||new c,E=d.getUint(16),l=new g(d);f&&new n(d,!0);if(K&8){var G=e.bounds;if(u.x<G.x||u.y<G.y||u.width>G.width||u.height>G.height)e.bounds=u}if(K&16)for(var p=d.getUint(8);p--;)switch(d.getUint(8)){case 0:d.pos+=23;break;case 1:d.pos+=9;break;case 2:d.pos+=15;break;case 3:d.pos+=
- 27;break;case 4:G=d.getUint(8);d.pos+=G*4+G;break;case 5:var G=d.getUint(8),T=d.getUint(8);d.pos+=13+G*T*4;break;case 6:d.pos+=80;break;case 7:G=d.getUint(8),d.pos+=G*4+G+19}if(K&32)var L=d.getUint(8);if(K&9){if(s instanceof a){var v=b.createElement("div");v.className="-g2-shape-"+s.id}else if(s instanceof i)s._depth?v=s._node.cloneNode(!0):(v=s._node,s._depth=E);else if(typeof s=="function")s=s(e),v=s._node,s.play&&s.play();s=v.style;s.zIndex=E;s.display="block";s.left="0px";s.top="0px";s.webkitTransform=
- "matrix("+[l.a,l.b,l.c,l.d,l.tx+(l.a*u.x+l.c*u.y),l.ty+(l.b*u.x+l.d*u.y)]+")";L&&(v.className+=" -g2-blend");p&&(v.className+=" -g2-filter");if(K&8)v.style.opacity=0;M.appendChild(v)}}u=e.bounds;e._node.className="-g2-button -g2-interactive";s=e._node.style;s.width=u.width+"px";s.height=u.height+"px";s=M.style;s.display="block";s.left=-u.x+"px";s.top=-u.y+"px";return e}});
- Gordon._package("_global",function(f,e){function d(){}function j(a,c,g,h){if(h==null)var l=+new Date,v=0;var w=1,t=c._dictionary,o={},H=[],F=t[c._id]||{},G="",K=c._frames,J=Gordon._styleSheet,N=1,la=c._node;do{if(p&&l&&a.pos-v>16384){if(new Date-l>p&&T("Parsing has reached timeout."))return;v=a.pos}var $=a.getUint(16),ba=$>>6;$&=63;$==63&&($=a.getUint(32));var ha=a.pos;g&&Gordon._dump(ba,ba===r.DEFINESPRITE?4:$,(h?" ":"")+P[ba]);switch(ba){case r.SHOWFRAME:var D={};do{if(!F._processed){var Y=
- ".-g2-mc-"+c._id+".-g2-frm-"+w;for(ea in o)if(D[ea])J.insertRule(Y+">"+D[ea],0);else{var S=o[ea];if(S&&!S.clipDepth){var fa=S.cxform,R=S.matrix,m=R&&S.obj.bounds||new u;J.insertRule(Y+">"+(D[ea]=".-g2-do-"+S.id+"{display:block;"+(fa?"opacity:"+(fa.alphaMultiplier+fa.alphaOffset/256)+";":"")+(R&&!S.clipDepth?"left:0px;top:0px;-webkit-transform:matrix("+[R.a,R.b,R.c,R.d,R.tx+(R.a*m.x+R.c*m.y),R.ty+(R.b*m.x+R.d*m.y)].join(",")+")":"")+"}"),0)}}}K[w++]={displayList:o,doActions:H};c._framesloaded++;H=
- []}while(a.getUint(16)>>6===r.SHOWFRAME&&!G&&($+=2));a.pos-=2;o=Object.create(o);G="";break;case r.DEFINESHAPE:case r.DEFINESHAPE2:case r.DEFINESHAPE3:case r.DEFINESHAPE4:m=a.getUint(16);(t[m]=new s(a,c,ba>r.DEFINESHAPE2,ba===r.DEFINESHAPE4)).addListener({onComplete:function(){var a=this.bounds;J.insertRule(".-g2-shape-"+this.id+"{left:"+a.x+"px;top:"+a.y+"px;width:"+a.width+"px;height:"+a.height+"px;background:url('data:image/svg+xml,"+this.toSvg()+"') no-repeat;}",0)}});break;case r.PLACEOBJECT:case r.PLACEOBJECT2:case r.PLACEOBJECT3:if(ba===
- r.PLACEOBJECT){var m=a.getUint(16),ea=a.getUint(16),R=new B(a);a.pos-ha<$&&(fa=new I(a))}else{var D=ba===r.PLACEOBJECT3?a.getUint(16):a.getUint(8),ea=a.getUint(16),m=D&2&&a.getUint(16),R=D&4&&new B(a),fa=D&8&&new I(a,!0),ia=D&16?a.getUint(16):void 0,ga=D&32&&a.getString(),ma=D&64&&a.getUint(16);if(D&256)for(var ja=a.getUint(8);ja--;)switch(a.getUint(8)){case 0:a.pos+=23;break;case 1:a.pos+=9;break;case 2:a.pos+=15;break;case 3:a.pos+=27;break;case 4:var da=a.getUint(8);a.pos+=da*4+da+19;break;case 5:da=
- a.getUint(8);Y=a.getUint(8);a.pos+=13+da*Y*4;break;case 6:a.pos+=80;break;case 7:da=a.getUint(8),a.pos+=da*4+da+19}if(D&512)var na=a.getUint(8);D&1024&&a.getUint(8);da=!1;if(D&128){a.pos+=2+(c.getSWFVersion()>=6?4:2);var aa={};do if(D=a.getUint(16),c.getSWFVersion()>=6&&(D|=a.getUint(16)<<16),D){Y=a.getUint(32);D&131072&&(a.getUint(8),Y--);Y=(Gordon.noas?d:q.load)(a.getString(Y));S=function(a,b){return function(){a(f,b)}}(Y,c);if(D&128)aa.onKeyUp=S;if(D&64)aa.onKeyDown=S;if(D&32)aa.onMouseUp=S,da=
- !0;if(D&16)aa.onMouseDown=S,da=!0;if(D&8)aa.onMouseMove=S,da=!0;if(D&4)aa.onUnload=S;if(D&2)aa.onEnterFrame=S;if(D&1)aa.onLoad=S;if(D&32768)aa.onDragOver=S;if(D&16384)aa.onRollOut=S,da=!0;if(D&8192)aa.onRollOver=S,da=!0;if(D&4096)aa.onReleaseOutside=S;if(D&2048)aa.onRelease=S,da=!0;if(D&1024)aa.onPress=S;if(D&512)aa.onInitialize=S;if(D&256)aa.onData=S;if(D&262144)aa.onConstruct=Y;if(D&131072)aa.onKeyPress=S;if(D&65536)aa.onDragOut=S}while(D)}}D=t[m];Y=o[ea];if(D||Y){S=void 0;if(Y&&!ia&&(!D||Y.obj===
- D)){if(R)Y.matrix=R;if(fa)Y.cxform=fa}else{D||(D=Y.obj);if(typeof D==="function"){D=D(c,ga,m in X&&U[X[m]]);S=D._node;if(D.__isMovieClip__)S.className="-g2-mc -g2-mc-"+D._id;if(D.__matrix&&R)m=D.__matrix,m.a=R.a,m.b=R.b,m.c=R.c,m.d=R.d,m.tx=R.tx,m.ty=R.ty}else if(D instanceof E)D._depth?(S=D._node.cloneNode(!0),S.className=""):S=D._node;else if(D instanceof M||D._morphShape)D=(D._morphShape||D).getShapeAt(ia||0),m=D.bounds,J.insertRule(".-g2-shape-"+D.id+"{left:"+m.x+"px;top:"+m.y+"px;width:"+m.width+
- "px;height:"+m.height+"px;background:url('data:image/svg+xml,"+D.toSvg()+"') no-repeat;}",0);if(D instanceof s)S=L.createElement("div"),S.className="-g2-shape-"+D.id;H.unshift(function(a,b,c,d){return function(e,f){var g=f._displayList[b],g=g&&g.obj;if(c)a._parent=f,a._name=c;g&&g.__isMovieClip__&&g._currentframe==g._totalframes&&g._reset();if(a.__isMovieClip__){a.addListener(d);if(d.onConstruct)try{d.onConstruct(e,a)}catch(h){Gordon.loglevel&4&&Gordon.error("Error in generated script, line: "+h.line,
- h)}a._active||(a.broadcastMessage("onLoad"),a.play())}}}(D,ea,ga,aa||{}));m=N++;S.className+=(S.className?" ":"")+(da?"-g2-interactive ":"")+(na?"-g2-blend ":"")+(ja?"-g2-filter ":"")+"-g2-do-"+m;o[ea]={id:m,obj:D,matrix:R||Y&&Y.matrix,cxform:fa||Y&&Y.cxform,clipDepth:ma||Y&&Y.clipDepth}}if(D)S.style.zIndex=D._depth=ea,la.appendChild(S)}break;case r.REMOVEOBJECT:a.pos+=2;case r.REMOVEOBJECT2:ea=a.getUint(16);H.unshift(function(a){return function(b,c){var d=c._displayList[a];(d=d&&d.obj)&&d.__isMovieClip__&&
- d._reset()}}(ea));(R=o[ea])&&R.childDepths&&R.childDepths._unlink();o[ea]=null;break;case r.DEFINEBITS:case r.DEFINEBITSJPEG2:case r.DEFINEBITSJPEG3:m=a.getUint(16);t[m]=new i(new b(a.getSlice($-2)),ba===r.DEFINEBITSJPEG3,!0,ba===r.DEFINEBITS&&c._jpgTables);break;case r.DEFINEBUTTON:case r.DEFINEBUTTON2:m=a.getUint(16);t[m]=function(a,b){return function(c){a.pos=0;var g=e.createButton(a,c,b),h=a.length-a.pos;if(b)for(;h;){var h=a.getUint(16),i=a.getUint(16),j=(Gordon.noas?d:q.load)(a.getString(h?
- h-4:a.length-a.pos));i&1&&g.addListener({onRollOver:function(a){return function(){a(f,c)}}(j)});i&2&&g.addListener({onRollOut:function(a){return function(){a(f,c)}}(j)});i&4&&g.addListener({onPress:function(a){return function(){a(f,c)}}(j)});i&8&&g.addListener({onRelease:function(a){return function(){a(f,c)}}(j)})}else a.getString(h);return g}}(new b(a.getSlice($-2)),ba===r.DEFINEBUTTON2);break;case r.JPEGTABLES:c._jpgTables=a.getString($-2);a.pos+=2;break;case r.SETBACKGROUNDCOLOR:R=new k(c);m=a.getUint(24);
- R.setRGB((m&255)<<16|m&65280|m>>16);break;case r.DEFINEFONT:case r.DEFINEFONT2:case r.DEFINEFONT3:m=a.getUint(16);R=t[m]=new Q(a,ba>r.DEFINEFONT,ba===r.DEFINEFONT3?20:1);R.addListener({onComplete:function(){Gordon._styleSheet.insertRule("@font-face{font-family:'"+this.name+"';src:url('"+this._url+"#"+this.id+"') format('svg')}",0)}});break;case r.DEFINETEXT:case r.DEFINETEXT2:m=a.getUint(16);t[m]=new E(a,c,ba===r.DEFINETEXT2);break;case r.DOACTION:H.push((Gordon.noas?d:q.load)(a.getString($)));break;
- case r.DEFINEFONTINFO:case r.DEFINEFONTINFO2:R=t[a.getUint(16)];R.defineInfo(a,ba===r.DEFINEFONTINFO2);break;case r.DEFINEBITSLOSSLESS:case r.DEFINEBITSLOSSLESS2:m=a.getUint(16);t[m]=new i(new b(a.getSlice($-2)),ba===r.DEFINEBITSLOSSLESS2);break;case r.DEFINEEDITTEXT:m=a.getUint(16);t[m]=function(a){return function(b){a.pos=0;return e.createTextField(a,b)}}(new b(a.getSlice($-2)));break;case r.DEFINESPRITE:m=a.getUint(16);t[m]=function(a,b){return function(c,d,f){c=e.createMovieClip({parent:c,name:d,
- construct:f});a.pos=0;c._totalframes=a.getUint(16);c._id=b;j(a,c,!1,b);return c}}(new b(a.getSlice($-2)),m);if(Gordon.debug)a.pos=ha+4,j(a,e.createMovieClip({parent:c}),!0,!0);break;case r.FRAMELABEL:G=a.getString();c._labels[G]=w;$-(G.length+1)&&a.pos++;break;case r.DEFINEMORPHSHAPE:case r.DEFINEMORPHSHAPE2:m=a.getUint(16);t[m]=new M(a,c,ba>r.DEFINEMORPHSHAPE);break;case r.EXPORTASSETS:for(R=a.getUint(16);R--;)m=a.getUint(16),ga=a.getString(),X[m]=ga,Gordon._package(ga.replace(/^__Packages/,"_global")),
- Gordon.loglevel&1&&Gordon.log(" exports "+("0000"+m).slice(-4)+' as "'+ga+'"');break;case r.DOINITACTION:h=a.getUint(16);Y=(Gordon.noas?d:q.load)(a.getString($-2));try{Y(f,c)}catch(ka){Gordon.loglevel&4&&Gordon.error("Error in generated script, line: "+ka.line,ka)}break;case r.FILEATTRIBUTES:if(a.getUint(8)&15&&c.getSWFVersion()>=9&&T("ActionScript 3 bit is set in FILEINFO."))return;a.pos+=3;break;case r.DOABC:if(T("File contains ActionScript 3"))return;a.pos+=$;break;default:a.pos+=
- $}if(a.pos-ha!==$)Gordon.loglevel&2&&Gordon.warn("WARNING: end of tag "+P[ba]+" is @"+a.pos+", should be @"+(ha+$)),a.pos=ha+$}while(ba);h||n(parent,{action:"parseend"});F._processed=!0}var n=Gordon.postMessage,g=[].slice,c=f.AsBroadcaster,a=Rhonda.Env,i=e.Bitmap,b=e.Stream,h=e.DeflatedStream,k=f.Color,I=f.flash.geom.ColorTransform,Q=e.Font,B=f.flash.geom.Matrix,M=e.MorphShape,K=f.Object,u=f.flash.geom.Rectangle,s=e.Shape,E=e.Text,l=f.flash.geom.Transform,G=e.TransformableMixin;
- /**
- * Number of miliseconds after which the parsing process is aborted.
- * Set to 0 to disable timout.
- *
- * @private
- * @type Number
- * @example
- * var PARSE_TIMEOUT = 10000; // 10 seconds
- */
- var p=10000;
- var T=Gordon.abort,
- L=document,v=Math.max,U=e.spriteClasses=Object.create(null),X=e.idsToName=Object.create(null),q=new a(!0),r={END:0,SHOWFRAME:1,DEFINESHAPE:2,PLACEOBJECT:4,REMOVEOBJECT:5,DEFINEBITS:6,DEFINEBUTTON:7,JPEGTABLES:8,SETBACKGROUNDCOLOR:9,DEFINEFONT:10,DEFINETEXT:11,DOACTION:12,DEFINEFONTINFO:13,DEFINESOUND:14,STARTSOUND:15,DEFINEBUTTONSOUND:17,SOUNDSTREAMHEAD:18,SOUNDSTREAMBLOCK:19,DEFINEBITSLOSSLESS:20,DEFINEBITSJPEG2:21,DEFINESHAPE2:22,DEFINEBUTTONCXFORM:23,PROTECT:24,PLACEOBJECT2:26,REMOVEOBJECT2:28,
- DEFINESHAPE3:32,DEFINETEXT2:33,DEFINEBUTTON2:34,DEFINEBITSJPEG3:35,DEFINEBITSLOSSLESS2:36,DEFINEEDITTEXT:37,DEFINESPRITE:39,FRAMELABEL:43,SOUNDSTREAMHEAD2:45,DEFINEMORPHSHAPE:46,DEFINEFONT2:48,EXPORTASSETS:56,IMPORTASSETS:57,ENABLEDEBUGGER:58,DOINITACTION:59,DEFINEVIDEOSTREAM:60,VIDEOFRAME:61,DEFINEFONTINFO2:62,ENABLEDEBUGGER2:64,SCRIPTLIMITS:65,SETTABINDEX:66,FILEATTRIBUTES:69,PLACEOBJECT3:70,IMPORTASSETS2:71,DEFINEFONTALIGNZONES:73,CSMTEXTSETTINGS:74,DEFINEFONT3:75,SYMBOLCLASS:76,METADATA:77,DEFINESCALINGGRID:78,
- DOABC:82,DEFINESHAPE4:83,DEFINEMORPHSHAPE2:84,SCENEDESCRIPTION:86,DEFINEBINARYDATA:87,DEFINEFONTNAME:88,STARTSOUND2:89,DEFINEBITSJPEG4:90,DEFINEFONT4:91},P=function(){var a={},b;for(b in r)a[r[b]]=b;return a}(),N=f.MovieClip=function(){Object.defineProperty(this,"_lockroot",{writable:!0,value:!1})},w=N.prototype=Object.create(K.prototype,{transform:{get:function(){return new l(this)},set:function(){}}});w.attachMovie=function(a,b,c,d){a=e.createMovieClip({construct:e.spriteClasses[a]||N,initObject:d});
- this._displayList[c]=a;this._node.appendChild(a._node);a._parent=this;a._name=b;return a};w.createEmptyMovieClip=function(a,b){var c=e.createMovieClip({parent:this});this._displayList[b]=c;this._node.appendChild(c._node);c._name=a;return c};w.getInstanceAtDepth=function(a){return(a=this._displayList[a])&&a.obj};w.removeMovieClip=function(){var a=this._displayList;a.hasOwnProperty[this._depth]&&(this._unload(),this._node.parentNode.removeChild(this._node),a[this._depth]=null)};w.getBytesLoaded=function(){return this._bytesLoaded};
- w.getBytesTotal=function(){return this._bytesTotal};w.getDepth=function(){return this._depth};w.getNextHighestDepth=function(){var a=this._displayList,b=[],c;for(c in a)b.push(c);return v.apply(null,b)+1};w.getURL=function(a,b,c){f.getURL(a,b,c)};w.gotoAndPlay=function(a){this._paused=!1;this._gotoFrame(a)};w.gotoAndStop=function(a){this._paused=!0;this._gotoFrame(a)};w.loadMovie=function(a,c){var d=this;d._unload();d.broadcastMessage("onStart");var e=new XMLHttpRequest,a=Gordon.lib.getAbsoluteUrl(a);
- e.open(c||"GET",a);e.overrideMimeType("text/plain;charset=x-user-defined");e.onload=function(){var c=new b(e.responseText),f=c.getUint(8),g=c.getUint(8),i=c.getUint(8),k=c.getUint(8);if(g==87&&i==83){i=c.length;g=c.getUint(32);Object.defineProperty(d,"__swfVersion",{value:k});if(f==67){var l=!0;c.pos+=2;c=new h(c)}else if(f!=70)throw Error(a+" is not a valid SWF file");var f=new u(c),n=d._width=f.width,p=d._height=f.height,q=d._node.style;q.width=n+"px";q.height=p+"px";n=d._framerate=c.getUint(16)/
- 256;p=d._totalframes=c.getUint(16);q=L.createElement("a");q.href=a;d._uri=q;(q=Gordon.loglevel&1)&&Gordon._dump("HEADER","File version: %d",k);l&&(k=i*100/g,q&&Gordon._dump("HEADER","File is zlib compressed. Ratio: %s%%",0|(k<10?"0":"")+k));q&&Gordon._dump("HEADER","File size: %d",g);q&&Gordon._dump("HEADER","Frame rate: %.6f",n);q&&Gordon._dump("HEADER","Frame count: %d",p);q&&Gordon._dump("HEADER","Movie width: %.2f"+(f.x?" (left offset: %.2f)":""),f.width,f.x||void 0);q&&Gordon._dump("HEADER",
- "Movie height: %.2f"+(f.y?" (top offset: %.2f)":""),f.height,f.y||void 0);d.broadcastMessage("onData");j(c,d,q);d.broadcastMessage("onLoad",e.status)}else{if(!(f==255&&g==216&&i==255&&k==224)&&!(f&137&&g==80&&i==78&&k==71)&&!(f==71&&g==73&&i==70&&k==56))throw Error(a+" is not in a supported format");d._currentframe=d._framesloaded=d._totalframes=1;c=new Image;c.src=a;d._node.appendChild(c)}};e.onprogress=function(a){d._bytesTotal||(d._bytesTotal=a.total);d._bytesLoaded=a.loaded;d.broadcastMessage("onProgress",
- a.loaded,a.total)};e.onerror=function(){d.broadcastMessage("onError",e.status)};e.send()};w.loadVariables=function(a,b){(new f.LoadVars).sendAndLoad(a,this,b)};w.nextFrame=function(){this.gotoAndStop(this._currentframe+1)};w.play=function(){function a(d,e){var f=b._root;d||(d=f);var h=new Date,i=d._paused,j=e==null?d._currentframe+(i?0:1):e;d._currentframe=j>d._totalframes||j<0?j=0:j;if(j){if(d.onEnterFrame instanceof Function)d.onEnterFrame();d.broadcastMessage("onEnterFrame");i||d._gotoFrame(j)}for(var j=
- 0,k=g.call(d._children);i=k[j];j++)i._active&&a(i,e);if(d==f)d._tickTimeout=setTimeout(a,c-(new Date-h))}var b=this,c=1E3/b._framerate;b._paused=!1;if(!b._active)b._active=!0,a(b,1)};w.prevFrame=function(){this.gotoAndStop(this._currentframe-1)};w.stop=function(){this._paused=!0};w.unloadMovie=function(){this._unload();this.broadcastMessage("onUnload")};w._call=function(a){typeof a=="string"&&(a=this._labels[a]);a!==Object(a)&&(a=this._frames[a>this._totalframes||a<0?1:a]);if(a&&(this._totalframes!=
- 1||!this._passedFrame1)){this._passedFrame1||(this._passedFrame1=this._currentframe==1);var a=a.doActions,b;for(b in a)try{a[b](f,this)}catch(c){Gordon.loglevel&4&&Gordon.error("Error in generated script, line: "+c.line,c)}}};w._gotoFrame=function(a){if(typeof a=="string")if(+a==a)a=+a;else if(a=this._labels[a],!a)return;var a=this._currentframe=a>this._totalframes||a<0?1:a,b=this._frames[a];if(b)this._class||(this._class=this._node.className),this._node.className=this._class+" -g2-frm-"+a,this._call(a),
- this._displayList.__proto__=b.displayList};w._reset=function(){this._active=this._passedFrame1=this._paused=!1;this._currentframe=0;this._displayList={};this.__matrix.identify();for(var a,b=0,c=this._children;a=c[b];b++)a._reset();clearTimeout(this._tickTimeout)};w._unload=function(){var a=this._parent;this._frames={};this._labels={};this._jpgTables=this._node.innerHTML="";this._framesloaded=this._totalframes=0;if(a)for(var b=0,c=a._children;a=c[b];b++)if(a==this){c.splice(b,1);break}this._reset()};
- w.onData=function(){};w.onDragOut=function(){};w.onDragOver=function(){};w.onEnterFrame=function(){};w.onKeyDown=function(){};w.onKeyUp=function(){};w.onKillFocus=function(){};w.onLoad=function(){};w.onPress=function(){};w.onReleaseOutside=function(){};w.onSetFocus=function(){};w.onUnload=function(){};e.each("onMouseDown,onMouseMove,onMouseUp,onRelease,onRollOut,onRollOver".split(","),function(a){Object.defineProperty(w,a,{get:function(){return this["_"+a]||function(){}},set:function(b){this["_"+
- a]=b;if(!this._interactive)this._interactive=!0,this._class=(this._class||(this._class=this._node.className))+" -g2-interactive"}})});var J={_alpha:{get:function(){return this.__alpha===void 0?100:this.__alpha},set:function(a){a+=0;if(a||a===0)this._node.style.opacity=(this.__alpha=a)/100}},_name:{get:function(){return this.__name__||""},set:function(a){var b=this._parent;if(b&&!(a in b))delete b[this._name],b[a]=this,this.__name__=a}},_target:{get:function(){var a=this._parent;return(a?a._target+
- ".":"")+this._name}},_visible:{get:function(){return"__visible"in this?this.__visible:!0},set:function(a){this._node.style.visibility=(this.__visible=!!a)?"visible":"hidden"}},enabled:{writable:!0,value:!0},_currentframe:{writable:!0,value:0},_framesloaded:{writable:!0,value:0},getSWFVersion:{writable:!0,value:function(){return this.__swfVersion||this._parent&&this._parent.getSWFVersion()||0}},_height:{writable:!0,value:0},_highquality:{writable:!0,value:2},_parent:{writable:!0},_quality:{writable:!0,
- value:"BEST"},_root:{writable:!0},_soundbuftime:{writable:!0,value:5},_totalframes:{writable:!0,value:0},_width:{writable:!0,value:0},_active:{writable:!0},_children:{},_dictionary:{},_displayList:{},_frames:{},_jpgTables:{writable:!0},_labels:{},_node:{},_passedFrame1:{writable:!0,value:!1},_paused:{writable:!0}};e.createMovieClip=function(a){a||(a={});var b=a.construct||N,d=Object.create(b.prototype),e=a.parent;J._children.value=[];J._dictionary.value=e&&e._dictionary||{};J._displayList.value={};
- J._frames.value={};J._labels.value={};(J._node.value=document.createElement("div")).obj=d;Object.defineProperties(d,J);c.initialize(d);G(d);d._root=e?e._root:d;d._active=!1;d._jpgTables="";d._paused=!1;if(e)d._parent=e,e._children.push(d);if(a=a.initObject)for(var e=Object.keys(a),f=0,g;(g=e[f++])!=null;)d[g]=a[g];Object.defineProperty(d,"__isMovieClip__",{value:!0});b.call(d);return d};e.each("attachAudio,attachBitmap,beginBitmapFill,beginFill,beginGradientFill,clear,createTextField,curveTo,endFill,getBounds,getTextSnapshot,getRect,globalToLocal,hitTest,lineGradientStyle,lineStyle,lineTo,localToGlobal,moveTo,setMask,startDrag,stopDrag,swapDepths".split(","),
- function(a){e.implement(N,a,e.createFunction({name:a,body:{prefix:"_global.MovieClip#"}}))});w.__getTarget__=function(){return this};w.createEmptyMovieClip=function(){return e.createMovieClip()}});
- Gordon._package("_global",function(f,e){function d(){Object.defineProperty(this,"_listeners",{writable:!0,value:[]})}d.prototype=Object.create(f.Object.prototype);e.implement(d,{getProgress:function(){return{bytesLoaded:this._bytesLoaded||0,bytesTotal:this._bytesTotal||0}},loadClip:function(d,e){var f=this;e.addListener({onStart:function(){f.broadcastMessage("onLoadStart",e)},onData:function(){f.broadcastMessage("onLoadInit",e)},onLoad:function(c){f.broadcastMessage("onLoadComplete",e,c)},onProgress:function(c,
- a){f.broadcastMessage("onLoadProgress",e,f._bytesLoaded=c,f._bytesTotal=a)},onError:function(c){f.broadcastMessage("onLoadError",e,"URLNotFound",c)}});e.loadMovie(d)},unloadClip:function(d){d.unloadMovie()}});(function(){var j={};f.AsBroadcaster.initialize(j);e.each(["addListener","broadcastMessage","removeListener"],function(f){e.implement(d,f,j[f])})})();f.MovieClipLoader=d});
- Gordon._package("_global",function(f,e){function d(){}d.prototype=Object.create(f.Object.prototype);e.implement(d,{_alpha:100,_height:0,_name:"",_parent:null,_rotation:0,_visible:!0,_width:0,_x:0,_xmouse:0,_xscale:0,_y:0,_ymouse:0,_yscale:0,deblocking:0,height:0,smoothing:!1,width:0});e.each("attachVideo,clear,close,play,pause,resume,stop".split(","),function(f){e.implement(d,f,e.createFunction({name:f,body:{prefix:"_global.Video#"}}))});f.Video=d});
Add Comment
Please, Sign In to add comment