-
Notifications
You must be signed in to change notification settings - Fork 0
/
as3shim-bonsai-plugins-latest.min.js
47 lines (47 loc) · 19.9 KB
/
as3shim-bonsai-plugins-latest.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* as3shim is (C) 2012 uxebu
*
* 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.
*/
(function(){var o,k,s,t,p,u,m,w;o=Function("return this")();k=bonsai;s=function(){var g={1074:"Error #1074",1077:"Error #1077",2006:"Error #2006",2032:"Stream Error. URL: {{url}}",2098:"The loading object is not a .swf file, you cannot request SWF properties from it.",2099:"The loading object is not sufficiently loaded to provide this information.",2012:"Error #2012",2024:"Error #2024",2134:"Error #2134"};return{getById:function(e){return g[e]},renderWithPlaceholders:function(e,a){var c=g[e],i;for(i in a)c=
c.replace("{{"+i+"}}",a[i]);return c}}}();t=function(g){var e=g.Group,a=g.tools,g=function(){e.call(this);this.childrenWrapper=(new e).addTo(this);this.eventArea=(new e).attr({opacity:0,cursor:"pointer"}).addTo(this);this.stateChildren={normal:new e,hover:new e,active:new e};this.setupConnections();this.childrenWrapper.addChild(this.stateChildren.normal)};g.prototype=a.mixin(Object.create(e.prototype),{childrenWrapper:null,eventArea:null,stateChildren:null,isMouseDown:!1,isMouseOver:!1,type:"Group",
addActiveStateChild:function(c,a){this.addStateChild(c,"active",a)},addEventAreaChild:function(c,a){this.eventArea.addChild(c,a)},addHoverStateChild:function(c,a){this.addStateChild(c,"hover",a)},addNormalStateChild:function(c,a){this.addStateChild(c,"normal",a)},addStateChild:function(c,a,e){this.stateChildren[a].addChild(c,e)},displayState:function(c){var a=this.childrenWrapper.children();a.length&&a[0].stop&&a[0].stop();a=this.stateChildren[c].children();a.length?(this.childrenWrapper.clear().addChild(this.stateChildren[c]),
a[0].play&&a[0].play(0)):"normal"===c&&this.childrenWrapper.clear()},onMouseDown:function(){this.isMouseDown=!0;this.displayState("active")},onMouseUp:function(){this.isMouseDown=!1;this.displayState(this.isMouseOver?"hover":"normal")},onMouseOver:function(){this.isMouseOver=!0;var a="hover";this.isMouseDown&&(a="active");this.displayState(a)},onMouseOut:function(){this.isMouseOver=!1;var a="normal";this.isMouseDown&&(a="hover");this.displayState(a)},setupConnections:function(){this.eventArea.on("mouseover",
a.hitch(this,"onMouseOver"));this.eventArea.on("mouseout",a.hitch(this,"onMouseOut"));this.eventArea.on("pointerdown",a.hitch(this,"onMouseDown"));this.eventArea.on("pointerup",a.hitch(this,"onMouseUp"))}});return g}(k);p=function(g){var e=g.stage.options,e=e.as3shimConfig=e.as3shimConfig||{},e={debug:{logCalls:!1,logUnspyables:!1},warnAbout:{missingImplementation:e.showWarnings||!1,notAvailableApis:!1},stats:{warnAbout:{missingClass:e.showWarnings||!1}}};return g.stage.as3shimConfig=e}(k);u=function(g){var e=
{};return{getFileAndLine:function(){var a=Error().stack,c=a&&a.split("\n");if(c)for(var i=0;i<c.length;i++){var e=c[i];if(/movie\.js:\d+:\d+/.test(e))return e}return"... oh dear, movie.js not found in trace. Complete trace:\n"+a},createFunctionSpy:function(a,c,i){var e=this;return function(a,c,i){return function(g){e.logFunctionCall(c,i,[].slice.call(arguments,0));return a.apply(this,arguments)}}(a[c],i||""+a,c)},isSpyableOwnFunction:function(a,c){return a.hasOwnProperty!=Object.hasOwnProperty||!a.hasOwnProperty(c)||
"toString"==c||a.__lookupGetter__(c)?!1:"function"==typeof a[c]},isSpyableOwnAccessor:function(a,c){return!!Object.getOwnPropertyDescriptor(a,c)&&!!a.__lookupGetter__(c)},_logFunctionCall:function(a,c,i){i=i.map(function(a){return"function"==typeof a?"Function with "+(""+a).split("\n").length+" lines":"object"==typeof a?""+a:a});i=JSON.stringify(i);i=i.substring(1,i.length-1);console.log("SHIM call:",a+"."+c+"("+i+")")},_logEvents:function(a,c,i){console.log("SHIMS: 1000 `dispatchEvent` in "+i+"s of",
c,a)},logFunctionCall:function(a,c,i){"dispatchEvent"==c?(c=i[0],e[c]?e[c].count++:e[c]={count:1,lastReset:+new Date},1E3<e[c].count&&(i=this._getElapsedTime(e[c].lastReset),this._logEvents(a,c,i),e[c]={count:1,lastReset:+new Date})):this._logFunctionCall(a,c,i)},_getElapsedTime:function(a){return((+new Date-a)/1E3).toFixed(2)},logGetterCall:function(a,c,i){console.log("SHIM call: GET",a,c,""+i)},logSetterCall:function(a,c,i,e){console.log("SHIM call: SET",a,c,""+i,""+e)},spyOnFunction:function(a,
c,e){a[c]=this.createFunctionSpy(a,c,e)},spyOnOwnAccessor:function(a,c,e){var x=Object.getOwnPropertyDescriptor(a,c),q=this;if(x.configurable){var k=x.get;x.get=function(){var a=k.apply(this);q.logGetterCall(e,c,a);return a};var y=x.set;x.set=function(a){q.logSetterCall(e,c,k.apply(this),a);y.apply(this,[a])}}else g.debug.logUnspyables&&console.log('Can not spy on accessor "'+e+"."+c+'", because configurable=false.');Object.defineProperty(a,c,x)},spyOnClass:function(a,c){this.spyOnObject(a,c);this.spyOnObject(a.prototype,
c+".prototype")},spyOnObject:function(a,c){for(var e in a)this.isSpyableOwnFunction(a,e)?this.spyOnFunction(a,e,c):this.isSpyableOwnAccessor(a,e)&&this.spyOnOwnAccessor(a,e,c)},spyOnAllClassInNamespace:function(a,c){for(var e in a){var g=a[e],k=g.prototype.__isNamespace__;g.__isNamespace__?this.spyOnAllClassInNamespace(g,c+"."+e):g.__isClass__&&!k&&this.spyOnClass(g,c+"."+g)}}}}(p);m=function(){function g(){for(var a in e)this[a]=e[a]}var e={align:"left",blockIndent:0,bold:!1,bullet:!1,color:0,font:"Times",
indent:0,italic:!1,kerning:!1,leading:0,leftMargin:0,letterSpacing:0,rightMargin:0,size:12,tabStops:[],target:"",underline:!1,url:""};g.defaults=JSON.parse(JSON.stringify(e));return g}();m=function(g,e){function a(b,d){var h=[],a="__string__"+ +new Date,b=b.replace(/(['"])(?:\\\1|[^\1])*?\1/g,function(b){h.push(b);return a}),b=b.replace(/[^}]+\{/g,function(b){b=b.replace(/^\s+|\s+$/,"");return b.replace(/^|(,)/g,"$1 "+d+" ").replace(/^\s|(\s)\s+/g,"$1")});return b=b.replace(RegExp(a,"g"),function(){return h.shift()})}
function c(){return this._owner.raw.styleSheet}function i(b){var d=this._owner,h=d._cssSelectorPrefix;b?(b=a(b,h),d.raw.styleSheet=b,d._style||(d._style=new z("style"),d.addChild(d._style)),this._defaultStyleSheet||(this._defaultStyleSheet=a(S,h)),d._style.setAttribute("innerHTML",this._defaultStyleSheet+b)):d.raw.styleSheet=""}function k(){return this._owner.raw.autoSize}function q(b){var d=this._owner;d.raw.autoSize=b||"none";switch(b){case "none":d.setStyles({"float":"",width:"100px",height:"100px"});
break;case "left":d.setStyles({"float":"left",width:"auto",height:"auto"});break;case "right":d.setStyles({"float":"right",width:"auto",height:"auto"});d.text.setStyle("float","right");d.text.setStyle("textAlign","right");break;case "center":d.setStyles({display:"inline-block",width:"auto",height:"auto"}),d.setStyle("textAlign","center")}}function R(){return!!this._owner.raw.editable}function y(b){var b=!!b,d=this._owner;d.raw.editable=b;!0===b?(d.text.setAttribute("contenteditable","true"),d.text.setStyles({webkitUserModify:"read-write",
webkitNbspMode:"space",webkitLineBreak:"after-white-space"}),d.addCSSRule(":focus",{outline:"none"})):(d.text.setAttribute("contenteditable","false"),d.text.setStyles({webkitNbspMode:"",webkitLineBreak:""}))}function m(){return!!this._owner.raw.html}function v(b){this._owner.raw.html=!!b}function T(){return this._owner.raw.htmlText||""}function U(b){var d=this._owner;!1!==d.attr("html")&&d.innerHTML(b)}function V(){return this._owner.raw.maxChars}function C(b){this._owner.raw.maxChars=b}function W(){return!!this._owner.raw.password}
function A(b){var b=!!b,d=this._owner;d.raw.password=b;!0===b&&d.attr("text",Array(d.text.getAttribute("innerHTML").length+1).join("*"))}function o(){var b;b=""+this._owner.attr("htmlText");var d=b.match(RegExp("<TEXTFORMAT.*"+O+">(.*)"));d&&d[1]&&(b=d[1].split(/<\/TEXTFORMAT>(.+)?/),b=I+b[0]+I+(b[1]||""));return P(b)}function B(b){for(var d=this._owner,h=d.attr("maxChars"),b=(b||"").toString(),b=null===h?b:b.slice(0,h),h="",b=b.split(I),a=0,f=b.length;a<f;a++)0!==b[a].length&&(h+=d.htmlFromText(b[a],
a%2));d.innerHTML(h);d.emit("change")}function p(){return!!this._owner.raw.selectable}function E(b){this._owner.raw.selectable=!!b}function J(){return!!this._owner.raw.background}function K(b){var d=this._owner;d.raw.background=!!b;d.attr("backgroundColor",d.attr("backgroundColor"))}function n(){var b=this._owner;return!0===b.attr("background")?b.raw.backgroundColor:F.backgroundColor}function l(b){var d=this._owner;d.raw.backgroundColor=b;d.attr("background")?d.setStyle("backgroundColor",L(b)):d.setStyle("backgroundColor",
"rgba(0,0,0,0)")}function h(){return!!this._owner.raw.border}function D(b){var d=this._owner;d.raw.border=!!b;d.attr("borderColor",d.attr("borderColor"))}function f(){var b=this._owner;return!0===b.attr("border")?b.raw.borderColor:F.borderColor}function G(b){var d=this._owner;d.raw.borderColor=b;d.attr("border")?d.setStyles({borderWidth:"1px",borderColor:L(b),borderStyle:"solid"}):d.setStyles({borderColor:"",borderWidth:"0px"})}function Y(){return!!this._owner.raw.wordWrap}function Z(b){var b=!!b,
d=this._owner;d.raw.wordWrap=b;!0===b?d.text.setStyles({whiteSpace:"normal",display:""}):d.text.setStyles({whiteSpace:"nowrap",display:"inline-block"})}function $(){return!!this._owner.raw.multiline}function s(b){var d=this._owner;d.raw.multiline=!!b;d.attr("wordWrap",d.attr("wordWrap"))}function t(){return this._owner.raw.width}function u(b){var d=this._owner;d.raw.width=+b;"none"===d.attr("autoSize")&&d.setStyle("width",(b|0)+"px")}function w(){var b=this._owner,d=b.attr("autoSize");if("undefined"===
typeof d||"none"===d)return b.raw.height;d=b.attr("text").split(/\n|\r/).length;return b.text.attr("fontLineHeight")*d}function aa(b){var d=this._owner;d.raw.height=b;"none"===d.attr("autoSize")&&d.setStyle("height",(b|0)+"px")}function ba(){return this._owner.raw.align}function ca(b){var d=this._owner;d.raw.align=b;d.parent.setStyle("textAlign",b||"")}function da(){return this._owner.raw.bold}function ea(b){var b=!!b,d=this._owner;d.raw.bold=b;d.setStyle("fontWeight",b?"700":"normal")}function fa(){return this._owner.raw.color}
function ga(b){var d=this._owner;d.raw.color=b;d.setStyle("color",L(b))}function ha(){return this._owner.raw.font}function ia(b,d){var h=this._owner;H.isArray(b)?(d=b[1]+", "+M(b[0]),h.raw.font=b[0]):(d=M(b),h.raw.font=b);h.setStyle("fontFamily",d)}function ja(){return this._owner.raw.indent}function ka(b){var d=this._owner;d.raw.indent=b;d.setStyle("textIndent",b||"")}function la(){return this._owner.raw.italic}function ma(b){var b=!!b,d=this._owner;d.raw.italic=b;d.setStyle("fontStyle",b?"italic":
"")}function na(){return this._owner.raw.leftMargin}function oa(b){var d=this._owner;d.raw.leftMargin=b;d.setStyle("paddingLeft",b+"px")}function pa(){return this._owner.raw.rightMargin}function qa(b){var d=this._owner;d.raw.rightMargin=b;d.setStyle("paddingRight",b+"px")}function ra(){return this._owner.raw.letterSpacing}function sa(b){var d=this._owner;d.raw.letterSpacing=b;d.setStyle("letterSpacing",b+"px")}function ta(){return this._owner.raw.size}function ua(b){var b=+b,d=this._owner;d.raw.size=
b;d.setStyle("fontSize",b+"px");this.fontLineHeight+=0}function va(){return this._owner.raw.underline}function wa(b){var b=!!b,d=this._owner;d.raw.underline=b;d.setStyle("textDecoration",b?"underline":"")}function xa(){return this._owner.raw.fontLineHeight||0}function ya(b){var d=this._owner,h=d.attr("size"),b=h>b?h:b;d.raw.fontLineHeight=b;b+=d.attr("leading");d.parent.setStyle("line-height",b+"px")}function za(){return this._owner.raw.leading}function Aa(b){var d=this._owner;d.raw.leading=b;this.fontLineHeight+=
0;d.parent.setStyle("margin-top",-b/2+"px")}function r(){z.call(this,"div",{},{overflow:"hidden",boxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",MsBoxSizing:"border-box"});this._domID="bs-textfield-"+this.id;this._domInnerClass=this._domID+"-innerText";this._cssSelectorPrefix="#"+this._domID+" ."+this._domInnerClass;this.setAttribute("id",this._domID);this.innerBox=(new z("div",{"class":this._domID+"-innerBox"},{width:"100%",height:"100%",display:"inline-block",boxSizing:"border-box",
WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",MsBoxSizing:"border-box",padding:"2px"})).addTo(this);this.raw={};Object.defineProperties(this._attributes,{wordWrap:j(Y,Z,!0),multiline:j($,s,!0),autoSize:j(k,q,!0),background:j(J,K,!0),backgroundColor:j(n,l,!0),border:j(h,D,!0),borderColor:j(f,G,!0),html:j(m,v,!0),htmlText:j(T,U,!0),maxChars:j(V,C,!0),password:j(W,A,!0),text:j(o,B,!0),selectable:j(p,E,!0),editable:j(R,y,!0),width:j(t,u,!0),height:j(w,aa,!0),styleSheet:j(c,i,!0)});this.css=(new z("style")).addTo(this.innerBox);
this.css.raw={};this.addCSSRule("a",{color:"inherit","text-decoration":"none"});this.addCSSRule("p",{padding:0,margin:0,"word-wrap":"normal"});this.text=(new z("span",{"class":this._domInnerClass})).addTo(this.innerBox);this.text.raw={};Object.defineProperties(this.text._attributes,{align:j(ba,ca,!0),bold:j(da,ea,!0),color:j(fa,ga,!0),font:j(ha,ia,!0),indent:j(ja,ka,!0),italic:j(la,ma,!0),leftMargin:j(na,oa,!0),rightMargin:j(pa,qa,!0),letterSpacing:j(ra,sa,!0),size:j(ta,ua,!0),underline:j(va,wa,!0),
fontLineHeight:j(xa,ya,!0),leading:j(za,Aa,!0)});for(var b in F)this.attr(b,F[b]);b=new e;for(var d in b)this.text.attr(d,b[d]);this.text.raw.defaults=e.defaults}var Q,P,M,z=g.DOMElement,H=g.tools,j=H.descriptorAccessor,Ba=Array.prototype.slice,S="a{color:#000;text-decoration:none;}",F={autoSize:"none",background:!1,backgroundColor:16777215,border:!1,borderColor:0,html:!0,htmlText:"",maxChars:null,text:"",selectable:!1,password:!1,wordWrap:!1,editable:!1,width:100,height:100,styleSheet:""},O='bs-swf="true"',
I="\ufeff\ufeff",L=r.rgba=function(b){if("undefined"===typeof b)return"rgba(0,0,0,0)";b=/^#/.test(b)?parseInt(b.slice(1),16):b<<8|255;return g.color(b).rgba()},N=r.prototype=H.beget(z.prototype);N.addCSSRule=function(b,d){var h=this.css,a=h.raw,f=Ba.call(arguments,0,-1),d=arguments[f.length],b=f.join("\x00");a.hasOwnProperty(b)?H.mixin(a[b],d):a[b]=d;var D,c,e="",G=this._cssSelectorPrefix;for(b in a){f=a[b];c="";for(D in f)c+=D+": "+f[D]+"; ";e+=G+" "+b.split("\x00").join(", "+G+" ")+" { "+c+"}\n"}h.setAttribute("innerHTML",
e);return this};N.innerHTML=function(b){this.text.setAttribute("innerHTML",b);this.raw.htmlText=b;this.emit("change");return this};N.htmlFromText=function(b,d){this.addCSSRule("font",{"font-size":"inherit",color:"inherit","font-family":"inherit"});return r.htmlTextFormatWrapper("<P><FONT>"+Q(b)+"</FONT></P>",d)};M=r.mapFontFamily=function(){var b={_sans:"sans-serif",_serif:"serif",_typewriter:"monospace"};return function(d){return d in b?b[d]:d}}();Q=r.escapeHtml=function(b){return(b+"").replace(/&/g,
"&").replace(/</g,"<").replace(/>/g,">").replace(/\n|\r/g,"<br/>")};P=r.unescapeHtml=function(b){return b.replace(/&/g,"&").replace(/ /g," ").replace(/<br\/>/g,"\n").replace(/<(?:.|\n)*?>/gm,"").replace(/\</g,"<").replace(/\>/g,">")};r.htmlTextFormatWrapper=function(b,d){return"<TEXTFORMAT"+(d?" "+O:"")+">"+b+"</TEXTFORMAT>"};return r}(k,m);w=function(g){return{getLoadableFileUrl:function(e){var a="",c=g.stage.options;"flashConfig"in c&&"__rootMovie__"in c.flashConfig&&(a=
g.stage.options.flashConfig.__rootMovie__.loadableFileMap[e]);return a||e}}}(k);k=function(g,e,a,c,i,k){function q(h){for(var a,f=[1,10,100],c=0,e=f.length;c<e;c++)if(a=J(h*f[c])%1,1.0E-5>a||0.99999<a)return K(h*f[c])/f[c];return h}function m(){}function y(h,a,f){f||(f={});v(h,a,l.mixin({get:m,set:m},f))}function o(h,a,f){3>arguments.length&&(f=a);v(h,t(a),{configurable:!1,enumerable:!1,writable:!1,value:f})}function v(a,c,f){f||(f={});var e={configurable:!0,enumerable:!0,writable:!0};"configurable"in
f&&(e.configurable=f.configurable);"enumerable"in f&&(e.enumerable=f.enumerable);f.get||f.set?("get"in f&&(e.get=f.get),"set"in f&&(e.set=f.set),delete e.value,delete e.writable):(delete e.get,delete e.set,e.value=f.value,"writable"in f&&(e.writable=f.writable));Object.defineProperty(a,c,e)}function p(a){return"__"+a+"__"}function s(a,c,f){v(a,p(c),{enumerable:!1,value:f})}function t(a){B.lastIndex=0;return(a.match(B)||[]).join("_").toUpperCase()}var C=g.tools,u=i.document,A={},w={}.hasOwnProperty,
B=/[a-z]+[a-z\d]*(?!\d[A-Z])|[A-Z][a-z]+|[A-Z\d]+(?![a-z])/g,X=[].slice,E=Math.PI,J=Math.abs,K=Math.round,n="bonsai"+(g.version+Math.random()).replace(/\D/g,""),l=C.mixin(C.beget(C),{addConstantsToClass:function(a){l.forEach(a,function(a){var h=a.shift();l.forEach(a,function(a){"string"===typeof a&&(a=[a]);a.unshift(h);o.apply(null,a)})})},createDummyFunction:function(h){var c="void";if(h===Object(h))var f=h,h=f.name,c=f.returnType||c;var g="Missing implementation for"+(h?" "+h:"")+", is dummy currently.",
k=function(){A[h]||(A[h]=!0,e.warnAbout.missingImplementation&&console.warn(g,"called by "+a.getFileAndLine()));if(f&&"returnValue"in f)return f.returnValue;var k={array:[],"boolean":!1,"int":0,number:0,string:"","null":null,"void":void 0},l=c.toLowerCase();return l in k?k[l]:Function("exposes","try { return new exposes."+c+"} catch (e) {}")(i.exports.asGlobal)};s(k,"isDummy",!0);return k},createUnimplementedFunction:function(a){var c="Unimplemented: "+(a?" "+a:"");return function(){if(!A[a])return A[a]=
!0,e.warnAbout.missingImplementation&&console.warn(c),new Boolean(!1)}},connectOnDemand:function(a,c,f,e){"onDemandConnects"in c||(c.onDemandConnects={});c.onDemandConnects[a]={connectFunc:f,disconnectFunc:e,connected:!1}},connectEventListener:function(a,c){var f=c.onDemandConnects;f&&a in f&&!f[a].connected&&(f[a].connectFunc(),f[a].connected=!0)},degToRad:function(a){return q(a*(E/180))},detachNode:function(a){return a.parentNode.removeChild(a)},disconnectEventListener:function(a,c){var f=c.onDemandConnects;
f&&a in f&&(f[a].disconnectFunc(),f[a].connected=!1)},dispatchEventWithoutBubbling:function(a,c){a[n].eventDispatcher.emit(c.type,c)},escapeAttributeValue:function(a){return(a+"").replace(/&/g,"&").replace(/</g,"<").replace(/"/g,""").replace(/\n/g,"
").replace(/\r/g,"
").replace(/\t/g,"	")},every:function(a,c,f){var e=-1,g=a.length;for(f&&(c=l.hitch(f,c));++e<g;)if(!c(a[e],e,a))return!1;return!0},expando:n,fixRoundingError:q,flashToBonsaiBlur:function(a,c){return(a+c)/7.5},
forEachSnapshot:function(a,c){for(var f=0,e=(a||{}).snapshotLength;f<e&&!1!==c(a.snapshotItem(f),f,a);f++);return a},getClassNameByClass:function(a,c){var f=a.displayName||a.name;a.__qualifiedName__&&(f=a.__qualifiedName__.split(".").pop());return f||c},getDescriptor:function(a,c){return Object.getOwnPropertyDescriptor(a,c)},getFlashConfig:function(){return k},getPrivateObjectOf:function(a,c){var f=l.expando;f in a||(a[f]={attrs:{}});f=a[f];if(c)for(var e in c)e in f||(f[e]=c[e]);return f},hasKey:function(a,
c){return null!=a&&w.call(a,c)},noop:m,radToDeg:function(a){return q(a*(180/E))},createAndRunMovieFromClass:function(a){var c=(new g.Movie).addTo(g.stage),f=Object.create(a.prototype),e=l.getPrivateObjectOf(f);e.raw=c;e.isRootMovie=!0;a.call(f);return f},setAccessor:y,setConst:o,setConsts:function(a,c){l.forEach(c,function(c){l.setConst(a,c[0],c[1])})},setDescriptor:v,setImmutable:function(a,c,f){var e={configurable:!1,writable:!1};3>arguments.length?("get"in c?e.get=c.get:"value"in c&&(e.value=c.value),
c=c.name):e.value=f;v(a,c,e)},setMovieClipInteractiveState:function(a,c){a.graphics&&a.graphics[n].raw.attr("interactive",c);var e=a[n].children,g=!1;if(e&&e.length)for(var i=0;i<e.length;i++){var k=e[i];"mouseEnabled"in k?g=!0:g?k[n].raw.attr("interactive",!1):k[n].raw.attr("interactive",c)}},setPseudoPrivate:s,setReadOnly:function(a,e,f){y(a,e,{get:f,set:function(){throw new ReferenceError(c.getById(1074));}})},some:function(a,c,e){var g=-1,i=a.length;for(e&&(c=l.hitch(e,c));++g<i;)if(c(a[g],g,
a))return!0;return!1},toArray:function(a,c,e){return X.call(a,c||0,e||a.length)},toCamelCase:function(a){B.lastIndex=0;return a.replace(B,function(a,c){return c?a.charAt().toUpperCase()+a.slice(1):a.toLowerCase()})},toConstCase:t,toPseudoPrivateName:p,toRGBA:function(a){return 256*a+255},timestampAs3Started:+new Date,xQuery:function(a,c,e){var g=u;c||(c=u);c&&(c[n]&&(c=c[n].raw),g=c.ownerDocument||c);return g.evaluate(a,c,null,null==e?6:e,null)}});return l}(k,p,u,s,o,w);(function(g,e,a,c){g=g.exports;
g.tools=e;g.TextField=a;g.Button=c;return g})(o,k,m,t)})();