OSDN Git Service

0.91 beta fixed
[sie/sie.git] / sie-mini.js
1 /*SIE-SVG without Plugin under LGPL2.1 & GPL2.0 & Mozilla Public Lisence
2  *公式ページは http://sie.sourceforge.jp/
3  *利用方法は <script defer="defer" type="text/javascript" src="sie-mini.js"></script>
4  *http://sie.sourceforge.jp/
5  *Usage: <script defer="defer" type="text/javascript" src="sie-mini.js"></script>
6  */
7 /* ***** BEGIN LICENSE BLOCK *****
8  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
9  *
10  * The contents of this file are subject to the Mozilla Public License Version
11  * 1.1 (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  * http://www.mozilla.org/MPL/
14  *
15  * Software distributed under the License is distributed on an "AS IS" basis,
16  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
17  * for the specific language governing rights and limitations under the
18  * License.
19  *
20  * The Original Code is the Mozilla SVG Cairo Renderer project.
21  *
22  * The Initial Developer of the Original Code is IBM Corporation.
23  * Portions created by the Initial Developer are Copyright (C) 2004
24  * the Initial Developer. All Rights Reserved.
25  *
26  * Parts of this file contain code derived from the following files(s)
27  * of the Mozilla SVG project (these parts are Copyright (C) by their
28  * respective copyright-holders):
29  *    layout/svg/renderer/src/libart/nsSVGLibartBPathBuilder.cpp
30  *
31  * Contributor(s):DHRNAME revulo bellbind
32  *
33  * Alternatively, the contents of this file may be used under the terms of
34  * either of the GNU General Public License Version 2 or later (the "GPL"),
35  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
36  * in which case the provisions of the GPL or the LGPL are applicable instead
37  * of those above. If you wish to allow use of your version of this file only
38  * under the terms of either the GPL or the LGPL, and not to allow others to
39  * use your version of this file under the terms of the MPL, indicate your
40  * decision by deleting the provisions above and replace them with the notice
41  * and other provisions required by the GPL or the LGPL. If you do not delete
42  * the provisions above, a recipient may use your version of this file under
43  * the terms of any one of the MPL, the GPL or the LGPL.
44  *
45  * ***** END LICENSE BLOCK ***** */
46 /*
47  * Copyright (c) 2000 World Wide Web Consortium,
48  * (Massachusetts Institute of Technology, Institut National de
49  * Recherche en Informatique et en Automatique, Keio University). All
50  * Rights Reserved. This program is distributed under the W3C's Software
51  * Intellectual Property License. This program is distributed in the
52  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
53  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
54  * PURPOSE.
55  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
56  */
57 function DOMException(c){Error.apply(this,arguments);this.code=c;var b=["","Index Size Error","DOMString Size Error","Hierarchy Request Error","Wrong Document Error","Invalid Character Error","No Data Allowed Error","No Modification Allowed Error","Not Found Error","Not Supported Error","Inuse Attribute Error","Invalid State Error","Syntax Error","Invalid Modification Error","Namespace Error","Invalid Access Error"];this.message=b[c];return this}(function(b){b.INDEX_SIZE_ERR=1;b.DOMSTRING_SIZE_ERR=2;b.HIERARCHY_REQUEST_ERR=3;b.WRONG_DOCUMENT_ERR=4;b.INVALID_CHARACTER_ERR=5;b.NO_DATA_ALLOWED_ERR=6;b.NO_MODIFICATION_ALLOWED_ERR=7;b.NOT_FOUND_ERR=8;b.NOT_SUPPORTED_ERR=9;b.INUSE_ATTRIBUTE_ERR=10;b.INVALID_STATE_ERR=11;b.SYNTAX_ERR=12;b.INVALID_MODIFICATION_ERR=13;b.NAMESPACE_ERR=14;b.INVALID_ACCESS_ERR=15;b.prototype=new Error()})(DOMException);DOMImplementation={hasFeature:function(c,b){switch(c){case"CORE":case"XML":case"Events":case"StyleSheets":case"org.w3c.svg.static":case"org.w3c.dom.svg.static":return true;default:if(b==="2.0"){return true}else{return false}}},createDocumentType:function(d,e,b){var c=new Node();c.publicId=e;c.systemId=b;return c},createDocument:function(d,g,b){try{var c;if(d){c=new (DOMImplementation[d].Document);this._doc_&&(c._document_=this._doc_)}else{c=new Document()}c.implementation=this;c.doctype=b;c.documentElement=c.createElementNS(d,g);return c}catch(f){alert(f.message)}},"http://www.w3.org/2000/xmlns":{}};function Node(){this.childNodes=[];this._capter=[];return this}(function(b){b.ELEMENT_NODE=1;b.ATTRIBUTE_NODE=2;b.TEXT_NODE=3;b.CDATA_SECTION_NODE=4;b.ENTITY_REFERENCE_NODE=5;b.ENTITY_NODE=6;b.PROCESSING_INSTRUCTION_NODE=7;b.COMMENT_NODE=8;b.DOCUMENT_NODE=9;b.DOCUMENT_TYPE_NODE=10;b.DOCUMENT_FRAGMENT_NODE=11;b.NOTATION_NODE=12})(Node);Node.prototype={tar:null,firstChild:null,previousSibling:null,nextSibling:null,attributes:null,namespaceURI:null,localName:null,lastChild:null,prefix:null,ownerDocument:null,parentNode:null,replaceChild:function(b,d){this.insertBefore(b,d);var c=this.removeChild(d);return c},appendChild:function(b){this.insertBefore(b,null);return b},hasChildNodes:function(){if(this.childNodes.length>0){return true}else{return false}},cloneNode:function(b){var c;if(this.hasOwnProperty("ownerDocument")){c=this.ownerDocument.importNode(this,b)}else{c=new Node()}return c},normalize:function(){var g=this.childNodes;try{for(var c=g.length-1;c<0;--c){var f=g[c],b=f.nextSibling;if(b){if(f.nodeType===Node.TEXT_NODE&&b.nodeType===Node.TEXT_NODE){f.appendData(b.data);f.legnth=f.data.length;this.removeChild(b)}else{f.normalize()}}else{f.normalize()}}}catch(d){}},isSupported:function(c,b){return(this.ownerDocument.implementation.hasFeature(c+"",b+""))},hasAttributes:function(){if(this.attributes.length>0){return true}else{return false}}};Array.prototype.item=function(b){return(this[b])};function NamedNodeMap(){return this}Array.prototype._copyNode=function __nnmp_c(e,c){for(var d=0,b=e.length;d<b;d++){this[d]=e[d].cloneNode(c)}};NamedNodeMap.prototype={length:0,getNamedItem:function(b){},setNamedItem:function(b){},removeNamedItem:function(b){},item:function(b){return this[b]},getNamedItemNS:function(e,d){var c;for(var f=0,b=this.length;f<b;f++){c=this[f];if(c.namespaceURI===e&&c.localName===d){this._num=f;return c}}f=c=void 0;return null},setNamedItemNS:function(b){var c=this.getNamedItemNS(b.namespaceURI,b.localName),d;if(c){d=this[this._num];this[this._num]=b;b=c=void 0;return d}else{if(b.ownerElement!==void 0){throw (new DOMException(DOMException.INUSE_ATTRIBUTE_ERR))}this[this.length]=b;this.length+=1;b=void 0;return null}},removeNamedItemNS:function(c,b){var d=this.getNamedItemNS(c,b);if(!d){throw (new DOMException(DOMException.NOT_FOUND_ERR))}else{var e=this[this._num];delete (this[this._num]);this.length-=1;tgas=void 0;return e}},_copyNode:Array.prototype._copyNode};function CharacterData(){Node.apply(this);return this}CharacterData.prototype=new Node();CharacterData.constructor=Node;CharacterData.prototype.length=0;CharacterData.prototype.substringData=function(d,c){if(d<0||c<0||d>this.length){throw (new DOMException(INDEX_SIZE_ERR))}if(d+c>this.length){c=this.length-d}var b=this.data.substr(d,c);return b};CharacterData.prototype.replaceData=function(d,c,b){if(d<0||c<0||d>this.length){throw (new DOMException(INDEX_SIZE_ERR))}this.deleteData(d,c);this.insertData(d,b)};function Attr(){return this}Attr.prototype=new Node();Attr.constructor=Node;Attr.prototype.nodeType=Node.ATTRIBUTE_NODE;Attr.prototype.nodeValue=null;function Element(){Node.apply(this);this.attributes=new NamedNodeMap();return this}Element.prototype=new Node();Element.constructor=Node;Element.prototype.nodeType=Node.ELEMENT_NODE;Element.prototype.nodeValue=null;Element.prototype.getAttribute=function(b){return(this.getAttributeNS(null,b))};Element.prototype.setAttribute=function(b,c){this.setAttributeNS(null,b,c)};Element.prototype.removeAttribute=function(b){this.removeAttributeNS(null,b)};Element.prototype.getAttributeNode=function(b){};Element.prototype.setAttributeNode=function(b){};Element.prototype.removeAttributeNode=function(b){var c=this.attributes.removeNamedItemNS(b.namespaceURI,b.localName);return c};Element.prototype.getElementsByTagName=function(b){};Element.prototype.getAttributeNS=function(c,b){var d=this.getAttributeNodeNS(c,b);if(!d){return null}else{return(d.nodeValue)}};Element.prototype.setAttributeNS=function(b,e,c){var d=this.ownerDocument.createAttributeNS(b,e);d.nodeValue=c+"";d.value=c+"";this.setAttributeNodeNS(d)};Element.prototype.removeAttributeNS=function(c,b){};Element.prototype.getAttributeNodeNS=function(c,b){var d=this.attributes.getNamedItemNS(c,b);return d};Element.prototype.getElementsByTagNameNS=function(e,g){var u=[],f=0;var b=this.childNodes;for(var l=0,c=b.length;l<c;l++){var o=b[l];if(o.nodeType===Node.ELEMENT_NODE){var t=(e==="*")?o.namespaceURI:e;var r=(g==="*")?o.localName:g;if((o.namespaceURI===t)&&(o.localName===r)){u[f]=o;f++}var q=o.getElementsByTagNameNS(e,g);if(q){for(var k=0,p=q.length;k<p;++k){u[u.length]=q[k]}f+=q.length}t=r=q=void 0}}b=l=k=c=p=void 0;if(f===0){return null}return u};Element.prototype.hasAttribute=function(b){return(this.hasAttributeNS("http://www.w3.org/2000/svg",b))};Element.prototype.hasAttributeNS=function(c,b){if(this.getAttributeNodeNS(c,b)){return true}else{return false}};function Text(){return this}Text.prototype=new CharacterData();Text.constructor=CharacterData;Text.prototype.nodeType=Node.TEXT_NODE;Text.prototype.nodeName="#text";Text.prototype.splitText=function(e){var d=this.substringData(0,e-1);this.replaceData(0,this.length-1,d);var b="";if(this.length!==e){b=this.substringData(e,this.length-1)}var c=this.ownerDocument.createTextNode(b);if(this.parentNode){this.parentNode.insertBefore(c,this.nextSibling)}return c};function Comment(){return this}Comment.prototype=new CharacterData();Comment.constructor=CharacterData;Comment.prototype.nodeType=Node.COMMENT_NODE;Comment.prototype.nodeName="#comment";function CDATASection(){this.nodeType=Node.CDATA_SECTION_NODE;this.nodeName="#cdata-section";return this}CDATASection.prototype=new Text();CDATASection.constructor=Text;function DocumentType(){this.name="";this.entities=new NamedNodeMap();this.notations=new NamedNodeMap();this.publicId="";this.systemId="";this.internalSubset="";this.nodeValue=null;this.nodeType=Node.DOCUMENT_TYPE_NODE;return this}DocumentType.prototype=new Node();DocumentType.constructor=Node;function Notation(){this.publicId=null;this.systemId=null;this.nodeValue=null;this.nodeType=Node.NOTATION_NODE;return this}Notation.prototype=new Node();Notation.constructor=Node;function Entity(){this.publicId=null;this.systemId=null;this.notationName=null;this.nodeValue=null;this.nodeType=Node.ENTITY_NODE;return this}Entity.prototype=new Node();Entity.constructor=Node;function EntityReference(){this.nodeValue=null;this.nodeType=Node.ENTITY_REFERENCE_NODE;return this}EntityReference.prototype=new Node();EntityReference.constructor=Node;function ProcessingInstruction(){this.nodeType=Node.PROCESSING_INSTRUCTION_NODE;return this}ProcessingInstruction.prototype=new Node();ProcessingInstruction.constructor=Node;function DocumentFragment(){this.nodeName="#document-fragment";this.nodeValue=null;this.nodeType=Node.DOCUMENT_FRAGMENT_NODE;return this}DocumentFragment.prototype=new Node();DocumentFragment.constructor=Node;function Document(){this.nodeName="#document";this.nodeValue=null;this.nodeType=Node.DOCUMENT_NODE;this._id={};return this}Document.prototype=new Node();Document.constructor=Node;Document.prototype.createElement=function(b){};Document.prototype.createDocumentFragment=function(){var b=new DocumentFragment();b.ownerDocument=this;return b};Document.prototype.createTextNode=function(c){var b=new Text();b.data=b.nodeValue=c+"";b.length=c.length;b.ownerDocument=this;return b};Document.prototype.createComment=function(c){var b=new Comment();b.data=b.nodeValue=c;b.length=c.length;b.ownerDocument=this;return b};Document.prototype.createCDATASection=function(c){var b=new CDATASection();b.data=b.nodeValue=c;b.length=c.length;b.ownerDocument=this;return b};Document.prototype.createProcessingInstruction=function(d,c){var b=new ProcessingInstruction();b.target=b.nodeName=d;b.data=b.nodeValue=c;b.ownerDocument=this;return b};Document.prototype.createAttribute=function(b){};Document.prototype.createEntityReference=function(b){var c=new EntityReference();c.nodeName=b;c.ownerDocument=this;return c};Document.prototype.getElementsByTagName=function(b){};Document.prototype.importNode=function(l,o){var q,c=l.nodeType,g,k,p,e,d,b;if(c===1){q=this.createElementNS(l.namespaceURI,l.nodeName);g=l.attributes;for(var f=0;g[f];++f){b=g[f];d=b.namespaceURI;d=(d==="")?null:d;k=this.createAttributeNS(d,b.nodeName);k.nodeValue=b.nodeValue;q.setAttributeNodeNS(k)}if(o){p=l.firstChild;while(p){e=this.importNode(p,true);q.appendChild(e);p=p.nextSibling}}f=void 0}else{if(c===3){q=this.createTextNode(l.data)}else{if(c===2){d=l.namespaceURI;d=(d==="")?null:d;q=this.createAttributeNS(d,l.nodeName);q.nodeValue=l.nodeValue}else{if(c===8){q=this.createComment(l.data)}else{if(c===Node.DOCUMENT_FRAGMENT_NODE){q=this.createDocumentFragment();if(o){b=l.childNodes;for(var f=0,j=b.length;f<j;f++){e=this.importNode(b[f],true);q.appendChild(e)}}f=j=void 0}else{if(c===Node.CDATA_SECTION_NODE){q=this.createCDATASection(l.data)}else{if(c===Node.ENTITY_REFERENCE_NODE){q=this.createEntityReference(l.nodeName);if(o){p=l.firstChild;while(p){e=this.importNode(p,true);q.appendChild(e);p=p.nextSibling}}}else{if(c===Node.ENTITY_NODE){q=new Entity();q.publicId=l.publicId;q.systemId=l.systemId;q.notationName=l.notationName}else{if(c===Node.PROCESSING_INSTRUCTION_NODE){q=this.createProcessingInstruction(l.nodeName,l.nodeValue)}else{if(c===Node.NOTATION_NODE){q=new Notation();q.publicId=l.publicId;q.systemId=l.systemId}else{throw (new DOMException(DOMException.NOT_SUPPORTED_ERR))}}}}}}}}}}l=o=c=g=k=p=e=d=b=void 0;return q};Document.prototype.createElementNS=function(c,i){var f,e=null,b=null;if(!i){throw (new DOMException(DOMException.INVALID_CHARACTER_ERR))}if(i.indexOf(":")!==-1){var g=i.split(":");e=g[0];b=g[1]}else{b=i}var j=false;if(c){var d=this.implementation;if(!!d[c]){if(!!d[c][b]){j=true}}}if(j){f=new (d[c][b])(this._document_)}else{f=new Element()}f.namespaceURI=c;f.nodeName=f.tagName=i;f.localName=b;f.prefix=e;f.ownerDocument=this;d=c=i=e=b=j=void 0;return f};Document.prototype._document_=document;Document.prototype.createAttributeNS=function(c,e){var b=new Attr(),d;b.namespaceURI=c;b.nodeName=b.name=e;if(e.indexOf(":")!==-1){d=e.split(":");b.prefix=d[0];b.localName=d[1]}else{b.prefix=null;b.localName=e}b.ownerDocument=this;d=e=void 0;return b};Document.prototype.getElementsByTagNameNS=function(c,b){var d=this.documentElement.getElementsByTagNameNS(c,b);return d};Document.prototype.getElementById=function(b){var c=!!this._id[b]?this._id[b]:null;return c};function STLog(b){this.jo=b;if(this.jo){this.p=document.createElement("div");this.p.innerHTML="<h1>例外処理のログ</h1>";document.body.insertBefore(this.p,document.body.firstChild)}return this}STLog.prototype.add=function(c,b){if(this.jo){this.p.innerHTML+="<p>"+b+":"+c.message+"</p>"}};function EventException(){DOMException.call(this,arguments);if(this.code===0){this.message="Uuspecified Event Type Error"}return this}EventException.UNSPECIFIED_EVENT_TYPE_ERR=0;EventException.prototype=new DOMException();EventException.constructor=DOMException;Node.prototype.addEventListener=function(e,g,b){this.removeEventListener(e,g,b);var d=new EventListener(b,e,g),c=e.charAt(0),f;this._capter.push(d);if((c!=="D")&&(c!=="S")&&(e!=="beginEvent")&&(e!=="endEvent")&&(e!=="repeatEvent")){f=this;f._tar&&f._tar.attachEvent("on"+e,(function(j,i){return function(){var k=j.ownerDocument.createEvent("MouseEvents");k.initMouseEvent(i,true,true,j.ownerDocument.defaultView,0);j.dispatchEvent(k);j.ownerDocument._window.event.cancelBubble=true;k=void 0}})(f,e))}e=g=b=d=c=f=void 0};Node.prototype.removeEventListener=function(e,g,b){var f=this._capter;for(var d=0,c=f.length;d<c;d++){if(f[d]._listener===g){f[d]=void 0}}d=c=f=void 0};Node.prototype.dispatchEvent=function(q){if(!q.type){throw new EventException(EventException.UNSPECIFIED_EVENT_TYPE_ERR)}var d=this,e=d.ownerDocument,k=q.timeStamp,s=q.type,t=q.bubbles,f,p,o=1,c="1",r="3",i;if(!e._isLoaded){if(!e._limit_time_){e._limit_time_=k}else{if((k-e._limit_time_)>1000){f=e.implementation._buffer_||[];p=f.length;f[p]=this;f[p+1]=q;e.implementation._buffer_=f;d=e=k=s=t=f=p=o=void 0;return true}}}q.target=d;q.eventPhase=1;e[r]=null;while(d.parentNode){d.parentNode[c]=d;d[r]=d.parentNode;d=d.parentNode}e[c]=d;d[r]=e;d=this;while(e){q.currentTarget=e;if(e===d){o=2}q.eventPhase=o;i=e._capter;for(var g=0,b=i.length;g<b;++g){if(i[g]&&(s===i[g]._type)){i[g].handleEvent(q)}}if(q._stop){break}if(e===d){if(!t){break}o=3}e=e[o]}var l=q._default;q=d=i=n=e=o=f=g=b=s=k=t=c=r=void 0;return l};function EventListener(b,c,d){this._cap=b;this._type=c;this._listener=d;return this}EventListener.prototype={handleEvent:function(b){try{var f=b.eventPhase,c=this._cap;if(f===1){c=c?false:true}if(!c&&(b.type===this._type)){this._listener(b)}b=f=c=void 0}catch(d){}}};function Event(){return this}Event.CAPTURING_PHASE=1;Event.AT_TARGET=2;Event.BUBBLING_PHASE=3;Event.prototype={timeStamp:0,type:null,target:null,currentTarget:null,eventPhase:Event.CAPTURING_PHASE,bubbles:false,cancelable:false,_stop:false,_default:true,stopPropagation:function(){this._stop=true},preventDefault:function(){if(this.cancelable){this._default=false;this.target.ownerDocument._window.event.returnValue=false}},initEvent:function(b,d,c){this.type=b;this.bubbles=d;this.cancelable=c;b=d=c=void 0}};Document.prototype.createEvent=function(d){var c,b=this._cevent[d];if(b){c=new b()}else{if(d==="SVGEvents"){c=new SVGEvent()}else{if(d==="TimeEvents"){c=new TimeEvent()}else{c=new Event()}}}c.type=d;c.timeStamp=+(new Date());d=void 0;return c};function UIEvent(){this.view;this.detail=0;return this}UIEvent.prototype=new Event();UIEvent.constructor=Event;UIEvent.prototype.initUIEvent=function(c,f,e,d,b){this.initEvent(c,f,e);this.detail=b;this.view=d};function MouseEvent(b){UIEvent.call(this,arguments);this.screenX;this.screenY;this.clientX=this.clientY=0;this.ctrlKey=this.shiftKey=this.altKey=this.metaKey=false;this.button;this.relatedTarget;return this}MouseEvent.prototype=new UIEvent();MouseEvent.constructor=UIEvent;MouseEvent.prototype.initMouseEvent=function(r,e,p,f,j,o,g,b,l,i,s,d,q,k,c){this.initUIEvent(r,e,p,f,j);this.screenX=o;this.screenY=g;this.clientX=b;this.clientY=l;this.ctrlKey=i;this.shiftKey=d;this.altKey=s;this.metaKey=q;this.button=k;this.relatedTarget=c};function MutationEvent(){return this}MutationEvent.prototype=new Event();MutationEvent.constructor=Event;(function(){this.initMutationEvent=function(b,g,f,c,j,d,e,i){this.initEvent(b,g,f);this.relatedNode=c;this.prevValue=j;this.newValue=d;this.attrName=e;this.attrChange=i;b=g=f=c=j=d=e=i=void 0};this.relatedNode=null;this.prevValue=this.newValue=this.attrName=null;this.attrChange=2}).apply(MutationEvent.prototype);MutationEvent.MODIFICATION=1;MutationEvent.ADDITION=2;MutationEvent.REMOVAL=3;Element.prototype.setAttributeNodeNS=function(d){if(d.ownerDocument!==this.ownerDocument){throw (new DOMException(DOMException.WRONG_DOCUMENT_ERR))}var c=this.attributes.setNamedItemNS(d);d.ownerElement=this;if(d.localName==="id"){this.ownerDocument._id[d.nodeValue]=this}var b=this.ownerDocument.createEvent("MutationEvents");if(!c){b.initEvent("DOMAttrModified",true,false);b.relatedNode=d;b.newValue=d.nodeValue;b.attrName=d.nodeName}else{b.initMutationEvent("DOMAttrModified",true,false,d,c.nodeValue,d.nodeValue,d.nodeName,MutationEvent.MODIFICATION)}this.dispatchEvent(b);b=void 0;return c};Node.prototype.insertBefore=function(c,d){var p=this.parentNode,g,q,e=this,r,o,l;if(p){while(!p){if(p===c){throw (new DOMException(DOMException.HIERARCHY_REQUEST_ERR))}p=p.parentNode}}if(this.ownerDocument!==c.ownerDocument){throw (new DOMException(DOMException.WRONG_DOCUMENT_ERR))}if(c.parentNode===this){this.removeChild(c)}if(!d){this.childNodes[this.childNodes.length]=c;if(this.lastChild){c.previousSibling=this.lastChild;this.lastChild.nextSibling=c}}else{if(d.parentNode!==this){throw (new DOMException(DOMException.NOT_FOUND_ERR))}this.childNodes.splice(d._num,1,c,d);g=d.previousSibling;if(g){g.nextSibling=c}d.previousSibling=c}c.nextSibling=d;this.firstChild=this.childNodes[0];this.lastChild=this.childNodes[this.childNodes.length-1];c.parentNode=this;if((c.nodeType===5)||(c.nodeType===11)){var b=c.childNodes.concat([]);for(var f=0,k=b.length;f<k;f++){this.insertBefore(b[f],c)}b=void 0}q=this.ownerDocument.createEvent("MutationEvents");q.initMutationEvent("DOMNodeInserted",true,false,this,null,null,null,null);c.dispatchEvent(q);do{r=e;e=e.parentNode}while(e);if(r!==this.ownerDocument.documentElement){q=r=void 0;return c}q=this.ownerDocument.createEvent("MutationEvents");q.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);c.dispatchEvent(q);if(!c.hasChildNodes()){return c}o=c.getElementsByTagNameNS("*","*");if(o){for(var f=0,j=o.length;f<j;++f){l=o[f];l.dispatchEvent(q);l=null}}q=o=void 0;p=g=e=r=l=void 0;return c};Node.prototype.removeChild=function(g){if(!(g instanceof Node)){throw (new Error())}var b=this.ownerDocument.createEvent("MutationEvents");b.initMutationEvent("DOMNodeRemovedFromDocument",false,false,null,null,null,null,null);g.dispatchEvent(b);var d=g.getElementsByTagNameNS("*","*");if(d){b.initMutationEvent("DOMNodeRemovedFromDocument",false,false,null,null,null,null,null);for(var c=0,f=d.length;c<f;++c){var e=d[c];b.target=e;e.dispatchEvent(b);e=void 0}}b.initMutationEvent("DOMNodeRemoved",true,false,this,null,null,null,null);g.dispatchEvent(b);b=d=void 0;if(g.parentNode===this){this.childNodes.splice(g._num,1)}else{throw (new DOMException(DOMException.NOT_FOUND_ERR))}if(g.ownerDocument!==this.ownerDocument){throw (new Error())}return g};CharacterData.prototype.appendData=function(b){var d=this.data,c;this.data+=b;this.length=this.data.length;c=this.ownerDocument.createEvent("MutationEvents");c.initMutationEvent("DOMCharacterDataModified",true,false,null,d,this.data,null,null);this.parentNode.dispatchEvent(c);c=b=d=void 0};CharacterData.prototype.insertData=function(g,b){var d=this.data,f=this.substring(0,g-1),e=this.substring(g,this.length-g),c;this.data=f+this.data+e;this.length=this.data.length;c=this.ownerDocument.createEvent("MutationEvents");c.initMutationEvent("DOMCharacterDataModified",true,false,null,d,this.data,null,null);this.parentNode.dispatchEvent(c);c=b=d=f=e=void 0};CharacterData.prototype.deleteData=function(d,c){var b=this.data;pre=this.substring(0,d-1),next=this.substring(d+c,this.length-1),evt;if(d+c>this.length){next=""}this.data=pre+next;this.length=this.data.length;evt=this.ownerDocument.createEvent("MutationEvents");evt.initMutationEvent("DOMCharacterDataModified",true,false,null,b,this.data,null,null);this.parentNode.dispatchEvent(evt);evt=b=void 0};Document.prototype._cevent={MutationEvents:MutationEvent,MouseEvents:MouseEvent,UIEvents:UIEvent};function StyleSheet(){this.type="text/css";this.disabled=false;this.ownerNode=null;this.parentStyleSheet=null;this.href=null;this.title="";this.media=new MediaList();return this}function MediaList(){this.mediaText="";this.length=0;return this}MediaList.prototype={item:function(b){return(this[b])},deleteMedium:function(b){for(var c=0,d=this.length;c<d;++c){if(this[c]===b){delete this[c];--this.length;return}}throw (new DOMException(DOMException.NOT_FOUND_ERR))},appendMedium:function(b){this[this.length]=b;++this.length}};function LinkStyle(){this.sheet=new StyleSheet();return this}function DocumentStyle(){this.styleSheets=[];return this}function CSSRule(){this.cssText="";this.parentStyleSheet;this.parentRule=null;return this}CSSRule.UNKNOWN_RULE=0;CSSRule.STYLE_RULE=1;CSSRule.CHARSET_RULE=2;CSSRule.IMPORT_RULE=3;CSSRule.MEDIA_RULE=4;CSSRule.FONT_FACE_RULE=5;CSSRule.PAGE_RULE=6;function CSSStyleRule(){CSSRule.call(this,arguments);this.type=CSSRule.STYLE_RULE;this.selectorText="";this.style=new CSSStyleDeclaration();this.style.parentRule=null;return this}CSSStyleRule.prototype=new CSSRule();CSSStyleRule.constructor=CSSRule;function CSSMediaRule(){CSSRule.call(this,arguments);this.type=CSSRule.MEDIA_RULE;this.media=new MediaList();this.cssRules=[];return this}CSSMediaRule.prototype=new CSSRule();CSSMediaRule.constructor=CSSRule;CSSMediaRule.prototype.insertRule=function(c,b){this.cssRules.splice(b,c,1);this.media.appendMedium(c);return this};CSSMediaRule.prototype.deleteRule=function(b){};function CSSFontFaceRule(){CSSRule.call(this,arguments);this.type=CSSRule.FONT_FACE_RULE;this.style;return this}CSSFontFaceRule.prototype=new CSSRule();CSSFontFaceRule.constructor=CSSRule;function CSSPageRule(){CSSRule.call(this,arguments);this.type=CSSRule.PAGE_RULE;this.selectorText="";this.style;return this}CSSPageRule.prototype=new CSSRule();CSSPageRule.constructor=CSSRule;function CSSImportRule(){CSSRule.call(this,arguments);this.type=CSSRule.IMPORT_RULE;this.href="";this.media=new MediaList();this.styleSheet=null;return this}CSSImportRule.prototype=new CSSRule();CSSImportRule.constructor=CSSRule;function CSSCharsetRule(){CSSRule.call(this,arguments);this.type=CSSRule.CHARSET_RULE;this.encoding="";return this}CSSCharsetRule.prototype=new CSSRule();CSSCharsetRule.constructor=CSSRule;function CSSUnknownRule(){CSSRule.call(this,arguments);this.type=CSSRule.UNKNOWN_RULE;return this}CSSUnknownRule.prototype=new CSSRule();CSSUnknownRule.constructor=CSSRule;function CSSStyleDeclaration(){this._list=[];this._list._fontSize=this._list._opacity=null;return this}CSSStyleDeclaration.prototype={cssText:"",length:0,parentRule:null,_urlreg:/url\(#([^)]+)/,getPropertyValue:function(c){var d=this.getPropertyCSSValue(c);if(d){var b=d.cssText;return(b.slice(b.indexOf(":")+1))}else{return""}},getPropertyCSSValue:function(d){var j=d,f,b;d+=":";if(d===":"){return null}for(var e=0,c=this._list,g=c.length;e<g;++e){f=c[e];b=f.cssText;if(b.indexOf(d)>-1){f._empercents=c._fontSize;e=c=g=b=j=d=void 0;return f}}e=c=g=j=d=void 0;return null},removeProperty:function(b){var c=this.getPropertyCSSValue(b);if(c){this._list.splice(c._num,1);--this.length}},getPropertyPriority:function(b){var c=this.getPropertyCSSValue(b);if(c){return(c._priority)}else{return""}},_isFillStroke:{fill:1,stroke:1},_isColor:{color:1},_isStop:{"stop-color":1},_isRS:{r:1,"#":1},setProperty:function(g,o,k){var e=g,c=null,b,j,l,d=null,f=null,q,p,i;if(!!this[g]){c=this.getPropertyCSSValue(g)}e+=":";e+=o;if(this._isFillStroke[g]){if(c){b=c}else{b=new SVGPaint()}j=0;l=o.charAt(0);if(this._isRS[l]||b._keywords[o]){j=1;f=o}else{if(o==="none"){j=101}else{if(this._urlreg.test(o)){j=107;d=RegExp.$1}else{if(o==="currentColor"){j=102}}}}b.setPaint(j,d,f,null);j=l=d=f=void 0}else{if(this._isStop[g]){if(c){b=c}else{b=new SVGColor()}if(o==="currentColor"){b.colorType=3}else{b.colorType=1}b.setRGBColor(o)}else{if(c){b=c}else{b=new CSSPrimitiveValue()}}}b._priority=k;b.cssText=e;if(!c){b._num=this._list.length;this._list[b._num]=b;this[g]=1;++this.length}if(o==="inherit"){b.cssValueType=CSSValue.CSS_INHERIT}else{if(g==="opacity"){this._list._opacity=+o}else{if(g==="font-size"){if(/(%|em|ex)/.test(o)){c="_"+RegExP.$1;b[c]=parseFloat(o)}else{this._em=this._ex=this["_%"]=null;this._list._fontSize=parseFloat(o)}}}}e=void 0},item:function(b){if(b>=this.length){var c=""}else{var c=this._list[b].cssText.substring(0,this._list[b].cssText.indexOf(":"))}return c}};function CSSValue(){return this}CSSValue.CSS_INHERIT=0;CSSValue.CSS_PRIMITIVE_VALUE=1;CSSValue.CSS_VALUE_LIST=2;CSSValue.CSS_CUSTOM=3;CSSValue.prototype={cssText:"",cssValueType:CSSValue.CSS_CUSTOM,_isDefault:0};function CSSPrimitiveValue(){return this}(function(b){b.CSS_UNKNOWN=0;b.CSS_NUMBER=1;b.CSS_PERCENTAGE=2;b.CSS_EMS=3;b.CSS_EXS=4;b.CSS_PX=5;b.CSS_CM=6;b.CSS_MM=7;b.CSS_IN=8;b.CSS_PT=9;b.CSS_PC=10;b.CSS_DEG=11;b.CSS_RAD=12;b.CSS_GRAD=13;b.CSS_MS=14;b.CSS_S=15;b.CSS_HZ=16;b.CSS_KHZ=17;b.CSS_DIMENSION=18;b.CSS_STRING=19;b.CSS_URI=20;b.CSS_IDENT=21;b.CSS_ATTR=22;b.CSS_COUNTER=23;b.CSS_RECT=24;b.CSS_RGBCOLOR=25;b.prototype=new CSSValue();b.constructor=CSSValue})(CSSPrimitiveValue);(function(){this._n=[1,0.01,1,1,1,35.43307,3.543307,90,1.25,15,1,180/Math.PI,90/100,1,1000,1,1000,1];this.cssValueType=CSSValue.CSS_PRIMITIVE_VALUE;this.primitiveType=CSSPrimitiveValue.CSS_UNKNOWN;this._value=null;this._percent=0;this._empercent=0;this._em=this._ex=this["_%"]=null;this.setFloatValue=function(b,c){if((0>=b)&&(b>=19)){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}this.primitiveType=b;this._value=c*this._n[b-1]};this._regd=/[\d\.]+/;this.getFloatValue=function(c){if((0>=c)&&(c>=19)){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}if(this._value||(this._value===0)){return(this._value/this._n[c-1])}else{var b=this.cssText,f=b.slice(-1),e=0,d=+(b.match(this._regd));d=isNaN(d)?0:d;if(f>="0"&&f<="9"){e=1;if(c===1){c=b=f=e=void 0;return d}}else{if(f==="%"){d*=this._percent;e=2}else{if((f==="m")&&(b.charAt(b.length-2)==="e")){d*=this._empercent;e=3}else{if((f==="x")&&(b.charAt(b.length-2)==="e")){e=4}else{if((f==="x")&&(b.charAt(b.length-2)==="p")){e=5}else{if((f==="m")&&(b.charAt(b.length-2)==="c")){e=6}else{if((f==="m")&&(b.charAt(b.length-2)==="m")){e=7}else{if(f==="n"){e=8}else{if(f==="t"){e=9}else{if(f==="c"){e=10}}}}}}}}}}d=d*this._n[e-1]/this._n[c-1];b=f=e=c=void 0;return d}};this.setStringValue=function(c,b){if(CSSPrimitiveValue.CSS_DIMENSION>=c&&c>=CSSPrimitiveValue.CSS_COUNTER){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}this._value=b};this.getStringValue=function(b){if(CSSPrimitiveValue.CSS_DIMENSION>=b&&b>=CSSPrimitiveValue.CSS_COUNTER){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}return(this._value)};this.getCounterValue=function(){if(this.primitiveType!==CSSPrimitiveValue.CSS_COUNTER){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}return(new Counter())};this.getRectValue=function(){if(this.primitiveType!==CSSPrimitiveValue.CSS_RECT){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}return(new Rect())};this.getRGBColorValue=function(){if(this.primitiveType!==CSSPrimitiveValue.CSS_RGBCOLOR){throw new DOMException(DOMException.INVALID_ACCESS_ERR)}var b=new RGBColor();var c=this.cssText;var d=SVGColor.prototype._keywords[c];if(d!==void 0){c=d}if(c.indexOf("%",5)>0){c=c.replace(/[\d.]+%/g,function(f){return Math.round((2.55*parseFloat(f)))})}else{if(c.indexOf("#")>-1){c=c.replace(/[\da-f][\da-f]/gi,function(f){return parseInt(f,16)})}}var e=c.match(/\d+/g);b.red.setFloatValue(CSSPrimitiveValue.CSS_NUMBER,parseFloat(e[0]));b.green.setFloatValue(CSSPrimitiveValue.CSS_NUMBER,parseFloat(e[1]));b.blue.setFloatValue(CSSPrimitiveValue.CSS_NUMBER,parseFloat(e[2]));e=c=void 0;return(b)}}).apply(CSSPrimitiveValue.prototype);function CSSValueList(){this.cssValueType=CSSValue.CSS_VALUE_LIST;this.length=0;return this}CSSValueList.prototype=new CSSValue();CSSValueList.constructor=CSSValue;CSSValueList.prototype.item=function(b){return(this[b])};function RGBColor(){var b=CSSPrimitiveValue;this.red=new b();this.green=new b();this.blue=new b();b=void 0;this.red.primitiveType=this.green.primitiveType=this.blue.primitiveType=1;return this}function Rect(){var b=CSSPrimitiveValue;this.top=new b();this.right=new b();this.bottom=new b();this.left=new b();b=void 0;return this}function Counter(){this.identifier=this.listStyle=this.separator="";return this}function ElementCSSInlineStyle(){var b=CSSStyleDeclaration;this.style=new b();this._attributeStyle=new b();b=void 0;return this}var n="none",m="normal",a="auto",CSS2Properties={fill:"black",stroke:n,cursor:a,visibility:"visible",display:"inline-block",opacity:"1",fillOpacity:"1",strokeWidth:"1",strokeDasharray:n,strokeDashoffset:"0",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:"4",strokeOpacity:"1",writingMode:"lr-tb",fontFamily:"serif",fontSize:"12",color:"black",fontSizeAdjust:n,fontStretch:m,fontStyle:m,fontVariant:m,fontWeight:m,font:"inline",stopColor:"black",stopOpacity:"1",textAnchor:"start",azimuth:"center",clip:a,direction:"ltr",letterSpacing:m,lineHeight:m,overflow:"visible",textAlign:"left",textDecoration:n,textIndent:"0",textShadow:n,textTransform:n,unicodeBidi:m,verticalAlign:"baseline",whiteSpace:m,wordSpacing:m,zIndex:a,mask:n,enableBackground:"accumulate",filter:n,floodColor:"black",floodOpacity:"1",lightingColor:"white",pointerEvents:"visiblePainted",colorInterpolation:"sRGB",colorInterpolationFilters:"linearRGB",colorProfile:a,colorRendering:a,imageRendering:a,marker:"",markerEnd:n,markerMid:n,markerStart:n,shapeRendering:a,textRendering:a,alignmentBaseline:"",baselineShift:"baseline",dominantBaseline:a,glyphOrientationHorizontal:"0deg",glyphOrientationVertical:a,kerning:a,fillRule:"nonzero"};n=m=a=void 0;CSS2Properties.visibility._n=1;function CSSStyleSheet(){this.ownerRule=null;this.cssRules=[];return this}CSSStyleSheet.prototype=new StyleSheet();CSSStyleSheet.constructor=StyleSheet;CSSStyleSheet.prototype.insertRule=function(g,e){var l=new CSSStyleRule(),b=l.style,j,f=g.match(/\{[\s\S]+\}/),c;l.parentStyleSheet=this;b.cssText=g;f=f.replace(/^[^a-z\-]+/,"").replace(/\:\s+/g,":").replace(/\s*;[^a-z\-]*/g,";");j=f.split(";");for(var d=0,k=j.length;d<k;++d){ai=j[d],c=ai.split(":");if(ai!==""){b.setProperty(c[0],c[1])}ai=c=void 0}j=f=b=void 0;this.cssRules.splice(e,l,1)};CSSStyleSheet.prototype.deleteRule=function(b){this.cssRules.splice(b,1)};Document.prototype.defaultView=new ViewCSS();function ViewCSS(){return this}ViewCSS.prototype.getComputedStyle=function(c,g){var e=new CSSStyleDeclaration(),d,f,b=1;e.getPropertyCSSValue=(function(i,k,j){return function(l){var r=i,q=null,s;while(r&&(!q||(q.cssValueType===0))){if(r._runtimeStyle&&r._runtimeStyle[l]){q=r._runtimeStyle.getPropertyCSSValue(l)}else{if(r.style&&r.style[l]){q=r.style.getPropertyCSSValue(l)}else{if(r._attributeStyle&&r._attributeStyle[l]){q=r._attributeStyle.getPropertyCSSValue(l)}else{if(r._rules){for(var p=0,o=r._rules.length;p<o;++p){r._rules[p].style[l]&&(q=r._rules[p].style.getPropertyCSSValue(l))}}}}}r=r.parentNode}if(!q||(q.cssValueType===0)){k&&(q=k[l])}if(q&&q.setRGBColor&&((q.paintType===102)||(q.colorType===3))){q.setRGBColor(j.getPropertyValue("color"))}else{if(q&&(q._em||q._ex||q["_%"])){r=i;s=1;while(r){if(r.style._list._fontSize){s=r.style._list._fontSize;break}r=r.parentNode}if(q._em){s*=q._em}else{if(q._ex){s*=q._ex*0.5}else{if(q["_%"]){s*=q["_%"]/100}}}q.cssText="font-size:"+s+"px"}}r=void 0;return q}})(c,this._defaultCSS,e);d=c;while(d){if(d.style){f=d.style._list._opacity||d._attributeStyle._list._opacity;b*=f||1}d=d.parentNode}e._list._opacity=b;d=pelt=b=f=void 0;e._document=c.ownerDocument;return e};Document.prototype.getOverrideStyle=function(c,f){var b=c;if(!!b._runtimeStyle){return(b._runtimeStyle)}else{var e=new CSSStyleDeclaration(),d=e.setProperty;b._runtimeStyle=e}e.setProperty=(function(g,i){return function(q,t,s){g.call(i,q,t,s);var p=c,j=p._tar,o=isStroke=false;if((p.localName==="g")||(p.localName==="a")){var k=p.getElementsByTagNameNS("http://www.w3.org/2000/svg","*");if(k){for(var l=0,u=k.length;l<u;++l){var r=k[l];NAIBU._setPaint(r,r.getScreenCTM());r=void 0}k=void 0}j=null}if(!j){return}NAIBU._setPaint(p,p.getScreenCTM());j=p=t=void 0}})(d,e);return e};DOMImplementation.createCSSStyleSheet=function(j,g){var f=new CSSStyleSheet();f.title=j;var b=new MediaList();b.mediaText=g;if(g&&(g!=="")){var c=g.split(",");for(var e=0,d=c.length;e<d;++e){b.appendMedium(c[e])}}f.media=b;return f};function ElementTimeControl(b){this._tar=b;this._begin=0;this._end=null;return this}ElementTimeControl.prototype={beginElement:function(){var c=this.ownerDocument,b=c.createEvent("TimeEvents");b.initTimeEvent("beginEvent",c.defaultView,0);this.dispatchEvent(b)},endElement:function(){var c=this.ownerDocument,b=c.createEvent("TimeEvents");b.initTimeEvent("endEvent",c.defaultView,0);this.dispatchEvent(b)},beginElementAt:function(c){var b=this.ownerDocument.documentElement.getCurrentTime();this._begin=c+b},endElementAt:function(c){var b=this.ownerDocument.documentElement.getCurrentTime();this._end=c+b}};function TimeEvent(){Event.apply(this);this.view;this.detail;return this}TimeEvent.counstructor=Event;TimeEvent.prototype=new Event();TimeEvent.prototype.initTimeEvent=function(c,d,b){this.type=c;this.view=d;this.detail=b};var NAIBU={};function SVGException(b){this.code=b;if(this.code===SVGException.SVG_WRONG_TYPE_ERR){this.message="SVG Wrong Type Error"}else{if(this.code===SVGException.SVG_INVALID_VALUE_ERR){this.message="SVG Invalid Value Error"}else{if(this.code===SVGException.SVG_MATRIX_NOT_INVERTABLE){this.message="SVG Matrix Not Invertable"}}}return this}SVGException.constructor=Error;SVGException.prototype=new Error();SVGException.SVG_WRONG_TYPE_ERR=0;SVGException.SVG_INVALID_VALUE_ERR=1;SVGException.SVG_MATRIX_NOT_INVERTABLE=2;function SVGElement(){Element.call(this);SVGStylable.call(this);this.transform=new SVGAnimatedTransformList();this.addEventListener("DOMAttrModified",function(evt){if(evt.eventPhase===3){return}var name=evt.attrName,tar=evt.target;if(!!CSS2Properties[name]||(name.indexOf("-")>-1)){tar._attributeStyle.setProperty(name,evt.newValue,"")}if(evt.relatedNode.localName==="id"){tar.id=evt.newValue}else{if((name==="transform")&&!!tar.transform){var tft=evt.newValue,degR=tar._degReg,coma=tft.match(tar._comaReg),list=tft.match(tar._strReg),a,b,c,d,e,f,lis,com,deg,rad,degli,s,cm,degz,etod=evt.target.ownerDocument.documentElement,ttb=tar.transform.baseVal;for(var j=0,cli=coma.length;j<cli;j++){s=etod.createSVGTransform();lis=list[j],com=coma[j];deg=lis.match(degR);degli=deg.length;if(degli===6){cm=s.matrix;cm.a=+(deg[0]);cm.b=+(deg[1]);cm.c=+(deg[2]);cm.d=+(deg[3]);cm.e=+(deg[4]);cm.f=+(deg[5])}else{if(degli===3){degz=+(deg[0]);s.setRotate(degz,+(deg[1]),+(deg[2]))}else{if(degli<=2){degz=+(deg[0]);if(com==="translate"){s.setTranslate(degz,+(deg[1]||0))}else{if(com==="scale"){s.setScale(degz,+(deg[1]||deg[0]))}else{if(com==="rotate"){s.setRotate(degz,0,0)}else{if(com==="skewX"){s.setSkewX(degz)}else{if(com==="skewY"){s.setSkewY(degz)}}}}}}}}ttb.appendItem(s)}tft=degR=coma=list=a=b=c=d=e=f=lis=com=deg=rad=degli=s=cm=degz=etod=ttb=void 0}else{if(name==="style"){var sc=evt.newValue,style=tar.style,a,ai,m;style.cssText=sc;if(sc!==""){sc=sc.replace(tar._shouReg,"").replace(tar._conReg,":").replace(tar._bouReg,";");a=sc.split(";");for(var i=0,ali=a.length;i<ali;++i){ai=a[i],m=ai.split(":");if(ai!==""){style.setProperty(m[0],m[1])}ai=m=void 0}}a=sc=style=void 0}else{if(name==="class"){tar.className=evt.newValue}else{if(name.indexOf("on")===0){eval("document._s = (function(evt){"+evt.newValue+"})");var v=name.slice(2);if(v==="load"){v="SVGLoad"}else{if(v==="unload"){v="SVGUnload"}else{if(v==="abort"){v="SVGAbort"}else{if(v==="error"){v="SVGError"}else{if(v==="resize"){v="SVGResize"}else{if(v==="scroll"){v="SVGScroll"}else{if(v==="zoom"){v="SVGZoom"}else{if(v==="begin"){v="beginEvent"}else{if(v==="end"){v="endEvent"}else{if(v==="repeat"){v="repeatEvent"}}}}}}}}}}tar.addEventListener(v,document._s,false)}else{if(evt.relatedNode.nodeName==="xml:base"){tar.xmlbase=evt.newValue}else{if(!!tar[name]&&(tar[name] instanceof SVGAnimatedLength)){var tea=tar[name],tod=tar.ownerDocument.documentElement,tvw=tod.viewport.width,tvh=tod.viewport.height,s,n=evt.newValue.slice(-2),m=n.charAt(1),type=1,_parseFloat=parseFloat;if(m>="0"&&m<="9"){}else{if(m==="%"){if(tar._x1width[name]){tea.baseVal._percent=tvw*0.01}else{if(tar._y1height[name]){tea.baseVal._percent=tvh*0.01}else{tea.baseVal._percent=Math.sqrt((tvw*tvw+tvh*tvh)/2)*0.01}}type=2}else{if(n==="em"){type=3}else{if(n==="ex"){type=4}else{if(n==="px"){type=5}else{if(n==="cm"){type=6}else{if(n==="mm"){type=7}else{if(n==="in"){type=8}else{if(n==="pt"){type=9}else{if(n==="pc"){type=10}}}}}}}}}}s=_parseFloat(evt.newValue);s=isNaN(s)?0:s;tea.baseVal.newValueSpecifiedUnits(type,s);tea=tod=tvw=tvh=n=type=_parseFloat=s=void 0}}}}}}}evt=_parseFloat=name=tar=null},false);return this}SVGElement.constructor=Element;SVGElement.prototype=new Element();(function(){this._degReg=/[\-\d\.e]+/g;this._comaReg=/[A-Za-z]+(?=\s*\()/g;this._strReg=/\([^\)]+\)/g;this._syouReg=/^[^a-z\-]+/;this._conReg=/\:\s+/g;this._bouReg=/\s*;[^a-z\-]*/g;this._cacheMatrix=null;this._x1width={x:1,x1:1,x2:1,width:1,cx:1};this._y1height={y:1,y1:1,y2:1,height:1,cy:1};this.id=null;this.xmlbase=null;this.ownerSVGElement;this.viewportElement;this.nearestViewportElement=null;this.farthestViewportElement=null;this.getBBox=function(){var q=new SVGRect(),e=this._tar.path.value,c=this.ownerDocument.documentElement.viewport,b=c.width,l=c.height,p=0,j=0,o=e.match(/[0-9\-]+/g),g,f;for(var d=0,k=o.length;d<k;d+=2){g=+(o[d]),f=+(o[d+1]);b=b>g?g:b;l=l>f?f:l;p=p>g?p:g;j=j>f?j:f}q.x=b;q.y=l;q.width=p-b;q.height=j-l;g=f=e=o=b=l=p=j=c=void 0;return q};this.getCTM=function(){var c,b;if(!!this._cacheMatrix){c=this._cacheMatrix}else{b=this.transform.baseVal.consolidate();if(b){b=b.matrix}else{b=this.ownerDocument.documentElement.createSVGMatrix()}if(this.parentNode&&!!this.parentNode.getCTM){c=this.parentNode.getCTM().multiply(b)}else{c=b}b=void 0;this._cacheMatrix=c}return c};this.getScreenCTM=function(){if(!this.parentNode){return null}var b=this.nearestViewportElement||this.ownerDocument.documentElement;var c=b.getScreenCTM().multiply(this.getCTM());b=null;return c};this.getTransformToElement=function(b){var c=this.getScreenCTM().inverse().multiply(b.getScreenCTM());return c}}).apply(SVGElement.prototype);function SVGAnimatedBoolean(){this.animVal=this.baseVal=true;return this}function SVGAnimatedString(){this.animVal=this.baseVal="";return this}function SVGStringList(){return this}SVGStringList.prototype=new Array();(function(){this.numberOfItems=0;this.clear=function(){for(var b=0,c=this.length;b<c;++b){delete this[b]}this.numberOfItems=0};this.initialize=function(b){this.clear();this[0]=b;this.numberOfItems=1;return b};this.getItem=function(b){if(b>=this.numberOfItems||b<0){throw (new DOMException(DOMException.INDEX_SIZE_ERR))}else{return(this[b])}};this.insertItemBefore=function(c,b){if(b>=this.numberOfItems){this.appendItem(c)}else{this.splice(b,1,c,this.getItem[b]);++this.numberOfItems}return c};this.replaceItem=function(c,b){if(b>=this.numberOfItems||b<0){throw (new DOMException(DOMException.INDEX_SIZE_ERR))}else{this.splice(b,1,c)}return c};this.removeItem=function(b){if(b>=this.numberOfItems||b<0){throw (new DOMException(DOMException.INDEX_SIZE_ERR))}else{this.splice(b,1);--this.numberOfItems}return newItem};this.appendItem=function(b){this[this.numberOfItems]=b;++this.numberOfItems}}).apply(SVGStringList.prototype);function SVGAnimatedEnumeration(){this.baseVal=0;this.animVal=0;return this}function SVGAnimatedInteger(){this.baseVal=0;this.animVal=0;return this}function SVGNumber(){this.value=0;return this}function SVGAnimatedNumber(){this.baseVal=this.animVal=0;return this}function SVGNumberList(){return this}for(var prop in SVGStringList.prototype){SVGNumberList.prototype[prop]=SVGStringList.prototype[prop]}function SVGAnimatedNumberList(){this.animVal=this.baseVal=new SVGNumberList();return this}function SVGLength(){return this}(function(b){b.SVG_LENGTHTYPE_UNKNOWN=0;b.SVG_LENGTHTYPE_NUMBER=1;b.SVG_LENGTHTYPE_PERCENTAGE=2;b.SVG_LENGTHTYPE_EMS=3;b.SVG_LENGTHTYPE_EXS=4;b.SVG_LENGTHTYPE_PX=5;b.SVG_LENGTHTYPE_CM=6;b.SVG_LENGTHTYPE_MM=7;b.SVG_LENGTHTYPE_IN=8;b.SVG_LENGTHTYPE_PT=9;b.SVG_LENGTHTYPE_PC=10})(SVGLength);SVGLength.prototype={unitType:SVGLength.SVG_LENGTHTYPE_UNKNOWN,value:0,valueInSpecifiedUnits:SVGLength.SVG_LENGTHTYPE_UNKNOWN,valueAsString:"0",_percent:0.01,_fontSize:12,newValueSpecifiedUnits:function(b,d){var e=1,c="";if(b===1){}else{if(b===5){c="px"}else{if(b===2){e=this._percent;c="%"}else{if(b===3){e=this._fontSize;c="em"}else{if(b===4){e=this._fontSize*0.5;c="ex"}else{if(b===6){e=35.43307;c="cm"}else{if(b===7){e=3.543307;c="mm"}else{if(b===8){e=90;c="in"}else{if(b===9){e=1.25;c="pt"}else{if(b===10){e=15;c="pc"}else{throw new DOMException(DOMException.NOT_SUPPORTED_ERR)}}}}}}}}}}this.unitType=b;this.value=d*e;this.valueInSpecifiedUnits=d;this.valueAsString=d+c;d=b=e=c=void 0},convertToSpecifiedUnits:function(c){if(this.value===0){this.newValueSpecifiedUnits(c,0);return}var b=this.value;this.newValueSpecifiedUnits(c,this.valueInSpecifiedUnits);b=b/this.value*this.valueInSpecifiedUnits;this.newValueSpecifiedUnits(c,b)},_emToUnit:function(b){if((this.unitType===3)||(this.unitType===4)){this._fontSize=b;this.newValueSpecifiedUnits(this.unitType,this.valueInSpecifiedUnits)}}};function SVGAnimatedLength(){this.animVal;this.baseVal=new SVGLength();this.baseVal.unitType=1;return this}function SVGLengthList(){return this}for(var prop in SVGStringList.prototype){SVGLengthList.prototype[prop]=SVGStringList.prototype[prop]}function SVGAnimatedLengthList(){this.animVal=this.baseVal=new SVGLengthList();return this}function SVGAngle(){return this}SVGAngle.prototype={unitType:0,value:0,valueInSpecifiedUnits:0,valueAsString:"0",newValueSpecifiedUnits:function(b,d){var e=1,c="";if(b===SVGAngle.SVG_ANGLETYPE_UNSPECIFIED){}else{if(b===SVGAngle.SVG_ANGLETYPE_DEG){c="deg"}else{if(b===SVGAngle.SVG_ANGLETYPE_RAD){e=Math.PI/180;c="rad"}else{if(b===SVGAngle.SVG_ANGLETYPE_GRAD){e=9/10;c="grad"}else{throw new DOMException(DOMException.NOT_SUPPORTED_ERR)}}}}this.unitType=b;this.value=d*e;this.valueInSpecifiedUnits=d;this.valueAsString=d+c;e=c=void 0},convertToSpecifiedUnits:function(c){if(this.value===0){this.newValueSpecifiedUnits(c,0);return}var b=this.value;this.newValueSpecifiedUnits(c,this.valueInSpecifiedUnits);b=b/this.value*this.valueInSpecifiedUnits;this.newValueSpecifiedUnits(c,b)}};SVGAngle.SVG_ANGLETYPE_UNKNOWN=0;SVGAngle.SVG_ANGLETYPE_UNSPECIFIED=1;SVGAngle.SVG_ANGLETYPE_DEG=2;SVGAngle.SVG_ANGLETYPE_RAD=3;SVGAngle.SVG_ANGLETYPE_GRAD=4;function SVGAnimatedAngle(){this.baseVal=new SVGAngle();this.animVal=this.baseVal;return this}function SVGColor(){CSSValue.apply(this);this.rgbColor=new RGBColor();return this}SVGColor.SVG_COLORTYPE_UNKNOWN=0;SVGColor.SVG_COLORTYPE_RGBCOLOR=1;SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR=2;SVGColor.SVG_COLORTYPE_CURRENTCOLOR=3;SVGColor.prototype=new CSSValue();SVGColor.constructor=CSSValue;(function(){this.colorType=0;this.iccColor=null;this._regD=/\d+/g;this._regDP=/[\d.]+%/g;this.setRGBColor=function(k){var f,e,j,i,d,l;if(!k||(typeof k!=="string")){throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}k=this._keywords[k]||k;if(k.indexOf("%",5)>0){k=k.replace(this._regDP,function(b){return Math.round((2.55*parseFloat(b)))});f=k.match(this._regD)}else{if(k.indexOf("#")===0){f=[];e=parseInt;j=k.charAt(1);i=k.charAt(2);d=k.charAt(3);if(k.length<5){l="#"+j+j+i+i+d+d;k=l;l=void 0}f[0]=e(j+k.charAt(2),16)+"";f[1]=e(k.charAt(3)+k.charAt(4),16)+"";f[2]=e(k.charAt(5)+k.charAt(6),16)+"";j=i=d=void 0}else{f=k.match(this._regD);if(!f||(f.length<3)){k=void 0;throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}}}this.rgbColor.red.setFloatValue(1,f[0]);this.rgbColor.green.setFloatValue(1,f[1]);this.rgbColor.blue.setFloatValue(1,f[2]);k=f=e=void 0};this.setColor=function(b,c,d){this.colorType=b;if((b===1)&&d){throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}else{if(b===1){this.setRGBColor(c)}else{if(c&&(b===3)){this.setRGBColor(c)}else{if((b===0)&&(c||d)){throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}else{if((b===2)&&(c||!d)){throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}}}}}b=c=void 0};this._keywords={aliceblue:"rgb(240,248,255)",antiquewhite:"rgb(250,235,215)",aqua:"rgb(0,255,255)",aquamarine:"rgb(127,255,212)",azure:"rgb(240,255,255)",beige:"rgb(245,245,220)",bisque:"rgb(255,228,196)",black:"rgb(0,0,0)",blanchedalmond:"rgb(255,235,205)",blue:"rgb(0,0,255)",blueviolet:"rgb(138,43,226)",brown:"rgb(165,42,42)",burlywood:"rgb(222,184,135)",cadetblue:"rgb(95,158,160)",chartreuse:"rgb(127,255,0)",chocolate:"rgb(210,105,30)",coral:"rgb(255,127,80)",cornflowerblue:"rgb(100,149,237)",cornsilk:"rgb(255,248,220)",crimson:"rgb(220,20,60)",cyan:"rgb(0,255,255)",darkblue:"rgb(0,0,139)",darkcyan:"rgb(0,139,139)",darkgoldenrod:"rgb(184,134,11)",darkgray:"rgb(169,169,169)",darkgreen:"rgb(0,100,0)",darkgrey:"rgb(169,169,169)",darkkhaki:"rgb(189,183,107)",darkmagenta:"rgb(139,0,139)",darkolivegreen:"rgb(85,107,47)",darkorange:"rgb(255,140,0)",darkorchid:"rgb(153,50,204)",darkred:"rgb(139,0,0)",darksalmon:"rgb(233,150,122)",darkseagreen:"rgb(143,188,143)",darkslateblue:"rgb(72,61,139)",darkslategray:"rgb(47,79,79)",darkslategrey:"rgb(47,79,79)",darkturquoise:"rgb(0,206,209)",darkviolet:"rgb(148,0,211)",deeppink:"rgb(255,20,147)",deepskyblue:"rgb(0,191,255)",dimgray:"rgb(105,105,105)",dimgrey:"rgb(105,105,105)",dodgerblue:"rgb(30,144,255)",firebrick:"rgb(178,34,34)",floralwhite:"rgb(255,250,240)",forestgreen:"rgb(34,139,34)",fuchsia:"rgb(255,0,255)",gainsboro:"rgb(220,220,220)",ghostwhite:"rgb(248,248,255)",gold:"rgb(255,215,0)",goldenrod:"rgb(218,165,32)",gray:"rgb(128,128,128)",grey:"rgb(128,128,128)",green:"rgb(0,128,0)",greenyellow:"rgb(173,255,47)",honeydew:"rgb(240,255,240)",hotpink:"rgb(255,105,180)",indianred:"rgb(205,92,92)",indigo:"rgb(75,0,130)",ivory:"rgb(255,255,240)",khaki:"rgb(240,230,140)",lavender:"rgb(230,230,250)",lavenderblush:"rgb(255,240,245)",lawngreen:"rgb(124,252,0)",lemonchiffon:"rgb(255,250,205)",lightblue:"rgb(173,216,230)",lightcoral:"rgb(240,128,128)",lightcyan:"rgb(224,255,255)",lightgoldenrodyellow:"rgb(250,250,210)",lightgray:"rgb(211,211,211)",lightgreen:"rgb(144,238,144)",lightgrey:"rgb(211,211,211)",lightpink:"rgb(255,182,193)",lightsalmon:"rgb(255,160,122)",lightseagree:"rgb(32,178,170)",lightskyblue:"rgb(135,206,250)",lightslategray:"rgb(119,136,153)",lightslategrey:"rgb(119,136,153)",lightsteelblue:"rgb(176,196,222)",lightyellow:"rgb(255,255,224)",lime:"rgb(0,255,0)",limegreen:"rgb(50,205,50)",linen:"rgb(250,240,230)",magenta:"rgb(255,0,255)",maroon:"rgb(128,0,0)",mediumaquamarine:"rgb(102,205,170)",mediumblue:"rgb(0,0,205)",mediumorchid:"rgb(186,85,211)",mediumpurple:"rgb(147,112,219)",mediumseagreen:"rgb(60,179,113)",mediumslateblue:"rgb(123,104,238)",mediumspringgreen:"rgb(0,250,154)",mediumturquoise:"rgb(72,209,204)",mediumvioletred:"rgb(199,21,133)",midnightblue:"rgb(25,25,112)",mintcream:"rgb(245,255,250)",mistyrose:"rgb(255,228,225)",moccasin:"rgb(255,228,181)",navajowhite:"rgb(255,222,173)",navy:"rgb(0,0,128)",oldlace:"rgb(253,245,230)",olive:"rgb(128,128,0)",olivedrab:"rgb(107,142,35)",orange:"rgb(255,165,0)",orangered:"rgb(255,69,0)",orchid:"rgb(218,112,214)",palegoldenrod:"rgb(238,232,170)",palegreen:"rgb(152,251,152)",paleturquoise:"rgb(175,238,238)",palevioletred:"rgb(219,112,147)",papayawhip:"rgb(255,239,213)",peachpuff:"rgb(255,218,185)",peru:"rgb(205,133,63)",pink:"rgb(255,192,203)",plum:"rgb(221,160,221)",powderblue:"rgb(176,224,230)",purple:"rgb(128,0,128)",red:"rgb(255,0,0)",rosybrown:"rgb(188,143,143)",royalblue:"rgb(65,105,225)",saddlebrown:"rgb(139,69,19)",salmon:"rgb(250,128,114)",sandybrown:"rgb(244,164,96)",seagreen:"rgb(46,139,87)",seashell:"rgb(255,245,238)",sienna:"rgb(160,82,45)",silver:"rgb(192,192,192)",skyblue:"rgb(135,206,235)",slateblue:"rgb(106,90,205)",slategray:"rgb(112,128,144)",slategrey:"rgb(112,128,144)",snow:"rgb(255,250,250)",springgreen:"rgb(0,255,127)",steelblue:"rgb(70,130,180)",tan:"rgb(210,180,140)",teal:"rgb(0,128,128)",thistle:"rgb(216,191,216)",tomato:"rgb(255,99,71)",turquoise:"rgb(64,224,208)",violet:"rgb(238,130,238)",wheat:"rgb(245,222,179)",white:"rgb(255,255,255)",whitesmoke:"rgb(245,245,245)",yellow:"rgb(255,255,0)",yellowgreen:"rgb(154,205,50)"}}).apply(SVGColor.prototype);function SVGRect(){this.x=0;this.y=0;this.width=0;this.height=0;return this}function SVGAnimatedRect(){this.animVal=this.baseVal=new SVGRect();return this}SVGUnitTypes={SVG_UNIT_TYPE_UNKNOWN:0,SVG_UNIT_TYPE_USERSPACEONUSE:1,SVG_UNIT_TYPE_OBJECTBOUNDINGBOX:2};function SVGStylable(){this.className=new SVGAnimatedString();this.style=new CSSStyleDeclaration();this._attributeStyle=new CSSStyleDeclaration()}SVGElement.prototype.getPresentationAttribute=function(b){var c=this._attributeStyle.getPropertyCSSValue(b);if(c){return c}else{return null}};function SVGURIReference(){this.href=new SVGAnimatedString();this._instance=null;this._text="";this.addEventListener("DOMAttrModified",function(b){if((b.relatedNode.namespaceURI==="http://www.w3.org/1999/xlink")&&(b.attrName==="xlink:href")){b.target.href.baseVal=b.newValue;b.target.ownerDocument.documentElement._svgload_limited++}b=void 0},false);this.addEventListener("DOMNodeInserted",function(c){var b=c.target;if(c.eventPhase===3){return}b.addEventListener("DOMNodeInsertedIntoDocument",function(s){var k=s.target,g,d=k.href.baseVal,r,i,v,p,t,j,f,o,e,q,u,l;if(d!==""){i=k.xmlbase;if(!i){v=k.parentNode;p=null;while(!p&&v){p=v.xmlbase;v=v.parentNode}g=p;if(!p){if(d.indexOf("#")!==0){t=location.href;g=t.replace(/\/[^\/]+?$/,"/")}else{g=location.href}}}else{g=i}if(d.indexOf(":")!==-1){g=""}j=g+d;r=k.getAttributeNS("http://www.w3.org/1999/xlink","show")||"embed";if(d.indexOf(".")===0){j=d}if(r==="replace"){k._tar.setAttribute("href",j)}else{if(r==="new"){k._tar.setAttribute("target","_blank");k._tar.setAttribute("href",j)}else{if(r==="embed"){f=NAIBU.xmlhttp;o=j.indexOf("#");if(o>-1){e=j.slice(o+1);j=j.replace(/#.+$/,"")}else{e=null}if(d.indexOf("#")===0){q=k.ownerDocument;u=q.getElementById(e);k._instance=u;l=q.createEvent("SVGEvents");l.initEvent("S_Load",false,false);k.dispatchEvent(l);k=f=void 0}else{if(j.indexOf("data:")>-1){k._tar.src=j;k=f=void 0}else{if((j.indexOf("http:")>-1)||(j.indexOf(".")===0)){if((k.localName==="image")&&(j.indexOf(".svg")===-1)){k._tar.src=j}else{k.ownerDocument.documentElement._svgload_limited++;f.open("GET",j,false);f.setRequestHeader("X-Requested-With","XMLHttpRequest");f.onreadystatechange=function(){if((f.readyState===4)&&(f.status===200)){var z=f.getResponseHeader("Content-Type")||"text",C,D,B,A;if((z.indexOf("text")>-1)||(z.indexOf("xml")>-1)||(z.indexOf("script")>-1)){if(k.localName!=="script"&&k.localName!=="style"){C=new ActiveXObject("MSXML2.DomDocument");D=f.responseText.replace(/!DOCTYPE/,"!--").replace(/(dtd">|\]>)/,"-->");NAIBU.doc.async=false;NAIBU.doc.validateOnParse=false;NAIBU.doc.resolveExternals=false;NAIBU.doc.preserveWhiteSpace=false;C.loadXML(D);B=C.documentElement;k._instance=k.ownerDocument.importNode(B,true);if(e){k._instance=k._instance.ownerDocument.getElementById(e)}}else{k._text=f.responseText}}else{if(!!k._tar){k._tar.src=j}}A=k.ownerDocument.createEvent("SVGEvents");A.initEvent("S_Load",false,false);k.dispatchEvent(A);k.ownerDocument.documentElement._svgload_limited--;if(k.ownerDocument.documentElement._svgload_limited<0){A=k.ownerDocument.createEvent("SVGEvents");A.initEvent("SVGLoad",false,false);k.ownerDocument.documentElement.dispatchEvent(A)}k=z=C=D=A=void 0;f.onreadystatechange=NAIBU.emptyFunction;f=void 0}};f.send(null)}}}}}}}k.ownerDocument.documentElement._svgload_limited--}s=g=d=i=v=p=t=j=o=e=q=u=l=r=void 0},false);b=c=void 0},false);return this}function SVGCSSRule(){CSSRule.apply(this,arguments);this.COLOR_PROFILE_RULE=7;return this}SVGCSSRule.constructor=CSSRule;SVGCSSRule.prototype=new CSSRule();function SVGDocument(){Document.apply(this);DocumentStyle.apply(this);this.title="";this.referrer=document.referrer;this.domain=document.domain;this.URL=document.location;this.rootElement;return this}SVGDocument.constructor=Document;SVGDocument.prototype=new Document();function SVGSVGElement(c){SVGElement.apply(this,arguments);this._tar=c.createElement("v:group");c=void 0;this._svgload_limited=0;var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;this.contentScriptType="application/ecmascript";this.contentStyleType="text/css";this.viewport=this.createSVGRect();this.useCurrentView=false;this.currentView=new SVGViewSpec(this);this.currentScale=1;this.currentTranslate=this.createSVGPoint();this.viewBox=this.currentView.viewBox;this.preserveAspectRatio=this.currentView.preserveAspectRatio;this.zoomAndPan=SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE;this._tx=0;this._ty=0;this._currentTime=0;this.addEventListener("DOMAttrModified",function(o){if(o.eventPhase===3){return}var g=o.target,e=o.attrName,f,l,i,j,k,d;if(e==="viewBox"){g._cacheScreenCTM=null;f=g.viewBox.baseVal;l=o.newValue.replace(/^\s+|\s+$/g,"").split(/[\s,]+/);f.x=parseFloat(l[0]);f.y=parseFloat(l[1]);f.width=parseFloat(l[2]);f.height=parseFloat(l[3]);g.viewBox.baseVal._isUsed=1}else{if(e==="preserveAspectRatio"){g._cacheScreenCTM=null;i=o.newValue;j=g.preserveAspectRatio.baseVal;k=1;d=SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN;if(!!i.match(/x(Min|Mid|Max)Y(Min|Mid|Max)(?:\s+(meet|slice))?/)){switch(RegExp.$1){case"Min":k+=1;break;case"Mid":k+=2;break;case"Max":k+=3;break}switch(RegExp.$2){case"Min":break;case"Mid":k+=3;break;case"Max":k+=6;break}if(RegExp.$3==="slice"){d=SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE}else{d=SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET}}j.align=k;j.meetOrSlice=d}else{if(e==="width"){g.viewport.width=g.width.baseVal.value}else{if(e==="height"){g.viewport.height=g.height.baseVal.value}}}}o=e=f=l=i=j=k=d=void 0},false);this.addEventListener("SVGLoad",function(d){d.target.addEventListener("DOMAttrModified",function(q){var l,r,f,o;if(q.eventPhase===3){l=q.target;if(l.parentNode){r=l.ownerDocument.createEvent("MutationEvents");r.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);r.target=l;r.eventPhase=2;f=l._capter;for(var g=0,e=f.length;g<e;++g){if(f[g]){f[g].handleEvent(r)}}if(((l.localName==="g")||(l.localName==="a"))&&(l.namespaceURI==="http://www.w3.org/2000/svg")){l._cacheMatrix=void 0;if(l.firstChild){o=l.getElementsByTagNameNS("http://www.w3.org/2000/svg","*");for(var k=0,p=o.length;k<p;++k){l=o[k];l._cacheMatrix=void 0;r=l.ownerDocument.createEvent("MutationEvents");r.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);r.target=l;r.eventPhase=2;f=l._capter;for(var g=0,e=f.length;g<e;++g){if(f[g]){f[g].handleEvent(r)}}}}}}}r=l=q=f=o=void 0},false);d=void 0},false);return this}SVGSVGElement.constructor=SVGElement;SVGSVGElement.prototype=new SVGElement();SVGSVGElement.prototype.forceRedraw=function(){};SVGSVGElement.prototype.getCurrentTime=function(){return(this._currentTime)};SVGSVGElement.prototype.setCurrentTime=function(b){this._currentTime=b};SVGSVGElement.prototype.createSVGNumber=function(){var b=new SVGNumber();b.value=0;return b};SVGSVGElement.prototype.createSVGAngle=function(){var b=new SVGAngle();b.value=0;b.unitType=1;return b};SVGSVGElement.prototype.createSVGLength=function(){var b=new SVGLength();b.unitType=1;return b};SVGSVGElement.prototype.createSVGPoint=function(){return new SVGPoint()};SVGSVGElement.prototype.createSVGMatrix=function(){return new SVGMatrix()};SVGSVGElement.prototype.createSVGRect=function(){return new SVGRect()};SVGSVGElement.prototype.createSVGTransform=function(){var b=this.createSVGTransformFromMatrix(this.createSVGMatrix());return b};SVGSVGElement.prototype.createSVGTransformFromMatrix=function(b){var c=new SVGTransform();c.setMatrix(b);return c};SVGSVGElement.prototype.getScreenCTM=function(){if(!!this._cacheScreenCTM){return(this._cacheScreenCTM)}var p=this.viewport.width,v=this.viewport.height,s,l,q,c,b,d,i,f,o,g,r,u,t,e;if(!this.useCurrentView){s=this.viewBox.baseVal;l=this.preserveAspectRatio.baseVal}else{s=this.currentView.viewBox.baseVal;l=this.currentView.preserveAspectRatio.baseVal}if(!!!s._isUsed){this._tx=this._ty=0;q=this.createSVGMatrix();this._cacheScreenCTM=q;return q}else{c=s.x;b=s.y;d=s.width;i=s.height;f=p/d;o=v/i;g=1;r=1;u=0;t=0;if(l.align===1){g=f;r=o;u=-c*g;t=-b*r}else{var k=(l.align+1)%3+1;var j=Math.round(l.align/3);switch(l.meetOrSlice){case 1:g=r=Math.min(f,o);break;case 2:g=r=Math.max(f,o);break}u=-c*g;t=-b*r;switch(k){case 1:break;case 2:u+=(p-d*g)/2;break;case 3:u+=p-d*g;break}switch(j){case 1:break;case 2:t+=(v-i*r)/2;break;case 3:t+=v-i*r;break}}}this._tx=u;this._ty=t;e=this._tar.style;e.marginLeft=u+"px";e.marginTop=t+"px";q=this.createSVGMatrix();q.a=g;q.d=r;this._cacheScreenCTM=q;p=v=s=l=c=b=d=i=f=o=g=r=u=t=e=void 0;return q};SVGZoomAndPan={SVG_ZOOMANDPAN_UNKNOWN:0,SVG_ZOOMANDPAN_DISABLE:1,SVG_ZOOMANDPAN_MAGNIFY:2};function SVGFitToViewBox(){this.viewBox=new SVGAnimatedRect();this.preserveAspectRatio=new SVGAnimatedPreserveAspectRatio();return this}function SVGViewSpec(b){SVGFitToViewBox.apply(this,arguments);this.transform=new SVGTransformList();this.viewTarget=b;this.viewBoxString=this.preserveAspectRatioString=this.transformString=this.viewTargetString="";return this}SVGViewSpec.constructor=SVGFitToViewBox;SVGViewSpec.prototype=new SVGFitToViewBox();function SVGGElement(b){SVGElement.apply(this);this._tar=b.createElement("v:group");b=void 0;this.addEventListener("DOMNodeInserted",function(d){var c=d.target;if(d.eventPhase===3){return}var g=c.nextSibling,e=c.parentNode._tar,f=true;if(g&&g._tar&&e&&(g._tar.parentNode===e)){e.insertBefore(c._tar,g._tar)}else{if(g&&!g._tar&&e){while(g){if(g._tar&&(g._tar.parentNode===e)){e.insertBefore(c._tar,g._tar);f=false}g=g.nextSibling}if(f){e.appendChild(c._tar)}}else{if(!g&&e){e.appendChild(c._tar)}}}g=e=f=d=c=void 0},false);return this}SVGGElement.constructor=SVGElement;SVGGElement.prototype=new SVGElement();function SVGDefsElement(){SVGElement.apply(this,arguments);this.style.setProperty("display","none");return this}SVGDefsElement.constructor=SVGElement;SVGDefsElement.prototype=new SVGElement();function SVGDescElement(){SVGElement.apply(this,arguments);return this}SVGDescElement.constructor=SVGElement;SVGDescElement.prototype=new SVGElement();function SVGTitleElement(){SVGElement.apply(this,arguments);this.addEventListener("DOMCharacterDataModified",function(b){b.target.ownerDocument.title=b.target.firstChild.nodeValue},false);return this}SVGTitleElement.constructor=SVGElement;SVGTitleElement.prototype=new SVGElement();function SVGSymbolElement(){SVGElement.apply(this,arguments);SVGURIReference.apply(this);return this}SVGDefsElement.constructor=SVGElement;SVGDefsElement.prototype=new SVGElement();function SVGUseElement(){SVGGElement.apply(this,arguments);var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;this.instanceRoot=new SVGElementInstance();this.animatedInstanceRoot=new SVGElementInstance();this.addEventListener("DOMNodeInserted",function(c){if(c.eventPhase===3){return}c.target.setAttributeNS("http://www.w3.org/1999/xlink","xlink:show","embed")},false);this.addEventListener("S_Load",function(e){var d=e.target,g=d.ownerDocument.defaultView.getComputedStyle(d,""),i=parseFloat(g.getPropertyValue("font-size")),c=d.transform.baseVal,f=d.ownerDocument.documentElement.createSVGTransform();d.x.baseVal._emToUnit(i);d.y.baseVal._emToUnit(i);d.width.baseVal._emToUnit(i);d.height.baseVal._emToUnit(i);d.instanceRoot=d.animatedInstanceRoot=d.ownerDocument.importNode(d._instance,true);f.setTranslate(d.x.baseVal.value,d.y.baseVal.value);c.appendItem(f);d.appendChild(d.instanceRoot);e=f=d=evtt=c=g=i=void 0},false);SVGURIReference.apply(this);return this}SVGUseElement.constructor=SVGElement;SVGUseElement.prototype=new SVGElement();function SVGElementInstance(){Node.apply(this,arguments);this.correspondingElement;this.correspondingUseElement;this.parentNode;this.childNodes;this.firstChild;this.lastChild;this.previousSibling;this.nextSibling;return this}SVGElementInstance.prototype=new Node();function SVGElementInstanceList(){this.length=0;return this}SVGElementInstanceList.prototype.item=function(b){return(this[b])};function SVGImageElement(c){SVGElement.apply(this,arguments);this._tar=c.createElement("v:image");var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();c=b=void 0;this.preserveAspectRatio=new SVGAnimatedPreserveAspectRatio();this.addEventListener("DOMNodeInserted",function(e){if(e.eventPhase===3){return}var d=e.target;d.setAttributeNS("http://www.w3.org/1999/xlink","xlink:show","embed");if(d.nextSibling){if(!!d.parentNode._tar&&!!d.nextSibling._tar){d.parentNode._tar.insertBefore(d._tar,d.nextSibling._tar)}}else{if(!!d.parentNode._tar){d.parentNode._tar.appendChild(d._tar)}}d.addEventListener("DOMNodeInsertedIntoDocument",function(p){var k=p.target,g=k.ownerDocument.defaultView.getComputedStyle(k,""),q=parseFloat(g.getPropertyValue("font-size")),l=k._tar.style,j=k.getScreenCTM(),i=k.ownerDocument.documentElement.createSVGPoint(),o=parseFloat(g.getPropertyValue("fill-opacity")),f;k.x.baseVal._emToUnit(q);k.y.baseVal._emToUnit(q);k.width.baseVal._emToUnit(q);k.height.baseVal._emToUnit(q);l.position="absolute";i.x=k.x.baseVal.value;i.y=k.y.baseVal.value;i=i.matrixTransform(j);l.left=i.x+"px";l.top=i.y+"px";l.width=k.width.baseVal.value*j.a+"px";l.height=k.height.baseVal.value*j.d+"px";if(o!==1){l.filter="progid:DXImageTransform.Microsoft.Alpha";f=k._tar.filters.item("DXImageTransform.Microsoft.Alpha");f.Style=0;f.Opacity=o*100;f=void 0}p=k=g=q=l=j=i=o=void 0},false);e=d=void 0},false);SVGURIReference.apply(this);return this}SVGImageElement.constructor=SVGElement;SVGImageElement.prototype=new SVGElement();function SVGSwitchElement(){SVGElement.apply(this,arguments);return this}SVGSwitchElement.constructor=SVGElement;SVGSwitchElement.prototype=new SVGElement();var sieb_s;function GetSVGDocument(b){this._tar=b;this._next=null;return this}function _ca_(){if((NAIBU._that.xmlhttp.readyState===4)&&(NAIBU._that.xmlhttp.status===200)){NAIBU._that._ca()}}GetSVGDocument.prototype={_init:function(){var c=NAIBU.xmlhttp,b=this._tar,d;if(this._tar.nodeName==="OBJECT"){d="data"}else{d="src"}c.open("GET",b.getAttribute(d),true);b.style.display="none";c.setRequestHeader("X-Requested-With","XMLHttpRequest");this.xmlhttp=c;NAIBU._that=this;c.onreadystatechange=_ca_;c.send(null);c=b=d=void 0},_ca:function(){var v=this._tar.previousSibling,M=v.contentWindow,g;if(M){v.contentWindow.screen.updateInterval=999;g=v.contentWindow.document;g.write("");g.close()}else{g=document}if(("namespaces" in g)&&!g.namespaces.v){g.namespaces.add("v","urn:schemas-microsoft-com:vml");g.namespaces.add("o","urn:schemas-microsoft-com:office:office");var o=g.createStyleSheet(),k="behavior: url(#default#VML);display: inline-block;} ";o.cssText="v\\:rect{"+k+"v\\:image{"+k+"v\\:fill{"+k+"v\\:stroke{"+k+"o\\:opacity2{"+k+"dn\\:defs{display:none}v\\:group{text-indent:0px;position:relative;width:100%;height:100%;"+k+"v\\:shape{width:100%;height:100%;"+k;o=k=void 0}DOMImplementation._doc_=g;var I=this.xmlhttp.responseText,C=this._tar,P=DOMImplementation.createDocument("http://www.w3.org/2000/svg","svg"),L=P.documentElement,r=L.viewport,A,D,H,T,t,K,N,Z,S=L._tar,p=g.createElement("div"),ad=g.createElement("v:group"),B=g.createElement("v:rect"),R,u,j,z,af,ab,W,ac,ae,aa,J,l,f,X,F,V=parseFloat,q=NAIBU.doc||this.xmlhttp.responseXML,e=g.createElement("div");if(!q){this.xmlhttp.onreadystatechange=NAIBU.emptyFunction;return}P._iframe=v;e.setAttribute("id","_NAIBU_outline");g.body.appendChild(e);p.style.margin="-1px,0px,0px,-1px";if(M){g.body.style.backgroundColor=C.parentNode.currentStyle.backgroundColor}q.async=false;q.validateOnParse=false;q.resolveExternals=false;q.preserveWhiteSpace=true;q.loadXML(I.replace(/^[\s\S]*?<svg/,"<svg"));screen.updateInterval=999;if(/&[^;]+;/.test(I)){var Q=I;var O=(q.doctype)?q.doctype.entities:{length:0};for(var Y=0;Y<O.length;Y++){var E=O.item(Y);var d=new RegExp("&"+E.nodeName+";","g");Q=Q.replace(d,E.firstChild.xml)}q.loadXML(Q);Q=void 0}r.top=0;r.left=0;r.width=C.clientWidth;r.height=C.clientHeight;if(r.height<24){r.height=screen.availHeight}if(L.viewport.height<24){L.viewport.height=screen.width}A=C.getAttribute("width");D=C.getAttribute("height");if(A){L.setAttributeNS(null,"width",A)}if(D){L.setAttributeNS(null,"height",D)}H=q.documentElement.firstChild;t=q.documentElement.attributes;for(var Y=0,b=t.length;Y<b;++Y){K=P.importNode(t[Y],false);L.setAttributeNodeNS(K)}I=t=void 0;ad.style.width=r.width+"px";ad.style.height=r.height+"px";ad.coordsize=r.width+" "+r.height;p.appendChild(ad);if(M){g.body.appendChild(p)}else{this._tar.parentNode.insertBefore(p,this._tar)}ad.appendChild(S);while(H){T=P.importNode(H,true);L.appendChild(T);H=H.nextSibling}H=void 0;P._window=M;R=L.ownerDocument.defaultView.getComputedStyle(L,"");u=V(R.getPropertyValue("font-size"));L.x.baseVal._emToUnit(u);L.y.baseVal._emToUnit(u);L.width.baseVal._emToUnit(u);L.height.baseVal._emToUnit(u);j=L.width.baseVal.value;z=L.height.baseVal.value;B.style.position="absolute";N=r.width;Z=r.height;B.style.width=N+"px";B.style.height=Z+"px";B.style.zIndex=-1;B.stroked="false";B.filled="false";L._tar.appendChild(B);af=L._tar.style;ab=C.style;af.visibility="visible";af.position="absolute";af.overflow="hidden";ac=N>j?j:N;ae=Z>z?z:Z;W=B.currentStyle;l=V(W.left);f=V(W.top);X=-L._tx;bt=-L._ty;if(l!==0&&!isNaN(l)){X=l;ad.style.left=-X+"px"}if(f!==0&&!isNaN(l)){bt=f;ad.style.top=-bt+"px"}J=X+ac+1;aa=bt+ae+1;af.clip="rect("+bt+"px "+J+"px "+aa+"px "+X+"px)";this._document=P;if("_svgload_limited" in P.documentElement){P.documentElement._svgload_limited--;if(P.documentElement._svgload_limited<0){var G=P.createEvent("SVGEvents");G.initEvent("SVGLoad",false,false);P.documentElement.dispatchEvent(G)}}F=P.documentElement._tar.getElementsByTagName("div");for(var Y=0,U;F[Y];++Y){U=F[Y];if(U.firstChild.nodeName!=="shape"){var c=U.style;c.left=V(c.left)+X+"px";c.top=V(c.top)+bt+"px";c=void 0}}M&&M.scroll(-P.documentElement._tx,-P.documentElement._ty);P._isLoaded=1;P.defaultView._cache=P.defaultView._cache_ele=null;e=g=G=q=C=L=r=A=D=T=K=S=p=ad=B=j=z=R=u=void 0;af=ab=W=F=U=Y=l=f=X=bt=F=V=N=Z=ac=ae=aa=J=void 0;this.xmlhttp.onreadystatechange=NAIBU.emptyFunction;if(this._next){M&&(v.contentWindow.screen.updateInterval=0);v=M=P=void 0;this._next._init()}else{if(P.implementation._buffer_){screen.updateInterval=0;NAIBU._buff_num=0;NAIBU._buff=setInterval(function(){var am=NAIBU._buff_num,ag=DOMImplementation._buffer_,al=ag.length,ak,ah;if(al===0){clearInterval(NAIBU._buff)}else{for(var aj=0;aj<50;++aj){ak=ag[am];ah=ag[am+1];ak.dispatchEvent(ah);am+=2;ak=ah=void 0;if(am>=al){clearInterval(NAIBU._buff);DOMImplementation._buffer_=null;NAIBU.Time.start();ag=am=al=void 0;return}}NAIBU._buff_num=am}ag=am=al=void 0},1);v=M=P=void 0}else{v=M=P=void 0;NAIBU.Time.start()}delete NAIBU.doc}},getSVGDocument:function(){return(this._document)}};NAIBU.emptyFunction=function(){};function SVGStyleElement(b){SVGElement.apply(this);LinkStyle.apply(this);this.xmlspace;this.type="text/css";this.media;this.title;SVGURIReference.apply(this);this.addEventListener("DOMAttrModified",function(c){if(c.attrName==="type"){c.target.type=c.newValue}else{if(c.attrName==="title"){c.target.title=c.newValue}}c=void 0},false);this.addEventListener("S_Load",function(u){var q=u.target,s=q.sheet,c=q._text,g=q.ownerDocument,d=b.createElement("style"),t,p,k,f;NAIBU._temp_doc=g;s=g.styleSheets[g.styleSheets.length]=DOMImplementation.createCSSStyleSheet(q.title,q.media);s.ownerNode=q;b.documentElement.firstChild.appendChild(d);d.styleSheet.cssText=c;for(var o=0,v=d.styleSheet.rules,r=v.length;o<r;++o){t=v[o];k=new CSSStyleRule();k.selectorText=t.selectorText;k.style.cssText=t.style.cssText;p=k.style.cssText.split(";");for(var l=0,e=p.length;l<e;++l){f=p[l].split(": ");k.style.setProperty(f[0],f[1])}s.cssRules[s.cssRules.length]=k}g.documentElement.addEventListener("DOMNodeInsertedIntoDocument",function(F){var C=F.target,E=C.ownerDocument,G=E.styleSheets[0]?E.styleSheets[0].cssRules:[],z,j,B=C.className.baseVal||".,.";for(var A=0,D=G.length;A<D;++A){z=G[A].selectorText;j=C._rules||[];if((z.indexOf("."+B)>-1)||(z.indexOf("#"+C.id)>-1)||(C.nodeName===z)){j[j.length]=G[A]}C._rules=j}C=E=G=void 0},true);q=u=d=s=c=g=o=v=r=void 0},false);this.addEventListener("DOMNodeInserted",function(d){var c=d.target;if(d.eventPhase===3){if(c.nodeName==="#cdata-section"){d.currentTarget._text=c.data}return}c.addEventListener("DOMNodeInsertedIntoDocument",function(g){var f=g.target;if((g.eventPhase===Event.AT_TARGET)&&!f.getAttributeNodeNS("http://www.w3.org/1999/xlink","xlink:href")){var e=f.ownerDocument.createEvent("SVGEvents");e.initEvent("S_Load",false,false);g.currentTarget.dispatchEvent(e)}f=g=void 0},false)},false);return this}SVGStyleElement.constructor=SVGElement;SVGStyleElement.prototype=new SVGElement();function SVGPoint(){return this}SVGPoint.prototype.x=SVGPoint.prototype.y=0;SVGPoint.prototype.matrixTransform=function(b){var c=new SVGPoint();c.x=b.a*this.x+b.c*this.y+b.e;c.y=b.b*this.x+b.d*this.y+b.f;return c};function SVGPointList(){return this}for(var prop in SVGStringList.prototype){SVGPointList.prototype[prop]=SVGStringList.prototype[prop]}function SVGMatrix(){return this}SVGMatrix.prototype={a:1,b:0,c:0,d:1,e:0,f:0,multiply:function(c){var d=new SVGMatrix(),b=c;if(!isFinite(b.a)||!isFinite(b.b)||!isFinite(b.c)||!isFinite(b.d)||!isFinite(b.e)||!isFinite(b.f)){throw (new Error("引数の値がNumber型ではありません"))}d.a=this.a*b.a+this.c*b.b;d.b=this.b*b.a+this.d*b.b;d.c=this.a*b.c+this.c*b.d;d.d=this.b*b.c+this.d*b.d;d.e=this.a*b.e+this.c*b.f+this.e;d.f=this.b*b.e+this.d*b.f+this.f;b=c=void 0;return d},inverse:function(){var b=new SVGMatrix(),c=this._determinant();if(c!==0){b.a=this.d/c;b.b=-this.b/c;b.c=-this.c/c;b.d=this.a/c;b.e=(this.c*this.f-this.d*this.e)/c;b.f=(this.b*this.e-this.a*this.f)/c;return b}else{throw (new SVGException(SVGException.SVG_MATRIX_NOT_INVERTABLE))}},translate:function(c,e){var b=new SVGMatrix();b.e=c;b.f=e;var d=this.multiply(b);b=void 0;return d},scale:function(d){var b=new SVGMatrix();b.a=d;b.d=d;var c=this.multiply(b);b=void 0;return c},scaleNonUniform:function(c,e){var b=new SVGMatrix();b.a=c;b.d=e;var d=this.multiply(b);b=void 0;return d},rotate:function(e){var c=new SVGMatrix(),b=e/180*Math.PI;c.a=Math.cos(b);c.b=Math.sin(b);c.c=-c.b;c.d=c.a;var d=this.multiply(c);c=b=void 0;return d},rotateFromVector:function(d,f){if((d===0)||(f===0)||!isFinite(d)||!isFinite(f)){throw (new SVGException(SVGException.SVG_INVALID_VALUE_ERR))}var c=new SVGMatrix(),b=Math.atan2(f,d);c.a=Math.cos(b);c.b=Math.sin(b);c.c=-c.b;c.d=c.a;var e=this.multiply(c);c=b=void 0;return e},flipX:function(){var b=new SVGMatrix();b.a=-b.a;var c=this.multiply(b);b=void 0;return c},flipY:function(){var b=new SVGMatrix();b.d=-b.d;var c=this.multiply(b);b=void 0;return c},skewX:function(e){var c=new SVGMatrix(),b=e/180*Math.PI;c.c=Math.tan(b);var d=this.multiply(c);c=void 0;return d},skewY:function(e){var c=new SVGMatrix(),b=e/180*Math.PI;c.b=Math.tan(b);var d=this.multiply(c);c=void 0;return d},_determinant:function(){return(this.a*this.d-this.b*this.c)}};function SVGTransform(){this.matrix=new SVGMatrix();return this}SVGTransform.SVG_TRANSFORM_UNKNOWN=0;SVGTransform.SVG_TRANSFORM_MATRIX=1;SVGTransform.SVG_TRANSFORM_TRANSLATE=2;SVGTransform.SVG_TRANSFORM_SCALE=3;SVGTransform.SVG_TRANSFORM_ROTATE=4;SVGTransform.SVG_TRANSFORM_SKEWX=5;SVGTransform.SVG_TRANSFORM_SKEWY=6;SVGTransform.prototype={_matrix:(new SVGMatrix()),type:SVGTransform.SVG_TRANSFORM_UNKNOWN,angle:0,setMatrix:function(b){this.type=1;this.matrix=this._matrix.multiply(b)},setTranslate:function(c,b){this.type=2;this.matrix=this._matrix.translate(c,b)},setScale:function(c,b){this.type=3;this.matrix=this._matrix.scaleNonUniform(c,b)},setRotate:function(c,b,d){this.angle=c;this.type=4;this.matrix=this._matrix.rotate(c);this.matrix.e=(1-this.matrix.a)*b-this.matrix.c*d;this.matrix.f=-this.matrix.b*b+(1-this.matrix.d)*d},setSkewX:function(b){this.angle=b;this.type=5;this.matrix=this._matrix.skewX(b)},setSkewY:function(b){this.angle=b;this.type=6;this.matrix=this._matrix.skewY(b)}};function SVGTransformList(){return this}for(var prop in SVGStringList.prototype){SVGTransformList.prototype[prop]=SVGStringList.prototype[prop]}SVGTransformList.prototype.createSVGTransformFromMatrix=function(b){var c=new SVGTransform();c.setMatrix(b);return c};SVGTransformList.prototype.consolidate=function(){if(this.numberOfItems===0){return null}else{var e=this.getItem(0),c=e.matrix;for(var d=1,b=this.numberOfItems;d<b;++d){c=c.multiply(this.getItem(d).matrix)}e.setMatrix(c);this.initialize(e);return e}};function SVGAnimatedTransformList(){this.animVal=this.baseVal=new SVGTransformList();return this}function SVGPreserveAspectRatio(){this.align=SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID;this.meetOrSlice=SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET;return this}(function(b){b.SVG_PRESERVEASPECTRATIO_UNKNOWN=0;b.SVG_PRESERVEASPECTRATIO_NONE=1;b.SVG_PRESERVEASPECTRATIO_XMINYMIN=2;b.SVG_PRESERVEASPECTRATIO_XMIDYMIN=3;b.SVG_PRESERVEASPECTRATIO_XMAXYMIN=4;b.SVG_PRESERVEASPECTRATIO_XMINYMID=5;b.SVG_PRESERVEASPECTRATIO_XMIDYMID=6;b.SVG_PRESERVEASPECTRATIO_XMAXYMID=7;b.SVG_PRESERVEASPECTRATIO_XMINYMAX=8;b.SVG_PRESERVEASPECTRATIO_XMIDYMAX=9;b.SVG_PRESERVEASPECTRATIO_XMAXYMAX=10;b.SVG_MEETORSLICE_UNKNOWN=0;b.SVG_MEETORSLICE_MEET=1;b.SVG_MEETORSLICE_SLICE=2})(SVGPreserveAspectRatio);function SVGAnimatedPreserveAspectRatio(){this.animVal=this.baseVal=new SVGPreserveAspectRatio();return this}function SVGPathSeg(){this.pathSegType=SVGPathSeg.PATHSEG_UNKNOWN;this.pathSegTypeAsLetter=null;return this}(function(b){b.PATHSEG_UNKNOWN=0;b.PATHSEG_CLOSEPATH=1;b.PATHSEG_MOVETO_ABS=2;b.PATHSEG_MOVETO_REL=3;b.PATHSEG_LINETO_ABS=4;b.PATHSEG_LINETO_REL=5;b.PATHSEG_CURVETO_CUBIC_ABS=6;b.PATHSEG_CURVETO_CUBIC_REL=7;b.PATHSEG_CURVETO_QUADRATIC_ABS=8;b.PATHSEG_CURVETO_QUADRATIC_REL=9;b.PATHSEG_ARC_ABS=10;b.PATHSEG_ARC_REL=11;b.PATHSEG_LINETO_HORIZONTAL_ABS=12;b.PATHSEG_LINETO_HORIZONTAL_REL=13;b.PATHSEG_LINETO_VERTICAL_ABS=14;b.PATHSEG_LINETO_VERTICAL_REL=15;b.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16;b.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17;b.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18;b.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19})(SVGPathSeg);function SVGPathSegClosePath(){return this}SVGPathSegClosePath.prototype={pathSegType:SVGPathSeg.PATHSEG_CLOSEPATH,pathSegTypeAsLetter:"z"};function SVGPathSegMovetoAbs(){return this}SVGPathSegMovetoAbs.prototype={pathSegType:SVGPathSeg.PATHSEG_MOVETO_ABS,pathSegTypeAsLetter:"M"};function SVGPathSegMovetoRel(){this.x;this.y;return this}SVGPathSegMovetoRel.prototype={pathSegType:SVGPathSeg.PATHSEG_MOVETO_REL,pathSegTypeAsLetter:"m"};function SVGPathSegLinetoAbs(){return this}SVGPathSegLinetoAbs.prototype={pathSegType:SVGPathSeg.PATHSEG_LINETO_ABS,pathSegTypeAsLetter:"L"};function SVGPathSegLinetoRel(){this.x;this.y;return this}SVGPathSegLinetoRel.prototype={pathSegType:SVGPathSeg.PATHSEG_LINETO_REL,pathSegTypeAsLetter:"l"};function SVGPathSegCurvetoCubicAbs(){return this}SVGPathSegCurvetoCubicAbs.prototype={pathSegType:SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,pathSegTypeAsLetter:"C"};function SVGPathSegCurvetoCubicRel(){return this}SVGPathSegCurvetoCubicRel.prototype={pathSegType:SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,pathSegTypeAsLetter:"c"};function SVGPathSegCurvetoQuadraticAbs(){this.x;this.y;this.x1;this.y1;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;this.pathSegTypeAsLetter="Q";return this}function SVGPathSegCurvetoQuadraticRel(){this.x;this.y;this.x1;this.y1;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;this.pathSegTypeAsLetter="q";return this}function SVGPathSegArcAbs(){this.x;this.y;this.r1;this.r2;this.angle;return this}SVGPathSegArcAbs.prototype={largeArcFlag:true,sweepFlag:true,pathSegType:SVGPathSeg.PATHSEG_ARC_ABS,pathSegTypeAsLetter:"A"};function SVGPathSegArcRel(){this.x;this.y;this.r1;this.r2;this.angle;return this}SVGPathSegArcRel.prototype={largeArcFlag:true,sweepFlag:true,pathSegType:SVGPathSeg.PATHSEG_ARC_REL,pathSegTypeAsLetter:"a"};function SVGPathSegLinetoHorizontalAbs(){this.x;this.pathSegType=SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;this.pathSegTypeAsLetter="H";return this}function SVGPathSegLinetoHorizontalRel(){this.x;this.pathSegType=SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;this.pathSegTypeAsLetter="h";return this}function SVGPathSegLinetoVerticalAbs(){this.y;this.pathSegType=SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;this.pathSegTypeAsLetter="V";return this}function SVGPathSegLinetoVerticalRel(){this.y;this.pathSegType=SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;this.pathSegTypeAsLetter="v";return this}function SVGPathSegCurvetoCubicSmoothAbs(){this.x;this.y;this.x2;this.y2;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;this.pathSegTypeAsLetter="S";return this}function SVGPathSegCurvetoCubicSmoothRel(){this.x;this.y;this.x2;this.y2;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;this.pathSegTypeAsLetter="s";return this}function SVGPathSegCurvetoQuadraticSmoothAbs(){this.x;this.y;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;this.pathSegTypeAsLetter="T";return this}function SVGPathSegCurvetoQuadraticSmoothRel(){this.x;this.y;this.pathSegType=SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;this.pathSegTypeAsLetter="t";return this}function SVGPathSegList(){return this}for(var prop in SVGStringList.prototype){SVGPathSegList.prototype[prop]=SVGStringList.prototype[prop]}(function(d,c){NAIBU.freeArg=function(){b=d=c=void 0};NAIBU._setPaint=function(M,K){var Q=M.ownerDocument,j=Q._document_,e=M._tar,P=Q.defaultView.getComputedStyle(M,""),I=P.getPropertyCSSValue("fill"),u=P.getPropertyCSSValue("stroke"),s=I.paintType,N=u.paintType,F,D,v=1,A,r,J,E,p,C,H,f,l,o,G,z,O,B,k,q;if(!e){return}while(e.firstChild){e.removeChild(e.firstChild)}if((s===1)||(s===102)){if(s===102){P.setProperty("color",P.getPropertyValue("color"))}F=j.createElement("v:fill");D=I.rgbColor;v=1;F.setAttribute("color","rgb("+D.red.getFloatValue(v)+","+D.green.getFloatValue(v)+","+D.blue.getFloatValue(v)+")");J=+(P.getPropertyValue("fill-opacity"))*P._list._opacity;if(J<1){F.setAttribute("opacity",J+"")}e.appendChild(F);F=D=J=void 0}else{if(I.uri){A=Q.getElementById(I.uri);if(A){r=Q.createEvent("MutationEvents");r.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);r._tar=j.createElement("v:fill");r._style=P;r._ttar=M;A.dispatchEvent(r);if(A.localName!=="radialGradient"){e.appendChild(r._tar)}A=r=void 0}}else{e.filled="false"}}if((N===1)||(N===102)){if(N===102){P.setProperty("color",P.getPropertyValue("color"))}f=j.createElement("v:stroke");G=P.getPropertyCSSValue("stroke-width");z=Q.documentElement.viewport.width;O=Q.documentElement.viewport.height;G._percent=c.sqrt((z*z+O*O)/2);B=G.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)*c.sqrt(c.abs(K._determinant()));f.setAttribute("weight",B+"px");G=z=O=void 0;if(!u.uri){D=u.rgbColor;f.setAttribute("color","rgb("+D.red.getFloatValue(v)+","+D.green.getFloatValue(v)+","+D.blue.getFloatValue(v)+")");l=+(P.getPropertyValue("stroke-opacity"))*(+(P.getPropertyValue("opacity")));if(B<1){l*=B}if(l<1){f.setAttribute("opacity",l+"")}D=l=void 0}f.setAttribute("miterlimit",P.getPropertyValue("stroke-miterlimit"));f.setAttribute("joinstyle",P.getPropertyValue("stroke-linejoin"));if(P.getPropertyValue("stroke-linecap")==="butt"){f.setAttribute("endcap","flat")}else{f.setAttribute("endcap",P.getPropertyValue("stroke-linecap"))}k=P.getPropertyValue("stroke-dasharray");if(k!=="none"){if(k.indexOf(",")>0){E=k.split(",");for(var L=0,g=E.length;L<g;++L){E[L]=c.ceil(+(E[L])/parseFloat(P.getPropertyValue("stroke-width")))}q=E.join(" ");if(E.length%2===1){q+=" "+q}}f.setAttribute("dashstyle",q);k=E=void 0}e.appendChild(f);f=k=void 0}else{e.stroked="false"}p=P.getPropertyCSSValue("cursor");if(p&&!p._isDefault){e.style.cursor=p.cssText.split(":")[1]}C=P.getPropertyCSSValue("visibility");if(C&&!C._isDefault){e.style.visibility=C.cssText.split(":")[1]}H=P.getPropertyCSSValue("display");if(H&&!H._isDefault&&(H.cssText.indexOf("none")>-1)){e.style.display="none"}else{if(H&&!H._isDefault&&(H.indexOf("inline-block")===-1)){e.style.display="inline-block"}}Q=j=e=I=u=N=s=P=p=M=K=C=H=v=void 0};function b(f){SVGElement.apply(this);this._tar=f.createElement("v:shape");var e=SVGPathSegList;this.pathSegList=new e();this.animatedPathSegList=this.pathSegList;this.normalizedPathSegList=new e();e=f=void 0;this.animatedNormalizedPathSegList=this.normalizedPathSegList;this.pathLength=new SVGAnimatedNumber();this.addEventListener("DOMAttrModified",this._attrModi,false);this.addEventListener("DOMNodeInserted",this._nodeInsert,false);return this}b.constructor=SVGElement;b.prototype=new SVGElement();(function(e){e._attrModi=function(H){var M=H.target;if(H.attrName==="d"&&H.newValue!==""){var B=M.normalizedPathSegList,C=M.pathSegList;if(B.numberOfItems>0){B.clear();C.clear()}var v=M._com,r=v.isSp,V=H.newValue.replace(v.isRa," -").replace(v.isRb," ").replace(v.isRc,",$1 ").replace(v.isRd,",$1 1").replace(v.isRe,"").split(","),U=V.length,A=v._isZ,I=v._isM,Q=v._isC,J=v._isL,N=M.createSVGPathSegCurvetoCubicAbs,F=M.createSVGPathSegLinetoAbs;for(var O=0;O<U;++O){var R=V[O].match(r),G;for(var L=1,S=R[0],E=R.length;L<E;++L){if(Q[S]){G=N(+R[L+4],+R[L+5],+R[L],+R[L+1],+R[L+2],+R[L+3]);L+=5}else{if(J[S]){G=F(+R[L],+R[L+1]);++L}else{if(I[S]){G=M.createSVGPathSegMovetoAbs(+R[L],+R[L+1]);++L}else{if(A[S]){G=M.createSVGPathSegClosePath()}else{if(S==="A"){G=M.createSVGPathSegArcAbs(+R[L+5],+R[L+6],+R[L],+R[L+1],+R[L+2],+R[L+3],+R[L+4]);L+=6}else{if(S==="m"){G=M.createSVGPathSegMovetoRel(+R[L],+R[L+1]);++L}else{if(S==="l"){G=M.createSVGPathSegLinetoRel(+R[L],+R[L+1]);++L}else{if(S==="c"){G=M.createSVGPathSegCurvetoCubicRel(+R[L+4],+R[L+5],+R[L],+R[L+1],+R[L+2],+R[L+3]);L+=5}else{if(S==="Q"){G=M.createSVGPathSegCurvetoQuadraticAbs(+R[L+2],+R[L+3],+R[L],+R[L+1]);L+=3}else{if(S==="q"){G=M.createSVGPathSegCurvetoQuadraticRel(+R[L+2],+R[L+3],+R[L],+R[L+1]);L+=3}else{if(S==="a"){G=M.createSVGPathSegArcRel(+R[L+5],+R[L+6],+R[L],+R[L+1],+R[L+2],+R[L+3],+R[L+4]);L+=6}else{if(S==="S"){G=M.createSVGPathSegCurvetoCubicSmoothAbs(+R[L+2],+R[L+3],+R[L],+R[L+1]);L+=3}else{if(S==="s"){G=M.createSVGPathSegCurvetoCubicSmoothRel(+R[L+2],+R[L+3],+R[L],+R[L+1]);L+=3}else{if(S==="T"){G=M.createSVGPathSegCurvetoQuadraticSmoothAbs(+R[L],+R[L+1]);++L}else{if(S==="t"){G=M.createSVGPathSegCurvetoQuadraticSmoothRel(+R[L],+R[L+1]);++L}else{if(S==="H"){G=M.createSVGPathSegLinetoHorizontalAbs(+R[L])}else{if(S==="h"){G=M.createSVGPathSegLinetoHorizontalRel(+R[L])}else{if(S==="V"){G=M.createSVGPathSegLinetoVerticalAbs(+R[L])}else{if(S==="v"){G=M.createSVGPathSegLinetoVerticalRel(+R[L])}else{G=new SVGPathSeg()}}}}}}}}}}}}}}}}}}}C.appendItem(G)}}R=G=r=V=void 0;var p=0,k=0,D=0,T=0,o=0,g=0;for(var L=0,K=C.numberOfItems;L<K;++L){var u=C.getItem(L),f=u.pathSegType,S=u.pathSegTypeAsLetter;if(f===0){}else{var t=p,q=k;if(f%2===1){p+=u.x;k+=u.y}else{p=u.x;k=u.y}if(Q[S]){B.appendItem(u)}else{if(J[S]){B.appendItem(u)}else{if(I[S]){if(L!==0){var z=C.getItem(L-1);if(z.pathSegTypeAsLetter==="M"){B.appendItem(F(p,k));continue}}o=p;g=k;B.appendItem(u)}else{if(S==="m"){if(L!==0){var z=C.getItem(L-1);if(z.pathSegTypeAsLetter==="m"){B.appendItem(F(p,k));continue}}o=p;g=k;B.appendItem(M.createSVGPathSegMovetoAbs(p,k))}else{if(S==="l"){B.appendItem(F(p,k))}else{if(S==="c"){B.appendItem(N(p,k,u.x1+t,u.y1+q,u.x2+t,u.y2+q))}else{if(A[S]){p=o;k=g;B.appendItem(u)}else{if(S==="Q"){D=2*p-u.x1;T=2*k-u.y1;B.appendItem(N(p,k,(t+2*u.x1)/3,(q+2*u.y1)/3,(2*u.x1+p)/3,(2*u.y1+k)/3))}else{if(S==="q"){var P=u.x1+t,l=u.y1+q;D=2*p-P;T=2*k-l;B.appendItem(N(p,k,(t+2*P)/3,(q+2*l)/3,(2*P+p)/3,(2*l+k)/3));P=l=void 0}else{if(S==="A"||S==="a"){(function(X,au,at,ax,av,aD,aw){if(X.r1===0||X.r2===0){return}var aI=X.sweepFlag,aM=X.angle,al=c.abs(X.r1),ak=c.abs(X.r2),ar=(ax-au)/2,aq=(av-at)/2,W=c.cos(aM*c.PI/180),aA=c.sin(aM*c.PI/180),az=W*ar+aA*aq,aj=-1*aA*ar+W*aq,ah=az*az,ac=aj*aj,ay=al*al,af=ak*ak,aQ=ah/ay+ac/af,aJ;if(aQ>1){al=c.sqrt(aQ)*al;ak=c.sqrt(aQ)*ak;aJ=0}else{var ae=1;if(X.largeArcFlag===aI){ae=-1}aJ=ae*c.sqrt((ay*af-ay*ac-af*ah)/(ay*ac+af*ah))}var ao=aJ*al*aj/ak,s=-1*aJ*ak*az/al,aL=W*ao-aA*s+(ax+au)/2,aK=aA*ao+W*s+(av+at)/2,Z=c.atan2((aj-s)/ak,(az-ao)/al)-c.atan2(0,1),aN=(Z>=0)?Z:2*c.PI+Z,Z=c.atan2((-aj-s)/ak,(-az-ao)/al)-c.atan2((aj-s)/ak,(az-ao)/al),ad=(Z>=0)?Z:2*c.PI+Z;if(!aI&&ad>0){ad-=2*c.PI}else{if(aI&&ad<0){ad+=2*c.PI}}var aa=ad*2/c.PI,aB=c.ceil(aa<0?-1*aa:aa),aC=ad/aB,aG=8/3*c.sin(aC/4)*c.sin(aC/4)/c.sin(aC/2),aF=W*al,aE=W*ak,j=aA*al,i=aA*ak,ap=c.cos(aN),ag=c.sin(aN),an=ax-aG*(aF*ag+i*ap),aP=av-aG*(j*ag-aE*ap);for(var aH=0;aH<aB;++aH){aN+=aC;ap=c.cos(aN);ag=c.sin(aN);var am=aF*ap-i*ag+aL,aO=j*ap+aE*ag+aK,ab=-aG*(aF*ag+i*ap),Y=-aG*(j*ag-aE*ap);aw.appendItem(N(am,aO,an,aP,am-ab,aO-Y));an=am+ab;aP=aO+Y}X=au=at=ax=av=aD=aw=void 0})(u,p,k,t,q,M,B)}else{if(S==="S"){if(L!==0){var z=B.getItem(B.numberOfItems-1);if(z.pathSegTypeAsLetter==="C"){var P=2*z.x-z.x2,l=2*z.y-z.y2}else{var P=t,l=q}}else{var P=t,l=q}B.appendItem(N(p,k,P,l,u.x2,u.y2));P=l=void 0}else{if(S==="s"){if(L!==0){var z=B.getItem(B.numberOfItems-1);if(z.pathSegTypeAsLetter==="C"){var P=2*z.x-z.x2,l=2*z.y-z.y2}else{var P=t,l=q}}else{var P=t,l=q}B.appendItem(N(p,k,P,l,u.x2+t,u.y2+q));P=l=void 0}else{if(S==="T"||S==="t"){if(L!==0){var z=C.getItem(L-1);if("QqTt".indexOf(z.pathSegTypeAsLetter)>-1){}else{D=t,T=q}}else{D=t,T=q}B.appendItem(N(p,k,(t+2*D)/3,(q+2*T)/3,(2*D+p)/3,(2*T+k)/3));D=2*p-D;T=2*k-T;xx1=yy1=void 0}else{if(S==="H"||S==="h"){B.appendItem(F(p,q));k=q}else{if(S==="V"||S==="v"){B.appendItem(F(t,k));p=t}}}}}}}}}}}}}}}}}}H=M=v=p=k=D=T=o=g=B=C=u=S=f=A=I=J=Q=G=N=F=void 0};e._nodeInsert=function(g){var f=g.target;if(g.eventPhase===3){return}var k=f.nextSibling,i=f.parentNode._tar,j=true;if(k&&k._tar&&i&&(k._tar.parentNode===i)){i.insertBefore(f._tar,k._tar)}else{if(k&&!k._tar&&i){while(k){if(k._tar&&(k._tar.parentNode===i)){i.insertBefore(f._tar,k._tar);j=false}k=k.nextSibling}if(j){i.appendChild(f._tar)}}else{if(!k&&i){i.appendChild(f._tar)}}}k=i=j=void 0;f.addEventListener("DOMNodeInsertedIntoDocument",f._nodeInsertInto,false);g=f=void 0};e._nodeInsertInto=function(r){var z=r.target,v=z.getScreenCTM(),p=z.normalizedPathSegList,D=[],j=v.a,g=v.b,K=v.c,J=v.d,I=v.e,H=v.f,k=z._com._nameCom,o=z._com._isZ,B=z._com._isC,s=c.round;for(var A=0,u=p.numberOfItems;A<u;++A){var l=p[A],G=l.x,E=l.y,C=l.pathSegTypeAsLetter,q=k[C];if(B[C]){q+=[s(j*l.x1+K*l.y1+I),s(g*l.x1+J*l.y1+H),s(j*l.x2+K*l.y2+I),s(g*l.x2+J*l.y2+H),s(j*G+K*E+I),s(g*G+J*E+H)].join(" ")}else{if(!o[C]){q+=s(j*G+K*E+I)+" "+s(g*G+J*E+H)}}D[A]=q}var F=z.ownerDocument.documentElement,f=z._tar;D.push(" e");f.path=D.join(" ");f.coordsize=F.width.baseVal.value+" "+F.height.baseVal.value;NAIBU._setPaint(z,v);delete z._cacheMatrix;r=z=D=q=G=E=v=p=x=y=s=j=g=K=J=I=H=F=o=B=A=u=C=l=k=f=void 0};e._com={_nameCom:{z:" x ",Z:" x ",C:"c",L:"l",M:"m"},_isZ:{z:1,Z:1},_isC:{C:1},_isL:{L:1},_isM:{M:1},isRa:/\-/g,isRb:/,/g,isRc:/([a-yA-Y])/g,isRd:/([zZ])/g,isRe:/,/,isSp:/\S+/g};e.getTotalLength=function(){var o=0,j=this.normalizedPathSegList;for(var l=1,p=j.numberOfItems,k=null;l<p;++l){var g=j.getItem(l);if(g.pathSegType===SVGPathSeg.PATHSEG_LINETO_ABS){var q=j.getItem(l-1);o+=c.sqrt(c.pow((g.x-q.x),2)+c.pow((g.y-q.y),2))}else{if(g.pathSegType===SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS){var q=j.getItem(l-1),f=0;f+=c.sqrt(c.pow((g.x1-q.x),2)+c.pow((g.y1-q.y),2));f+=c.sqrt(c.pow((g.x2-g.x1),2)+c.pow((g.y2-g.y1),2));f+=c.sqrt(c.pow((g.x2-g.x1),2)+c.pow((g.y2-g.y1),2));f+=c.sqrt(c.pow((g.x-q.x),2)+c.pow((g.y-q.y),2));o+=f/2}else{if(g.pathSegType===SVGPathSeg.PATHSEG_CLOSEPATH){var q=j.getItem(l-1),k=j.getItem(0);o+=c.sqrt(c.pow((q.x-k.x),2)+c.pow((q.y-k.y),2))}}}}this.pathLength.baseVal=o;return o};e.getPointAtLength=function(j){var k=this.getPathSegAtLength(j),q=0,p=0,g=this.normalizedPathSegList,l=g.getItem(k),v=this.ownerDocument.documentElement.createSVGPoint();if((k-1)<=0){v.x=l.x;v.y=l.y;return v}var f=g.getItem(k-1);if(l.pathSegType===SVGPathSeg.PATHSEG_LINETO_ABS){var o=c.sqrt(c.pow((l.x-f.x),2)+c.pow((l.y-f.y),2));var u=(o+this._dis)/o;v.x=f.x+u*(l.x-f.x);v.y=f.y+u*(l.y-f.y)}else{if(l.pathSegType===SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS){var r=0;r+=c.sqrt(c.pow((l.x1-f.x),2)+c.pow((l.y1-f.y),2));r+=c.sqrt(c.pow((l.x2-l.x1),2)+c.pow((l.y2-l.y1),2));r+=c.sqrt(c.pow((l.x2-l.x1),2)+c.pow((l.y2-l.y1),2));r+=c.sqrt(c.pow((l.x-f.x),2)+c.pow((l.y-f.y),2));var o=r/2;var u=(o+this._dis)/o;v.x=(3*l.x1+l.x-3*l.x2-f.x)*c.pow(u,3)+3*(f.x-2*l.x1+l.x2)*c.pow(u,2)+3*(l.x1-f.x)*u+f.x;v.y=(3*l.y1+l.y-3*l.y2-f.y)*c.pow(u,3)+3*(f.y-2*l.y1+l.y2)*c.pow(u,2)+3*(l.y1-f.y)*u+f.y}else{if(l.pathSegType===SVGPathSeg.MOVETO_ABS){v.x=l.x;v.y=l.y}else{if(l.pathSegType===SVGPathSeg.PATHSEG_CLOSEPATH){var i=g.getItem(0),o=c.sqrt(c.pow((l.x-mx.x),2)+c.pow((l.y-i.y),2));var u=(o+this._dis)/o;v.x=i.x+u*(l.x-i.x);v.y=i.y+u*(l.y-i.y)}}}}return v};e.getPathSegAtLength=function(q){var j=this.normalizedPathSegList;for(var l=0,o=j.numberOfItems,k=null;l<o;++l){var g=j.getItem(l);if(g.pathSegType===SVGPathSeg.PATHSEG_LINETO_ABS){var p=j.getItem(l-1);q-=c.sqrt(c.pow((g.x-p.x),2)+c.pow((g.y-p.y),2))}else{if(g.pathSegType===SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS){var p=j.getItem(l-1),f=0;f+=c.sqrt(c.pow((g.x1-p.x),2)+c.pow((g.y1-p.y),2));f+=c.sqrt(c.pow((g.x2-g.x1),2)+c.pow((g.y2-g.y1),2));f+=c.sqrt(c.pow((g.x2-g.x1),2)+c.pow((g.y2-g.y1),2));f+=c.sqrt(c.pow((g.x-p.x),2)+c.pow((g.y-p.y),2));q-=f/2;f=void 0}else{if(g.pathSegType===SVGPathSeg.PATHSEG_CLOSEPATH){var p=j.getItem(l-1),k=j.getItem(0);q-=c.sqrt(c.pow((p.x-k.x),2)+c.pow((p.y-k.y),2))}}}if(q<=0){this._dis=q;q=void 0;return l}}return(j.numberOfItems-1)};e.createSVGPathSegClosePath=function(){var f=SVGPathSegClosePath;return(new f())};e.createSVGPathSegMovetoAbs=function(f,j){var i=SVGPathSegMovetoAbs,g=new i();g.x=f;g.y=j;return g};e.createSVGPathSegMovetoRel=function(f,i){var g=new SVGPathSegMovetoRel();g.x=f;g.y=i;return g};e.createSVGPathSegLinetoAbs=function(f,i){var g=new SVGPathSegLinetoAbs();g.x=f;g.y=i;return g};e.createSVGPathSegLinetoRel=function(f,i){var g=new SVGPathSegLinetoRel();g.x=f;g.y=i;return g};e.createSVGPathSegCurvetoCubicAbs=function(g,p,j,o,i,k){var f=SVGPathSegCurvetoCubicAbs,l=new f();l.x=g;l.y=p;l.x1=j;l.y1=o;l.x2=i;l.y2=k;return l};e.createSVGPathSegCurvetoCubicRel=function(f,o,i,l,g,j){var k=new SVGPathSegCurvetoCubicRel();k.x=f;k.y=o;k.x1=i;k.y1=l;k.x2=g;k.y2=j;return k};e.createSVGPathSegCurvetoQuadraticAbs=function(f,k,g,j){var i=new SVGPathSegCurvetoQuadraticAbs();i.x=f;i.y=k;i.x1=g;i.y1=j;return i};e.createSVGPathSegCurvetoQuadraticRel=function(f,k,g,j){var i=new SVGPathSegCurvetoQuadraticRel();i.x=f;i.y=k;i.x1=g;i.y1=j;return i};e.createSVGPathSegArcAbs=function(f,p,i,g,o,l,k){var j=new SVGPathSegArcAbs();j.x=f;j.y=p;j.r1=i;j.r2=g;j.angle=o;j.largeArcFlag=l;j.sweepFlag=k;return j};e.createSVGPathSegArcRel=function(f,p,i,g,o,l,k){var j=new SVGPathSegArcRel();j.x=f;j.y=p;j.r1=i;j.r2=g;j.angle=o;j.largeArcFlag=l;j.sweepFlag=k;return j};e.createSVGPathSegLinetoHorizontalAbs=function(f){var g=new SVGPathSegLinetoHorizontalAbs();g.x=f;g.y=0;return g};e.createSVGPathSegLinetoHorizontalRel=function(f){var g=new SVGPathSegLinetoHorizontalRel();g.x=f;g.y=0;return g};e.createSVGPathSegLinetoVerticalAbs=function(g){var f=new SVGPathSegLinetoVerticalAbs();f.x=0;f.y=g;return f};e.createSVGPathSegLinetoVerticalRel=function(g){var f=new SVGPathSegLinetoVerticalRel();f.x=0;f.y=g;return f};e.createSVGPathSegCurvetoCubicSmoothAbs=function(f,k,g,i){var j=new SVGPathSegCurvetoCubicSmoothAbs();j.x=f;j.y=k;j.x2=g;j.y2=i;return j};e.createSVGPathSegCurvetoCubicSmoothRel=function(f,k,g,i){var j=new SVGPathSegCurvetoCubicSmoothRel();j.x=f;j.y=k;j.x2=g;j.y2=i;return j};e.createSVGPathSegCurvetoQuadraticSmoothAbs=function(f,i){var g=new SVGPathSegCurvetoQuadraticSmoothAbs();g.x=f;g.y=i;return g};e.createSVGPathSegCurvetoQuadraticSmoothRel=function(f,i){var g=new SVGPathSegCurvetoQuadraticSmoothRel();g.x=f;g.y=i;return g}})(b.prototype);NAIBU.SVGPathElement=b})(document,Math);function SVGRectElement(c){SVGElement.apply(this);this._tar=c.createElement("v:shape");var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();this.rx=new b();this.ry=new b();c=b=void 0;this.addEventListener("DOMNodeInserted",function(e){if(e.eventPhase===3){return}var d=e.target,i=d.nextSibling,f=d.parentNode._tar,g=true;if(i&&i._tar&&f&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar)}else{if(i&&!i._tar&&f){while(i){if(i._tar&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar);g=false}i=i.nextSibling}if(g){f.appendChild(d._tar)}}else{if(!i&&f){f.appendChild(d._tar)}}}i=f=g=void 0;d.addEventListener("DOMNodeInsertedIntoDocument",function(E){var L=E.target,N=L.ownerDocument.defaultView.getComputedStyle(L,""),o=parseFloat(N.getPropertyValue("font-size"));L.x.baseVal._emToUnit(o);L.y.baseVal._emToUnit(o);L.width.baseVal._emToUnit(o);L.height.baseVal._emToUnit(o);var r=L.getAttributeNS(null,"rx"),q=L.getAttributeNS(null,"ry"),A=L.x.baseVal.value,z=L.y.baseVal.value,u=A+L.width.baseVal.value,X=z+L.height.baseVal.value,O;if((r||q)&&(r!=="0")&&(q!=="0")){L.rx.baseVal._emToUnit(o);L.ry.baseVal._emToUnit(o);var k=L.rx.baseVal,j=L.ry.baseVal,T=L.width.baseVal.value,l=L.height.baseVal.value;k.value=r?k.value:j.value;j.value=q?j.value:k.value;if(k.value>T/2){k.value=T/2}if(j.value>l/2){j.value=l/2}var v=k.value,J=j.value,t=v*0.55228,s=J*0.55228,W=u-v,S=A+v,R=z+J,Q=X-J;O=["m",S,z,"l",W,z,"c",W+t,z,u,R-s,u,R,"l",u,Q,"c",u,Q+s,W+t,X,W,X,"l",S,X,"c",S-t,X,A,Q+s,A,Q,"l",A,R,"c",A,R-s,S-t,z,S,z]}else{O=["m",A,z,"l",A,X,u,X,u,z,"x e"]}var D=L.ownerDocument.documentElement,V=L.getScreenCTM(),P,G,F,C=L._tar,U=L.ownerDocument.documentElement,B=U.width.baseVal.value,M=U.height.baseVal.value,H=Math.round;for(var K=0,I=O.length;K<I;){if(isNaN(O[K])){++K;continue}G=D.createSVGPoint();G.x=O[K];G.y=O[K+1];F=G.matrixTransform(V);O[K]=H(F.x);++K;O[K]=H(F.y);++K;G=F=void 0}P=O.join(" ");C.path=P;C.coordsize=B+" "+M;NAIBU._setPaint(L,V);delete L._cacheMatrix;E=L=N=O=H=P=C=U=o=void 0},false);e=d=void 0},false);return this}SVGRectElement.constructor=SVGElement;SVGRectElement.prototype=new SVGElement();function SVGCircleElement(c){SVGElement.apply(this);this._tar=c.createElement("v:shape");var b=SVGAnimatedLength;this.cx=new b();this.cy=new b();this.r=new b();c=b=void 0;this.addEventListener("DOMNodeInserted",function(e){var d=e.target;if(e.eventPhase===3){return}var i=d.nextSibling,f=d.parentNode._tar,g=true;if(i&&i._tar&&f&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar)}else{if(i&&!i._tar&&f){while(i){if(i._tar&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar);g=false}i=i.nextSibling}if(g){f.appendChild(d._tar)}}else{if(!i&&f){f.appendChild(d._tar)}}}i=f=g=void 0;d.addEventListener("DOMNodeInsertedIntoDocument",function(A){var H=A.target,J=H.ownerDocument.defaultView.getComputedStyle(H,"");var k=parseFloat(J.getPropertyValue("font-size"));H.cx.baseVal._emToUnit(k);H.cy.baseVal._emToUnit(k);H.r.baseVal._emToUnit(k);var l=H.cx.baseVal.value,j=H.cy.baseVal.value,q=ry=H.r.baseVal.value;var B=j-ry,o=l-q,t=j+ry,M=l+q;var s=q*0.55228,r=ry*0.55228;var K=["m",l,B,"c",l-s,B,o,j-r,o,j,o,j+r,l-s,t,l,t,l+s,t,M,j+r,M,j,M,j-r,l+s,B,l,B,"x e"];var z=H.ownerDocument.documentElement,O=H.getScreenCTM(),E=Math.round;for(var G=0,F=K.length;G<F;){if(isNaN(K[G])){++G;continue}var D=z.createSVGPoint();D.x=K[G];D.y=K[G+1];var C=D.matrixTransform(O);K[G]=E(C.x);++G;K[G]=E(C.y);++G;D=C=void 0}var L=K.join(" ");var v=H._tar,N=H.ownerDocument.documentElement;var u=N.width.baseVal.value,I=N.height.baseVal.value;v.path=L;v.coordsize=u+" "+I;NAIBU._setPaint(H,O);delete H._cacheMatrix;A=H=K=E=J=k=L=v=void 0},false);e=d=void 0},false);return this}SVGCircleElement.constructor=SVGElement;SVGCircleElement.prototype=new SVGElement();function SVGEllipseElement(c){SVGElement.apply(this);this._tar=c.createElement("v:shape");var b=SVGAnimatedLength;this.cx=new b();this.cy=new b();this.rx=new b();this.ry=new b();c=b=void 0;this.addEventListener("DOMNodeInserted",function(e){var d=e.target;if(e.eventPhase===3){return}var i=d.nextSibling,f=d.parentNode._tar,g=true;if(i&&i._tar&&f&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar)}else{if(i&&!i._tar&&f){while(i){if(i._tar&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar);g=false}i=i.nextSibling}if(g){f.appendChild(d._tar)}}else{if(!i&&f){f.appendChild(d._tar)}}}i=f=g=void 0;d.addEventListener("DOMNodeInsertedIntoDocument",function(B){var I=B.target,K=I.ownerDocument.defaultView.getComputedStyle(I,"");var k=parseFloat(K.getPropertyValue("font-size"));I.cx.baseVal._emToUnit(k);I.cy.baseVal._emToUnit(k);I.rx.baseVal._emToUnit(k);I.ry.baseVal._emToUnit(k);var l=I.cx.baseVal.value,j=I.cy.baseVal.value,r=I.rx.baseVal.value,q=I.ry.baseVal.value;var C=j-q,o=l-r,u=j+q,N=l+r;var t=r*0.55228,s=q*0.55228;var L=["m",l,C,"c",l-t,C,o,j-s,o,j,o,j+s,l-t,u,l,u,l+t,u,N,j+s,N,j,N,j-s,l+t,C,l,C,"x e"];var A=I.ownerDocument.documentElement,P=I.getScreenCTM(),F=Math.round;for(var H=0,G=L.length;H<G;){if(isNaN(L[H])){++H;continue}var E=A.createSVGPoint();E.x=L[H];E.y=L[H+1];var D=E.matrixTransform(P);L[H]=F(D.x);++H;L[H]=F(D.y);++H;E=D=void 0}var M=L.join(" ");var z=I._tar,O=I.ownerDocument.documentElement;var v=O.width.baseVal.value,J=O.height.baseVal.value;z.path=M;z.coordsize=v+" "+J;NAIBU._setPaint(I,P);delete I._cacheMatrix;B=z=I=K=k=M=L=F=P=v=J=void 0},false);e=d=void 0},false);return this}SVGEllipseElement.constructor=SVGElement;SVGEllipseElement.prototype=new SVGElement();function SVGLineElement(c){SVGElement.apply(this);this._tar=c.createElement("v:shape");var b=SVGAnimatedLength;this.x1=new b();this.y1=new b();this.x2=new b();this.y2=new b();c=b=void 0;this.addEventListener("DOMNodeInserted",function(e){var d=e.target;if(e.eventPhase===3){return}var i=d.nextSibling,f=d.parentNode._tar,g=true;if(i&&i._tar&&f&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar)}else{if(i&&!i._tar&&f){while(i){if(i._tar&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar);g=false}i=i.nextSibling}if(g){f.appendChild(d._tar)}}else{if(!i&&f){f.appendChild(d._tar)}}}i=f=g=void 0;d.addEventListener("DOMNodeInsertedIntoDocument",function(v){var t=v.target,j=t.ownerDocument.defaultView.getComputedStyle(t,"");var B=parseFloat(j.getPropertyValue("font-size"));t.x1.baseVal._emToUnit(B);t.y1.baseVal._emToUnit(B);t.x2.baseVal._emToUnit(B);t.y2.baseVal._emToUnit(B);var q=t.ownerDocument.documentElement,r=t.getScreenCTM(),z="m ",l=Math.round,k=q.createSVGPoint();k.x=t.x1.baseVal.value;k.y=t.y1.baseVal.value;var o=k.matrixTransform(r);z+=l(o.x)+" "+l(o.y)+" l ";k.x=t.x2.baseVal.value;k.y=t.y2.baseVal.value;o=k.matrixTransform(r);z+=l(o.x)+" "+l(o.y);k=o=void 0;var A=t._tar,u=q.width.baseVal.value,s=q.height.baseVal.value;A.path=z;A.coordsize=u+" "+s;NAIBU._setPaint(t,r);delete t._cacheMatrix;v=A=t=j=B=z=list=l=r=q=u=s=void 0},false);e=d=void 0},false);return this}SVGLineElement.constructor=SVGElement;SVGLineElement.prototype=new SVGElement();NAIBU._GenericSVGPolyElement=function(c,b){SVGElement.apply(this);this._tar=c.createElement("v:shape");c=void 0;this.animatedPoints=this.points=new SVGPointList();this.addEventListener("DOMAttrModified",function(e){var d=e.target;if(e.attrName==="points"){var o=d.points,j=d.ownerDocument.documentElement;var k=e.newValue.replace(/^\s+|\s+$/g,"").split(/[\s,]+/);for(var g=0,l,f=k.length;g<f;g+=2){if(isNaN(k[g])){--g;continue}l=j.createSVGPoint();l.x=parseFloat(k[g]);l.y=parseFloat(k[g+1]);o.appendItem(l)}}e=d=k=o=j=l=void 0},false);this.addEventListener("DOMNodeInserted",function(e){var d=e.target;if(e.eventPhase===3){return}var i=d.nextSibling,f=d.parentNode._tar,g=true;if(i&&i._tar&&f&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar)}else{if(i&&!i._tar&&f){while(i){if(i._tar&&(i._tar.parentNode===f)){f.insertBefore(d._tar,i._tar);g=false}i=i.nextSibling}if(g){f.appendChild(d._tar)}}else{if(!i&&f){f.appendChild(d._tar)}}}i=f=g=void 0;d.addEventListener("DOMNodeInsertedIntoDocument",function(z){var t=z.target,v=t.points,r=t.getScreenCTM(),k=Math.round;for(var q=0,u=[],s=v.numberOfItems;q<s;++q){var j=v.getItem(q),o=j.matrixTransform(r);u[2*q]=k(o.x);u[2*q+1]=k(o.y);j=o=void 0}u.splice(2,0,"l");var A="m"+u.join(" ")+b,B=t._tar,l=t.ownerDocument.documentElement;w=l.width.baseVal.value,h=l.height.baseVal.value;B.path=A;B.coordsize=w+" "+h;NAIBU._setPaint(t,r);delete t._cacheMatrix;z=B=t=A=u=k=r=w=h=l=void 0},false);e=d=void 0},false);return this};function SVGPolylineElement(b){NAIBU._GenericSVGPolyElement.call(this,b,"e");b=void 0;return this}SVGPolylineElement.constructor=SVGElement;SVGPolylineElement.prototype=new SVGElement();function SVGPolygonElement(b){NAIBU._GenericSVGPolyElement.call(this,b,"x e");b=void 0;return this}SVGPolygonElement.constructor=SVGElement;SVGPolygonElement.prototype=new SVGElement();function SVGTextContentElement(b){SVGElement.apply(this);this.textLength=new SVGAnimatedLength();this.lengthAdjust=new SVGAnimatedEnumeration(SVGTextContentElement.LENGTHADJUST_UNKNOWN);this.addEventListener("DOMNodeInserted",function(f){var e=f.target,o=f.currentTarget;if((f.eventPhase===1)&&(e.localName==="a")&&(e.namespaceURI==="http://www.w3.org/2000/svg")&&e.firstChild){e=e.firstChild}if((f.eventPhase===1)&&(e.nodeType===3)&&!!!e._tars){e._tars=[];var k=e.data.replace(/^\s+/,"").replace(/\s+$/,"");e.data=k;k=k.split("");for(var g=0,c=k.length;g<c;++g){var l=b.createElement("div"),j=l.style;j.position="absolute";j.marginLeft=j.marginRight=j.marginTop="0px";j.paddingTop=j.paddingLeft="0px";j.whiteSpace="nowrap";j.textIndent="0px";l.appendChild(b.createTextNode(k[g]));e._tars[e._tars.length]=l}k=void 0;o._length+=e._tars.length}else{if((f.eventPhase===1)&&(e instanceof SVGTextContentElement)&&!!!e._tars){o._length+=e._length}}f=e=o=void 0},true);return this}(function(b){b.constructor=SVGElement;b.prototype=new SVGElement();b.LENGTHADJUST_UNKNOWN=0;b.LENGTHADJUST_SPACING=1;b.LENGTHADJUST_SPACINGANDGLYPHS=2;b.prototype._list=null;b.prototype._length=0;b.prototype._stx=b.prototype._sty=0;b.prototype._chars=0;b.prototype._isYokogaki=true;b.prototype.getNumberOfChars=function(){return(this._length)};b.prototype.getComputedTextLength=function(){var c=this.textLength.baseVal;if((c.value===0)&&(this.getNumberOfChars()>0)){c.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_NUMBER,this.getSubStringLength(0,this.getNumberOfChars()))}c=void 0;return(this.textLength.baseVal.value)};b.prototype.getSubStringLength=function(e,i){if(i===0){return 0}var g=this.getNumberOfChars();if(g<(i+e)){i=g-e+1}var c=this.getEndPositionOfChar(i+e-1),d=this.getStartPositionOfChar(e);if(this._isYokogaki){var f=c.x-d.x}else{var f=c.y-d.y}g=c=d=void 0;return f};b.prototype.getStartPositionOfChar=function(d){if(d>this.getNumberOfChars()||d<0){throw (new DOMException(DOMException.INDEX_SIZE_ERR))}else{var M=this,l=M.firstChild,g=M.parentNode;if(!!!M._list){M._list=[];var C=M._chars,A=M._stx,z=M._sty,F=0,N=M.ownerDocument.defaultView.getComputedStyle(M,null),t=((N.getPropertyValue("writing-mode"))==="lr-tb")?true:false,k=parseFloat(N.getPropertyValue("font-size")),R=M.x.baseVal,Q=M.y.baseVal,G=M.dx.baseVal,E=M.dy.baseVal;if(g&&((g.localName==="text")||(g.localName==="tspan"))){var P=g.x.baseVal,O=g.y.baseVal,u=g.dx.baseVal,r=g.dy.baseVal}else{var P=O=u=r={numberOfItems:0}}var o="f ijltIr.,:;'-\"()",j="1234567890abcdeghknopquvxyz",c,f,e,H,D,K,J,v,q;if(t&&(M.localName==="text")){z+=k*0.2}else{if(M.localName==="text"){A-=k*0.5}}while(l){if(l.nodeType===3){c=l._tars;for(var L=0,I=c.length;L<I;++L){if(F<P.numberOfItems-C){A=P.getItem(F).value;if(!t){A-=k*0.5}}else{if(F<R.numberOfItems){A=R.getItem(F).value;if(!t){A-=k*0.5}}}if(F<O.numberOfItems-C){z=O.getItem(F).value;if(t){z+=k*0.2}}else{if(F<Q.numberOfItems){z=Q.getItem(F).value;if(t){z+=k*0.2}}}if(F<u.numberOfItems-C){A+=u.getItem(F).value}else{if(F<G.numberOfItems){A+=G.getItem(F).value}}if(F<r.numberOfItems-C){z+=r.getItem(F).value}else{if(F<E.numberOfItems){z+=E.getItem(F).value}}f=0;if(t){e=l.data.charAt(L);if(o.indexOf(e)>-1){f=k*0.68}else{if(e==="s"){f=k*0.52}else{if((e==="C")||(e==="D")||(e==="M")||(e==="W")||(e==="G")||(e==="m")){f=k*0.2}else{if(j.indexOf(e)>-1){f=k*0.45}else{f=k*0.3}}}}H=e.charCodeAt(0);if((12288<=H)&&(H<=65533)){f=-k*0.01;if((e==="う")||(e==="く")||(e==="し")||(e==="ち")){f+=k*0.2}}}v=M._list;v[v.length]=A;v[v.length]=z;v[v.length]=k-f;if(t){A+=k;A-=f}else{z+=k}++F}C+=I;if(l.parentNode&&(l.parentNode.localName==="a")){l=l.parentNode}l=l.nextSibling}else{if((l.localName==="tspan")&&(l.namespaceURI==="http://www.w3.org/2000/svg")&&l.firstChild){l._stx=A;l._sty=z;l._chars=C;D=l.getStartPositionOfChar(l.getNumberOfChars());K=0;J=0;v=l._list;if(t){K=v[v.length-1]}else{J=v[v.length-1]}A=v[v.length-3]+K;z=v[v.length-2]+J;M._list=M._list.concat(v);q=l.getNumberOfChars();F+=q;C+=q;l=l.nextSibling}else{if((l.localName==="a")&&(l.namespaceURI==="http://www.w3.org/2000/svg")&&l.firstChild){l=l.firstChild}else{l=l.nextSibling}}}}M._isYokogaki=t}M=l=g=P=O=R=Q=C=N=A=z=t=o=j=c=f=e=H=D=K=J=v=q=void 0;var B=this.ownerDocument.documentElement.createSVGPoint();B.x=this._list[d*3];B.y=this._list[d*3+1];B=B.matrixTransform(this.getScreenCTM());return B}};b.prototype.getEndPositionOfChar=function(c){if(c>this.getNumberOfChars()||c<0){throw (new DOMException(DOMException.INDEX_SIZE_ERR))}else{var d=this.getStartPositionOfChar(c);var e=this._list[c*3+2]*Math.sqrt(Math.abs(this.getScreenCTM()._determinant()));if(this._isYokogaki){d.x+=e}else{d.y+=e}return d}};b.prototype.getExtentOfChar=function(c){};b.prototype.getRotationOfChar=function(c){};b.prototype.getCharNumAtPosition=function(c){};b.prototype.selectSubString=function(c,d){}})(SVGTextContentElement);function SVGTextPositioningElement(c){SVGTextContentElement.apply(this,arguments);var b=SVGAnimatedLengthList;this.x=new b();this.y=new b();this.dx=new b();this.dy=new b();c=b=void 0;this.rotate=new SVGAnimatedNumberList();this.addEventListener("DOMAttrModified",function(t){var o=t.target,f=t.attrName,k=o.ownerDocument.documentElement,j=parseFloat;if((f==="x")||(f==="y")||(f==="dx")||(f==="dy")){var q=t.newValue.replace(/^\s+|\s+$/g,"").split(/[\s,]+/),u=o[f].baseVal;for(var l=0,e=q.length;l<e;++l){var r=k.createSVGLength(),g=q[l].slice(-1),p=0;if(g>="0"&&g<="9"){p=1}else{if(g==="%"){if((f==="x")||(f==="dx")){r._percent*=k.viewport.width}else{if((f==="y")||(f==="dy")){r._percent*=k.viewport.height}}p=2}else{g=q[l].slice(-2);if(g==="em"){var d=o.ownerDocument.defaultView.getComputedStyle(o,null);r._percent*=j(d.getPropertyValue("font-size"));d=void 0;p=3}else{if(g==="ex"){p=4}else{if(g==="px"){p=5}else{if(g==="cm"){p=6}else{if(g==="mm"){p=7}else{if(g==="in"){p=8}else{if(g==="pt"){p=9}else{if(g==="pc"){p=10}}}}}}}}}}var v=j(q[l]);v=isNaN(v)?0:v;r.newValueSpecifiedUnits(p,v);u.appendItem(r)}o._list=null}t=o=void 0},false);this.addEventListener("DOMNodeInserted",function(e){if(e.eventPhase===3){var d=e.target;if(d.nodeType!==3){d._list=void 0;e.currentTarget._list=null}e=d=void 0}},false);return this}SVGTextPositioningElement.constructor=SVGTextContentElement;SVGTextPositioningElement.prototype=new SVGTextContentElement();function SVGTextElement(b){SVGTextPositioningElement.apply(this,arguments);this._tar=b.createElement("v:group");this.addEventListener("DOMNodeInserted",function(d){if(d.eventPhase===3){return}var c=d.target,g=c.nextSibling,e=c.parentNode._tar,f=true;if(g&&g._tar&&e&&(g._tar.parentNode===e)){e.insertBefore(c._tar,g._tar)}else{if(g&&!g._tar&&e){while(g){if(g._tar&&(g._tar.parentNode===e)){e.insertBefore(c._tar,g._tar);f=false}g=g.nextSibling}if(f){e.appendChild(c._tar)}}else{if(!g&&e){e.appendChild(c._tar)}}}g=e=f=void 0;c.addEventListener("DOMNodeInsertedIntoDocument",function(H){var S=H.target,v=S.firstChild,z=S._tar,U=S.ownerDocument.defaultView.getComputedStyle(S,null),K=parseFloat(U.getPropertyValue("font-size"))*Math.sqrt(Math.abs(S.getScreenCTM()._determinant())),W=S.ownerDocument.documentElement,D=z,k=S.getComputedTextLength(),A=U.getPropertyValue("text-anchor"),M=U.getPropertyValue("text-decoration"),r=z.style,X=[];r.fontSize=K+"px";r.fontFamily=U.getPropertyValue("font-family");r.fontStyle=U.getPropertyValue("font-style");r.fontWeight=U.getPropertyValue("font-weight");for(var T=0,R=0,O=S.getNumberOfChars();T<O;++T){if(v){if(!!v._tars&&(v._tars.length!==0)){var E=(T>R)?T-R:R-T;var F=v._tars[E].style,J=S.getStartPositionOfChar(T);F.position="absolute";if(S._isYokogaki){if(A==="middle"){J.x-=k/2}else{if(A==="end"){J.x-=k}}}else{if(A==="middle"){J.y-=k/2}else{if(A==="end"){J.y-=k}}}F.left=J.x+"px";F.top=J.y+"px";F.width="0px";F.height="0px";F.marginTop=S._isYokogaki?-K-5+"px":"-5px";F.lineHeight=K+10+"px";F.textDecoration=M;F.display="none";z.appendChild(v._tars[E]);F=J=void 0}if(v.nodeName==="#text"){if((v.data.length+R)<=T+1){R=R+v.data.length;if(v.parentNode.localName==="a"){v=v.parentNode;z=D}v=v.nextSibling}}else{if(!!v.getNumberOfChars){if((v.getNumberOfChars()+R)<=T+1){R=R+v.getNumberOfChars();v=v.nextSibling}}else{if((v.localName==="a")&&(v.namespaceURI==="http://www.w3.org/2000/svg")&&v.firstChild){z=v._tar;v=v.firstChild;X[X.length]=v;T-=2}}}}}var P=U.getPropertyValue("fill"),u=U.getPropertyCSSValue("cursor"),G=U.getPropertyCSSValue("visibility"),Q=U.getPropertyCSSValue("display"),t=S._tar.style,C=S.firstChild._tars,s=C[0]?C[0].innerText.charAt(0):[""],Y;if(P==="none"){t.color="transparent"}else{if(P.indexOf("url")===-1){t.color=P}else{t.color="black"}}if(u&&!u._isDefault){var B=u.cssText;t.cursor=B.split(":")[1];B=void 0}if((S.x.baseVal.numberOfItems===1)&&(S.y.baseVal.numberOfItems===1)&&S._isYokogaki&&(S.firstChild.nodeName==="#text")){for(var T=1,O=C.length;T<O;++T){Y=C[T];s+=Y.innerText;Y.parentNode.removeChild(Y)}if(C[0]&&C[0].replaceChild){C[0].replaceChild(b.createTextNode(s),C[0].firstChild)}s=void 0}var q=true,V="block";if(z.lastChild){if(z.lastChild.nodeName!=="rect"){q=false}}else{q=false}if(!q){var L=b.createElement("v:rect"),o=L.style;o.width=o.height="1px";o.left=o.top="0px";L.stroked=L.filled="false";z.appendChild(L)}if(G&&!G._isDefault){t.visibility=G.cssText.split(":")[1]}if(Q&&!Q._isDefault&&(Q.cssText.indexOf("none")>-1)){V="none"}else{if(Q&&!Q._isDefault){V="block"}}var I=S._tar.firstChild,R=0;while(I){I.style.display=V;I=I.nextSibling}while(X[R]){for(var N=0,O=X[R]._tars.length;N<O;++N){X[R]._tars[N].style.display=V}N=void 0;++R}delete S._cacheMatrix;X=q=H=S=U=M=tpp=D=U=P=u=Q=G=r=L=o=V=C=I=void 0},false);d=c=void 0},false);return this}SVGTextElement.constructor=SVGTextPositioningElement;SVGTextElement.prototype=new SVGTextPositioningElement();function SVGTSpanElement(){SVGTextElement.apply(this,arguments);return this}SVGTSpanElement.constructor=SVGTextPositioningElement;SVGTSpanElement.prototype=new SVGTextPositioningElement();function SVGTRefElement(b){SVGTextPositioningElement.apply(this,arguments);SVGURIReference.apply(this,arguments);return this}SVGTRefElement.constructor=SVGTextPositioningElement;SVGTRefElement.prototype=new SVGTextPositioningElement();function SVGTextPathElement(){SVGTextContentElement.apply(this,arguments);this.startOffset;this.method;this.spacing;SVGURIReference.apply(this,arguments);return this}SVGTextPathElement.constructor=SVGTextContentElement;SVGTextPathElement.prototype=new SVGTextContentElement();(function(b){b.TEXTPATH_METHODTYPE_UNKNOWN=0;b.TEXTPATH_METHODTYPE_ALIGN=1;b.TEXTPATH_METHODTYPE_STRETCH=2;b.TEXTPATH_SPACINGTYPE_UNKNOWN=0;b.TEXTPATH_SPACINGTYPE_AUTO=1;b.TEXTPATH_SPACINGTYPE_EXACT=2})(SVGTextPathElement);function SVGAltGlyphElement(){SVGTextPositioningElement.apply(this,arguments);this.glyphRef;this.format;SVGURIReference.apply(this,arguments);return this}SVGAltGlyphElement.constructor=SVGTextPositioningElement;SVGAltGlyphElement.prototype=new SVGTextPositioningElement();function SVGAltGlyphDefElement(){SVGElement.apply(this,arguments);return this}SVGAltGlyphDefElement.constructor=SVGElement;SVGAltGlyphDefElement.prototype=new SVGElement();function SVGAltGlyphItemElement(){SVGElement.apply(this,arguments);return this}SVGAltGlyphItemElement.constructor=SVGElement;SVGAltGlyphItemElement.prototype=new SVGElement();function SVGGlyphRefElement(){SVGElement.apply(this,arguments);this.glyphRef;this.format;this.x;this.y;this.dx;this.dy;SVGURIReference.apply(this,arguments);return this}SVGGlyphRefElement.constructor=SVGElement;SVGGlyphRefElement.prototype=new SVGElement();function SVGPaint(){SVGColor.apply(this,arguments);return this}(function(b){b.constructor=SVGColor;b.prototype=new SVGColor();b.SVG_PAINTTYPE_UNKNOWN=0;b.SVG_PAINTTYPE_RGBCOLOR=1;b.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR=2;b.SVG_PAINTTYPE_NONE=101;b.SVG_PAINTTYPE_CURRENTCOLOR=102;b.SVG_PAINTTYPE_URI_NONE=103;b.SVG_PAINTTYPE_URI_CURRENTCOLOR=104;b.SVG_PAINTTYPE_URI_RGBCOLOR=105;b.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR=106;b.SVG_PAINTTYPE_URI=107;b.prototype.paintType=b.SVG_PAINTTYPE_UNKNOWN;b.prototype.uri=null;b.prototype.setUri=function(c){this.setPaint(SVGPaint.SVG_PAINTTYPE_URI_NONE,c,null,null)};b.prototype.setPaint=function(c,e,d,f){if((c<101&&e)||(c>102&&!e)){throw new SVGException(SVGException.SVG_INVALID_VALUE_ERR)}this.uri=e;this.paintType=c;if(c===102){c=3}this.setColor(c,d,f)};b=void 0})(SVGPaint);function SVGMarkerElement(){SVGElement.apply(this);var b=SVGAnimatedLength;this.refX=new b();this.refY=new b();this.markerUnits=new SVGAnimatedEnumeration();this.markerWidth=new b();this.markerHeight=new b();b=void 0;this.orientType=new SVGAnimatedEnumeration();this.orientAngle=new SVGAnimatedAngle();this.viewBox=new SVGAnimatedRect();this.preserveAspectRatio=new SVGAnimatedPreserveAspectRatio();this.zoomAndPan=SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE;return this}(function(b){b.SVG_MARKERUNITS_UNKNOWN=0;b.SVG_MARKERUNITS_USERSPACEONUSE=1;b.SVG_MARKERUNITS_STROKEWIDTH=2;b.SVG_MARKER_ORIENT_UNKNOWN=0;b.SVG_MARKER_ORIENT_AUTO=1;b.SVG_MARKER_ORIENT_ANGLE=2;b.constructor=SVGElement;b.prototype=new SVGElement();b.prototype.setOrientToAuto=function(){};b.prototype.setOrientToAngle=function(c){}})(SVGMarkerElement);function SVGColorProfileElement(){SVGElement.apply(this);this._local;this.name;this.renderingIntent;SVGURIReference.apply(this,arguments);return this}SVGColorProfileElement.constructor=SVGElement;SVGColorProfileElement.prototype=new SVGElement();function SVGColorProfileRule(){SVGCSSRule.apply(this);this.src;this.name;this.renderingIntent;return this}SVGColorProfileRule.constructor=SVGCSSRule;SVGColorProfileRule.prototype=new SVGCSSRule();function SVGGradientElement(){SVGElement.apply(this);SVGURIReference.apply(this);this.gradientUnits=new SVGAnimatedEnumeration();this.gradientTransform=new SVGAnimatedTransformList();this.spreadMethod=new SVGAnimatedEnumeration();this.addEventListener("DOMNodeInsertedIntoDocument",function(q){var p=q.target,v=q._tar,s=q._style,k=p,c,r,e,g=[],b=[],l=[],o,f,u;if(!v||!p){p=v=s=k=c=r=e=g=b=l=void 0;return}if(p._instance){k=p._instance}r=k.getElementsByTagNameNS("http://www.w3.org/2000/svg","stop");if(!r){v=s=c=p=k=r=g=b=l=void 0;return}e=r.length;for(var j=0;j<e;++j){o=r[j];f=o.ownerDocument.defaultView.getComputedStyle(o,"");u=f.getPropertyCSSValue("stop-color");if(u&&(u.colorType===3)){f.setProperty("color",f.getPropertyValue("color"))}g[j]="rgb("+u.rgbColor.red.getFloatValue(1)+","+u.rgbColor.green.getFloatValue(1)+","+u.rgbColor.blue.getFloatValue(1)+")";b[j]=o.offset.baseVal+" "+g[j];l[j]=(f.getPropertyValue("stop-opacity")||1)*s.getPropertyValue("fill-opacity")*s.getPropertyValue("opacity")}v.method="none";v.color=g[0];v.color2=g[e-1];v.colors=b.join(",");v.opacity=l[e-1]+"";v["o:opacity2"]=l[0]+"";p._color=g;var d=k.getAttributeNS(null,"gradientTransform");if(d){p.setAttributeNS(null,"transform",d)}p=k=v=r=e=g=b=l=q=s=c=o=f=u=void 0},false);return this}SVGGradientElement.constructor=SVGElement;SVGGradientElement.prototype=new SVGElement();SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN=0;SVGGradientElement.SVG_SPREADMETHOD_PAD=1;SVGGradientElement.SVG_SPREADMETHOD_REFLECT=2;SVGGradientElement.SVG_SPREADMETHOD_REPEAT=3;function SVGLinearGradientElement(){SVGGradientElement.apply(this);var b=SVGAnimatedLength;this.x1=new b();this.y1=new b();this.x2=new b();this.y2=new b();b=void 0;this.addEventListener("DOMNodeInsertedIntoDocument",function(c){var i=c.target,f=c._tar,g=270;if(!!!f){return}var d=i.ownerDocument.defaultView.getComputedStyle(i,"");var e=parseFloat(d.getPropertyValue("font-size"));i.x1.baseVal._emToUnit(e);i.y1.baseVal._emToUnit(e);i.x2.baseVal._emToUnit(e);i.y2.baseVal._emToUnit(e);g=270-Math.atan2(i.y2.baseVal.value-i.y1.baseVal.value,i.x2.baseVal.value-i.x1.baseVal.value)*180/Math.PI;if(g>=360){g-=360}f.setAttribute("type","gradient");f.setAttribute("angle",g+"");c=f=i=g=d=e=void 0},false);return this}SVGLinearGradientElement.constructor=SVGGradientElement;SVGLinearGradientElement.prototype=new SVGGradientElement();function SVGRadialGradientElement(c){SVGGradientElement.apply(this);var b=SVGAnimatedLength;this.cx=new b();this.cy=new b();this.r=new b();this.fx=new b();this.fy=new b();b=void 0;this.cx.baseVal.value=this.cy.baseVal.value=this.r.baseVal.value=0.5;this.addEventListener("DOMNodeInsertedIntoDocument",function(C){var o=C.target,Y=C._tar,E=C._ttar;if(!!!Y){return}Y.setAttribute("type","gradientTitle");Y.setAttribute("focus","100%");Y.setAttribute("focusposition","0.5 0.5");if(E.localName==="rect"){var M=o.ownerDocument.defaultView.getComputedStyle(E,""),l=parseFloat(M.getPropertyValue("font-size"));o.cx.baseVal._emToUnit(l);o.cy.baseVal._emToUnit(l);o.r.baseVal._emToUnit(l);o.fx.baseVal._emToUnit(l);o.fy.baseVal._emToUnit(l);var z=o.cx.baseVal.value,u=o.cy.baseVal.value,I=o.r.baseVal.value,f=Math.round,B,A;B=A=I;var G=E.getBBox(),s=E.ownerDocument.documentElement.viewport,U=f(s.width),J=f(s.height),O=0,d=0,V=o.getAttributeNS(null,"gradientUnits");if(!V||V==="objectBoundingBox"){z=z>1?z/100:z;u=u>1?u/100:u;I=I>1?I/100:I;var P=G.x,L=G.y,T=G.width,R=G.height;z=z*T+P;u=u*R+L;B=I*T;A=I*R;P=L=T=R=void 0}var D=E.getScreenCTM().multiply(o.getCTM());U=z-B;J=u-A;O=z+B;d=u+A;var k=B*0.55228,j=A*0.55228,v=["m",z,J,"c",z-k,J,U,u-j,U,u,U,u+j,z-k,d,z,d,z+k,d,O,u+j,O,u,O,u-j,z+k,J,z,J,"x e"];for(var Q=0,N=v.length;Q<N;){if(isNaN(v[Q])){++Q;continue}var K=o.ownerDocument.documentElement.createSVGPoint();K.x=parseFloat(v[Q]);K.y=parseFloat(v[Q+1]);var g=K.matrixTransform(D);v[Q]=f(g.x);Q++;v[Q]=f(g.y);Q++;K=g=void 0}var X=v.join(" "),e=c.getElementById("_NAIBU_outline"),F=c.createElement("div"),t=F.style;t.position="absolute";t.display="inline-block";var H=s.width,S=s.height;t.textAlign="left";t.top="0px";t.left="0px";t.width=H+"px";t.height=S+"px";e.appendChild(F);t.filter="progid:DXImageTransform.Microsoft.Compositor";F.filters.item("DXImageTransform.Microsoft.Compositor").Function=23;var q='<v:shape style="display:inline-block; position:relative; antialias:false; top:0px; left:0px;" coordsize="'+H+" "+S+'" path="'+X+'" stroked="f">'+Y.outerHTML+"</v:shape>",W=E._tar.path.value;F.innerHTML='<v:shape style="display:inline-block; position:relative; top:0px; left:0px;" coordsize="'+H+" "+S+'" path="'+W+'" stroked="f" fillcolor="'+o._color[o._color.length-1]+'" ></v:shape>';F.filters[0].apply();F.innerHTML=q;F.filters[0].play();E._tar.parentNode.insertBefore(F,E._tar);E._tar.filled="false";X=e=F=M=l=t=q=W=v=f=gt=z=u=I=H=S=D=void 0}else{if(!Y.parentNode){E._tar.appendChild(Y)}}C=E=Y=gard=void 0},false);return this}SVGRadialGradientElement.constructor=SVGGradientElement;SVGRadialGradientElement.prototype=new SVGGradientElement();function SVGStopElement(){SVGElement.apply(this,arguments);this.offset=new SVGAnimatedNumber();this.addEventListener("DOMAttrModified",function(b){if(b.attrName==="offset"){b.target.offset.baseVal=parseFloat(b.newValue)}b=void 0},false);return this}SVGStopElement.constructor=SVGElement;SVGStopElement.prototype=new SVGElement();function SVGPatternElement(){SVGElement.apply(this);var b=SVGAnimatedLength;this.patternUnits=new SVGAnimatedEnumeration();this.patternContentUnits=new SVGAnimatedEnumeration();this.patternTransform=new SVGAnimatedTransformList();this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;SVGURIReference.apply(this,arguments);this.viewBox=new SVGAnimatedRect();this.preserveAspectRatio=new SVGAnimatedPreserveAspectRatio();this.zoomAndPan=SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE;return this}SVGPatternElement.constructor=SVGElement;SVGPatternElement.prototype=new SVGElement();function SVGClipPathElement(){SVGElement.apply(this,arguments);this.clipPathUnits=new SVGAnimatedEnumeration();return this}SVGClipPathElement.constructor=SVGElement;SVGClipPathElement.prototype=new SVGElement();function SVGMaskElement(){SVGElement.apply(this);var b=SVGAnimatedLength;this.maskUnits=new SVGAnimatedEnumeration();this.maskContentUnits=new SVGAnimatedEnumeration();this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;return this}SVGMaskElement.constructor=SVGElement;SVGMaskElement.prototype=new SVGElement();function SVGFilterElement(){SVGElement.apply(this);var b=SVGAnimatedLength;this.filterUnits=new SVGAnimatedEnumeration();this.primitiveUnits=new SVGAnimatedEnumeration();this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;this.filterResX=new SVGAnimatedInteger();this.filterResY=new SVGAnimatedInteger();SVGURIReference.apply(this,arguments);return this}SVGFilterElement.constructor=SVGElement;SVGFilterElement.prototype=new SVGElement();function SVGFilterPrimitiveStandardAttributes(c){SVGStylable.apply(this,arguments);this._tar=c;var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();this.result=new b();b=void 0}SVGFilterPrimitiveStandardAttributes.constructor=SVGStylable;SVGFilterPrimitiveStandardAttributes.prototype=new SVGStylable();function SVGFEBlendElement(){SVGElement.apply(this,arguments);this.in1=new SVGAnimatedString();this.in2=new SVGAnimatedString();this.mode=new SVGAnimatedEnumeration();this._fpsa=SVGFilterPrimitiveStandardAttributes(this);return this}SVGFEBlendElement.constructor=SVGElement;SVGFEBlendElement.prototype=new SVGElement();SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN=0;SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL=1;SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY=2;SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN=3;SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN=4;SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN=5;function SVGFEGaussianBlurElement(){SVGElement.apply(this,arguments);this.in1=new SVGAnimatedString();this.stdDeviationX=new SVGAnimatedNumber();this.stdDeviationY=new SVGAnimatedNumber();this._fpsa=SVGFilterPrimitiveStandardAttributes(this);return this}SVGFEGaussianBlurElement.constructor=SVGElement;SVGFEGaussianBlurElement.prototype=new SVGElement();SVGFEGaussianBlurElement.prototype.setStdDeviation=function(c,b){};function SVGCursorElement(){SVGElement.apply(this,arguments);this.x=new SVGAnimatedLength();this.y=new SVGAnimatedLength();SVGURIReference.apply(this,arguments);return this}SVGCursorElement.constructor=SVGElement;SVGCursorElement.prototype=new SVGElement();function SVGAElement(b){SVGElement.apply(this);this._tar=b.createElement("a");b=void 0;this.target=new SVGAnimatedString();this.target.baseVal="_self";this.addEventListener("DOMAttrModified",function(d){var c=d.target;if(d.eventPhase===3){return}if(d.attrName==="target"){c.target.baseVal=d.newValue}else{if(d.attrName==="xlink:title"){c._tar.setAttribute("title",d.newValue)}}d=void 0},false);this.addEventListener("DOMNodeInserted",function(d){var c=d.target;if(d.eventPhase===3){return}if(c.nextSibling){if(!!c.parentNode._tar&&!!c.nextSibling._tar){c.parentNode._tar.insertBefore(c._tar,c.nextSibling._tar)}}else{if(!!c.parentNode._tar){c.parentNode._tar.appendChild(c._tar)}}var f=c._tar.style;f.cursor="hand";f.left="0px";f.top="0px";f.textDecoration="none";f=void 0;var g=c.target.baseVal;var e="replace";if(g==="_blank"){e="new"}c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:show",e);c._tar.style.color=c.ownerDocument.defaultView.getComputedStyle(c,"").getPropertyValue("fill");c=d=void 0},false);this.addEventListener("DOMNodeInsertedIntoDocument",function(d){var c=d.target;if(!!c._tar&&(c.nodeType===1)){var e=c._tar.style;e.cursor="hand";e.textDecoration="none";e=void 0}c=d=void 0;return},true);this.addEventListener("DOMNodeInsertedIntoDocument",function(d){var c=d.target;c._tar.setAttribute("target",c.target.baseVal);if(c.href.baseVal.indexOf(".svg")!==-1){c.addEventListener("click",function(f){var e=f.target,i=document.body,g,j;i.lastChild.innerHTML="<object data='"+e.href.baseVal.split("#")[0]+"' width='"+screen.width+"' height='"+screen.height+"' type='image/svg+xml'></object>";if(e.target.baseVal==="_self"){j=e.ownerDocument._iframe;j.parentNode.insertBefore(i.lastChild.firstChild,j);g=j.nextSibling;if(g&&(g.tagName==="OBJECT")){j.previousSibling.setAttribute("width",g.getAttribute("width"));j.previousSibling.setAttribute("height",g.getAttribute("height"));j.parentNode.removeChild(g)}g=NAIBU._search([j.previousSibling]);j.parentNode.removeChild(j)}else{i.appendChild(i.lastChild.firstChild);while(i.firstChild!==i.lastChild){i.removeChild(i.firstChild)}g=NAIBU._search([i.lastChild])}NAIBU.doc=new ActiveXObject("MSXML2.DomDocument");f.preventDefault();g._next={_init:(function(k){return(function(){document.title=k.getSVGDocument().title;k=void 0})})(g)};g._init();i=g=j=void 0},false)}c=void 0},false);SVGURIReference.apply(this,arguments);return this}SVGAElement.constructor=SVGElement;SVGAElement.prototype=new SVGElement();function SVGViewElement(){SVGElement.apply(this,arguments);this.viewTarget=new SVGStringList();this.viewBox=new SVGAnimatedRect();this.preserveAspectRatio=new SVGAnimatedPreserveAspectRatio();this.zoomAndPan=SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE;return this}SVGViewElement.constructor=SVGElement;SVGViewElement.prototype=new SVGElement();function SVGScriptElement(){SVGElement.apply(this);this.type;SVGURIReference.apply(this,arguments);this.addEventListener("DOMAttrModified",function(evt){if(evt.attrName==="type"){evt.target.type=evt.newValue}evt=void 0},false);this.addEventListener("S_Load",function(evt){var tar=evt.target,script=tar._text;var tod=tar.ownerDocument;NAIBU._temp_doc=tod;script=script.replace(/function\s+(\w+)/g,"$1 = function");script="(function(document){"+script+"})(NAIBU._temp_doc);";try{eval(script)}catch(e){script=script.replace(/function\(document\){/,"function() {");eval(script)}tar=evt=script=void 0},false);this.addEventListener("DOMNodeInserted",function(evt){var tar=evt.target;if(evt.eventPhase===3){if(tar.nodeName==="#cdata-section"){evt.currentTarget._text=tar.data}return}tar.addEventListener("DOMNodeInsertedIntoDocument",function(evt){var tar=evt.target;if(evt.eventPhase===Event.AT_TARGET&&!tar.getAttributeNodeNS("http://www.w3.org/1999/xlink","xlink:href")){var evtt=tar.ownerDocument.createEvent("SVGEvents");evtt.initEvent("S_Load",false,false);evt.currentTarget.dispatchEvent(evtt)}tar=evt=void 0},false)},false);return this}SVGScriptElement.constructor=SVGElement;SVGScriptElement.prototype=new SVGElement();function SVGEvent(){Event.apply(this,arguments);return this}SVGEvent.constructor=Event;SVGEvent.prototype=new Event();function SVGZoomEvent(){UIEvent.apply(this,arguments);this.zoomRectScreen=new SVGRect();this.previousScale=1;this.previousTranslate=new SVGPoint();this.newScale=1;this.newTranslate=new SVGPoint();return this}SVGZoomEvent.constructor=UIEvent;SVGZoomEvent.prototype=new UIEvent();function SVGAnimationElement(b){if(!!b){return this}SVGElement.apply(this);this.style.setProperty=function(){};this._tar=null;this.targetElement;this._beginValue="0ms";this._endValue=null;this._currentFrame=0;this._currentCount=0;this._maxCount=0;this._maxDur=0;this._isRepeat=false;this._simpleDuration=null;this._begin=null;this._end=null;this._from=this._to=this._values=this._by=null;this._keyTimes=null;this.addEventListener("beginEvent",function(d){var c=d.target;if(!c.isRepeat){c.endElementAt(c.getSimpleDuration())}else{c.beginElementAt(c.getSimpleDuration());if(c.getCurrentTime()!==0){var e=c.ownerDocument,d=e.createEvent("TimeEvents");c._currentCount++;d.initTimeEvent("repeatEvent",e.defaultView,c._currentCount);c.dispatchEvent(d)}}},false);this.addEventListener("DOMAttrModified",function(d){if(d.eventPhase===3){return}var c=d.target,e=d.attrName;if(e==="begin"){c._beginValue=d.newValue}else{if(e==="end"){c._endValue=d.newValue}else{if(e==="dur"){c._simpleDuration=c._getOffset(d.newValue)}else{if(e==="repeatCount"){c._maxCount=parseFloat(d.newValue);c._isRepeat=true}else{if(e==="repeatDur"){c._maxDur=parseFloat(d.newValue);c._isRepeat=true}else{if(e==="from"){c._from=d.newValue}else{if(e==="to"){c._to=d.newValue}else{if(e==="values"){c._values=d.newValue.split(";")}else{if(e==="by"){c._by=d.newValue}else{if(e==="keyTimes"){var g=d.newValue.split(";");c._keyTimes=[];for(var f=0;f<g.length;++f){c._keyTimes[f]=parseFloat(g[f])}g=void 0}}}}}}}}}}d=void 0},false);this.addEventListener("DOMNodeInserted",function(d){if(d.eventPhase===3){return}var c=d.target;c.addEventListener("DOMNodeInsertedIntoDocument",function(f){var e=f.target;if(e._values){}else{if(e._from&&e._to){e._values=[e._from,e._to]}else{if(e._from&&e._by){var i=parseFloat(e._from)+parseFloat(e._by),g=e._from.match(/\D+/)||[""];e._values=[e._from,i+g[0]]}else{if(e._to){e._values=[null,e._to]}else{if(e._by){e._values=[null,null,e._by]}else{if(!e.hasChildNodes()&&!e.hasAttributeNS(null,"path")){return this}}}}}}if(e.hasAttributeNS("http://www.w3.org/1999/xlink","xlink:href")){e.targetElement=e.ownerDocument.getElementById(e.getAttributeNS("http://www.w3.org/1999/xlink","xlink:href").substring(1))}else{e.targetElement=e.parentNode}e._eventSync(e._beginValue,(function(o,k,j,l){j.addEventListener(l.match(o._eventRegExp)[0],function(){if(k!==0){o.beginElementAt(k)}else{o._begin=NAIBU.Time.currentFrame;o.beginElement();o._currentFrame++}},false)}),"beginElementAt");if(e._endValue){e._eventSync(e._endValue,(function(o,k,j,l){j.addEventListener(l.match(o._eventRegExp)[0],function(){o.endElementAt(k)},false)}),"endElementAt")}f=e=void 0},false);d=c=void 0},false);this.addEventListener("repeatEvent",function(d){var c=d.target;if((c._currentCount>=c._maxCount)||(c.getCurrentTime()>=(c._maxDur+c.getStartTime()))){c._isRepeat=false}},false);return this}SVGAnimationElement.constructor=SVGElement;SVGAnimationElement.prototype=new SVGElement();SVGAnimationElement.prototype.beginElement=function(){var c=this.ownerDocument,b=c.createEvent("TimeEvents");b.initTimeEvent("beginEvent",c.defaultView,0);this.dispatchEvent(b)};SVGAnimationElement.prototype.endElement=function(){var c=this.ownerDocument,b=c.createEvent("TimeEvents");b.initTimeEvent("endEvent",c.defaultView,0);this.dispatchEvent(b)};SVGAnimationElement.prototype.beginElementAt=function(c){var b=this.ownerDocument.documentElement.getCurrentTime();this._begin=c+b};SVGAnimationElement.prototype.endElementAt=function(c){var b=this.ownerDocument.documentElement.getCurrentTime();this._end=c+b};SVGAnimationElement.prototype._eventRegExp=/(mouse|activ|clic|begi|en)[a-z]+/;SVGAnimationElement.prototype._timeRegExp=/[\-\d\.]+(h|min|s|ms)?/;SVGAnimationElement.prototype._unit={h:2880000,min:48000,s:800,ms:0.8};SVGAnimationElement.prototype._getOffset=function(b){var d=parseFloat(b.match(this._timeRegExp));if(!isNaN(d)&&RegExp.$1){var c=d*this._unit[RegExp.$1]}else{if(!isNaN(d)){var c=d}else{var c=0}}d=b=void 0;return c};SVGAnimationElement.prototype._eventSync=function(d,e,c){var g=this._getOffset(d);this._begin=NAIBU.Time.Max;if(/(mouse|activ|click|begin|end)/.test(d)){var b;if(/([^;]+)\.\D/.test(d)){b=this.ownerDocument.getElementById(RegExp.$1)}else{b=this.targetElement}if(!g&&g!==0){g=NAIBU.Time.Max}e(this,g,b,d)}else{if(!g&&(d!=="undefined")&&(g!==0)){this._begin=0}else{this[c](g)}}};SVGAnimationElement.prototype.getStartTime=function(){if(!!this._begin||(this._begin===0)){return(this._begin)}else{throw new DOMException(DOMException.INVALID_STATE_ERR)}};SVGAnimationElement.prototype.getCurrentTime=function(){return(this._currentFrame*125*0.8)};SVGAnimationElement.prototype.getSimpleDuration=function(){if(!!!this._simpleDuration&&!!!this._end&&(this._simpleDuration!==0)){throw new DOMException(DOMException.NOT_SUPPORTED_ERR)}else{if(!!this._simpleDuration&&!!this._end){var b=(this._simpleDuration>this._end-this._begin)?this._end-this._begin:this._simpleDuration}else{var b=!!this._end?this._end-this._begin:this._simpleDuration}}return b};NAIBU.Time={currentFrame:0,Max:7000,start:function(){if(NAIBU.Clip.length>0){screen.updateInterval=42;window.onscroll=function(){screen.updateInterval=0;screen.updateInterval=42};NAIBU.stop=setInterval((function(){var c=NAIBU.Time.currentFrame++;var g=NAIBU.Clip;var f=c*100;if(c>NAIBU.Time.Max){clearInterval(NAIBU.stop)}for(var e=0,b=g.length;e<b;++e){var d=g[e];d.ownerDocument.documentElement.setCurrentTime(f);if("_begin" in d){if(d.getStartTime()<=f){if(d.getCurrentTime()===0){d.beginElement()}d._currentFrame++}if(d._end&&(d._end<=f)&&(d.getCurrentTime()!==0)){d.endElement();d._frame&&d._frame();d._currentFrame=0;delete d._begin;d._end=null}else{if(!!d._frame){d._frame()}}}d=void 0}}),1)}else{window.onscroll=function(){screen.updateInterval=0;window.onscroll=NAIBU.emptyFunction}}}};NAIBU.Clip=[];function SVGAnimateElement(){SVGAnimationElement.apply(this);NAIBU.Clip[NAIBU.Clip.length]=this;this._valueList=[];this._isDiscrete=false;this.addEventListener("DOMAttrModified",function(b){if(b.eventPhase===3){return}if((b.attrName==="calcMode")&&(b.newValue==="discrete")){b.target._isDiscrete=true}},false);this.addEventListener("DOMNodeInserted",function(c){if(c.eventPhase===3){return}var b=c.target;b.addEventListener("DOMNodeInsertedIntoDocument",function(s){var l=s.target,q=l.getAttributeNS(null,"attributeName"),t=l.targetElement,o=t[q];var j=t.cloneNode(false);if(!l._values[0]){var f=t.ownerDocument.defaultView.getComputedStyle(t,"");l._values[0]=t.getAttributeNS(null,q)||f.getPropertyValue(q);if(!l._values[1]&&l._values[2]){var r=parseFloat(l._values[0])+parseFloat(l._values[2]),p=l._values[0].match(/\D+/)||[""];l._values[1]=r+p[0];l._values.pop();r=p=void 0}}if("animatedPoints" in t){t.animatedPoints=j.points;for(var k=0,g=l._values,e=g.length;k<e;++k){var d=t.cloneNode(false);delete d._tar;d.setAttributeNS(null,"points",g[k]);l._valueList[l._valueList.length]=d.points}}else{if(!!o){o.animVal=j[q].baseVal;for(var k=0,g=l._values,e=g.length;k<e;++k){var d=t.cloneNode(false);delete d._tar;d.setAttributeNS(null,q,g[k]);l._valueList[l._valueList.length]=d[q].baseVal}}else{if(!!CSS2Properties[q]||q.indexOf("-")>-1){for(var k=0,g=l._values,e=g.length;k<e;++k){if((q==="fill")||(q==="stroke")||(q==="stop-color")){l._valueList[k]=new SVGPaint();l._valueList[k].setPaint(1,null,g[k],null)}else{l._valueList[k]=parseFloat(g[k])}}}else{if("normalizedPathSegList" in t){t.animatedNormalizedPathSegList=j.normalizedPathSegList;for(var k=0,g=l._values,e=g.length;k<e;++k){var d=t.cloneNode(false);delete d._tar;d.setAttributeNS(null,"d",g[k]);l._valueList[l._valueList.length]=d.normalizedPathSegList}}else{j=void 0;return}}}}s=o=d=j=void 0},false)},false);this.addEventListener("beginEvent",function(d){var c=d.target;var e=c.getAttributeNS(null,"attributeName"),g=c.targetElement.attributes.getNamedItemNS(null,e);var f=c.targetElement,b=f[e];c._frame=function(){var p=c.getSimpleDuration()*0.8,l=c._valueList.length-1,k=c.getCurrentTime();if((l!==-1)&&(p!==0)&&(k<=p)){if(c._isDiscrete){++l}var z=Math.floor((k*l)/p);if(z===l){z-=1}}else{return}var u=c.ownerDocument.createEvent("MutationEvents");u.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);if(c._keyTimes){var q=(c._keyTimes[z+1]-c._keyTimes[z])*p;var i=c._keyTimes[z]}else{var q=p/l;var i=z/l}if("animatedPoints" in f){var j=f.points;f.points=f.animatedPoints;f.dispatchEvent(u);f.animatedPoints=f.points;f.points=j}else{if(!!b){var j=b.baseVal,o=b.animVal;var s=c._valueList[z].value;if(!c._isDiscrete){var r=c._valueList[z+1].value,t=s+(r-s)*(k-i*p)/q}else{var t=s}o.newValueSpecifiedUnits(j.unitType,t);b.baseVal=o;o=void 0;f.dispatchEvent(u);b.animVal=b.baseVal;b.baseVal=j;q=void 0}else{if(!!CSS2Properties[e]||e.indexOf("-")>-1){var j=null;var s=c._valueList[z].value,r=c._valueList[z+1].value;if(!c._isDiscrete){var t=s+(r-s)*(k-i*p)/q}else{var t=s}}else{if("normalizedPathSegList" in f){var j=f.normalizedPathSegList;f.normalizedPathSegList=f.animatedNormalizedPathSegList;f.dispatchEvent(u);f.animatedNormalizedPathSegList=f.normalizedPathSegList;f.normalizedPathSegList=j}}}}u=s=r=t=p=l=z=k=void 0};d=vir=void 0},false);this.addEventListener("endEvent",function(c){var b=c.target,d=b.getAttributeNS(null,"fill");if(!d||(d==="remove")){var c=b.ownerDocument.createEvent("MutationEvents");c.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);b.targetElement.dispatchEvent(c);c=void 0}},false);this.addEventListener("repeatEvent",function(c){var b=c.target},false);return this}SVGAnimateElement.constructor=SVGAnimationElement;SVGAnimateElement.prototype=new SVGAnimationElement(1);function SVGSetElement(){SVGAnimationElement.apply(this);NAIBU.Clip[NAIBU.Clip.length]=this;this._to="";this.addEventListener("DOMAttrModified",function(c){var b=c.target,d=c.attrName;if(d==="to"){b._to=c.newValue}b=d=void 0},false);this.addEventListener("beginEvent",function(d){var c=d.target;if(c.targetElement){var e=c.getAttributeNS(null,"attributeName"),i=c.targetElement.attributes.getNamedItemNS(null,e),b=c.targetElement[e];if(!!CSS2Properties[e]||e.indexOf("-")>-1){var f=c.ownerDocument.getOverrideStyle(c.targetElement,"");f.setProperty(e,c.getAttributeNS(null,"to"),null);f=void 0}else{if(!!b){var g=b.baseVal;if(g instanceof SVGLength){b.baseVal=c.ownerDocument.documentElement.createSVGLength()}else{if(g instanceof SVGRect){b.baseVal=c.ownerDocument.documentElement.createSVGRect()}}var d=c.ownerDocument.createEvent("MutationEvents");d.initMutationEvent("DOMAttrModified",true,false,i,i,c._to,e,MutationEvent.MODIFICATION);c.targetElement.dispatchEvent(d);d=void 0;b.animVal=b.baseVal;b.baseVal=g}}}d=c=e=void 0},false);this.addEventListener("endEvent",function(d){var c=d.target,g=c.getAttributeNS(null,"fill");if(!g||(g==="remove")){var e=c.getAttributeNS(null,"attributeName"),f=c.ownerDocument.defaultView.getComputedStyle(c.targetElement,"");c.targetElement.style.setProperty(e,f.getPropertyValue(e),null);var b=c.ownerDocument.createEvent("MutationEvents");b.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);c.targetElement.dispatchEvent(b);e=f=b=void 0}c=g=void 0},false);this.addEventListener("repeatEvent",function(c){var b=c.target,d=b.getAttributeNS(null,"attributeName"),e=b.ownerDocument.defaultView.getComputedStyle(b.targetElement,"")},false);return this}SVGSetElement.constructor=SVGAnimationElement;SVGSetElement.prototype=new SVGAnimationElement(1);function SVGAnimateMotionElement(){SVGAnimationElement.apply(this);NAIBU.Clip[NAIBU.Clip.length]=this;this.addEventListener("DOMAttrModified",function(c){if(c.eventPhase===3){return}var b=c.target,e=c.attrName;if(e==="path"){var f=b.ownerDocument.createElementNS("http://www.w3.org/2000/svg","path");f.setAttributeNS(null,"d",c.newValue);b._path=f;f=void 0}},false);this.addEventListener("DOMNodeInserted",function(c){if(c.eventPhase===3){return}var b=c.target;b.addEventListener("DOMNodeInsertedIntoDocument",function(e){var d=[],j;if(b._values){for(var f=0,k=b._values,g=k.length;f<g;++f){j=k[f];j=j.split(",");d[f]=[+j[0],+j[1]]}b._valueList=d}},false)},false);this.addEventListener("beginEvent",function(c){var b=c.target,d=b.targetElement.transform;d.animVal=new SVGTransformList();if(d.baseVal.numberOfItems!==0){d.baseVal.consolidate();d.animVal.initialize(d.baseVal.createSVGTransformFromMatrix(d.baseVal.getItem(0).matrix))}else{d.animVal.appendItem(b.ownerDocument.documentElement.createSVGTransform())}b._frame=function(){var t=b,q=t._path,u=t.getSimpleDuration(),r=u*0.8,g=t.getCurrentTime(),z;if(u===0){u=void 0;return}if(q){var A=q.getTotalLength()*g/r,f=q.getPointAtLength(A),B=t.targetElement.transform;B.animVal.getItem(B.animVal.numberOfItems-1).setTranslate(f.x,f.y);var e=B.baseVal;B.baseVal=B.animVal;t.targetElement._cacheMatrix=null;var v=t.ownerDocument.createEvent("MutationEvents");v.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);t.targetElement.dispatchEvent(v);B.baseVal=e;v=e=B=A=f=void 0}else{if(b._valueList){var s=0,A=0,l=b._valueList,j=l.length-1;if((j!==-1)&&(r!==0)&&(g<=r)){z=Math.floor((g*j)/r);if(z===j){z-=1}}else{return}for(var o=1,k=l.length;o<k;o+=2){s+=Math.sqrt(Math.pow(l[o][1]-l[o-1][1],2)+Math.pow(l[o][0]-l[o-1][0],2))}for(var o=1;o<z;o+=2){A+=Math.sqrt(Math.pow(l[o][1]-l[o-1][1],2)+Math.pow(l[o][0]-l[o-1][0],2))}var f=b.ownerDocument.documentElement.createSVGPoint(),B=t.targetElement.transform;A=(A/s)*r;f.x=l[z][0]+(l[z+1][0]-l[z][0])*(g-A)/r;f.y=l[z][1]+(l[z+1][1]-l[z][1])*(g-A)/r;B.animVal.getItem(B.animVal.numberOfItems-1).setTranslate(f.x,f.y);var e=B.baseVal;B.baseVal=B.animVal;t.targetElement._cacheMatrix=void 0;var v=t.ownerDocument.createEvent("MutationEvents");v.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);t.targetElement.dispatchEvent(v);B.baseVal=e;v=e=B=A=f=void 0}}};c=d=tpn=tgsd=void 0},false);this.addEventListener("endEvent",function(d){var c=d.target,e=c.targetElement.transform,f=c.getAttributeNS(null,"fill");if(!f||(f==="remove")){e.animVal=e.baseVal;var b=c.ownerDocument.createEvent("MutationEvents");b.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);c.targetElement.dispatchEvent(b)}c._frame=d=b=void 0},false);this.addEventListener("repeatEvent",function(c){var b=c.target},false);return this}SVGAnimateMotionElement.constructor=SVGAnimationElement;SVGAnimateMotionElement.prototype=new SVGAnimationElement(1);function SVGMPathElement(){SVGElement.apply(this);SVGURIReference.apply(this);return this}SVGMPathElement.constructor=SVGElement;SVGMPathElement.prototype=new SVGElement();function SVGAnimateColorElement(){SVGAnimationElement.apply(this);NAIBU.Clip[NAIBU.Clip.length]=this;this._valueList=[];this.addEventListener("DOMNodeInserted",function(c){if(c.eventPhase===3){return}var b=c.target;b.addEventListener("DOMNodeInsertedIntoDocument",function(q){var l=q.target,o=l.getAttributeNS(null,"attributeName"),r=l.targetElement,g=l.ownerDocument.defaultView.getComputedStyle(r,""),k,d;if(!l._values[0]){l._values[0]=g.getPropertyValue(o)}for(var j=0,f=l._values,e=f.length;j<e;++j){var p=new SVGColor();if(l._values[j]==="currentColor"){p.setRGBColor(g.getPropertyValue("color")||"black")}else{if(l._values[j]==="inherit"){k=g.getPropertyCSSValue(o);d=k.cssValueType;k.cssValueType=0;p=g.getPropertyCSSValue(o);k.cssValueType=d}else{p.setRGBColor(l._values[j])}}l._valueList[l._valueList.length]=p;p=void 0}l=r=g=k=d=o=void 0},false)},false);this.addEventListener("beginEvent",function(c){var b=c.target,e=b.getAttributeNS(null,"attributeName"),f=b.ownerDocument.getOverrideStyle(b.targetElement,""),d=b.ownerDocument.defaultView.getComputedStyle(b.targetElement,"");b._frame=function(){var D=b;var A=D.getSimpleDuration()*0.8,o=D._valueList.length-1,l=D.getCurrentTime(),E,B,k;if((o!==-1)&&(A!==0)&&(l<=A)){E=Math.floor((l*o)/A);if(E===o){E-=1}}else{return}if(b._keyTimes){B=(b._keyTimes[E+1]-b._keyTimes[E])*A;k=b._keyTimes[E]}else{B=A/o;k=E/o}var p=D._valueList[E].rgbColor,t=D._valueList[E+1].rgbColor,s=(l-k*A)/B,u=CSSPrimitiveValue.CSS_NUMBER,z=p.red.getFloatValue(u),j=p.green.getFloatValue(u),q=p.blue.getFloatValue(u),i=z+(t.red.getFloatValue(u)-z)*s,v=j+(t.green.getFloatValue(u)-j)*s,C=q+(t.blue.getFloatValue(u)-q)*s;f.setProperty(e,"rgb("+Math.ceil(i)+","+Math.ceil(v)+","+Math.ceil(C)+")",null);D=A=o=l=p=t=z=j=q=u=i=v=C=void 0};b._frame()},false);this.addEventListener("endEvent",function(d){var c=d.target;if(!fill||(fill==="remove")){var b=c.ownerDocument.createEvent("MutationEvents");b.initMutationEvent("DOMNodeInsertedIntoDocument",false,false,null,null,null,null,null);c.targetElement.dispatchEvent(b)}c._frame=d=b=void 0},false);this.addEventListener("repeatEvent",function(c){var b=c.target},false);return this}SVGAnimateColorElement.constructor=SVGAnimationElement;SVGAnimateColorElement.prototype=new SVGAnimationElement(1);function SVGAnimateTransformElement(){SVGAnimationElement.apply(this);NAIBU.Clip[NAIBU.Clip.length]=this;this.addEventListener("beginEvent",function(c){var b=c.target,d=b.targetElement.transform;d.animVal=new SVGTransformList();if(d.baseVal.numberOfItems!==0){d.animVal.initialize(d.baseVal.createSVGTransformFromMatrix(d.baseVal.getItem(0).matrix))}d.animVal.appendItem(b.ownerDocument.documentElement.createSVGTransform())},false);this.addEventListener("endEvent",function(c){var b=c.target},false);this.addEventListener("repeatEvent",function(c){var b=c.target},false);return this}SVGAnimateTransformElement.constructor=SVGAnimationElement;SVGAnimateTransformElement.prototype=new SVGAnimationElement(1);function SVGFontElement(){SVGElement.apply(this);this._isExternal=0;this.addEventListener("DOMNodeInserted",function(c){var b=c.target;if(c.eventPhase===3){return}b.addEventListener("DOMNodeInsertedIntoDocument",function(e){var d=e.target,f="http://www.w3.org/2000/svg",i=d.getElementsByTagNameNS(f,"font-face").item(0);var g=function(t){var q=t.target;var o=i.getAttributeNS(null,"font-family");var r=d.ownerDocument.getElementsByTagNameNS(f,"text");for(var p=0,s=d,k=r.length;p<k;++p){var l=r[p],j=s.ownerDocument.defaultView.getComputedStyle(l,"");if(j.getPropertyValue("font-family",null).indexOf(o)>-1){NAIBU._noie_createFont(l,s,true)}}t=d=q=curt=textElments=f=s=void 0};if(!i.__isLinked||d._isExternal){d.ownerDocument.documentElement._svgload_limited=0;d.ownerDocument.documentElement.addEventListener("SVGLoad",g,false)}},false)},false);return this}SVGFontElement.constructor=SVGElement;SVGFontElement.prototype=new SVGElement();function SVGGlyphElement(){SVGElement.apply(this);return this}SVGGlyphElement.constructor=SVGElement;SVGGlyphElement.prototype=new SVGElement();function SVGMissingGlyphElement(){SVGElement.apply(this);return this}SVGMissingGlyphElement.constructor=SVGElement;SVGMissingGlyphElement.prototype=new SVGElement();function SVGHKernElement(){SVGElement.apply(this);return this}SVGHKernElement.constructor=SVGElement;SVGHKernElement.prototype=new SVGElement();function SVGVKernElement(){SVGElement.apply(this);return this}SVGVKernElement.constructor=SVGElement;SVGVKernElement.prototype=new SVGElement();function SVGFontFaceElement(){SVGElement.apply(this);this._isLinked=0;this.addEventListener("DOMNodeInserted",function(b){if(b.eventPhase===3){if(b.target.localName==="font-face-uri"){b.currentTarget._isLinked=1}return}},false);return this}SVGFontFaceElement.constructor=SVGElement;SVGFontFaceElement.prototype=new SVGElement();function SVGFontFaceSrcElement(){SVGElement.apply(this);return this}SVGFontFaceSrcElement.constructor=SVGElement;SVGFontFaceSrcElement.prototype=new SVGElement();function SVGFontFaceUriElement(){SVGElement.apply(this);this.addEventListener("DOMNodeInserted",function(b){if(b.eventPhase===3){return}b.target.ownerDocument.documentElement._svgload_limited--;b.target.setAttributeNS("http://www.w3.org/1999/xlink","xlink:show","embed")},false);this.addEventListener("S_Load",function(c){var b=c.target,d=b.parentNode.parentNode.parentNode;if(d.localName==="defs"){d=b.parentNode.parentNode}b._instance._isExternal=1;d.parentNode.appendChild(b._instance);c=b=d=void 0},false);SVGURIReference.apply(this);return this}SVGFontFaceUriElement.constructor=SVGElement;SVGFontFaceUriElement.prototype=new SVGElement();function SVGFontFaceFormatElement(){SVGElement.apply(this);return this}SVGFontFaceFormatElement.constructor=SVGElement;SVGFontFaceFormatElement.prototype=new SVGElement();function SVGFontFaceNameElement(){SVGElement.apply(this);return this}SVGFontFaceNameElement.constructor=SVGElement;SVGFontFaceNameElement.prototype=new SVGElement();function SVGDefinitionSrcElement(){SVGElement.apply(this);return this}SVGDefinitionSrcElement.constructor=SVGElement;SVGDefinitionSrcElement.prototype=new SVGElement();function SVGMetadataElement(){SVGElement.apply(this);return this}SVGMetadataElement.constructor=SVGElement;SVGMetadataElement.prototype=new SVGElement();function SVGForeignObjectElement(){SVGElement.apply(this);var b=SVGAnimatedLength;this.x=new b();this.y=new b();this.width=new b();this.height=new b();b=void 0;return this}SVGForeignObjectElement.constructor=SVGElement;SVGForeignObjectElement.prototype=new SVGElement();DOMImplementation["http://www.w3.org/2000/svg"]={Document:SVGDocument,svg:SVGSVGElement,g:SVGGElement,path:NAIBU.SVGPathElement,title:SVGTitleElement,desc:SVGDescElement,defs:SVGDefsElement,linearGradient:SVGLinearGradientElement,radialGradient:SVGRadialGradientElement,stop:SVGStopElement,rect:SVGRectElement,circle:SVGCircleElement,ellipse:SVGEllipseElement,polyline:SVGPolylineElement,polygon:SVGPolygonElement,text:SVGTextElement,tspan:SVGTSpanElement,image:SVGImageElement,line:SVGLineElement,a:SVGAElement,altGlyphDef:SVGAltGlyphDefElement,altGlyph:SVGAltGlyphElement,altGlyphItem:SVGAltGlyphItemElement,animateColor:SVGAnimateColorElement,animate:SVGAnimateElement,animateMotion:SVGAnimateMotionElement,animateTransform:SVGAnimateTransformElement,clipPath:SVGClipPathElement,colorProfile:SVGColorProfileElement,cursor:SVGCursorElement,definitionSrc:SVGDefinitionSrcElement,feBlend:SVGFEBlendElement,feGaussianBlur:SVGFEGaussianBlurElement,filter:SVGFilterElement,font:SVGFontElement,"font-face":SVGFontFaceElement,"font-face-format":SVGFontFaceFormatElement,"font-face-name":SVGFontFaceNameElement,"font-face-src":SVGFontFaceSrcElement,"font-face-uri":SVGFontFaceUriElement,foreignObject:SVGForeignObjectElement,glyph:SVGGlyphElement,glyphRef:SVGGlyphRefElement,hkern:SVGHKernElement,marker:SVGMarkerElement,mask:SVGMaskElement,metadata:SVGMetadataElement,missingGlyph:SVGMissingGlyphElement,mpath:SVGMPathElement,script:SVGScriptElement,set:SVGSetElement,style:SVGStyleElement,"switch":SVGSwitchElement,textPath:SVGTextPathElement,tref:SVGTRefElement,use:SVGUseElement,view:SVGViewElement,vkern:SVGVKernElement,pattern:SVGPatternElement};NAIBU._fontSearchURI=function(b){var g=b.target.ownerDocument;var c=g.getElementsByTagNameNS("http://www.w3.org/2000/svg","font-face-uri");for(var e=0;e<c.length;++e){var j=c[e].getAttributeNS("http://www.w3.org/1999/xlink","href"),f=j.split(":")[1],d=NAIBU.xmlhttp;d.open("GET",j.replace(/#.+$/,""),true);d.setRequestHeader("X-Requested-With","XMLHttpRequest");d.onreadystatechange=function(){if((d.readyState===4)&&(d.status===200)){var i=(new DOMParser()).parseFromString(d.responseText,"text/xml");NAIBU._font({document:i,docu:g,id:f});d=g=i=void 0}};d.send(null)}};NAIBU._font=function(j){var o=j.document,f="http://www.w3.org/2000/svg";var e=o.getElementsByTagNameNS(f,"font").item(0);var g=e.getElementsByTagNameNS(f,"font-face").item(0).getAttributeNS(null,"font-family");if(g&&(e.getAttributeNS(null,"id")===j.id)){var l=j.docu.getElementsByTagNameNS(f,"text");for(var k=0,d=l.length;k<d;++k){var c=l[k],b=j.docu.defaultView.getComputedStyle(c,"");if(b.getPropertyValue("font-family",null).indexOf(g)>-1){NAIBU._noie_createFont(c,e,false)}}}o=j=void 0};NAIBU._noie_createFont=function(b,P,l){var I=b.ownerDocument.defaultView.getComputedStyle(b,""),Q="http://www.w3.org/2000/svg",J=b.getAttributeNS(null,"writing-mode")||b.parentNode.getAttributeNS(null,"writing-mode"),p=J?"vert-adv-y":"horiz-adv-x",z=b.firstChild,R,k=P.getElementsByTagNameNS(Q,"glyph"),N=parseFloat(P.getElementsByTagNameNS(Q,"font-face").item(0).getAttributeNS(null,"units-per-em")||1000),H=parseFloat((P.getAttributeNS(null,p)||N)),e=parseFloat(b.getAttributeNS(null,"x")||0),d=parseFloat(b.getAttributeNS(null,"y")||0),q=parseFloat(I.getPropertyValue("font-size")),B=q/N,g=false,f=["fill","fill-opacity","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-dasharray","stroke-opacity","opacity","cursor"];if(/a/[-1]==="a"){g=true}else{if(l||J){g=true}}if(g){while(z){if(!k){break}R=z.data;if(R!==void 0){var T=[],F=[];for(var L=0,C=k.length;L<C;++L){var u=k[L],s=u.getAttributeNS(null,"unicode")||"なし";var t=u.getAttributeNS(null,"orientation"),O=true,o=true;if(t){if(t==="h"){O=false}}else{o=false}if((J&&O)||!(J||O)||!o){var A=R.indexOf(s);while(A>-1){T[A]=parseFloat(u.getAttributeNS(null,p)||H);F[A]=u.getAttributeNS(null,"d");A=R.indexOf(s,A+1)}}}for(var L=0,M=0;L<R.length;++L){if(T[L]!==void 0){var G=b.ownerDocument.createElementNS(Q,"path");var v=b.ownerDocument.documentElement.createSVGMatrix();v.a=B;v.d=-B;for(var K=0;K<f.length;++K){var S=f[K],c=b.getAttributeNS(null,S)||I.getPropertyValue(S);if(S==="stroke-width"){c=I.getPropertyCSSValue(S).getFloatValue(1)/B;c+=""}if(c){G.setAttributeNS(null,S,c)}}if(J){var D=d+M*B,E=e;if("、。".indexOf(R.charAt(L))>-1){var r=q/Math.SQRT2;E+=r;D-=r;r=void 0}v.e=E;v.f=D}else{v.e=e+M*B;v.f=d}G.setAttributeNS(null,"transform","matrix("+v.a+","+v.b+","+v.c+","+v.d+","+v.e+","+v.f+")");G.setAttributeNS(null,"d",F[L]);b.parentNode.insertBefore(G,b);M+=T[L];v=void 0}}M=T=F=void 0}else{if("tspan|a".indexOf(z.localName)>-1){NAIBU._noie_createFont(z,P,l)}}z=z.nextSibling}if(l){var I=b.ownerDocument.getOverrideStyle(b,null);I.setProperty("visibility","hidden");I=void 0}else{b.setAttributeNS(null,"opacity","0")}}R=J=p=N=H=e=d=q=I=Q=z=void 0};(function(){var e=new CSSStyleDeclaration(),k=e._list,j=0,f=/([A-Z])/,g=/\-/,b,d;for(var c in CSS2Properties){if(CSS2Properties.hasOwnProperty(c)){d=c.replace(f,"-");if(!!RegExp.$1){b="-"+RegExp.$1.toLowerCase()}else{b="-"}d=d.replace(g,b);e.setProperty(d,CSS2Properties[c]);k[d]=k[j];k[j]._isDefault=1;++j;c=d=b=void 0}}k._opacity=1;k._fontSize=12;CSS2Properties._list=k;Document.prototype.defaultView._defaultCSS=k;e=j=f=g=k=null})();NAIBU.addEvent=function(b,c){if(window.addEventListener){window.addEventListener(b,c,false)}else{if(window.attachEvent){window.attachEvent("on"+b,c)}else{window["on"+b]=c}}if(sieb_s){c()}};function unsvgtovml(){try{if("stop" in NAIBU){clearInterval(NAIBU.stop)}window.onscroll=NAIBU.emptyFunction;window.detachEvent("onload",NAIBU._main);NAIBU.freeArg();Element=SVGElement=Attr=NamedNodeMap=CSS2Properties=CSSValue=CSSPrimitiveValue=NAIBU.xmlhttp=Node=Event=NAIBU=stlog=STLog=SVGColor=SVGPaint=void 0;Array=ActiveXObject=void 0}catch(b){}}NAIBU._main=(function(){stlog=new STLog(false);var A,c=document;try{if(XMLHttpRequest){A=false}else{A=new ActiveXObject("Msxml2.XMLHTTP")}}catch(u){try{A=new ActiveXObject("Microsoft.XMLHTTP")}catch(j){A=false}}if(!A){try{A=new XMLHttpRequest()}catch(u){A=false}}NAIBU.xmlhttp=A;var f;if(("namespaces" in c)&&!c.namespaces.v){try{NAIBU.doc=new ActiveXObject("MSXML2.DomDocument")}catch(u){}f=NAIBU.doc;c.namespaces.add("v","urn:schemas-microsoft-com:vml");c.namespaces.add("o","urn:schemas-microsoft-com:office:office");var l=c.createStyleSheet();var g="behavior: url(#default#VML);display: inline-block;} ";l.cssText="v\\:rect{"+g+"v\\:image{"+g+"v\\:fill{"+g+"v\\:stroke{"+g+"o\\:opacity2{"+g+"dn\\:defs{display:none}v\\:group{text-indent:0px;position:relative;width:100%;height:100%;"+g+"v\\:shape{width:100%;height:100%;"+g}var v=c.getElementsByTagName("script");for(var p=0;v[p];++p){var q=v[p],r=q.type;if(q.type==="image/svg+xml"){var z=q.text;if(sieb_s&&z.match(/&lt;svg/)){z=z.replace(/<.+?>/g,"");z=z.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&amp;/g,"&")}if(NAIBU.isMSIE){var B=new GetSVGDocument(q);B.xmlhttp={readyState:4,status:200,responseText:z.replace(/\shref=/g," target='_top' xlink:href=")};B._ca()}else{var d=location.href.replace(/\/[^\/]+?$/,"/");z=z.replace(/\shref=(['"a-z]+?):\/\//g," target='_top' xlink:href=$1://").replace(/\shref=(.)/g," target='_top' xlink:href=$1"+d);var k=NAIBU.textToSVG(z,q.getAttribute("width"),q.getAttribute("height"));q.parentNode.insertBefore(k,q)}q=z=void 0}r=void 0}NAIBU.doc=f;f=v=void 0;if(A&&NAIBU.isMSIE){if(!!c.createElementNS&&!!c.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect){}else{var o=c.getElementsByTagName("object"),b=c.getElementsByTagName("embed"),k=[],t=function(s){var E,C,D;k||(k=[]);c||(c=document);for(var e=0;s[e];++e){C=s[e];k[k.length]=new GetSVGDocument(C);E=c.createElement("iframe");E.style.background="black";D=C.getAttribute("width");D&&E.setAttribute("width",D);D=C.getAttribute("height");D&&E.setAttribute("height",D);E.marginWidth=E.marginHeight="0px";E.scrolling="no";E.frameBorder="0";C.parentNode.insertBefore(E,C)}e=C=E=s=void 0;return k[k.length-1]};t(o);t(b);NAIBU._search=t;o=b=t=void 0;for(var p=0;p<k.length;++p){if(p<k.length-1){k[p]._next=k[p+1]}}if(p>0){k[0]._init()}k=void 0}}else{var o=c.getElementsByTagName("object");for(var p=0;p<o.length;++p){if(o[p].contentDocument){NAIBU._fontSearchURI({target:{ownerDocument:o[p].contentDocument}})}else{if(o[p].getSVGDocument){o[p].getSVGDocument()._docElement.addEventListener("SVGLoad",NAIBU._fontSearchURI,false)}else{}}}}A=c=void 0});NAIBU.addEvent("load",NAIBU._main);NAIBU.utf16=function(b){return unescape(b)};NAIBU.unescapeUTF16=function(b){return b.replace(/%u\w\w\w\w/g,NAIBU.utf16)};NAIBU.textToSVG=function(f,b,d){if(navigator.userAgent.indexOf("WebKit")>-1||navigator.userAgent.indexOf("Safari")>-1){var e="data:image/svg+xml;charset=utf-8,"+NAIBU.unescapeUTF16(escape(f));var c=document.createElement("object");c.setAttribute("data",e);c.setAttribute("width",b);c.setAttribute("height",d);c.setAttribute("type","image/svg+xml");return c}else{var g=(new DOMParser()).parseFromString(f,"text/xml");return(document.importNode(g.documentElement,true))}};NAIBU.addEvent("unload",unsvgtovml);
58 NAIBU.isMSIE=/*@cc_on!@*/false;