• R/O
  • HTTP
  • SSH
  • HTTPS

sie: Commit

ブラウザでSVGを表示するSIEの開発 (SIE - to display SVG on legacy browsers)


Commit MetaInfo

Revisión49100abd0ab260e3de5800a73c50477bbbb57290 (tree)
Tiempo2017-05-23 23:09:33
Autordhrname <dhrname@user...>
Commiterdhrname

Log Message

Build SIE 32 beta

Cambiar Resumen

Diferencia incremental

--- a/org/sie-uncompressed.js
+++ b/org/sie-uncompressed.js
@@ -165,7 +165,7 @@ var _base = {
165165 },
166166
167167 /*__argsと__appプロパティは後のofメソッドで使う*/
168- __args: null,
168+ __args: [],
169169 __app: null,
170170
171171 /*ofメソッド
@@ -179,13 +179,22 @@ var _base = {
179179 /*再代入禁止*/
180180 throw new Error("Reset error");
181181 }
182- /*__appと__argsプロパティに、指定されたプロパティを記録しておく*/
183- var args = this.__args || [];
182+ /*__argsプロパティを新しい配列に再構成*/
183+ var args = [].concat(this.__args || []);
184+ var name;
184185 for (var i in obj) {
185186 if(obj.hasOwnProperty(i) && (i !== "call")) {
186- /*一度登録されたプロパティは二度書きしないようにする*/
187- args[i] || args.push(i);
188- args[i] = this[i] = obj[i];
187+ if (obj[i] && obj[i].call) {
188+ /*callメソッドを持っている場合は、obj.methodではなく、
189+ * obj.method__に登録させる*/
190+ name = i+ "__";
191+ /*一度登録されたプロパティは二度書きしないようにする*/
192+ args[i] || args.push(i);
193+
194+ } else {
195+ name = i;
196+ }
197+ args[i] = this[name] = obj[i];
189198 }
190199 }
191200 obj.call && (this.__app = { call: obj.call });
@@ -195,6 +204,9 @@ var _base = {
195204 return this;
196205 },
197206
207+ /*callメソッドが呼び出されたかどうか*/
208+ __isCallByBASE: false,
209+
198210 /*callメソッド
199211 * ofメソッドで指定されているオブジェクトのcallメソッドを実行できるメソッド
200212 * そのさい、オブジェクトのプロパティとメソッドは、自動で実行展開される
@@ -202,28 +214,29 @@ var _base = {
202214 call: function() {
203215 if (!this.__app) { //ofメソッドが呼び出されていないか、callメソッドが一度も設定されていない場合
204216 return this;
217+ } else if (this.hasOwnProperty("__isCallByBASE")) {
218+ /*一度、callメソッドが呼び出されると、プロパティとメソッドの自動展開はしない*/
219+ return this.__app.call.apply(this, arguments);
205220 }
206- var args = this.__args,
207- call = this.call; //callメソッドの一時的なキャッシュ
208- /*循環参照を避けるためcallメソッドの入れ替え*/
209- this.call = callFunc;
221+ this.__isCallByBASE = true;
222+ var args = this.__args
210223 for (var i=0, ali=args.length;i<ali;++i) {
211224 /*callメソッドがあるオブジェクトは展開*/
212- var ai = args[i],
213- argi = this[ai];
214- if (argi && argi.call) {
215- this[ai] = argi.call(this);
216- }
225+ var ai = args[i];
226+ this[ai] = this[ai+ "__"].call(this);
217227 }
218- this.call = call;
219- args = ai = argi = call = void 0;
228+ args = ai = argi = void 0;
220229 return this.__app.call.apply(this, arguments);
221230 },
231+ callFunc: function() { return this; },
232+
233+ /*評価の初期化。callメソッドを使うときに再評価ができる*/
234+ initToEval: function() {
235+ delete this.__isCallByBASE;
236+ return this;
237+ }
222238 }
223239 };
224-/*callメソッドで使われる関数*/
225-var callFunc = function() { return this };
226-
227240 /*base関数でキャッシュとして使うオブジェクト*/
228241 var baseCache = {};
229242
@@ -776,7 +789,7 @@ base("$frame").mix ( {
776789 /*beginとend属性を考慮に入れないで、活動継続時間を求める*/
777790 var s = ( this.$activate = this.$activate.up() );
778791 /*$endオブジェクトに付属している$listプロパティを更新したものと一致させておく*/
779- s.end && (s.end.$list = this.$list);
792+ s.end__ && (s.end__.$list = this.$list);
780793 this.activeTime = this.$list.activeTime = s.call() || Number.MAX_VALUE;
781794 this.simpleDuration = s.simpleDur;
782795 return this;
@@ -785,19 +798,28 @@ base("$frame").mix ( {
785798 /*$activate オブジェクト
786799 * 活動継続時間などを計算するための計算実体
787800 * $begin オブジェクトからの継承*/
788- } ).up("$activate").of( {
789-
801+ } ).up("$activate").mix( {
802+
790803 /*単純継続時間のパースされる前の文字列*/
791804 dur: "indefinite",
792805
793- /*活動をストップさせるためのオブジェクト*/
794- end: $frame.$begin.up("$end"),
795-
796806 /*リピート回数*/
797807 repeatCount: null,
798808
799809 /*繰り返し時間*/
800810 repeatDur: null,
811+
812+ /*最小値に制限される
813+ * 最小値 <= 活動継続時間 とならなければならない*/
814+ min: "0",
815+
816+ /*最大値に制限される
817+ * 活動継続時間 <= 最大値 とならなければならない*/
818+ max: "indefinite"
819+ } ).of( {
820+
821+ /*活動をストップさせるためのオブジェクト*/
822+ end: $frame.$begin.up("$end"),
801823
802824 /*単純継続時間 (単位はフレーム数)*/
803825 simpleDur: function() {
@@ -805,14 +827,6 @@ base("$frame").mix ( {
805827 null
806828 : Math.floor(this.offset(this.dur) * this.fpms) ;
807829 },
808-
809- /*最小値に制限される
810- * 最小値 <= 活動継続時間 とならなければならない*/
811- min: "0",
812-
813- /*最大値に制限される
814- * 活動継続時間 <= 最大値 とならなければならない*/
815- max: "indefinite",
816830
817831 /*解決した(計算する)ときの時間*/
818832 resolvedTime: function() {
@@ -904,8 +918,6 @@ base("$frame").mix ( {
904918 /*$from オブジェクト
905919 * 呈示値 (presentation value)の計算をする。値そのものを返すための計算実体*/
906920 base("$from").of( {
907- /*呈示値が書かれた文字列*/
908- string: "",
909921
910922 /*呈示値の数値の部分だけを抜き出した配列を返す*/
911923 numList: function() {
@@ -973,6 +985,9 @@ base("$from").of( {
973985
974986 } )
975987 .mix( {
988+ /*呈示値が書かれた文字列*/
989+ string: "",
990+
976991 /*advanceメソッドの返り値で使われる小数点以下の桁数*/
977992 degit: 0,
978993
@@ -1064,7 +1079,7 @@ base("$from").of( {
10641079
10651080 /*計算モードを定めるための計算実体
10661081 *補間の細かい制御などを行う*/
1067- base("$calcMode").mix({
1082+base("$calcMode").mix({
10681083 /*計算モード (calcMode属性の値)*/
10691084 mode: "linear",
10701085
@@ -1075,6 +1090,12 @@ base("$from").of( {
10751090
10761091 /*keySpline属性の値を設定*/
10771092 keySplines: null,
1093+
1094+ /*全体の行列ノルム(距離)*/
1095+ norm: 1,
1096+
1097+ /*無効だった場合の呈示値*/
1098+ string: "",
10781099
10791100 /*callメソッドで使う関数
10801101 * 進捗率を時間の圧縮率( = keyTimeプロパティ)で割ることで、現在、どこまで進んでいるのかを求めることができる*/
@@ -1091,7 +1112,7 @@ base("$from").of( {
10911112 }
10921113 tkey = void 0;
10931114 return isNaN(t) ? this.string
1094- : this.to.advance(t);
1115+ : this.to__.advance(t);
10951116 },
10961117
10971118 /*discreteモードのときには、上記の_f関数の代わりに、以下の関数を用いる*/
@@ -1099,28 +1120,24 @@ base("$from").of( {
10991120 if (isNaN(t)) {
11001121 return this.string;
11011122 } else if (t === 1) {
1102- return this.to.string;
1123+ return this.to__.string;
11031124 } else {
1104- return this.to.advance(0);
1125+ return this.to__.advance(0);
11051126 }
11061127 }
11071128 }).of( {
11081129
1109- /*全体の行列ノルム(距離)*/
1110- norm: 1,
1111-
1112- /*無効だった場合の呈示値*/
1113- string: "",
1114-
1130+ /*$fromオブジェクトを使っているが、toオブジェクトを指している*/
1131+ to: base("$from").$to,
1132+
11151133 /*与えられたアニメーションの進捗率を使った時間の圧縮率を計算して呈示値を返すための関数を作る*/
11161134 call: function() {
11171135 var f = this._f.bind(this);
11181136 if (this.mode === "linear") {
1119- this.to.call();
11201137 return f;
11211138 } else if (this.mode === "paced") {
11221139 /*keyTimes属性は無視され、ベクトルの距離の割合から計算される*/
1123- this.keyTime = this.to.distance(this.to.from) / this.norm;
1140+ this.keyTime = this.to__.distance(this.to__.from__) / this.norm;
11241141 return f;
11251142 } else if (this.mode === "spline") {
11261143 var tk = this.keySplines,
@@ -1141,7 +1158,6 @@ base("$from").of( {
11411158 return tf;
11421159 }
11431160 }
1144- this.to.call();
11451161 var x2 = tk[0],
11461162 y2 = tk[1],
11471163 x3 = tk[2],
@@ -1160,7 +1176,6 @@ base("$from").of( {
11601176 && ( (x3 === 1) || (x3 === 0) )
11611177 && (y3 === 1) ) {
11621178 /*linearモードと同じ効果 (収束ではない可能性を考慮)*/
1163- this.to.call();
11641179 return f;
11651180 }
11661181 var tkey = this.keyTime;
@@ -1187,11 +1202,10 @@ base("$from").of( {
11871202 return f(Ay*t*t*t + By*t*t + Cy*t);
11881203 };
11891204 } else if (this.mode === "discrete") {
1190- this.to.call();
11911205 return this.funcForDiscrete.bind(this);
11921206 }
11931207 }
1194-} ).to = base("$from").$to;
1208+} );
11951209
11961210
11971211 /*ニュートン法により、三次方程式 a0x^3 + a1x^2 + a2x + a3 の解を求める
@@ -1267,7 +1281,6 @@ base("$calcMode").up("$attribute").mix( {
12671281 && /\d\s*$/.test(s) ) {
12681282 s += "px";
12691283 s = s.replace(/;/g, "px;");
1270- console.log(s);
12711284 }
12721285 /*DOM Level2やIE11では、getAttributeNSメソッドは空文字列を返す。他のブラウザではnullを返すことが多い
12731286 *
@@ -1276,6 +1289,7 @@ base("$calcMode").up("$attribute").mix( {
12761289 return (s || def);
12771290 },
12781291
1292+ /*アニメーション関連要素を収納*/
12791293 _ele: document.documentElement,
12801294
12811295 /*指定された要素にvalues属性が付いているかどうかのチェックできるメソッド*/
@@ -1482,12 +1496,13 @@ base("$calcMode").up("$attribute").mix( {
14821496 target: ele,
14831497 eventTarget: (this.element || begin.eventTarget),
14841498 string: this.getAttr("begin", "0"),
1485- $activate: begin.$activate.up().mix( {
1486- dur: this.getAttr("dur", null),
1499+ $activate: begin.$activate.up().of( {
14871500 end: begin.$end.up().mix( {
14881501 eventTarget: (this.element || begin.eventTarget),
14891502 string: this.getAttr("end", null)
1490- } ),
1503+ } )
1504+ } ).mix( {
1505+ dur: this.getAttr("dur", null),
14911506 repeatCount: this.getAttr("repeatCount", null),
14921507 repeatDur: this.getAttr("repeatDur", null),
14931508 min: this.getAttr("min", "0"),
@@ -1509,7 +1524,7 @@ base("$calcMode").up("$attribute").mix( {
15091524 this.dispatchEvent(evt);
15101525 };
15111526 /*endElementメソッドを追加*/
1512- var endFrame = frame.$activate.end || {};
1527+ var endFrame = frame.$activate.end__ || {};
15131528 ele.endElement = (endFrame.string !== "indefinite") ? function(){}
15141529 : function() {
15151530 if (frame.isResolved) {
@@ -1534,12 +1549,12 @@ base("$calcMode").up("$attribute").mix( {
15341549 * 自分自身となる$attributeオブジェクトのコピーを返す*/
15351550 setValues: function(values, from, to, by) {
15361551 var $from = this.$from,
1537- s = [this.up().mix( {
1538- to: $from.up().mix( {
1552+ s = [this.up().of( {
1553+ to: $from.up().of( {
15391554 from: $from.up()
15401555 } )
15411556 } )],
1542- sto = s[0].to;
1557+ sto = s[0].to__;
15431558 values = values && values.split(";");
15441559 /*from属性はオプションなので、条件には付け加えない*/
15451560 if (values && values.length) {
@@ -1547,21 +1562,21 @@ base("$calcMode").up("$attribute").mix( {
15471562 * W3C仕様 SMIL アニメーション 3.2.2. アニメーション関数の値*/
15481563 s = [];
15491564 for (var i=1;i<values.length;++i) {
1550- s.push( this.up().mix( {
1551- to: $from.up().mix( {
1565+ s.push( this.up().of( {
1566+ to: $from.up().of( {
15521567 from: $from.up()
15531568 } )
15541569 } ) );
1555- sto = s[s.length-1].to;
1570+ sto = s[s.length-1].to__;
15561571 sto.string = values[i];
1557- sto.from.string = values[i-1];
1572+ sto.from__.string = values[i-1];
15581573 }
15591574 } else if (to) {
15601575 sto.string = to;
1561- sto.from.string = from || "0";
1576+ sto.from__.string = from || "0";
15621577 } else if (by) {
15631578 sto.string = by;
1564- sto.from.string = from || "0";
1579+ sto.from__.string = from || "0";
15651580 var toNumList = sto.call(),
15661581 fromNumList = sto.from;
15671582 for (var i=0;i<toNumList.length;++i) {
@@ -1599,7 +1614,7 @@ base("$calcMode").up("$attribute").mix( {
15991614 isDiscrete = (this.mode === "discrete"),
16001615 toiKeySplines;
16011616 if (!isDiscrete && keyTimes && to) {
1602- keys = this.$from.numList.call( {
1617+ keys = this.$from.numList__.call( {
16031618 string: keyTimes
16041619 } );
16051620 /*keysTime属性の最初は0でなければならない。そうでなければエラー(SVG 1.1 2ndの仕様を参照)*/
@@ -1625,7 +1640,7 @@ base("$calcMode").up("$attribute").mix( {
16251640 for (var i=0;i<toLength;++i) {
16261641 to[i].keyTime = keys[i+1] - keys[i];
16271642 if (splines) {
1628- toiKeySplines = this.$from.numList.call( {
1643+ toiKeySplines = this.$from.numList__.call( {
16291644 string: splines[i]
16301645 } );
16311646 /*空配列を返すため、nullに変えておく*/
@@ -1637,7 +1652,7 @@ base("$calcMode").up("$attribute").mix( {
16371652 for (var i=0;i<toLength;++i) {
16381653 to[i].keyTime = per;
16391654 if (splines) {
1640- toiKeySplines = this.$from.numList.call( {
1655+ toiKeySplines = this.$from.numList__.call( {
16411656 string: splines[i]
16421657 } );
16431658 to[i].keySplines = toiKeySplines.length ? toiKeySplines : null;
@@ -1646,7 +1661,7 @@ base("$calcMode").up("$attribute").mix( {
16461661 } else if (to) {
16471662 /*discreteモードの処理*/
16481663 if (keyTimes) {
1649- keys = this.$from.numList.call( {
1664+ keys = this.$from.numList__.call( {
16501665 string: keyTimes
16511666 } );
16521667 /*keysTime属性の最初は0でなければならない。そうでなければエラー(SVG 1.1 2ndの仕様を参照)*/
@@ -1675,7 +1690,7 @@ base("$calcMode").up("$attribute").mix( {
16751690 call: function() {
16761691 return function (t) {
16771692 return isNaN(t) ? this.string
1678- : this.to.advance(1);
1693+ : this.to__.advance(1);
16791694 }.bind(this);
16801695 }
16811696 }
@@ -1685,7 +1700,7 @@ base("$calcMode").up("$attribute").mix( {
16851700 /*ベクトル全体の距離を算出*/
16861701 var norm = 0;
16871702 to.forEach( function(x) {
1688- norm += x.to.distance(x.to.from);
1703+ norm += x.to__.distance(x.to__.from__);
16891704 } );
16901705 to.forEach( function(x) {
16911706 x.norm = norm;
@@ -2010,7 +2025,7 @@ base("$calcMode").up("$attribute").mix( {
20102025 var attrValue = ele.parentNode.getAttributeNS(null, this.attrName);
20112026 ele.addEventListener("beginEvent", function(evt) {
20122027 to.forEach( function(x) {
2013- x.to.setAdditive(attrValue);
2028+ x.to__.setAdditive(attrValue);
20142029 } )
20152030 }, false);
20162031 }
@@ -2020,8 +2035,8 @@ base("$calcMode").up("$attribute").mix( {
20202035 if (ele.getAttributeNS(null, "accumulate") === "sum") {
20212036 ele.addEventListener("repeatEvent", function(evt) {
20222037 to.forEach( function(x) {
2023- x.to.call();
2024- x.to.setAccumulate(evt.detail);
2038+ x.to__.call();
2039+ x.to__.setAccumulate(evt.detail);
20252040 } )
20262041 }, false);
20272042 }
@@ -2040,7 +2055,7 @@ base("$calcMode").up("$attribute").mix( {
20402055 var s = this.$attribute.setValues.apply(this, arguments),
20412056 degits = this.degits;
20422057 s && s.forEach(function(x) {
2043- x.to.degit = degits;
2058+ x.to__.degit = degits;
20442059 } );
20452060 degits = void 0;
20462061 return s;
@@ -2081,11 +2096,11 @@ base("$calcMode").up("$attribute").mix( {
20812096 var to,
20822097 keyTime = 0,
20832098 /*関数toRGBはrgbColor形式への変換処理で使う*/
2084- toRGB = function(x) { return x; },
2085- isColor = /^(?:fill|stroke|stop-color|color)$/.test(this.attrName);
2086- if (isColor) {
2099+ toRGB = function(x) { return x; };
2100+ if (/^(?:fill|stroke|stop-color|color)$/.test(this.attrName)) {
20872101 /*通常は、小数点以下の桁数を既定値の1桁とする
2088- *RGB形式では補間に、小数を使わないため、0桁に設定
2102+ *ただし、fill属性など色を扱う属性であれば、
2103+ *RGB形式では、補間に小数を使わないため、0桁に設定
20892104 * (なお、この作業は、setKeyメソッドの前に済ませておく必要がある)*/
20902105 this.degits = 0;
20912106 /*たとえば、fill属性などである場合には、rgbColor形式への変換処理をする*/
@@ -2100,8 +2115,8 @@ base("$calcMode").up("$attribute").mix( {
21002115 var aa = new Array(to.length);
21012116 for (var i=0;i<to.length;++i) {
21022117 var x = to[i];
2103- x.to.string = toRGB(x.to.string);
2104- x.to.from.string = toRGB(x.to.from.string);
2118+ x.to__.string = toRGB(x.to__.string);
2119+ x.to__.from__.string = toRGB(x.to__.from__.string);
21052120 var s = x.call();
21062121 /*x.keyTimeプロパティは区間を示しているため、区切り時刻に変換しておく
21072122 * startKeyTimeプロパティは区間のスタート時点
@@ -2123,7 +2138,7 @@ base("$calcMode").up("$attribute").mix( {
21232138 this.setAdd(ele, to);
21242139 this.setAccum(ele, to);
21252140 }
2126- keyTime = keywords = toRGB = isColor = void 0;
2141+ keyTime = keywords = toRGB = void 0;
21272142 } )
21282143 /*$animateTranformElementオブジェクト
21292144 * animateTransform要素に関連するオブジェクト*/
@@ -2328,7 +2343,15 @@ base("$calcMode").up("$attribute").mix( {
23282343 y = point.y;
23292344 /*一歩進んだ点*/
23302345 point = path.getPointAtLength(advanceLength+1);
2331- return ") rotate(" +(Math.atan2(point.y-y, point.x-x)/pi*180 + rotate)+ "";
2346+ var rad = Math.atan2(point.y-y, point.x-x);
2347+ if (rad === 0) {
2348+ /*アニメーションの終了間際では、radが0となるため、
2349+ * 代わりに、ベジェ曲線のハンドルの傾きから角度を求める*/
2350+ rad = Math.atan2(seg.y-seg.y2, seg.x-seg.x2);
2351+ }
2352+ return ") rotate(" +(rad/pi*180 + rotate)+ "";
2353+ } else {
2354+ return "";
23322355 }
23332356 },
23342357
--- a/sie.js
+++ b/sie.js
@@ -22,4 +22,4 @@
2222 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2323 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424 */
25-!function(){var t={obj:{up:function(t){var e=Object.create(this);return t?(this[t]=e,e.up=this.up):this.$1=e,e},mix:function(e){if(!e)throw new Error("No arguments error");if("function"!=typeof e){var i=t.__ng_;for(var n in e)i[n]||(this[n]=e[n]);n=i=void 0}else e.call(this,this);return this},on:function(t,e){if(!t)throw new Error("No arguments error");if(/^(?:up|on|mix|of)$/.test(t))throw new Error("Invalid method name error");if("function"!=typeof e)throw new Error("Not support arguments type");var i=this._eventList__,n=this[t];if(this._eventList__){if(!this.hasOwnProperty("_eventList__")){var r=[];r._parent=i,i=this._eventList__=r,r=void 0}}else i=this._eventList__=[];return this[t]&&n.isOn||("function"==typeof n&&(i.push({name:t,func:n}),i._parent=null),this[t]=function(){var e,i=this._eventList__,n=t,r=null,s=null,a=!1;for(i._child=null;e=i._parent;)e._child=i,i=e;for(;i;){for(var l=0,h=i.length;h>l;++l)i[l].name===n&&(r=i[l].func.apply(this,arguments),a||(s=r,a=!0));i=i._child}return i=r=n=a=void 0,s},this[t].isOn=!0),i.push({name:t,func:e}),i=n=e=void 0,this},__args:null,__app:null,of:function(t){if(!t)throw new Error("No arguments error");if(this.hasOwnProperty("__of"))throw new Error("Reset error");var e=this.__args||[];for(var i in t)t.hasOwnProperty(i)&&"call"!==i&&(e[i]||e.push(i),e[i]=this[i]=t[i]);return t.call&&(this.__app={call:t.call}),this.__args=e,this.__of=1,e=i=t=void 0,this},call:function(){if(!this.__app)return this;var t=this.__args,i=this.call;this.call=e;for(var n=0,r=t.length;r>n;++n){var s=t[n],a=this[s];a&&a.call&&(this[s]=a.call(this))}return this.call=i,t=s=a=i=void 0,this.__app.call.apply(this,arguments)}}},e=function(){return this},i={};base=function(e){var n=t,r=i;if(e){if(r[e])return r[e];var s=Object.create(n.obj);return this[e]=r[e]=s,s[e]=s,s}throw new Error("No arguments error")};var n={},r=Object.prototype;for(var s in r)n[s]=!0,i[s]=null;n.constructor=!1,t.__ng_=n,n=r=void 0,base.free=function(){delete t.obj,t=i=e=void 0},Object.create||(Object.create=function(t){var e=function(){};return e.prototype=t,new e})}(),base("$frame").mix({fpms:.024,timelines:[],begin:-Number.MAX_VALUE,activeTime:Number.MAX_VALUE,currentFrame:0,startAnimation:function(){base("$getDocument").step()},isPaused:!1,pauseAnimation:function(){this.isPaused=!0},objList:[],initialize:function(){for(var t=this.objList,e=0;e<t.length;++e)t[e].initialize()},setFrame:function(t){this.currentFrame=t;for(var e=this.timelines,i=0;i<e.length;++i)e[i]!==this&&e[i].setFrame(t)},addLine:function(t){if(!t||!t.begin&&0!==t.begin||!t.activeTime&&0!==t.activeTime)return!1;var e=this.timelines;return e.indexOf(t)>=0&&this.removeLine(t),e.push(t),e=void 0,!0},removeLine:function(t){var e=this.timelines,i=e.indexOf(t);i>-1&&e.splice(i,1),e=i=void 0}}).mix(function(t){t.up("$list").mix({end:0,beginEnd:Number.MAX_VALUE,beginList:{next:null,value:Number.MAX_VALUE},endList:{next:null,value:Number.MAX_VALUE},addBeginList:function(t){return this.beginList={value:t,next:this.beginList}},addEndList:function(t){return this.endList={value:t,next:this.endList}},getMaxList:function(t,e){for(var i=-Number.MAX_VALUE;e;){var n=e.value;t>=n&&n>=i&&(i=n),e=e.next}return i},state:0,WAITING:0,BEGINNING:1,PLAYING:2,ENDING:3,POSTWAITING:4,init:function(){return this.state=this.WAITING,this.begin=0,this},updateState:function(t){if(void 0===t)return this;var e=this.state,i=0,n=1,r=2,s=3,a=4,l=this.getMaxList(t,this.beginList);if(l===-Number.MAX_VALUE)return e>a&&(this.state=n),this;var h=this.getMaxList(t,this.endList),u=e===i,o=this.begin;if(!l&&u)this.begin=0,this.state=n;else if(u||e===a)l>o&&(this.state=n,this.begin=l);else if(e===n)h>=o?(this.state=s,h>0&&(this.end=h),this.beginEnd=0):this.state=r;else if(e===r){var m=o+this.activeTime;h=h>m?m:h,(t>=m||h>=o||l>o)&&(this.state=s,h>0&&(this.end=h,this.beginEnd=h-o))}else e===s?l>o?(this.state=n,this.begin=l):this.state=a:this.state=n;return o=l=h=u=e=void 0,this},_beginListenerList:[],_endListenerList:[],_playListenerList:[],addEvent:function(t,e){var i="_"+t+"ListenerList";this.hasOwnProperty(i)||(this[i]=[]),this[i].push(e)},setFrame:function(t){this.currentFrame=t;var e=this.updateState(t).state;if(2===e)for(var i=this._playListenerList,n=0;n<i.length;++n)i[n](this);else if(1===e){i=this._beginListenerList;for(var n=0;n<i.length;++n)i[n](this);e=this.updateState(t).state}if(3===e){i=this._endListenerList;for(var n=0;n<i.length;++n)i[n](this);1===this.updateState(t).state&&this.updateState(t)}e=i=void 0}}).mix(function(){this.addList=this.addBeginList}),t.up("$begin").mix({string:"",isResolved:!1,eventTarget:document.documentElement,currentFrame:0,eventOffset:0,repeat:0,accessKey:"",trim:function(t){return t.replace(/[\s\n]+/g,"")},offset:function(t){function e(){return r(1e3,/[\d.]+s$/,/[\d.]+$/)}function i(){return r(6e4,/[\d.]+min$/,/\d\d:[^:]+$/)}function n(){return r(36e5,/\d+:\d\d:/,/[\d.]+h$/)}function r(e,i,n){return e*(a(t.match(i)||"0")||a(t.match(n)||"0"))}t=t||"0";var s=t.charAt(0),a=parseFloat,l=a(t.match(/[\d.]+ms$/)||"0")+e()+i()+n();return"-"===s&&(l*=-1),s=a=e=i=n=void 0,l},event:function(t){if(t=t||"",/[\+\-]/.test(t)&&(t=t.slice(0,t.search(/[\+\-]/))),t.indexOf(".")>-1){var e=t.split(".");return{id:e[1]&&e[0],event:e[0]&&e[1]}}return{id:"",event:t}},_parse:function(t){var e,i=t.search(/[\+\-]/),n=null;this.$list.addEndList(Number.MAX_VALUE);if("indefinite"===t?this.begin=Number.MAX_VALUE:i>0?(this.begin=this.offset(t.slice(i)),n=this.event(t)):/[^\+\-\d]/.test(t.charAt(0))?n=this.event(t):(this.begin=this.offset(t),this.isResolved=!0),this.repeat=/repeat\((\d+)\)/.test(t)?+RegExp.$1:0,this.accessKey=/accessKey\(([^\)]+?)\)/.test(t)?RegExp.$1:"",this.begin=Math.floor(this.begin*this.fpms),"indefinite"===t);else if(n){e=n.id?this.eventTarget.ownerDocument.getElementById(n.id):this.eventTarget;var r=this.begin,a=this.$list.addList(Number.MAX_VALUE),l=function(t){a.value=this.begin=r+base("$frame").currentFrame,this.isResolved=!0};if(this.eventOffset=r,this.repeat>0)e&&e.addEventListener("repeatEvent",function(t){t.detail===this.repeat&&l.call(this,t)}.bind(this),!0);else if(this.accessKey)document.documentElement.addEventListener("keydown",function(t){t["char"]===this.accessKey&&l.call(this,t)}.bind(this),!1);else{var h=/^(?:begin|end|repeat)$/.test(n.event)?n.event+"Event":n.event;e&&e.addEventListener(h,l.bind(this),!1)}}else this.$list.addList(this.begin);s=n=t=i=e=void 0},parse:function(){this.begin=0,this.isResolved=!1;var t=this.trim(this.string);if(t.indexOf(";")>-1)for(var e=t.split(";"),i=0;i<e.length;++i)this._parse(e[i]);else this._parse(t);return s=t=void 0,this},updateList:function(){this.$list=this.$list.up();var t=this.$activate=this.$activate.up();return t.end&&(t.end.$list=this.$list),this.activeTime=this.$list.activeTime=t.call()||Number.MAX_VALUE,this.simpleDuration=t.simpleDur,this}}).up("$activate").of({dur:"indefinite",end:t.$begin.up("$end"),repeatCount:null,repeatDur:null,simpleDur:function(){return"indefinite"!==this.dur&&this.dur?Math.floor(this.offset(this.dur)*this.fpms):null},min:"0",max:"indefinite",resolvedTime:function(){return Date.now()},call:function(){function t(){return!!(!a&&!h||r&&!h||s&&!l||r&&s)}var e,i="indefinite",n=this.simpleDur,r=this.repeatCount===i,s=this.repeatDur===i,a=n||0===n,l=this.repeatCount||0===this.repeatCount,h=this.repeatDur||0===this.repeatDur,u=[],o=Math.floor(this.offset(this.min)*this.fpms),m=this.max===i?null:Math.floor(this.offset(this.max)*this.fpms);if(t())return m?m:null;if(a&&this.repeatCount&&!r&&u.push(n*this.repeatCount),h&&!s&&u.push(Math.floor(this.offset(this.repeatDur)*this.fpms)),!a||l||h||u.push(n),i=n=r=isIndefRepeatDurindef=a=isEnd=h=l=t=void 0,1===u.length)e=u[0];else{if(!(u.length>1))return null;e=Math.min.apply(Math,u)}return m&&o>m?e:(o&&o>e&&(e=o),m&&e>m&&(e=m),e)}}),t.$begin.$end.of({call:function(){return this.string?(this.$list.addList=this.$list.addEndList,this.parse(this.string),this.$list.addList=this.$list.addBeginList,this.isResolved?this.begin:"indefinite"):null}}).mix({$list:t.$begin.$list.up()})}),base("$from").of({string:"",numList:function(){var t=this.string.match(/[\-\+]?[\d\.]+(?:[eE][\-\+]?[\d\.]+)?/g)||[];if(t)for(var e=0;e<t.length;++e)t[e]=parseFloat(t[e]);return t},strList:function(){return this.string.replace(/\d[eE][\-\+\d]/g,"").match(/[^\d\-\+\.]+/g)},from:base("$from").up().mix({from:null}),call:function(){if(this.numList.string=this.string,this.numList.length&&0===this.additive[0]&&0===this.accumulate[0]){for(var t=[],e=[],i=0;i<this.numList.length;++i)t[i]=e[i]=0;this.additive=t,this.accumulate=e}if(!this.string||!this.numList.length||!this.strList)return this.numList;var n=this.numList.length<this.strList.length;return/^[\-\+]?[\d\.]/.test(this.string)&&!n&&this.strList.unshift(""),/\d$/.test(this.string)&&!n&&this.strList.push(""),this.numList}}).mix({degit:0,additive:[0],accumulate:[0],advance:function(t){if(0>t||t>1)throw new Error("An Invalid Number Error");if(!this.string)return"";if(!this.from.length)return 1===t?this.string.trim():this.from.string.trim();for(var e="",i=this.numList,n=this.strList,r=this.from,s=this.degit,a=this.additive,l=this.accumulate,h=0,u=i.length;u>h;++h)e+=(t*i[h]+(1-t)*r[h]+a[h]+l[h]).toFixed(s),n&&(e+=n[h+1]);return e=(n?n[0]:"")+e,i=n=r=h=u=s=a=l=void 0,e.trim()},distance:function(t){if(!t)return 0;var e=this.call(),i=t.call?t.call():t,n=0;if(!e||!i)return 0;for(var r=0,s=e.length;s>r;++r)n+=(e[r]-i[r])*(e[r]-i[r]);return Math.sqrt(n)},setAdditive:function(t){if(!t)return 0;var e=this.$from.up();return e.string=t,this.additive=e.call()},setAccumulate:function(t){return!t||isNaN(t)?0:this.accumulate=this.numList.map(function(e){return e*t})}}).up("$to").from=null,base("$calcMode").mix({mode:"linear",keyTime:1,keySplines:null,_f:function(t){var e=this.keyTime;if(0===e&&t)t=0;else{if(!e||!isFinite(e))return this.string;t/=e,t=t>1?Math.floor(t):t}return e=void 0,isNaN(t)?this.string:this.to.advance(t)},funcForDiscrete:function(t){return isNaN(t)?this.string:1===t?this.to.string:this.to.advance(0)}}).of({norm:1,string:"",call:function(){var t=this._f.bind(this);if("linear"===this.mode)return this.to.call(),t;if("paced"===this.mode)return this.keyTime=this.to.distance(this.to.from)/this.norm,t;if("spline"===this.mode){var e=this.keySplines,i=function(t){return Math.PI};if(i.isNotAnimate=!0,!e)return i;for(var n=0,r=NaN;n<e.length;++n){if(r=e[n],isNaN(r))return i;if(0>r||r>1)return i}this.to.call();var s=e[0],a=e[1],l=e[2],h=e[3],u=1,o=1,m=u-3*(l-s),f=3*(l-2*s),d=3*s,c=o-3*(h-a),g=3*(h-2*a),v=3*a,p=Math.qubicnewton;if(!(0!==s&&1!==s||0!==a||1!==l&&0!==l||1!==h))return this.to.call(),t;var b=this.keyTime;return(b||isFinite(b))&&(m*=b,f*=b,d*=b,c*=b,g*=b,v*=b),b=e=s=a=l=h=u=o=void 0,function(e){var i=p(m,f,d,-e,e);return t(c*i*i*i+g*i*i+v*i)}}return"discrete"===this.mode?(this.to.call(),this.funcForDiscrete.bind(this)):void 0}}).to=base("$from").$to,Math.qubicnewton=function(t,e,i,n,r){var s=1e-15,a=t*r*r*r+e*r*r+i*r+n;if(0===a)return r;for(var l=0;100>l;l=l+1|0){var h=3*t*r*r+2*e*r+i;if(!h||s>a&&a>-s)return a=s=void 0,r;r-=a/h,a=t*r*r*r+e*r*r+i*r+n}return r},base("$calcMode").up("$attribute").mix({element:null,$from:base("$from").up(),attrName:"",attrNameSpace:null,defaultValue:"",isDefault:!1,isCSS:!1,mode:"linear",getAttr:function(t,e){var i=null;t.indexOf("xlink:")>-1&&(i="http://www.w3.org/1999/xlink");var n=this._ele.getAttributeNS(i,t);if(this.element){var r=this.element.ownerDocument.defaultView;if("inherit"===n)return r.getComputedStyle(this.element.parentNode,"").getPropertyValue(this.attrName);if("currentColor"===n)return r.getComputedStyle(this._ele,"").getPropertyValue("color")}return n&&"font-size"===this._ele.getAttributeNS(null,"attributeName")&&/\d\s*$/.test(n)&&(n+="px",n=n.replace(/;/g,"px;"),console.log(n)),n||e},_ele:document.documentElement,hasAttrValues:function(){var t=this._ele;return t?t.hasAttribute("from")||t.hasAttribute("to")||t.hasAttribute("by")||t.hasAttribute("values"):!1},__cacheAttr:"",setAttribute:function(t){var e=this.attrName;if(e&&this.__cacheAttr!==t){this.__cacheAttr=t;var i=this.element;this.isCSS?i.style.setProperty(e,t,""):i.setAttributeNS(this.attrNameSpace,e,t),t=e=i=void 0}},removeAttribute:function(){var t=this.attrName;if(t){var e=this.element;this.isDefault?this.setAttribute(this.defaultValue):(e.removeAttributeNS(this.attrNameSpace,t),this.isCSS&&e.style.setProperty(t,this.defaultValue,"")),this.__cacheAttr="",value=t=e=void 0}},initTargetElement:function(){var t=this._ele,e=t.parentNode||null,i=t.getAttribute("xlink:href");return i?t.ownerDocument.getElementById(i.slice(1)):(i=t.getAttributeNS(null,"targetElement"))?t.ownerDocument.getElementById(i):e},_repeatList:[],_repeatCount:0,setSmilEvent:function(t){t.addEvent("begin",function(t){var e=this._ele,i=0,n=e.ownerDocument.createEvent("MouseEvents");n.initMouseEvent("beginEvent",!0,!0,window,i,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(n);var r=this._repeatList=[],s=t.activeTime,a=t.begin,l=this.timeline.simpleDuration;if(l&&l!==s&&s!==Number.MAX_VALUE)for(var h=l,u=1;s>h;h+=l)r.push({frame:a+h,count:u}),++u}.bind(this)),t.addEvent("play",function(t){var e=this._ele,i=0,n=t.currentFrame,r=this._repeatList;if(r.length)for(var s=0;s<r.length;++s){if(this._repaetCount>=s+1||r[s].frame>=n){this._repeatCount=i;break}i=r[s].count;var a=e.ownerDocument.createEvent("MouseEvents");a.initMouseEvent("repeatEvent",!0,!0,window,i,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(a)}}.bind(this)),t.addEvent("end",function(){var t=this._ele,e=0,i=t.ownerDocument.createEvent("MouseEvents");i.initMouseEvent("endEvent",!0,!0,window,e,0,0,0,0,!1,!1,!1,!1,0,t),t.dispatchEvent(i)}.bind(this))},push:function(t){if(!t||!t.hasAttribute)return null;if(this.__cacheAttr="",this._ele=t,this.element=this.initTargetElement(),!this.hasAttrValues())return null;this.attrName=this.getAttr("attributeName","");var e=this.attrName,i=this.getAttr("attributeType","auto"),n=this.element&&this.element.ownerDocument.defaultView.getComputedStyle(this.element,"");("CSS"===i||"auto"===i&&this.element&&n.getPropertyValue(e)&&!/^(width|height|transform)$/.test(e))&&(this.isCSS=!0),e.indexOf("xlink")>-1&&(this.attrNameSpace="http://www.w3.org/1999/xlink");var r=this.element;r&&(this._ele=r,this.isDefault=r.hasAttributeNS(this.attrNameSpace,e),this.defaultValue=this.getAttr(e,n.getPropertyValue(e)),this._ele=t);var s=base("$frame"),a=s.$begin,l=a.up().mix({target:t,eventTarget:this.element||a.eventTarget,string:this.getAttr("begin","0"),$activate:a.$activate.up().mix({dur:this.getAttr("dur",null),end:a.$end.up().mix({eventTarget:this.element||a.eventTarget,string:this.getAttr("end",null)}),repeatCount:this.getAttr("repeatCount",null),repeatDur:this.getAttr("repeatDur",null),min:this.getAttr("min","0"),max:this.getAttr("max","indefinite")})}).updateList().parse();s.addLine(l.$list.init());var h=l.$list.addList(Number.MAX_VALUE),u=l.$list.addEndList(Number.MAX_VALUE);t.beginElement="indefinite"!==l.string?function(){}:function(){h.value=l.begin=base("$frame").currentFrame,l.isResolved=!0;var t=this.ownerDocument.createEvent("MouseEvents");t.initMouseEvent("beginEvent",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,this),this.dispatchEvent(t)};var o=l.$activate.end||{};return t.endElement="indefinite"!==o.string?function(){}:function(){if(l.isResolved){o.isResolved=!0,u.value=base("$frame").currentFrame;var t=this.ownerDocument.createEvent("MouseEvents");t.initMouseEvent("endEvent",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,this),this.dispatchEvent(t)}},l.timelines=[],this.setSmilEvent(l.$list),a=t=void 0,l},setValues:function(t,e,i,n){var r=this.$from,s=[this.up().mix({to:r.up().mix({from:r.up()})})],a=s[0].to;if(t=t&&t.split(";"),t&&t.length){s=[];for(var l=1;l<t.length;++l)s.push(this.up().mix({to:r.up().mix({from:r.up()})})),a=s[s.length-1].to,a.string=t[l],a.from.string=t[l-1]}else if(i)a.string=i,a.from.string=e||"0";else{if(!n)return null;a.string=n,a.from.string=e||"0";for(var h=a.call(),u=a.from,l=0;l<h.length;++l)h[l]+=u[l]}return r=a=h=u=void 0,s},isKeyError:function(t,e){return!(!t||t===e+1)},setKey:function(t){this._ele=t;var e,i,n=this.setValues(this.getAttr("values",null),this.getAttr("from",null),this.getAttr("to",null),this.getAttr("by",null)),r=n?n.length:0,s=this.getAttr("keyTimes",null),a=this.getAttr("keySplines",null),l=a&&a.split(";"),h="discrete"===this.mode;if(!h&&s&&n){if(e=this.$from.numList.call({string:s}),e.length&&0!==e[0])return null;if(this.isKeyError(e.length,r))return null;for(var u=0;r>u;++u)n[u].keyTime=e[u+1]-e[u],l&&(i=this.$from.numList.call({string:l[u]}),n[u].keySplines=i.length?i:null)}else if(!h&&n)for(var o=1/r,u=0;r>u;++u)n[u].keyTime=o,l&&(i=this.$from.numList.call({string:l[u]}),n[u].keySplines=i.length?i:null);else if(n){if(s){if(e=this.$from.numList.call({string:s}),e.length&&0!==e[0])return null;if(this.isKeyError(e.length,r))return null;for(var u=0;r>u;++u)n[u].keyTime=e[u+1]-e[u]}else for(var o=1/(r+1),u=0;r>u;++u)n[u].keyTime=o;n.push(n[r-1].up().mix(function(){e&&(this.keyTime=1-e[e.length-1])}).of({call:function(){return function(t){return isNaN(t)?this.string:this.to.advance(1)}.bind(this)}}))}if("paced"===this.mode){var m=0;n.forEach(function(t){m+=t.to.distance(t.to.from)}),n.forEach(function(t){t.norm=m})}return t=s=e=o=l=void 0,n}}).up("$setElement").mix({to:"",elementList:[],numberOfElemList:0,initialize:function(){var t=this.elementList;if(t&&t.length){for(var e=this.numberOfElemList+50,i=e-50;e>i;++i){if(t.length<=i)return void(this.elementList=null);this.up().init(t[i])}this.numberOfElemList+=50,t=e=void 0}},_setFrame:function(t){this.setAttribute(this.to)},timeline:base("$frame").$begin,_setEndFrame:function(t){"remove"===this.fill&&this.removeAttribute()},tocall:function(){},init:function(t){var e=this.push(t);t&&t.getAttributeNS&&(this._ele=t,this.to=this.getAttr("to",""),this.fill=this.getAttr("fill","remove"));var i=this.element;e&&i&&(this.timeline=e,e.$list.addEvent("begin",this._setFrame.bind(this)),e.$list.addEvent("play",this._setFrame.bind(this)),e.$list.addEvent("end",this._setEndFrame.bind(this)),e.$list.state=e.$list.WAITING),e=i=void 0}}).up("$animateElement").mix({funcs:[],tocall:function(t){var e=this.funcs;if("discrete"===this.mode){for(var i="",n=0;n<e.length;++n){var r=e[n];t>=r.startKeyTime&&(i=r(t))}return t=e=r=void 0,i}for(var n=0;n<e.length;++n){var r=e[n];if(r.endKeyTime>=t)return r(t-r.startKeyTime)}return e=n=r=void 0,""},_setFrame:function(t){var e=t.currentFrame,i=this.timeline,n=i.simpleDuration,r=n?(e-t.begin)%n/n:0;this.setAttribute(this.tocall(r)),i=n=r=void 0},getAdvanceEnd:function(t){var e=this.timeline,i=e.simpleDuration;if(i){var n=e.activeTime>t.beginEnd?t.beginEnd:e.activeTime,r=n%i/i;r=r>1?1:r,r=r||1}else r=0;return r},_setEndFrame:function(t){"freeze"===this.fill?(this.setAttribute(this.tocall(this.getAdvanceEnd(t))),line=duration=advance=void 0):this.removeAttribute()},getAttr:function(t,e){var i=this.$attribute.getAttr.apply(this,arguments);return"from"===t&&!i&&this.defaultValue?this.defaultValue:i},_keywords:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagree:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},setAdd:function(t,e){if("sum"===t.getAttributeNS(null,"additive")){var i=t.parentNode.getAttributeNS(null,this.attrName);t.addEventListener("beginEvent",function(t){e.forEach(function(t){t.to.setAdditive(i)})},!1)}},setAccum:function(t,e){"sum"===t.getAttributeNS(null,"accumulate")&&t.addEventListener("repeatEvent",function(t){e.forEach(function(e){e.to.call(),e.to.setAccumulate(t.detail)})},!1)},setString:function(){/^(?:display|class|edgeMode|(gradient|marker|pattern|maskContent|mask|patternContent|primitive)Units|in|in2|method|mode|operator|preserveAspectRatio|result|spacing|spreadMethod|stitchTiles|target|type|xlink:href|yChannelSelector|color-interpolation|(clip|fill)-rule|cursor|filter|font-(family|stretch|style|variant)|image-rendering|marker-(end|mid|start)|mask|overflow|pointer-events|shape-rendering|stroke-(linecap|linejoin)|text-(anchor|decoration|rendering)|visibility)$/.test(this.attrName)&&(this.mode="discrete")},degits:1,setValues:function(){var t=this.$attribute.setValues.apply(this,arguments),e=this.degits;return t&&t.forEach(function(t){t.to.degit=e}),e=void 0,t},toRGB:function(t){var e=this._keywords[t];if(e)return"rgb("+e.join(", ")+")";if(t&&"#"===t[0]){var i="rgb(",n=parseInt;if(t.length<5)var r=t[1],s=t[2],a=t[3],t="#"+r+r+s+s+a+a;return t.match(/\#(\w{2})(\w{2})(\w{2})/),i+=n(RegExp.$1,16)+", "+n(RegExp.$2,16)+", "+n(RegExp.$3,16)+")",r=s=a=void 0,i}return t}}).on("init",function(t){var e,i=0,n=function(t){return t},r=/^(?:fill|stroke|stop-color|color)$/.test(this.attrName);if(r&&(this.degits=0,n=this.toRGB.bind(this)),t&&(this.mode=t.getAttributeNS(null,"calcMode")||"linear",this.setString(),e=this.setKey(t)),e){for(var s=new Array(e.length),a=0;a<e.length;++a){var l=e[a];l.to.string=n(l.to.string),l.to.from.string=n(l.to.from.string);var h=l.call();h.startKeyTime=i,i=h.endKeyTime=i+l.keyTime,s[a]=h}this.funcs=s.filter(function(t){return this.timeline.isResolved?"spline"!==this.mode||!t.isNotAnimate:!0},this),this.setAdd(t,e),this.setAccum(t,e)}i=keywords=n=r=void 0}).up("$animateTransformElement").mix({numberOfList:-1,type:"translate",attrName:"transform",isCSS:!1,isSum:!1,degits:15,joinList:function(t){for(var e=this.element.__transformList,i=0;i<e.length;++i){var n=e[i],r=n.value;n.isSum?t+=" "+r:n.isPlaying&&(t=r)}return t.trim()},tocall:function(t){if(this.numberOfList<0)throw new Error("Number of The List Error");var e=this.element.__transformList[this.numberOfList];return e.value=this.type+"("+this.$animateElement.tocall.call(this,t)+")",e.isPlaying=!0,e.isSum=this.isSum,this.joinList(this.defaultValue||"")},__setAttribute:function(){},_setFrame:function(t){var e=(t.currentFrame,this.element.__transformList),i=!1,n=e.length;if(1!==n&&this.numberOfList<n-1)for(var r=this.numberOfList+1;n>r;++r)e[r].isPlaying&&(i=!0);this.setAttribute=i?this.__setAttribute:this.$animateElement.setAttribute,this.$animateElement._setFrame.call(this,t)},_setEndFrame:function(t){var e=this.element.__transformList;if(e){var i=e[this.numberOfList];if("remove"===this.fill){if(!i)return;this.isSum?i.value="translate(0)":i.isPlaying=!1}else i.value=this.type+"("+this.$animateElement.tocall.call(this,this.getAdvanceEnd(t))+")";this.setAttribute(this.joinList(this.defaultValue||"")),i=void 0}},setAdd:function(){}}).on("init",function(t){if(t&&t.parentNode){this.getAttr=this.$attribute.getAttr,this.type=this.getAttr("type","translate"),this.attrName="transform";var e=this.element;this.isDefault=e.hasAttributeNS(null,"transform"),this.defaultValue=e.getAttributeNS(null,"transform")||"",this.isSum="sum"===this.getAttr("additive","replace"),e.__transformList||(e.__transformList=[],this.numberOfList=-1),this.hasAttrValues()&&this.numberOfList<0&&(this.numberOfList=e.__transformList.length,e.__transformList.push({isPlaying:!1,value:"translate(0)",isSum:this.isSum}))}}).up("$motionElement").mix(function(){this._setFrame=this.$animateElement._setFrame,this._setEndFrame=this.$animateElement._setEndFrame}).mix({numberOfList:-1,mode:"paced",hasAttrValues:function(){return this.$attribute.hasAttrValues.call(this)?!0:this._ele.hasAttribute("keyPoints")||this._ele.hasAttribute("path")||this._ele.getElementsByTagNameNS(this.path.namespaceURI,"mpath").length},path:document.createElementNS("http://www.w3.org/2000/svg","path"),rotate:"0",tocall:function(t){return("translate("+this.$animateElement.tocall.call(this,t)+") "+this.joinList(this.defaultValue||"")).trim()},getRotate:function(t,e,i){var n=t.getPathSegAtLength(e),r=t.pathSegList.getItem(n),s=r.pathSegTypeAsLetter,a=Math.PI;if("M"===s){var l=t.pathSegList.getItem(n+1),h=l.pathSegTypeAsLetter;if("M"===h)return"";if("L"===h)return") rotate("+(Math.atan2(l.y-r.y,l.x-r.x)/a*180+i);if("C"===h)return") rotate("+(Math.atan2(l.y1-r.y,l.x1-r.x)/a*180+i)}else{if("L"===s&&n-1>=0){var u=t.pathSegList.getItem(n-1);return") rotate("+(Math.atan2(r.y-u.y,r.x-u.x)/a*180+i)}if("C"===s){var o=t.getPointAtLength(e),m=o.x,f=o.y;return o=t.getPointAtLength(e+1),") rotate("+(Math.atan2(o.y-f,o.x-m)/a*180+i)}}},_tocallForPath:function(t){this.isKeyPoints&&(t=+this.$animateElement.$animateElement.tocall.call(this,t));var e=this.path,i=t*e.getTotalLength(),n=e.getPointAtLength(i),r=0;return"0"===this.rotate?n.x+","+n.y:(r="auto"===this.rotate?0:"auto-reverse"===this.rotate?180:+this.rotate,n.x+","+n.y+this.getRotate(e,i,r))},setValues:function(){var t=this.getAttr("keyPoints",null),e=this.$animateElement.$animateElement.setValues;return t?e.call(this,t,null,null,null):e.apply(this,arguments)}}).on("init",function(t){if(t&&t.parentNode){if(this.type="translate",this.isSum=!0,this.mode=this.getAttr("mode","paced"),this.rotate=this.getAttr("rotate","0"),this.isKeyPoints=t.hasAttributeNS(null,"keyPoints"),this.isKeyPoints&&!t.hasAttributeNS(null,"path")){var e=this.getAttr("values",this.getAttr("from","")+" L "+this.getAttr("to",""));t.setAttributeNS(null,"path","M "+e.replace(/;/g," L "))}this.path=this.path.cloneNode(!0);var i=t.getElementsByTagNameNS(this.path.namespaceURI,"mpath"),n=this.$animateElement;if(i.length){var r=t.ownerDocument.getElementById(i[0].getAttributeNS("http://www.w3.org/1999/xlink","href").slice(1));r&&this.path.setAttributeNS(null,"d",r.getAttributeNS(null,"d")),this.$animateElement=n.up().mix({tocall:this._tocallForPath})}else t.hasAttributeNS(null,"path")&&(this.path.setAttributeNS(null,"d",t.getAttributeNS(null,"path")),this.$animateElement=n.up().mix({tocall:this._tocallForPath}))}}),base("$getDocument").mix(function(){function t(){function t(t){function e(e,i){var r=t.getElementsByTagNameNS(n,i);e.numberOfElemList=0,r.length>0&&(e.elementList=r,s.objList.push(e)),r=e=void 0}var i=base("$calcMode").$attribute.$setElement,r=i.$animateElement,s=base("$frame");e(i,"set"),e(r,"animate"),e(r.up(),"animateColor"),e(r.$animateTransformElement,"animateTransform"),e(r.$animateTransformElement.$motionElement,"animateMotion"),t.defaultView.addEventListener("hashchange",function(){var e=t.defaultView.location.hash.slice(1);t.getElementById(e).beginElement()})}var i=document.getElementsByTagName("object"),n="http://www.w3.org/2000/svg";if(i)for(var r=0;r<i.length;++r)t(i[r].getSVGDocument());t(document);var s=e(),a=function(){window.cancelAnimationFrame&&cancelAnimationFrame(s)};base("$frame").on("pauseAnimation",a),window.addEventListener("unload",a)}function e(){if(!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Animation","1.1")||window.navigator.userAgent.toLowerCase().indexOf("edge")>0){if(window.requestAnimationFrame&&requestAnimationFrame){var t={handle:null};return function(e){var i=t,n=function(){if(!this.isPaused){e++;try{this.initialize(),this.setFrame(e)}catch(t){}i.handle=requestAnimationFrame(n)}}.bind(base("$frame"));i.handle=requestAnimationFrame(n)}(-1),t}setInterval(function(t){var e=base("$frame");return function(){t++,e.initialize(),e.setFrame(t)}}(-1),1)}}window.addEventListener&&window.addEventListener("load",t),this.step=e});
\ No newline at end of file
25+!function(){var t={obj:{up:function(t){var e=Object.create(this);return t?(this[t]=e,e.up=this.up):this.$1=e,e},mix:function(e){if(!e)throw new Error("No arguments error");if("function"!=typeof e){var i=t.__ng_;for(var n in e)i[n]||(this[n]=e[n]);n=i=void 0}else e.call(this,this);return this},on:function(t,e){if(!t)throw new Error("No arguments error");if(/^(?:up|on|mix|of)$/.test(t))throw new Error("Invalid method name error");if("function"!=typeof e)throw new Error("Not support arguments type");var i=this._eventList__,n=this[t];if(this._eventList__){if(!this.hasOwnProperty("_eventList__")){var r=[];r._parent=i,i=this._eventList__=r,r=void 0}}else i=this._eventList__=[];return this[t]&&n.isOn||("function"==typeof n&&(i.push({name:t,func:n}),i._parent=null),this[t]=function(){var e,i=this._eventList__,n=t,r=null,s=null,a=!1;for(i._child=null;e=i._parent;)e._child=i,i=e;for(;i;){for(var l=0,h=i.length;h>l;++l)i[l].name===n&&(r=i[l].func.apply(this,arguments),a||(s=r,a=!0));i=i._child}return i=r=n=a=void 0,s},this[t].isOn=!0),i.push({name:t,func:e}),i=n=e=void 0,this},__args:[],__app:null,of:function(t){if(!t)throw new Error("No arguments error");if(this.hasOwnProperty("__of"))throw new Error("Reset error");var e,i=[].concat(this.__args||[]);for(var n in t)t.hasOwnProperty(n)&&"call"!==n&&(t[n]&&t[n].call?(e=n+"__",i[n]||i.push(n)):e=n,i[n]=this[e]=t[n]);return t.call&&(this.__app={call:t.call}),this.__args=i,this.__of=1,i=n=t=void 0,this},__isCallByBASE:!1,call:function(){if(!this.__app)return this;if(this.hasOwnProperty("__isCallByBASE"))return this.__app.call.apply(this,arguments);this.__isCallByBASE=!0;for(var t=this.__args,e=0,i=t.length;i>e;++e){var n=t[e];this[n]=this[n+"__"].call(this)}return t=n=argi=void 0,this.__app.call.apply(this,arguments)},callFunc:function(){return this},initToEval:function(){return delete this.__isCallByBASE,this}}},e={};base=function(i){var n=t,r=e;if(i){if(r[i])return r[i];var s=Object.create(n.obj);return this[i]=r[i]=s,s[i]=s,s}throw new Error("No arguments error")};var i={},n=Object.prototype;for(var r in n)i[r]=!0,e[r]=null;i.constructor=!1,t.__ng_=i,i=n=void 0,base.free=function(){delete t.obj,t=e=callFunc=void 0},Object.create||(Object.create=function(t){var e=function(){};return e.prototype=t,new e})}(),base("$frame").mix({fpms:.024,timelines:[],begin:-Number.MAX_VALUE,activeTime:Number.MAX_VALUE,currentFrame:0,startAnimation:function(){base("$getDocument").step()},isPaused:!1,pauseAnimation:function(){this.isPaused=!0},objList:[],initialize:function(){for(var t=this.objList,e=0;e<t.length;++e)t[e].initialize()},setFrame:function(t){this.currentFrame=t;for(var e=this.timelines,i=0;i<e.length;++i)e[i]!==this&&e[i].setFrame(t)},addLine:function(t){if(!t||!t.begin&&0!==t.begin||!t.activeTime&&0!==t.activeTime)return!1;var e=this.timelines;return e.indexOf(t)>=0&&this.removeLine(t),e.push(t),e=void 0,!0},removeLine:function(t){var e=this.timelines,i=e.indexOf(t);i>-1&&e.splice(i,1),e=i=void 0}}).mix(function(t){t.up("$list").mix({end:0,beginEnd:Number.MAX_VALUE,beginList:{next:null,value:Number.MAX_VALUE},endList:{next:null,value:Number.MAX_VALUE},addBeginList:function(t){return this.beginList={value:t,next:this.beginList}},addEndList:function(t){return this.endList={value:t,next:this.endList}},getMaxList:function(t,e){for(var i=-Number.MAX_VALUE;e;){var n=e.value;t>=n&&n>=i&&(i=n),e=e.next}return i},state:0,WAITING:0,BEGINNING:1,PLAYING:2,ENDING:3,POSTWAITING:4,init:function(){return this.state=this.WAITING,this.begin=0,this},updateState:function(t){if(void 0===t)return this;var e=this.state,i=0,n=1,r=2,s=3,a=4,l=this.getMaxList(t,this.beginList);if(l===-Number.MAX_VALUE)return e>a&&(this.state=n),this;var h=this.getMaxList(t,this.endList),u=e===i,o=this.begin;if(!l&&u)this.begin=0,this.state=n;else if(u||e===a)l>o&&(this.state=n,this.begin=l);else if(e===n)h>=o?(this.state=s,h>0&&(this.end=h),this.beginEnd=0):this.state=r;else if(e===r){var m=o+this.activeTime;h=h>m?m:h,(t>=m||h>=o||l>o)&&(this.state=s,h>0&&(this.end=h,this.beginEnd=h-o))}else e===s?l>o?(this.state=n,this.begin=l):this.state=a:this.state=n;return o=l=h=u=e=void 0,this},_beginListenerList:[],_endListenerList:[],_playListenerList:[],addEvent:function(t,e){var i="_"+t+"ListenerList";this.hasOwnProperty(i)||(this[i]=[]),this[i].push(e)},setFrame:function(t){this.currentFrame=t;var e=this.updateState(t).state;if(2===e)for(var i=this._playListenerList,n=0;n<i.length;++n)i[n](this);else if(1===e){i=this._beginListenerList;for(var n=0;n<i.length;++n)i[n](this);e=this.updateState(t).state}if(3===e){i=this._endListenerList;for(var n=0;n<i.length;++n)i[n](this);1===this.updateState(t).state&&this.updateState(t)}e=i=void 0}}).mix(function(){this.addList=this.addBeginList}),t.up("$begin").mix({string:"",isResolved:!1,eventTarget:document.documentElement,currentFrame:0,eventOffset:0,repeat:0,accessKey:"",trim:function(t){return t.replace(/[\s\n]+/g,"")},offset:function(t){function e(){return r(1e3,/[\d.]+s$/,/[\d.]+$/)}function i(){return r(6e4,/[\d.]+min$/,/\d\d:[^:]+$/)}function n(){return r(36e5,/\d+:\d\d:/,/[\d.]+h$/)}function r(e,i,n){return e*(a(t.match(i)||"0")||a(t.match(n)||"0"))}t=t||"0";var s=t.charAt(0),a=parseFloat,l=a(t.match(/[\d.]+ms$/)||"0")+e()+i()+n();return"-"===s&&(l*=-1),s=a=e=i=n=void 0,l},event:function(t){if(t=t||"",/[\+\-]/.test(t)&&(t=t.slice(0,t.search(/[\+\-]/))),t.indexOf(".")>-1){var e=t.split(".");return{id:e[1]&&e[0],event:e[0]&&e[1]}}return{id:"",event:t}},_parse:function(t){var e,i=t.search(/[\+\-]/),n=null;this.$list.addEndList(Number.MAX_VALUE);if("indefinite"===t?this.begin=Number.MAX_VALUE:i>0?(this.begin=this.offset(t.slice(i)),n=this.event(t)):/[^\+\-\d]/.test(t.charAt(0))?n=this.event(t):(this.begin=this.offset(t),this.isResolved=!0),this.repeat=/repeat\((\d+)\)/.test(t)?+RegExp.$1:0,this.accessKey=/accessKey\(([^\)]+?)\)/.test(t)?RegExp.$1:"",this.begin=Math.floor(this.begin*this.fpms),"indefinite"===t);else if(n){e=n.id?this.eventTarget.ownerDocument.getElementById(n.id):this.eventTarget;var r=this.begin,a=this.$list.addList(Number.MAX_VALUE),l=function(t){a.value=this.begin=r+base("$frame").currentFrame,this.isResolved=!0};if(this.eventOffset=r,this.repeat>0)e&&e.addEventListener("repeatEvent",function(t){t.detail===this.repeat&&l.call(this,t)}.bind(this),!0);else if(this.accessKey)document.documentElement.addEventListener("keydown",function(t){t["char"]===this.accessKey&&l.call(this,t)}.bind(this),!1);else{var h=/^(?:begin|end|repeat)$/.test(n.event)?n.event+"Event":n.event;e&&e.addEventListener(h,l.bind(this),!1)}}else this.$list.addList(this.begin);s=n=t=i=e=void 0},parse:function(){this.begin=0,this.isResolved=!1;var t=this.trim(this.string);if(t.indexOf(";")>-1)for(var e=t.split(";"),i=0;i<e.length;++i)this._parse(e[i]);else this._parse(t);return s=t=void 0,this},updateList:function(){this.$list=this.$list.up();var t=this.$activate=this.$activate.up();return t.end__&&(t.end__.$list=this.$list),this.activeTime=this.$list.activeTime=t.call()||Number.MAX_VALUE,this.simpleDuration=t.simpleDur,this}}).up("$activate").mix({dur:"indefinite",repeatCount:null,repeatDur:null,min:"0",max:"indefinite"}).of({end:t.$begin.up("$end"),simpleDur:function(){return"indefinite"!==this.dur&&this.dur?Math.floor(this.offset(this.dur)*this.fpms):null},resolvedTime:function(){return Date.now()},call:function(){function t(){return!!(!a&&!h||r&&!h||s&&!l||r&&s)}var e,i="indefinite",n=this.simpleDur,r=this.repeatCount===i,s=this.repeatDur===i,a=n||0===n,l=this.repeatCount||0===this.repeatCount,h=this.repeatDur||0===this.repeatDur,u=[],o=Math.floor(this.offset(this.min)*this.fpms),m=this.max===i?null:Math.floor(this.offset(this.max)*this.fpms);if(t())return m?m:null;if(a&&this.repeatCount&&!r&&u.push(n*this.repeatCount),h&&!s&&u.push(Math.floor(this.offset(this.repeatDur)*this.fpms)),!a||l||h||u.push(n),i=n=r=isIndefRepeatDurindef=a=isEnd=h=l=t=void 0,1===u.length)e=u[0];else{if(!(u.length>1))return null;e=Math.min.apply(Math,u)}return m&&o>m?e:(o&&o>e&&(e=o),m&&e>m&&(e=m),e)}}),t.$begin.$end.of({call:function(){return this.string?(this.$list.addList=this.$list.addEndList,this.parse(this.string),this.$list.addList=this.$list.addBeginList,this.isResolved?this.begin:"indefinite"):null}}).mix({$list:t.$begin.$list.up()})}),base("$from").of({numList:function(){var t=this.string.match(/[\-\+]?[\d\.]+(?:[eE][\-\+]?[\d\.]+)?/g)||[];if(t)for(var e=0;e<t.length;++e)t[e]=parseFloat(t[e]);return t},strList:function(){return this.string.replace(/\d[eE][\-\+\d]/g,"").match(/[^\d\-\+\.]+/g)},from:base("$from").up().mix({from:null}),call:function(){if(this.numList.string=this.string,this.numList.length&&0===this.additive[0]&&0===this.accumulate[0]){for(var t=[],e=[],i=0;i<this.numList.length;++i)t[i]=e[i]=0;this.additive=t,this.accumulate=e}if(!this.string||!this.numList.length||!this.strList)return this.numList;var n=this.numList.length<this.strList.length;return/^[\-\+]?[\d\.]/.test(this.string)&&!n&&this.strList.unshift(""),/\d$/.test(this.string)&&!n&&this.strList.push(""),this.numList}}).mix({string:"",degit:0,additive:[0],accumulate:[0],advance:function(t){if(0>t||t>1)throw new Error("An Invalid Number Error");if(!this.string)return"";if(!this.from.length)return 1===t?this.string.trim():this.from.string.trim();for(var e="",i=this.numList,n=this.strList,r=this.from,s=this.degit,a=this.additive,l=this.accumulate,h=0,u=i.length;u>h;++h)e+=(t*i[h]+(1-t)*r[h]+a[h]+l[h]).toFixed(s),n&&(e+=n[h+1]);return e=(n?n[0]:"")+e,i=n=r=h=u=s=a=l=void 0,e.trim()},distance:function(t){if(!t)return 0;var e=this.call(),i=t.call?t.call():t,n=0;if(!e||!i)return 0;for(var r=0,s=e.length;s>r;++r)n+=(e[r]-i[r])*(e[r]-i[r]);return Math.sqrt(n)},setAdditive:function(t){if(!t)return 0;var e=this.$from.up();return e.string=t,this.additive=e.call()},setAccumulate:function(t){return!t||isNaN(t)?0:this.accumulate=this.numList.map(function(e){return e*t})}}).up("$to").from=null,base("$calcMode").mix({mode:"linear",keyTime:1,keySplines:null,norm:1,string:"",_f:function(t){var e=this.keyTime;if(0===e&&t)t=0;else{if(!e||!isFinite(e))return this.string;t/=e,t=t>1?Math.floor(t):t}return e=void 0,isNaN(t)?this.string:this.to__.advance(t)},funcForDiscrete:function(t){return isNaN(t)?this.string:1===t?this.to__.string:this.to__.advance(0)}}).of({to:base("$from").$to,call:function(){var t=this._f.bind(this);if("linear"===this.mode)return t;if("paced"===this.mode)return this.keyTime=this.to__.distance(this.to__.from__)/this.norm,t;if("spline"===this.mode){var e=this.keySplines,i=function(t){return Math.PI};if(i.isNotAnimate=!0,!e)return i;for(var n=0,r=NaN;n<e.length;++n){if(r=e[n],isNaN(r))return i;if(0>r||r>1)return i}var s=e[0],a=e[1],l=e[2],h=e[3],u=1,o=1,m=u-3*(l-s),f=3*(l-2*s),d=3*s,c=o-3*(h-a),g=3*(h-2*a),v=3*a,p=Math.qubicnewton;if(!(0!==s&&1!==s||0!==a||1!==l&&0!==l||1!==h))return t;var _=this.keyTime;return(_||isFinite(_))&&(m*=_,f*=_,d*=_,c*=_,g*=_,v*=_),_=e=s=a=l=h=u=o=void 0,function(e){var i=p(m,f,d,-e,e);return t(c*i*i*i+g*i*i+v*i)}}return"discrete"===this.mode?this.funcForDiscrete.bind(this):void 0}}),Math.qubicnewton=function(t,e,i,n,r){var s=1e-15,a=t*r*r*r+e*r*r+i*r+n;if(0===a)return r;for(var l=0;100>l;l=l+1|0){var h=3*t*r*r+2*e*r+i;if(!h||s>a&&a>-s)return a=s=void 0,r;r-=a/h,a=t*r*r*r+e*r*r+i*r+n}return r},base("$calcMode").up("$attribute").mix({element:null,$from:base("$from").up(),attrName:"",attrNameSpace:null,defaultValue:"",isDefault:!1,isCSS:!1,mode:"linear",getAttr:function(t,e){var i=null;t.indexOf("xlink:")>-1&&(i="http://www.w3.org/1999/xlink");var n=this._ele.getAttributeNS(i,t);if(this.element){var r=this.element.ownerDocument.defaultView;if("inherit"===n)return r.getComputedStyle(this.element.parentNode,"").getPropertyValue(this.attrName);if("currentColor"===n)return r.getComputedStyle(this._ele,"").getPropertyValue("color")}return n&&"font-size"===this._ele.getAttributeNS(null,"attributeName")&&/\d\s*$/.test(n)&&(n+="px",n=n.replace(/;/g,"px;")),n||e},_ele:document.documentElement,hasAttrValues:function(){var t=this._ele;return t?t.hasAttribute("from")||t.hasAttribute("to")||t.hasAttribute("by")||t.hasAttribute("values"):!1},__cacheAttr:"",setAttribute:function(t){var e=this.attrName;if(e&&this.__cacheAttr!==t){this.__cacheAttr=t;var i=this.element;this.isCSS?i.style.setProperty(e,t,""):i.setAttributeNS(this.attrNameSpace,e,t),t=e=i=void 0}},removeAttribute:function(){var t=this.attrName;if(t){var e=this.element;this.isDefault?this.setAttribute(this.defaultValue):(e.removeAttributeNS(this.attrNameSpace,t),this.isCSS&&e.style.setProperty(t,this.defaultValue,"")),this.__cacheAttr="",value=t=e=void 0}},initTargetElement:function(){var t=this._ele,e=t.parentNode||null,i=t.getAttribute("xlink:href");return i?t.ownerDocument.getElementById(i.slice(1)):(i=t.getAttributeNS(null,"targetElement"))?t.ownerDocument.getElementById(i):e},_repeatList:[],_repeatCount:0,setSmilEvent:function(t){t.addEvent("begin",function(t){var e=this._ele,i=0,n=e.ownerDocument.createEvent("MouseEvents");n.initMouseEvent("beginEvent",!0,!0,window,i,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(n);var r=this._repeatList=[],s=t.activeTime,a=t.begin,l=this.timeline.simpleDuration;if(l&&l!==s&&s!==Number.MAX_VALUE)for(var h=l,u=1;s>h;h+=l)r.push({frame:a+h,count:u}),++u}.bind(this)),t.addEvent("play",function(t){var e=this._ele,i=0,n=t.currentFrame,r=this._repeatList;if(r.length)for(var s=0;s<r.length;++s){if(this._repaetCount>=s+1||r[s].frame>=n){this._repeatCount=i;break}i=r[s].count;var a=e.ownerDocument.createEvent("MouseEvents");a.initMouseEvent("repeatEvent",!0,!0,window,i,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(a)}}.bind(this)),t.addEvent("end",function(){var t=this._ele,e=0,i=t.ownerDocument.createEvent("MouseEvents");i.initMouseEvent("endEvent",!0,!0,window,e,0,0,0,0,!1,!1,!1,!1,0,t),t.dispatchEvent(i)}.bind(this))},push:function(t){if(!t||!t.hasAttribute)return null;if(this.__cacheAttr="",this._ele=t,this.element=this.initTargetElement(),!this.hasAttrValues())return null;this.attrName=this.getAttr("attributeName","");var e=this.attrName,i=this.getAttr("attributeType","auto"),n=this.element&&this.element.ownerDocument.defaultView.getComputedStyle(this.element,"");("CSS"===i||"auto"===i&&this.element&&n.getPropertyValue(e)&&!/^(width|height|transform)$/.test(e))&&(this.isCSS=!0),e.indexOf("xlink")>-1&&(this.attrNameSpace="http://www.w3.org/1999/xlink");var r=this.element;r&&(this._ele=r,this.isDefault=r.hasAttributeNS(this.attrNameSpace,e),this.defaultValue=this.getAttr(e,n.getPropertyValue(e)),this._ele=t);var s=base("$frame"),a=s.$begin,l=a.up().mix({target:t,eventTarget:this.element||a.eventTarget,string:this.getAttr("begin","0"),$activate:a.$activate.up().of({end:a.$end.up().mix({eventTarget:this.element||a.eventTarget,string:this.getAttr("end",null)})}).mix({dur:this.getAttr("dur",null),repeatCount:this.getAttr("repeatCount",null),repeatDur:this.getAttr("repeatDur",null),min:this.getAttr("min","0"),max:this.getAttr("max","indefinite")})}).updateList().parse();s.addLine(l.$list.init());var h=l.$list.addList(Number.MAX_VALUE),u=l.$list.addEndList(Number.MAX_VALUE);t.beginElement="indefinite"!==l.string?function(){}:function(){h.value=l.begin=base("$frame").currentFrame,l.isResolved=!0;var t=this.ownerDocument.createEvent("MouseEvents");t.initMouseEvent("beginEvent",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,this),this.dispatchEvent(t)};var o=l.$activate.end__||{};return t.endElement="indefinite"!==o.string?function(){}:function(){if(l.isResolved){o.isResolved=!0,u.value=base("$frame").currentFrame;var t=this.ownerDocument.createEvent("MouseEvents");t.initMouseEvent("endEvent",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,this),this.dispatchEvent(t)}},l.timelines=[],this.setSmilEvent(l.$list),a=t=void 0,l},setValues:function(t,e,i,n){var r=this.$from,s=[this.up().of({to:r.up().of({from:r.up()})})],a=s[0].to__;if(t=t&&t.split(";"),t&&t.length){s=[];for(var l=1;l<t.length;++l)s.push(this.up().of({to:r.up().of({from:r.up()})})),a=s[s.length-1].to__,a.string=t[l],a.from__.string=t[l-1]}else if(i)a.string=i,a.from__.string=e||"0";else{if(!n)return null;a.string=n,a.from__.string=e||"0";for(var h=a.call(),u=a.from,l=0;l<h.length;++l)h[l]+=u[l]}return r=a=h=u=void 0,s},isKeyError:function(t,e){return!(!t||t===e+1)},setKey:function(t){this._ele=t;var e,i,n=this.setValues(this.getAttr("values",null),this.getAttr("from",null),this.getAttr("to",null),this.getAttr("by",null)),r=n?n.length:0,s=this.getAttr("keyTimes",null),a=this.getAttr("keySplines",null),l=a&&a.split(";"),h="discrete"===this.mode;if(!h&&s&&n){if(e=this.$from.numList__.call({string:s}),e.length&&0!==e[0])return null;if(this.isKeyError(e.length,r))return null;for(var u=0;r>u;++u)n[u].keyTime=e[u+1]-e[u],l&&(i=this.$from.numList__.call({string:l[u]}),n[u].keySplines=i.length?i:null)}else if(!h&&n)for(var o=1/r,u=0;r>u;++u)n[u].keyTime=o,l&&(i=this.$from.numList__.call({string:l[u]}),n[u].keySplines=i.length?i:null);else if(n){if(s){if(e=this.$from.numList__.call({string:s}),e.length&&0!==e[0])return null;if(this.isKeyError(e.length,r))return null;for(var u=0;r>u;++u)n[u].keyTime=e[u+1]-e[u]}else for(var o=1/(r+1),u=0;r>u;++u)n[u].keyTime=o;n.push(n[r-1].up().mix(function(){e&&(this.keyTime=1-e[e.length-1])}).of({call:function(){return function(t){return isNaN(t)?this.string:this.to__.advance(1)}.bind(this)}}))}if("paced"===this.mode){var m=0;n.forEach(function(t){m+=t.to__.distance(t.to__.from__)}),n.forEach(function(t){t.norm=m})}return t=s=e=o=l=void 0,n}}).up("$setElement").mix({to:"",elementList:[],numberOfElemList:0,initialize:function(){var t=this.elementList;if(t&&t.length){for(var e=this.numberOfElemList+50,i=e-50;e>i;++i){if(t.length<=i)return void(this.elementList=null);this.up().init(t[i])}this.numberOfElemList+=50,t=e=void 0}},_setFrame:function(t){this.setAttribute(this.to)},timeline:base("$frame").$begin,_setEndFrame:function(t){"remove"===this.fill&&this.removeAttribute()},tocall:function(){},init:function(t){var e=this.push(t);t&&t.getAttributeNS&&(this._ele=t,this.to=this.getAttr("to",""),this.fill=this.getAttr("fill","remove"));var i=this.element;e&&i&&(this.timeline=e,e.$list.addEvent("begin",this._setFrame.bind(this)),e.$list.addEvent("play",this._setFrame.bind(this)),e.$list.addEvent("end",this._setEndFrame.bind(this)),e.$list.state=e.$list.WAITING),e=i=void 0}}).up("$animateElement").mix({funcs:[],tocall:function(t){var e=this.funcs;if("discrete"===this.mode){for(var i="",n=0;n<e.length;++n){var r=e[n];t>=r.startKeyTime&&(i=r(t))}return t=e=r=void 0,i}for(var n=0;n<e.length;++n){var r=e[n];if(r.endKeyTime>=t)return r(t-r.startKeyTime)}return e=n=r=void 0,""},_setFrame:function(t){var e=t.currentFrame,i=this.timeline,n=i.simpleDuration,r=n?(e-t.begin)%n/n:0;this.setAttribute(this.tocall(r)),i=n=r=void 0},getAdvanceEnd:function(t){var e=this.timeline,i=e.simpleDuration;if(i){var n=e.activeTime>t.beginEnd?t.beginEnd:e.activeTime,r=n%i/i;r=r>1?1:r,r=r||1}else r=0;return r},_setEndFrame:function(t){"freeze"===this.fill?(this.setAttribute(this.tocall(this.getAdvanceEnd(t))),line=duration=advance=void 0):this.removeAttribute()},getAttr:function(t,e){var i=this.$attribute.getAttr.apply(this,arguments);return"from"===t&&!i&&this.defaultValue?this.defaultValue:i},_keywords:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagree:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},setAdd:function(t,e){if("sum"===t.getAttributeNS(null,"additive")){var i=t.parentNode.getAttributeNS(null,this.attrName);t.addEventListener("beginEvent",function(t){e.forEach(function(t){t.to__.setAdditive(i)})},!1)}},setAccum:function(t,e){"sum"===t.getAttributeNS(null,"accumulate")&&t.addEventListener("repeatEvent",function(t){e.forEach(function(e){e.to__.call(),e.to__.setAccumulate(t.detail)})},!1)},setString:function(){/^(?:display|class|edgeMode|(gradient|marker|pattern|maskContent|mask|patternContent|primitive)Units|in|in2|method|mode|operator|preserveAspectRatio|result|spacing|spreadMethod|stitchTiles|target|type|xlink:href|yChannelSelector|color-interpolation|(clip|fill)-rule|cursor|filter|font-(family|stretch|style|variant)|image-rendering|marker-(end|mid|start)|mask|overflow|pointer-events|shape-rendering|stroke-(linecap|linejoin)|text-(anchor|decoration|rendering)|visibility)$/.test(this.attrName)&&(this.mode="discrete")},degits:1,setValues:function(){var t=this.$attribute.setValues.apply(this,arguments),e=this.degits;return t&&t.forEach(function(t){t.to__.degit=e}),e=void 0,t},toRGB:function(t){var e=this._keywords[t];if(e)return"rgb("+e.join(", ")+")";if(t&&"#"===t[0]){var i="rgb(",n=parseInt;if(t.length<5)var r=t[1],s=t[2],a=t[3],t="#"+r+r+s+s+a+a;return t.match(/\#(\w{2})(\w{2})(\w{2})/),i+=n(RegExp.$1,16)+", "+n(RegExp.$2,16)+", "+n(RegExp.$3,16)+")",r=s=a=void 0,i}return t}}).on("init",function(t){var e,i=0,n=function(t){return t};if(/^(?:fill|stroke|stop-color|color)$/.test(this.attrName)&&(this.degits=0,n=this.toRGB.bind(this)),t&&(this.mode=t.getAttributeNS(null,"calcMode")||"linear",this.setString(),e=this.setKey(t)),e){for(var r=new Array(e.length),s=0;s<e.length;++s){var a=e[s];a.to__.string=n(a.to__.string),a.to__.from__.string=n(a.to__.from__.string);var l=a.call();l.startKeyTime=i,i=l.endKeyTime=i+a.keyTime,r[s]=l}this.funcs=r.filter(function(t){return this.timeline.isResolved?"spline"!==this.mode||!t.isNotAnimate:!0},this),this.setAdd(t,e),this.setAccum(t,e)}i=keywords=n=void 0}).up("$animateTransformElement").mix({numberOfList:-1,type:"translate",attrName:"transform",isCSS:!1,isSum:!1,degits:15,joinList:function(t){for(var e=this.element.__transformList,i=0;i<e.length;++i){var n=e[i],r=n.value;n.isSum?t+=" "+r:n.isPlaying&&(t=r)}return t.trim()},tocall:function(t){if(this.numberOfList<0)throw new Error("Number of The List Error");var e=this.element.__transformList[this.numberOfList];return e.value=this.type+"("+this.$animateElement.tocall.call(this,t)+")",e.isPlaying=!0,e.isSum=this.isSum,this.joinList(this.defaultValue||"")},__setAttribute:function(){},_setFrame:function(t){var e=(t.currentFrame,this.element.__transformList),i=!1,n=e.length;if(1!==n&&this.numberOfList<n-1)for(var r=this.numberOfList+1;n>r;++r)e[r].isPlaying&&(i=!0);this.setAttribute=i?this.__setAttribute:this.$animateElement.setAttribute,this.$animateElement._setFrame.call(this,t)},_setEndFrame:function(t){var e=this.element.__transformList;if(e){var i=e[this.numberOfList];if("remove"===this.fill){if(!i)return;this.isSum?i.value="translate(0)":i.isPlaying=!1}else i.value=this.type+"("+this.$animateElement.tocall.call(this,this.getAdvanceEnd(t))+")";this.setAttribute(this.joinList(this.defaultValue||"")),i=void 0}},setAdd:function(){}}).on("init",function(t){if(t&&t.parentNode){this.getAttr=this.$attribute.getAttr,this.type=this.getAttr("type","translate"),this.attrName="transform";var e=this.element;this.isDefault=e.hasAttributeNS(null,"transform"),this.defaultValue=e.getAttributeNS(null,"transform")||"",this.isSum="sum"===this.getAttr("additive","replace"),e.__transformList||(e.__transformList=[],this.numberOfList=-1),this.hasAttrValues()&&this.numberOfList<0&&(this.numberOfList=e.__transformList.length,e.__transformList.push({isPlaying:!1,value:"translate(0)",isSum:this.isSum}))}}).up("$motionElement").mix(function(){this._setFrame=this.$animateElement._setFrame,this._setEndFrame=this.$animateElement._setEndFrame}).mix({numberOfList:-1,mode:"paced",hasAttrValues:function(){return this.$attribute.hasAttrValues.call(this)?!0:this._ele.hasAttribute("keyPoints")||this._ele.hasAttribute("path")||this._ele.getElementsByTagNameNS(this.path.namespaceURI,"mpath").length},path:document.createElementNS("http://www.w3.org/2000/svg","path"),rotate:"0",tocall:function(t){return("translate("+this.$animateElement.tocall.call(this,t)+") "+this.joinList(this.defaultValue||"")).trim()},getRotate:function(t,e,i){var n=t.getPathSegAtLength(e),r=t.pathSegList.getItem(n),s=r.pathSegTypeAsLetter,a=Math.PI;if("M"!==s){if("L"===s&&n-1>=0){var l=t.pathSegList.getItem(n-1);return") rotate("+(Math.atan2(r.y-l.y,r.x-l.x)/a*180+i)}if("C"===s){var h=t.getPointAtLength(e),u=h.x,o=h.y;h=t.getPointAtLength(e+1);var m=Math.atan2(h.y-o,h.x-u);return 0===m&&(m=Math.atan2(r.y-r.y2,r.x-r.x2)),") rotate("+(m/a*180+i)}return""}var f=t.pathSegList.getItem(n+1),d=f.pathSegTypeAsLetter;return"M"===d?"":"L"===d?") rotate("+(Math.atan2(f.y-r.y,f.x-r.x)/a*180+i):"C"===d?") rotate("+(Math.atan2(f.y1-r.y,f.x1-r.x)/a*180+i):void 0},_tocallForPath:function(t){this.isKeyPoints&&(t=+this.$animateElement.$animateElement.tocall.call(this,t));var e=this.path,i=t*e.getTotalLength(),n=e.getPointAtLength(i),r=0;return"0"===this.rotate?n.x+","+n.y:(r="auto"===this.rotate?0:"auto-reverse"===this.rotate?180:+this.rotate,n.x+","+n.y+this.getRotate(e,i,r))},setValues:function(){var t=this.getAttr("keyPoints",null),e=this.$animateElement.$animateElement.setValues;return t?e.call(this,t,null,null,null):e.apply(this,arguments)}}).on("init",function(t){if(t&&t.parentNode){if(this.type="translate",this.isSum=!0,this.mode=this.getAttr("mode","paced"),this.rotate=this.getAttr("rotate","0"),this.isKeyPoints=t.hasAttributeNS(null,"keyPoints"),this.isKeyPoints&&!t.hasAttributeNS(null,"path")){var e=this.getAttr("values",this.getAttr("from","")+" L "+this.getAttr("to",""));t.setAttributeNS(null,"path","M "+e.replace(/;/g," L "))}this.path=this.path.cloneNode(!0);var i=t.getElementsByTagNameNS(this.path.namespaceURI,"mpath"),n=this.$animateElement;if(i.length){var r=t.ownerDocument.getElementById(i[0].getAttributeNS("http://www.w3.org/1999/xlink","href").slice(1));r&&this.path.setAttributeNS(null,"d",r.getAttributeNS(null,"d")),this.$animateElement=n.up().mix({tocall:this._tocallForPath})}else t.hasAttributeNS(null,"path")&&(this.path.setAttributeNS(null,"d",t.getAttributeNS(null,"path")),this.$animateElement=n.up().mix({tocall:this._tocallForPath}))}}),base("$getDocument").mix(function(){function t(){function t(t){function e(e,i){var r=t.getElementsByTagNameNS(n,i);e.numberOfElemList=0,r.length>0&&(e.elementList=r,s.objList.push(e)),r=e=void 0}var i=base("$calcMode").$attribute.$setElement,r=i.$animateElement,s=base("$frame");e(i,"set"),e(r,"animate"),e(r.up(),"animateColor"),e(r.$animateTransformElement,"animateTransform"),e(r.$animateTransformElement.$motionElement,"animateMotion"),t.defaultView.addEventListener("hashchange",function(){var e=t.defaultView.location.hash.slice(1);t.getElementById(e).beginElement()})}var i=document.getElementsByTagName("object"),n="http://www.w3.org/2000/svg";if(i)for(var r=0;r<i.length;++r)t(i[r].getSVGDocument());t(document);var s=e(),a=function(){window.cancelAnimationFrame&&cancelAnimationFrame(s)};base("$frame").on("pauseAnimation",a),window.addEventListener("unload",a)}function e(){if(!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Animation","1.1")||window.navigator.userAgent.toLowerCase().indexOf("edge")>0){if(window.requestAnimationFrame&&requestAnimationFrame){var t={handle:null};return function(e){var i=t,n=function(){if(!this.isPaused){e++;try{this.initialize(),this.setFrame(e)}catch(t){}i.handle=requestAnimationFrame(n)}}.bind(base("$frame"));i.handle=requestAnimationFrame(n)}(-1),t}setInterval(function(t){var e=base("$frame");return function(){t++,e.initialize(),e.setFrame(t)}}(-1),1)}}window.addEventListener&&window.addEventListener("load",t),this.step=e});
\ No newline at end of file
Binary files a/sie.js.gz and b/sie.js.gz differ
Show on old repository browser