diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index d2c2a3b..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/image/v2image.jpg b/image/v2image.jpg new file mode 100644 index 0000000..5d64515 Binary files /dev/null and b/image/v2image.jpg differ diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/python_gui/可执行文件_main/.idea/inspectionProfiles/profiles_settings.xml similarity index 100% rename from .idea/inspectionProfiles/profiles_settings.xml rename to python_gui/可执行文件_main/.idea/inspectionProfiles/profiles_settings.xml diff --git a/.idea/misc.xml b/python_gui/可执行文件_main/.idea/misc.xml similarity index 100% rename from .idea/misc.xml rename to python_gui/可执行文件_main/.idea/misc.xml diff --git a/.idea/modules.xml b/python_gui/可执行文件_main/.idea/modules.xml similarity index 50% rename from .idea/modules.xml rename to python_gui/可执行文件_main/.idea/modules.xml index 0437867..9a6f1f9 100644 --- a/.idea/modules.xml +++ b/python_gui/可执行文件_main/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/vcs.xml b/python_gui/可执行文件_main/.idea/vcs.xml similarity index 63% rename from .idea/vcs.xml rename to python_gui/可执行文件_main/.idea/vcs.xml index 94a25f7..b2bdec2 100644 --- a/.idea/vcs.xml +++ b/python_gui/可执行文件_main/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/python_gui/可执行文件_main/.idea/workspace.xml b/python_gui/可执行文件_main/.idea/workspace.xml new file mode 100644 index 0000000..8141142 --- /dev/null +++ b/python_gui/可执行文件_main/.idea/workspace.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + 1646222955974 + + + + \ No newline at end of file diff --git a/.idea/foc.iml b/python_gui/可执行文件_main/.idea/可执行文件_main.iml similarity index 62% rename from .idea/foc.iml rename to python_gui/可执行文件_main/.idea/可执行文件_main.iml index 8b8c395..d0876a7 100644 --- a/.idea/foc.iml +++ b/python_gui/可执行文件_main/.idea/可执行文件_main.iml @@ -5,8 +5,4 @@ - - \ No newline at end of file diff --git a/v1/Betas/.keep b/v1/Betas/.keep new file mode 100644 index 0000000..e69de29 diff --git a/v1/Betas/RGB_V1.5/.keep b/v1/Betas/RGB_V1.5/.keep new file mode 100644 index 0000000..e69de29 diff --git a/v1/Betas/RGB_V1.5/main/.keep b/v1/Betas/RGB_V1.5/main/.keep new file mode 100644 index 0000000..e69de29 diff --git a/v1/Betas/RGB_V1.5/main/Command.cpp b/v1/Betas/RGB_V1.5/main/Command.cpp new file mode 100644 index 0000000..9c54a6b --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/Command.cpp @@ -0,0 +1,28 @@ +#include "Command.h" + +void Command::run(char* str){ + for(int i=0; i < call_count; i++){ + if(isSentinel(call_ids[i],str)){ // case : call_ids = "T2" str = "T215.15" + call_list[i](str+strlen(call_ids[i])); // get 15.15 input function + break; + } + } +} +void Command::add(char* id, CommandCallback onCommand){ + call_list[call_count] = onCommand; + call_ids[call_count] = id; + call_count++; +} +void Command::scalar(float* value, char* user_cmd){ + *value = atof(user_cmd); +} +bool Command::isSentinel(char* ch,char* str) +{ + char s[strlen(ch)+1]; + strncpy(s,str,strlen(ch)); + s[strlen(ch)] = '\0'; //strncpy need add end '\0' + if(strcmp(ch, s) == 0) + return true; + else + return false; +} diff --git a/v1/Betas/RGB_V1.5/main/Command.h b/v1/Betas/RGB_V1.5/main/Command.h new file mode 100644 index 0000000..20e2fe5 --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/Command.h @@ -0,0 +1,17 @@ +#include +// callback function pointer definiton +typedef void (* CommandCallback)(char*); //!< command callback function pointer +class Command +{ + public: + void add(char* id , CommandCallback onCommand); + void run(char* str); + void scalar(float* value, char* user_cmd); + bool isSentinel(char* ch,char* str); + private: + // Subscribed command callback variables + CommandCallback call_list[20];//!< array of command callback pointers - 20 is an arbitrary number + char* call_ids[20]; //!< added callback commands + int call_count;//!< number callbacks that are subscribed + +}; diff --git a/v1/Betas/RGB_V1.5/main/Kalman.cpp b/v1/Betas/RGB_V1.5/main/Kalman.cpp new file mode 100644 index 0000000..80c7dec --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/Kalman.cpp @@ -0,0 +1,93 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#include "Kalman.h" + +Kalman::Kalman() { + /* We will set the variables like so, these can also be tuned by the user */ + Q_angle = 0.001f; + Q_bias = 0.003f; + R_measure = 0.03f; + + angle = 0.0f; // Reset the angle + bias = 0.0f; // Reset bias + + P[0][0] = 0.0f; // Since we assume that the bias is 0 and we know the starting angle (use setAngle), the error covariance matrix is set like so - see: http://en.wikipedia.org/wiki/Kalman_filter#Example_application.2C_technical + P[0][1] = 0.0f; + P[1][0] = 0.0f; + P[1][1] = 0.0f; +}; + +// The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds +float Kalman::getAngle(float newAngle, float newRate, float dt) { + // KasBot V2 - Kalman filter module - http://www.x-firm.com/?page_id=145 + // Modified by Kristian Lauszus + // See my blog post for more information: http://blog.tkjelectronics.dk/2012/09/a-practical-approach-to-kalman-filter-and-how-to-implement-it + + // Discrete Kalman filter time update equations - Time Update ("Predict") + // Update xhat - Project the state ahead + /* Step 1 */ + rate = newRate - bias; + angle += dt * rate; + + // Update estimation error covariance - Project the error covariance ahead + /* Step 2 */ + P[0][0] += dt * (dt*P[1][1] - P[0][1] - P[1][0] + Q_angle); + P[0][1] -= dt * P[1][1]; + P[1][0] -= dt * P[1][1]; + P[1][1] += Q_bias * dt; + + // Discrete Kalman filter measurement update equations - Measurement Update ("Correct") + // Calculate Kalman gain - Compute the Kalman gain + /* Step 4 */ + float S = P[0][0] + R_measure; // Estimate error + /* Step 5 */ + float K[2]; // Kalman gain - This is a 2x1 vector + K[0] = P[0][0] / S; + K[1] = P[1][0] / S; + + // Calculate angle and bias - Update estimate with measurement zk (newAngle) + /* Step 3 */ + float y = newAngle - angle; // Angle difference + /* Step 6 */ + angle += K[0] * y; + bias += K[1] * y; + + // Calculate estimation error covariance - Update the error covariance + /* Step 7 */ + float P00_temp = P[0][0]; + float P01_temp = P[0][1]; + + P[0][0] -= K[0] * P00_temp; + P[0][1] -= K[0] * P01_temp; + P[1][0] -= K[1] * P00_temp; + P[1][1] -= K[1] * P01_temp; + + return angle; +}; + +void Kalman::setAngle(float angle) { this->angle = angle; }; // Used to set angle, this should be set as the starting angle +float Kalman::getRate() { return this->rate; }; // Return the unbiased rate + +/* These are used to tune the Kalman filter */ +void Kalman::setQangle(float Q_angle) { this->Q_angle = Q_angle; }; +void Kalman::setQbias(float Q_bias) { this->Q_bias = Q_bias; }; +void Kalman::setRmeasure(float R_measure) { this->R_measure = R_measure; }; + +float Kalman::getQangle() { return this->Q_angle; }; +float Kalman::getQbias() { return this->Q_bias; }; +float Kalman::getRmeasure() { return this->R_measure; }; diff --git a/v1/Betas/RGB_V1.5/main/Kalman.h b/v1/Betas/RGB_V1.5/main/Kalman.h new file mode 100644 index 0000000..7de545f --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/Kalman.h @@ -0,0 +1,59 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#ifndef _Kalman_h_ +#define _Kalman_h_ + +class Kalman { +public: + Kalman(); + + // The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds + float getAngle(float newAngle, float newRate, float dt); + + void setAngle(float angle); // Used to set angle, this should be set as the starting angle + float getRate(); // Return the unbiased rate + + /* These are used to tune the Kalman filter */ + void setQangle(float Q_angle); + /** + * setQbias(float Q_bias) + * Default value (0.003f) is in Kalman.cpp. + * Raise this to follow input more closely, + * lower this to smooth result of kalman filter. + */ + void setQbias(float Q_bias); + void setRmeasure(float R_measure); + + float getQangle(); + float getQbias(); + float getRmeasure(); + +private: + /* Kalman filter variables */ + float Q_angle; // Process noise variance for the accelerometer + float Q_bias; // Process noise variance for the gyro bias + float R_measure; // Measurement noise variance - this is actually the variance of the measurement noise + + float angle; // The angle calculated by the Kalman filter - part of the 2x1 state vector + float bias; // The gyro bias calculated by the Kalman filter - part of the 2x1 state vector + float rate; // Unbiased rate calculated from the rate and the calculated bias - you have to call getAngle to update the rate + + float P[2][2]; // Error covariance matrix - This is a 2x2 matrix +}; + +#endif diff --git a/v1/Betas/RGB_V1.5/main/data/highcharts.js b/v1/Betas/RGB_V1.5/main/data/highcharts.js new file mode 100644 index 0000000..e7aafc2 --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/data/highcharts.js @@ -0,0 +1,299 @@ +/* + Highcharts JS v3.0.10 (2014-03-10) + + (c) 2009-2014 Torstein Honsi + + License: www.highcharts.com/license +*/ +(function(){function s(a,b){var c;a||(a={});for(c in b)a[c]=b[c];return a}function w(){var a,b=arguments,c,d={},e=function(a,b){var c,d;typeof a!=="object"&&(a={});for(d in b)b.hasOwnProperty(d)&&(c=b[d],a[d]=c&&typeof c==="object"&&Object.prototype.toString.call(c)!=="[object Array]"&&d!=="renderTo"&&typeof c.nodeType!=="number"?e(a[d]||{},c):b[d]);return a};b[0]===!0&&(d=b[1],b=Array.prototype.slice.call(b,2));c=b.length;for(a=0;a3?c.length%3:0;return e+(g?c.substr(0,g)+d:"")+c.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+d)+(f?b+N(a-c).toFixed(f).slice(2):"")}function Ha(a,b){return Array((b||2)+1-String(a).length).join(0)+a}function Ma(a,b,c){var d=a[b];a[b]=function(){var a=Array.prototype.slice.call(arguments); +a.unshift(d);return c.apply(this,a)}}function Ia(a,b){for(var c="{",d=!1,e,f,g,h,i,j=[];(c=a.indexOf(c))!==-1;){e=a.slice(0,c);if(d){f=e.split(":");g=f.shift().split(".");i=g.length;e=b;for(h=0;h-1?h.thousandsSep:"")):e=bb(f,e)}j.push(e);a=a.slice(c+1);c=(d=!d)?"}":"{"}j.push(a);return j.join("")}function mb(a){return T.pow(10,S(T.log(a)/T.LN10))} +function nb(a,b,c,d){var e,c=o(c,1);e=a/c;b||(b=[1,2,2.5,5,10],d&&d.allowDecimals===!1&&(c===1?b=[1,2,5,10]:c<=0.1&&(b=[1/c])));for(d=0;dc&&(c=a[b]);return c}function Oa(a,b){for(var c in a)a[c]&&a[c]!==b&&a[c].destroy&&a[c].destroy(),delete a[c]}function Pa(a){cb||(cb=V(Ja));a&&cb.appendChild(a);cb.innerHTML=""}function oa(a,b){var c="Highcharts error #"+a+": www.highcharts.com/errors/"+a;if(b)throw c;else G.console&&console.log(c)}function aa(a){return parseFloat(a.toPrecision(14))}function Qa(a,b){sa=o(a,b.animation)}function Cb(){var a=L.global.useUTC,b=a?"getUTC":"get",c=a?"setUTC":"set";Ra=(a&&L.global.timezoneOffset|| +0)*6E4;db=a?Date.UTC:function(a,b,c,g,h,i){return(new Date(a,b,o(c,1),o(g,0),o(h,0),o(i,0))).getTime()};pb=b+"Minutes";qb=b+"Hours";rb=b+"Day";Xa=b+"Date";eb=b+"Month";fb=b+"FullYear";Db=c+"Minutes";Eb=c+"Hours";sb=c+"Date";Fb=c+"Month";Gb=c+"FullYear"}function ta(){}function Sa(a,b,c,d){this.axis=a;this.pos=b;this.type=c||"";this.isNew=!0;!c&&!d&&this.addLabel()}function ka(){this.init.apply(this,arguments)}function Ya(){this.init.apply(this,arguments)}function Hb(a,b,c,d,e,f){var g=a.chart.inverted; +this.axis=a;this.isNegative=c;this.options=b;this.x=d;this.total=null;this.points={};this.stack=e;this.percent=f==="percent";this.alignOptions={align:b.align||(g?c?"left":"right":"center"),verticalAlign:b.verticalAlign||(g?"middle":c?"bottom":"top"),y:o(b.y,g?4:c?14:-6),x:o(b.x,g?c?-6:6:0)};this.textAlign=b.textAlign||(g?c?"right":"left":"center")}var u,y=document,G=window,T=Math,v=T.round,S=T.floor,Ka=T.ceil,t=T.max,E=T.min,N=T.abs,W=T.cos,ba=T.sin,la=T.PI,Ca=la*2/360,ua=navigator.userAgent,Ib=G.opera, +Aa=/msie/i.test(ua)&&!Ib,gb=y.documentMode===8,hb=/AppleWebKit/.test(ua),Ta=/Firefox/.test(ua),Jb=/(Mobile|Android|Windows Phone)/.test(ua),Da="http://www.w3.org/2000/svg",X=!!y.createElementNS&&!!y.createElementNS(Da,"svg").createSVGRect,Ob=Ta&&parseInt(ua.split("Firefox/")[1],10)<4,ca=!X&&!Aa&&!!y.createElement("canvas").getContext,Za,$a,Kb={},tb=0,cb,L,bb,sa,ub,B,Ea=function(){},Y=[],Ja="div",O="none",Pb=/^[0-9]+$/,Lb="stroke-width",db,Ra,pb,qb,rb,Xa,eb,fb,Db,Eb,sb,Fb,Gb,J={},Q=G.Highcharts=G.Highcharts? +oa(16,!0):{};bb=function(a,b,c){if(!r(b)||isNaN(b))return"Invalid date";var a=o(a,"%Y-%m-%d %H:%M:%S"),d=new Date(b-Ra),e,f=d[qb](),g=d[rb](),h=d[Xa](),i=d[eb](),j=d[fb](),k=L.lang,l=k.weekdays,d=s({a:l[g].substr(0,3),A:l[g],d:Ha(h),e:h,b:k.shortMonths[i],B:k.months[i],m:Ha(i+1),y:j.toString().substr(2,2),Y:j,H:Ha(f),I:Ha(f%12||12),l:f%12||12,M:Ha(d[pb]()),p:f<12?"AM":"PM",P:f<12?"am":"pm",S:Ha(d.getSeconds()),L:Ha(v(b%1E3),3)},Q.dateFormats);for(e in d)for(;a.indexOf("%"+e)!==-1;)a=a.replace("%"+ +e,typeof d[e]==="function"?d[e](b):d[e]);return c?a.substr(0,1).toUpperCase()+a.substr(1):a};Bb.prototype={wrapColor:function(a){if(this.color>=a)this.color=0},wrapSymbol:function(a){if(this.symbol>=a)this.symbol=0}};B=function(){for(var a=0,b=arguments,c=b.length,d={};a-1,f=e?7:3,g,b=b.split(" "), +c=[].concat(c),h,i,j=function(a){for(g=a.length;g--;)a[g]==="M"&&a.splice(g+1,0,a[g+1],a[g+2],a[g+1],a[g+2])};e&&(j(b),j(c));a.isArea&&(h=b.splice(b.length-6,6),i=c.splice(c.length-6,6));if(d<=c.length/f&&b.length===c.length)for(;d--;)c=[].concat(c).splice(0,f).concat(c);a.shift=0;if(b.length)for(a=c.length;b.length{point.key}
',pointFormat:'{series.name}: {point.y}
',shadow:!0,snap:Jb?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}}, +credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var Z=L.plotOptions,R=Z.line;Cb();var Tb=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,Ub=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,Vb=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,wa=function(a){var b=[],c,d;(function(a){a&&a.stops? +d=Ua(a.stops,function(a){return wa(a[1])}):(c=Tb.exec(a))?b=[x(c[1]),x(c[2]),x(c[3]),parseFloat(c[4],10)]:(c=Ub.exec(a))?b=[x(c[1],16),x(c[2],16),x(c[3],16),1]:(c=Vb.exec(a))&&(b=[x(c[1]),x(c[2]),x(c[3]),1])})(a);return{get:function(c){var f;d?(f=w(a),f.stops=[].concat(f.stops),p(d,function(a,b){f.stops[b]=[f.stops[b][0],a.get(c)]})):f=b&&!isNaN(b[0])?c==="rgb"?"rgb("+b[0]+","+b[1]+","+b[2]+")":c==="a"?b[3]:"rgba("+b.join(",")+")":a;return f},brighten:function(a){if(d)p(d,function(b){b.brighten(a)}); +else if(ya(a)&&a!==0){var c;for(c=0;c<3;c++)b[c]+=x(a*255),b[c]<0&&(b[c]=0),b[c]>255&&(b[c]=255)}return this},rgba:b,setOpacity:function(a){b[3]=a;return this}}};ta.prototype={init:function(a,b){this.element=b==="span"?V(b):y.createElementNS(Da,b);this.renderer=a;this.attrSetters={}},opacity:1,animate:function(a,b,c){b=o(b,sa,!0);ab(this);if(b){b=w(b,{});if(c)b.complete=c;jb(this,a,b)}else this.attr(a),c&&c()},attr:function(a,b){var c,d,e,f,g=this.element,h=g.nodeName.toLowerCase(),i=this.renderer, +j,k=this.attrSetters,l=this.shadows,m,n,q=this;ga(a)&&r(b)&&(c=a,a={},a[c]=b);if(ga(a))c=a,h==="circle"?c={x:"cx",y:"cy"}[c]||c:c==="strokeWidth"&&(c="stroke-width"),q=z(g,c)||this[c]||0,c!=="d"&&c!=="visibility"&&c!=="fill"&&(q=parseFloat(q));else{for(c in a)if(j=!1,d=a[c],e=k[c]&&k[c].call(this,d,c),e!==!1){e!==u&&(d=e);if(c==="d")d&&d.join&&(d=d.join(" ")),/(NaN| {2}|^$)/.test(d)&&(d="M 0 0");else if(c==="x"&&h==="text")for(e=0;e1100)&&b.call(d,a)}):d["on"+a]=b;return this},setRadialReference:function(a){this.element.radialReference=a;return this},translate:function(a,b){return this.attr({translateX:a,translateY:b})},invert:function(){this.inverted=!0;this.updateTransform();return this},updateTransform:function(){var a= +this.translateX||0,b=this.translateY||0,c=this.scaleX,d=this.scaleY,e=this.inverted,f=this.rotation;e&&(a+=this.attr("width"),b+=this.attr("height"));a=["translate("+a+","+b+")"];e?a.push("rotate(90) scale(-1,1)"):f&&a.push("rotate("+f+" "+(this.x||0)+" "+(this.y||0)+")");(r(c)||r(d))&&a.push("scale("+o(c,1)+" "+o(d,1)+")");a.length&&z(this.element,"transform",a.join(" "))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);return this},align:function(a,b,c){var d,e,f,g,h={};e=this.renderer; +f=e.alignedObjects;if(a){if(this.alignOptions=a,this.alignByTranslate=b,!c||ga(c))this.alignTo=d=c||"renderer",ia(f,this),f.push(this),c=null}else a=this.alignOptions,b=this.alignByTranslate,d=this.alignTo;c=o(c,e[d],e);d=a.align;e=a.verticalAlign;f=(c.x||0)+(a.x||0);g=(c.y||0)+(a.y||0);if(d==="right"||d==="center")f+=(c.width-(a.width||0))/{right:1,center:2}[d];h[b?"translateX":"x"]=v(f);if(e==="bottom"||e==="middle")g+=(c.height-(a.height||0))/({bottom:1,middle:2}[e]||1);h[b?"translateY":"y"]=v(g); +this[this.placed?"animate":"attr"](h);this.placed=!0;this.alignAttr=h;return this},getBBox:function(){var a=this.bBox,b=this.renderer,c,d,e=this.rotation;c=this.element;var f=this.styles,g=e*Ca;d=this.textStr;var h;if(d===""||Pb.test(d))h=d.toString().length+(f?"|"+f.fontSize+"|"+f.fontFamily:""),a=b.cache[h];if(!a){if(c.namespaceURI===Da||b.forExport){try{a=c.getBBox?s({},c.getBBox()):{width:c.offsetWidth,height:c.offsetHeight}}catch(i){}if(!a||a.width<0)a={width:0,height:0}}else a=this.htmlGetBBox(); +if(b.isSVG){c=a.width;d=a.height;if(Aa&&f&&f.fontSize==="11px"&&d.toPrecision(3)==="16.9")a.height=d=14;if(e)a.width=N(d*ba(g))+N(c*W(g)),a.height=N(d*W(g))+N(c*ba(g))}this.bBox=a;h&&(b.cache[h]=a)}return a},show:function(a){return this.attr({visibility:a?"inherit":"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(a){var b=this;b.animate({opacity:0},{duration:a||150,complete:function(){b.hide()}})},add:function(a){var b=this.renderer,c=a||b,d=c.element||b.box, +e=this.element,f=this.zIndex,g,h;if(a)this.parentGroup=a;this.parentInverted=a&&a.inverted;this.textStr!==void 0&&b.buildText(this);if(f)c.handleZ=!0,f=x(f);if(c.handleZ){a=d.childNodes;for(g=0;gf||!r(f)&&r(c))){d.insertBefore(e,b);h=!0;break}}h||d.appendChild(e);this.added=!0;if(this.onAdd)this.onAdd();return this},safeRemoveChild:function(a){var b=a.parentNode;b&&b.removeChild(a)},destroy:function(){var a=this,b=a.element||{},c=a.shadows,d=a.renderer.isSVG&& +b.nodeName==="SPAN"&&a.parentGroup,e,f;b.onclick=b.onmouseout=b.onmouseover=b.onmousemove=b.point=null;ab(a);if(a.clipPath)a.clipPath=a.clipPath.destroy();if(a.stops){for(f=0;f/g,'').replace(/<(i|em)>/g, +'').replace(//g,"").split(//g),f=b.childNodes,g=/<.*style="([^"]+)".*>/,h=/<.*href="(http[^"]+)".*>/,i=z(b,"x"),j=a.styles,k=a.textWidth,l=j&&j.lineHeight,m=f.length,n=function(a){return l?x(l):c.fontMetrics(/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:j.fontSize||11).h};m--;)b.removeChild(f[m]);k&&!a.added&&this.box.appendChild(b);e[e.length-1]===""&&e.pop();p(e,function(e,f){var l,m=0,e=e.replace(//g,"|||");l=e.split("|||");p(l,function(e){if(e!==""||l.length===1){var q={},o=y.createElementNS(Da,"tspan"),p;g.test(e)&&(p=e.match(g)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),z(o,"style",p));h.test(e)&&!d&&(z(o,"onclick",'location.href="'+e.match(h)[1]+'"'),D(o,{cursor:"pointer"}));e=(e.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">");if(e!==" "&&(o.appendChild(y.createTextNode(e)),m?q.dx=0:q.x=i,z(o,q),!m&&f&&(!X&&d&&D(o,{display:"block"}), +z(o,"dy",n(o),hb&&o.offsetHeight)),b.appendChild(o),m++,k))for(var e=e.replace(/([^\^])-/g,"$1- ").split(" "),q=e.length>1&&j.whiteSpace!=="nowrap",r,t,s=a._clipHeight,A=[],v=n(),u=1;q&&(e.length||A.length);)delete a.bBox,r=a.getBBox(),t=r.width,!X&&c.forExport&&(t=c.measureSpanWidth(o.firstChild.data,a.styles)),r=t>k,!r||e.length===1?(e=A,A=[],e.length&&(u++,s&&u*v>s?(e=["..."],a.attr("title",a.textStr)):(o=y.createElementNS(Da,"tspan"),z(o,{dy:v,x:i}),p&&z(o,"style",p),b.appendChild(o),t>k&&(k= +t)))):(o.removeChild(o.firstChild),A.unshift(e.pop())),e.length&&o.appendChild(y.createTextNode(e.join(" ").replace(/- /g,"-")))}})})},button:function(a,b,c,d,e,f,g,h,i){var j=this.label(a,b,c,i,null,null,null,null,"button"),k=0,l,m,n,q,o,p,a={x1:0,y1:0,x2:0,y2:1},e=w({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:a,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},e);n=e.style;delete e.style;f=w(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#FFF"],[1,"#ACF"]]}}, +f);q=f.style;delete f.style;g=w(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#9BD"],[1,"#CDF"]]}},g);o=g.style;delete g.style;h=w(e,{style:{color:"#CCC"}},h);p=h.style;delete h.style;C(j.element,Aa?"mouseover":"mouseenter",function(){k!==3&&j.attr(f).css(q)});C(j.element,Aa?"mouseout":"mouseleave",function(){k!==3&&(l=[e,f,g][k],m=[n,q,o][k],j.attr(l).css(m))});j.setState=function(a){(j.state=k=a)?a===2?j.attr(g).css(o):a===3&&j.attr(h).css(p):j.attr(e).css(n)};return j.on("click",function(){k!== +3&&d.call(j)}).attr(e).css(s({cursor:"default"},n))},crispLine:function(a,b){a[1]===a[4]&&(a[1]=a[4]=v(a[1])-b%2/2);a[2]===a[5]&&(a[2]=a[5]=v(a[2])+b%2/2);return a},path:function(a){var b={fill:O};La(a)?b.d=a:$(a)&&s(b,a);return this.createElement("path").attr(b)},circle:function(a,b,c){a=$(a)?a:{x:a,y:b,r:c};return this.createElement("circle").attr(a)},arc:function(a,b,c,d,e,f){if($(a))b=a.y,c=a.r,d=a.innerR,e=a.start,f=a.end,a=a.x;a=this.symbol("arc",a||0,b||0,c||0,c||0,{innerR:d||0,start:e||0, +end:f||0});a.r=c;return a},rect:function(a,b,c,d,e,f){var e=$(a)?a.r:e,g=this.createElement("rect"),a=$(a)?a:a===u?{}:{x:a,y:b,width:t(c,0),height:t(d,0)};if(f!==u)a.strokeWidth=f,a=g.crisp(a);if(e)a.r=e;return g.attr(a)},setSize:function(a,b,c){var d=this.alignedObjects,e=d.length;this.width=a;this.height=b;for(this.boxWrapper[o(c,!0)?"animate":"attr"]({width:a,height:b});e--;)d[e].align()},g:function(a){var b=this.createElement("g");return r(a)?b.attr({"class":"highcharts-"+a}):b},image:function(a, +b,c,d,e){var f={preserveAspectRatio:O};arguments.length>1&&s(f,{x:b,y:c,width:d,height:e});f=this.createElement("image").attr(f);f.element.setAttributeNS?f.element.setAttributeNS("http://www.w3.org/1999/xlink","href",a):f.element.setAttribute("hc-svg-href",a);return f},symbol:function(a,b,c,d,e,f){var g,h=this.symbols[a],h=h&&h(v(b),v(c),d,e,f),i=/^url\((.*?)\)$/,j,k;if(h)g=this.path(h),s(g,{symbolName:a,x:b,y:c,width:d,height:e}),f&&s(g,f);else if(i.test(a))k=function(a,b){a.element&&(a.attr({width:b[0], +height:b[1]}),a.alignByTranslate||a.translate(v((d-b[0])/2),v((e-b[1])/2)))},j=a.match(i)[1],a=Kb[j],g=this.image(j).attr({x:b,y:c}),g.isImg=!0,a?k(g,a):(g.attr({width:0,height:0}),V("img",{onload:function(){k(g,Kb[j]=[this.width,this.height])},src:j}));return g},symbols:{circle:function(a,b,c,d){var e=0.166*c;return["M",a+c/2,b,"C",a+c+e,b,a+c+e,b+d,a+c/2,b+d,"C",a-e,b+d,a-e,b,a+c/2,b,"Z"]},square:function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c,b+d,a,b+d,"Z"]},triangle:function(a,b,c,d){return["M", +a+c/2,b,"L",a+c,b+d,a,b+d,"Z"]},"triangle-down":function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c/2,b+d,"Z"]},diamond:function(a,b,c,d){return["M",a+c/2,b,"L",a+c,b+d/2,a+c/2,b+d,a,b+d/2,"Z"]},arc:function(a,b,c,d,e){var f=e.start,c=e.r||c||d,g=e.end-0.001,d=e.innerR,h=e.open,i=W(f),j=ba(f),k=W(g),g=ba(g),e=e.end-fl&&/[ \-]/.test(b.textContent||b.innerText))D(b,{width:l+"px",display:"block",whiteSpace:"normal"}),i=l;this.getSpanCorrection(i,k, +h,j,g)}D(b,{left:e+(this.xCorr||0)+"px",top:f+(this.yCorr||0)+"px"});if(hb)k=b.offsetHeight;this.cTT=m}}else this.alignOnAdd=!0},setSpanRotation:function(a,b,c){var d={},e=Aa?"-ms-transform":hb?"-webkit-transform":Ta?"MozTransform":Ib?"-o-transform":"";d[e]=d.transform="rotate("+a+"deg)";d[e+(Ta?"Origin":"-origin")]=d.transformOrigin=b*100+"% "+c+"px";D(this.element,d)},getSpanCorrection:function(a,b,c){this.xCorr=-a*c;this.yCorr=-b}});s(pa.prototype,{html:function(a,b,c){var d=this.createElement("span"), +e=d.attrSetters,f=d.element,g=d.renderer;e.text=function(a){a!==f.innerHTML&&delete this.bBox;f.innerHTML=this.textStr=a;return!1};e.x=e.y=e.align=e.rotation=function(a,b){b==="align"&&(b="textAlign");d[b]=a;d.htmlUpdateTransform();return!1};d.attr({text:a,x:v(b),y:v(c)}).css({position:"absolute",whiteSpace:"nowrap",fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});d.css=d.htmlCss;if(g.isSVG)d.add=function(a){var b,c=g.box.parentNode,e=[];if(this.parentGroup=a){if(b=a.div,!b){for(;a;)e.push(a), +a=a.parentGroup;p(e.reverse(),function(a){var d;b=a.div=a.div||V(Ja,{className:z(a.element,"class")},{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px"},b||c);d=b.style;s(a.attrSetters,{translateX:function(a){d.left=a+"px"},translateY:function(a){d.top=a+"px"},visibility:function(a,b){d[b]=a}})})}}else b=c;b.appendChild(f);d.added=!0;d.alignOnAdd&&d.htmlUpdateTransform();return d};return d}});var da;if(!X&&!ca){Q.VMLElement=da={init:function(a,b){var c=["<",b,' filled="f" stroked="f"'], +d=["position: ","absolute",";"],e=b===Ja;(b==="shape"||e)&&d.push("left:0;top:0;width:1px;height:1px;");d.push("visibility: ",e?"hidden":"visible");c.push(' style="',d.join(""),'"/>');if(b)c=e||b==="span"||b==="img"?c.join(""):a.prepVML(c),this.element=V(c);this.renderer=a;this.attrSetters={}},add:function(a){var b=this.renderer,c=this.element,d=b.box,d=a?a.element||a:d;a&&a.inverted&&b.invertChild(c,d);d.appendChild(c);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(); +if(this.onAdd)this.onAdd();return this},updateTransform:ta.prototype.htmlUpdateTransform,setSpanRotation:function(){var a=this.rotation,b=W(a*Ca),c=ba(a*Ca);D(this.element,{filter:a?["progid:DXImageTransform.Microsoft.Matrix(M11=",b,", M12=",-c,", M21=",c,", M22=",b,", sizingMethod='auto expand')"].join(""):O})},getSpanCorrection:function(a,b,c,d,e){var f=d?W(d*Ca):1,g=d?ba(d*Ca):0,h=o(this.elemHeight,this.element.offsetHeight),i;this.xCorr=f<0&&-a;this.yCorr=g<0&&-h;i=f*g<0;this.xCorr+=g*b*(i?1- +c:c);this.yCorr-=f*b*(d?i?c:1-c:1);e&&e!=="left"&&(this.xCorr-=a*c*(f<0?-1:1),d&&(this.yCorr-=h*c*(g<0?-1:1)),D(this.element,{textAlign:e}))},pathToVML:function(a){for(var b=a.length,c=[];b--;)if(ya(a[b]))c[b]=v(a[b]*10)-5;else if(a[b]==="Z")c[b]="x";else if(c[b]=a[b],a.isArc&&(a[b]==="wa"||a[b]==="at"))c[b+5]===c[b+7]&&(c[b+7]+=a[b+7]>a[b+5]?1:-1),c[b+6]===c[b+8]&&(c[b+8]+=a[b+8]>a[b+6]?1:-1);return c.join(" ")||"x"},attr:function(a,b){var c,d,e,f=this.element||{},g=f.style,h=f.nodeName,i=this.renderer, +j=this.symbolName,k,l=this.shadows,m,n=this.attrSetters,q=this;ga(a)&&r(b)&&(c=a,a={},a[c]=b);if(ga(a))c=a,q=c==="strokeWidth"||c==="stroke-width"?this.strokeweight:this[c];else for(c in a)if(d=a[c],m=!1,e=n[c]&&n[c].call(this,d,c),e!==!1&&d!==null){e!==u&&(d=e);if(j&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(c))k||(this.symbolAttr(a),k=!0),m=!0;else if(c==="d"){d=d||[];this.d=d.join(" ");f.path=d=this.pathToVML(d);if(l)for(e=l.length;e--;)l[e].path=l[e].cutOff?this.cutOffPath(d, +l[e].cutOff):d;m=!0}else if(c==="visibility"){d==="inherit"&&(d="visible");if(l)for(e=l.length;e--;)l[e].style[c]=d;h==="DIV"&&(d=d==="hidden"?"-999em":0,gb||(g[c]=d?"visible":"hidden"),c="top");g[c]=d;m=!0}else if(c==="zIndex")d&&(g[c]=d),m=!0;else if(va(c,["x","y","width","height"])!==-1)this[c]=d,c==="x"||c==="y"?c={x:"left",y:"top"}[c]:d=t(0,d),this.updateClipping?(this[c]=d,this.updateClipping()):g[c]=d,m=!0;else if(c==="class"&&h==="DIV")f.className=d;else if(c==="stroke")d=i.color(d,f,c),c= +"strokecolor";else if(c==="stroke-width"||c==="strokeWidth")f.stroked=d?!0:!1,c="strokeweight",this[c]=d,ya(d)&&(d+="px");else if(c==="dashstyle")(f.getElementsByTagName("stroke")[0]||V(i.prepVML([""]),null,null,f))[c]=d||"solid",this.dashstyle=d,m=!0;else if(c==="fill")if(h==="SPAN")g.color=d;else{if(h!=="IMG")f.filled=d!==O?!0:!1,d=i.color(d,f,c,this),c="fillcolor"}else if(c==="opacity")m=!0;else if(h==="shape"&&c==="rotation")this[c]=f.style[c]=d,f.style.left=-v(ba(d*Ca)+1)+"px",f.style.top= +v(W(d*Ca))+"px";else if(c==="translateX"||c==="translateY"||c==="rotation")this[c]=d,this.updateTransform(),m=!0;m||(gb?f[c]=d:z(f,c,d))}return q},clip:function(a){var b=this,c;a?(c=a.members,ia(c,b),c.push(b),b.destroyClip=function(){ia(c,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),a={clip:gb?"inherit":"rect(auto)"});return b.css(a)},css:ta.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&Pa(a)},destroy:function(){this.destroyClip&&this.destroyClip();return ta.prototype.destroy.apply(this)}, +on:function(a,b){this.element["on"+a]=function(){var a=G.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a,b){var c,a=a.split(/[ ,]/);c=a.length;if(c===9||c===11)a[c-4]=a[c-2]=x(a[c-2])-10*b;return a.join(" ")},shadow:function(a,b,c){var d=[],e,f=this.element,g=this.renderer,h,i=f.style,j,k=f.path,l,m,n,q;k&&typeof k.value!=="string"&&(k="x");m=k;if(a){n=o(a.width,3);q=(a.opacity||0.15)/n;for(e=1;e<=3;e++){l=n*2+1-2*e;c&&(m=this.cutOffPath(k.value,l+0.5));j=[''];h=V(g.prepVML(j),null,{left:x(i.left)+o(a.offsetX,1),top:x(i.top)+o(a.offsetY,1)});if(c)h.cutOff=l+1;j=[''];V(g.prepVML(j),null,null,h);b?b.element.appendChild(h):f.parentNode.insertBefore(h,f);d.push(h)}this.shadows=d}return this}};da=ja(ta,da);var ea={Element:da,isIE8:ua.indexOf("MSIE 8.0")>-1,init:function(a,b,c,d){var e;this.alignedObjects=[];d=this.createElement(Ja).css(s(this.getStyle(d), +{position:"relative"}));e=d.element;a.appendChild(d.element);this.isVML=!0;this.box=e;this.boxWrapper=d;this.cache={};this.setSize(b,c,!1);if(!y.namespaces.hcv){y.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{y.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(f){y.styleSheets[0].cssText+="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}}}, +isHidden:function(){return!this.box.offsetWidth},clipRect:function(a,b,c,d){var e=this.createElement(),f=$(a);return s(e,{members:[],left:(f?a.x:a)+1,top:(f?a.y:b)+1,width:(f?a.width:c)-1,height:(f?a.height:d)-1,getCSS:function(a){var b=a.element,c=b.nodeName,a=a.inverted,d=this.top-(c==="shape"?b.offsetTop:0),e=this.left,b=e+this.width,f=d+this.height,d={clip:"rect("+v(a?e:d)+"px,"+v(a?f:b)+"px,"+v(a?b:f)+"px,"+v(a?d:e)+"px)"};!a&&gb&&c==="DIV"&&s(d,{width:b+"px",height:f+"px"});return d},updateClipping:function(){p(e.members, +function(a){a.css(e.getCSS(a))})}})},color:function(a,b,c,d){var e=this,f,g=/^rgba/,h,i,j=O;a&&a.linearGradient?i="gradient":a&&a.radialGradient&&(i="pattern");if(i){var k,l,m=a.linearGradient||a.radialGradient,n,q,o,K,r,P="",a=a.stops,t,s=[],v=function(){h=[''];V(e.prepVML(h),null,null,b)};n=a[0];t=a[a.length-1];n[0]>0&&a.unshift([0,n[1]]);t[0]<1&&a.push([1,t[1]]);p(a,function(a,b){g.test(a[1])? +(f=wa(a[1]),k=f.get("rgb"),l=f.get("a")):(k=a[1],l=1);s.push(a[0]*100+"% "+k);b?(o=l,K=k):(q=l,r=k)});if(c==="fill")if(i==="gradient")c=m.x1||m[0]||0,a=m.y1||m[1]||0,n=m.x2||m[2]||0,m=m.y2||m[3]||0,P='angle="'+(90-T.atan((m-a)/(n-c))*180/la)+'"',v();else{var j=m.r,u=j*2,y=j*2,w=m.cx,A=m.cy,xa=b.radialReference,x,j=function(){xa&&(x=d.getBBox(),w+=(xa[0]-x.x)/x.width-0.5,A+=(xa[1]-x.y)/x.height-0.5,u*=xa[2]/x.width,y*=xa[2]/x.height);P='src="'+L.global.VMLRadialGradientURL+'" size="'+u+","+y+'" origin="0.5,0.5" position="'+ +w+","+A+'" color2="'+r+'" ';v()};d.added?j():d.onAdd=j;j=K}else j=k}else if(g.test(a)&&b.tagName!=="IMG")f=wa(a),h=["<",c,' opacity="',f.get("a"),'"/>'],V(this.prepVML(h),null,null,b),j=f.get("rgb");else{j=b.getElementsByTagName(c);if(j.length)j[0].opacity=1,j[0].type="solid";j=a}return j},prepVML:function(a){var b=this.isIE8,a=a.join("");b?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=a.indexOf('style="')===-1?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'): +a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<","1&&f.attr({x:b,y:c,width:d,height:e});return f},createElement:function(a){return a==="rect"?this.symbol(a):pa.prototype.createElement.call(this,a)},invertChild:function(a,b){var c=this,d=b.style,e=a.tagName==="IMG"&&a.style;D(a,{flip:"x",left:x(d.width)-(e?x(e.top):1),top:x(d.height)-(e?x(e.left):1),rotation:-90});p(a.childNodes,function(b){c.invertChild(b,a)})},symbols:{arc:function(a,b,c,d,e){var f=e.start,g=e.end,h=e.r||c|| +d,c=e.innerR,d=W(f),i=ba(f),j=W(g),k=ba(g);if(g-f===0)return["x"];f=["wa",a-h,b-h,a+h,b+h,a+h*d,b+h*i,a+h*j,b+h*k];e.open&&!c&&f.push("e","M",a,b);f.push("at",a-c,b-c,a+c,b+c,a+c*j,b+c*k,a+c*d,b+c*i,"x","e");f.isArc=!0;return f},circle:function(a,b,c,d,e){e&&(c=d=2*e.r);e&&e.isCircle&&(a-=c/2,b-=d/2);return["wa",a,b,a+c,b+d,a+c,b+d/2,a+c,b+d/2,"e"]},rect:function(a,b,c,d,e){var f=a+c,g=b+d,h;!r(e)||!e.r?f=pa.prototype.symbols.square.apply(0,arguments):(h=E(e.r,c,d),f=["M",a+h,b,"L",f-h,b,"wa",f-2* +h,b,f,b+2*h,f-h,b,f,b+h,"L",f,g-h,"wa",f-2*h,g-2*h,f,g,f,g-h,f-h,g,"L",a+h,g,"wa",a,g-2*h,a+2*h,g,a+h,g,a,g-h,"L",a,b+h,"wa",a,b,a+2*h,b+2*h,a,b+h,a+h,b,"x","e"]);return f}}};Q.VMLRenderer=da=function(){this.init.apply(this,arguments)};da.prototype=w(pa.prototype,ea);Za=da}pa.prototype.measureSpanWidth=function(a,b){var c=y.createElement("span"),d;d=y.createTextNode(a);c.appendChild(d);D(c,b);this.box.appendChild(c);d=c.offsetWidth;Pa(c);return d};var Mb;if(ca)Q.CanVGRenderer=da=function(){Da="http://www.w3.org/1999/xhtml"}, +da.prototype.symbols={},Mb=function(){function a(){var a=b.length,d;for(d=0;dl[q]?l[q]=g+j:m||(c=!1);if(m){l=(m=d.justifyToPlot)?d.pos:0;m=m?l+d.len:d.chart.chartWidth;do a+=e?1:-1,n=d.ticks[i[a]];while(i[a]&&(!n||n.label.line!==q));d=n&&n.label.xy&&n.label.xy.x+n.getLabelSides()[e?0:1];e&&!h||f&&h?g+kd&&(c=!1)):g+j>m&&(g=m-j,n&&g+k0&&b.height>0){f=w({align:c&&k&&"center",x:c?!k&&4:10,verticalAlign:!c&&k&&"middle",y:c?k?16:10:k?6:-4,rotation:c&&!k&&90},f);if(!g)a.label=g=v.text(f.text,0,0,f.useHTML).attr({align:f.textAlign||f.align,rotation:f.rotation, +zIndex:s}).css(f.style).add();b=[q[1],q[4],o(q[6],q[1])];q=[q[2],q[5],o(q[7],q[2])];c=Na(b);k=Na(q);g.align(f,!1,{x:c,y:k,width:Ba(b)-c,height:Ba(q)-k});g.show()}else g&&g.hide();return a},destroy:function(){ia(this.axis.plotLinesAndBands,this);delete this.axis;Oa(this)}};ka.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:F,lineColor:"#C0D0E0", +lineWidth:1,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#4d759e",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0, +maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return Ga(this.total,-1)},style:F.style}},defaultLeftAxisOptions:{labels:{x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-5},title:{rotation:0}},init:function(a,b){var c=b.isX;this.horiz=a.inverted?!c:c;this.coll= +(this.isXAxis=c)?"xAxis":"yAxis";this.opposite=b.opposite;this.side=b.side||(this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(b);var d=this.options,e=d.type;this.labelFormatter=d.labels.formatter||this.defaultLabelFormatter;this.userOptions=b;this.minPixelPadding=0;this.chart=a;this.reversed=d.reversed;this.zoomEnabled=d.zoomEnabled!==!1;this.categories=d.categories||e==="category";this.names=[];this.isLog=e==="logarithmic";this.isDatetimeAxis=e==="datetime";this.isLinked=r(d.linkedTo); +this.tickmarkOffset=this.categories&&d.tickmarkPlacement==="between"?0.5:0;this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.stacks={};this.oldStacks={};this.min=this.max=null;this.crosshair=o(d.crosshair,na(a.options.tooltip.crosshairs)[c?0:1],!1);var f,d=this.options.events;va(this,a.axes)===-1&&(c&&!this.isColorAxis?a.axes.splice(a.xAxis.length, +0,this):a.axes.push(this),a[this.coll].push(this));this.series=this.series||[];if(a.inverted&&c&&this.reversed===u)this.reversed=!0;this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(f in d)C(this,f,d[f]);if(this.isLog)this.val2lin=za,this.lin2val=ha},setOptions:function(a){this.options=w(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],w(L[this.coll], +a))},defaultLabelFormatter:function(){var a=this.axis,b=this.value,c=a.categories,d=this.dateTimeLabelFormat,e=L.lang.numericSymbols,f=e&&e.length,g,h=a.options.labels.format,a=a.isLog?b:a.tickInterval;if(h)g=Ia(h,this);else if(c)g=b;else if(d)g=bb(d,b);else if(f&&a>=1E3)for(;f--&&g===u;)c=Math.pow(1E3,f+1),a>=c&&e[f]!==null&&(g=Ga(b/c,-1)+e[f]);g===u&&(g=b>=1E4?Ga(b,0):Ga(b,-1,u,""));return g},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=null;a.buildStacks&& +a.buildStacks();p(a.series,function(c){if(c.visible||!b.options.chart.ignoreHiddenSeries){var d;d=c.options.threshold;var e;a.hasVisibleSeries=!0;a.isLog&&d<=0&&(d=null);if(a.isXAxis){if(d=c.xData,d.length)a.dataMin=E(o(a.dataMin,d[0]),Na(d)),a.dataMax=t(o(a.dataMax,d[0]),Ba(d))}else{c.getExtremes();e=c.dataMax;c=c.dataMin;if(r(c)&&r(e))a.dataMin=E(o(a.dataMin,c),c),a.dataMax=t(o(a.dataMax,e),e);if(r(d))if(a.dataMin>=d)a.dataMin=d,a.ignoreMinPadding=!0;else if(a.dataMaxg+this.width)m=!0}else if(a=g,c=l-this.right,ih+this.height)m=!0;return m&&!d?null:f.renderer.crispLine(["M", +a,i,"L",c,j],b||1)},getLinearTickPositions:function(a,b,c){for(var d,b=aa(S(b/a)*a),c=aa(Ka(c/a)*a),e=[];b<=c;){e.push(b);b=aa(b+a);if(b===d)break;d=b}return e},getMinorTickPositions:function(){var a=this.options,b=this.tickPositions,c=this.minorTickInterval,d=[],e;if(this.isLog){e=b.length;for(a=1;a=this.minRange,f,g,h,i,j;if(this.isXAxis&&this.minRange===u&&!this.isLog)r(a.min)||r(a.max)?this.minRange=null:(p(this.series,function(a){i=a.xData;for(g=j=a.xIncrement?1:i.length-1;g>0;g--)if(h=i[g]-i[g-1],f===u||hc&&(h=0);d=t(d,h);f=t(f,ga(j)?0:h/2);g=t(g,j==="on"?0:h);!a.noSharedTooltip&&r(n)&&(e=r(e)?E(e,n):n)}),h=b.ordinalSlope&&e?b.ordinalSlope/e:1,b.minPointOffset=f*=h,b.pointRangePadding=g*=h,b.pointRange=E(d,c),b.closestPointRange=e;if(a)b.oldTransA=j;b.translationSlope=b.transA=j=b.len/(c+g||1);b.transB=b.horiz?b.left:b.bottom;b.minPixelPadding=j*f},setTickPositions:function(a){var b=this,c=b.chart,d=b.options,e=b.isLog,f=b.isDatetimeAxis,g=b.isXAxis,h=b.isLinked,i=b.options.tickPositioner, +j=d.maxPadding,k=d.minPadding,l=d.tickInterval,m=d.minTickInterval,n=d.tickPixelInterval,q,qa=b.categories;h?(b.linkedParent=c[b.coll][d.linkedTo],c=b.linkedParent.getExtremes(),b.min=o(c.min,c.dataMin),b.max=o(c.max,c.dataMax),d.type!==b.linkedParent.options.type&&oa(11,1)):(b.min=o(b.userMin,d.min,b.dataMin),b.max=o(b.userMax,d.max,b.dataMax));if(e)!a&&E(b.min,o(b.dataMin,b.min))<=0&&oa(10,1),b.min=aa(za(b.min)),b.max=aa(za(b.max));if(b.range&&r(b.max))b.userMin=b.min=t(b.min,b.max-b.range),b.userMax= +b.max,b.range=null;b.beforePadding&&b.beforePadding();b.adjustForMinRange();if(!qa&&!b.axisPointRange&&!b.usePercentage&&!h&&r(b.min)&&r(b.max)&&(c=b.max-b.min)){if(!r(d.min)&&!r(b.userMin)&&k&&(b.dataMin<0||!b.ignoreMinPadding))b.min-=c*k;if(!r(d.max)&&!r(b.userMax)&&j&&(b.dataMax>0||!b.ignoreMaxPadding))b.max+=c*j}b.min===b.max||b.min===void 0||b.max===void 0?b.tickInterval=1:h&&!l&&n===b.linkedParent.options.tickPixelInterval?b.tickInterval=b.linkedParent.tickInterval:(b.tickInterval=o(l,qa?1: +(b.max-b.min)*n/t(b.len,n)),!r(l)&&b.lent(2*b.len,200)&&oa(19,!0),a=f?b.getTimeTicks(b.normalizeTimeTickInterval(b.tickInterval,d.units),b.min,b.max,d.startOfWeek,b.ordinalPositions,b.closestPointRange,!0):e?b.getLogTickPositions(b.tickInterval,b.min, +b.max):b.getLinearTickPositions(b.tickInterval,b.min,b.max),q&&a.splice(1,a.length-2),b.tickPositions=a;if(!h)e=a[0],f=a[a.length-1],h=b.minPointOffset||0,d.startOnTick?b.min=e:b.min-h>e&&a.shift(),d.endOnTick?b.max=f:b.max+h(b[d]||0)&&this.options.alignTicks!== +!1)b[d]=c.length;a.maxTicks=b},adjustTickAmount:function(){var a=this._maxTicksKey,b=this.tickPositions,c=this.chart.maxTicks;if(c&&c[a]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&this.options.alignTicks!==!1&&this.min!==u){var d=this.tickAmount,e=b.length;this.tickAmount=a=c[a];if(e=t(d,o(e.max,d))&&(b=u));this.displayBtn=a!==u||b!==u;this.setExtremes(a,b,!1,u,{trigger:"zoom"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsetLeft||0,d=b.offsetRight||0,e=this.horiz,f,g;this.left=g=o(b.left,a.plotLeft+c);this.top=f=o(b.top,a.plotTop);this.width=c=o(b.width,a.plotWidth-c+d);this.height=b=o(b.height,a.plotHeight);this.bottom=a.chartHeight-b-f;this.right=a.chartWidth-c-g;this.len=t(e?c:b,0);this.pos=e?g:f},getExtremes:function(){var a=this.isLog; +return{min:a?aa(ha(this.min)):this.min,max:a?aa(ha(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=this.isLog,c=b?ha(this.min):this.min,b=b?ha(this.max):this.max;c>a||a===null?a=c:b15&&a<165?"right":a>195&&a<345?"left":"center"},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,e=a.tickPositions, +f=a.ticks,g=a.horiz,h=a.side,i=b.inverted?[1,0,3,2][h]:h,j,k=0,l,m=0,n=d.title,q=d.labels,qa=0,K=b.axisOffset,s=b.clipOffset,P=[-1,1,1,-1][h],v,w=1,x=o(q.maxStaggerLines,5),y,z,H,A;a.hasData=j=a.hasVisibleSeries||r(a.min)&&r(a.max)&&!!e;a.showAxis=b=j||o(d.showEmpty,!0);a.staggerLines=a.horiz&&q.staggerLines;if(!a.axisGroup)a.gridGroup=c.g("grid").attr({zIndex:d.gridZIndex||1}).add(),a.axisGroup=c.g("axis").attr({zIndex:d.zIndex||2}).add(),a.labelGroup=c.g("axis-labels").attr({zIndex:q.zIndex||7}).addClass("highcharts-"+ +a.coll.toLowerCase()+"-labels").add();if(j||a.isLinked){a.labelAlign=o(q.align||a.autoLabelAlign(q.rotation));p(e,function(b){f[b]?f[b].addLabel():f[b]=new Sa(a,b)});if(a.horiz&&!a.staggerLines&&x&&!q.rotation){for(v=a.reversed?[].concat(e).reverse():e;w1)a.staggerLines=w}p(e,function(b){if(h===0||h===2||{1:"left",3:"right"}[h]=== +a.labelAlign)qa=t(f[b].getLabelSize(),qa)});if(a.staggerLines)qa*=a.staggerLines,a.labelOffset=qa}else for(v in f)f[v].destroy(),delete f[v];if(n&&n.text&&n.enabled!==!1){if(!a.axisTitle)a.axisTitle=c.text(n.text,0,0,n.useHTML).attr({zIndex:7,rotation:n.rotation||0,align:n.textAlign||{low:"left",middle:"center",high:"right"}[n.align]}).addClass("highcharts-"+this.coll.toLowerCase()+"-title").css(n.style).add(a.axisGroup),a.axisTitle.isNew=!0;if(b)k=a.axisTitle.getBBox()[g?"height":"width"],m=o(n.margin, +g?5:10),l=n.offset;a.axisTitle[b?"show":"hide"]()}a.offset=P*o(d.offset,K[h]);a.axisTitleMargin=o(l,qa+m+(h!==2&&qa&&P*d.labels[g?"y":"x"]));K[h]=t(K[h],a.axisTitleMargin+k+P*a.offset);s[i]=t(s[i],S(d.lineWidth/2)*2)},getLinePath:function(a){var b=this.chart,c=this.opposite,d=this.offset,e=this.horiz,f=this.left+(c?this.width:0)+d,d=b.chartHeight-this.bottom-(c?this.height:0)+d;c&&(a*=-1);return b.renderer.crispLine(["M",e?this.left:f,e?d:this.top,"L",e?b.chartWidth-this.right:f,e?d:b.chartHeight- +this.bottom],a)},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,e=this.options.title,f=a?b:c,g=this.opposite,h=this.offset,i=x(e.style.fontSize||12),d={low:f+(a?0:d),middle:f+d/2,high:f+(a?d:0)}[e.align],b=(a?c+this.height:b)+(a?1:-1)*(g?-1:1)*this.axisTitleMargin+(this.side===2?i:0);return{x:a?d:b+(g?this.width:0)+h+(e.x||0),y:a?b-(g?this.height:0)+h:d+(e.y||0)}},render:function(){var a=this,b=a.horiz,c=a.reversed,d=a.chart,e=d.renderer,f=a.options,g=a.isLog,h=a.isLinked, +i=a.tickPositions,j,k=a.axisTitle,l=a.ticks,m=a.minorTicks,n=a.alternateBands,q=f.stackLabels,o=f.alternateGridColor,K=a.tickmarkOffset,t=f.lineWidth,v=d.hasRendered&&r(a.oldMin)&&!isNaN(a.oldMin),s=a.hasData,w=a.showAxis,x,y=f.labels.overflow,z=a.justifyLabels=b&&y!==!1,H;a.labelEdge.length=0;a.justifyToPlot=y==="justify";p([l,m,n],function(a){for(var b in a)a[b].isActive=!1});if(s||h)if(a.minorTickInterval&&!a.categories&&p(a.getMinorTickPositions(),function(b){m[b]||(m[b]=new Sa(a,b,"minor")); +v&&m[b].isNew&&m[b].render(null,!0);m[b].render(null,!1,1)}),i.length&&(j=i.slice(),(b&&c||!b&&!c)&&j.reverse(),z&&(j=j.slice(1).concat([j[0]])),p(j,function(b,c){z&&(c=c===j.length-1?0:c+1);if(!h||b>=a.min&&b<=a.max)l[b]||(l[b]=new Sa(a,b)),v&&l[b].isNew&&l[b].render(c,!0,0.1),l[b].render(c,!1,1)}),K&&a.min===0&&(l[-1]||(l[-1]=new Sa(a,-1,null,!0)),l[-1].render(-1))),o&&p(i,function(b,c){if(c%2===0&&b=B.second&&(i.setMilliseconds(0),i.setSeconds(j>=B.minute?0:k*S(i.getSeconds()/k)));if(j>=B.minute)i[Db](j>=B.hour?0:k*S(i[pb]()/k));if(j>=B.hour)i[Eb](j>=B.day?0:k* +S(i[qb]()/k));if(j>=B.day)i[sb](j>=B.month?1:k*S(i[Xa]()/k));j>=B.month&&(i[Fb](j>=B.year?0:k*S(i[eb]()/k)),h=i[fb]());j>=B.year&&(h-=h%k,i[Gb](h));if(j===B.week)i[sb](i[Xa]()-i[rb]()+o(d,1));b=1;Ra&&(i=new Date(i.getTime()+Ra));h=i[fb]();for(var d=i.getTime(),l=i[eb](),m=i[Xa](),n=g?Ra:(864E5+i.getTimezoneOffset()*6E4)%864E5;d=0.5)a=v(a),g=this.getLinearTickPositions(a,b,c);else if(a>=0.08)for(var f=S(b),h,i,j,k,l,e=a>0.3?[1,2,4]:a>0.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];fb&&(!d||k<=c)&&g.push(k),k>c&&(l=!0),k=j}else if(b=ha(b),c=ha(c), +a=e[d?"minorTickInterval":"tickInterval"],a=o(a==="auto"?null:a,this._minorAutoInterval,(c-b)*(e.tickPixelInterval/(d?5:1))/((d?f/this.tickPositions.length:f)||1)),a=nb(a,null,mb(a)),g=Ua(this.getLinearTickPositions(a,b,c),za),!d)this._minorAutoInterval=a/5;if(!d)this.tickInterval=a;return g};var Nb=Q.Tooltip=function(){this.init.apply(this,arguments)};Nb.prototype={init:function(a,b){var c=b.borderWidth,d=b.style,e=x(d.padding);this.chart=a;this.options=b;this.crosshairs=[];this.now={x:0,y:0};this.isHidden= +!0;this.label=a.renderer.label("",0,0,b.shape,null,null,b.useHTML,null,"tooltip").attr({padding:e,fill:b.backgroundColor,"stroke-width":c,r:b.borderRadius,zIndex:8}).css(d).css({padding:0}).add().attr({y:-9999});ca||this.label.shadow(b.shadow);this.shared=b.shared},destroy:function(){if(this.label)this.label=this.label.destroy();clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(a,b,c,d){var e=this,f=e.now,g=e.options.animation!==!1&&!e.isHidden;s(f,{x:g?(2*f.x+a)/3:a,y:g? +(f.y+b)/2:b,anchorX:g?(2*f.anchorX+c)/3:c,anchorY:g?(f.anchorY+d)/2:d});e.label.attr(f);if(g&&(N(a-f.x)>1||N(b-f.y)>1))clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,b,c,d)},32)},hide:function(){var a=this,b;clearTimeout(this.hideTimer);if(!this.isHidden)b=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){a.label.fadeOut();a.isHidden=!0},o(this.options.hideDelay,500)),b&&p(b,function(a){a.setState()}),this.chart.hoverPoints=null},getAnchor:function(a, +b){var c,d=this.chart,e=d.inverted,f=d.plotTop,g=0,h=0,i,a=na(a);c=a[0].tooltipPos;this.followPointer&&b&&(b.chartX===u&&(b=d.pointer.normalize(b)),c=[b.chartX-d.plotLeft,b.chartY-f]);c||(p(a,function(a){i=a.series.yAxis;g+=a.plotX;h+=(a.plotLow?(a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&i?i.top-f:0)}),g/=a.length,h/=a.length,c=[e?d.plotWidth-h:g,this.shared&&!e&&a.length>1&&b?b.chartY-f:e?d.plotHeight-g:h]);return Ua(c,v)},getPosition:function(a,b,c){var d=this.chart,e=d.plotLeft,f=d.plotTop,g=d.plotWidth, +h=d.plotHeight,i=o(this.options.distance,12),j=isNaN(c.plotX)?0:c.plotX,c=c.plotY,d=j+e+(d.inverted?i:-a-i),k=c-b+f+15,l;d<7&&(d=e+t(j,0)+i);d+a>e+g&&(d-=d+a-(e+g),k=c-b+f-i,l=!0);k=k&&c<=k+b&&(k=c+f+i));k+b>f+h&&(k=t(f,f+h-b-i));return{x:d,y:k}},defaultFormatter:function(a){var b=this.points||na(this),c=b[0].series,d;d=[a.tooltipHeaderFormatter(b[0])];p(b,function(a){c=a.series;d.push(c.tooltipFormatter&&c.tooltipFormatter(a)||a.point.tooltipFormatter(c.tooltipOptions.pointFormat))}); +d.push(a.options.footerFormat||"");return d.join("")},refresh:function(a,b){var c=this.chart,d=this.label,e=this.options,f,g,h={},i,j=[];i=e.formatter||this.defaultFormatter;var h=c.hoverPoints,k,l=this.shared;clearTimeout(this.hideTimer);this.followPointer=na(a)[0].series.tooltipOptions.followPointer;g=this.getAnchor(a,b);f=g[0];g=g[1];l&&(!a.series||!a.series.noSharedTooltip)?(c.hoverPoints=a,h&&p(h,function(a){a.setState()}),p(a,function(a){a.setState("hover");j.push(a.getLabelConfig())}),h={x:a[0].category, +y:a[0].y},h.points=j,a=a[0]):h=a.getLabelConfig();i=i.call(h,this);h=a.series;i===!1?this.hide():(this.isHidden&&(ab(d),d.attr("opacity",1).show()),d.attr({text:i}),k=e.borderColor||a.color||h.color||"#606060",d.attr({stroke:k}),this.updatePosition({plotX:f,plotY:g}),this.isHidden=!1);I(c,"tooltipRefresh",{text:i,x:f+c.plotLeft,y:g+c.plotTop,borderColor:k})},updatePosition:function(a){var b=this.chart,c=this.label,c=(this.options.positioner||this.getPosition).call(this,c.width,c.height,a);this.move(v(c.x), +v(c.y),a.plotX+b.plotLeft,a.plotY+b.plotTop)},tooltipHeaderFormatter:function(a){var b=a.series,c=b.tooltipOptions,d=c.dateTimeLabelFormats,e=c.xDateFormat,f=b.xAxis,g=f&&f.options.type==="datetime"&&ya(a.key),c=c.headerFormat,f=f&&f.closestPointRange,h;if(g&&!e){if(f)for(h in B){if(B[h]>=f||B[h]<=B.day&&a.key%B[h]>0){e=d[h];break}}else e=d.day;e=e||d.year}g&&e&&(c=c.replace("{point.key}","{point.key:"+e+"}"));return Ia(c,{point:a,series:b})}};var fa;$a=y.documentElement.ontouchstart!==u;var Wa=Q.Pointer= +function(a,b){this.init(a,b)};Wa.prototype={init:function(a,b){var c=b.chart,d=c.events,e=ca?"":c.zoomType,c=a.inverted,f;this.options=b;this.chart=a;this.zoomX=f=/x/.test(e);this.zoomY=e=/y/.test(e);this.zoomHor=f&&!c||e&&c;this.zoomVert=e&&!c||f&&c;this.runChartClick=d&&!!d.click;this.pinchDown=[];this.lastValidTouch={};if(Q.Tooltip&&b.tooltip.enabled)a.tooltip=new Nb(a,b.tooltip);this.setDOMEvents()},normalize:function(a,b){var c,d,a=a||G.event,a=Sb(a);if(!a.target)a.target=a.srcElement;d=a.touches? +a.touches.item(0):a;if(!b)this.chartPosition=b=Rb(this.chart.container);d.pageX===u?(c=t(a.x,a.clientX-b.left),d=a.y):(c=d.pageX-b.left,d=d.pageY-b.top);return s(a,{chartX:v(c),chartY:v(d)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};p(this.chart.axes,function(c){b[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(a[c.horiz?"chartX":"chartY"])})});return b},getIndex:function(a){var b=this.chart;return b.inverted?b.plotHeight+b.plotTop-a.chartY:a.chartX-b.plotLeft},runPointActions:function(a){var b= +this.chart,c=b.series,d=b.tooltip,e,f,g=b.hoverPoint,h=b.hoverSeries,i,j,k=b.chartWidth,l=this.getIndex(a);if(d&&this.options.tooltip.shared&&(!h||!h.noSharedTooltip)){f=[];i=c.length;for(j=0;jk&&f.splice(i,1);if(f.length&&f[0].clientX!==this.hoverX)d.refresh(f, +a),this.hoverX=f[0].clientX}if(h&&h.tracker&&(!d||!d.followPointer)){if((e=h.tooltipPoints[l])&&e!==g)e.onMouseOver(a)}else d&&d.followPointer&&!d.isHidden&&(c=d.getAnchor([{}],a),d.updatePosition({plotX:c[0],plotY:c[1]}));if(d&&!this._onDocumentMouseMove)this._onDocumentMouseMove=function(a){if(r(fa))Y[fa].pointer.onDocumentMouseMove(a)},C(y,"mousemove",this._onDocumentMouseMove);p(b.axes,function(b){b.drawCrosshair(a,o(e,g))})},reset:function(a){var b=this.chart,c=b.hoverSeries,d=b.hoverPoint,e= +b.tooltip,f=e&&e.shared?b.hoverPoints:d;(a=a&&e&&f)&&na(f)[0].plotX===u&&(a=!1);if(a)e.refresh(f),d&&d.setState(d.state,!0);else{if(d)d.onMouseOut();if(c)c.onMouseOut();e&&e.hide();if(this._onDocumentMouseMove)U(y,"mousemove",this._onDocumentMouseMove),this._onDocumentMouseMove=null;p(b.axes,function(a){a.hideCrosshair()});this.hoverX=null}},scaleGroups:function(a,b){var c=this.chart,d;p(c.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d), +e.markerGroup.clip(b?c.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});c.clipRect.attr(b||c.clipBox)},dragStart:function(a){var b=this.chart;b.mouseIsDown=a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;b.mouseDownY=this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,e=a.chartY,f=this.zoomHor,g=this.zoomVert,h=b.plotLeft,i=b.plotTop,j=b.plotWidth,k=b.plotHeight,l,m=this.mouseDownX,n=this.mouseDownY;dh+j&&(d=h+j);e +i+k&&(e=i+k);this.hasDragged=Math.sqrt(Math.pow(m-d,2)+Math.pow(n-e,2));if(this.hasDragged>10){l=b.isInsidePlot(m-h,n-i);if(b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&l&&!this.selectionMarker)this.selectionMarker=b.renderer.rect(h,i,f?1:j,g?1:k,0).attr({fill:c.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add();this.selectionMarker&&f&&(d-=m,this.selectionMarker.attr({width:N(d),x:(d>0?0:d)+m}));this.selectionMarker&&g&&(d=e-n,this.selectionMarker.attr({height:N(d),y:(d>0?0:d)+n})); +l&&!this.selectionMarker&&c.panning&&b.pan(a,c.panning)}},drop:function(a){var b=this.chart,c=this.hasPinched;if(this.selectionMarker){var d={xAxis:[],yAxis:[],originalEvent:a.originalEvent||a},e=this.selectionMarker,f=e.x,g=e.y,h;if(this.hasDragged||c)p(b.axes,function(a){if(a.zoomEnabled){var b=a.horiz,c=a.toValue(b?f:g),b=a.toValue(b?f+e.width:g+e.height);!isNaN(c)&&!isNaN(b)&&(d[a.coll].push({axis:a,min:E(c,b),max:t(c,b)}),h=!0)}}),h&&I(b,"selection",d,function(a){b.zoom(s(a,c?{animation:!1}: +null))});this.selectionMarker=this.selectionMarker.destroy();c&&this.scaleGroups()}if(b)D(b.container,{cursor:b._cursor}),b.cancelClick=this.hasDragged>10,b.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[]},onContainerMouseDown:function(a){a=this.normalize(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(a){r(fa)&&Y[fa].pointer.drop(a)},onDocumentMouseMove:function(a){var b=this.chart,c=this.chartPosition,d=b.hoverSeries,a=this.normalize(a,c);c&& +d&&!this.inClass(a.target,"highcharts-tracker")&&!b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)&&this.reset()},onContainerMouseLeave:function(){var a=Y[fa];if(a)a.pointer.reset(),a.pointer.chartPosition=null;fa=null},onContainerMouseMove:function(a){var b=this.chart;fa=b.index;a=this.normalize(a);b.mouseIsDown==="mousedown"&&this.drag(a);(this.inClass(a.target,"highcharts-tracker")||b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop))&&!b.openMenu&&this.runPointActions(a)},inClass:function(a, +b){for(var c;a;){if(c=z(a,"class"))if(c.indexOf(b)!==-1)return!0;else if(c.indexOf("highcharts-container")!==-1)return!1;a=a.parentNode}},onTrackerMouseOut:function(a){var b=this.chart.hoverSeries,c=(a=a.relatedTarget||a.toElement)&&a.point&&a.point.series;if(b&&!b.options.stickyTracking&&!this.inClass(a,"highcharts-tooltip")&&c!==b)b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop,f=b.inverted,g,h,i,a=this.normalize(a);a.cancelBubble=!0;if(!b.cancelClick)c&& +this.inClass(a.target,"highcharts-tracker")?(g=this.chartPosition,h=c.plotX,i=c.plotY,s(c,{pageX:g.left+d+(f?b.plotWidth-i:h),pageY:g.top+e+(f?b.plotHeight-h:i)}),I(c.series,"click",s(a,{point:c})),b.hoverPoint&&c.firePointEvent("click",a)):(s(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&I(b,"click",a))},setDOMEvents:function(){var a=this,b=a.chart.container;b.onmousedown=function(b){a.onContainerMouseDown(b)};b.onmousemove=function(b){a.onContainerMouseMove(b)};b.onclick=function(b){a.onContainerClick(b)}; +C(b,"mouseleave",a.onContainerMouseLeave);C(y,"mouseup",a.onDocumentMouseUp);if($a)b.ontouchstart=function(b){a.onContainerTouchStart(b)},b.ontouchmove=function(b){a.onContainerTouchMove(b)},C(y,"touchend",a.onDocumentTouchEnd)},destroy:function(){var a;U(this.chart.container,"mouseleave",this.onContainerMouseLeave);U(y,"mouseup",this.onDocumentMouseUp);U(y,"touchend",this.onDocumentTouchEnd);clearInterval(this.tooltipTimeout);for(a in this)this[a]=null}};s(Q.Pointer.prototype,{pinchTranslate:function(a, +b,c,d,e,f,g,h){a&&this.pinchTranslateDirection(!0,c,d,e,f,g,h);b&&this.pinchTranslateDirection(!1,c,d,e,f,g,h)},pinchTranslateDirection:function(a,b,c,d,e,f,g,h){var i=this.chart,j=a?"x":"y",k=a?"X":"Y",l="chart"+k,m=a?"width":"height",n=i["plot"+(a?"Left":"Top")],q,o,p=h||1,t=i.inverted,r=i.bounds[a?"h":"v"],v=b.length===1,s=b[0][l],u=c[0][l],w=!v&&b[1][l],x=!v&&c[1][l],y,c=function(){!v&&N(s-w)>20&&(p=h||N(u-x)/N(s-w));o=(n-u)/p+s;q=i["plot"+(a?"Width":"Height")]/p};c();b=o;br.max&&(b=r.max-q,y=!0);y?(u-=0.8*(u-g[j][0]),v||(x-=0.8*(x-g[j][1])),c()):g[j]=[u,x];t||(f[j]=o-n,f[m]=q);f=t?1/p:p;e[m]=q;e[j]=b;d[t?a?"scaleY":"scaleX":"scale"+k]=p;d["translate"+k]=f*n+(u-f*s)},pinch:function(a){var b=this,c=b.chart,d=b.pinchDown,e=c.tooltip&&c.tooltip.options.followTouchMove,f=a.touches,g=f.length,h=b.lastValidTouch,i=b.zoomHor||b.pinchHor,j=b.zoomVert||b.pinchVert,k=i||j,l=b.selectionMarker,m={},n=g===1&&(b.inClass(a.target,"highcharts-tracker")&&c.runTrackerClick||c.runChartClick), +q={};(k||e)&&!n&&a.preventDefault();Ua(f,function(a){return b.normalize(a)});if(a.type==="touchstart")p(f,function(a,b){d[b]={chartX:a.chartX,chartY:a.chartY}}),h.x=[d[0].chartX,d[1]&&d[1].chartX],h.y=[d[0].chartY,d[1]&&d[1].chartY],p(c.axes,function(a){if(a.zoomEnabled){var b=c.bounds[a.horiz?"h":"v"],d=a.minPixelPadding,e=a.toPixels(a.dataMin),f=a.toPixels(a.dataMax),g=E(e,f),e=t(e,f);b.min=E(a.pos,g-d);b.max=t(a.pos+a.len,e+d)}});else if(d.length){if(!l)b.selectionMarker=l=s({destroy:Ea},c.plotBox); +b.pinchTranslate(i,j,d,f,m,l,q,h);b.hasPinched=k;b.scaleGroups(m,q);!k&&e&&g===1&&this.runPointActions(b.normalize(a))}},onContainerTouchStart:function(a){var b=this.chart;fa=b.index;a.touches.length===1?(a=this.normalize(a),b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)?(this.runPointActions(a),this.pinch(a)):this.reset()):a.touches.length===2&&this.pinch(a)},onContainerTouchMove:function(a){(a.touches.length===1||a.touches.length===2)&&this.pinch(a)},onDocumentTouchEnd:function(a){r(fa)&& +Y[fa].pointer.drop(a)}});if(G.PointerEvent||G.MSPointerEvent){var ra={},zb=!!G.PointerEvent,Wb=function(){var a,b=[];b.item=function(a){return this[a]};for(a in ra)ra.hasOwnProperty(a)&&b.push({pageX:ra[a].pageX,pageY:ra[a].pageY,target:ra[a].target});return b},Ab=function(a,b,c,d){a=a.originalEvent||a;if((a.pointerType==="touch"||a.pointerType===a.MSPOINTER_TYPE_TOUCH)&&Y[fa])d(a),d=Y[fa].pointer,d[b]({type:c,target:a.currentTarget,preventDefault:Ea,touches:Wb()})};s(Wa.prototype,{onContainerPointerDown:function(a){Ab(a, +"onContainerTouchStart","touchstart",function(a){ra[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})},onContainerPointerMove:function(a){Ab(a,"onContainerTouchMove","touchmove",function(a){ra[a.pointerId]={pageX:a.pageX,pageY:a.pageY};if(!ra[a.pointerId].target)ra[a.pointerId].target=a.currentTarget})},onDocumentPointerUp:function(a){Ab(a,"onContainerTouchEnd","touchend",function(a){delete ra[a.pointerId]})},batchMSEvents:function(a){a(this.chart.container,zb?"pointerdown":"MSPointerDown", +this.onContainerPointerDown);a(this.chart.container,zb?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(y,zb?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}});Ma(Wa.prototype,"init",function(a,b,c){D(b.container,{"-ms-touch-action":O,"touch-action":O});a.call(this,b,c)});Ma(Wa.prototype,"setDOMEvents",function(a){a.apply(this);this.batchMSEvents(C)});Ma(Wa.prototype,"destroy",function(a){this.batchMSEvents(U);a.call(this)})}var lb=Q.Legend=function(a,b){this.init(a,b)};lb.prototype= +{init:function(a,b){var c=this,d=b.itemStyle,e=o(b.padding,8),f=b.itemMarginTop||0;this.options=b;if(b.enabled)c.baseline=x(d.fontSize)+3+f,c.itemStyle=d,c.itemHiddenStyle=w(d,b.itemHiddenStyle),c.itemMarginTop=f,c.padding=e,c.initialItemX=e,c.initialItemY=e-5,c.maxItemWidth=0,c.chart=a,c.itemHeight=0,c.lastLineHeight=0,c.symbolWidth=o(b.symbolWidth,16),c.pages=[],c.render(),C(c.chart,"endResize",function(){c.positionCheckboxes()})},colorizeItem:function(a,b){var c=this.options,d=a.legendItem,e=a.legendLine, +f=a.legendSymbol,g=this.itemHiddenStyle.color,c=b?c.itemStyle.color:g,h=b?a.legendColor||a.color||"#CCC":g,g=a.options&&a.options.marker,i={stroke:h,fill:h},j;d&&d.css({fill:c,color:c});e&&e.attr({stroke:h});if(f){if(g&&f.isMarker)for(j in g=a.convertAttribs(g),g)d=g[j],d!==u&&(i[j]=d);f.attr(i)}},positionItem:function(a){var b=this.options,c=b.symbolPadding,b=!b.rtl,d=a._legendItemPos,e=d[0],d=d[1],f=a.checkbox;a.legendGroup&&a.legendGroup.translate(b?e:this.legendWidth-e-2*c-4,d);if(f)f.x=e,f.y= +d},destroyItem:function(a){var b=a.checkbox;p(["legendItem","legendLine","legendSymbol","legendGroup"],function(b){a[b]&&(a[b]=a[b].destroy())});b&&Pa(a.checkbox)},destroy:function(){var a=this.group,b=this.box;if(b)this.box=b.destroy();if(a)this.group=a.destroy()},positionCheckboxes:function(a){var b=this.group.alignAttr,c,d=this.clipHeight||this.legendHeight;if(b)c=b.translateY,p(this.allItems,function(e){var f=e.checkbox,g;f&&(g=c+f.y+(a||0)+3,D(f,{left:b.translateX+e.legendItemWidth+f.x-20+"px", +top:g+"px",display:g>c-6&&g(m||b.chartWidth-2*j-p-d.x))this.itemX=p,this.itemY+=q+this.lastLineHeight+n,this.lastLineHeight=0;this.maxItemWidth=t(this.maxItemWidth, +f);this.lastItemY=q+this.itemY+n;this.lastLineHeight=t(g,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];e?this.itemX+=f:(this.itemY+=q+g+n,this.lastLineHeight=g);this.offsetWidth=m||t((e?this.itemX-p-k:f)+j,this.offsetWidth)},getAllItems:function(){var a=[];p(this.chart.series,function(b){var c=b.options;if(o(c.showInLegend,!r(c.linkedTo)?u:!1,!0))a=a.concat(b.legendItems||(c.legendType==="point"?b.data:b))});return a},render:function(){var a=this,b=a.chart,c=b.renderer,d=a.group,e, +f,g,h,i=a.box,j=a.options,k=a.padding,l=j.borderWidth,m=j.backgroundColor;a.itemX=a.initialItemX;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;if(!d)a.group=d=c.g("legend").attr({zIndex:7}).add(),a.contentGroup=c.g().attr({zIndex:1}).add(d),a.scrollGroup=c.g().add(a.contentGroup);a.renderTitle();e=a.getAllItems();ob(e,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});j.reversed&&e.reverse();a.allItems=e;a.display=f=!!e.length;p(e,function(b){a.renderItem(b)}); +g=j.width||a.offsetWidth;h=a.lastItemY+a.lastLineHeight+a.titleHeight;h=a.handleOverflow(h);if(l||m){g+=k;h+=k;if(i){if(g>0&&h>0)i[i.isNew?"attr":"animate"](i.crisp({width:g,height:h})),i.isNew=!1}else a.box=i=c.rect(0,0,g,h,j.borderRadius,l||0).attr({stroke:j.borderColor,"stroke-width":l||0,fill:m||O}).add(d).shadow(j.shadow),i.isNew=!0;i[f?"show":"hide"]()}a.legendWidth=g;a.legendHeight=h;p(e,function(b){a.positionItem(b)});f&&d.align(s({width:g,height:h},j),!0,"spacingBox");b.isResizing||this.positionCheckboxes()}, +handleOverflow:function(a){var b=this,c=this.chart,d=c.renderer,e=this.options,f=e.y,f=c.spacingBox.height+(e.verticalAlign==="top"?-f:f)-this.padding,g=e.maxHeight,h,i=this.clipRect,j=e.navigation,k=o(j.animation,!0),l=j.arrowSize||12,m=this.nav,n=this.pages,q,t=this.allItems;e.layout==="horizontal"&&(f/=2);g&&(f=E(f,g));n.length=0;if(a>f&&!e.useHTML){this.clipHeight=h=f-20-this.titleHeight-this.padding;this.currentPage=o(this.currentPage,1);this.fullHeight=a;p(t,function(a,b){var c=a._legendItemPos[1], +d=v(a.legendItem.getBBox().height),e=n.length;if(!e||c-n[e-1]>h&&(q||c)!==n[e-1])n.push(q||c),e++;b===t.length-1&&c+d-n[e-1]>h&&n.push(c);c!==q&&(q=c)});if(!i)i=b.clipRect=d.clipRect(0,this.padding,9999,0),b.contentGroup.clip(i);i.attr({height:h});if(!m)this.nav=m=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,l,l).on("click",function(){b.scroll(-1,k)}).add(m),this.pager=d.text("",15,10).css(j.style).add(m),this.down=d.symbol("triangle-down",0,0,l,l).on("click",function(){b.scroll(1, +k)}).add(m);b.scroll(0);a=f}else if(m)i.attr({height:c.chartHeight}),m.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0;return a},scroll:function(a,b){var c=this.pages,d=c.length,e=this.currentPage+a,f=this.clipHeight,g=this.options.navigation,h=g.activeColor,g=g.inactiveColor,i=this.pager,j=this.padding;e>d&&(e=d);if(e>0)b!==u&&Qa(b,this.chart),this.nav.attr({translateX:j,translateY:f+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({fill:e===1?g:h}).css({cursor:e=== +1?"default":"pointer"}),i.attr({text:e+"/"+d}),this.down.attr({x:18+this.pager.getBBox().width,fill:e===d?g:h}).css({cursor:e===d?"default":"pointer"}),c=-c[e-1]+this.initialItemY,this.scrollGroup.animate({translateY:c}),this.currentPage=e,this.positionCheckboxes(c)}};F=Q.LegendSymbolMixin={drawRectangle:function(a,b){var c=a.options.symbolHeight||12;b.legendSymbol=this.chart.renderer.rect(0,a.baseline-5-c/2,a.symbolWidth,c,o(a.options.symbolRadius,2)).attr({zIndex:3}).add(b.legendGroup)},drawLineMarker:function(a){var b= +this.options,c=b.marker,d;d=a.symbolWidth;var e=this.chart.renderer,f=this.legendGroup,a=a.baseline-v(e.fontMetrics(a.options.itemStyle.fontSize).b*0.3),g;if(b.lineWidth){g={"stroke-width":b.lineWidth};if(b.dashStyle)g.dashstyle=b.dashStyle;this.legendLine=e.path(["M",0,a,"L",d,a]).attr(g).add(f)}if(c&&c.enabled)b=c.radius,this.legendSymbol=d=e.symbol(this.symbol,d/2-b,a-b,2*b,2*b).add(f),d.isMarker=!0}};(/Trident\/7\.0/.test(ua)||Ta)&&Ma(lb.prototype,"positionItem",function(a,b){var c=this,d=function(){b._legendItemPos&& +a.call(c,b)};c.chart.renderer.forExport?d():setTimeout(d)});Ya.prototype={init:function(a,b){var c,d=a.series;a.series=null;c=w(L,a);c.series=a.series=d;this.userOptions=a;d=c.chart;this.margin=this.splashArray("margin",d);this.spacing=this.splashArray("spacing",d);var e=d.events;this.bounds={h:{},v:{}};this.callback=b;this.isResizing=0;this.options=c;this.axes=[];this.series=[];this.hasCartesianSeries=d.showAxes;var f=this,g;f.index=Y.length;Y.push(f);d.reflow!==!1&&C(f,"load",function(){f.initReflow()}); +if(e)for(g in e)C(f,g,e[g]);f.xAxis=[];f.yAxis=[];f.animation=ca?!1:o(d.animation,!0);f.pointCount=0;f.counters=new Bb;f.firstRender()},initSeries:function(a){var b=this.options.chart;(b=J[a.type||b.type||b.defaultSeriesType])||oa(17,!0);b=new b;b.init(this,a);return b},isInsidePlot:function(a,b,c){var d=c?b:a,a=c?a:b;return d>=0&&d<=this.plotWidth&&a>=0&&a<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&p(this.axes,function(a){a.adjustTickAmount()});this.maxTicks= +null},redraw:function(a){var b=this.axes,c=this.series,d=this.pointer,e=this.legend,f=this.isDirtyLegend,g,h,i=this.isDirtyBox,j=c.length,k=j,l=this.renderer,m=l.isHidden(),n=[];Qa(a,this);m&&this.cloneRenderTo();for(this.layOutTitles();k--;)if(a=c[k],a.options.stacking&&(g=!0,a.isDirty)){h=!0;break}if(h)for(k=j;k--;)if(a=c[k],a.options.stacking)a.isDirty=!0;p(c,function(a){a.isDirty&&a.options.legendType==="point"&&(f=!0)});if(f&&e.options.enabled)e.render(),this.isDirtyLegend=!1;g&&this.getStacks(); +if(this.hasCartesianSeries){if(!this.isResizing)this.maxTicks=null,p(b,function(a){a.setScale()});this.adjustTickAmounts();this.getMargins();p(b,function(a){a.isDirty&&(i=!0)});p(b,function(a){if(a.isDirtyExtremes)a.isDirtyExtremes=!1,n.push(function(){I(a,"afterSetExtremes",s(a.eventArgs,a.getExtremes()));delete a.eventArgs});(i||g)&&a.redraw()})}i&&this.drawChartBox();p(c,function(a){a.isDirty&&a.visible&&(!a.isCartesian||a.xAxis)&&a.redraw()});d&&d.reset(!0);l.draw();I(this,"redraw");m&&this.cloneRenderTo(!0); +p(n,function(a){a.call()})},get:function(a){var b=this.axes,c=this.series,d,e;for(d=0;d=18&&b<=25&&(b=15);d&&(d.css({width:(e.width||g)+"px"}).align(s({y:b+f.margin},e),!1,"spacingBox"),!e.floating&&!e.verticalAlign&&(b=Ka(b+d.getBBox().height)));c=this.titleOffset!==b;this.titleOffset=b;if(!this.isDirtyBox&&c)this.isDirtyBox=c,this.hasRendered&&o(a,!0)&&this.isDirtyBox&&this.redraw()},getChartSize:function(){var a=this.options.chart,b=a.width,a=a.height, +c=this.renderToClone||this.renderTo;if(!r(b))this.containerWidth=ib(c,"width");if(!r(a))this.containerHeight=ib(c,"height");this.chartWidth=t(0,b||this.containerWidth||600);this.chartHeight=t(0,o(a,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(a){var b=this.renderToClone,c=this.container;a?b&&(this.renderTo.appendChild(c),Pa(b),delete this.renderToClone):(c&&c.parentNode===this.renderTo&&this.renderTo.removeChild(c),this.renderToClone=b=this.renderTo.cloneNode(0),D(b, +{position:"absolute",top:"-9999px",display:"block"}),b.style.setProperty&&b.style.setProperty("display","block","important"),y.body.appendChild(b),c&&b.appendChild(c))},getContainer:function(){var a,b=this.options.chart,c,d,e;this.renderTo=a=b.renderTo;e="highcharts-"+tb++;if(ga(a))this.renderTo=a=y.getElementById(a);a||oa(13,!0);c=x(z(a,"data-highcharts-chart"));!isNaN(c)&&Y[c]&&Y[c].hasRendered&&Y[c].destroy();z(a,"data-highcharts-chart",this.index);a.innerHTML="";!b.skipClone&&!a.offsetWidth&& +this.cloneRenderTo();this.getChartSize();c=this.chartWidth;d=this.chartHeight;this.container=a=V(Ja,{className:"highcharts-container"+(b.className?" "+b.className:""),id:e},s({position:"relative",overflow:"hidden",width:c+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},b.style),this.renderToClone||a);this._cursor=a.style.cursor;this.renderer=b.forExport?new pa(a,c,d,b.style,!0):new Za(a,c,d,b.style);ca&&this.renderer.create(this,a,c, +d)},getMargins:function(){var a=this.spacing,b,c=this.legend,d=this.margin,e=this.options.legend,f=o(e.margin,10),g=e.x,h=e.y,i=e.align,j=e.verticalAlign,k=this.titleOffset;this.resetMargins();b=this.axisOffset;if(k&&!r(d[0]))this.plotTop=t(this.plotTop,k+this.options.title.margin+a[0]);if(c.display&&!e.floating)if(i==="right"){if(!r(d[1]))this.marginRight=t(this.marginRight,c.legendWidth-g+f+a[1])}else if(i==="left"){if(!r(d[3]))this.plotLeft=t(this.plotLeft,c.legendWidth+g+f+a[3])}else if(j==="top"){if(!r(d[0]))this.plotTop= +t(this.plotTop,c.legendHeight+h+f+a[0])}else if(j==="bottom"&&!r(d[2]))this.marginBottom=t(this.marginBottom,c.legendHeight-h+f+a[2]);this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);this.hasCartesianSeries&&p(this.axes,function(a){a.getOffset()});r(d[3])||(this.plotLeft+=b[3]);r(d[0])||(this.plotTop+=b[0]);r(d[2])||(this.marginBottom+=b[2]);r(d[1])||(this.marginRight+=b[1]);this.setChartSize()},reflow:function(a){var b=this, +c=b.options.chart,d=b.renderTo,e=c.width||ib(d,"width"),f=c.height||ib(d,"height"),c=a?a.target:G,d=function(){if(b.container)b.setSize(e,f,!1),b.hasUserSize=null};if(!b.hasUserSize&&e&&f&&(c===G||c===y)){if(e!==b.containerWidth||f!==b.containerHeight)clearTimeout(b.reflowTimeout),a?b.reflowTimeout=setTimeout(d,100):d();b.containerWidth=e;b.containerHeight=f}},initReflow:function(){var a=this,b=function(b){a.reflow(b)};C(G,"resize",b);C(a,"destroy",function(){U(G,"resize",b)})},setSize:function(a, +b,c){var d=this,e,f,g;d.isResizing+=1;g=function(){d&&I(d,"endResize",null,function(){d.isResizing-=1})};Qa(c,d);d.oldChartHeight=d.chartHeight;d.oldChartWidth=d.chartWidth;if(r(a))d.chartWidth=e=t(0,v(a)),d.hasUserSize=!!e;if(r(b))d.chartHeight=f=t(0,v(b));(sa?jb:D)(d.container,{width:e+"px",height:f+"px"},sa);d.setChartSize(!0);d.renderer.setSize(e,f,c);d.maxTicks=null;p(d.axes,function(a){a.isDirty=!0;a.setScale()});p(d.series,function(a){a.isDirty=!0});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.getMargins(); +d.redraw(c);d.oldChartHeight=null;I(d,"resize");sa===!1?g():setTimeout(g,sa&&sa.duration||500)},setChartSize:function(a){var b=this.inverted,c=this.renderer,d=this.chartWidth,e=this.chartHeight,f=this.options.chart,g=this.spacing,h=this.clipOffset,i,j,k,l;this.plotLeft=i=v(this.plotLeft);this.plotTop=j=v(this.plotTop);this.plotWidth=k=t(0,v(d-i-this.marginRight));this.plotHeight=l=t(0,v(e-j-this.marginBottom));this.plotSizeX=b?l:k;this.plotSizeY=b?k:l;this.plotBorderWidth=f.plotBorderWidth||0;this.spacingBox= +c.spacingBox={x:g[3],y:g[0],width:d-g[3]-g[1],height:e-g[0]-g[2]};this.plotBox=c.plotBox={x:i,y:j,width:k,height:l};d=2*S(this.plotBorderWidth/2);b=Ka(t(d,h[3])/2);c=Ka(t(d,h[0])/2);this.clipBox={x:b,y:c,width:S(this.plotSizeX-t(d,h[1])/2-b),height:S(this.plotSizeY-t(d,h[2])/2-c)};a||p(this.axes,function(a){a.setAxisSize();a.setAxisTranslation()})},resetMargins:function(){var a=this.spacing,b=this.margin;this.plotTop=o(b[0],a[0]);this.marginRight=o(b[1],a[1]);this.marginBottom=o(b[2],a[2]);this.plotLeft= +o(b[3],a[3]);this.axisOffset=[0,0,0,0];this.clipOffset=[0,0,0,0]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,d=this.chartHeight,e=this.chartBackground,f=this.plotBackground,g=this.plotBorder,h=this.plotBGImage,i=a.borderWidth||0,j=a.backgroundColor,k=a.plotBackgroundColor,l=a.plotBackgroundImage,m=a.plotBorderWidth||0,n,q=this.plotLeft,o=this.plotTop,p=this.plotWidth,t=this.plotHeight,r=this.plotBox,s=this.clipRect,v=this.clipBox;n=i+(a.shadow?8:0);if(i||j)if(e)e.animate(e.crisp({width:c- +n,height:d-n}));else{e={fill:j||O};if(i)e.stroke=a.borderColor,e["stroke-width"]=i;this.chartBackground=b.rect(n/2,n/2,c-n,d-n,a.borderRadius,i).attr(e).addClass("highcharts-background").add().shadow(a.shadow)}if(k)f?f.animate(r):this.plotBackground=b.rect(q,o,p,t,0).attr({fill:k}).add().shadow(a.plotShadow);if(l)h?h.animate(r):this.plotBGImage=b.image(l,q,o,p,t).add();s?s.animate({width:v.width,height:v.height}):this.clipRect=b.clipRect(v);if(m)g?g.animate(g.crisp({x:q,y:o,width:p,height:t})):this.plotBorder= +b.rect(q,o,p,t,0,-m).attr({stroke:a.plotBorderColor,"stroke-width":m,fill:O,zIndex:1}).add();this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,f;p(["inverted","angular","polar"],function(g){c=J[b.type||b.defaultSeriesType];f=a[g]||b[g]||c&&c.prototype[g];for(e=d&&d.length;!f&&e--;)(c=J[d[e].type])&&c.prototype[g]&&(f=!0);a[g]=f})},linkSeries:function(){var a=this,b=a.series;p(b,function(a){a.linkedSeries.length=0});p(b,function(b){var d=b.options.linkedTo; +if(ga(d)&&(d=d===":previous"?a.series[b.index-1]:a.get(d)))d.linkedSeries.push(b),b.linkedParent=d})},renderSeries:function(){p(this.series,function(a){a.translate();a.setTooltipPoints&&a.setTooltipPoints();a.render()})},render:function(){var a=this,b=a.axes,c=a.renderer,d=a.options,e=d.labels,f=d.credits,g;a.setTitle();a.legend=new lb(a,d.legend);a.getStacks();p(b,function(a){a.setScale()});a.getMargins();a.maxTicks=null;p(b,function(a){a.setTickPositions(!0);a.setMaxTicks()});a.adjustTickAmounts(); +a.getMargins();a.drawChartBox();a.hasCartesianSeries&&p(b,function(a){a.render()});if(!a.seriesGroup)a.seriesGroup=c.g("series-group").attr({zIndex:3}).add();a.renderSeries();e.items&&p(e.items,function(b){var d=s(e.style,b.style),f=x(d.left)+a.plotLeft,g=x(d.top)+a.plotTop+12;delete d.left;delete d.top;c.text(b.html,f,g).attr({zIndex:2}).css(d).add()});if(f.enabled&&!a.credits)g=f.href,a.credits=c.text(f.text,0,0).on("click",function(){if(g)location.href=g}).attr({align:f.position.align,zIndex:8}).css(f.style).add().align(f.position); +a.hasRendered=!0},destroy:function(){var a=this,b=a.axes,c=a.series,d=a.container,e,f=d&&d.parentNode;I(a,"destroy");Y[a.index]=u;a.renderTo.removeAttribute("data-highcharts-chart");U(a);for(e=b.length;e--;)b[e]=b[e].destroy();for(e=c.length;e--;)c[e]=c[e].destroy();p("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","),function(b){var c=a[b];c&&c.destroy&&(a[b]=c.destroy())}); +if(d)d.innerHTML="",U(d),f&&Pa(d);for(e in a)delete a[e]},isReadyToRender:function(){var a=this;return!X&&G==G.top&&y.readyState!=="complete"||ca&&!G.canvg?(ca?Mb.push(function(){a.firstRender()},a.options.global.canvasToolsURL):y.attachEvent("onreadystatechange",function(){y.detachEvent("onreadystatechange",a.firstRender);y.readyState==="complete"&&a.firstRender()}),!1):!0},firstRender:function(){var a=this,b=a.options,c=a.callback;if(a.isReadyToRender()){a.getContainer();I(a,"init");a.resetMargins(); +a.setChartSize();a.propFromSeries();a.getAxes();p(b.series||[],function(b){a.initSeries(b)});a.linkSeries();I(a,"beforeRender");if(Q.Pointer)a.pointer=new Wa(a,b);a.render();a.renderer.draw();c&&c.apply(a,[a]);p(a.callbacks,function(b){b.apply(a,[a])});a.cloneRenderTo(!0);I(a,"load")}},splashArray:function(a,b){var c=b[a],c=$(c)?c:[c,c,c,c];return[o(b[a+"Top"],c[0]),o(b[a+"Right"],c[1]),o(b[a+"Bottom"],c[2]),o(b[a+"Left"],c[3])]}};Ya.prototype.callbacks=[];da=Q.CenteredSeriesMixin={getCenter:function(){var a= +this.options,b=this.chart,c=2*(a.slicedOffset||0),d,e=b.plotWidth-2*c,f=b.plotHeight-2*c,b=a.center,a=[o(b[0],"50%"),o(b[1],"50%"),a.size||"100%",a.innerSize||0],g=E(e,f),h;return Ua(a,function(a,b){h=/%$/.test(a);d=b<2||b===2&&h;return(h?[e,f,g,g][b]*x(a)/100:a)+(d?c:0)})}};var Fa=function(){};Fa.prototype={init:function(a,b,c){this.series=a;this.applyOptions(b,c);this.pointAttr={};if(a.options.colorByPoint&&(b=a.options.colors||a.chart.options.colors,this.color=this.color||b[a.colorCounter++],a.colorCounter=== +b.length))a.colorCounter=0;a.chart.pointCount++;return this},applyOptions:function(a,b){var c=this.series,d=c.pointValKey,a=Fa.prototype.optionsToObject.call(this,a);s(this,a);this.options=this.options?s(this.options,a):a;if(d)this.y=this[d];if(this.x===u&&c)this.x=b===u?c.autoIncrement():b;return this},optionsToObject:function(a){var b={},c=this.series,d=c.pointArrayMap||["y"],e=d.length,f=0,g=0;if(typeof a==="number"||a===null)b[d[0]]=a;else if(La(a)){if(a.length>e){c=typeof a[0];if(c==="string")b.name= +a[0];else if(c==="number")b.x=a[0];f++}for(;ga+1&&b.push(d.slice(a+1,g)),a=g):g===e-1&&b.push(d.slice(a+1,g+1))});this.segments= +b},setOptions:function(a){var b=this.chart,c=b.options.plotOptions,b=b.userOptions||{},d=b.plotOptions||{},e=c[this.type];this.userOptions=a;c=w(e,c.series,a);this.tooltipOptions=w(L.tooltip,L.plotOptions[this.type].tooltip,b.tooltip,d.series&&d.series.tooltip,d[this.type]&&d[this.type].tooltip,a.tooltip);e.marker===null&&delete c.marker;return c},getColor:function(){var a=this.options,b=this.userOptions,c=this.chart.options.colors,d=this.chart.counters,e;e=a.color||Z[this.type].color;if(!e&&!a.colorByPoint)r(b._colorIndex)? +a=b._colorIndex:(b._colorIndex=d.color,a=d.color++),e=c[a];this.color=e;d.wrapColor(c.length)},getSymbol:function(){var a=this.userOptions,b=this.options.marker,c=this.chart,d=c.options.symbols,c=c.counters;this.symbol=b.symbol;if(!this.symbol)r(a._symbolIndex)?a=a._symbolIndex:(a._symbolIndex=c.symbol,a=c.symbol++),this.symbol=d[a];if(/^url/.test(this.symbol))b.radius=0;c.wrapSymbol(d.length)},drawLegendSymbol:F.drawLineMarker,setData:function(a,b,c,d){var e=this,f=e.points,g=f&&f.length||0,h,i= +e.options,j=e.chart,k=null,l=e.xAxis,m=l&&!!l.categories,n=e.tooltipPoints,q=i.turboThreshold,t=this.xData,r=this.yData,s=(h=e.pointArrayMap)&&h.length,a=a||[];h=a.length;b=o(b,!0);if(d!==!1&&h&&g===h&&!e.cropped&&!e.hasGroupedData)p(a,function(a,b){f[b].update(a,!1)});else{e.xIncrement=null;e.pointRange=m?1:i.pointRange;e.colorCounter=0;p(this.parallelArrays,function(a){e[a+"Data"].length=0});if(q&&h>q){for(c=0;k===null&&cj||this.forceCrop))if(a=h.min,h=h.max,b[d-1]h)b=[],c=[];else if(b[0]h)e=this.cropData(this.xData,this.yData,a,h),b=e.xData,c=e.yData,e=e.start,f=!0;for(h=b.length-1;h>=0;h--)d=b[h]-b[h-1],d>0&&(g===u||d=c){f=t(0,i-h);break}for(;id){g=i+h;break}return{xData:a.slice(f,g),yData:b.slice(f,g),start:f,end:g}},generatePoints:function(){var a=this.options.data,b=this.data,c,d=this.processedXData,e=this.processedYData, +f=this.pointClass,g=d.length,h=this.cropStart||0,i,j=this.hasGroupedData,k,l=[],m;if(!b&&!j)b=[],b.length=a.length,b=this.data=b;for(m=0;m0),j=this.getExtremesFromAll||this.cropped||(c[l+1]||j)>=g&&(c[l-1]||j)<=h,i&&j)if(i=k.length)for(;i--;)k[i]!==null&&(e[f++]=k[i]);else e[f++]=k;this.dataMin=o(void 0,Na(e));this.dataMax=o(void 0,Ba(e))},translate:function(){this.processedXData||this.processData();this.generatePoints();for(var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories, +e=this.yAxis,f=this.points,g=f.length,h=!!this.modifyValue,i=a.pointPlacement,j=i==="between"||ya(i),k=a.threshold,a=0;a0||j))g.graphic=c.renderer.symbol(i,d-h,e-h,2*h,2*h).attr(a).add(q)}else if(k)g.graphic=k.destroy()},convertAttribs:function(a,b,c,d){var e=this.pointAttrToOptions,f,g,h={},a=a||{},b=b||{},c=c||{},d=d||{};for(f in e)g=e[f],h[f]=o(a[g],b[f],c[f],d[f]);return h},getAttribs:function(){var a=this,b=a.options,c=Z[a.type].marker?b.marker:b,d=c.states,e=d.hover,f,g=a.color;f={stroke:g, +fill:g};var h=a.points||[],i,j=[],k,l=a.pointAttrToOptions;k=a.hasPointSpecificOptions;var m=b.negativeColor,n=c.lineColor,q=c.fillColor;i=b.turboThreshold;var o;b.marker?(e.radius=e.radius||c.radius+2,e.lineWidth=e.lineWidth||c.lineWidth+1):e.color=e.color||wa(e.color||g).brighten(e.brightness).get();j[""]=a.convertAttribs(c,f);p(["hover","select"],function(b){j[b]=a.convertAttribs(d[b],j[""])});a.pointAttr=j;g=h.length;if(!i||g1?b=b.concat(c):d.push(e[0])});a.singlePoints=d;return a.graphPath=b},drawGraph:function(){var a=this,b=this.options,c=[["graph",b.lineColor||this.color]],d=b.lineWidth,e=b.dashStyle,f=b.linecap!=="square",g=this.getGraphPath(),h=b.negativeColor;h&&c.push(["graphNeg",h]);p(c,function(c,h){var k=c[0],l=a[k];if(l)ab(l),l.animate({d:g});else if(d&&g.length)l={stroke:c[1],"stroke-width":d,fill:O,zIndex:1},e?l.dashstyle=e:f&&(l["stroke-linecap"]= +l["stroke-linejoin"]="round"),a[k]=a.chart.renderer.path(g).attr(l).add(a.group).shadow(!h&&b.shadow)})},clipNeg:function(){var a=this.options,b=this.chart,c=b.renderer,d=a.negativeColor||a.negativeFillColor,e,f=this.graph,g=this.area,h=this.posClip,i=this.negClip;e=b.chartWidth;var j=b.chartHeight,k=t(e,j),l=this.yAxis;if(d&&(f||g)){d=v(l.toPixels(a.threshold||0,!0));d<0&&(k-=d);a={x:0,y:0,width:k,height:d};k={x:0,y:d,width:k,height:k};if(b.inverted)a.height=k.y=b.plotWidth-d,c.isVML&&(a={x:b.plotWidth- +d-b.plotLeft,y:0,width:e,height:j},k={x:d+b.plotLeft-e,y:0,width:b.plotLeft+d,height:e});l.reversed?(b=k,e=a):(b=a,e=k);h?(h.animate(b),i.animate(e)):(this.posClip=h=c.clipRect(b),this.negClip=i=c.clipRect(e),f&&this.graphNeg&&(f.clip(h),this.graphNeg.clip(i)),g&&(g.clip(h),this.areaNeg.clip(i)))}},invertGroups:function(){function a(){var a={width:b.yAxis.len,height:b.xAxis.len};p(["group","markerGroup"],function(c){b[c]&&b[c].attr(a).invert()})}var b=this,c=b.chart;if(b.xAxis)C(c,"resize",a),C(b, +"destroy",function(){U(c,"resize",a)}),a(),b.invertGroups=a},plotGroup:function(a,b,c,d,e){var f=this[a],g=!f;g&&(this[a]=f=this.chart.renderer.g(b).attr({visibility:c,zIndex:d||0.1}).add(e));f[g?"attr":"animate"](this.getPlotBox());return f},getPlotBox:function(){return{translateX:this.xAxis?this.xAxis.left:this.chart.plotLeft,translateY:this.yAxis?this.yAxis.top:this.chart.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this.chart,b,c=this.options,d=c.animation&&!!this.animate&&a.renderer.isSVG, +e=this.visible?"visible":"hidden",f=c.zIndex,g=this.hasRendered,h=a.seriesGroup;b=this.plotGroup("group","series",e,f,h);this.markerGroup=this.plotGroup("markerGroup","markers",e,f,h);d&&this.animate(!0);this.getAttribs();b.inverted=this.isCartesian?a.inverted:!1;this.drawGraph&&(this.drawGraph(),this.clipNeg());this.drawDataLabels&&this.drawDataLabels();this.visible&&this.drawPoints();this.drawTracker&&this.options.enableMouseTracking!==!1&&this.drawTracker();a.inverted&&this.invertGroups();c.clip!== +!1&&!this.sharedClipKey&&!g&&b.clip(a.clipRect);d?this.animate():g||this.afterAnimate();this.isDirty=this.isDirtyData=!1;this.hasRendered=!0},redraw:function(){var a=this.chart,b=this.isDirtyData,c=this.group,d=this.xAxis,e=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:o(d&&d.left,a.plotLeft),translateY:o(e&&e.top,a.plotTop)}));this.translate();this.setTooltipPoints(!0);this.render();b&&I(this,"updatedData")}};Hb.prototype={destroy:function(){Oa(this, +this.axis)},render:function(a){var b=this.options,c=b.format,c=c?Ia(c,this):b.formatter.call(this);this.label?this.label.attr({text:c,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(c,0,0,b.useHTML).css(b.style).attr({align:this.textAlign,rotation:b.rotation,visibility:"hidden"}).add(a)},setOffset:function(a,b){var c=this.axis,d=c.chart,e=d.inverted,f=this.isNegative,g=c.translate(this.percent?100:this.total,0,0,0,1),c=c.translate(0),c=N(g-c),h=d.xAxis[0].translate(this.x)+a,i=d.plotHeight, +f={x:e?f?g:g-c:h,y:e?i-h-b:f?i-g-c:i-g,width:e?c:b,height:e?b:c};if(e=this.label)e.align(this.alignOptions,null,f),f=e.alignAttr,e[this.options.crop===!1||d.isInsidePlot(f.x,f.y)?"show":"hide"](!0)}};ka.prototype.buildStacks=function(){var a=this.series,b=o(this.options.reversedStacks,!0),c=a.length;if(!this.isXAxis){for(this.usePercentage=!1;c--;)a[b?c:a.length-c-1].setStackedPoints();if(this.usePercentage)for(c=0;cg;)h--;this.updateParallelArrays(d,"splice",h,0,0);this.updateParallelArrays(d,h);if(j)j[g]=d.name;l.splice(h,0,a);m&&(this.data.splice(h,0,null),this.processData());e.legendType==="point"&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(d,"shift"),l.shift()));this.isDirtyData=this.isDirty= +!0;b&&(this.getAttribs(),i.redraw())},remove:function(a,b){var c=this,d=c.chart,a=o(a,!0);if(!c.isRemoving)c.isRemoving=!0,I(c,"remove",null,function(){c.destroy();d.isDirtyLegend=d.isDirtyBox=!0;d.linkSeries();a&&d.redraw(b)});c.isRemoving=!1},update:function(a,b){var c=this.chart,d=this.type,e=J[d].prototype,f,a=w(this.userOptions,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},a);this.remove(!1);for(f in e)e.hasOwnProperty(f)&&(this[f]=u);s(this,J[a.type||d].prototype); +this.init(c,a);o(b,!0)&&c.redraw(!1)}});s(ka.prototype,{update:function(a,b){var c=this.chart,a=c.options[this.coll][this.options.index]=w(this.userOptions,a);this.destroy(!0);this._addedPlotLB=this.userMin=this.userMax=u;this.init(c,s(a,{events:u}));c.isDirtyBox=!0;o(b,!0)&&c.redraw()},remove:function(a){for(var b=this.chart,c=this.coll,d=this.series,e=d.length;e--;)d[e]&&d[e].remove(!1);ia(b.axes,this);ia(b[c],this);b.options[c].splice(this.options.index,1);p(b[c],function(a,b){a.options.index= +b});this.destroy();b.isDirtyBox=!0;o(a,!0)&&b.redraw()},setTitle:function(a,b){this.update({title:a},b)},setCategories:function(a,b){this.update({categories:a},b)}});ea=ja(M);J.line=ea;Z.area=w(R,{threshold:0});var ma=ja(M,{type:"area",getSegments:function(){var a=[],b=[],c=[],d=this.xAxis,e=this.yAxis,f=e.stacks[this.stackKey],g={},h,i,j=this.points,k=this.options.connectNulls,l,m,n;if(this.options.stacking&&!this.cropped){for(m=0;m=0;d--)g=o(a[d].yBottom,f),da&&i>e?(i=t(a,e),k=2*e-i):ig&&k>e?(k=t(g,e),i=2*e-k):kf?b-f:e-(d.translate(a.y,0,1,0,1)<=e?f:0)));a.barX=q;a.pointWidth=g;b=N(q)<0.5;p=v(q+p)+j;q=v(q)+j;p-=q;s=N(r)<0.5;c=v(r+c)+k;r=v(r)+k;c-=r;b&&(q+=1,p-=1);s&&(r-=1,c+=1);a.shapeType="rect";a.shapeArgs={x:q,y:r,width:p, +height:c}})},getSymbol:Ea,drawLegendSymbol:F.drawRectangle,drawGraph:Ea,drawPoints:function(){var a=this,b=a.options,c=this.chart.renderer,d=b.animationLimit||250,e;p(a.points,function(f){var g=f.plotY,h=f.graphic;if(g!==u&&!isNaN(g)&&f.y!==null)e=f.shapeArgs,h?(ab(h),h[a.points.length{series.name}
',pointFormat:"x: {point.x}
y: {point.y}
",followPointer:!0},stickyTracking:!1});ma=ja(M,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],takeOrdinalPosition:!1,singularTooltips:!0,drawGraph:function(){this.options.lineWidth&&M.prototype.drawGraph.call(this)}});J.scatter=ma;Z.pie=w(R, +{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:0.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});R={type:"pie",isCartesian:!1,pointClass:ja(Fa,{init:function(){Fa.prototype.init.apply(this,arguments);var a=this,b;if(a.y<0)a.y=null;s(a,{visible:a.visible!== +!1,name:o(a.name,"Slice")});b=function(b){a.slice(b.type==="select")};C(a,"select",b);C(a,"unselect",b);return a},setVisible:function(a){var b=this,c=b.series,d=c.chart;b.visible=b.options.visible=a=a===u?!b.visible:a;c.options.data[va(b,c.data)]=b.options;p(["graphic","dataLabel","connector","shadowGroup"],function(c){if(b[c])b[c][a?"show":"hide"](!0)});b.legendItem&&d.legend.colorizeItem(b,a);if(!c.isDirty&&c.options.ignoreHiddenPoint)c.isDirty=!0,d.redraw()},slice:function(a,b,c){var d=this.series; +Qa(c,d.chart);o(b,!0);this.sliced=this.options.sliced=a=r(a)?a:!this.sliced;d.options.data[va(this,d.data)]=this.options;a=a?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(a);this.shadowGroup&&this.shadowGroup.animate(a)}}),requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},singularTooltips:!0,getColor:Ea,animate:function(a){var b=this,c=b.points,d= +b.startAngleRad;if(!a)p(c,function(a){var c=a.graphic,a=a.shapeArgs;c&&(c.attr({r:b.center[3]/2,start:d,end:d}),c.animate({r:a.r,start:a.start,end:a.end},b.options.animation))}),b.animate=null},setData:function(a,b,c,d){M.prototype.setData.call(this,a,!1,c,d);this.processData();this.generatePoints();o(b,!0)&&this.chart.redraw(c)},generatePoints:function(){var a,b=0,c,d,e,f=this.options.ignoreHiddenPoint;M.prototype.generatePoints.call(this);c=this.points;d=c.length;for(a=0;a0?e.y/b*100:0,e.total=b},translate:function(a){this.generatePoints();var b=0,c=this.options,d=c.slicedOffset,e=d+c.borderWidth,f,g,h,i=c.startAngle||0,j=this.startAngleRad=la/180*(i-90),i=(this.endAngleRad=la/180*(o(c.endAngle,i+360)-90))-j,k=this.points,l=c.dataLabels.distance,c=c.ignoreHiddenPoint,m,n=k.length,p;if(!a)this.center=a=this.getCenter();this.getX=function(b,c){h=T.asin(E((b-a[1])/(a[2]/2+l),1));return a[0]+(c?-1:1)*W(h)*(a[2]/ +2+l)};for(m=0;m1.5*la?h-=2*la:h<-la/2&&(h+=2*la);p.slicedTranslation={translateX:v(W(h)*d),translateY:v(ba(h)*d)};f=W(h)*a[2]/2;g=ba(h)*a[2]/2;p.tooltipPos=[a[0]+f*0.7,a[1]+g*0.7];p.half=h<-la/2||h>la/2?1:0;p.angle=h;e=E(e,l/2);p.labelPos=[a[0]+f+W(h)*l,a[1]+g+ba(h)*l,a[0]+f+W(h)*e,a[1]+g+ba(h)*e,a[0]+f,a[1]+g,l<0? +"center":p.half?"right":"left",h]}},drawGraph:null,drawPoints:function(){var a=this,b=a.chart.renderer,c,d,e=a.options.shadow,f,g;if(e&&!a.shadowGroup)a.shadowGroup=b.g("shadow").add(a.group);p(a.points,function(h){d=h.graphic;g=h.shapeArgs;f=h.shadowGroup;if(e&&!f)f=h.shadowGroup=b.g("shadow").add(a.shadowGroup);c=h.sliced?h.slicedTranslation:{translateX:0,translateY:0};f&&f.attr(c);d?d.animate(s(g,c)):h.graphic=d=b[h.shapeType](g).setRadialReference(a.center).attr(h.pointAttr[h.selected?"select": +""]).attr({"stroke-linejoin":"round"}).attr(c).add(a.group).shadow(e,f);h.visible!==void 0&&h.setVisible(h.visible)})},sortByAngle:function(a,b){a.sort(function(a,d){return a.angle!==void 0&&(d.angle-a.angle)*b})},drawLegendSymbol:F.drawRectangle,getCenter:da.getCenter,getSymbol:Ea};R=ja(M,R);J.pie=R;M.prototype.drawDataLabels=function(){var a=this,b=a.options,c=b.cursor,d=b.dataLabels,b=a.points,e,f,g,h;if(d.enabled||a._hasPointLabels)a.dlProcessOptions&&a.dlProcessOptions(d),h=a.plotGroup("dataLabelsGroup", +"data-labels",a.visible?"visible":"hidden",d.zIndex||6),f=d,p(b,function(b){var j,k=b.dataLabel,l,m,n=b.connector,p=!0;e=b.options&&b.options.dataLabels;j=o(e&&e.enabled,f.enabled);if(k&&!j)b.dataLabel=k.destroy();else if(j){d=w(f,e);j=d.rotation;l=b.getLabelConfig();g=d.format?Ia(d.format,l):d.formatter.call(l,d);d.style.color=o(d.color,d.style.color,a.color,"black");if(k)if(r(g))k.attr({text:g}),p=!1;else{if(b.dataLabel=k=k.destroy(),n)b.connector=n.destroy()}else if(r(g)){k={fill:d.backgroundColor, +stroke:d.borderColor,"stroke-width":d.borderWidth,r:d.borderRadius||0,rotation:j,padding:d.padding,zIndex:1};for(m in k)k[m]===u&&delete k[m];k=b.dataLabel=a.chart.renderer[j?"text":"label"](g,0,-999,null,null,null,d.useHTML).attr(k).css(s(d.style,c&&{cursor:c})).add(h).shadow(d.shadow)}k&&a.alignDataLabel(b,k,d,null,p)}})};M.prototype.alignDataLabel=function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=o(a.plotX,-999),i=o(a.plotY,-999),j=b.getBBox();if(a=this.visible&&(a.series.forceDL||f.isInsidePlot(h, +v(i),g)||d&&f.isInsidePlot(h,g?d.x+1:d.y+d.height-1,g)))d=s({x:g?f.plotWidth-i:h,y:v(g?f.plotHeight-h:i),width:0,height:0},d),s(c,{width:j.width,height:j.height}),c.rotation?(g={align:c.align,x:d.x+c.x+d.width/2,y:d.y+c.y+d.height/2},b[e?"attr":"animate"](g)):(b.align(c,null,d),g=b.alignAttr,o(c.overflow,"justify")==="justify"?this.justifyDataLabel(b,c,g,j,d,e):o(c.crop,!0)&&(a=f.isInsidePlot(g.x,g.y)&&f.isInsidePlot(g.x+j.width,g.y+j.height)));if(!a)b.attr({y:-999}),b.placed=!1};M.prototype.justifyDataLabel= +function(a,b,c,d,e,f){var g=this.chart,h=b.align,i=b.verticalAlign,j,k;j=c.x;if(j<0)h==="right"?b.align="left":b.x=-j,k=!0;j=c.x+d.width;if(j>g.plotWidth)h==="left"?b.align="right":b.x=g.plotWidth-j,k=!0;j=c.y;if(j<0)i==="bottom"?b.verticalAlign="top":b.y=-j,k=!0;j=c.y+d.height;if(j>g.plotHeight)i==="top"?b.verticalAlign="bottom":b.y=g.plotHeight-j,k=!0;if(k)a.placed=!f,a.align(b,null,e)};if(J.pie)J.pie.prototype.drawDataLabels=function(){var a=this,b=a.data,c,d=a.chart,e=a.options.dataLabels,f=o(e.connectorPadding, +10),g=o(e.connectorWidth,1),h=d.plotWidth,d=d.plotHeight,i,j,k=o(e.softConnector,!0),l=e.distance,m=a.center,n=m[2]/2,q=m[1],r=l>0,s,u,w,x,y=[[],[]],z,B,E,H,A,D=[0,0,0,0],J=function(a,b){return b.y-a.y};if(a.visible&&(e.enabled||a._hasPointLabels)){M.prototype.drawDataLabels.apply(a);p(b,function(a){a.dataLabel&&a.visible&&y[a.half].push(a)});for(H=0;!x&&b[H];)x=b[H]&&b[H].dataLabel&&(b[H].dataLabel.getBBox().height||21),H++;for(H=2;H--;){var b=[],I=[],F=y[H],G=F.length,C;a.sortByAngle(F,H-0.5);if(l> +0){for(A=q-n-l;A<=q+n+l;A+=x)b.push(A);u=b.length;if(G>u){c=[].concat(F);c.sort(J);for(A=G;A--;)c[A].rank=A;for(A=G;A--;)F[A].rank>=u&&F.splice(A,1);G=F.length}for(A=0;A0){if(u=I.pop(),C=u.i, +B=u.y,c>B&&b[C+1]!==null||ch-f&&(D[1]=t(v(z+u-h+f),D[1])),B-x/2<0?D[0]=t(v(-B+x/2),D[0]):B+x/2>d&&(D[2]=t(v(B+x/2-d),D[2]))}}if(Ba(D)===0||this.verifyDataLabelOverflow(D))this.placeDataLabels(),r&&g&&p(this.points,function(b){i= +b.connector;w=b.labelPos;if((s=b.dataLabel)&&s._pos)E=s._attr.visibility,z=s.connX,B=s.connY,j=k?["M",z+(w[6]==="left"?5:-5),B,"C",z,B,2*w[2]-w[4],2*w[3]-w[5],w[2],w[3],"L",w[4],w[5]]:["M",z+(w[6]==="left"?5:-5),B,"L",w[2],w[3],"L",w[4],w[5]],i?(i.animate({d:j}),i.attr("visibility",E)):b.connector=i=a.chart.renderer.path(j).attr({"stroke-width":g,stroke:e.connectorColor||b.color||"#606060",visibility:E}).add(a.group);else if(i)b.connector=i.destroy()})}},J.pie.prototype.placeDataLabels=function(){p(this.points, +function(a){var a=a.dataLabel,b;if(a)(b=a._pos)?(a.attr(a._attr),a[a.moved?"animate":"attr"](b),a.moved=!0):a&&a.attr({y:-999})})},J.pie.prototype.alignDataLabel=Ea,J.pie.prototype.verifyDataLabelOverflow=function(a){var b=this.center,c=this.options,d=c.center,e=c=c.minSize||80,f;d[0]!==null?e=t(b[2]-t(a[1],a[3]),c):(e=t(b[2]-a[1]-a[3],c),b[0]+=(a[3]-a[1])/2);d[1]!==null?e=t(E(e,b[2]-t(a[0],a[2])),c):(e=t(E(e,b[2]-a[0]-a[2]),c),b[1]+=(a[0]-a[2])/2);eo(this.translatedThreshold,f.plotSizeY),j=o(c.inside,!!this.options.stacking);if(h&&(d=w(h),g&&(d={x:f.plotWidth-d.y-d.height,y:f.plotHeight-d.x-d.width,width:d.height,height:d.width}),!j))g?(d.x+=i?0:d.width,d.width=0):(d.y+=i?d.height:0,d.height=0);c.align=o(c.align,!g||j?"center":i?"right":"left"); +c.verticalAlign=o(c.verticalAlign,g||j?"middle":i?"top":"bottom");M.prototype.alignDataLabel.call(this,a,b,c,d,e)};R=Q.TrackerMixin={drawTrackerPoint:function(){var a=this,b=a.chart,c=b.pointer,d=a.options.cursor,e=d&&{cursor:d},f=function(c){var d=c.target,e;if(b.hoverSeries!==a)a.onMouseOver();for(;d&&!e;)e=d.point,d=d.parentNode;if(e!==u&&e!==b.hoverPoint)e.onMouseOver(c)};p(a.points,function(a){if(a.graphic)a.graphic.element.point=a;if(a.dataLabel)a.dataLabel.element.point=a});if(!a._hasTracking)p(a.trackerGroups, +function(b){if(a[b]&&(a[b].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){c.onTrackerMouseOut(a)}).css(e),$a))a[b].on("touchstart",f)}),a._hasTracking=!0},drawTrackerGraph:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,f=a.chart,g=f.pointer,h=f.renderer,i=f.options.tooltip.snap,j=a.tracker,k=b.cursor,l=k&&{cursor:k},k=a.singlePoints,m,n=function(){if(f.hoverSeries!==a)a.onMouseOver()},o="rgba(192,192,192,"+(X?1.0E-4:0.002)+ +")";if(e&&!c)for(m=e+1;m--;)d[m]==="M"&&d.splice(m+1,0,d[m+1]-i,d[m+2],"L"),(m&&d[m]==="M"||m===e)&&d.splice(m,0,"L",d[m-2]+i,d[m-1]);for(m=0;mE(k.dataMin,k.min)&&i=f.min&&c<=f.max){h=b[i+1];c=d===u? +0:d+1;for(d=b[i+1]?E(t(0,S((e.clientX+(h?h.wrappedClientX||h.clientX:g))/2)),g):g;c>=0&&c<=d;)j[c++]=e}this.tooltipPoints=j}},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=a===u?!this.selected:a;if(this.checkbox)this.checkbox.checked=a;I(this,a?"select":"unselect")},drawTracker:R.drawTrackerGraph});s(Q,{Axis:ka,Chart:Ya,Color:wa,Point:Fa,Tick:Sa,Renderer:Za,Series:M,SVGElement:ta,SVGRenderer:pa,arrayMin:Na,arrayMax:Ba,charts:Y,dateFormat:bb, +format:Ia,pathAnim:ub,getOptions:function(){return L},hasBidiBug:Ob,isTouchDevice:Jb,numberFormat:Ga,seriesTypes:J,setOptions:function(a){L=w(!0,L,a);Cb();return L},addEvent:C,removeEvent:U,createElement:V,discardElement:Pa,css:D,each:p,extend:s,map:Ua,merge:w,pick:o,splat:na,extendClass:ja,pInt:x,wrap:Ma,svg:X,canvas:ca,vml:!X&&!ca,product:"Highcharts",version:"3.0.10"})})(); diff --git a/v1/Betas/RGB_V1.5/main/data/index.html b/v1/Betas/RGB_V1.5/main/data/index.html new file mode 100644 index 0000000..324f4fb --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/data/index.html @@ -0,0 +1,521 @@ + + + + + 自平衡莱洛三角形 + + + + + + + + + + + + + + 自平衡莱洛三角形 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
已启动: +     电池电压: V + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
期望角度TA摇摆电压SV摇摆角度SA速度环P1速度环I1速度环P2速度环I2
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + + + + + + + + +
0
0 + + +
+
+ + + + + + + + +
+ + + + + + +
+ + + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Shaft
Velocity
motor
voltage q
target
velocity
pendulum
angle
target
angle
pitchkalAngleZgyroZrate
+
+ + + + \ No newline at end of file diff --git a/v1/Betas/RGB_V1.5/main/data/jquery.js b/v1/Betas/RGB_V1.5/main/data/jquery.js new file mode 100644 index 0000000..8c24ffc --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/data/jquery.js @@ -0,0 +1,9472 @@ +/*! + * jQuery JavaScript Library v1.8.3 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) + */ +(function( window, undefined ) { +var + // A central reference to the root jQuery(document) + rootjQuery, + + // The deferred used on DOM ready + readyList, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + location = window.location, + navigator = window.navigator, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // Save a reference to some core methods + core_push = Array.prototype.push, + core_slice = Array.prototype.slice, + core_indexOf = Array.prototype.indexOf, + core_toString = Object.prototype.toString, + core_hasOwn = Object.prototype.hasOwnProperty, + core_trim = String.prototype.trim, + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Used for matching numbers + core_pnum = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source, + + // Used for detecting and trimming whitespace + core_rnotwhite = /\S/, + core_rspace = /\s+/, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return ( letter + "" ).toUpperCase(); + }, + + // The ready event handler and self cleanup method + DOMContentLoaded = function() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + } else if ( document.readyState === "complete" ) { + // we're here because readyState === "complete" in oldIE + // which is good enough for us to call the dom ready! + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + doc = ( context && context.nodeType ? context.ownerDocument || context : document ); + + // scripts is true for back-compat + selector = jQuery.parseHTML( match[1], doc, true ); + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + this.attr.call( selector, context, true ); + } + + return jQuery.merge( this, selector ); + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.8.3", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return core_slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + ( this.selector ? " " : "" ) + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; + }, + + eq: function( i ) { + i = +i; + return i === -1 ? + this.slice( i ) : + this.slice( i, i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( core_slice.apply( this, arguments ), + "slice", core_slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: core_push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ core_toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !core_hasOwn.call(obj, "constructor") && + !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || core_hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + // data: string of html + // context (optional): If specified, the fragment will be created in this context, defaults to document + // scripts (optional): If true, will include scripts passed in the html string + parseHTML: function( data, context, scripts ) { + var parsed; + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + scripts = context; + context = 0; + } + context = context || document; + + // Single tag + if ( (parsed = rsingleTag.exec( data )) ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ? null : [] ); + return jQuery.merge( [], + (parsed.cacheable ? jQuery.clone( parsed.fragment ) : parsed.fragment).childNodes ); + }, + + parseJSON: function( data ) { + if ( !data || typeof data !== "string") { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + + } + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && core_rnotwhite.test( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var name, + i = 0, + length = obj.length, + isObj = length === undefined || jQuery.isFunction( obj ); + + if ( args ) { + if ( isObj ) { + for ( name in obj ) { + if ( callback.apply( obj[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( obj[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in obj ) { + if ( callback.call( obj[ name ], name, obj[ name ] ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.call( obj[ i ], i, obj[ i++ ] ) === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: core_trim && !core_trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + core_trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var type, + ret = results || []; + + if ( arr != null ) { + // The window, strings (and functions) also have 'length' + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + type = jQuery.type( arr ); + + if ( arr.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( arr ) ) { + core_push.call( ret, arr ); + } else { + jQuery.merge( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( core_indexOf ) { + return core_indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var l = second.length, + i = first.length, + j = 0; + + if ( typeof l === "number" ) { + for ( ; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var retVal, + ret = [], + i = 0, + length = elems.length; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, key, + ret = [], + i = 0, + length = elems.length, + // jquery objects are treated as arrays + isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( key in elems ) { + value = callback( elems[ key ], key, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = core_slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context, args.concat( core_slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, pass ) { + var exec, + bulk = key == null, + i = 0, + length = elems.length; + + // Sets many values + if ( key && typeof key === "object" ) { + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], 1, emptyGet, value ); + } + chainable = 1; + + // Sets one value + } else if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = pass === undefined && jQuery.isFunction( value ); + + if ( bulk ) { + // Bulk operations only iterate when executing function values + if ( exec ) { + exec = fn; + fn = function( elem, key, value ) { + return exec.call( jQuery( elem ), value ); + }; + + // Otherwise they run against the entire set + } else { + fn.call( elems, value ); + fn = null; + } + } + + if ( fn ) { + for (; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + } + + chainable = 1; + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + } +}); + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready, 1 ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", DOMContentLoaded ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.split( core_rspace ), function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // Flag to know if list is currently firing + firing, + // First callback to fire (used internally by add and fireWith) + firingStart, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Control if a given callback is in the list + has: function( fn ) { + return jQuery.inArray( fn, list ) > -1; + }, + // Remove all callbacks from the list + empty: function() { + list = []; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( list && ( !fired || stack ) ) { + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var action = tuple[ 0 ], + fn = fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ]( jQuery.isFunction( fn ) ? + function() { + var returned = fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] ); + } + } : + newDefer[ action ] + ); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] = list.fire + deferred[ tuple[0] ] = list.fire; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = core_slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; + if( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); +jQuery.support = (function() { + + var support, + all, + a, + select, + opt, + input, + fragment, + eventName, + i, + isSupported, + clickFn, + div = document.createElement("div"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
a"; + + // Support tests won't run in some limited or non-browser environments + all = div.getElementsByTagName("*"); + a = div.getElementsByTagName("a")[ 0 ]; + if ( !all || !a || !all.length ) { + return {}; + } + + // First batch of tests + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px;float:left;opacity:.5"; + support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: ( div.firstChild.nodeType === 3 ), + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText instead) + style: /top/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: ( a.getAttribute("href") === "/a" ), + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.5/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: ( input.value === "on" ), + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + getSetAttribute: div.className !== "t", + + // Tests for enctype support on a form (#6743) + enctype: !!document.createElement("form").enctype, + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", + + // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode + boxModel: ( document.compatMode === "CSS1Compat" ), + + // Will be defined later + submitBubbles: true, + changeBubbles: true, + focusinBubbles: false, + deleteExpando: true, + noCloneEvent: true, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableMarginRight: true, + boxSizingReliable: true, + pixelPosition: false + }; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { + div.attachEvent( "onclick", clickFn = function() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + support.noCloneEvent = false; + }); + div.cloneNode( true ).fireEvent("onclick"); + div.detachEvent( "onclick", clickFn ); + } + + // Check if a radio maintains its value + // after being appended to the DOM + input = document.createElement("input"); + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; + + input.setAttribute( "checked", "checked" ); + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + fragment = document.createDocumentFragment(); + fragment.appendChild( div.lastChild ); + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + fragment.removeChild( input ); + fragment.appendChild( div ); + + // Technique from Juriy Zaytsev + // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/ + // We only care about the case where non-standard event systems + // are used, namely in IE. Short-circuiting here helps us to + // avoid an eval call (in setAttribute) which can cause CSP + // to go haywire. See: https://developer.mozilla.org/en/Security/CSP + if ( div.attachEvent ) { + for ( i in { + submit: true, + change: true, + focusin: true + }) { + eventName = "on" + i; + isSupported = ( eventName in div ); + if ( !isSupported ) { + div.setAttribute( eventName, "return;" ); + isSupported = ( typeof div[ eventName ] === "function" ); + } + support[ i + "Bubbles" ] = isSupported; + } + } + + // Run tests that need a body at doc ready + jQuery(function() { + var container, div, tds, marginDiv, + divReset = "padding:0;margin:0;border:0;display:block;overflow:hidden;", + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + container = document.createElement("div"); + container.style.cssText = "visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px"; + body.insertBefore( container, body.firstChild ); + + // Construct the test element + div = document.createElement("div"); + container.appendChild( div ); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + div.innerHTML = "
t
"; + tds = div.getElementsByTagName("td"); + tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE <= 8 fail this test) + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check box-sizing and margin behavior + div.innerHTML = ""; + div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; + support.boxSizing = ( div.offsetWidth === 4 ); + support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); + + // NOTE: To any future maintainer, we've window.getComputedStyle + // because jsdom on node.js will break without it. + if ( window.getComputedStyle ) { + support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. For more + // info see bug #3333 + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + marginDiv = document.createElement("div"); + marginDiv.style.cssText = div.style.cssText = divReset; + marginDiv.style.marginRight = marginDiv.style.width = "0"; + div.style.width = "1px"; + div.appendChild( marginDiv ); + support.reliableMarginRight = + !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); + } + + if ( typeof div.style.zoom !== "undefined" ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.innerHTML = ""; + div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = "block"; + div.style.overflow = "visible"; + div.innerHTML = "
"; + div.firstChild.style.width = "5px"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + + container.style.zoom = 1; + } + + // Null elements to avoid leaks in IE + body.removeChild( container ); + container = div = tds = marginDiv = null; + }); + + // Null elements to avoid leaks in IE + fragment.removeChild( div ); + all = a = select = opt = input = fragment = div = null; + + return support; +})(); +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rmultiDash = /([A-Z])/g; + +jQuery.extend({ + cache: {}, + + deletedIds: [], + + // Remove at next major release (1.9/2.0) + uuid: 0, + + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, ret, + internalKey = jQuery.expando, + getByName = typeof name === "string", + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + elem[ internalKey ] = id = jQuery.deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + cache[ id ] = {}; + + // Avoids exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( getByName ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; + }, + + removeData: function( elem, name, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, l, + + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } + + for ( i = 0, l = name.length; i < l; i++ ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + } else if ( jQuery.support.deleteExpando || cache != cache.window ) { + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } + }, + + // For internal use only. + _data: function( elem, name, data ) { + return jQuery.data( elem, name, data, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; + + // nodes accept data unless otherwise specified; rejection can be conditional + return !noData || noData !== true && elem.getAttribute("classid") === noData; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var parts, part, attr, name, l, + elem = this[0], + i = 0, + data = null; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attr = elem.attributes; + for ( l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( !name.indexOf( "data-" ) ) { + name = jQuery.camelCase( name.substring(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + parts = key.split( ".", 2 ); + parts[1] = parts[1] ? "." + parts[1] : ""; + part = parts[1] + "!"; + + return jQuery.access( this, function( value ) { + + if ( value === undefined ) { + data = this.triggerHandler( "getData" + part, [ parts[0] ] ); + + // Try to fetch any internally stored data first + if ( data === undefined && elem ) { + data = jQuery.data( elem, key ); + data = dataAttr( elem, key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + } + + parts[1] = value; + this.each(function() { + var self = jQuery( this ); + + self.triggerHandler( "setData" + part, parts ); + jQuery.data( this, key, value ); + self.triggerHandler( "changeData" + part, parts ); + }); + }, null, value, arguments.length > 1, null, false ); + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery.removeData( elem, type + "queue", true ); + jQuery.removeData( elem, key, true ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var nodeHook, boolHook, fixSpecified, + rclass = /[\t\r\n]/g, + rreturn = /\r/g, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea|)$/i, + rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classNames, i, l, elem, + setClass, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call(this, j, this.className) ); + }); + } + + if ( value && typeof value === "string" ) { + classNames = value.split( core_rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className && classNames.length === 1 ) { + elem.className = value; + + } else { + setClass = " " + elem.className + " "; + + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + if ( setClass.indexOf( " " + classNames[ c ] + " " ) < 0 ) { + setClass += classNames[ c ] + " "; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var removes, className, elem, c, cl, i, l; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call(this, j, this.className) ); + }); + } + if ( (value && typeof value === "string") || value === undefined ) { + removes = ( value || "" ).split( core_rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + if ( elem.nodeType === 1 && elem.className ) { + + className = (" " + elem.className + " ").replace( rclass, " " ); + + // loop over each item in the removal list + for ( c = 0, cl = removes.length; c < cl; c++ ) { + // Remove until there is nothing to remove, + while ( className.indexOf(" " + removes[ c ] + " ") >= 0 ) { + className = className.replace( " " + removes[ c ] + " " , " " ); + } + } + elem.className = value ? jQuery.trim( className ) : ""; + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( core_rspace ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var hooks, ret, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val, + self = jQuery(this); + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, self.val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var values = jQuery.makeArray( value ); + + jQuery(elem).find("option").each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + // Unused in 1.8, left in so attrFn-stabbers won't die; remove in 1.9 + attrFn: {}, + + attr: function( elem, name, value, pass ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( pass && jQuery.isFunction( jQuery.fn[ name ] ) ) { + return jQuery( elem )[ name ]( value ); + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( notxml ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + + } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + + ret = elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return ret === null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var propName, attrNames, name, isBool, + i = 0; + + if ( value && elem.nodeType === 1 ) { + + attrNames = value.split( core_rspace ); + + for ( ; i < attrNames.length; i++ ) { + name = attrNames[ i ]; + + if ( name ) { + propName = jQuery.propFix[ name ] || name; + isBool = rboolean.test( name ); + + // See #9699 for explanation of this approach (setting first, then removal) + // Do not do this for boolean attributes (see #10870) + if ( !isBool ) { + jQuery.attr( elem, name, "" ); + } + elem.removeAttribute( getSetAttribute ? name : propName ); + + // Set corresponding property to false for boolean attributes + if ( isBool && propName in elem ) { + elem[ propName ] = false; + } + } + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to it's default in case type is set after value + // This is for element creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + }, + // Use the value property for back compat + // Use the nodeHook for button elements in IE6/7 (#1954) + value: { + get: function( elem, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.get( elem, name ); + } + return name in elem ? + elem.value : + null; + }, + set: function( elem, value, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.set( elem, value, name ); + } + // Does not return so that setAttribute is also used + elem.value = value; + } + } + }, + + propFix: { + tabindex: "tabIndex", + readonly: "readOnly", + "for": "htmlFor", + "class": "className", + maxlength: "maxLength", + cellspacing: "cellSpacing", + cellpadding: "cellPadding", + rowspan: "rowSpan", + colspan: "colSpan", + usemap: "useMap", + frameborder: "frameBorder", + contenteditable: "contentEditable" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + return ( elem[ name ] = value ); + } + + } else { + if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + return elem[ name ]; + } + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + var attributeNode = elem.getAttributeNode("tabindex"); + + return attributeNode && attributeNode.specified ? + parseInt( attributeNode.value, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + } + } +}); + +// Hook for boolean attributes +boolHook = { + get: function( elem, name ) { + // Align boolean attributes with corresponding properties + // Fall back to attribute presence where some booleans are not supported + var attrNode, + property = jQuery.prop( elem, name ); + return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ? + name.toLowerCase() : + undefined; + }, + set: function( elem, value, name ) { + var propName; + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + // value is true since we know at this point it's type boolean and not false + // Set boolean attributes to the same name and set the DOM property + propName = jQuery.propFix[ name ] || name; + if ( propName in elem ) { + // Only set the IDL specifically if it already exists on the element + elem[ propName ] = true; + } + + elem.setAttribute( name, name.toLowerCase() ); + } + return name; + } +}; + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + fixSpecified = { + name: true, + id: true, + coords: true + }; + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = jQuery.valHooks.button = { + get: function( elem, name ) { + var ret; + ret = elem.getAttributeNode( name ); + return ret && ( fixSpecified[ name ] ? ret.value !== "" : ret.specified ) ? + ret.value : + undefined; + }, + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + ret = document.createAttribute( name ); + elem.setAttributeNode( ret ); + } + return ( ret.value = value + "" ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }); + }); + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + get: nodeHook.get, + set: function( elem, value, name ) { + if ( value === "" ) { + value = "false"; + } + nodeHook.set( elem, value, name ); + } + }; +} + + +// Some attributes require a special call on IE +if ( !jQuery.support.hrefNormalized ) { + jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + get: function( elem ) { + var ret = elem.getAttribute( name, 2 ); + return ret === null ? undefined : ret; + } + }); + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Normalize to lowercase since IE uppercases css property names + return elem.style.cssText.toLowerCase() || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }); +} + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +if ( !jQuery.support.checkOn ) { + jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + get: function( elem ) { + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + } + }; + }); +} +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }); +}); +var rformElems = /^(?:textarea|input|select)$/i, + rtypenamespace = /^([^\.]*|)(?:\.(.+)|)$/, + rhoverHack = /(?:^|\s)hover(\.\S+|)\b/, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + hoverHack = function( events ) { + return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" ); + }; + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + add: function( elem, types, handler, data, selector ) { + + var elemData, eventHandle, events, + t, tns, type, namespaces, handleObj, + handleObjIn, handlers, special; + + // Don't attach events to noData or text/comment nodes (allow plain objects tho) + if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + events = elemData.events; + if ( !events ) { + elemData.events = events = {}; + } + eventHandle = elemData.handle; + if ( !eventHandle ) { + elemData.handle = eventHandle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = jQuery.trim( hoverHack(types) ).split( " " ); + for ( t = 0; t < types.length; t++ ) { + + tns = rtypenamespace.exec( types[t] ) || []; + type = tns[1]; + namespaces = ( tns[2] || "" ).split( "." ).sort(); + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: tns[1], + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + handlers = events[ type ]; + if ( !handlers ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var t, tns, type, origType, namespaces, origCount, + j, events, special, eventType, handleObj, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = jQuery.trim( hoverHack( types || "" ) ).split(" "); + for ( t = 0; t < types.length; t++ ) { + tns = rtypenamespace.exec( types[t] ) || []; + type = origType = tns[1]; + namespaces = tns[2]; + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector? special.delegateType : special.bindType ) || type; + eventType = events[ type ] || []; + origCount = eventType.length; + namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.|)") + "(\\.|$)") : null; + + // Remove matching events + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !namespaces || namespaces.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + eventType.splice( j--, 1 ); + + if ( handleObj.selector ) { + eventType.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( eventType.length === 0 && origCount !== eventType.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery.removeData( elem, "events", true ); + } + }, + + // Events that are safe to short-circuit if no handlers are attached. + // Native DOM events should not be added, they may have inline handlers. + customEvent: { + "getData": true, + "setData": true, + "changeData": true + }, + + trigger: function( event, data, elem, onlyHandlers ) { + // Don't do events on text and comment nodes + if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) { + return; + } + + // Event object or event type + var cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType, + type = event.type || event, + namespaces = []; + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "!" ) >= 0 ) { + // Exclusive events trigger only for the exact event (no namespaces) + type = type.slice(0, -1); + exclusive = true; + } + + if ( type.indexOf( "." ) >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + + if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { + // No jQuery handlers for this event type, and it can't have inline handlers + return; + } + + // Caller can pass in an Event, Object, or just an event type string + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + new jQuery.Event( type, event ) : + // Just the event type (string) + new jQuery.Event( type ); + + event.type = type; + event.isTrigger = true; + event.exclusive = exclusive; + event.namespace = namespaces.join( "." ); + event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null; + ontype = type.indexOf( ":" ) < 0 ? "on" + type : ""; + + // Handle a global trigger + if ( !elem ) { + + // TODO: Stop taunting the data cache; remove global events and always attach to document + cache = jQuery.cache; + for ( i in cache ) { + if ( cache[ i ].events && cache[ i ].events[ type ] ) { + jQuery.event.trigger( event, data, cache[ i ].handle.elem, true ); + } + } + return; + } + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data != null ? jQuery.makeArray( data ) : []; + data.unshift( event ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + eventPath = [[ elem, special.bindType || type ]]; + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode; + for ( old = elem; cur; cur = cur.parentNode ) { + eventPath.push([ cur, bubbleType ]); + old = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( old === (elem.ownerDocument || document) ) { + eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]); + } + } + + // Fire handlers on the event path + for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) { + + cur = eventPath[i][0]; + event.type = eventPath[i][1]; + + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + // Note that this is a bare JS function and not a jQuery handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && + !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + // IE<9 dies on focus/blur to hidden element (#1486) + if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + old = elem[ ontype ]; + + if ( old ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + elem[ type ](); + jQuery.event.triggered = undefined; + + if ( old ) { + elem[ ontype ] = old; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event || window.event ); + + var i, j, cur, ret, selMatch, matched, matches, handleObj, sel, related, + handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []), + delegateCount = handlers.delegateCount, + args = core_slice.call( arguments ), + run_all = !event.exclusive && !event.namespace, + special = jQuery.event.special[ event.type ] || {}, + handlerQueue = []; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers that should run if there are delegated events + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && !(event.button && event.type === "click") ) { + + for ( cur = event.target; cur != this; cur = cur.parentNode || this ) { + + // Don't process clicks (ONLY) on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.disabled !== true || event.type !== "click" ) { + selMatch = {}; + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + sel = handleObj.selector; + + if ( selMatch[ sel ] === undefined ) { + selMatch[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( selMatch[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, matches: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( handlers.length > delegateCount ) { + handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) }); + } + + // Run delegates first; they may want to stop propagation beneath us + for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) { + matched = handlerQueue[ i ]; + event.currentTarget = matched.elem; + + for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) { + handleObj = matched.matches[ j ]; + + // Triggered event must either 1) be non-exclusive and have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) { + + event.data = handleObj.data; + event.handleObj = handleObj; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + // *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 *** + props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, + originalEvent = event, + fixHook = jQuery.event.fixHooks[ event.type ] || {}, + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = jQuery.Event( originalEvent ); + + for ( i = copy.length; i; ) { + prop = copy[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Target should not be a text node (#504, Safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328; IE6/7/8) + event.metaKey = !!event.metaKey; + + return fixHook.filter? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + + focus: { + delegateType: "focusin" + }, + blur: { + delegateType: "focusout" + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +// Some plugins are using, but it's undocumented/deprecated and will be removed. +// The 1.7 special event interface should provide all the hooks needed now. +jQuery.event.handle = jQuery.event.dispatch; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === "undefined" ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj, + selector = handleObj.selector; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "_submit_attached" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "_submit_attached", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "_change_attached" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "_change_attached", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { // && selector != null + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + bind: function( types, data, fn ) { + return this.on( types, null, data, fn ); + }, + unbind: function( types, fn ) { + return this.off( types, null, fn ); + }, + + live: function( types, data, fn ) { + jQuery( this.context ).on( types, this.selector, data, fn ); + return this; + }, + die: function( types, fn ) { + jQuery( this.context ).off( types, this.selector || "**", fn ); + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.on( types, selector, data, fn ); + }, + undelegate: function( selector, types, fn ) { + // ( namespace ) or ( selector, types [, fn] ) + return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + if ( this[0] ) { + return jQuery.event.trigger( type, data, this[0], true ); + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + guid = fn.guid || jQuery.guid++, + i = 0, + toggler = function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + }; + + // link all the functions, so any of them can unbind this click handler + toggler.guid = guid; + while ( i < args.length ) { + args[ i++ ].guid = guid; + } + + return this.click( toggler ); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.on( name, null, data, fn ) : + this.trigger( name ); + }; + + if ( rkeyEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks; + } + + if ( rmouseEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks; + } +}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://sizzlejs.com/ + */ +(function( window, undefined ) { + +var cachedruns, + assertGetIdNotName, + Expr, + getText, + isXML, + contains, + compile, + sortOrder, + hasDuplicate, + outermostContext, + + baseHasDuplicate = true, + strundefined = "undefined", + + expando = ( "sizcache" + Math.random() ).replace( ".", "" ), + + Token = String, + document = window.document, + docElem = document.documentElement, + dirruns = 0, + done = 0, + pop = [].pop, + push = [].push, + slice = [].slice, + // Use a stripped-down indexOf if a native one is unavailable + indexOf = [].indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + // Augment a function for special use by Sizzle + markFunction = function( fn, value ) { + fn[ expando ] = value == null || value; + return fn; + }, + + createCache = function() { + var cache = {}, + keys = []; + + return markFunction(function( key, value ) { + // Only keep the most recent entries + if ( keys.push( key ) > Expr.cacheLength ) { + delete cache[ keys.shift() ]; + } + + // Retrieve with (key + " ") to avoid collision with native Object.prototype properties (see Issue #157) + return (cache[ key + " " ] = value); + }, cache ); + }, + + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + + // Regex + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier (http://www.w3.org/TR/css3-selectors/#attribute-selectors) + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + operators = "([*^$|!~]?=)", + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments not in parens/brackets, + // then attribute selectors and non-pseudos (denoted by :), + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:" + attributes + ")|[^:]|\\\\.)*|.*))\\)|)", + + // For matchExpr.POS and matchExpr.needsContext + pos = ":(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), + rpseudo = new RegExp( pseudos ), + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/, + + rnot = /^:not/, + rsibling = /[\x20\t\r\n\f]*[+~]/, + rendsWithNot = /:not\($/, + + rheader = /h\d/i, + rinputs = /input|select|textarea|button/i, + + rbackslash = /\\(?!\\)/g, + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "POS": new RegExp( pos, "i" ), + "CHILD": new RegExp( "^:(only|nth|first|last)-child(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + // For use in libraries implementing .is() + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|" + pos, "i" ) + }, + + // Support + + // Used for testing something on an element + assert = function( fn ) { + var div = document.createElement("div"); + + try { + return fn( div ); + } catch (e) { + return false; + } finally { + // release memory in IE + div = null; + } + }, + + // Check if getElementsByTagName("*") returns only elements + assertTagNameNoComments = assert(function( div ) { + div.appendChild( document.createComment("") ); + return !div.getElementsByTagName("*").length; + }), + + // Check if getAttribute returns normalized href attributes + assertHrefNotNormalized = assert(function( div ) { + div.innerHTML = ""; + return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && + div.firstChild.getAttribute("href") === "#"; + }), + + // Check if attributes should be retrieved by attribute nodes + assertAttributes = assert(function( div ) { + div.innerHTML = ""; + var type = typeof div.lastChild.getAttribute("multiple"); + // IE8 returns a string for some attributes even when not present + return type !== "boolean" && type !== "string"; + }), + + // Check if getElementsByClassName can be trusted + assertUsableClassName = assert(function( div ) { + // Opera can't find a second classname (in 9.6) + div.innerHTML = ""; + if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { + return false; + } + + // Safari 3.2 caches class attributes and doesn't catch changes + div.lastChild.className = "e"; + return div.getElementsByClassName("e").length === 2; + }), + + // Check if getElementById returns elements by name + // Check if getElementsByName privileges form controls or returns elements by ID + assertUsableName = assert(function( div ) { + // Inject content + div.id = expando + 0; + div.innerHTML = "
"; + docElem.insertBefore( div, docElem.firstChild ); + + // Test + var pass = document.getElementsByName && + // buggy browsers will return fewer than the correct 2 + document.getElementsByName( expando ).length === 2 + + // buggy browsers will return more than the correct 0 + document.getElementsByName( expando + 0 ).length; + assertGetIdNotName = !document.getElementById( expando ); + + // Cleanup + docElem.removeChild( div ); + + return pass; + }); + +// If slice is not available, provide a backup +try { + slice.call( docElem.childNodes, 0 )[0].nodeType; +} catch ( e ) { + slice = function( i ) { + var elem, + results = []; + for ( ; (elem = this[i]); i++ ) { + results.push( elem ); + } + return results; + }; +} + +function Sizzle( selector, context, results, seed ) { + results = results || []; + context = context || document; + var match, elem, xml, m, + nodeType = context.nodeType; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( nodeType !== 1 && nodeType !== 9 ) { + return []; + } + + xml = isXML( context ); + + if ( !xml && !seed ) { + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && assertUsableClassName && context.getElementsByClassName ) { + push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); + return results; + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed, xml ); +} + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + return Sizzle( expr, null, null, [ elem ] ).length > 0; +}; + +// Returns a function to use in pseudos for input types +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +// Returns a function to use in pseudos for buttons +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +// Returns a function to use in pseudos for positionals +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( nodeType ) { + if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (see #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + } else { + + // If no nodeType, this is expected to be an array + for ( ; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } + return ret; +}; + +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +// Element contains another +contains = Sizzle.contains = docElem.contains ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && adown.contains && adown.contains(bup) ); + } : + docElem.compareDocumentPosition ? + function( a, b ) { + return b && !!( a.compareDocumentPosition( b ) & 16 ); + } : + function( a, b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + return false; + }; + +Sizzle.attr = function( elem, name ) { + var val, + xml = isXML( elem ); + + if ( !xml ) { + name = name.toLowerCase(); + } + if ( (val = Expr.attrHandle[ name ]) ) { + return val( elem ); + } + if ( xml || assertAttributes ) { + return elem.getAttribute( name ); + } + val = elem.getAttributeNode( name ); + return val ? + typeof elem[ name ] === "boolean" ? + elem[ name ] ? name : null : + val.specified ? val.value : null : + null; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + // IE6/7 return a modified href + attrHandle: assertHrefNotNormalized ? + {} : + { + "href": function( elem ) { + return elem.getAttribute( "href", 2 ); + }, + "type": function( elem ) { + return elem.getAttribute("type"); + } + }, + + find: { + "ID": assertGetIdNotName ? + function( id, context, xml ) { + if ( typeof context.getElementById !== strundefined && !xml ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + } : + function( id, context, xml ) { + if ( typeof context.getElementById !== strundefined && !xml ) { + var m = context.getElementById( id ); + + return m ? + m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? + [m] : + undefined : + []; + } + }, + + "TAG": assertTagNameNoComments ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + var elem, + tmp = [], + i = 0; + + for ( ; (elem = results[i]); i++ ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }, + + "NAME": assertUsableName && function( tag, context ) { + if ( typeof context.getElementsByName !== strundefined ) { + return context.getElementsByName( name ); + } + }, + + "CLASS": assertUsableClassName && function( className, context, xml ) { + if ( typeof context.getElementsByClassName !== strundefined && !xml ) { + return context.getElementsByClassName( className ); + } + } + }, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( rbackslash, "" ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( rbackslash, "" ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 3 xn-component of xn+y argument ([+-]?\d*n|) + 4 sign of xn-component + 5 x of xn-component + 6 sign of y-component + 7 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1] === "nth" ) { + // nth-child requires argument + if ( !match[2] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[3] = +( match[3] ? match[4] + (match[5] || 1) : 2 * ( match[2] === "even" || match[2] === "odd" ) ); + match[4] = +( ( match[6] + match[7] ) || match[2] === "odd" ); + + // other types prohibit arguments + } else if ( match[2] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var unquoted, excess; + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + if ( match[3] ) { + match[2] = match[3]; + } else if ( (unquoted = match[4]) ) { + // Only check arguments that contain a pseudo + if ( rpseudo.test(unquoted) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + unquoted = unquoted.slice( 0, excess ); + match[0] = match[0].slice( 0, excess ); + } + match[2] = unquoted; + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + "ID": assertGetIdNotName ? + function( id ) { + id = id.replace( rbackslash, "" ); + return function( elem ) { + return elem.getAttribute("id") === id; + }; + } : + function( id ) { + id = id.replace( rbackslash, "" ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === id; + }; + }, + + "TAG": function( nodeName ) { + if ( nodeName === "*" ) { + return function() { return true; }; + } + nodeName = nodeName.replace( rbackslash, "" ).toLowerCase(); + + return function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ expando ][ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem, context ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.substr( result.length - check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.substr( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, argument, first, last ) { + + if ( type === "nth" ) { + return function( elem ) { + var node, diff, + parent = elem.parentNode; + + if ( first === 1 && last === 0 ) { + return true; + } + + if ( parent ) { + diff = 0; + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + diff++; + if ( elem === node ) { + break; + } + } + } + } + + // Incorporate the offset (or cast to NaN), then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + }; + } + + return function( elem ) { + var node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + /* falls through */ + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), + // not comment, processing instructions, or others + // Thanks to Diego Perini for the nodeName shortcut + // Greater than "@" means alpha characters (specifically not starting with "#" or "?") + var nodeType; + elem = elem.firstChild; + while ( elem ) { + if ( elem.nodeName > "@" || (nodeType = elem.nodeType) === 3 || nodeType === 4 ) { + return false; + } + elem = elem.nextSibling; + } + return true; + }, + + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "text": function( elem ) { + var type, attr; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && + (type = elem.type) === "text" && + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === type ); + }, + + // Input types + "radio": createInputPseudo("radio"), + "checkbox": createInputPseudo("checkbox"), + "file": createInputPseudo("file"), + "password": createInputPseudo("password"), + "image": createInputPseudo("image"), + + "submit": createButtonPseudo("submit"), + "reset": createButtonPseudo("reset"), + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "focus": function( elem ) { + var doc = elem.ownerDocument; + return elem === doc.activeElement && (!doc.hasFocus || doc.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + "active": function( elem ) { + return elem === elem.ownerDocument.activeElement; + }, + + // Positional types + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + for ( var i = 0; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + for ( var i = 1; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + for ( var i = argument < 0 ? argument + length : argument; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + for ( var i = argument < 0 ? argument + length : argument; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +function siblingCheck( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; +} + +sortOrder = docElem.compareDocumentPosition ? + function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + return ( !a.compareDocumentPosition || !b.compareDocumentPosition ? + a.compareDocumentPosition : + a.compareDocumentPosition(b) & 4 + ) ? -1 : 1; + } : + function( a, b ) { + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Fallback to using sourceIndex (in IE) if it's available on both nodes + } else if ( a.sourceIndex && b.sourceIndex ) { + return a.sourceIndex - b.sourceIndex; + } + + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // If the nodes are siblings (or identical) we can do a quick check + if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + +// Always assume the presence of duplicates if sort doesn't +// pass them to our comparison function (as in Google Chrome). +[0, 0].sort( sortOrder ); +baseHasDuplicate = !hasDuplicate; + +// Document sorting and removing duplicates +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + i = 1, + j = 0; + + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( ; (elem = results[i]); i++ ) { + if ( elem === results[ i - 1 ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + return results; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ expando ][ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( tokens = [] ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + tokens.push( matched = new Token( match.shift() ) ); + soFar = soFar.slice( matched.length ); + + // Cast descendant combinators to space + matched.type = match[0].replace( rtrim, " " ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + + tokens.push( matched = new Token( match.shift() ) ); + soFar = soFar.slice( matched.length ); + matched.type = type; + matched.matches = match; + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && combinator.dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( !xml ) { + var cache, + dirkey = dirruns + " " + doneName + " ", + cachedkey = dirkey + cachedruns; + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + if ( (cache = elem[ expando ]) === cachedkey ) { + return elem.sizset; + } else if ( typeof cache === "string" && cache.indexOf(dirkey) === 0 ) { + if ( elem.sizset ) { + return elem; + } + } else { + elem[ expando ] = cachedkey; + if ( matcher( elem, context, xml ) ) { + elem.sizset = true; + return elem; + } + elem.sizset = false; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + if ( matcher( elem, context, xml ) ) { + return elem; + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && tokens.slice( 0, i - 1 ).join("").replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && tokens.join("") + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, expandContext ) { + var elem, j, matcher, + setMatched = [], + matchedCount = 0, + i = "0", + unmatched = seed && [], + outermost = expandContext != null, + contextBackup = outermostContext, + // We must always have either seed elements or context + elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), + // Nested matchers should use non-integer dirruns + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.E); + + if ( outermost ) { + outermostContext = context !== document && context; + cachedruns = superMatcher.el; + } + + // Add elements passing elementMatchers directly to results + for ( ; (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + for ( j = 0; (matcher = elementMatchers[j]); j++ ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + cachedruns = ++superMatcher.el; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + for ( j = 0; (matcher = setMatchers[j]); j++ ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + superMatcher.el = 0; + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ expando ][ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed, xml ) { + var i, tokens, token, type, find, + match = tokenize( selector ), + j = match.length; + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && !xml && + Expr.relative[ tokens[1].type ] ) { + + context = Expr.find["ID"]( token.matches[0].replace( rbackslash, "" ), context, xml )[0]; + if ( !context ) { + return results; + } + + selector = selector.slice( tokens.shift().length ); + } + + // Fetch a seed set for right-to-left matching + for ( i = matchExpr["POS"].test( selector ) ? -1 : tokens.length - 1; i >= 0; i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( rbackslash, "" ), + rsibling.test( tokens[0].type ) && context.parentNode || context, + xml + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && tokens.join(""); + if ( !selector ) { + push.apply( results, slice.call( seed, 0 ) ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + xml, + results, + rsibling.test( selector ) + ); + return results; +} + +if ( document.querySelectorAll ) { + (function() { + var disconnectedMatch, + oldSelect = select, + rescape = /'|\\/g, + rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, + + // qSa(:focus) reports false when true (Chrome 21), no need to also add to buggyMatches since matches checks buggyQSA + // A support test would require too much code (would include document ready) + rbuggyQSA = [ ":focus" ], + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + // A support test would require too much code (would include document ready) + // just skip matchesSelector for :active + rbuggyMatches = [ ":active" ], + matches = docElem.matchesSelector || + docElem.mozMatchesSelector || + docElem.webkitMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector; + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explictly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // IE8 - Some boolean attributes are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here (do not put tests after this one) + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + + // Opera 10-12/IE9 - ^= $= *= and empty values + // Should not select anything + div.innerHTML = "

"; + if ( div.querySelectorAll("[test^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here (do not put tests after this one) + div.innerHTML = ""; + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push(":enabled", ":disabled"); + } + }); + + // rbuggyQSA always contains :focus, so no need for a length check + rbuggyQSA = /* rbuggyQSA.length && */ new RegExp( rbuggyQSA.join("|") ); + + select = function( selector, context, results, seed, xml ) { + // Only use querySelectorAll when not filtering, + // when this is not xml, + // and when no QSA bugs apply + if ( !seed && !xml && !rbuggyQSA.test( selector ) ) { + var groups, i, + old = true, + nid = expando, + newContext = context, + newSelector = context.nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + groups[i].join(""); + } + newContext = rsibling.test( selector ) && context.parentNode || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, slice.call( newContext.querySelectorAll( + newSelector + ), 0 ) ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + + return oldSelect( selector, context, results, seed, xml ); + }; + + if ( matches ) { + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + try { + matches.call( div, "[test!='']:sizzle" ); + rbuggyMatches.push( "!=", pseudos ); + } catch ( e ) {} + }); + + // rbuggyMatches always contains :active and :focus, so no need for a length check + rbuggyMatches = /* rbuggyMatches.length && */ new RegExp( rbuggyMatches.join("|") ); + + Sizzle.matchesSelector = function( elem, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + // rbuggyMatches always contains :active, so no need for an existence check + if ( !isXML( elem ) && !rbuggyMatches.test( expr ) && !rbuggyQSA.test( expr ) ) { + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, null, null, [ elem ] ).length > 0; + }; + } + })(); +} + +// Deprecated +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Back-compat +function setFilters() {} +Expr.filters = setFilters.prototype = Expr.pseudos; +Expr.setFilters = new setFilters(); + +// Override sizzle attribute retrieval +Sizzle.attr = jQuery.attr; +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})( window ); +var runtil = /Until$/, + rparentsprev = /^(?:parents|prev(?:Until|All))/, + isSimple = /^.[^:#\[\.,]*$/, + rneedsContext = jQuery.expr.match.needsContext, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var i, l, length, n, r, ret, + self = this; + + if ( typeof selector !== "string" ) { + return jQuery( selector ).filter(function() { + for ( i = 0, l = self.length; i < l; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }); + } + + ret = this.pushStack( "", "find", selector ); + + for ( i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( n = length; n < ret.length; n++ ) { + for ( r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && ( + typeof selector === "string" ? + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + rneedsContext.test( selector ) ? + jQuery( selector, this.context ).index( this[0] ) >= 0 : + jQuery.filter( selector, this ).length > 0 : + this.filter( selector ).length > 0 ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + ret = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + cur = this[i]; + + while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + } + cur = cur.parentNode; + } + } + + ret = ret.length > 1 ? jQuery.unique( ret ) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +jQuery.fn.andSelf = jQuery.fn.addBack; + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; + + if ( this.length > 1 && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, core_slice.call( arguments ).join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + + // Can't pass null or undefined to indexOf in Firefox 4 + // Set to 0 to skip string check + qualifier = qualifier || 0; + + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return ( elem === qualifier ) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; + }); +} +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /]", "i"), + rcheckableType = /^(?:checkbox|radio)$/, + // checked="checked" or checked + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, + rscriptType = /\/(java|ecma)script/i, + rcleanScript = /^\s*\s*$/g, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
", "
" ], + thead: [ 1, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + col: [ 2, "", "
" ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, +// unless wrapped in a div with non-breaking characters in front of it. +if ( !jQuery.support.htmlSerialize ) { + wrapMap._default = [ 1, "X
", "
" ]; +} + +jQuery.fn.extend({ + text: function( value ) { + return jQuery.access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + }, + + append: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 ) { + this.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 ) { + this.insertBefore( elem, this.firstChild ); + } + }); + }, + + before: function() { + if ( !isDisconnected( this[0] ) ) { + return this.domManip(arguments, false, function( elem ) { + this.parentNode.insertBefore( elem, this ); + }); + } + + if ( arguments.length ) { + var set = jQuery.clean( arguments ); + return this.pushStack( jQuery.merge( set, this ), "before", this.selector ); + } + }, + + after: function() { + if ( !isDisconnected( this[0] ) ) { + return this.domManip(arguments, false, function( elem ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + }); + } + + if ( arguments.length ) { + var set = jQuery.clean( arguments ); + return this.pushStack( jQuery.merge( this, set ), "after", this.selector ); + } + }, + + // keepData is for internal use only--do not document + remove: function( selector, keepData ) { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + if ( !selector || jQuery.filter( selector, [ elem ] ).length ) { + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName("*") ); + jQuery.cleanData( [ elem ] ); + } + + if ( elem.parentNode ) { + elem.parentNode.removeChild( elem ); + } + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName("*") ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function () { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return jQuery.access( this, function( value ) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName( "*" ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function( value ) { + if ( !isDisconnected( this[0] ) ) { + // Make sure that the elements are removed from the DOM before they are inserted + // this can help fix replacing a parent with child elements + if ( jQuery.isFunction( value ) ) { + return this.each(function(i) { + var self = jQuery(this), old = self.html(); + self.replaceWith( value.call( this, i, old ) ); + }); + } + + if ( typeof value !== "string" ) { + value = jQuery( value ).detach(); + } + + return this.each(function() { + var next = this.nextSibling, + parent = this.parentNode; + + jQuery( this ).remove(); + + if ( next ) { + jQuery(next).before( value ); + } else { + jQuery(parent).append( value ); + } + }); + } + + return this.length ? + this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ) : + this; + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, table, callback ) { + + // Flatten any nested arrays + args = [].concat.apply( [], args ); + + var results, first, fragment, iNoClone, + i = 0, + value = args[0], + scripts = [], + l = this.length; + + // We can't cloneNode fragments that contain checked, in WebKit + if ( !jQuery.support.checkClone && l > 1 && typeof value === "string" && rchecked.test( value ) ) { + return this.each(function() { + jQuery(this).domManip( args, table, callback ); + }); + } + + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + args[0] = value.call( this, i, table ? self.html() : undefined ); + self.domManip( args, table, callback ); + }); + } + + if ( this[0] ) { + results = jQuery.buildFragment( args, this, scripts ); + fragment = results.fragment; + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + table = table && jQuery.nodeName( first, "tr" ); + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + // Fragments from the fragment cache must always be cloned and never used in place. + for ( iNoClone = results.cacheable || l - 1; i < l; i++ ) { + callback.call( + table && jQuery.nodeName( this[i], "table" ) ? + findOrAppend( this[i], "tbody" ) : + this[i], + i === iNoClone ? + fragment : + jQuery.clone( fragment, true, true ) + ); + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + + if ( scripts.length ) { + jQuery.each( scripts, function( i, elem ) { + if ( elem.src ) { + if ( jQuery.ajax ) { + jQuery.ajax({ + url: elem.src, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } else { + jQuery.error("no ajax"); + } + } else { + jQuery.globalEval( ( elem.text || elem.textContent || elem.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + + if ( elem.parentNode ) { + elem.parentNode.removeChild( elem ); + } + }); + } + } + + return this; + } +}); + +function findOrAppend( elem, tag ) { + return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function cloneFixAttributes( src, dest ) { + var nodeName; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + // clearAttributes removes the attributes, which we don't want, + // but also removes the attachEvent events, which we *do* want + if ( dest.clearAttributes ) { + dest.clearAttributes(); + } + + // mergeAttributes, in contrast, only merges back on the + // original attributes, not the events + if ( dest.mergeAttributes ) { + dest.mergeAttributes( src ); + } + + nodeName = dest.nodeName.toLowerCase(); + + if ( nodeName === "object" ) { + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( jQuery.support.html5Clone && (src.innerHTML && !jQuery.trim(dest.innerHTML)) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + + // IE blanks contents when cloning scripts + } else if ( nodeName === "script" && dest.text !== src.text ) { + dest.text = src.text; + } + + // Event data gets referenced instead of copied if the expando + // gets copied too + dest.removeAttribute( jQuery.expando ); +} + +jQuery.buildFragment = function( args, context, scripts ) { + var fragment, cacheable, cachehit, + first = args[ 0 ]; + + // Set context from what may come in as undefined or a jQuery collection or a node + // Updated to fix #12266 where accessing context[0] could throw an exception in IE9/10 & + // also doubles as fix for #8950 where plain objects caused createDocumentFragment exception + context = context || document; + context = !context.nodeType && context[0] || context; + context = context.ownerDocument || context; + + // Only cache "small" (1/2 KB) HTML strings that are associated with the main document + // Cloning options loses the selected state, so don't cache them + // IE 6 doesn't like it when you put or elements in a fragment + // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache + // Lastly, IE6,7,8 will not correctly reuse cached fragments that were created from unknown elems #10501 + if ( args.length === 1 && typeof first === "string" && first.length < 512 && context === document && + first.charAt(0) === "<" && !rnocache.test( first ) && + (jQuery.support.checkClone || !rchecked.test( first )) && + (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) { + + // Mark cacheable and look for a hit + cacheable = true; + fragment = jQuery.fragments[ first ]; + cachehit = fragment !== undefined; + } + + if ( !fragment ) { + fragment = context.createDocumentFragment(); + jQuery.clean( args, context, fragment, scripts ); + + // Update the cache, but only store false + // unless this is a second parsing of the same content + if ( cacheable ) { + jQuery.fragments[ first ] = cachehit && fragment; + } + } + + return { fragment: fragment, cacheable: cacheable }; +}; + +jQuery.fragments = {}; + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + l = insert.length, + parent = this.length === 1 && this[0].parentNode; + + if ( (parent == null || parent && parent.nodeType === 11 && parent.childNodes.length === 1) && l === 1 ) { + insert[ original ]( this[0] ); + return this; + } else { + for ( ; i < l; i++ ) { + elems = ( i > 0 ? this.clone(true) : this ).get(); + jQuery( insert[i] )[ original ]( elems ); + ret = ret.concat( elems ); + } + + return this.pushStack( ret, name, insert.selector ); + } + }; +}); + +function getAll( elem ) { + if ( typeof elem.getElementsByTagName !== "undefined" ) { + return elem.getElementsByTagName( "*" ); + + } else if ( typeof elem.querySelectorAll !== "undefined" ) { + return elem.querySelectorAll( "*" ); + + } else { + return []; + } +} + +// Used in clean, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var srcElements, + destElements, + i, + clone; + + if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + // IE copies events bound via attachEvent when using cloneNode. + // Calling detachEvent on the clone will also remove the events + // from the original. In order to get around this, we use some + // proprietary methods to clear the events. Thanks to MooTools + // guys for this hotness. + + cloneFixAttributes( elem, clone ); + + // Using Sizzle here is crazy slow, so we use getElementsByTagName instead + srcElements = getAll( elem ); + destElements = getAll( clone ); + + // Weird iteration because IE will replace the length property + // with an element if you are cloning the body and one of the + // elements on the page has a name or id of "length" + for ( i = 0; srcElements[i]; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + cloneFixAttributes( srcElements[i], destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + cloneCopyEvent( elem, clone ); + + if ( deepDataAndEvents ) { + srcElements = getAll( elem ); + destElements = getAll( clone ); + + for ( i = 0; srcElements[i]; ++i ) { + cloneCopyEvent( srcElements[i], destElements[i] ); + } + } + } + + srcElements = destElements = null; + + // Return the cloned set + return clone; + }, + + clean: function( elems, context, fragment, scripts ) { + var i, j, elem, tag, wrap, depth, div, hasBody, tbody, len, handleScript, jsTags, + safe = context === document && safeFragment, + ret = []; + + // Ensure that context is a document + if ( !context || typeof context.createDocumentFragment === "undefined" ) { + context = document; + } + + // Use the already-created safe fragment if context permits + for ( i = 0; (elem = elems[i]) != null; i++ ) { + if ( typeof elem === "number" ) { + elem += ""; + } + + if ( !elem ) { + continue; + } + + // Convert html string into DOM nodes + if ( typeof elem === "string" ) { + if ( !rhtml.test( elem ) ) { + elem = context.createTextNode( elem ); + } else { + // Ensure a safe container in which to render the html + safe = safe || createSafeFragment( context ); + div = context.createElement("div"); + safe.appendChild( div ); + + // Fix "XHTML"-style tags in all browsers + elem = elem.replace(rxhtmlTag, "<$1>"); + + // Go to html and back, then peel off extra wrappers + tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + depth = wrap[0]; + div.innerHTML = wrap[1] + elem + wrap[2]; + + // Move to the right depth + while ( depth-- ) { + div = div.lastChild; + } + + // Remove IE's autoinserted from table fragments + if ( !jQuery.support.tbody ) { + + // String was a , *may* have spurious + hasBody = rtbody.test(elem); + tbody = tag === "table" && !hasBody ? + div.firstChild && div.firstChild.childNodes : + + // String was a bare or + wrap[1] === "
" && !hasBody ? + div.childNodes : + []; + + for ( j = tbody.length - 1; j >= 0 ; --j ) { + if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) { + tbody[ j ].parentNode.removeChild( tbody[ j ] ); + } + } + } + + // IE completely kills leading whitespace when innerHTML is used + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild ); + } + + elem = div.childNodes; + + // Take out of fragment container (we need a fresh div each time) + div.parentNode.removeChild( div ); + } + } + + if ( elem.nodeType ) { + ret.push( elem ); + } else { + jQuery.merge( ret, elem ); + } + } + + // Fix #11356: Clear elements from safeFragment + if ( div ) { + elem = div = safe = null; + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + for ( i = 0; (elem = ret[i]) != null; i++ ) { + if ( jQuery.nodeName( elem, "input" ) ) { + fixDefaultChecked( elem ); + } else if ( typeof elem.getElementsByTagName !== "undefined" ) { + jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked ); + } + } + } + + // Append elements to a provided document fragment + if ( fragment ) { + // Special handling of each script element + handleScript = function( elem ) { + // Check if we consider it executable + if ( !elem.type || rscriptType.test( elem.type ) ) { + // Detach the script and store it in the scripts array (if provided) or the fragment + // Return truthy to indicate that it has been handled + return scripts ? + scripts.push( elem.parentNode ? elem.parentNode.removeChild( elem ) : elem ) : + fragment.appendChild( elem ); + } + }; + + for ( i = 0; (elem = ret[i]) != null; i++ ) { + // Check if we're done after handling an executable script + if ( !( jQuery.nodeName( elem, "script" ) && handleScript( elem ) ) ) { + // Append to fragment and handle embedded scripts + fragment.appendChild( elem ); + if ( typeof elem.getElementsByTagName !== "undefined" ) { + // handleScript alters the DOM, so use jQuery.merge to ensure snapshot iteration + jsTags = jQuery.grep( jQuery.merge( [], elem.getElementsByTagName("script") ), handleScript ); + + // Splice the scripts into ret after their former ancestor and advance our index beyond them + ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) ); + i += jsTags.length; + } + } + } + } + + return ret; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var data, id, elem, type, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( elem.removeAttribute ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + jQuery.deletedIds.push( id ); + } + } + } + } + } +}); +// Limit scope pollution from any deprecated API +(function() { + +var matched, browser; + +// Use of jQuery.browser is frowned upon. +// More details: http://api.jquery.com/jQuery.browser +// jQuery.uaMatch maintained for back-compat +jQuery.uaMatch = function( ua ) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || + /(webkit)[ \/]([\w.]+)/.exec( ua ) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || + /(msie) ([\w.]+)/.exec( ua ) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; +}; + +matched = jQuery.uaMatch( navigator.userAgent ); +browser = {}; + +if ( matched.browser ) { + browser[ matched.browser ] = true; + browser.version = matched.version; +} + +// Chrome is Webkit, but Webkit is also Safari. +if ( browser.chrome ) { + browser.webkit = true; +} else if ( browser.webkit ) { + browser.safari = true; +} + +jQuery.browser = browser; + +jQuery.sub = function() { + function jQuerySub( selector, context ) { + return new jQuerySub.fn.init( selector, context ); + } + jQuery.extend( true, jQuerySub, this ); + jQuerySub.superclass = this; + jQuerySub.fn = jQuerySub.prototype = this(); + jQuerySub.fn.constructor = jQuerySub; + jQuerySub.sub = this.sub; + jQuerySub.fn.init = function init( selector, context ) { + if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { + context = jQuerySub( context ); + } + + return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); + }; + jQuerySub.fn.init.prototype = jQuerySub.fn; + var rootjQuerySub = jQuerySub(document); + return jQuerySub; +}; + +})(); +var curCSS, iframe, iframeDoc, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity=([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([-+])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ], + + eventsToggle = jQuery.fn.toggle; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var elem, display, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + values[ index ] = jQuery._data( elem, "olddisplay" ); + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && elem.style.display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + display = curCSS( elem, "display" ); + + if ( !values[ index ] && display !== "none" ) { + jQuery._data( elem, "olddisplay", display ); + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state, fn2 ) { + var bool = typeof state === "boolean"; + + if ( jQuery.isFunction( state ) && jQuery.isFunction( fn2 ) ) { + return eventsToggle.apply( this, arguments ); + } + + return this.each(function() { + if ( bool ? state : isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + + } + } + } + }, + + // Exclude the following css properties to add px + cssNumber: { + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, numeric, extra ) { + var val, num, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( numeric || extra !== undefined ) { + num = parseFloat( val ); + return numeric || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations + swap: function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; + } +}); + +// NOTE: To any future maintainer, we've window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + curCSS = function( elem, name ) { + var ret, width, minWidth, maxWidth, + computed = window.getComputedStyle( elem, null ), + style = elem.style; + + if ( computed ) { + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + curCSS = function( elem, name ) { + var left, rsLeft, + ret = elem.currentStyle && elem.currentStyle[ name ], + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rsLeft = elem.runtimeStyle && elem.runtimeStyle.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + elem.runtimeStyle.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + elem.runtimeStyle.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + // we use jQuery.css instead of curCSS here + // because of the reliableMarginRight CSS hook! + val += jQuery.css( elem, extra + cssExpand[ i ], true ); + } + + // From this point on we use curCSS for maximum performance (relevant in animations) + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= parseFloat( curCSS( elem, "padding" + cssExpand[ i ] ) ) || 0; + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= parseFloat( curCSS( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0; + } + } else { + // at this point, extra isn't content, so add padding + val += parseFloat( curCSS( elem, "padding" + cssExpand[ i ] ) ) || 0; + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += parseFloat( curCSS( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0; + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + valueIsBorderBox = true, + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing" ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox + ) + ) + "px"; +} + + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + if ( elemdisplay[ nodeName ] ) { + return elemdisplay[ nodeName ]; + } + + var elem = jQuery( "<" + nodeName + ">" ).appendTo( document.body ), + display = elem.css("display"); + elem.remove(); + + // If the simple way fails, + // get element's real default display by attaching it to a temp iframe + if ( display === "none" || display === "" ) { + // Use the already-created iframe if possible + iframe = document.body.appendChild( + iframe || jQuery.extend( document.createElement("iframe"), { + frameBorder: 0, + width: 0, + height: 0 + }) + ); + + // Create a cacheable copy of the iframe document on first call. + // IE and Opera will allow us to reuse the iframeDoc without re-writing the fake HTML + // document to it; WebKit & Firefox won't allow reusing the iframe document. + if ( !iframeDoc || !iframe.createElement ) { + iframeDoc = ( iframe.contentWindow || iframe.contentDocument ).document; + iframeDoc.write(""); + iframeDoc.close(); + } + + elem = iframeDoc.body.appendChild( iframeDoc.createElement(nodeName) ); + + display = curCSS( elem, "display" ); + document.body.removeChild( iframe ); + } + + // Store the correct default display + elemdisplay[ nodeName ] = display; + + return display; +} + +jQuery.each([ "height", "width" ], function( i, name ) { + jQuery.cssHooks[ name ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + // certain elements can have dimension info if we invisibly show them + // however, it must have a current display style that would benefit from this + if ( elem.offsetWidth === 0 && rdisplayswap.test( curCSS( elem, "display" ) ) ) { + return jQuery.swap( elem, cssShow, function() { + return getWidthOrHeight( elem, name, extra ); + }); + } else { + return getWidthOrHeight( elem, name, extra ); + } + } + }, + + set: function( elem, value, extra ) { + return setPositiveNumber( elem, value, extra ? + augmentWidthOrHeight( + elem, + name, + extra, + jQuery.support.boxSizing && jQuery.css( elem, "boxSizing" ) === "border-box" + ) : 0 + ); + } + }; +}); + +if ( !jQuery.support.opacity ) { + jQuery.cssHooks.opacity = { + get: function( elem, computed ) { + // IE uses filters for opacity + return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? + ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : + computed ? "1" : ""; + }, + + set: function( elem, value ) { + var style = elem.style, + currentStyle = elem.currentStyle, + opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", + filter = currentStyle && currentStyle.filter || style.filter || ""; + + // IE has trouble with opacity if it does not have layout + // Force it by setting the zoom level + style.zoom = 1; + + // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 + if ( value >= 1 && jQuery.trim( filter.replace( ralpha, "" ) ) === "" && + style.removeAttribute ) { + + // Setting style.filter to null, "" & " " still leave "filter:" in the cssText + // if "filter:" is present at all, clearType is disabled, we want to avoid this + // style.removeAttribute is IE Only, but so apparently is this code path... + style.removeAttribute( "filter" ); + + // if there there is no filter style applied in a css rule, we are done + if ( currentStyle && !currentStyle.filter ) { + return; + } + } + + // otherwise, set new filter values + style.filter = ralpha.test( filter ) ? + filter.replace( ralpha, opacity ) : + filter + " " + opacity; + } + }; +} + +// These hooks cannot be added until DOM ready because the support test +// for it is not run until after DOM ready +jQuery(function() { + if ( !jQuery.support.reliableMarginRight ) { + jQuery.cssHooks.marginRight = { + get: function( elem, computed ) { + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + // Work around by temporarily setting element display to inline-block + return jQuery.swap( elem, { "display": "inline-block" }, function() { + if ( computed ) { + return curCSS( elem, "marginRight" ); + } + }); + } + }; + } + + // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 + // getComputedStyle returns percent when specified for top/left/bottom/right + // rather than make the css module depend on the offset module, we just check for it here + if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { + jQuery.each( [ "top", "left" ], function( i, prop ) { + jQuery.cssHooks[ prop ] = { + get: function( elem, computed ) { + if ( computed ) { + var ret = curCSS( elem, prop ); + // if curCSS returns percentage, fallback to offset + return rnumnonpx.test( ret ) ? jQuery( elem ).position()[ prop ] + "px" : ret; + } + } + }; + }); + } + +}); + +if ( jQuery.expr && jQuery.expr.filters ) { + jQuery.expr.filters.hidden = function( elem ) { + return ( elem.offsetWidth === 0 && elem.offsetHeight === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || curCSS( elem, "display" )) === "none"); + }; + + jQuery.expr.filters.visible = function( elem ) { + return !jQuery.expr.filters.hidden( elem ); + }; +} + +// These hooks are used by animate to expand properties +jQuery.each({ + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i, + + // assumes a single number if not a string + parts = typeof value === "string" ? value.split(" ") : [ value ], + expanded = {}; + + for ( i = 0; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( !rmargin.test( prefix ) ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +}); +var r20 = /%20/g, + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, + rselectTextarea = /^(?:select|textarea)/i; + +jQuery.fn.extend({ + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map(function(){ + return this.elements ? jQuery.makeArray( this.elements ) : this; + }) + .filter(function(){ + return this.name && !this.disabled && + ( this.checked || rselectTextarea.test( this.nodeName ) || + rinput.test( this.type ) ); + }) + .map(function( i, elem ){ + var val = jQuery( this ).val(); + + return val == null ? + null : + jQuery.isArray( val ) ? + jQuery.map( val, function( val, i ){ + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }) : + { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }).get(); + } +}); + +//Serialize an array of form elements or a set of +//key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, value ) { + // If value is a function, invoke it and return its value + value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); + s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); + }; + + // Set traditional to true for jQuery <= 1.3.2 behavior. + if ( traditional === undefined ) { + traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + }); + + } else { + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ).replace( r20, "+" ); +}; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( jQuery.isArray( obj ) ) { + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + // If array item is non-scalar (array or object), encode its + // numeric index to resolve deserialization ambiguity issues. + // Note that rack (as of 1.0.0) can't currently deserialize + // nested arrays properly, and attempting to do so may cause + // a server error. Possible fixes are to modify rack's + // deserialization algorithm or to provide an option or flag + // to force array serialization to be shallow. + buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); + } + }); + + } else if ( !traditional && jQuery.type( obj ) === "object" ) { + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + // Serialize scalar item. + add( prefix, obj ); + } +} +var + // Document location + ajaxLocParts, + ajaxLocation, + + rhash = /#.*$/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + rquery = /\?/, + rscript = /)<[^<]*)*<\/script>/gi, + rts = /([?&])_=[^&]*/, + rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, + + // Keep a copy of the old load method + _load = jQuery.fn.load, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = ["*/"] + ["*"]; + +// #8138, IE may throw an exception when accessing +// a field from window.location if document.domain has been set +try { + ajaxLocation = location.href; +} catch( e ) { + // Use the href attribute of an A element + // since IE will modify it given document.location + ajaxLocation = document.createElement( "a" ); + ajaxLocation.href = ""; + ajaxLocation = ajaxLocation.href; +} + +// Segment location into parts +ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, list, placeBefore, + dataTypes = dataTypeExpression.toLowerCase().split( core_rspace ), + i = 0, + length = dataTypes.length; + + if ( jQuery.isFunction( func ) ) { + // For each dataType in the dataTypeExpression + for ( ; i < length; i++ ) { + dataType = dataTypes[ i ]; + // We control if we're asked to add before + // any existing element + placeBefore = /^\+/.test( dataType ); + if ( placeBefore ) { + dataType = dataType.substr( 1 ) || "*"; + } + list = structure[ dataType ] = structure[ dataType ] || []; + // then we add to the structure accordingly + list[ placeBefore ? "unshift" : "push" ]( func ); + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR, + dataType /* internal */, inspected /* internal */ ) { + + dataType = dataType || options.dataTypes[ 0 ]; + inspected = inspected || {}; + + inspected[ dataType ] = true; + + var selection, + list = structure[ dataType ], + i = 0, + length = list ? list.length : 0, + executeOnly = ( structure === prefilters ); + + for ( ; i < length && ( executeOnly || !selection ); i++ ) { + selection = list[ i ]( options, originalOptions, jqXHR ); + // If we got redirected to another dataType + // we try there if executing only and not done already + if ( typeof selection === "string" ) { + if ( !executeOnly || inspected[ selection ] ) { + selection = undefined; + } else { + options.dataTypes.unshift( selection ); + selection = inspectPrefiltersOrTransports( + structure, options, originalOptions, jqXHR, selection, inspected ); + } + } + } + // If we're only executing or nothing was selected + // we try the catchall dataType if not done already + if ( ( executeOnly || !selection ) && !inspected[ "*" ] ) { + selection = inspectPrefiltersOrTransports( + structure, options, originalOptions, jqXHR, "*", inspected ); + } + // unnecessary when only executing (prefilters) + // but it'll be ignored by the caller in that case + return selection; +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } +} + +jQuery.fn.load = function( url, params, callback ) { + if ( typeof url !== "string" && _load ) { + return _load.apply( this, arguments ); + } + + // Don't do a request if no elements are being requested + if ( !this.length ) { + return this; + } + + var selector, type, response, + self = this, + off = url.indexOf(" "); + + if ( off >= 0 ) { + selector = url.slice( off, url.length ); + url = url.slice( 0, off ); + } + + // If it's a function + if ( jQuery.isFunction( params ) ) { + + // We assume that it's the callback + callback = params; + params = undefined; + + // Otherwise, build a param string + } else if ( params && typeof params === "object" ) { + type = "POST"; + } + + // Request the remote document + jQuery.ajax({ + url: url, + + // if "type" variable is undefined, then "GET" method will be used + type: type, + dataType: "html", + data: params, + complete: function( jqXHR, status ) { + if ( callback ) { + self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); + } + } + }).done(function( responseText ) { + + // Save response for use in complete callback + response = arguments; + + // See if a selector was specified + self.html( selector ? + + // Create a dummy div to hold the results + jQuery("
") + + // inject the contents of the document in, removing the scripts + // to avoid any 'Permission Denied' errors in IE + .append( responseText.replace( rscript, "" ) ) + + // Locate the specified elements + .find( selector ) : + + // If not, just inject the full result + responseText ); + + }); + + return this; +}; + +// Attach a bunch of functions for handling common AJAX events +jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){ + jQuery.fn[ o ] = function( f ){ + return this.on( o, f ); + }; +}); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + // shift arguments if data argument was omitted + if ( jQuery.isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + return jQuery.ajax({ + type: method, + url: url, + data: data, + success: callback, + dataType: type + }); + }; +}); + +jQuery.extend({ + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + if ( settings ) { + // Building a settings object + ajaxExtend( target, jQuery.ajaxSettings ); + } else { + // Extending ajaxSettings + settings = target; + target = jQuery.ajaxSettings; + } + ajaxExtend( target, settings ); + return target; + }, + + ajaxSettings: { + url: ajaxLocation, + isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), + global: true, + type: "GET", + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + processData: true, + async: true, + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + xml: "application/xml, text/xml", + html: "text/html", + text: "text/plain", + json: "application/json, text/javascript", + "*": allTypes + }, + + contents: { + xml: /xml/, + html: /html/, + json: /json/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText" + }, + + // List of data converters + // 1) key format is "source_type destination_type" (a single space in-between) + // 2) the catchall symbol "*" can be used for source_type + converters: { + + // Convert anything to text + "* text": window.String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": jQuery.parseJSON, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + context: true, + url: true + } + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var // ifModified key + ifModifiedKey, + // Response headers + responseHeadersString, + responseHeaders, + // transport + transport, + // timeout handle + timeoutTimer, + // Cross-domain detection vars + parts, + // To know if global events are to be dispatched + fireGlobals, + // Loop variable + i, + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + // Callbacks context + callbackContext = s.context || s, + // Context for global events + // It's the callbackContext if one was provided in the options + // and if it's a DOM node or a jQuery collection + globalEventContext = callbackContext !== s && + ( callbackContext.nodeType || callbackContext instanceof jQuery ) ? + jQuery( callbackContext ) : jQuery.event, + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + // Status-dependent callbacks + statusCode = s.statusCode || {}, + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + // The jqXHR state + state = 0, + // Default abort message + strAbort = "canceled", + // Fake xhr + jqXHR = { + + readyState: 0, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( !state ) { + var lname = name.toLowerCase(); + name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Raw string + getAllResponseHeaders: function() { + return state === 2 ? responseHeadersString : null; + }, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( state === 2 ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match === undefined ? null : match; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( !state ) { + s.mimeType = type; + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + statusText = statusText || strAbort; + if ( transport ) { + transport.abort( statusText ); + } + done( 0, statusText ); + return this; + } + }; + + // Callback for when everything is done + // It is defined here because jslint complains if it is declared + // at the end of the function (which would be more logical and readable) + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Called once + if ( state === 2 ) { + return; + } + + // State is "done" now + state = 2; + + // Clear timeout if it exists + if ( timeoutTimer ) { + clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // If successful, handle type chaining + if ( status >= 200 && status < 300 || status === 304 ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + + modified = jqXHR.getResponseHeader("Last-Modified"); + if ( modified ) { + jQuery.lastModified[ ifModifiedKey ] = modified; + } + modified = jqXHR.getResponseHeader("Etag"); + if ( modified ) { + jQuery.etag[ ifModifiedKey ] = modified; + } + } + + // If not modified + if ( status === 304 ) { + + statusText = "notmodified"; + isSuccess = true; + + // If we have data + } else { + + isSuccess = ajaxConvert( s, response ); + statusText = isSuccess.state; + success = isSuccess.data; + error = isSuccess.error; + isSuccess = !error; + } + } else { + // We extract error from statusText + // then normalize statusText and status for non-aborts + error = statusText; + if ( !statusText || status ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( "ajax" + ( isSuccess ? "Success" : "Error" ), + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + // Attach deferreds + deferred.promise( jqXHR ); + jqXHR.success = jqXHR.done; + jqXHR.error = jqXHR.fail; + jqXHR.complete = completeDeferred.add; + + // Status-dependent callbacks + jqXHR.statusCode = function( map ) { + if ( map ) { + var tmp; + if ( state < 2 ) { + for ( tmp in map ) { + statusCode[ tmp ] = [ statusCode[tmp], map[tmp] ]; + } + } else { + tmp = map[ jqXHR.status ]; + jqXHR.always( tmp ); + } + } + return this; + }; + + // Remove hash character (#7531: and string promotion) + // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) + // We also use the url parameter if available + s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); + + // Extract dataTypes list + s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().split( core_rspace ); + + // A cross-domain request is in order when we have a protocol:host:port mismatch + if ( s.crossDomain == null ) { + parts = rurl.exec( s.url.toLowerCase() ); + s.crossDomain = !!( parts && + ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || + ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) != + ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) ) + ); + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( state === 2 ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + fireGlobals = s.global; + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // If data is available, append data to url + if ( s.data ) { + s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.data; + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Get ifModifiedKey before adding the anti-cache parameter + ifModifiedKey = s.url; + + // Add anti-cache in url if needed + if ( s.cache === false ) { + + var ts = jQuery.now(), + // try replacing _= if it is there + ret = s.url.replace( rts, "$1_=" + ts ); + + // if nothing was replaced, add timestamp to the end + s.url = ret + ( ( ret === s.url ) ? ( rquery.test( s.url ) ? "&" : "?" ) + "_=" + ts : "" ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + ifModifiedKey = ifModifiedKey || s.url; + if ( jQuery.lastModified[ ifModifiedKey ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ ifModifiedKey ] ); + } + if ( jQuery.etag[ ifModifiedKey ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ ifModifiedKey ] ); + } + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? + s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { + // Abort if not done already and return + return jqXHR.abort(); + + } + + // aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + for ( i in { success: 1, error: 1, complete: 1 } ) { + jqXHR[ i ]( s[ i ] ); + } + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = setTimeout( function(){ + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + state = 1; + transport.send( requestHeaders, done ); + } catch (e) { + // Propagate exception as error if not done + if ( state < 2 ) { + done( -1, e ); + // Simply rethrow otherwise + } else { + throw e; + } + } + } + + return jqXHR; + }, + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {} + +}); + +/* Handles responses to an ajax request: + * - sets all responseXXX fields accordingly + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes, + responseFields = s.responseFields; + + // Fill responseXXX fields + for ( type in responseFields ) { + if ( type in responses ) { + jqXHR[ responseFields[type] ] = responses[ type ]; + } + } + + // Remove auto dataType and get content-type in the process + while( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "content-type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +// Chain conversions given the request and the original response +function ajaxConvert( s, response ) { + + var conv, conv2, current, tmp, + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(), + prev = dataTypes[ 0 ], + converters = {}, + i = 0; + + // Apply the dataFilter if provided + if ( s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + // Convert to each sequential dataType, tolerating list modification + for ( ; (current = dataTypes[++i]); ) { + + // There's only work to do if current dataType is non-auto + if ( current !== "*" ) { + + // Convert response if prev dataType is non-auto and differs from current + if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split(" "); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.splice( i--, 0, current ); + } + + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s["throws"] ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; + } + } + } + } + + // Update prev for next iteration + prev = current; + } + } + + return { state: "success", data: response }; +} +var oldCallbacks = [], + rquestion = /\?/, + rjsonp = /(=)\?(?=&|$)|\?\?/, + nonce = jQuery.now(); + +// Default jsonp settings +jQuery.ajaxSetup({ + jsonp: "callback", + jsonpCallback: function() { + var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); + this[ callback ] = true; + return callback; + } +}); + +// Detect, normalize options and install callbacks for jsonp requests +jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { + + var callbackName, overwritten, responseContainer, + data = s.data, + url = s.url, + hasCallback = s.jsonp !== false, + replaceInUrl = hasCallback && rjsonp.test( url ), + replaceInData = hasCallback && !replaceInUrl && typeof data === "string" && + !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && + rjsonp.test( data ); + + // Handle iff the expected data type is "jsonp" or we have a parameter to set + if ( s.dataTypes[ 0 ] === "jsonp" || replaceInUrl || replaceInData ) { + + // Get callback name, remembering preexisting value associated with it + callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? + s.jsonpCallback() : + s.jsonpCallback; + overwritten = window[ callbackName ]; + + // Insert callback into url or form data + if ( replaceInUrl ) { + s.url = url.replace( rjsonp, "$1" + callbackName ); + } else if ( replaceInData ) { + s.data = data.replace( rjsonp, "$1" + callbackName ); + } else if ( hasCallback ) { + s.url += ( rquestion.test( url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; + } + + // Use data converter to retrieve json after script execution + s.converters["script json"] = function() { + if ( !responseContainer ) { + jQuery.error( callbackName + " was not called" ); + } + return responseContainer[ 0 ]; + }; + + // force json dataType + s.dataTypes[ 0 ] = "json"; + + // Install callback + window[ callbackName ] = function() { + responseContainer = arguments; + }; + + // Clean-up function (fires after converters) + jqXHR.always(function() { + // Restore preexisting value + window[ callbackName ] = overwritten; + + // Save back as free + if ( s[ callbackName ] ) { + // make sure that re-using the options doesn't screw things around + s.jsonpCallback = originalSettings.jsonpCallback; + + // save the callback name for future use + oldCallbacks.push( callbackName ); + } + + // Call if it was a function and we have a response + if ( responseContainer && jQuery.isFunction( overwritten ) ) { + overwritten( responseContainer[ 0 ] ); + } + + responseContainer = overwritten = undefined; + }); + + // Delegate to script + return "script"; + } +}); +// Install script dataType +jQuery.ajaxSetup({ + accepts: { + script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /javascript|ecmascript/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +}); + +// Handle cache's special case and global +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + s.global = false; + } +}); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function(s) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + + var script, + head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement; + + return { + + send: function( _, callback ) { + + script = document.createElement( "script" ); + + script.async = "async"; + + if ( s.scriptCharset ) { + script.charset = s.scriptCharset; + } + + script.src = s.url; + + // Attach handlers for all browsers + script.onload = script.onreadystatechange = function( _, isAbort ) { + + if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { + + // Handle memory leak in IE + script.onload = script.onreadystatechange = null; + + // Remove the script + if ( head && script.parentNode ) { + head.removeChild( script ); + } + + // Dereference the script + script = undefined; + + // Callback if not abort + if ( !isAbort ) { + callback( 200, "success" ); + } + } + }; + // Use insertBefore instead of appendChild to circumvent an IE6 bug. + // This arises when a base node is used (#2709 and #4378). + head.insertBefore( script, head.firstChild ); + }, + + abort: function() { + if ( script ) { + script.onload( 0, 1 ); + } + } + }; + } +}); +var xhrCallbacks, + // #5280: Internet Explorer will keep connections alive if we don't abort on unload + xhrOnUnloadAbort = window.ActiveXObject ? function() { + // Abort all pending requests + for ( var key in xhrCallbacks ) { + xhrCallbacks[ key ]( 0, 1 ); + } + } : false, + xhrId = 0; + +// Functions to create xhrs +function createStandardXHR() { + try { + return new window.XMLHttpRequest(); + } catch( e ) {} +} + +function createActiveXHR() { + try { + return new window.ActiveXObject( "Microsoft.XMLHTTP" ); + } catch( e ) {} +} + +// Create the request object +// (This is still attached to ajaxSettings for backward compatibility) +jQuery.ajaxSettings.xhr = window.ActiveXObject ? + /* Microsoft failed to properly + * implement the XMLHttpRequest in IE7 (can't request local files), + * so we use the ActiveXObject when it is available + * Additionally XMLHttpRequest can be disabled in IE7/IE8 so + * we need a fallback. + */ + function() { + return !this.isLocal && createStandardXHR() || createActiveXHR(); + } : + // For all other browsers, use the standard XMLHttpRequest object + createStandardXHR; + +// Determine support properties +(function( xhr ) { + jQuery.extend( jQuery.support, { + ajax: !!xhr, + cors: !!xhr && ( "withCredentials" in xhr ) + }); +})( jQuery.ajaxSettings.xhr() ); + +// Create transport if the browser can provide an xhr +if ( jQuery.support.ajax ) { + + jQuery.ajaxTransport(function( s ) { + // Cross domain only allowed if supported through XMLHttpRequest + if ( !s.crossDomain || jQuery.support.cors ) { + + var callback; + + return { + send: function( headers, complete ) { + + // Get a new xhr + var handle, i, + xhr = s.xhr(); + + // Open the socket + // Passing null username, generates a login popup on Opera (#2865) + if ( s.username ) { + xhr.open( s.type, s.url, s.async, s.username, s.password ); + } else { + xhr.open( s.type, s.url, s.async ); + } + + // Apply custom fields if provided + if ( s.xhrFields ) { + for ( i in s.xhrFields ) { + xhr[ i ] = s.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( s.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( s.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !s.crossDomain && !headers["X-Requested-With"] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Need an extra try/catch for cross domain requests in Firefox 3 + try { + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + } catch( _ ) {} + + // Do send the request + // This may raise an exception which is actually + // handled in jQuery.ajax (so no try/catch here) + xhr.send( ( s.hasContent && s.data ) || null ); + + // Listener + callback = function( _, isAbort ) { + + var status, + statusText, + responseHeaders, + responses, + xml; + + // Firefox throws exceptions when accessing properties + // of an xhr when a network error occurred + // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) + try { + + // Was never called and is aborted or complete + if ( callback && ( isAbort || xhr.readyState === 4 ) ) { + + // Only called once + callback = undefined; + + // Do not keep as active anymore + if ( handle ) { + xhr.onreadystatechange = jQuery.noop; + if ( xhrOnUnloadAbort ) { + delete xhrCallbacks[ handle ]; + } + } + + // If it's an abort + if ( isAbort ) { + // Abort it manually if needed + if ( xhr.readyState !== 4 ) { + xhr.abort(); + } + } else { + status = xhr.status; + responseHeaders = xhr.getAllResponseHeaders(); + responses = {}; + xml = xhr.responseXML; + + // Construct response list + if ( xml && xml.documentElement /* #4958 */ ) { + responses.xml = xml; + } + + // When requesting binary data, IE6-9 will throw an exception + // on any attempt to access responseText (#11426) + try { + responses.text = xhr.responseText; + } catch( e ) { + } + + // Firefox throws an exception when accessing + // statusText for faulty cross-domain requests + try { + statusText = xhr.statusText; + } catch( e ) { + // We normalize with Webkit giving an empty statusText + statusText = ""; + } + + // Filter status for non standard behaviors + + // If the request is local and we have data: assume a success + // (success with no data won't get notified, that's the best we + // can do given current implementations) + if ( !status && s.isLocal && !s.crossDomain ) { + status = responses.text ? 200 : 404; + // IE - #1450: sometimes returns 1223 when it should be 204 + } else if ( status === 1223 ) { + status = 204; + } + } + } + } catch( firefoxAccessException ) { + if ( !isAbort ) { + complete( -1, firefoxAccessException ); + } + } + + // Call complete if needed + if ( responses ) { + complete( status, statusText, responses, responseHeaders ); + } + }; + + if ( !s.async ) { + // if we're in sync mode we fire the callback + callback(); + } else if ( xhr.readyState === 4 ) { + // (IE6 & IE7) if it's in cache and has been + // retrieved directly we need to fire the callback + setTimeout( callback, 0 ); + } else { + handle = ++xhrId; + if ( xhrOnUnloadAbort ) { + // Create the active xhrs callbacks list if needed + // and attach the unload handler + if ( !xhrCallbacks ) { + xhrCallbacks = {}; + jQuery( window ).unload( xhrOnUnloadAbort ); + } + // Add to list of active xhrs callbacks + xhrCallbacks[ handle ] = callback; + } + xhr.onreadystatechange = callback; + } + }, + + abort: function() { + if ( callback ) { + callback(0,1); + } + } + }; + } + }); +} +var fxNow, timerId, + rfxtypes = /^(?:toggle|show|hide)$/, + rfxnum = new RegExp( "^(?:([-+])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), + rrun = /queueHooks$/, + animationPrefilters = [ defaultPrefilter ], + tweeners = { + "*": [function( prop, value ) { + var end, unit, + tween = this.createTween( prop, value ), + parts = rfxnum.exec( value ), + target = tween.cur(), + start = +target || 0, + scale = 1, + maxIterations = 20; + + if ( parts ) { + end = +parts[2]; + unit = parts[3] || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + + // We need to compute starting value + if ( unit !== "px" && start ) { + // Iteratively approximate from a nonzero starting point + // Prefer the current property, because this process will be trivial if it uses the same units + // Fallback to end or a simple constant + start = jQuery.css( tween.elem, prop, true ) || end || 1; + + do { + // If previous iteration zeroed out, double until we get *something* + // Use a string for doubling factor so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + start = start / scale; + jQuery.style( tween.elem, prop, start + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // And breaking the loop if scale is unchanged or perfect, or if we've just had enough + } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); + } + + tween.unit = unit; + tween.start = start; + // If a +=/-= token was provided, we're doing a relative animation + tween.end = parts[1] ? start + ( parts[1] + 1 ) * end : end; + } + return tween; + }] + }; + +// Animations created synchronously will run synchronously +function createFxNow() { + setTimeout(function() { + fxNow = undefined; + }, 0 ); + return ( fxNow = jQuery.now() ); +} + +function createTweens( animation, props ) { + jQuery.each( props, function( prop, value ) { + var collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( collection[ index ].call( animation, prop, value ) ) { + + // we're done with this property + return; + } + } + }); +} + +function Animation( elem, properties, options ) { + var result, + index = 0, + tweenerIndex = 0, + length = animationPrefilters.length, + deferred = jQuery.Deferred().always( function() { + // don't match elem in the :animated selector + delete tick.elem; + }), + tick = function() { + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ]); + + if ( percent < 1 && length ) { + return remaining; + } else { + deferred.resolveWith( elem, [ animation ] ); + return false; + } + }, + animation = deferred.promise({ + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { specialEasing: {} }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end, easing ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + // if we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // resolve when we played the last frame + // otherwise, reject + if ( gotoEnd ) { + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + }), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length ; index++ ) { + result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + return result; + } + } + + createTweens( animation, props ); + + if ( jQuery.isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + jQuery.fx.timer( + jQuery.extend( tick, { + anim: animation, + queue: animation.opts.queue, + elem: elem + }) + ); + + // attach callbacks from options + return animation.progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = jQuery.camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( jQuery.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // not quite $.extend, this wont overwrite keys already present. + // also - reusing 'index' from above because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweener: function( props, callback ) { + if ( jQuery.isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.split(" "); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length ; index++ ) { + prop = props[ index ]; + tweeners[ prop ] = tweeners[ prop ] || []; + tweeners[ prop ].unshift( callback ); + } + }, + + prefilter: function( callback, prepend ) { + if ( prepend ) { + animationPrefilters.unshift( callback ); + } else { + animationPrefilters.push( callback ); + } + } +}); + +function defaultPrefilter( elem, props, opts ) { + var index, prop, value, length, dataShow, toggle, tween, hooks, oldfire, + anim = this, + style = elem.style, + orig = {}, + handled = [], + hidden = elem.nodeType && isHidden( elem ); + + // handle queue: false promises + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always(function() { + // doing this makes sure that the complete handler will be called + // before this completes + anim.always(function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + }); + }); + } + + // height/width overflow pass + if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { + // Make sure that nothing sneaks out + // Record all 3 overflow attributes because IE does not + // change the overflow attribute when overflowX and + // overflowY are set to the same value + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Set display property to inline-block for height/width + // animations on inline elements that are having width/height animated + if ( jQuery.css( elem, "display" ) === "inline" && + jQuery.css( elem, "float" ) === "none" ) { + + // inline-level elements accept inline-block; + // block-level elements need to be inline with layout + if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { + style.display = "inline-block"; + + } else { + style.zoom = 1; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + if ( !jQuery.support.shrinkWrapBlocks ) { + anim.done(function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + }); + } + } + + + // show/hide pass + for ( index in props ) { + value = props[ index ]; + if ( rfxtypes.exec( value ) ) { + delete props[ index ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + continue; + } + handled.push( index ); + } + } + + length = handled.length; + if ( length ) { + dataShow = jQuery._data( elem, "fxshow" ) || jQuery._data( elem, "fxshow", {} ); + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + + // store state if its toggle - enables .stop().toggle() to "reverse" + if ( toggle ) { + dataShow.hidden = !hidden; + } + if ( hidden ) { + jQuery( elem ).show(); + } else { + anim.done(function() { + jQuery( elem ).hide(); + }); + } + anim.done(function() { + var prop; + jQuery.removeData( elem, "fxshow", true ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + }); + for ( index = 0 ; index < length ; index++ ) { + prop = handled[ index ]; + tween = anim.createTween( prop, hidden ? dataShow[ prop ] : 0 ); + orig[ prop ] = dataShow[ prop ] || jQuery.style( elem, prop ); + + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = tween.start; + if ( hidden ) { + tween.end = tween.start; + tween.start = prop === "width" || prop === "height" ? 1 : 0; + } + } + } + } +} + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || "swing"; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + if ( tween.elem[ tween.prop ] != null && + (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { + return tween.elem[ tween.prop ]; + } + + // passing any value as a 4th parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails + // so, simple values such as "10px" are parsed to Float. + // complex values such as "rotate(1rad)" are returned as is. + result = jQuery.css( tween.elem, tween.prop, false, "" ); + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + // use step hook for back compat - use cssHook if its there - use .style if its + // available and use plain properties where available + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Remove in 2.0 - this supports IE8's panic based approach +// to setting things on disconnected nodes + +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" || + // special check for .toggle( handler, handler, ... ) + ( !i && jQuery.isFunction( speed ) && jQuery.isFunction( easing ) ) ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +}); + +jQuery.fn.extend({ + fadeTo: function( speed, to, easing, callback ) { + + // show any hidden elements after setting opacity to 0 + return this.filter( isHidden ).css( "opacity", 0 ).show() + + // animate to the value specified + .end().animate({ opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations resolve immediately + if ( empty ) { + anim.stop( true ); + } + }; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each(function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = jQuery._data( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // start the next in the queue if the last step wasn't forced + // timers currently will call their complete callbacks, which will dequeue + // but only if they were gotoEnd + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + }); + } +}); + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + attrs = { height: type }, + i = 0; + + // if we include width, step value is 1 to do all cssExpand values, + // if we don't include width, step value is 2 to skip over Left and Right + includeWidth = includeWidth? 1 : 0; + for( ; i < 4 ; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +// Generate shortcuts for custom animations +jQuery.each({ + slideDown: genFx("show"), + slideUp: genFx("hide"), + slideToggle: genFx("toggle"), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +}); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + jQuery.isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing + }; + + opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : + opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; + + // normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( jQuery.isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p*Math.PI ) / 2; + } +}; + +jQuery.timers = []; +jQuery.fx = Tween.prototype.init; +jQuery.fx.tick = function() { + var timer, + timers = jQuery.timers, + i = 0; + + fxNow = jQuery.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + // Checks the timer has not already been removed + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + if ( timer() && jQuery.timers.push( timer ) && !timerId ) { + timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); + } +}; + +jQuery.fx.interval = 13; + +jQuery.fx.stop = function() { + clearInterval( timerId ); + timerId = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + // Default speed + _default: 400 +}; + +// Back Compat <1.8 extension point +jQuery.fx.step = {}; + +if ( jQuery.expr && jQuery.expr.filters ) { + jQuery.expr.filters.animated = function( elem ) { + return jQuery.grep(jQuery.timers, function( fn ) { + return elem === fn.elem; + }).length; + }; +} +var rroot = /^(?:body|html)$/i; + +jQuery.fn.offset = function( options ) { + if ( arguments.length ) { + return options === undefined ? + this : + this.each(function( i ) { + jQuery.offset.setOffset( this, options, i ); + }); + } + + var docElem, body, win, clientTop, clientLeft, scrollTop, scrollLeft, + box = { top: 0, left: 0 }, + elem = this[ 0 ], + doc = elem && elem.ownerDocument; + + if ( !doc ) { + return; + } + + if ( (body = doc.body) === elem ) { + return jQuery.offset.bodyOffset( elem ); + } + + docElem = doc.documentElement; + + // Make sure it's not a disconnected DOM node + if ( !jQuery.contains( docElem, elem ) ) { + return box; + } + + // If we don't have gBCR, just use 0,0 rather than error + // BlackBerry 5, iOS 3 (original iPhone) + if ( typeof elem.getBoundingClientRect !== "undefined" ) { + box = elem.getBoundingClientRect(); + } + win = getWindow( doc ); + clientTop = docElem.clientTop || body.clientTop || 0; + clientLeft = docElem.clientLeft || body.clientLeft || 0; + scrollTop = win.pageYOffset || docElem.scrollTop; + scrollLeft = win.pageXOffset || docElem.scrollLeft; + return { + top: box.top + scrollTop - clientTop, + left: box.left + scrollLeft - clientLeft + }; +}; + +jQuery.offset = { + + bodyOffset: function( body ) { + var top = body.offsetTop, + left = body.offsetLeft; + + if ( jQuery.support.doesNotIncludeMarginInBodyOffset ) { + top += parseFloat( jQuery.css(body, "marginTop") ) || 0; + left += parseFloat( jQuery.css(body, "marginLeft") ) || 0; + } + + return { top: top, left: left }; + }, + + setOffset: function( elem, options, i ) { + var position = jQuery.css( elem, "position" ); + + // set position first, in-case top/left are set even on static elem + if ( position === "static" ) { + elem.style.position = "relative"; + } + + var curElem = jQuery( elem ), + curOffset = curElem.offset(), + curCSSTop = jQuery.css( elem, "top" ), + curCSSLeft = jQuery.css( elem, "left" ), + calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, + props = {}, curPosition = {}, curTop, curLeft; + + // need to be able to calculate position if either top or left is auto and position is either absolute or fixed + if ( calculatePosition ) { + curPosition = curElem.position(); + curTop = curPosition.top; + curLeft = curPosition.left; + } else { + curTop = parseFloat( curCSSTop ) || 0; + curLeft = parseFloat( curCSSLeft ) || 0; + } + + if ( jQuery.isFunction( options ) ) { + options = options.call( elem, i, curOffset ); + } + + if ( options.top != null ) { + props.top = ( options.top - curOffset.top ) + curTop; + } + if ( options.left != null ) { + props.left = ( options.left - curOffset.left ) + curLeft; + } + + if ( "using" in options ) { + options.using.call( elem, props ); + } else { + curElem.css( props ); + } + } +}; + + +jQuery.fn.extend({ + + position: function() { + if ( !this[0] ) { + return; + } + + var elem = this[0], + + // Get *real* offsetParent + offsetParent = this.offsetParent(), + + // Get correct offsets + offset = this.offset(), + parentOffset = rroot.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset(); + + // Subtract element margins + // note: when an element has margin: auto the offsetLeft and marginLeft + // are the same in Safari causing offset.left to incorrectly be 0 + offset.top -= parseFloat( jQuery.css(elem, "marginTop") ) || 0; + offset.left -= parseFloat( jQuery.css(elem, "marginLeft") ) || 0; + + // Add offsetParent borders + parentOffset.top += parseFloat( jQuery.css(offsetParent[0], "borderTopWidth") ) || 0; + parentOffset.left += parseFloat( jQuery.css(offsetParent[0], "borderLeftWidth") ) || 0; + + // Subtract the two offsets + return { + top: offset.top - parentOffset.top, + left: offset.left - parentOffset.left + }; + }, + + offsetParent: function() { + return this.map(function() { + var offsetParent = this.offsetParent || document.body; + while ( offsetParent && (!rroot.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) { + offsetParent = offsetParent.offsetParent; + } + return offsetParent || document.body; + }); + } +}); + + +// Create scrollLeft and scrollTop methods +jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { + var top = /Y/.test( prop ); + + jQuery.fn[ method ] = function( val ) { + return jQuery.access( this, function( elem, method, val ) { + var win = getWindow( elem ); + + if ( val === undefined ) { + return win ? (prop in win) ? win[ prop ] : + win.document.documentElement[ method ] : + elem[ method ]; + } + + if ( win ) { + win.scrollTo( + !top ? val : jQuery( win ).scrollLeft(), + top ? val : jQuery( win ).scrollTop() + ); + + } else { + elem[ method ] = val; + } + }, method, val, arguments.length, null ); + }; +}); + +function getWindow( elem ) { + return jQuery.isWindow( elem ) ? + elem : + elem.nodeType === 9 ? + elem.defaultView || elem.parentWindow : + false; +} +// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods +jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { + jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { + // margin is only for outerHeight, outerWidth + jQuery.fn[ funcName ] = function( margin, value ) { + var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), + extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); + + return jQuery.access( this, function( elem, type, value ) { + var doc; + + if ( jQuery.isWindow( elem ) ) { + // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there + // isn't a whole lot we can do. See pull request at this URL for discussion: + // https://github.com/jquery/jquery/pull/764 + return elem.document.documentElement[ "client" + name ]; + } + + // Get document width or height + if ( elem.nodeType === 9 ) { + doc = elem.documentElement; + + // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest + // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. + return Math.max( + elem.body[ "scroll" + name ], doc[ "scroll" + name ], + elem.body[ "offset" + name ], doc[ "offset" + name ], + doc[ "client" + name ] + ); + } + + return value === undefined ? + // Get width or height on the element, requesting but not forcing parseFloat + jQuery.css( elem, type, value, extra ) : + + // Set width or height on the element + jQuery.style( elem, type, value, extra ); + }, type, chainable ? margin : undefined, chainable, null ); + }; + }); +}); +// Expose jQuery to the global object +window.jQuery = window.$ = jQuery; + +// Expose jQuery as an AMD module, but only for AMD loaders that +// understand the issues with loading multiple versions of jQuery +// in a page that all might call define(). The loader will indicate +// they have special allowances for multiple jQuery versions by +// specifying define.amd.jQuery = true. Register as a named module, +// since jQuery can be concatenated with other files that may use define, +// but not use a proper concatenation script that understands anonymous +// AMD modules. A named AMD is safest and most robust way to register. +// Lowercase jquery is used because AMD module names are derived from +// file names, and jQuery is normally delivered in a lowercase file name. +// Do this after creating the global so that if an AMD module wants to call +// noConflict to hide this version of jQuery, it will work. +if ( typeof define === "function" && define.amd && define.amd.jQuery ) { + define( "jquery", [], function () { return jQuery; } ); +} + +})( window ); diff --git a/v1/Betas/RGB_V1.5/main/i2c.ino b/v1/Betas/RGB_V1.5/main/i2c.ino new file mode 100644 index 0000000..23fa91c --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/i2c.ino @@ -0,0 +1,63 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +const uint8_t IMUAddress = 0x68; // AD0 is logic low on the PCB +const uint16_t I2C_TIMEOUT = 1000; // Used to check for errors in I2C communication + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t data, bool sendStop) { + return i2cWrite(registerAddress, &data, 1, sendStop); // Returns 0 on success +} + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t *data, uint8_t length, bool sendStop) { + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + Wire.write(data, length); + uint8_t rcode = Wire.endTransmission(sendStop); // Returns 0 on success + if (rcode) { + Serial.print(F("i2cWrite failed: ")); + Serial.println(rcode); + } + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission +} + +uint8_t i2cRead(uint8_t registerAddress, uint8_t *data, uint8_t nbytes) { + uint32_t timeOutTimer; + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + uint8_t rcode = Wire.endTransmission(false); // Don't release the bus + if (rcode) { + Serial.print(F("i2cRead failed: ")); + Serial.println(rcode); + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission + } + Wire.requestFrom(IMUAddress, nbytes, (uint8_t)true); // Send a repeated start and then release the bus after reading + for (uint8_t i = 0; i < nbytes; i++) { + if (Wire.available()) + data[i] = Wire.read(); + else { + timeOutTimer = micros(); + while (((micros() - timeOutTimer) < I2C_TIMEOUT) && !Wire.available()); + if (Wire.available()) + data[i] = Wire.read(); + else { + Serial.println(F("i2cRead timeout")); + return 5; // This error value is not already taken by endTransmission + } + } + } + return 0; // Success +} diff --git a/v1/Betas/RGB_V1.5/main/main.ino b/v1/Betas/RGB_V1.5/main/main.ino new file mode 100644 index 0000000..892f8c1 --- /dev/null +++ b/v1/Betas/RGB_V1.5/main/main.ino @@ -0,0 +1,1321 @@ +/** + 自平衡莱洛三角形 RGB版 HW:Ver 1.5 FW:Ver 1.2.1 + 立创EDA https://oshwhub.com/muyan2020/zi-ping-heng-di-lai-luo-san-jiao_10-10-ban-ben_copy + RGB版本程序 https://gitee.com/muyan3000/RGBFOC 基于45°(https://gitee.com/coll45/foc/)程序修改 + arduino开发环境-灯哥开源FOChttps://gitee.com/ream_d/Deng-s-foc-controller,并安装Kalman。 + + FOC引脚32, 33, 25, 22 22为enable + AS5600霍尔传感器 SDA-23 SCL-5 MPU6050六轴传感器 SDA-19 SCL-18 + 本程序有两种平衡方式, FLAG_V为1时使用电压控制,为0时候速度控制。电压控制时LQR参数使用K1和K2,速度控制时LQR参数使用K3和K4 + 在wifi上位机窗口中输入:TA+角度,就可以修改平衡角度 + 比如让平衡角度为90度,则输入:TA90,并且会存入eeprom的位置0中 注:wifi发送命令不能过快,因为每次都会保存进eeprom + 在使用自己的电机时,请一定记得修改默认极对数,即 BLDCMotor(5) 中的值,设置为自己的极对数数字,磁铁数量/2 + 程序默认设置的供电电压为 12V,用其他电压供电请记得修改 voltage_power_supply , voltage_limit 变量中的值 + V1默认PID针对的电机是 GB2204 ,使用自己的电机需要修改PID参数,才能实现更好效果 + V2电机是2715 +*/ +#include +#include "Command.h" +#include +#include //引用以使用异步UDP +#include "Kalman.h" // Source: https://github.com/TKJElectronics/KalmanFilter +#include "EEPROM.h" + +#include +#include +#include +#include +#include "SPIFFS.h" +#include +#define timezone 8 + +#include +#define DATA_PIN 16 //RGB pin +#define LED_TYPE WS2812B +#define COLOR_ORDER GRB +#define NUM_LEDS 21 //LED数量 +int rgb_brightness = 25; //初始化亮度 +CRGB leds[NUM_LEDS]; + +unsigned long TenthSecondsSinceStart = 0; +void TenthSecondsSinceStartTask(); +void OnTenthSecond(); +void OnSecond(); +void StartWebServer(); + +#define ACTIVE_PIN 4 //状态灯 +#define BAT_VOLTAGE_SENSE_PIN 34 //电池电压检测ADC,如果旧版PCB无电压检测电路,则注释掉此行 +const double R1_VOLTAGE = 68000; //68K +const double R2_VOLTAGE = 10000; //10K +const double min_voltage = 9.5; //电池检测最低电压 +double bat_voltage; + +const int threshold_top = 20; //触摸顶部阈值 +const int threshold_bottom = 1; //触摸底部阈值,越接近数值越小 +const int threshold_count = 4; //触摸计数器有效值,通常会有意外的自动触发 + +int touchread[4] = {100, 100, 100, 100}; //初始化触摸读取值为100,无触摸 +int touchDetected[4] = {}; //通过touchdetected持续计数判断是否按键,防止无触碰触发 + +bool touch_touched[4] = {}; //单击判断 +int touch_touched_times[4] = {}; //单击次数,单击切换模式,双击 +int touch_touching_time[4] = {}; //持续触摸秒数,用于判断长按事件,长按关闭,长按开启,开启状态长按调光, +bool touch_STATE[4] = {1, 1, 1, 1}; // 定义按键触发对象状态变量初始值为true默认开启 T2 T3 T4 + +const char *username = "admin"; //web用户名 +const char *userpassword = "reuleaux123"; //web用户密码 +const char *ServerName = "ESP32-Reuleaux-RGB"; +char mac_tmp[6]; +const char *ssid = mac_tmp; +const char *password = "Reul12345678"; +char DateTimeStr[20] = "1970-01-01 00:00:00"; +char Debug_Log[255][255]; +uint32_t loop_time_begin = millis(); +int debug_times; +bool log_control = 0, debug_log_control = 0; + +WebServer ESP32Server(80); + +Kalman kalmanZ; +#define gyroZ_OFF -0.19 +/* ----IMU Data---- */ + +double accX, accY, accZ; +double gyroX, gyroY, gyroZ; +int16_t tempRaw; +bool stable = 0 , battery_low = 0; +uint32_t last_unstable_time; +uint32_t last_stable_time; + +double gyroZangle; // Angle calculate using the gyro only +double compAngleZ; // Calculated angle using a complementary filter +double kalAngleZ; // Calculated angle using a Kalman filter +float pendulum_angle; + +uint32_t timer; +uint8_t i2cData[14]; // Buffer for I2C data +/* ----FOC Data---- */ + +// driver instance +double acc2rotation(double x, double y); +float constrainAngle(float x); + +bool wifi_flag = 0; +AsyncUDP udp; //创建UDP对象 +unsigned int localUdpPort = 2333; //本地端口号 +void wifi_print(char * s, double num); + +MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C); +TwoWire I2Ctwo = TwoWire(1); +LowPassFilter lpf_throttle{0.00}; + +//倒立摇摆参数 +//3和4是速度控制稳定前和后 +float LQR_K3_1 = 10; //速度控制摇摆到平衡 +float LQR_K3_2 = 1.7; // +float LQR_K3_3 = 1.75; // + +float LQR_K4_1 = 2.4; //速度控制平衡态 +float LQR_K4_2 = 1.5; // +float LQR_K4_3 = 1.42; // + +//电机参数 +BLDCMotor motor = BLDCMotor(5); //电机极数 +BLDCDriver3PWM driver = BLDCDriver3PWM(32, 33, 25, 22); +float target_velocity = 0; //目标速度 +float target_angle = 89.3; //平衡角度 例如TA89.3 设置平衡角度89.3 +float target_voltage = 0; //目标电压 +float swing_up_voltage = 1.8; //摇摆电压 左右摇摆的电压,越大越快到平衡态,但是过大会翻过头 +float swing_up_angle = 20; //摇摆角度 离平衡角度还有几度时候,切换到自平衡控制 +float v_i_1 = 20; //非稳态速度环I +float v_p_1 = 0.5; //非稳态速度环P +float v_i_2 = 10; //稳态速度环I +float v_p_2 = 0.2; //稳态速度环P +//命令设置 +Command comm; +bool Motor_enable_flag = 0; +int test_flag = 0; +void do_TA(char* cmd) { + comm.scalar(&target_angle, cmd); + EEPROM.writeFloat(0, target_angle); +} +void do_SV(char* cmd) { + comm.scalar(&swing_up_voltage, cmd); + EEPROM.writeFloat(4, swing_up_voltage); +} +void do_SA(char* cmd) { + comm.scalar(&swing_up_angle, cmd); + EEPROM.writeFloat(8, swing_up_angle); +} + +void do_START(char* cmd) { + wifi_flag = !wifi_flag; +} +void do_MOTOR(char* cmd) +{ + if (Motor_enable_flag) + motor.enable(); + else + motor.disable(); + Motor_enable_flag = !Motor_enable_flag; +} + +void do_TVQ(char* cmd) +{ + if (test_flag == 1) + test_flag = 0; + else + test_flag = 1; +} +void do_TVV(char* cmd) +{ + if (test_flag == 2) + test_flag = 0; + else + test_flag = 2; +} +void do_VV(char* cmd) { + comm.scalar(&target_velocity, cmd); +} +void do_VQ(char* cmd) { + comm.scalar(&target_voltage, cmd); +} + +void do_vp1(char* cmd) { + comm.scalar(&v_p_1, cmd); + EEPROM.writeFloat(12, v_p_1); +} +void do_vi1(char* cmd) { + comm.scalar(&v_i_1, cmd); + EEPROM.writeFloat(16, v_i_1); +} +void do_vp2(char* cmd) { + comm.scalar(&v_p_2, cmd); + EEPROM.writeFloat(20, v_p_2); +} +void do_vi2(char* cmd) { + comm.scalar(&v_i_2, cmd); + EEPROM.writeFloat(24, v_i_2); +} +void do_tv(char* cmd) { + comm.scalar(&target_velocity, cmd); +} +void do_K31(char* cmd) { + comm.scalar(&LQR_K3_1, cmd); +} +void do_K32(char* cmd) { + comm.scalar(&LQR_K3_2, cmd); +} +void do_K33(char* cmd) { + comm.scalar(&LQR_K3_3, cmd); +} +void do_K41(char* cmd) { + comm.scalar(&LQR_K4_1, cmd); +} +void do_K42(char* cmd) { + comm.scalar(&LQR_K4_2, cmd); +} +void do_K43(char* cmd) { + comm.scalar(&LQR_K4_3, cmd); +} + +void Debug_Log_func(String debuglog, bool debug_control = debug_log_control) { + if (debug_control) { + uint32_t tmp_loop_time_begin = millis(); + sprintf(Debug_Log[debug_times], "%s\r\nBegin time:%d\tEnd time:%d\tProcessed in %d ms\tFreeHeap:%d\r\n%s", Debug_Log[debug_times], loop_time_begin, tmp_loop_time_begin, (tmp_loop_time_begin - loop_time_begin), ESP.getFreeHeap(), debuglog.c_str()); + loop_time_begin = tmp_loop_time_begin; + debug_times++; + } +} + +bool AutoWifiConfig() +{ + //wifi初始化 + WiFi.mode(WIFI_AP); + while (!WiFi.softAP(ssid, password)) {}; //启动AP + Serial.println("AP启动成功"); + Serial.println("Ready"); + Serial.print("IP address: "); + Serial.println(WiFi.softAPIP()); + byte mac[6]; + WiFi.macAddress(mac); + WiFi.setHostname(ServerName); + Serial.printf("macAddress 0x%02X:0x%02X:0x%02X:0x%02X:0x%02X:0x%02X\r\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); + + while (!udp.listen(localUdpPort)) //等待udp监听设置成功 + { + } + udp.onPacket(onPacketCallBack); //注册收到数据包事件 + + ArduinoOTA.setHostname(ServerName); + //以下是启动OTA,可以通过WiFi刷新固件 + ArduinoOTA.onStart([]() { + String type; + if (ArduinoOTA.getCommand() == U_FLASH) { + type = "sketch"; + } else { // U_SPIFFS + type = "filesystem"; + } + + // NOTE: if updating SPIFFS this would be the place to unmount SPIFFS using SPIFFS.end() + Serial.println("Start updating " + type); + }); + ArduinoOTA.onEnd([]() { + Serial.println("\nEnd"); + }); + ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { + Serial.printf("Progress: %u%%\r", (progress / (total / 100))); + }); + ArduinoOTA.onError([](ota_error_t error) { + Serial.printf("Error[%u]: ", error); + if (error == OTA_AUTH_ERROR) { + Serial.println("Auth Failed"); + } else if (error == OTA_BEGIN_ERROR) { + Serial.println("Begin Failed"); + } else if (error == OTA_CONNECT_ERROR) { + Serial.println("Connect Failed"); + } else if (error == OTA_RECEIVE_ERROR) { + Serial.println("Receive Failed"); + } else if (error == OTA_END_ERROR) { + Serial.println("End Failed"); + } + }); + ArduinoOTA.begin(); +} + +void onPacketCallBack(AsyncUDPPacket packet) +{ + char* da; + da = (char*)(packet.data()); + Serial.println(da); + comm.run(da); + EEPROM.commit(); + // packet.print("reply data"); +} +// instantiate the commander +void setup() { + Debug_Log_func("Before setup", 1); + Serial.begin(115200); + + pinMode(ACTIVE_PIN, OUTPUT); + digitalWrite(ACTIVE_PIN, HIGH); + + uint32_t chipId = 0; + for (int i = 0; i < 17; i = i + 8) { + chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i; + } + Serial.printf("Chip ID: %d\r\n", chipId); + + Serial.printf("ESP32 Chip ID = %04X", (uint16_t)(ESP.getEfuseMac() >> 32)); //print High 2 bytes + Serial.printf("%08X\r\n", (uint32_t)ESP.getEfuseMac()); //print Low 4bytes. + + Serial.printf("Chip model = %s Rev %d\r\n", ESP.getChipModel(), ESP.getChipRevision()); + Serial.printf("This chip has %d cores CpuFreqMHz = %u\r\n", ESP.getChipCores(), ESP.getCpuFreqMHz()); + Serial.printf("get Cycle Count = %u\r\n", ESP.getCycleCount()); + Serial.printf("SDK version:%s\r\n", ESP.getSdkVersion()); //获取IDF版本 + + //获取片内内存 Internal RAM + Serial.printf("Total heap size = %u\t", ESP.getHeapSize()); + Serial.printf("Available heap = %u\r\n", ESP.getFreeHeap()); + Serial.printf("Lowest level of free heap since boot = %u\r\n", ESP.getMinFreeHeap()); + Serial.printf("Largest block of heap that can be allocated at once = %u\r\n", ESP.getMaxAllocHeap()); + + //SPI RAM + Serial.printf("Total Psram size = %u\t", ESP.getPsramSize()); + Serial.printf("Available Psram = %u\r\n", ESP.getFreePsram()); + Serial.printf("Lowest level of free Psram since boot = %u\r\n", ESP.getMinFreePsram()); + Serial.printf("Largest block of Psram that can be allocated at once = %u\r\n", ESP.getMinFreePsram()); + + if (!EEPROM.begin(1000)) { + Serial.println("Failed to initialise EEPROM"); + Serial.println("Restarting..."); + delay(1000); + esp_restart(); + } + // eeprom 读取 + int k, j; + j = 0; + for (k = 0; k <= 24; k = k + 4) + { + float nan = EEPROM.readFloat(k); + if (isnan(nan)) + { + j = 1; + Serial.println("frist write"); + EEPROM.writeFloat(0, target_angle); delay(10); EEPROM.commit(); + EEPROM.writeFloat(4, swing_up_voltage); delay(10); EEPROM.commit(); + EEPROM.writeFloat(8, swing_up_angle); delay(10); EEPROM.commit(); + EEPROM.writeFloat(12, v_p_1); delay(10); EEPROM.commit(); + EEPROM.writeFloat(16, v_i_1); delay(10); EEPROM.commit(); + EEPROM.writeFloat(20, v_p_2); delay(10); EEPROM.commit(); + EEPROM.writeFloat(24, v_i_2); delay(10); EEPROM.commit(); + } + } + if (j == 0) + { + target_angle = EEPROM.readFloat(0); + swing_up_voltage = EEPROM.readFloat(4); + swing_up_angle = EEPROM.readFloat(8); + v_p_1 = EEPROM.readFloat(12); + v_i_1 = EEPROM.readFloat(16); + v_p_2 = EEPROM.readFloat(20); + v_i_2 = EEPROM.readFloat(24); + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + } + + //命令设置 + comm.add("TA", do_TA); + comm.add("START", do_START); + comm.add("MOTOR", do_MOTOR); + comm.add("SV", do_SV); + comm.add("SA", do_SA); + comm.add("TVQ", do_TVQ); + comm.add("TVV", do_TVV); + comm.add("VV", do_VV); + comm.add("VQ", do_VQ); + //速度环参数 + comm.add("VP1", do_vp1); + comm.add("VI1", do_vi1); + comm.add("VP2", do_vp2); + comm.add("VI2", do_vi2); + comm.add("TV", do_tv); + comm.add("K31", do_K31); + comm.add("K32", do_K32); + comm.add("K33", do_K33); + comm.add("K41", do_K41); + comm.add("K42", do_K42); + comm.add("K43", do_K43); + + // tell FastLED about the LED strip configuration + FastLED.addLeds(leds, NUM_LEDS) + .setCorrection(TypicalLEDStrip) + .setDither(rgb_brightness < 255); + // set master brightness control + FastLED.setBrightness(rgb_brightness); + + CRGB c_rgb[5]; + c_rgb[0] = CRGB::White; + c_rgb[2] = CRGB::Red; + c_rgb[1] = CRGB::Green; + c_rgb[3] = CRGB::Blue; + c_rgb[4] = CRGB::Purple; + + for ( int j = 0; j < 5; j++) { + for ( int i = 0; i < NUM_LEDS; i++) { + leds[i] = c_rgb[j]; + FastLED.show(); + delay(15); + } + delay(300); + } + + sprintf(mac_tmp, "%02X\r\n", (uint32_t)(ESP.getEfuseMac() >> (24) )); + sprintf(mac_tmp, "ESP32-%c%c%c%c%c%c", mac_tmp[4], mac_tmp[5], mac_tmp[2], mac_tmp[3], mac_tmp[0], mac_tmp[1] ); + + if ( touch_STATE[3] ) { + AutoWifiConfig(); + StartWebServer(); + } + + + // kalman mpu6050 init + Wire.begin(19, 18, 400000); // Set I2C frequency to 400kHz + i2cData[0] = 7; // Set the sample rate to 1000Hz - 8kHz/(7+1) = 1000Hz + i2cData[1] = 0x00; // Disable FSYNC and set 260 Hz Acc filtering, 256 Hz Gyro filtering, 8 KHz sampling + i2cData[2] = 0x00; // Set Gyro Full Scale Range to ±250deg/s + i2cData[3] = 0x00; // Set Accelerometer Full Scale Range to ±2g + while (i2cWrite(0x19, i2cData, 4, false)); // Write to all four registers at once + while (i2cWrite(0x6B, 0x01, true)); // PLL with X axis gyroscope reference and disable sleep mode + while (i2cRead(0x75, i2cData, 1)); + if (i2cData[0] != 0x68) + { // Read "WHO_AM_I" register + Serial.print(F("Error reading sensor")); + while (1); + } + + delay(100); // Wait for sensor to stabilize + + /* Set kalman and gyro starting angle */ + while (i2cRead(0x3B, i2cData, 6)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + double pitch = acc2rotation(accX, accY); + kalmanZ.setAngle(pitch); // Set starting angle + gyroZangle = pitch; + timer = micros(); + Serial.println("kalman mpu6050 init"); + + I2Ctwo.begin(23, 5, 400000); //SDA,SCL + sensor.init(&I2Ctwo); + + //连接motor对象与传感器对象 + motor.linkSensor(&sensor); + + //供电电压设置 [V] + driver.voltage_power_supply = 12; + driver.init(); + + //连接电机和driver对象 + motor.linkDriver(&driver); + + //FOC模型选择 + motor.foc_modulation = FOCModulationType::SpaceVectorPWM; + + //运动控制模式设置 + motor.controller = MotionControlType::velocity; + + //速度PI环设置 + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + + //最大电机限制电压 + motor.voltage_limit = 12; // [V]s + + //速度低通滤波时间常数 + motor.LPF_velocity.Tf = 0.02; + + // angle P controller + motor.P_angle.P = 20; + + //设置最大速度限制 + motor.velocity_limit = 180; // [rad/s] + + motor.useMonitoring(Serial); + + //初始化电机 + motor.init(); + + //初始化 FOC + motor.initFOC(); + + Serial.println(F("Motor ready.")); + Serial.println(F("Set the target velocity using serial terminal:")); + + + // 启动闪存文件系统 + if (SPIFFS.begin()) + { + Serial.println("SPIFFS Started."); + } + else + { + Serial.println("SPIFFS Failed to Start."); + } + + + Serial.print("System is ready \t Free Heap: "); + Serial.println(ESP.getFreeHeap()); + Serial.println("-----------------------------------------------"); + Serial.println(""); + + Debug_Log_func("setup", 1); +} + +char buf[255]; +long loop_count = 0; +double last_pitch; +void loop() { + Debug_Log_func("loop"); + if ( touch_STATE[3] ) { + ESP32Server.handleClient(); + //delay(1);//allow the cpu to switch to other tasks + ArduinoOTA.handle(); + } + motor.loopFOC(); + + while (i2cRead(0x3B, i2cData, 14)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + tempRaw = (int16_t)((i2cData[6] << 8) | i2cData[7]); + gyroX = (int16_t)((i2cData[8] << 8) | i2cData[9]); + gyroY = (int16_t)((i2cData[10] << 8) | i2cData[11]); + gyroZ = (int16_t)((i2cData[12] << 8) | i2cData[13]); + + double dt = (double)(micros() - timer) / 1000000; // Calculate delta time + timer = micros(); + + double pitch = acc2rotation(accX, accY); + //double pitch2 = atan(-accX / sqrt(accY * accY + accZ * accZ)) * RAD_TO_DEG; + double gyroZrate = gyroZ / 131.0; // Convert to deg/s + if (abs(pitch - last_pitch) > 100) { + //kalmanZ.setAngle(pitch); + } + + kalAngleZ = kalmanZ.getAngle(pitch, gyroZrate + gyroZ_OFF, dt); + last_pitch = pitch; + gyroZangle += (gyroZrate + gyroZ_OFF) * dt; // Calculate gyro angle without any filter + compAngleZ = 0.93 * (compAngleZ + (gyroZrate + gyroZ_OFF) * dt) + 0.07 * pitch; // Calculate the angle using a Complimentary filter + + // Reset the gyro angle when it has drifted too much + if (gyroZangle < -180 || gyroZangle > 180) + gyroZangle = kalAngleZ; + + pendulum_angle = constrainAngle(fmod(kalAngleZ, 120) - target_angle); //摆角计算 + + // pendulum_angle当前角度与期望角度差值,在差值大的时候进行摇摆,差值小的时候LQR控制电机保持平衡 + if (test_flag == 0) //正常控制 + { + if (abs(pendulum_angle) < swing_up_angle) // if angle small enough stabilize 0.5~30°,1.5~90° + { + target_velocity = controllerLQR(pendulum_angle, gyroZrate, motor.shaftVelocity()); + if (abs(target_velocity) > motor.velocity_limit) + target_velocity = _sign(target_velocity) * motor.velocity_limit; + + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + else // else do swing-up + { // sets swing_up_voltage to the motor in order to swing up + motor.controller = MotionControlType::torque; + target_voltage = -_sign(gyroZrate) * swing_up_voltage; + motor.move(target_voltage); + } + } + else if (test_flag == 1) + { + motor.controller = MotionControlType::torque; + motor.move(target_voltage); + } + else + { + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + + //串口输出数据部分,不需要的情况可以改为0 +#if 0 + + Serial.print(accX); Serial.print("\t"); + Serial.print(accY); Serial.print("\t"); + Serial.print(atan(accX / accY) / 1.570796 * 90); Serial.print("\t"); + Serial.print(pitch); Serial.print("\t"); + Serial.print(gyroZangle); Serial.print("\t"); + Serial.print(compAngleZ); Serial.print("\t"); + Serial.print(kalAngleZ); Serial.print("\t"); + + Serial.print(target_voltage); Serial.print("\t"); + // Serial.print(target_velocity);Serial.print("\t"); + Serial.print(motor.shaft_velocity); Serial.print("\t"); + Serial.print(target_angle); Serial.print("\t"); + Serial.print(pendulum_angle); Serial.print("\t"); + Serial.print(gyroZrate); Serial.print("\t"); + Serial.print("\r\n"); +#endif + // motor.move(target_velocity); + //可以使用该方法wifi发送udp信息 + if (wifi_flag) + { + digitalWrite(ACTIVE_PIN, LOW); + memset(buf, 0, strlen(buf)); + + wifi_print("v", motor.shaftVelocity()); + wifi_print("vq", motor.voltage.q); + wifi_print("p", pendulum_angle); + wifi_print("t", target_angle); + wifi_print("k", kalAngleZ); + wifi_print("g", gyroZrate); + wifi_print("BAT", driver.voltage_power_supply); + + udp.writeTo((const unsigned char*)buf, strlen(buf), IPAddress(192, 168, 4, 2), localUdpPort); //广播数据 + digitalWrite(ACTIVE_PIN, HIGH); + } + + //触摸感应处理 + touchAttach(1, T2); + touchAttach(2, T3); + touchAttach(3, T4); + + + //单击事件处理 + if (touch_touched[1]) { + //Serial.print("\nLight1 touched "); + //Serial.println(touch_touched_times[1]); + touch_touched[1] = false; + } + + if (touch_touched[2]) { + //Serial.print("\nLight2 touched "); + //Serial.println(touch_touched_times[2]); + + touch_touched[2] = false; + } + + if (touch_touched[3]) { + //Serial.print("\nLight2 touched "); + //Serial.println(touch_touched_times[2]); + + touch_touched[3] = false; + } + + //灯光及按键处理 + if ( touch_STATE[1] ) { + pride(); + addGlitter(15); + FastLED.show(); + } else { + FastLED.clearData(); + FastLED.show(); + } + + TenthSecondsSinceStartTask(); +} + +/* mpu6050加速度转换为角度 + acc2rotation(ax, ay) + acc2rotation(az, ay) */ +double acc2rotation(double x, double y) +{ + double tmp_kalAngleZ = (atan(x / y) / 1.570796 * 90); + if (y < 0) + { + return (tmp_kalAngleZ + 180); + } + else if (x < 0) + { + //将当前值与前值比较,当前差值大于100则认为异常 + if (!isnan(kalAngleZ) && (tmp_kalAngleZ + 360 - kalAngleZ) > 100) { + //Serial.print("X<0"); Serial.print("\t"); + //Serial.print(tmp_kalAngleZ); Serial.print("\t"); + //Serial.print(kalAngleZ); Serial.print("\t"); + //Serial.print("\r\n"); + if (tmp_kalAngleZ < 0 && kalAngleZ < 0) //按键右边角 + return tmp_kalAngleZ; + else //按键边异常处理 + return tmp_kalAngleZ; + } else + return (tmp_kalAngleZ + 360); + } + else + { + return tmp_kalAngleZ; + } +} + +// function constraining the angle in between -60~60 +float constrainAngle(float x) +{ + float a = 0; + if (x < 0) + { + a = 120 + x; + if (a < abs(x)) + return a; + } + return x; +} +// LQR stabilization controller functions +// calculating the voltage that needs to be set to the motor in order to stabilize the pendulum +float controllerLQR(float p_angle, float p_vel, float m_vel) +{ + // if angle controllable + // calculate the control law + // LQR controller u = k*x + // - k = [40, 7, 0.3] + // - k = [13.3, 21, 0.3] + // - x = [pendulum angle, pendulum velocity, motor velocity]' + + if (abs(p_angle) > 2.5) //摆角大于2.5则进入非稳态,记录非稳态时间 + { + last_unstable_time = millis(); + if (stable) //如果是稳态进入非稳态则调整为目标角度 + { + //target_angle = EEPROM.readFloat(0) - p_angle; + target_angle = EEPROM.readFloat(0); + stable = 0; + } + } + if ((millis() - last_unstable_time) > 1000 && !stable) //非稳态进入稳态超过500ms检测,更新目标角为目标角+摆角,假设进入稳态 + { + //target_angle -= _sign(target_velocity) * 0.4; + target_angle = target_angle+p_angle; + stable = 1; + } + + if ((millis() - last_stable_time) > 2500 && stable) { //稳态超过2000ms检测,更新目标角 + if (abs(target_velocity) > 3 && abs(target_velocity) < 10) { //稳态速度偏大校正 + last_stable_time = millis(); + target_angle -= _sign(target_velocity) * 0.2; + } + } + + //Serial.println(stable); + float u; + + if (!stable) //非稳态计算 + { + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + u = LQR_K3_1 * p_angle + LQR_K3_2 * p_vel + LQR_K3_3 * m_vel; + } + else + { + motor.PID_velocity.P = v_p_2; + motor.PID_velocity.I = v_i_2; + u = LQR_K4_1 * p_angle + LQR_K4_2 * p_vel + LQR_K4_3 * m_vel; + } + + return u; +} +void wifi_print(char * s, double num) +{ + char str[255]; + char n[255]; + sprintf(n, "%.2f", num); + strcpy(str, s); + strcat(str, n); + strcat(buf + strlen(buf), str); + strcat(buf, ",\0"); +} + + +unsigned long LastMillis = 0; +void TenthSecondsSinceStartTask() //100ms +{ + unsigned long CurrentMillis = millis(); + if (abs(int(CurrentMillis - LastMillis)) > 100) + { + LastMillis = CurrentMillis; + TenthSecondsSinceStart++; + OnTenthSecond(); + } +} + +void OnSecond() +{ + time_t now = time(nullptr); //获取当前时间 + + //转换成年月日的数字,可以更加自由的显示。 + struct tm* timenow; + timenow = localtime(&now); + unsigned char tempHour = timenow->tm_hour; + unsigned char tempMinute = timenow->tm_min; + unsigned char tempSecond = timenow->tm_sec; + unsigned char tempDay = timenow->tm_mday; + unsigned char tempMonth = timenow->tm_mon + 1; + unsigned int tempYear = timenow->tm_year + 1900; + unsigned char tempWeek = timenow->tm_wday; + + + //生成 年月日时分秒 字符串。 + sprintf(DateTimeStr, "%d-%02d-%02d %02d:%02d:%02d" + , tempYear + , tempMonth + , tempDay + , tempHour + , tempMinute + , tempSecond + ); + + //Serial.println(DateTimeStr); + +#if defined(BAT_VOLTAGE_SENSE_PIN) //电池电压检测 + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + //driver.voltage_power_supply = bat_voltage; + //Serial.println(driver.voltage_power_supply); + if (bat_voltage < min_voltage && !battery_low) + { + battery_low = 1; + Serial.print(driver.voltage_power_supply); + Serial.println("V "); + Serial.print(bat_voltage); + Serial.println("V battery_low!!"); + while (battery_low) + { + FastLED.clearData(); + FastLED.show(); + //motor.loopFOC(); + //motor.move(0); + motor.disable(); + + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + if (bat_voltage >= (min_voltage + 0.5)) { + Serial.print(driver.voltage_power_supply); + Serial.println("V"); + Serial.print(bat_voltage); + Serial.println("V battery ok"); + digitalWrite(ACTIVE_PIN, 0); //电池电压恢复则常亮,需reset重启 + //battery_low = 0; + } else { //电池电压低闪灯 + if (millis() % 500 < 250) + digitalWrite(ACTIVE_PIN, 0); + else + digitalWrite(ACTIVE_PIN, 1); + } + } + } +#endif + + for (byte i = 0; i < 4; i++) { + if (touchDetected[i] > 0) { //检测到触摸中,一秒计数一次,未触摸则清零 + touch_touching_time[i]++; + //长按事件处理 + if (touch_touching_time[i] % 2 == 0) { //按住大于2秒 + switch (i) { + case 0: + + break; + case 1: + touch_STATE[i] = !touch_STATE[i]; //灯光状态反处理 + Serial.println("LIGHTS_ON/OFF"); + break; + case 3: + digitalWrite(ACTIVE_PIN, 1); + delay(500); + if(touch_STATE[i]==1){ + ESP32Server.close();//关闭网络服务 + WiFi.disconnect(); + WiFi.mode(WIFI_OFF); + Serial.println("WIFI_OFF"); + }else{ + AutoWifiConfig(); + StartWebServer(); + Serial.println("WIFI_ON"); + } + touch_STATE[i] = !touch_STATE[i]; //状态反处理 + + break; + } + } + } + } +} + +void OnTenthSecond() // 100ms 十分之一秒 +{ + + if (TenthSecondsSinceStart % 3 == 0) //0.3S刷新 + { + if ( touch_touching_time[2] > 1) { //按键2长按大于1秒处理调光 + if ( touch_touched_times[2] == 0 || touch_touched_times[2] % 2 == 0 ) { //第0,2,4,6..次按加亮度,1,3,5...则减 + rgb_brightness = rgb_brightness + 5; + } else { + rgb_brightness = rgb_brightness - 5; + } + //Serial.println(rgb_brightness); + FastLED.setBrightness(rgb_brightness); + } + + } + + if (TenthSecondsSinceStart % 10 == 0) //10次为1秒 + { + OnSecond(); + } +} + +String TimeString(int TimeMillis) { + char stringTime[10]; + int sec = TimeMillis; + int min = sec / 60; + int hr = min / 60; + + sprintf(stringTime, "%02d:%02d:%02d", + hr, min % 60, sec % 60 + ); + return stringTime; +} + +String ProcessUpdate() //页面更新 +{ + //自动生成一串用“,”隔开的字符串。 + //HTML脚本会按照“, ”分割,形成一个字符串数组。 + //并把这个数组填个表格的相应部分。 + String ReturnString; + ReturnString = DateTimeStr; + + ReturnString += ","; + ReturnString += TimeString(millis() / 1000); + + ReturnString += ","; + ReturnString += log_control; + ReturnString += ","; + ReturnString += debug_log_control; + ReturnString += ","; + ReturnString += test_flag; + ReturnString += ","; + ReturnString += EEPROM.readFloat(0); + ReturnString += ","; + ReturnString += swing_up_voltage; + ReturnString += ","; + ReturnString += swing_up_angle; + ReturnString += ","; + ReturnString += v_i_1; + ReturnString += ","; + ReturnString += v_p_1; + ReturnString += ","; + ReturnString += v_i_2; + ReturnString += ","; + ReturnString += v_p_2; + ReturnString += ","; + ReturnString += bat_voltage; + + if (log_control) { + ReturnString += ","; + ReturnString += motor.shaftVelocity(); + ReturnString += ","; + ReturnString += motor.voltage.q; + ReturnString += ","; + ReturnString += target_velocity; + ReturnString += ","; + ReturnString += pendulum_angle; + ReturnString += ","; + ReturnString += target_angle; + ReturnString += ","; + ReturnString += last_pitch; + ReturnString += ","; + ReturnString += kalAngleZ; + ReturnString += ","; + ReturnString += gyroZangle; + } else { + ReturnString += "0,0,0,0,0,0,0,0,0"; + } + + ReturnString += ","; + if (debug_log_control) { + Debug_Log_func("debug print begin", 1); + int i = 0; + while (strlen(Debug_Log[debug_times - 1]) != 0) { + ReturnString += Debug_Log[i]; + memset( Debug_Log[i], 0, strlen(Debug_Log[i]) ); + i++; + } + debug_times = 0; + Debug_Log_func("debug print end", 1); + } + + //Serial.println(ReturnString); + return ReturnString; +} + +/* + DeviceType =0 + DeviceType =1 + + OPERATION_ON 0,3,6,9 + OPERATION_OFF 1,4,7,10 + OPERATION_ON_OFF 2,5,8,11 +*/ +void PocessControl(int DeviceType, int DeviceIndex, int Operation, float Operation2) +{ + String ReturnString; + char do_commd[20]; + int SysIndex = 6; + + if (DeviceType == 0) //系统操作:开关灯,调节亮度,重启 + { + if (DeviceIndex == 0) + { + if (Operation % SysIndex == 0) + { + touch_STATE[1] = true; + ReturnString += "开灯 亮度 "; + ReturnString += String(rgb_brightness); + } + else if (Operation % SysIndex == 3) //操作off + { + touch_STATE[1] = false; + ReturnString += "关灯"; + } + else if (Operation % SysIndex == 1) //操作+ + { + rgb_brightness = (rgb_brightness + 5) % 260; + FastLED.setBrightness(rgb_brightness); + ReturnString += "亮度增加至 "; + ReturnString += String(rgb_brightness); + if (!touch_STATE[1]) + ReturnString += " 【灯光已关闭】"; + } + else if (Operation % SysIndex == 2) //操作- + { + if (rgb_brightness == 0) + rgb_brightness = 255; + else + rgb_brightness = rgb_brightness - 5; + FastLED.setBrightness(rgb_brightness); + ReturnString += "亮度降低至 "; + ReturnString += String(rgb_brightness); + if (!touch_STATE[1]) + ReturnString += " 【灯光已关闭】"; + } + else if (Operation % SysIndex == 4) + { + ReturnString += "系统重启,请等待重新连接"; + ESP32Server.send(200, "text/plain", ReturnString); + printf("Reboot..."); + esp_restart(); + } + } else if (DeviceIndex == 5) { //参数记录输出控制 + if (Operation % SysIndex == 0) + log_control = 0; + else if (Operation % SysIndex == 1) + log_control = 1; + } else if (DeviceIndex == 6) { //DEBUG输出控制 + if (Operation % SysIndex == 0) { + debug_log_control = 0; + } else if (Operation % SysIndex == 1) { + Debug_Log_func("DEBUG OUT", 1); + debug_log_control = 1; + } + } + } + + if (DeviceType == 1) //调参 + { + if (Operation == 0) + { + sprintf(do_commd, "%.2f", Operation2); + //Serial.println(do_commd); + switch (DeviceIndex) { + case 0: //期望角度TA + do_TA(do_commd); + break; + case 1: //摇摆电压SV + do_SV(do_commd); + break; + case 2: //摇摆角度SA + do_SA(do_commd); + break; + case 3: //速度环P1 + do_vp1(do_commd); + break; + case 4: //速度环I1 + do_vi1(do_commd); + break; + case 5: //速度环P2 + do_vp2(do_commd); + break; + case 6: //速度环I2 + do_vi2(do_commd); + break; + case 7: //do_VQ + do_VQ(do_commd); + break; + case 8: //do_VV + do_VV(do_commd); + break; + case 77: //TVQ + do_TVQ(do_commd); + if (test_flag == 1) + ReturnString += "打开电机电压测试"; + else + ReturnString += "关闭电机电压测试"; + break; + case 88: //TVV + do_TVV(do_commd); + if (test_flag == 2) + ReturnString += "打开电机速度测试"; + else + ReturnString += "关闭电机速度测试"; + break; + case 99: //电机启停 + do_MOTOR(do_commd); + if (!Motor_enable_flag) + ReturnString += "电机启动..."; + else + ReturnString += "电机停机..."; + break; + } + EEPROM.commit(); + } + } + ESP32Server.send(200, "text/plain", ReturnString); +} + + +bool handleFileRead(String path) { //处理主页访问 + String contentType = "text/html"; + + if (SPIFFS.exists(path)) { // 如果访问的文件可以在SPIFFS中找到 + File file = SPIFFS.open(path, "r"); // 则尝试打开该文件 + ESP32Server.streamFile(file, contentType); // 并且将该文件返回给浏览器 + file.close(); // 并且关闭文件 + return true; // 返回true + } + return false; // 如果文件未找到,则返回false +} + +void handleNotFound() +{ + // 获取用户请求网址信息 + String webAddress = ESP32Server.uri(); + int AutheTimes = 0; + + if (!ESP32Server.authenticate(username, userpassword)) //校验用户是否登录 + { + if (AutheTimes == 3) { + ESP32Server.send(404, "text/plain", "Bye"); + } else { + AutheTimes++; + return ESP32Server.requestAuthentication(); //请求进行用户登录认证 + } + } + + //打印出请求 + if (webAddress != "/update") + { + printf("%s\n", webAddress.c_str()); + } + + //如果是主页请求,则发送FLASH中的index.html文件 + if (webAddress.endsWith("/")) { // 如果访问地址以"/"为结尾 + webAddress = "/index.html"; // 则将访问地址修改为/index.html便于SPIFFS访问 + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("jquery.js")) { + webAddress = "/jquery.js"; + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("highcharts.js")) { + webAddress = "/highcharts.js"; + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("update")) + { + ESP32Server.send(200, "text/plain", ProcessUpdate()); + } + else if (webAddress.startsWith("/Control")) + { + if (ESP32Server.args() == 3) + { + int DeviceType = ESP32Server.arg(0).toInt(); + int DeviceIndex = ESP32Server.arg(1).toInt(); + int Operation = ESP32Server.arg(2).toInt(); + float Operation2 = ESP32Server.arg(2).toFloat(); + if (DeviceType == 1) { + Operation = 0; + } + + printf("DeviceType:%d DeviceIndex:%d Operation:%d Operation2:%.2f\n", DeviceType, DeviceIndex, Operation, Operation2 ); + + PocessControl(DeviceType, DeviceIndex, Operation, Operation2); + } + else + { + ESP32Server.send(404, "text/plain", "404 Not Found"); + } + } + else + { + ESP32Server.send(404, "text/plain", "404 Not Found"); + } +} + +void StartWebServer() +{ + ESP32Server.begin(); + ESP32Server.onNotFound(handleNotFound);//将所有请求导向自己处理的代码 +} + + +// This function draws rainbows with an ever-changing, +// widely-varying set of parameters. +void pride() +{ + static uint16_t sPseudotime = 0; + static uint16_t sLastMillis = 0; + static uint16_t sHue16 = 0; + + uint8_t sat8 = beatsin88( 87, 220, 250); + uint8_t brightdepth = beatsin88( 341, 96, 224); + uint16_t brightnessthetainc16 = beatsin88( 203, (25 * 256), (40 * 256)); + uint8_t msmultiplier = beatsin88(147, 23, 60); + + uint16_t hue16 = sHue16;//gHue * 256; + uint16_t hueinc16 = beatsin88(113, 1, 3000); + + uint16_t ms = millis(); + uint16_t deltams = ms - sLastMillis ; + sLastMillis = ms; + sPseudotime += deltams * msmultiplier; + sHue16 += deltams * beatsin88( 400, 5, 9); + uint16_t brightnesstheta16 = sPseudotime; + + for ( uint16_t i = 0 ; i < NUM_LEDS; i++) { + hue16 += hueinc16; + uint8_t hue8 = hue16 / 256; + + brightnesstheta16 += brightnessthetainc16; + uint16_t b16 = sin16( brightnesstheta16 ) + 32768; + + uint16_t bri16 = (uint32_t)((uint32_t)b16 * (uint32_t)b16) / 65536; + uint8_t bri8 = (uint32_t)(((uint32_t)bri16) * brightdepth) / 65536; + bri8 += (255 - brightdepth); + + CRGB newcolor = CHSV( hue8, sat8, bri8); + + uint16_t pixelnumber = i; + pixelnumber = (NUM_LEDS - 1) - pixelnumber; + + nblend( leds[pixelnumber], newcolor, 64); + } +} + +void addGlitter( fract8 chanceOfGlitter) +{ + if ( random8() < chanceOfGlitter) { + leds[ random16(NUM_LEDS) ] += CRGB::White; + } +} + +double return_voltage_value(int pin_no) +{ + double tmp; + double ADCVoltage; + double inputVoltage; + analogSetPinAttenuation(pin_no, ADC_6db); + + for (int i = 0; i < 20; i++) + { + ADCVoltage = analogReadMilliVolts(pin_no) / 1000.0; + inputVoltage = (ADCVoltage * R1_VOLTAGE) / R2_VOLTAGE; + + tmp = tmp + inputVoltage + ADCVoltage; // formula for calculating voltage in i.e. GND + } + inputVoltage = tmp / 20; + if(inputVoltage!=0) + inputVoltage = inputVoltage + 0.001; +/* + + for (int i = 0; i < 20; i++) + { + tmp = tmp + analogRead(pin_no); + } + tmp = tmp / 20; + + ADCVoltage = ((tmp * 3.3) / 4095.0) + 0.165; + inputVoltage = ADCVoltage / (R2_VOLTAGE / (R1_VOLTAGE + R2_VOLTAGE)); // formula for calculating voltage in i.e. GND +*/ + + return inputVoltage; +} + +//触摸感应处理 +void touchAttach(int touchID, uint8_t touchPin) { + touchread[touchID] = touchRead(touchPin); + if ( touchread[touchID] <= threshold_top && touchread[touchID] > threshold_bottom ) { //达到触发值的计数 + //delay(38); // 0.038秒 + touchDetected[touchID]++; //持续触摸计数 + if ( (touchDetected[touchID] >= threshold_count) && digitalRead(ACTIVE_PIN) == HIGH ) { //达到触发值的,灯不亮则亮灯 + digitalWrite(ACTIVE_PIN, LOW); + } + } else if (touchread[touchID] > threshold_top) { //无触摸处理 + if ( digitalRead(ACTIVE_PIN) == LOW ) { //灭触摸灯 + digitalWrite(ACTIVE_PIN, HIGH); + } + if ( touchDetected[touchID] >= threshold_count ) { //检测无触摸之前的有效计数,触摸过则标记 + touch_touched[touchID] = true; + touch_touched_times[touchID]++; //触摸计数+1 + } + touch_touching_time[touchID] = 0; //持续触摸时间清零 + touchDetected[touchID] = 0; //持续触摸计数清零 + } +} diff --git a/v1/Betas/RGB_V2/.keep b/v1/Betas/RGB_V2/.keep new file mode 100644 index 0000000..e69de29 diff --git a/v1/Betas/RGB_V2/main/.keep b/v1/Betas/RGB_V2/main/.keep new file mode 100644 index 0000000..e69de29 diff --git a/v1/Betas/RGB_V2/main/main/Command.cpp b/v1/Betas/RGB_V2/main/main/Command.cpp new file mode 100644 index 0000000..9c54a6b --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/Command.cpp @@ -0,0 +1,28 @@ +#include "Command.h" + +void Command::run(char* str){ + for(int i=0; i < call_count; i++){ + if(isSentinel(call_ids[i],str)){ // case : call_ids = "T2" str = "T215.15" + call_list[i](str+strlen(call_ids[i])); // get 15.15 input function + break; + } + } +} +void Command::add(char* id, CommandCallback onCommand){ + call_list[call_count] = onCommand; + call_ids[call_count] = id; + call_count++; +} +void Command::scalar(float* value, char* user_cmd){ + *value = atof(user_cmd); +} +bool Command::isSentinel(char* ch,char* str) +{ + char s[strlen(ch)+1]; + strncpy(s,str,strlen(ch)); + s[strlen(ch)] = '\0'; //strncpy need add end '\0' + if(strcmp(ch, s) == 0) + return true; + else + return false; +} diff --git a/v1/Betas/RGB_V2/main/main/Command.h b/v1/Betas/RGB_V2/main/main/Command.h new file mode 100644 index 0000000..20e2fe5 --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/Command.h @@ -0,0 +1,17 @@ +#include +// callback function pointer definiton +typedef void (* CommandCallback)(char*); //!< command callback function pointer +class Command +{ + public: + void add(char* id , CommandCallback onCommand); + void run(char* str); + void scalar(float* value, char* user_cmd); + bool isSentinel(char* ch,char* str); + private: + // Subscribed command callback variables + CommandCallback call_list[20];//!< array of command callback pointers - 20 is an arbitrary number + char* call_ids[20]; //!< added callback commands + int call_count;//!< number callbacks that are subscribed + +}; diff --git a/v1/Betas/RGB_V2/main/main/Kalman.cpp b/v1/Betas/RGB_V2/main/main/Kalman.cpp new file mode 100644 index 0000000..80c7dec --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/Kalman.cpp @@ -0,0 +1,93 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#include "Kalman.h" + +Kalman::Kalman() { + /* We will set the variables like so, these can also be tuned by the user */ + Q_angle = 0.001f; + Q_bias = 0.003f; + R_measure = 0.03f; + + angle = 0.0f; // Reset the angle + bias = 0.0f; // Reset bias + + P[0][0] = 0.0f; // Since we assume that the bias is 0 and we know the starting angle (use setAngle), the error covariance matrix is set like so - see: http://en.wikipedia.org/wiki/Kalman_filter#Example_application.2C_technical + P[0][1] = 0.0f; + P[1][0] = 0.0f; + P[1][1] = 0.0f; +}; + +// The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds +float Kalman::getAngle(float newAngle, float newRate, float dt) { + // KasBot V2 - Kalman filter module - http://www.x-firm.com/?page_id=145 + // Modified by Kristian Lauszus + // See my blog post for more information: http://blog.tkjelectronics.dk/2012/09/a-practical-approach-to-kalman-filter-and-how-to-implement-it + + // Discrete Kalman filter time update equations - Time Update ("Predict") + // Update xhat - Project the state ahead + /* Step 1 */ + rate = newRate - bias; + angle += dt * rate; + + // Update estimation error covariance - Project the error covariance ahead + /* Step 2 */ + P[0][0] += dt * (dt*P[1][1] - P[0][1] - P[1][0] + Q_angle); + P[0][1] -= dt * P[1][1]; + P[1][0] -= dt * P[1][1]; + P[1][1] += Q_bias * dt; + + // Discrete Kalman filter measurement update equations - Measurement Update ("Correct") + // Calculate Kalman gain - Compute the Kalman gain + /* Step 4 */ + float S = P[0][0] + R_measure; // Estimate error + /* Step 5 */ + float K[2]; // Kalman gain - This is a 2x1 vector + K[0] = P[0][0] / S; + K[1] = P[1][0] / S; + + // Calculate angle and bias - Update estimate with measurement zk (newAngle) + /* Step 3 */ + float y = newAngle - angle; // Angle difference + /* Step 6 */ + angle += K[0] * y; + bias += K[1] * y; + + // Calculate estimation error covariance - Update the error covariance + /* Step 7 */ + float P00_temp = P[0][0]; + float P01_temp = P[0][1]; + + P[0][0] -= K[0] * P00_temp; + P[0][1] -= K[0] * P01_temp; + P[1][0] -= K[1] * P00_temp; + P[1][1] -= K[1] * P01_temp; + + return angle; +}; + +void Kalman::setAngle(float angle) { this->angle = angle; }; // Used to set angle, this should be set as the starting angle +float Kalman::getRate() { return this->rate; }; // Return the unbiased rate + +/* These are used to tune the Kalman filter */ +void Kalman::setQangle(float Q_angle) { this->Q_angle = Q_angle; }; +void Kalman::setQbias(float Q_bias) { this->Q_bias = Q_bias; }; +void Kalman::setRmeasure(float R_measure) { this->R_measure = R_measure; }; + +float Kalman::getQangle() { return this->Q_angle; }; +float Kalman::getQbias() { return this->Q_bias; }; +float Kalman::getRmeasure() { return this->R_measure; }; diff --git a/v1/Betas/RGB_V2/main/main/Kalman.h b/v1/Betas/RGB_V2/main/main/Kalman.h new file mode 100644 index 0000000..7de545f --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/Kalman.h @@ -0,0 +1,59 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#ifndef _Kalman_h_ +#define _Kalman_h_ + +class Kalman { +public: + Kalman(); + + // The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds + float getAngle(float newAngle, float newRate, float dt); + + void setAngle(float angle); // Used to set angle, this should be set as the starting angle + float getRate(); // Return the unbiased rate + + /* These are used to tune the Kalman filter */ + void setQangle(float Q_angle); + /** + * setQbias(float Q_bias) + * Default value (0.003f) is in Kalman.cpp. + * Raise this to follow input more closely, + * lower this to smooth result of kalman filter. + */ + void setQbias(float Q_bias); + void setRmeasure(float R_measure); + + float getQangle(); + float getQbias(); + float getRmeasure(); + +private: + /* Kalman filter variables */ + float Q_angle; // Process noise variance for the accelerometer + float Q_bias; // Process noise variance for the gyro bias + float R_measure; // Measurement noise variance - this is actually the variance of the measurement noise + + float angle; // The angle calculated by the Kalman filter - part of the 2x1 state vector + float bias; // The gyro bias calculated by the Kalman filter - part of the 2x1 state vector + float rate; // Unbiased rate calculated from the rate and the calculated bias - you have to call getAngle to update the rate + + float P[2][2]; // Error covariance matrix - This is a 2x2 matrix +}; + +#endif diff --git a/v1/Betas/RGB_V2/main/main/data/highcharts.js b/v1/Betas/RGB_V2/main/main/data/highcharts.js new file mode 100644 index 0000000..4e740e5 --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/data/highcharts.js @@ -0,0 +1,593 @@ +/* + Highcharts JS v9.3.2 (2021-11-29) + + (c) 2009-2021 Torstein Honsi + + License: www.highcharts.com/license +*/ +'use strict';(function(Z,M){"object"===typeof module&&module.exports?(M["default"]=M,module.exports=Z.document?M(Z):M):"function"===typeof define&&define.amd?define("highcharts/highcharts",function(){return M(Z)}):(Z.Highcharts&&Z.Highcharts.error(16,!0),Z.Highcharts=M(Z))})("undefined"!==typeof window?window:this,function(Z){function M(v,a,z,F){v.hasOwnProperty(a)||(v[a]=F.apply(null,z))}var a={};M(a,"Core/Globals.js",[],function(){var v="undefined"!==typeof Z?Z:"undefined"!==typeof window?window: +{},a;(function(a){a.SVG_NS="http://www.w3.org/2000/svg";a.product="Highcharts";a.version="9.3.2";a.win=v;a.doc=a.win.document;a.svg=a.doc&&a.doc.createElementNS&&!!a.doc.createElementNS(a.SVG_NS,"svg").createSVGRect;a.userAgent=a.win.navigator&&a.win.navigator.userAgent||"";a.isChrome=-1!==a.userAgent.indexOf("Chrome");a.isFirefox=-1!==a.userAgent.indexOf("Firefox");a.isMS=/(edge|msie|trident)/i.test(a.userAgent)&&!a.win.opera;a.isSafari=!a.isChrome&&-1!==a.userAgent.indexOf("Safari");a.isTouchDevice= +/(Mobile|Android|Windows Phone)/.test(a.userAgent);a.isWebKit=-1!==a.userAgent.indexOf("AppleWebKit");a.deg2rad=2*Math.PI/360;a.hasBidiBug=a.isFirefox&&4>parseInt(a.userAgent.split("Firefox/")[1],10);a.hasTouch=!!a.win.TouchEvent;a.marginNames=["plotTop","marginRight","marginBottom","plotLeft"];a.noop=function(){};a.supportsPassiveEvents=function(){var v=!1;if(!a.isMS){var u=Object.defineProperty({},"passive",{get:function(){v=!0}});a.win.addEventListener&&a.win.removeEventListener&&(a.win.addEventListener("testPassive", +a.noop,u),a.win.removeEventListener("testPassive",a.noop,u))}return v}();a.charts=[];a.dateFormats={};a.seriesTypes={};a.symbolSizes={};a.chartCount=0})(a||(a={}));"";return a});M(a,"Core/Utilities.js",[a["Core/Globals.js"]],function(a){function v(m,b,d,g){var D=b?"Highcharts error":"Highcharts warning";32===m&&(m=D+": Deprecated member");var x=n(m),c=x?D+" #"+m+": www.highcharts.com/errors/"+m+"/":m.toString();if("undefined"!==typeof g){var r="";x&&(c+="?");B(g,function(m,b){r+="\n - "+b+": "+m; +x&&(c+=encodeURI(b)+"="+encodeURI(m))});c+=r}J(a,"displayError",{chart:d,code:m,message:c,params:g},function(){if(b)throw Error(c);l.console&&-1===v.messages.indexOf(c)&&console.warn(c)});v.messages.push(c)}function z(m,b){var d={};B(m,function(D,x){if(H(m[x],!0)&&!m.nodeType&&b[x])D=z(m[x],b[x]),Object.keys(D).length&&(d[x]=D);else if(H(m[x])||m[x]!==b[x])d[x]=m[x]});return d}function F(m,b){return parseInt(m,b||10)}function y(m){return"string"===typeof m}function G(m){m=Object.prototype.toString.call(m); +return"[object Array]"===m||"[object Array Iterator]"===m}function H(m,b){return!!m&&"object"===typeof m&&(!b||!G(m))}function A(m){return H(m)&&"number"===typeof m.nodeType}function q(m){var b=m&&m.constructor;return!(!H(m,!0)||A(m)||!b||!b.name||"Object"===b.name)}function n(m){return"number"===typeof m&&!isNaN(m)&&Infinity>m&&-Infinity=d-1&&(d=Math.floor(x)),Math.max(0,d-(m(b,"padding-left",!0)||0)-(m(b,"padding-right",!0)||0));if("height"===d)return Math.max(0,Math.min(b.offsetHeight,b.scrollHeight)-(m(b,"padding-top",!0)||0)-(m(b,"padding-bottom",!0)||0));l.getComputedStyle||v(27,!0);if(b=l.getComputedStyle(b,void 0)){var g=b.getPropertyValue(d);h(x,"opacity"!==d)&&(g=F(g))}return g}function B(b,d, +g){for(var m in b)Object.hasOwnProperty.call(b,m)&&d.call(g||b[m],b[m],m,b)}function t(b,d,g){function m(d,m){var L=b.removeEventListener||a.removeEventListenerPolyfill;L&&L.call(b,d,m,!1)}function x(g){var x;if(b.nodeName){if(d){var L={};L[d]=!0}else L=g;B(L,function(b,d){if(g[d])for(x=g[d].length;x--;)m(d,g[d][x].fn)})}}var D="function"===typeof b&&b.prototype||b;if(Object.hasOwnProperty.call(D,"hcEvents")){var l=D.hcEvents;d?(D=l[d]||[],g?(l[d]=D.filter(function(b){return g!==b.fn}),m(d,g)):(x(l), +l[d]=[])):(x(l),delete D.hcEvents)}}function J(b,d,g,l){g=g||{};if(r.createEvent&&(b.dispatchEvent||b.fireEvent&&b!==a)){var m=r.createEvent("Events");m.initEvent(d,!0,!0);g=c(m,g);b.dispatchEvent?b.dispatchEvent(g):b.fireEvent(d,g)}else if(b.hcEvents){g.target||c(g,{preventDefault:function(){g.defaultPrevented=!0},target:b,type:d});m=[];for(var x=b,D=!1;x.hcEvents;)Object.hasOwnProperty.call(x,"hcEvents")&&x.hcEvents[d]&&(m.length&&(D=!0),m.unshift.apply(m,x.hcEvents[d])),x=Object.getPrototypeOf(x); +D&&m.sort(function(b,d){return b.order-d.order});m.forEach(function(d){!1===d.fn.call(b,g)&&g.preventDefault()})}l&&!g.defaultPrevented&&l.call(b,g)}var C=a.charts,r=a.doc,l=a.win;(v||(v={})).messages=[];Math.easeInOutSine=function(b){return-.5*(Math.cos(Math.PI*b)-1)};var b=Array.prototype.find?function(b,d){return b.find(d)}:function(b,d){var m,g=b.length;for(m=0;mm&&(m=b[d]);return m},arrayMin:function(b){for(var d=b.length,m=b[0];d--;)b[d]d?b=g&&(d=[1/g])));for(l=0;l=b||!c&&r<=(d[l]+(d[l+1]||d[l]))/2);l++);return m=w(m*g,-Math.round(Math.log(.001)/Math.LN10))},objectEach:B,offset:function(b){var d=r.documentElement;b=b.parentElement||b.parentNode?b.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:b.top+(l.pageYOffset||d.scrollTop)-(d.clientTop||0),left:b.left+(l.pageXOffset||d.scrollLeft)-(d.clientLeft||0),width:b.width,height:b.height}},pad:function(b,d,g){return Array((d||2)+1-String(b).replace("-","").length).join(g||"0")+ +b},pick:h,pInt:F,relativeLength:function(b,d,g){return/%$/.test(b)?d*parseFloat(b)/100+(g||0):parseFloat(b)},removeEvent:t,splat:function(b){return G(b)?b:[b]},stableSort:function(b,d){var g=b.length,m,l;for(l=0;l>16,(n&65280)>>8,n&255,1]:4===q&&(A=[(n&3840)>>4|(n&3840)>>8,(n&240)>>4|n&240,(n&15)<<4|n&15,1])}if(!A)for(n=u.parsers.length;n--&&!A;){var k=u.parsers[n];(q=k.regex.exec(a))&&(A=k.parse(q))}}A&& +(this.rgba=A)};u.prototype.get=function(a){var A=this.input,q=this.rgba;if("object"===typeof A&&"undefined"!==typeof this.stops){var n=F(A);n.stops=[].slice.call(n.stops);this.stops.forEach(function(k,e){n.stops[e]=[n.stops[e][0],k.get(a)]});return n}return q&&v(q[0])?"rgb"===a||!a&&1===q[3]?"rgb("+q[0]+","+q[1]+","+q[2]+")":"a"===a?""+q[3]:"rgba("+q.join(",")+")":A};u.prototype.brighten=function(a){var A=this.rgba;if(this.stops)this.stops.forEach(function(n){n.brighten(a)});else if(v(a)&&0!==a)for(var q= +0;3>q;q++)A[q]+=y(255*a),0>A[q]&&(A[q]=0),255r?"AM":"PM",P:12>r?"am":"pm",S:n(h.getSeconds()),L:n(Math.floor(e%1E3),3)},a.dateFormats);q(h,function(b,d){for(;-1!==c.indexOf("%"+d);)c=c.replace("%"+d,"function"===typeof b?b.call(p,e):b)});return f?c.substr(0,1).toUpperCase()+c.substr(1):c};w.prototype.resolveDTLFormat=function(c){return H(c,!0)?c:(c=e(c),{main:c[0],from:c[1],to:c[2]})};w.prototype.getTimeTicks=function(e,h,f,w){var p=this,r=[],l={},b=new p.Date(h),g=e.unitRange,d=e.count||1,m;w=k(w,1);if(F(h)){p.set("Milliseconds", +b,g>=c.second?0:d*Math.floor(p.get("Milliseconds",b)/d));g>=c.second&&p.set("Seconds",b,g>=c.minute?0:d*Math.floor(p.get("Seconds",b)/d));g>=c.minute&&p.set("Minutes",b,g>=c.hour?0:d*Math.floor(p.get("Minutes",b)/d));g>=c.hour&&p.set("Hours",b,g>=c.day?0:d*Math.floor(p.get("Hours",b)/d));g>=c.day&&p.set("Date",b,g>=c.month?1:Math.max(1,d*Math.floor(p.get("Date",b)/d)));if(g>=c.month){p.set("Month",b,g>=c.year?0:d*Math.floor(p.get("Month",b)/d));var D=p.get("FullYear",b)}g>=c.year&&p.set("FullYear", +b,D-D%d);g===c.week&&(D=p.get("Day",b),p.set("Date",b,p.get("Date",b)-D+w+(D4*c.month||p.getTimezoneOffset(h)!==p.getTimezoneOffset(f));h=b.getTime();for(b=1;hr.length&&r.forEach(function(b){0===b%18E5&&"000000000"===p.dateFormat("%H%M%S%L",b)&&(l[b]="day")})}r.info=G(e,{higherRanks:l,totalRange:g*d});return r};w.prototype.getDateFormat=function(e,h,f,w){var p=this.dateFormat("%m-%d %H:%M:%S.%L",h),r={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond";for(b in c){if(e===c.week&&+this.dateFormat("%w",h)===f&&"00:00:00.000"===p.substr(6)){var b="week";break}if(c[b]>e){b=l;break}if(r[b]&&p.substr(r[b])!=="01-01 00:00:00.000".substr(r[b]))break; +"week"!==b&&(l=b)}if(b)var g=this.resolveDTLFormat(w[b]).main;return g};return w}();"";return u});M(a,"Core/DefaultOptions.js",[a["Core/Chart/ChartDefaults.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Color/Palettes.js"],a["Core/Time.js"],a["Core/Utilities.js"]],function(a,u,z,F,y,G){u=u.parse;var v=G.merge,A={colors:F.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "), +shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:a,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44}, +caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"}, +itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:z.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S", +minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:z.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:u("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1, +style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};A.chart.styledMode=!1;"";var q=new y(v(A.global,A.time));a={defaultOptions:A,defaultTime:q,getOptions:function(){return A},setOptions:function(n){v(!0,A,n);if(n.time||n.global)z.time?z.time.update(v(A.global,A.time, +n.global,n.time)):z.time=q;return A}};"";return a});M(a,"Core/Animation/Fx.js",[a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,u,z){var v=a.parse,y=u.win,G=z.isNumber,H=z.objectEach;return function(){function a(a,n,k){this.pos=NaN;this.options=n;this.elem=a;this.prop=k}a.prototype.dSetter=function(){var a=this.paths,n=a&&a[0];a=a&&a[1];var k=this.now||0,e=[];if(1!==k&&n&&a)if(n.length===a.length&&1>k)for(var c=0;c=h+this.startTime){this.now=this.end;this.pos=1;this.update();var w=f[this.prop]=!0;H(f,function(c){!0!==c&&(w=!1)});w&&c&&c.call(e);a=!1}else this.pos=k.easing((n-this.startTime)/h),this.now=this.start+(this.end-this.start)*this.pos,this.update(),a=!0;return a};a.prototype.initPath=function(a,n,k){function e(c,e){for(;c.lengthw[1]){var B=k+ +w[1];0<=B?(w[0]=(+w[0]).toExponential(B).split("e")[0],k=B):(w[0]=w[0].split(".")[0]||0,a=20>k?(w[0]*Math.pow(10,w[1])).toFixed(k):0,w[1]=0)}B=(Math.abs(w[1]?w[0]:a)+Math.pow(10,-Math.max(k,f)-1)).toFixed(k);f=String(q(B)); +var t=3a?"-":"")+(t?f.substr(0,t)+c:"");a=0>+w[1]&&!p?"0":a+f.substr(t).replace(/(\d{3})(?=\d)/g,"$1"+c);k&&(a+=e+B.slice(-k));w[1]&&0!==+a&&(a+="e"+w[1]);return a}var F=a.defaultOptions,y=a.defaultTime,G=u.getNestedProperty,H=u.isNumber,A=u.pick,q=u.pInt;return{dateFormat:function(a,k,e){return y.dateFormat(a,k,e)},format:function(a,k,e){var c="{",h=!1,f=/f$/,w=/\.([0-9])/,p=F.lang,B=e&&e.time||y;e=e&&e.numberFormatter||v;for(var t= +[];a;){var J=a.indexOf(c);if(-1===J)break;var C=a.slice(0,J);if(h){C=C.split(":");c=G(C.shift()||"",k);if(C.length&&"number"===typeof c)if(C=C.join(":"),f.test(C)){var r=parseInt((C.match(w)||["","-1"])[1],10);null!==c&&(c=e(c,r,p.decimalPoint,-1e){F(a,c);for(B=f=0;B<=e;)B+=a[f].size,f++;p=a.splice(f-1,a.length)}F(a,h);for(a=a.map(function(c){return{size:c.size,targets:[c.target],align:z(c.align,.5)}});w;){for(f=a.length;f--;)e=a[f],c=(Math.min.apply(0,e.targets)+Math.max.apply(0,e.targets))/2,e.pos=v(c-e.size*e.align, +0,q-e.size);f=a.length;for(w=!1;f--;)0a[f].pos&&(a[f-1].size+=a[f].size,a[f-1].targets=a[f-1].targets.concat(a[f].targets),a[f-1].align=.5,a[f-1].pos+a[f-1].size>q&&(a[f-1].pos=q-a[f-1].size),a.splice(f,1),w=!0)}k.push.apply(k,p);f=0;a.some(function(c){var e=0;return(c.targets||[]).some(function(){k[f].pos=c.pos+e;if("undefined"!==typeof n&&Math.abs(k[f].pos-k[f].target)>n)return k.slice(0,f+1).forEach(function(c){return delete c.pos}),k.reducedLen=(k.reducedLen||q)-.1* +q,k.reducedLen>.1*q&&u(k,q,n),!0;e+=k[f].size;f++;return!1})});F(k,h);return k}a.distribute=u})(y||(y={}));return y});M(a,"Core/Renderer/SVG/SVGElement.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Renderer/HTML/AST.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Utilities.js"]],function(a,u,z,F,y){var v=a.animate,H=a.animObject,A=a.stop,q=F.deg2rad,n=F.doc,k=F.noop,e=F.svg,c=F.SVG_NS,h=F.win,f=y.addEvent,w=y.attr,p=y.createElement,B=y.css,t=y.defined,J=y.erase,C=y.extend,r=y.fireEvent, +l=y.isArray,b=y.isFunction,g=y.isNumber,d=y.isString,m=y.merge,D=y.objectEach,x=y.pick,I=y.pInt,P=y.syncTimeout,S=y.uniqueKey;a=function(){function a(){this.element=void 0;this.onEvents={};this.opacity=1;this.renderer=void 0;this.SVG_NS=c;this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}a.prototype._defaultGetter=function(b){b=x(this[b+"Value"],this[b],this.element?this.element.getAttribute(b):null,0);/^[\-0-9\.]+$/.test(b)&&(b=parseFloat(b));return b}; +a.prototype._defaultSetter=function(b,d,c){c.setAttribute(d,b)};a.prototype.add=function(b){var d=this.renderer,c=this.element;b&&(this.parentGroup=b);this.parentInverted=b&&b.inverted;"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&d.buildText(this);this.added=!0;if(!b||b.handleZ||this.zIndex)var g=this.zIndexSetter();g||(b?b.element:d.box).appendChild(c);if(this.onAdd)this.onAdd();return this};a.prototype.addClass=function(b,d){var c=d?"":this.attr("class")||"";b=(b||"").split(/ /g).reduce(function(b, +d){-1===c.indexOf(d)&&b.push(d);return b},c?[c]:[]).join(" ");b!==c&&this.attr("class",b);return this};a.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)};a.prototype.align=function(b,c,g){var m={},L=this.renderer,e=L.alignedObjects,l,a,E;if(b){if(this.alignOptions=b,this.alignByTranslate=c,!g||d(g))this.alignTo=l=g||"renderer",J(e,this),e.push(this),g=void 0}else b=this.alignOptions,c=this.alignByTranslate,l=this.alignTo;g=x(g,L[l],"scrollablePlotBox"=== +l?L.plotBox:void 0,L);l=b.align;var r=b.verticalAlign;L=(g.x||0)+(b.x||0);e=(g.y||0)+(b.y||0);"right"===l?a=1:"center"===l&&(a=2);a&&(L+=(g.width-(b.width||0))/a);m[c?"translateX":"x"]=Math.round(L);"bottom"===r?E=1:"middle"===r&&(E=2);E&&(e+=(g.height-(b.height||0))/E);m[c?"translateY":"y"]=Math.round(e);this[this.placed?"animate":"attr"](m);this.placed=!0;this.alignAttr=m;return this};a.prototype.alignSetter=function(b){var d={left:"start",center:"middle",right:"end"};d[b]&&(this.alignValue=b,this.element.setAttribute("text-anchor", +d[b]))};a.prototype.animate=function(b,d,c){var g=this,m=H(x(d,this.renderer.globalAnimation,!0));d=m.defer;x(n.hidden,n.msHidden,n.webkitHidden,!1)&&(m.duration=0);0!==m.duration?(c&&(m.complete=c),P(function(){g.element&&v(g,b,m)},d)):(this.attr(b,void 0,c),D(b,function(b,d){m.step&&m.step.call(this,b,{prop:d,pos:1,elem:this})},this));return this};a.prototype.applyTextOutline=function(b){var d=this.element;-1!==b.indexOf("contrast")&&(b=b.replace(/contrast/g,this.renderer.getContrast(d.style.fill))); +var g=b.split(" ");b=g[g.length-1];if((g=g[0])&&"none"!==g&&F.svg){this.fakeTS=!0;this.ySetter=this.xSetter;g=g.replace(/(^[\d\.]+)(.*?)$/g,function(b,d,c){return 2*Number(d)+c});this.removeTextOutline();var m=n.createElementNS(c,"tspan");w(m,{"class":"highcharts-text-outline",fill:b,stroke:b,"stroke-width":g,"stroke-linejoin":"round"});[].forEach.call(d.childNodes,function(b){var d=b.cloneNode(!0);d.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(b){return d.removeAttribute(b)}); +m.appendChild(d)});var e=n.createElementNS(c,"tspan");e.textContent="\u200b";["x","y"].forEach(function(b){var c=d.getAttribute(b);c&&e.setAttribute(b,c)});m.appendChild(e);d.insertBefore(m,d.firstChild)}};a.prototype.attr=function(b,d,c,g){var m=this.element,e=this.symbolCustomAttribs,L,l=this,E,a;if("string"===typeof b&&"undefined"!==typeof d){var K=b;b={};b[K]=d}"string"===typeof b?l=(this[b+"Getter"]||this._defaultGetter).call(this,b,m):(D(b,function(d,c){E=!1;g||A(this,c);this.symbolName&&-1!== +e.indexOf(c)&&(L||(this.symbolAttr(b),L=!0),E=!0);!this.rotation||"x"!==c&&"y"!==c||(this.doTransform=!0);E||(a=this[c+"Setter"]||this._defaultSetter,a.call(this,d,c,m),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(c)&&this.updateShadows(c,d,a))},this),this.afterSetters());c&&c.call(this);return l};a.prototype.clip=function(b){return this.attr("clip-path",b?"url("+this.renderer.url+"#"+b.id+")":"none")};a.prototype.crisp=function(b,d){d=d||b.strokeWidth|| +0;var c=Math.round(d)%2/2;b.x=Math.floor(b.x||this.x||0)+c;b.y=Math.floor(b.y||this.y||0)+c;b.width=Math.floor((b.width||this.width||0)-2*c);b.height=Math.floor((b.height||this.height||0)-2*c);t(b.strokeWidth)&&(b.strokeWidth=d);return b};a.prototype.complexColor=function(b,d,c){var g=this.renderer,e,L,a,h,E,x,p,f,k,w,B=[],I;r(this.renderer,"complexColor",{args:arguments},function(){b.radialGradient?L="radialGradient":b.linearGradient&&(L="linearGradient");if(L){a=b[L];E=g.gradients;x=b.stops;k=c.radialReference; +l(a)&&(b[L]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"});"radialGradient"===L&&k&&!t(a.gradientUnits)&&(h=a,a=m(a,g.getRadialAttr(k,h),{gradientUnits:"userSpaceOnUse"}));D(a,function(b,d){"id"!==d&&B.push(d,b)});D(x,function(b){B.push(b)});B=B.join(",");if(E[B])w=E[B].attr("id");else{a.id=w=S();var K=E[B]=g.createElement(L).attr(a).add(g.defs);K.radAttr=h;K.stops=[];x.forEach(function(b){0===b[1].indexOf("rgba")?(e=z.parse(b[1]),p=e.get("rgb"),f=e.get("a")):(p=b[1],f=1);b=g.createElement("stop").attr({offset:b[0], +"stop-color":p,"stop-opacity":f}).add(K);K.stops.push(b)})}I="url("+g.url+"#"+w+")";c.setAttribute(d,I);c.gradient=B;b.toString=function(){return I}}})};a.prototype.css=function(b){var d=this.styles,c={},g=this.element,m=["textOutline","textOverflow","width"],a="",l=!d;b&&b.color&&(b.fill=b.color);d&&D(b,function(b,g){d&&d[g]!==b&&(c[g]=b,l=!0)});if(l){d&&(b=C(d,c));if(b)if(null===b.width||"auto"===b.width)delete this.textWidth;else if("text"===g.nodeName.toLowerCase()&&b.width)var r=this.textWidth= +I(b.width);this.styles=b;r&&!e&&this.renderer.forExport&&delete b.width;if(g.namespaceURI===this.SVG_NS){var E=function(b,d){return"-"+d.toLowerCase()};D(b,function(b,d){-1===m.indexOf(d)&&(a+=d.replace(/([A-Z])/g,E)+":"+b+";")});a&&w(g,"style",a)}else B(g,b);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),b&&b.textOutline&&this.applyTextOutline(b.textOutline))}return this};a.prototype.dashstyleSetter=function(b){var d=this["stroke-width"];"inherit"===d&&(d=1);if(b=b&&b.toLowerCase()){var c= +b.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(b=c.length;b--;)c[b]=""+I(c[b])*x(d,NaN);b=c.join(",").replace(/NaN/g,"none");this.element.setAttribute("stroke-dasharray",b)}};a.prototype.destroy=function(){var b=this,d=b.element||{},c=b.renderer,g=d.ownerSVGElement,m=c.isSVG&&"SPAN"===d.nodeName&&b.parentGroup|| +void 0;d.onclick=d.onmouseout=d.onmouseover=d.onmousemove=d.point=null;A(b);if(b.clipPath&&g){var e=b.clipPath;[].forEach.call(g.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){-1f.width)f={width:0, +height:0}}else f=this.htmlGetBBox();g.isSVG&&(d=f.width,g=f.height,E&&(f.height=g={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(g)]||g),c&&(E=c*q,f.width=Math.abs(g*Math.sin(E))+Math.abs(d*Math.cos(E)),f.height=Math.abs(g*Math.cos(E))+Math.abs(d*Math.sin(E))));if(D&&(""===l||0]*>/g,"").replace(/</g,"<").replace(/>/g, +">")};a.prototype.toFront=function(){var b=this.element;b.parentNode.appendChild(b);return this};a.prototype.translate=function(b,d){return this.attr({translateX:b,translateY:d})};a.prototype.updateShadows=function(b,d,c){var g=this.shadows;if(g)for(var m=g.length;m--;)c.call(g[m],"height"===b?Math.max(d-(g[m].cutHeight||0),0):"d"===b?this.d:d,b,g[m])};a.prototype.updateTransform=function(){var b=this.scaleX,d=this.scaleY,c=this.inverted,g=this.rotation,m=this.matrix,e=this.element,a=this.translateX|| +0,l=this.translateY||0;c&&(a+=this.width,l+=this.height);a=["translate("+a+","+l+")"];t(m)&&a.push("matrix("+m.join(",")+")");c?a.push("rotate(90) scale(-1,1)"):g&&a.push("rotate("+g+" "+x(this.rotationOriginX,e.getAttribute("x"),0)+" "+x(this.rotationOriginY,e.getAttribute("y")||0)+")");(t(b)||t(d))&&a.push("scale("+x(b,1)+" "+x(d,1)+")");a.length&&e.setAttribute("transform",a.join(" "))};a.prototype.visibilitySetter=function(b,d,c){"inherit"===b?c.removeAttribute(d):this[d]!==b&&c.setAttribute(d, +b);this[d]=b};a.prototype.xGetter=function(b){"circle"===this.element.nodeName&&("x"===b?b="cx":"y"===b&&(b="cy"));return this._defaultGetter(b)};a.prototype.zIndexSetter=function(b,d){var c=this.renderer,g=this.parentGroup,m=(g||c).element||c.box,e=this.element;c=m===c.box;var a=!1;var l=this.added;var E;t(b)?(e.setAttribute("data-z-index",b),b=+b,this[d]===b&&(l=!1)):t(this[d])&&e.removeAttribute("data-z-index");this[d]=b;if(l){(b=this.zIndex)&&g&&(g.handleZ=!0);d=m.childNodes;for(E=d.length-1;0<= +E&&!a;E--){g=d[E];l=g.getAttribute("data-z-index");var r=!t(l);if(g!==e)if(0>b&&r&&!c&&!E)m.insertBefore(e,d[E]),a=!0;else if(I(l)<=b||r&&(!t(b)||0<=b))m.insertBefore(e,d[E+1]||null),a=!0}a||(m.insertBefore(e,d[c?3:0]||null),a=!0)}return a};return a}();a.prototype["stroke-widthSetter"]=a.prototype.strokeSetter;a.prototype.yGetter=a.prototype.xGetter;a.prototype.matrixSetter=a.prototype.rotationOriginXSetter=a.prototype.rotationOriginYSetter=a.prototype.rotationSetter=a.prototype.scaleXSetter=a.prototype.scaleYSetter= +a.prototype.translateXSetter=a.prototype.translateYSetter=a.prototype.verticalAlignSetter=function(b,d){this[d]=b;this.doTransform=!0};"";return a});M(a,"Core/Renderer/RendererRegistry.js",[a["Core/Globals.js"]],function(a){var v;(function(v){v.rendererTypes={};var u;v.getRendererType=function(a){void 0===a&&(a=u);return v.rendererTypes[a]||v.rendererTypes[u]};v.registerRendererType=function(y,z,H){v.rendererTypes[y]=z;if(!u||H)u=y,a.Renderer=z}})(v||(v={}));return v});M(a,"Core/Renderer/SVG/SVGLabel.js", +[a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,u){var v=this&&this.__extends||function(){var a=function(k,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var a in e)e.hasOwnProperty(a)&&(c[a]=e[a])};return a(k,e)};return function(k,e){function c(){this.constructor=k}a(k,e);k.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}(),F=u.defined,y=u.extend,G=u.isNumber,H=u.merge,A=u.pick,q=u.removeEvent; +return function(n){function k(e,c,a,f,w,p,B,t,J,C){var r=n.call(this)||this;r.paddingLeftSetter=r.paddingSetter;r.paddingRightSetter=r.paddingSetter;r.init(e,"g");r.textStr=c;r.x=a;r.y=f;r.anchorX=p;r.anchorY=B;r.baseline=J;r.className=C;r.addClass("button"===C?"highcharts-no-tooltip":"highcharts-label");C&&r.addClass("highcharts-"+C);r.text=e.text(void 0,0,0,t).attr({zIndex:1});var l;"string"===typeof w&&((l=/^url\((.*?)\)$/.test(w))||r.renderer.symbols[w])&&(r.symbolKey=w);r.bBox=k.emptyBBox;r.padding= +3;r.baselineOffset=0;r.needsBox=e.styledMode||l;r.deferredAttr={};r.alignFactor=0;return r}v(k,n);k.prototype.alignSetter=function(e){e={left:0,center:.5,right:1}[e];e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&G(this.xSetting)&&this.attr({x:this.xSetting}))};k.prototype.anchorXSetter=function(e,c){this.anchorX=e;this.boxAttr(c,Math.round(e)-this.getCrispAdjust()-this.xSetting)};k.prototype.anchorYSetter=function(e,c){this.anchorY=e;this.boxAttr(c,e-this.ySetting)};k.prototype.boxAttr=function(e, +c){this.box?this.box.attr(e,c):this.deferredAttr[e]=c};k.prototype.css=function(e){if(e){var c={};e=H(e);k.textProps.forEach(function(a){"undefined"!==typeof e[a]&&(c[a]=e[a],delete e[a])});this.text.css(c);var h="width"in c;"fontSize"in c||"fontWeight"in c?this.updateTextPadding():h&&this.updateBoxSize()}return a.prototype.css.call(this,e)};k.prototype.destroy=function(){q(this.element,"mouseenter");q(this.element,"mouseleave");this.text&&this.text.destroy();this.box&&(this.box=this.box.destroy()); +a.prototype.destroy.call(this)};k.prototype.fillSetter=function(e,c){e&&(this.needsBox=!0);this.fill=e;this.boxAttr(c,e)};k.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,c=A(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-c,y:this.bBox.y-e}};k.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"], +10):0)%2/2};k.prototype.heightSetter=function(e){this.heightSetting=e};k.prototype.onAdd=function(){var e=this.textStr;this.text.add(this);this.attr({text:F(e)?e:"",x:this.x,y:this.y});this.box&&F(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})};k.prototype.paddingSetter=function(e,c){G(e)?e!==this[c]&&(this[c]=e,this.updateTextPadding()):this[c]=void 0};k.prototype.rSetter=function(e,c){this.boxAttr(c,e)};k.prototype.shadow=function(e){e&&!this.renderer.styledMode&&(this.updateBoxSize(), +this.box&&this.box.shadow(e));return this};k.prototype.strokeSetter=function(e,c){this.stroke=e;this.boxAttr(c,e)};k.prototype["stroke-widthSetter"]=function(e,c){e&&(this.needsBox=!0);this["stroke-width"]=e;this.boxAttr(c,e)};k.prototype["text-alignSetter"]=function(e){this.textAlign=e};k.prototype.textSetter=function(e){"undefined"!==typeof e&&this.text.attr({text:e});this.updateTextPadding()};k.prototype.updateBoxSize=function(){var e=this.text.element.style,c={},a=this.padding,f=this.bBox=G(this.widthSetting)&& +G(this.heightSetting)&&!this.textAlign||!F(this.text.textStr)?k.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth();this.height=(this.heightSetting||f.height||0)+2*a;e=this.renderer.fontMetrics(e&&e.fontSize,this.text);this.baselineOffset=a+Math.min((this.text.firstLineMetrics||e).b,f.height||Infinity);this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2);this.needsBox&&(this.box||(a=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),a.addClass(("button"=== +this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),a.add(this)),a=this.getCrispAdjust(),c.x=a,c.y=(this.baseline?-this.baselineOffset:0)+a,c.width=Math.round(this.width),c.height=Math.round(this.height),this.box.attr(y(c,this.deferredAttr)),this.deferredAttr={})};k.prototype.updateTextPadding=function(){var a=this.text;this.updateBoxSize();var c=this.baseline?0:this.baselineOffset,h=A(this.paddingLeft,this.padding);F(this.widthSetting)&&this.bBox&& +("center"===this.textAlign||"right"===this.textAlign)&&(h+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width));if(h!==a.x||c!==a.y)a.attr("x",h),a.hasBoxWidthChanged&&(this.bBox=a.getBBox(!0)),"undefined"!==typeof c&&a.attr("y",c);a.x=h;a.y=c};k.prototype.widthSetter=function(a){this.widthSetting=G(a)?a:void 0};k.prototype.getPaddedWidth=function(){var a=this.padding,c=A(this.paddingLeft,a);a=A(this.paddingRight,a);return(this.widthSetting||this.bBox.width||0)+c+a};k.prototype.xSetter= +function(a){this.x=a;this.alignFactor&&(a-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0);this.xSetting=Math.round(a);this.attr("translateX",this.xSetting)};k.prototype.ySetter=function(a){this.ySetting=this.y=Math.round(a);this.attr("translateY",this.ySetting)};k.emptyBBox={width:0,height:0,x:0,y:0};k.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" ");return k}(a)});M(a,"Core/Renderer/SVG/Symbols.js", +[a["Core/Utilities.js"]],function(a){function v(a,q,n,k,e){var c=[];if(e){var h=e.start||0,f=H(e.r,n);n=H(e.r,k||n);var w=(e.end||0)-.001;k=e.innerR;var p=H(e.open,.001>Math.abs((e.end||0)-h-2*Math.PI)),B=Math.cos(h),t=Math.sin(h),J=Math.cos(w),C=Math.sin(w);h=H(e.longArc,.001>w-h-Math.PI?0:1);c.push(["M",a+f*B,q+n*t],["A",f,n,0,h,H(e.clockwise,1),a+f*J,q+n*C]);y(k)&&c.push(p?["M",a+k*J,q+k*C]:["L",a+k*J,q+k*C],["A",k,k,0,h,y(e.clockwise)?1-e.clockwise:0,a+k*B,q+k*t]);p||c.push(["Z"])}return c}function z(a, +q,n,k,e){return e&&e.r?F(a,q,n,k,e):[["M",a,q],["L",a+n,q],["L",a+n,q+k],["L",a,q+k],["Z"]]}function F(a,q,n,k,e){e=e&&e.r||0;return[["M",a+e,q],["L",a+n-e,q],["C",a+n,q,a+n,q,a+n,q+e],["L",a+n,q+k-e],["C",a+n,q+k,a+n,q+k,a+n-e,q+k],["L",a+e,q+k],["C",a,q+k,a,q+k,a,q+k-e],["L",a,q+e],["C",a,q,a,q,a+e,q]]}var y=a.defined,G=a.isNumber,H=a.pick;return{arc:v,callout:function(a,q,n,k,e){var c=Math.min(e&&e.r||0,n,k),h=c+6,f=e&&e.anchorX;e=e&&e.anchorY||0;var w=F(a,q,n,k,{r:c});if(!G(f))return w;a+f>=n? +e>q+h&&e=a+f?e>q+h&&ek&&f>a+h&&fe&&f>a+h&&f/g,t=[f,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(t!==e.textCache){e.textCache=t;delete e.actualWidth;for(t=p.length;t--;)c.removeChild(p[t]);k||this.ellipsis||this.width||-1!==f.indexOf(" ")&&(!this.noWrap||B.test(f))?""!==f&&(h&&h.appendChild(c),f=new a(f),this.modifyTree(f.nodes),f.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(c.textContent||"").indexOf("\u2026")&&e.attr("title", +this.unescapeEntities(e.textStr||"",["<",">"])),h&&h.removeChild(c)):c.appendChild(v.createTextNode(this.unescapeEntities(f)));A(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}};k.prototype.modifyDOM=function(){var a=this,c=this.svgElement,h=H(c.element,"x");c.firstLineMetrics=void 0;for(var f;f=c.element.firstChild;)if(/^[\s\u200B]*$/.test(f.textContent||" "))c.element.removeChild(f);else break;[].forEach.call(c.element.querySelectorAll("tspan.highcharts-br"),function(e, +p){e.nextSibling&&e.previousSibling&&(0===p&&1===e.previousSibling.nodeType&&(c.firstLineMetrics=c.renderer.fontMetrics(void 0,e.previousSibling)),H(e,{dy:a.getLineHeight(e.nextSibling),x:h}))});var k=this.width||0;if(k){var p=function(e,p){var f=e.textContent||"",r=f.replace(/([^\^])-/g,"$1- ").split(" "),l=!a.noWrap&&(1k){for(;r<=l;)b=Math.ceil((r+l)/2),h&&(g=p(h,b)),m=d(b,g&&g.length-1),r===l?r=l+1:m>k?l=b-1:r=b;0===l?a.textContent="":c&&l===c.length-1||(a.textContent=g||p(c||h,b))}h&&h.splice(0,b);e.actualWidth=m;e.rotation=w};k.prototype.unescapeEntities= +function(a,c){q(this.renderer.escapes,function(e,f){c&&-1!==c.indexOf(e)||(a=a.toString().replace(new RegExp(e,"g"),f))});return a};return k}()});M(a,"Core/Renderer/SVG/SVGRenderer.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Color/Color.js"],a["Core/Globals.js"],a["Core/Renderer/RendererRegistry.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGLabel.js"],a["Core/Renderer/SVG/Symbols.js"],a["Core/Renderer/SVG/TextBuilder.js"],a["Core/Utilities.js"]],function(a,u,z,F,y,G,H,A,q){var n= +z.charts,k=z.deg2rad,e=z.doc,c=z.isFirefox,h=z.isMS,f=z.isWebKit,w=z.noop,p=z.SVG_NS,B=z.symbolSizes,t=z.win,J=q.addEvent,C=q.attr,r=q.createElement,l=q.css,b=q.defined,g=q.destroyObjectProperties,d=q.extend,m=q.isArray,D=q.isNumber,x=q.isObject,I=q.isString,P=q.merge,v=q.pick,O=q.pInt,U=q.uniqueKey,Y;z=function(){function L(b,d,a,c,g,m,e){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper= +this.box=this.alignedObjects=void 0;this.init(b,d,a,c,g,m,e)}L.prototype.init=function(b,d,a,g,m,E,L){var r=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}),K=r.element;L||r.css(this.getStyle(g));b.appendChild(K);C(b,"dir","ltr");-1===b.innerHTML.indexOf("xmlns")&&C(K,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=K;this.boxWrapper=r;this.alignedObjects=[];this.url=this.getReferenceURL();this.createElement("desc").add().element.appendChild(e.createTextNode("Created with Highcharts 9.3.2")); +this.defs=this.createElement("defs").add();this.allowHTML=E;this.forExport=m;this.styledMode=L;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount=0;this.setSize(d,a,!1);var p;c&&b.getBoundingClientRect&&(d=function(){l(b,{left:0,top:0});p=b.getBoundingClientRect();l(b,{left:Math.ceil(p.left)-p.left+"px",top:Math.ceil(p.top)-p.top+"px"})},d(),this.unSubPixelFix=J(t,"resize",d))};L.prototype.definition=function(b){return(new a([b])).addToDOM(this.defs.element)};L.prototype.getReferenceURL= +function(){if((c||f)&&e.getElementsByTagName("base").length){if(!b(Y)){var d=U();d=(new a([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:d},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+d+")",fill:"rgba(0,0,0,0.001)"}}]}])).addToDOM(e.body);l(d,{position:"fixed",top:0,left:0,zIndex:9E5});var g=e.elementFromPoint(6,6);Y="hitme"===(g&&g.id); +e.body.removeChild(d)}if(Y)return t.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""};L.prototype.getStyle=function(b){return this.style=d({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},b)};L.prototype.setStyle=function(b){this.boxWrapper.css(this.getStyle(b))};L.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width};L.prototype.destroy=function(){var b=this.defs;this.box= +null;this.boxWrapper=this.boxWrapper.destroy();g(this.gradients||{});this.gradients=null;b&&(this.defs=b.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null};L.prototype.createElement=function(b){var d=new this.Element;d.init(this,b);return d};L.prototype.getRadialAttr=function(b,d){return{cx:b[0]-b[2]/2+(d.cx||0)*b[2],cy:b[1]-b[2]/2+(d.cy||0)*b[2],r:(d.r||0)*b[2]}};L.prototype.buildText=function(b){(new A(b)).buildSVG()};L.prototype.getContrast=function(b){b=u.parse(b).rgba; +b[0]*=1;b[1]*=1.2;b[2]*=.5;return 459b?b+3:Math.round(1.2*b);return{h:d,b:Math.round(.8*d),f:b}};L.prototype.rotCorr=function(b,d, +a){var c=b;d&&a&&(c=Math.max(c*Math.cos(d*k),4));return{x:-b/3*Math.sin(d*k),y:c}};L.prototype.pathToSegments=function(b){for(var d=[],a=[],c={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},g=0;g":">","'":"'",'"':"""},symbols:H,draw:w});F.registerRendererType("svg",z,!0);"";return z});M(a,"Core/Renderer/HTML/HTMLElement.js",[a["Core/Globals.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Utilities.js"]],function(a,u,z){var v=this&&this.__extends||function(){var a=function(c,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof +Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(c,e)};return function(c,e){function p(){this.constructor=c}a(c,e);c.prototype=null===e?Object.create(e):(p.prototype=e.prototype,new p)}}(),y=a.isFirefox,G=a.isMS,H=a.isWebKit,A=a.win,q=z.css,n=z.defined,k=z.extend,e=z.pick,c=z.pInt;return function(a){function h(){return null!==a&&a.apply(this,arguments)||this}v(h,a);h.compose=function(a){if(-1===h.composedClasses.indexOf(a)){h.composedClasses.push(a); +var c=h.prototype,e=a.prototype;e.getSpanCorrection=c.getSpanCorrection;e.htmlCss=c.htmlCss;e.htmlGetBBox=c.htmlGetBBox;e.htmlUpdateTransform=c.htmlUpdateTransform;e.setSpanRotation=c.setSpanRotation}return a};h.prototype.getSpanCorrection=function(a,c,e){this.xCorr=-a*e;this.yCorr=-c};h.prototype.htmlCss=function(a){var c="SPAN"===this.element.tagName&&a&&"width"in a,h=e(c&&a.width,void 0);if(c){delete a.width;this.textWidth=h;var f=!0}a&&"ellipsis"===a.textOverflow&&(a.whiteSpace="nowrap",a.overflow= +"hidden");this.styles=k(this.styles,a);q(this.element,a);f&&this.htmlUpdateTransform();return this};h.prototype.htmlGetBBox=function(){var a=this.element;return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}};h.prototype.htmlUpdateTransform=function(){if(this.added){var a=this.renderer,e=this.element,h=this.translateX||0,f=this.translateY||0,k=this.x||0,C=this.y||0,r=this.textAlign||"left",l={left:0,center:.5,right:1}[r],b=this.styles;b=b&&b.whiteSpace;q(e,{marginLeft:h,marginTop:f}); +!a.styledMode&&this.shadows&&this.shadows.forEach(function(b){q(b,{marginLeft:h+1,marginTop:f+1})});this.inverted&&[].forEach.call(e.childNodes,function(b){a.invertChild(b,e)});if("SPAN"===e.tagName){var g=this.rotation,d=this.textWidth&&c(this.textWidth),m=[g,r,e.innerHTML,this.textWidth,this.textAlign].join(),D=void 0;D=!1;if(d!==this.oldTextWidth){if(this.textPxLength)var x=this.textPxLength;else q(e,{width:"",whiteSpace:b||"nowrap"}),x=e.offsetWidth;(d>this.oldTextWidth||x>d)&&(/[ \-]/.test(e.textContent|| +e.innerText)||"ellipsis"===e.style.textOverflow)&&(q(e,{width:x>d||g?d+"px":"auto",display:"block",whiteSpace:b||"normal"}),this.oldTextWidth=d,D=!0)}this.hasBoxWidthChanged=D;m!==this.cTT&&(D=a.fontMetrics(e.style.fontSize,e).b,!n(g)||g===(this.oldRotation||0)&&r===this.oldAlign||this.setSpanRotation(g,l,D),this.getSpanCorrection(!n(g)&&this.textPxLength||e.offsetWidth,D,l,g,r));q(e,{left:k+(this.xCorr||0)+"px",top:C+(this.yCorr||0)+"px"});this.cTT=m;this.oldRotation=g;this.oldAlign=r}}else this.alignOnAdd= +!0};h.prototype.setSpanRotation=function(a,c,e){var h={},p=G&&!/Edge/.test(A.navigator.userAgent)?"-ms-transform":H?"-webkit-transform":y?"MozTransform":A.opera?"-o-transform":void 0;p&&(h[p]=h.transform="rotate("+a+"deg)",h[p+(y?"Origin":"-origin")]=h.transformOrigin=100*c+"% "+e+"px",q(this.element,h))};h.composedClasses=[];return h}(u)});M(a,"Core/Renderer/HTML/HTMLRenderer.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Utilities.js"]], +function(a,u,z,F){var v=this&&this.__extends||function(){var a=function(k,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,e){a.__proto__=e}||function(a,e){for(var c in e)e.hasOwnProperty(c)&&(a[c]=e[c])};return a(k,e)};return function(k,e){function c(){this.constructor=k}a(k,e);k.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}(),G=F.attr,H=F.createElement,A=F.extend,q=F.pick;return function(n){function k(){return null!==n&&n.apply(this,arguments)||this} +v(k,n);k.compose=function(a){-1===k.composedClasses.indexOf(a)&&(k.composedClasses.push(a),a.prototype.html=k.prototype.html);return a};k.prototype.html=function(e,c,h){var f=this.createElement("span"),k=f.element,p=f.renderer,n=p.isSVG,t=function(a,c){["opacity","visibility"].forEach(function(e){a[e+"Setter"]=function(l,b,g){var d=a.div?a.div.style:c;u.prototype[e+"Setter"].call(this,l,b,g);d&&(d[b]=l)}});a.addedSetters=!0};f.textSetter=function(c){c!==this.textStr&&(delete this.bBox,delete this.oldTextWidth, +a.setElementHTML(this.element,q(c,"")),this.textStr=c,f.doTransform=!0)};n&&t(f,f.element.style);f.xSetter=f.ySetter=f.alignSetter=f.rotationSetter=function(a,c){"align"===c?f.alignValue=f.textAlign=a:f[c]=a;f.doTransform=!0};f.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)};f.attr({text:e,x:Math.round(c),y:Math.round(h)}).css({position:"absolute"});p.styledMode||f.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize});k.style.whiteSpace="nowrap"; +f.css=f.htmlCss;n&&(f.add=function(a){var c=p.box.parentNode,e=[];if(this.parentGroup=a){var l=a.div;if(!l){for(;a;)e.push(a),a=a.parentGroup;e.reverse().forEach(function(b){function a(d,a){b[a]=d;"translateX"===a?r.left=d+"px":r.top=d+"px";b.doTransform=!0}var d=G(b.element,"class"),m=b.styles||{};l=b.div=b.div||H("div",d?{className:d}:void 0,{position:"absolute",left:(b.translateX||0)+"px",top:(b.translateY||0)+"px",display:b.display,opacity:b.opacity,cursor:m.cursor,pointerEvents:m.pointerEvents, +visibility:b.visibility},l||c);var r=l.style;A(b,{classSetter:function(b){return function(d){this.element.setAttribute("class",d);b.className=d}}(l),on:function(){e[0].div&&f.on.apply({element:e[0].div,onEvents:b.onEvents},arguments);return b},translateXSetter:a,translateYSetter:a});b.addedSetters||t(b)})}}else l=c;l.appendChild(k);f.added=!0;f.alignOnAdd&&f.htmlUpdateTransform();return f});return f};k.composedClasses=[];return k}(z)});M(a,"Core/Axis/AxisDefaults.js",[],function(){var a;(function(a){a.defaultXAxisOptions= +{alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0, +rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0, +style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"};a.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify", +formatter:function(){var a=this.axis.chart.numberFormatter;return a(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0};a.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}};a.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}};a.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}};a.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}})(a|| +(a={}));return a});M(a,"Core/Foundation.js",[a["Core/Utilities.js"]],function(a){var v=a.addEvent,z=a.isFunction,F=a.objectEach,y=a.removeEvent,G;(function(a){a.registerEventOptions=function(a,q){a.eventOptions=a.eventOptions||{};F(q.events,function(n,k){a.eventOptions[k]!==n&&(a.eventOptions[k]&&(y(a,k,a.eventOptions[k]),delete a.eventOptions[k]),z(n)&&(a.eventOptions[k]=n,v(a,k,n)))})}})(G||(G={}));return G});M(a,"Core/Axis/Tick.js",[a["Core/FormatUtilities.js"],a["Core/Globals.js"],a["Core/Utilities.js"]], +function(a,u,z){var v=u.deg2rad,y=z.clamp,G=z.correctFloat,H=z.defined,A=z.destroyObjectProperties,q=z.extend,n=z.fireEvent,k=z.isNumber,e=z.merge,c=z.objectEach,h=z.pick;u=function(){function f(a,c,e,h,f){this.isNewLabel=this.isNew=!0;this.axis=a;this.pos=c;this.type=e||"";this.parameters=f||{};this.tickmarkOffset=this.parameters.tickmarkOffset;this.options=this.parameters.options;n(this,"init");e||h||this.addLabel()}f.prototype.addLabel=function(){var c=this,e=c.axis,f=e.options,t=e.chart,J=e.categories, +C=e.logarithmic,r=e.names,l=c.pos,b=h(c.options&&c.options.labels,f.labels),g=e.tickPositions,d=l===g[0],m=l===g[g.length-1],D=(!b.step||1===b.step)&&1===e.tickInterval;g=g.info;var x=c.label,I;J=this.parameters.category||(J?h(J[l],r[l],l):l);C&&k(J)&&(J=G(C.lin2log(J)));if(e.dateTime)if(g){var P=t.time.resolveDTLFormat(f.dateTimeLabelFormats[!f.grid&&g.higherRanks[l]||g.unitName]);var v=P.main}else k(J)&&(v=e.dateTime.getXDateFormat(J,f.dateTimeLabelFormats||{}));c.isFirst=d;c.isLast=m;var O={axis:e, +chart:t,dateTimeLabelFormat:v,isFirst:d,isLast:m,pos:l,tick:c,tickPositionInfo:g,value:J};n(this,"labelFormat",O);var u=function(d){return b.formatter?b.formatter.call(d,d):b.format?(d.text=e.defaultLabelFormatter.call(d),a.format(b.format,d,t)):e.defaultLabelFormatter.call(d,d)};f=u.call(O,O);var A=P&&P.list;c.shortenLabel=A?function(){for(I=0;Ib&&f-g*dn&&(w=Math.round((k-f)/Math.cos(b*v)));else if(k=f+(1-g)*d,f-g*dn&&(x=n-a.x+x*g,I=-1),x=Math.min(m,x),xx||c.autoRotation&&(l.styles||{}).width)w=x;w&&(this.shortenLabel?this.shortenLabel():(D.width=Math.floor(w)+"px",(e.style||{}).textOverflow||(D.textOverflow= +"ellipsis"),l.css(D)))};f.prototype.moveLabel=function(a,e){var h=this,f=h.label,k=h.axis,p=k.reversed,r=!1;f&&f.textStr===a?(h.movedLabel=f,r=!0,delete h.label):c(k.ticks,function(b){r||b.isNew||b===h||!b.label||b.label.textStr!==a||(h.movedLabel=b.label,r=!0,b.labelPos=h.movedLabel.xy,delete b.label)});if(!r&&(h.labelPos||f)){var l=h.labelPos||f.xy;f=k.horiz?p?0:k.width+k.left:l.x;k=k.horiz?l.y:p?k.width+k.left:0;h.movedLabel=h.createLabel({x:f,y:k},a,e);h.movedLabel&&h.movedLabel.attr({opacity:0})}}; +f.prototype.render=function(a,c,e){var f=this.axis,k=f.horiz,p=this.pos,r=h(this.tickmarkOffset,f.tickmarkOffset);p=this.getPosition(k,p,r,c);r=p.x;var l=p.y;f=k&&r===f.pos+f.len||!k&&l===f.pos?-1:1;k=h(e,this.label&&this.label.newOpacity,1);e=h(e,1);this.isActive=!0;this.renderGridLine(c,e,f);this.renderMark(p,e,f);this.renderLabel(p,c,k,a);this.isNew=!1;n(this,"afterRender")};f.prototype.renderGridLine=function(a,c,e){var f=this.axis,k=f.options,p={},r=this.pos,l=this.type,b=h(this.tickmarkOffset, +f.tickmarkOffset),g=f.chart.renderer,d=this.gridLine,m=k.gridLineWidth,D=k.gridLineColor,x=k.gridLineDashStyle;"minor"===this.type&&(m=k.minorGridLineWidth,D=k.minorGridLineColor,x=k.minorGridLineDashStyle);d||(f.chart.styledMode||(p.stroke=D,p["stroke-width"]=m||0,p.dashstyle=x),l||(p.zIndex=1),a&&(c=0),this.gridLine=d=g.path().attr(p).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(f.gridGroup));if(d&&(e=f.getPlotLinePath({value:r+b,lineWidth:d.strokeWidth()*e,force:"pass",old:a})))d[a||this.isNew? +"attr":"animate"]({d:e,opacity:c})};f.prototype.renderMark=function(a,c,e){var f=this.axis,k=f.options,p=f.chart.renderer,r=this.type,l=f.tickSize(r?r+"Tick":"tick"),b=a.x;a=a.y;var g=h(k["minor"!==r?"tickWidth":"minorTickWidth"],!r&&f.isXAxis?1:0);k=k["minor"!==r?"tickColor":"minorTickColor"];var d=this.mark,m=!d;l&&(f.opposite&&(l[0]=-l[0]),d||(this.mark=d=p.path().addClass("highcharts-"+(r?r+"-":"")+"tick").add(f.axisGroup),f.chart.styledMode||d.attr({stroke:k,"stroke-width":g})),d[m?"attr":"animate"]({d:this.getMarkPath(b, +a,l[0],d.strokeWidth()*e,f.horiz,p),opacity:c}))};f.prototype.renderLabel=function(a,c,e,f){var p=this.axis,n=p.horiz,r=p.options,l=this.label,b=r.labels,g=b.step;p=h(this.tickmarkOffset,p.tickmarkOffset);var d=a.x;a=a.y;var m=!0;l&&k(d)&&(l.xy=a=this.getLabelPosition(d,a,l,n,b,p,f,g),this.isFirst&&!this.isLast&&!r.showFirstLabel||this.isLast&&!this.isFirst&&!r.showLastLabel?m=!1:!n||b.step||b.rotation||c||0===e||this.handleOverflow(a),g&&f%g&&(m=!1),m&&k(a.y)?(a.opacity=e,l[this.isNewLabel?"attr": +"animate"](a),this.isNewLabel=!1):(l.attr("y",-9999),this.isNewLabel=!0))};f.prototype.replaceMovedLabel=function(){var a=this.label,c=this.axis,e=c.reversed;if(a&&!this.isNew){var f=c.horiz?e?c.left:c.width+c.left:a.xy.x;e=c.horiz?a.xy.y:e?c.width+c.top:c.top;a.animate({x:f,y:e,opacity:0},void 0,a.destroy);delete this.label}c.isDirty=!0;this.label=this.movedLabel;delete this.movedLabel};return f}();"";return u});M(a,"Core/Axis/Axis.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Axis/AxisDefaults.js"], +a["Core/Color/Color.js"],a["Core/DefaultOptions.js"],a["Core/Foundation.js"],a["Core/Globals.js"],a["Core/Axis/Tick.js"],a["Core/Utilities.js"]],function(a,u,z,F,y,G,H,A){var q=a.animObject,n=F.defaultOptions,k=y.registerEventOptions,e=G.deg2rad,c=A.arrayMax,h=A.arrayMin,f=A.clamp,w=A.correctFloat,p=A.defined,B=A.destroyObjectProperties,t=A.erase,J=A.error,C=A.extend,r=A.fireEvent,l=A.getMagnitude,b=A.isArray,g=A.isNumber,d=A.isString,m=A.merge,D=A.normalizeTickInterval,x=A.objectEach,I=A.pick,P= +A.relativeLength,v=A.removeEvent,O=A.splat,U=A.syncTimeout;a=function(){function a(b,d){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options= +this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0;this.init(b,d)}a.prototype.init=function(b,d){var a=d.isX;this.chart=b;this.horiz=b.inverted&&!this.isZAxis?!a:a;this.isXAxis=a;this.coll=this.coll|| +(a?"xAxis":"yAxis");r(this,"init",{userOptions:d});this.opposite=I(d.opposite,this.opposite);this.side=I(d.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3);this.setOptions(d);var c=this.options,e=c.labels,m=c.type;this.userOptions=d;this.minPixelPadding=0;this.reversed=I(c.reversed,this.reversed);this.visible=c.visible;this.zoomEnabled=c.zoomEnabled;this.hasNames="category"===m||!0===c.categories;this.categories=c.categories||this.hasNames;this.names||(this.names=[],this.names.keys= +{});this.plotLinesAndBandsGroups={};this.positiveValuesOnly=!!this.logarithmic;this.isLinked=p(c.linkedTo);this.ticks={};this.labelEdge=[];this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=c.minRange||c.maxZoom;this.range=c.range;this.offset=c.offset||0;this.min=this.max=null;d=I(c.crosshair,O(b.options.tooltip.crosshairs)[a?0:1]);this.crosshair=!0===d?{}:d;-1===b.axes.indexOf(this)&&(a?b.axes.splice(b.xAxis.length,0,this):b.axes.push(this), +b[this.coll].push(this));this.series=this.series||[];b.inverted&&!this.isZAxis&&a&&"undefined"===typeof this.reversed&&(this.reversed=!0);this.labelRotation=g(e.rotation)?e.rotation:void 0;k(this,c);r(this,"afterInit")};a.prototype.setOptions=function(b){this.options=m(u.defaultXAxisOptions,"yAxis"===this.coll&&u.defaultYAxisOptions,[u.defaultTopAxisOptions,u.defaultRightAxisOptions,u.defaultBottomAxisOptions,u.defaultLeftAxisOptions][this.side],m(n[this.coll],b));r(this,"afterSetOptions",{userOptions:b})}; +a.prototype.defaultLabelFormatter=function(b){var d=this.axis;b=this.chart.numberFormatter;var a=g(this.value)?this.value:NaN,c=d.chart.time,e=this.dateTimeLabelFormat,m=n.lang,l=m.numericSymbols;m=m.numericSymbolMagnitude||1E3;var f=d.logarithmic?Math.abs(a):d.tickInterval,h=l&&l.length;if(d.categories)var r=""+this.value;else if(e)r=c.dateFormat(e,a);else if(h&&1E3<=f)for(;h--&&"undefined"===typeof r;)d=Math.pow(m,h+1),f>=d&&0===10*a%d&&null!==l[h]&&0!==a&&(r=b(a/d,-1)+l[h]);"undefined"===typeof r&& +(r=1E4<=Math.abs(a)?b(a,-1):b(a,-1,void 0,""));return r};a.prototype.getSeriesExtremes=function(){var b=this,d=b.chart,a;r(this,"getSeriesExtremes",null,function(){b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.threshold=null;b.softThreshold=!b.isXAxis;b.stacking&&b.stacking.buildStacks();b.series.forEach(function(c){if(c.visible||!d.options.chart.ignoreHiddenSeries){var e=c.options,m=e.threshold;b.hasVisibleSeries=!0;b.positiveValuesOnly&&0>=m&&(m=null);if(b.isXAxis){if(e=c.xData,e.length){e=b.logarithmic? +e.filter(b.validatePositiveValue):e;a=c.getXExtremes(e);var l=a.min;var f=a.max;g(l)||l instanceof Date||(e=e.filter(g),a=c.getXExtremes(e),l=a.min,f=a.max);e.length&&(b.dataMin=Math.min(I(b.dataMin,l),l),b.dataMax=Math.max(I(b.dataMax,f),f))}}else if(c=c.applyExtremes(),g(c.dataMin)&&(l=c.dataMin,b.dataMin=Math.min(I(b.dataMin,l),l)),g(c.dataMax)&&(f=c.dataMax,b.dataMax=Math.max(I(b.dataMax,f),f)),p(m)&&(b.threshold=m),!e.softThreshold||b.positiveValuesOnly)b.softThreshold=!1}})});r(this,"afterGetSeriesExtremes")}; +a.prototype.translate=function(b,d,a,c,e,m){var l=this.linkedParent||this,f=c&&l.old?l.old.min:l.min,r=l.minPixelPadding;e=(l.isOrdinal||l.brokenAxis&&l.brokenAxis.hasBreaks||l.logarithmic&&e)&&l.lin2val;var h=1,k=0;c=c&&l.old?l.old.transA:l.transA;c||(c=l.transA);a&&(h*=-1,k=l.len);l.reversed&&(h*=-1,k-=h*(l.sector||l.len));d?(b=(b*h+k-r)/c+f,e&&(b=l.lin2val(b))):(e&&(b=l.val2lin(b)),b=g(f)?h*(b-f)*c+k+h*r+(g(m)?c*m:0):void 0);return b};a.prototype.toPixels=function(b,d){return this.translate(b, +!1,!this.horiz,null,!0)+(d?0:this.pos)};a.prototype.toValue=function(b,d){return this.translate(b-(d?0:this.pos),!0,!this.horiz,null,!0)};a.prototype.getPlotLinePath=function(b){function d(b,d,a){if("pass"!==n&&ba)n?b=f(b,d,a):B=!0;return b}var a=this,c=a.chart,e=a.left,m=a.top,l=b.old,h=b.value,k=b.lineWidth,x=l&&c.oldChartHeight||c.chartHeight,D=l&&c.oldChartWidth||c.chartWidth,L=a.transB,p=b.translatedValue,n=b.force,t,C,w,q,B;b={value:h,lineWidth:k,old:l,force:n,acrossPanes:b.acrossPanes, +translatedValue:p};r(this,"getPlotLinePath",b,function(b){p=I(p,a.translate(h,null,null,l));p=f(p,-1E5,1E5);t=w=Math.round(p+L);C=q=Math.round(x-p-L);g(p)?a.horiz?(C=m,q=x-a.bottom,t=w=d(t,e,e+a.width)):(t=e,w=D-a.right,C=q=d(C,m,m+a.height)):(B=!0,n=!1);b.path=B&&!n?null:c.renderer.crispLine([["M",t,C],["L",w,q]],k||1)});return b.path};a.prototype.getLinearTickPositions=function(b,d,a){var c=w(Math.floor(d/b)*b);a=w(Math.ceil(a/b)*b);var e=[],g;w(c+b)===c&&(g=20);if(this.single)return[d];for(d=c;d<= +a;){e.push(d);d=w(d+b,g);if(d===m)break;var m=d}return e};a.prototype.getMinorTickInterval=function(){var b=this.options;return!0===b.minorTicks?I(b.minorTickInterval,"auto"):!1===b.minorTicks?null:b.minorTickInterval};a.prototype.getMinorTickPositions=function(){var b=this.options,d=this.tickPositions,a=this.minorTickInterval,c=this.pointRangePadding||0,e=this.min-c;c=this.max+c;var g=c-e,m=[];if(g&&g/a=this.minRange;var x=this.minRange;var D=(x-e+a)/2;D=[a-D,I(b.min,a-D)];k&&(D[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin);a=c(D);e=[a+x,I(b.max,a+x)];k&&(e[2]=d?d.log2lin(this.dataMax):this.dataMax);e=h(e);e-a=t)B=t,L=0;else if(this.dataMax<=t){var P=t;x=0}this.min=I(C,B,this.dataMin);this.max=I(q,P,this.dataMax)}a&&(this.positiveValuesOnly&&!b&&0>=Math.min(this.min,I(this.dataMin,this.min))&&J(10,1,d),this.min=w(a.log2lin(this.min),16),this.max=w(a.log2lin(this.max),16));this.range&&p(this.max)&&(this.userMin=this.min=C=Math.max(this.dataMin,this.minFromRange()),this.userMax=q=this.max,this.range=null);r(this,"foundExtremes"); +this.beforePadding&&this.beforePadding();this.adjustForMinRange();!(h||this.axisPointRange||this.stacking&&this.stacking.usePercentage||m)&&p(this.min)&&p(this.max)&&(d=this.max-this.min)&&(!p(C)&&L&&(this.min-=d*L),!p(q)&&x&&(this.max+=d*x));g(this.userMin)||(g(c.softMin)&&c.softMinthis.max&&(this.max=q=c.softMax),g(c.ceiling)&&(this.max=Math.min(this.max,c.ceiling)));k&& +p(this.dataMin)&&(t=t||0,!p(C)&&this.min=t?this.min=this.options.minRange?Math.min(t,this.max-this.minRange):t:!p(q)&&this.max>t&&this.dataMax<=t&&(this.max=this.options.minRange?Math.max(t,this.min+this.minRange):t));g(this.min)&&g(this.max)&&!this.chart.polar&&this.min>this.max&&(p(this.options.min)?this.max=this.min:p(this.options.max)&&(this.min=this.max));this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:m&&this.linkedParent&& +!n&&f===this.linkedParent.options.tickPixelInterval?n=this.linkedParent.tickInterval:I(n,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,h?1:(this.max-this.min)*f/Math.max(this.len,f));if(e&&!b){var v=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(b){b.forceCrop=b.forceCropping&&b.forceCropping();b.processData(v)});r(this,"postProcessData",{hasExtemesChanged:v})}this.setAxisTranslation();r(this,"initialAxisTranslation"); +this.pointRange&&!n&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));b=I(c.minTickInterval,this.dateTime&&!this.series.some(function(b){return b.noSharedTooltip})?this.closestPointRange:0);!n&&this.tickIntervalthis.tickInterval||void 0!==this.tickAmount),!!this.tickAmount));this.tickAmount||(this.tickInterval=this.unsquish());this.setTickPositions()}; +a.prototype.setTickPositions=function(){var b=this.options,d=b.tickPositions,a=this.getMinorTickInterval(),c=this.hasVerticalPanning(),e="colorAxis"===this.coll,g=(e||!c)&&b.startOnTick;c=(e||!c)&&b.endOnTick;e=b.tickPositioner;this.tickmarkOffset=this.categories&&"between"===b.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval="auto"===a&&this.tickInterval?this.tickInterval/5:a;this.single=this.min===this.max&&p(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!== +b.allowDecimals);this.tickPositions=a=d&&d.slice();!a&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?a=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,b.units),this.min,this.max,b.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min, +this.max):(a=[this.min,this.max],J(19,!1,this.chart)),a.length>this.len&&(a=[a[0],a.pop()],a[0]===a[1]&&(a.length=1)),this.tickPositions=a,e&&(e=e.apply(this,[this.min,this.max])))&&(this.tickPositions=a=e);this.paddedTicks=a.slice(0);this.trimTicks(a,g,c);this.isLinked||(this.single&&2>a.length&&!this.categories&&!this.series.some(function(b){return b.is("heatmap")&&"between"===b.options.pointPlacement})&&(this.min-=.5,this.max+=.5),d||e||this.adjustTickAmount());r(this,"afterSetTickPositions")}; +a.prototype.trimTicks=function(b,d,a){var c=b[0],e=b[b.length-1],g=!this.isOrdinal&&this.minPointOffset||0;r(this,"trimTicks");if(!this.isLinked){if(d&&-Infinity!==c)this.min=c;else for(;this.min-g>b[0];)b.shift();if(a)this.max=e;else for(;this.max+ga&&(this.finalTickAmt=a,a=5);this.tickAmount=a};a.prototype.adjustTickAmount=function(){var b= +this.options,d=this.tickInterval,a=this.tickPositions,c=this.tickAmount,e=this.finalTickAmt,m=a&&a.length,l=I(this.threshold,this.softThreshold?0:null);if(this.hasData()&&g(this.min)&&g(this.max)){if(mc&&(this.tickInterval*=2,this.setTickPositions());if(p(e)){for(d= +b=a.length;d--;)(3===e&&1===d%2||2>=e&&0l&&(d=l)),p(e)&&(gl&&(g=l))),a.displayBtn="undefined"!==typeof d||"undefined"!==typeof g,a.setExtremes(d,g,!1,void 0,{trigger:"zoom"});b.zoomed=!0});return b.zoomed};a.prototype.setAxisSize=function(){var b=this.chart, +d=this.options,a=d.offsets||[0,0,0,0],c=this.horiz,e=this.width=Math.round(P(I(d.width,b.plotWidth-a[3]+a[1]),b.plotWidth)),g=this.height=Math.round(P(I(d.height,b.plotHeight-a[0]+a[2]),b.plotHeight)),m=this.top=Math.round(P(I(d.top,b.plotTop+a[0]),b.plotHeight,b.plotTop));d=this.left=Math.round(P(I(d.left,b.plotLeft+a[3]),b.plotWidth,b.plotLeft));this.bottom=b.chartHeight-g-m;this.right=b.chartWidth-e-d;this.len=Math.max(c?e:g,0);this.pos=c?d:m};a.prototype.getExtremes=function(){var b=this.logarithmic; +return{min:b?w(b.lin2log(this.min)):this.min,max:b?w(b.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}};a.prototype.getThreshold=function(b){var d=this.logarithmic,a=d?d.lin2log(this.min):this.min;d=d?d.lin2log(this.max):this.max;null===b||-Infinity===b?b=a:Infinity===b?b=d:a>b?b=a:dd?b.align="right":195d&&(b.align="left")});return b.align};a.prototype.tickSize=function(b){var d=this.options,a=I(d["tick"===b?"tickWidth":"minorTickWidth"],"tick"===b&&this.isXAxis&&!this.categories?1:0),c=d["tick"===b?"tickLength":"minorTickLength"];if(a&&c){"inside"===d[b+"Position"]&&(c=-c);var e=[c,a]}b={tickSize:e};r(this,"afterTickSize",b);return b.tickSize};a.prototype.labelMetrics=function(){var b=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize, +this.ticks[b]&&this.ticks[b].label)};a.prototype.unsquish=function(){var b=this.options.labels,d=this.horiz,a=this.tickInterval,c=this.len/(((this.categories?1:0)+this.max-this.min)/a),m=b.rotation,l=this.labelMetrics(),f=Math.max(this.max-this.min,0),h=function(b){var d=b/(c||1);d=1f&&Infinity!==b&&Infinity!==c&&f&&(d=Math.ceil(f/a));return w(d*a)},r=a,k,x,D=Number.MAX_VALUE;if(d){if(!b.staggerLines&&!b.step)if(g(m))var p=[m];else c=b){x=h(Math.abs(l.h/Math.sin(e*b)));var d=x+Math.abs(b/360);dc.step)return c.rotation?0:(this.staggerLines||1)*this.len/e;if(!a){b=c.style.width; +if(void 0!==b)return parseInt(String(b),10);if(m)return m-d.spacing[3]}return.33*d.chartWidth};a.prototype.renderUnsquish=function(){var b=this.chart,a=b.renderer,c=this.tickPositions,e=this.ticks,g=this.options.labels,m=g.style,l=this.horiz,f=this.getSlotWidth(),h=Math.max(1,Math.round(f-2*g.padding)),r={},k=this.labelMetrics(),x=m.textOverflow,D=0;d(g.rotation)||(r.rotation=g.rotation||0);c.forEach(function(b){b=e[b];b.movedLabel&&b.replaceMovedLabel();b&&b.label&&b.label.textPxLength>D&&(D=b.label.textPxLength)}); +this.maxLabelLength=D;if(this.autoRotation)D>h&&D>k.h?r.rotation=this.labelRotation:this.labelRotation=0;else if(f){var p=h;if(!x){var n="clip";for(h=c.length;!l&&h--;){var I=c[h];if(I=e[I].label)I.styles&&"ellipsis"===I.styles.textOverflow?I.css({textOverflow:"clip"}):I.textPxLength>f&&I.css({width:f+"px"}),I.getBBox().height>this.len/c.length-(k.h-k.f)&&(I.specificTextOverflow="ellipsis")}}}r.rotation&&(p=D>.5*b.chartHeight?.33*b.chartHeight:D,x||(n="ellipsis"));if(this.labelAlign=g.align||this.autoLabelAlign(this.labelRotation))r.align= +this.labelAlign;c.forEach(function(b){var d=(b=e[b])&&b.label,a=m.width,c={};d&&(d.attr(r),b.shortenLabel?b.shortenLabel():p&&!a&&"nowrap"!==m.whiteSpace&&(p=this.min&&b<=this.max||this.grid&&this.grid.isColumn)c[b]||(c[b]=new H(this,b)),a&&c[b].isNew&&c[b].render(d,!0, +-1),c[b].render(d)};a.prototype.render=function(){var b=this,d=b.chart,a=b.logarithmic,c=b.options,e=b.isLinked,m=b.tickPositions,l=b.axisTitle,f=b.ticks,h=b.minorTicks,k=b.alternateBands,D=c.stackLabels,p=c.alternateGridColor,n=b.tickmarkOffset,I=b.axisLine,t=b.showAxis,C=q(d.renderer.globalAnimation),w,B;b.labelEdge.length=0;b.overlap=!1;[f,h,k].forEach(function(b){x(b,function(b){b.isActive=!1})});if(b.hasData()||e){var P=b.chart.hasRendered&&b.old&&g(b.old.min);b.minorTickInterval&&!b.categories&& +b.getMinorTickPositions().forEach(function(d){b.renderMinorTick(d,P)});m.length&&(m.forEach(function(d,a){b.renderTick(d,a,P)}),n&&(0===b.min||b.single)&&(f[-1]||(f[-1]=new H(b,-1,null,!0)),f[-1].render(-1)));p&&m.forEach(function(c,e){B="undefined"!==typeof m[e+1]?m[e+1]+n:b.max-n;0===e%2&&ce&&(!k||n<=f)&&"undefined"!==typeof n&&q.push(n);n>f&&(l=!0);n=g}}}else e=this.lin2log(e),f=this.lin2log(f),a=k?c.getMinorTickInterval():n.tickInterval, +a=y("auto"===a?null:a,this.minorAutoInterval,n.tickPixelInterval/(k?5:1)*(f-e)/((k?h/c.tickPositions.length:h)||1)),a=F(a,void 0,z(a)),q=c.getLinearTickPositions(a,e,f).map(this.log2lin),k||(this.minorAutoInterval=a/5);k||(c.tickInterval=a);return q};a.prototype.lin2log=function(a){return Math.pow(10,a)};a.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};return a}();a.Additions=k})(G||(G={}));return G});M(a,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[a["Core/Utilities.js"]],function(a){var v= +a.erase,z=a.extend,F=a.isNumber,y;(function(a){var u=[],A;a.compose=function(a,k){A||(A=a);-1===u.indexOf(k)&&(u.push(k),z(k.prototype,q.prototype));return k};var q=function(){function a(){}a.prototype.getPlotBandPath=function(a,e,c){void 0===c&&(c=this.options);var h=this.getPlotLinePath({value:e,force:!0,acrossPanes:c.acrossPanes}),f=[],k=this.horiz;e=!F(this.min)||!F(this.max)||athis.max&&e>this.max;a=this.getPlotLinePath({value:a,force:!0,acrossPanes:c.acrossPanes});c= +1;if(a&&h){if(e){var p=a.toString()===h.toString();c=0}for(e=0;en-l?n:n-l); +else if(E)g[b]=Math.max(r,m+l+d>a?m:m+l);else return!1},w=function(b,a,d,c,m){var l;ma-e?l=!1:g[b]=ma-c/2?a-c-2:m-d/2;return l},E=function(b){var a=n;n=t;t=a;C=b},T=function(){!1!==B.apply(0,n)?!1!==w.apply(0,t)||C||(E(!0),T()):C?g.x=g.y=0:(E(!0),T())};(c.inverted||1a})&&(b=b.map(function(b){var a=d(b.anchorX,b.anchorY,b.point.isHeader,b.boxWidth,!1);return h(b,{target:a.y,x:a.x})}));c.cleanSplit();A(b,G); +var F=R,ba=R;b.forEach(function(b){var a=b.x,d=b.boxWidth;b=b.isHeader;b||(c.outside&&R+aba&&(ba=R+a))});b.forEach(function(b){var a=b.x,d=b.anchorX,e=b.pos,g=b.point.isHeader;e={visibility:"undefined"===typeof e?"hidden":"inherit",x:a,y:e+z,anchorX:d,anchorY:b.anchorY};if(c.outside&&ad[0]?Math.max(Math.abs(d[0]),e.width-d[0]):Math.max(Math.abs(d[0]), +e.width);c.height=0>d[1]?Math.max(Math.abs(d[1]),e.height-Math.abs(d[1])):Math.max(Math.abs(d[1]),e.height);this.tracker?this.tracker.attr(c):(this.tracker=a.renderer.rect(c).addClass("highcharts-tracker").add(a),b.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}};a.prototype.styledModeFormat=function(b){return b.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')};a.prototype.tooltipFooterHeaderFormatter= +function(b,a){var d=b.series,c=d.tooltipOptions,e=d.xAxis,g=e&&e.dateTime;e={isFooter:a,labelConfig:b};var l=c.xDateFormat,r=c[a?"footerFormat":"headerFormat"];f(this,"headerFormatter",e,function(a){g&&!l&&p(b.key)&&(l=g.getXDateFormat(b.key,c.dateTimeLabelFormats));g&&l&&(b.point&&b.point.tooltipDateKeys||["key"]).forEach(function(b){r=r.replace("{point."+b+"}","{point."+b+":"+l+"}")});d.chart.styledMode&&(r=this.styledModeFormat(r));a.text=v(r,{point:b,series:d},this.chart)});return e.text};a.prototype.update= +function(b){this.destroy();t(!0,this.chart.options.tooltip.userOptions,b);this.init(this.chart,t(!0,this.options,b))};a.prototype.updatePosition=function(b){var a=this.chart,d=this.options,c=a.pointer,e=this.getLabel();c=c.getChartPosition();var l=(d.positioner||this.getPosition).call(this,e.width,e.height,b),f=b.plotX+a.plotLeft;b=b.plotY+a.plotTop;if(this.outside){d=d.borderWidth+2*this.distance;this.renderer.setSize(e.width+d,e.height+d,!1);if(1!==c.scaleX||1!==c.scaleY)k(this.container,{transform:"scale("+ +c.scaleX+", "+c.scaleY+")"}),f*=c.scaleX,b*=c.scaleY;f+=c.left-l.x;b+=c.top-l.y}this.move(Math.round(l.x),Math.round(l.y||0),f,b)};return a}();"";return a});M(a,"Core/Series/Point.js",[a["Core/Renderer/HTML/AST.js"],a["Core/Animation/AnimationUtilities.js"],a["Core/DefaultOptions.js"],a["Core/FormatUtilities.js"],a["Core/Utilities.js"]],function(a,u,z,F,y){var v=u.animObject,H=z.defaultOptions,A=F.format,q=y.addEvent,n=y.defined,k=y.erase,e=y.extend,c=y.fireEvent,h=y.getNestedProperty,f=y.isArray, +w=y.isFunction,p=y.isNumber,B=y.isObject,t=y.merge,J=y.objectEach,C=y.pick,r=y.syncTimeout,l=y.removeEvent,b=y.uniqueKey;u=function(){function g(){this.colorIndex=this.category=void 0;this.formatPrefix="point";this.id=void 0;this.isNull=!1;this.percentage=this.options=this.name=void 0;this.selected=!1;this.total=this.series=void 0;this.visible=!0;this.x=void 0}g.prototype.animateBeforeDestroy=function(){var b=this,a={x:b.startXPos,opacity:0},c=b.getGraphicalProps();c.singular.forEach(function(d){b[d]= +b[d].animate("dataLabel"===d?{x:b[d].startXPos,y:b[d].startYPos,opacity:0}:a)});c.plural.forEach(function(a){b[a].forEach(function(a){a.element&&a.animate(e({x:b.startXPos},a.startYPos?{x:a.startXPos,y:a.startYPos}:{}))})})};g.prototype.applyOptions=function(b,a){var d=this.series,c=d.options.pointValKey||d.pointValKey;b=g.prototype.optionsToObject.call(this,b);e(this,b);this.options=this.options?e(this.options,b):b;b.group&&delete this.group;b.dataLabels&&delete this.dataLabels;c&&(this.y=g.prototype.getNestedProperty.call(this, +c));this.formatPrefix=(this.isNull=C(this.isValid&&!this.isValid(),null===this.x||!p(this.y)))?"null":"point";this.selected&&(this.state="select");"name"in this&&"undefined"===typeof a&&d.xAxis&&d.xAxis.hasNames&&(this.x=d.xAxis.nameToX(this));"undefined"===typeof this.x&&d?this.x="undefined"===typeof a?d.autoIncrement():a:p(b.x)&&d.options.relativeXValue&&(this.x=d.autoIncrement(b.x));return this};g.prototype.destroy=function(){function b(){if(a.graphic||a.dataLabel||a.dataLabels)l(a),a.destroyElements(); +for(h in a)a[h]=null}var a=this,c=a.series,e=c.chart;c=c.options.dataSorting;var g=e.hoverPoints,f=v(a.series.chart.renderer.globalAnimation),h;a.legendItem&&e.legend.destroyItem(a);g&&(a.setState(),k(g,a),g.length||(e.hoverPoints=null));if(a===e.hoverPoint)a.onMouseOut();c&&c.enabled?(this.animateBeforeDestroy(),r(b,f.duration)):b();e.pointCount--};g.prototype.destroyElements=function(b){var a=this;b=a.getGraphicalProps(b);b.singular.forEach(function(b){a[b]=a[b].destroy()});b.plural.forEach(function(b){a[b].forEach(function(b){b.element&& +b.destroy()});delete a[b]})};g.prototype.firePointEvent=function(b,a,e){var d=this,g=this.series.options;(g.point.events[b]||d.options&&d.options.events&&d.options.events[b])&&d.importEvents();"click"===b&&g.allowPointSelect&&(e=function(b){d.select&&d.select(null,b.ctrlKey||b.metaKey||b.shiftKey)});c(d,b,a,e)};g.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+ +("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")};g.prototype.getGraphicalProps=function(b){var a=this,d=[],c={singular:[],plural:[]},e;b=b||{graphic:1,dataLabel:1};b.graphic&&d.push("graphic","upperGraphic","shadowGroup");b.dataLabel&&d.push("dataLabel","dataLabelUpper","connector");for(e=d.length;e--;){var g=d[e];a[g]&& +c.singular.push(g)}["dataLabel","connector"].forEach(function(d){var e=d+"s";b[d]&&a[e]&&c.plural.push(e)});return c};g.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}};g.prototype.getNestedProperty=function(b){if(b)return 0===b.indexOf("custom.")?h(b,this.options):this[b]};g.prototype.getZone=function(){var b=this.series, +a=b.zones;b=b.zoneAxis||"y";var c,e=0;for(c=a[e];this[b]>=c.value;)c=a[++e];this.nonZonedColor||(this.nonZonedColor=this.color);this.color=c&&c.color&&!this.options.color?c.color:this.nonZonedColor;return c};g.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType};g.prototype.init=function(a,e,g){this.series=a;this.applyOptions(e,g);this.id=n(this.id)?this.id:b();this.resolveColor();a.chart.pointCount++;c(this,"afterInit"); +return this};g.prototype.optionsToObject=function(b){var a=this.series,d=a.options.keys,c=d||a.pointArrayMap||["y"],e=c.length,l={},r=0,h=0;if(p(b)||null===b)l[c[0]]=b;else if(f(b))for(!d&&b.length>e&&(a=typeof b[0],"string"===a?l.name=b[0]:"number"===a&&(l.x=b[0]),r++);hm+h&&(q=m+h),Bf+r&&(B=f+r),this.hasDragged=Math.sqrt(Math.pow(k-q,2)+Math.pow(p-B,2)),10a.options.findNearestPointBy.indexOf("y");a= +a.searchPoint(b,d);if((d=w(a,!0)&&a.series)&&!(d=!w(l,!0))){d=l.distX-a.distX;var e=l.dist-a.dist,g=(a.series.group&&a.series.group.zIndex)-(l.series.group&&l.series.group.zIndex);d=0<(0!==d&&c?d:0!==e?e:0!==g?g:l.series.index>a.series.index?-1:1)}d&&(l=a)});return l};a.prototype.getChartCoordinatesFromPoint=function(a,c){var b=a.series,e=b.xAxis;b=b.yAxis;var d=a.shapeArgs;if(e&&b){var l=t(a.clientX,a.plotX),h=a.plotY||0;a.isNode&&d&&f(d.x)&&f(d.y)&&(l=d.x,h=d.y);return c?{chartX:b.len+b.pos-h,chartY:e.len+ +e.pos-l}:{chartX:l+e.pos,chartY:h+b.pos}}if(d&&d.x&&d.y)return{chartX:d.x,chartY:d.y}};a.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var a=this.chart.container,c=B(a);this.chartPosition={left:c.left,top:c.top,scaleX:1,scaleY:1};var b=a.offsetWidth;a=a.offsetHeight;2x.max&&(b=x.max-w,J=!0);J?(N-=.8*(N-f[l][0]),"number"===typeof v&&(v-=.8*(v-f[l][1])), +c()):f[l]=[N,v];t||(m[l]=E-n,m[r]=w);m=t?1/C:C;d[r]=w;d[l]=b;e[t?a?"scaleY":"scaleX":"scale"+k]=C;e["translate"+k]=m*n+(N-m*D)};a.prototype.reset=function(a,c){var b=this.chart,e=b.hoverSeries,d=b.hoverPoint,m=b.hoverPoints,f=b.tooltip,l=f&&f.shared?m:d;a&&l&&J(l).forEach(function(b){b.series.isCartesian&&"undefined"===typeof b.plotX&&(a=!1)});if(a)f&&l&&J(l).length&&(f.refresh(l),f.shared&&m?m.forEach(function(b){b.setState(b.state,!0);b.series.isCartesian&&(b.series.xAxis.crosshair&&b.series.xAxis.drawCrosshair(null, +b),b.series.yAxis.crosshair&&b.series.yAxis.drawCrosshair(null,b))}):d&&(d.setState(d.state,!0),b.axes.forEach(function(b){b.crosshair&&d.series[b.coll]===b&&b.drawCrosshair(null,d)})));else{if(d)d.onMouseOut();m&&m.forEach(function(b){b.setState()});if(e)e.onMouseOut();f&&f.hide(c);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());b.axes.forEach(function(b){b.hideCrosshair()});this.hoverX=b.hoverPoints=b.hoverPoint=null}};a.prototype.runPointActions=function(e,f){var b=this.chart, +g=b.tooltip&&b.tooltip.options.enabled?b.tooltip:void 0,d=g?g.shared:!1,m=f||b.hoverPoint,l=m&&m.series||b.hoverSeries;f=this.getHoverData(m,l,b.series,(!e||"touchmove"!==e.type)&&(!!f||l&&l.directTouch&&this.isDirectTouch),d,e);m=f.hoverPoint;l=f.hoverSeries;var h=f.hoverPoints;f=l&&l.tooltipOptions.followPointer&&!l.tooltipOptions.split;d=d&&l&&!l.noSharedTooltip;if(m&&(m!==b.hoverPoint||g&&g.isHidden)){(b.hoverPoints||[]).forEach(function(b){-1===h.indexOf(b)&&b.setState()});if(b.hoverSeries!== +l)l.onMouseOver();this.applyInactiveState(h);(h||[]).forEach(function(b){b.setState("hover")});b.hoverPoint&&b.hoverPoint.firePointEvent("mouseOut");if(!m.series)return;b.hoverPoints=h;b.hoverPoint=m;m.firePointEvent("mouseOver");g&&g.refresh(d?h:m,e)}else f&&g&&!g.isHidden&&(m=g.getAnchor([{}],e),b.isInsidePlot(m[0],m[1],{visiblePlotOnly:!0})&&g.updatePosition({plotX:m[0],plotY:m[1]}));this.unDocMouseMove||(this.unDocMouseMove=A(b.container.ownerDocument,"mousemove",function(b){var d=G[a.hoverChartIndex]; +if(d)d.pointer.onDocumentMouseMove(b)}),this.eventsToUnbind.push(this.unDocMouseMove));b.axes.forEach(function(a){var d=t((a.crosshair||{}).snap,!0),g;d&&((g=b.hoverPoint)&&g.series[a.coll]===a||(g=c(h,function(b){return b.series[a.coll]===a})));g||!d?a.drawCrosshair(e,g):a.hideCrosshair()})};a.prototype.scaleGroups=function(a,c){var b=this.chart;b.series.forEach(function(e){var d=a||e.getPlotBox();e.group&&(e.xAxis&&e.xAxis.zoomEnabled||b.mapView)&&(e.group.attr(d),e.markerGroup&&(e.markerGroup.attr(d), +e.markerGroup.clip(c?b.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});b.clipRect.attr(c||b.clipBox)};a.prototype.setDOMEvents=function(){var c=this,e=this.chart.container,b=e.ownerDocument;e.onmousedown=this.onContainerMouseDown.bind(this);e.onmousemove=this.onContainerMouseMove.bind(this);e.onclick=this.onContainerClick.bind(this);this.eventsToUnbind.push(A(e,"mouseenter",this.onContainerMouseEnter.bind(this)));this.eventsToUnbind.push(A(e,"mouseleave",this.onContainerMouseLeave.bind(this))); +a.unbindDocumentMouseUp||(a.unbindDocumentMouseUp=A(b,"mouseup",this.onDocumentMouseUp.bind(this)));for(var g=this.chart.renderTo.parentElement;g&&"BODY"!==g.tagName;)this.eventsToUnbind.push(A(g,"scroll",function(){delete c.chartPosition})),g=g.parentElement;u.hasTouch&&(this.eventsToUnbind.push(A(e,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(A(e,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),a.unbindDocumentTouchEnd||(a.unbindDocumentTouchEnd= +A(b,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))};a.prototype.setHoverChartIndex=function(){var c=this.chart,e=u.charts[t(a.hoverChartIndex,-1)];if(e&&e!==c)e.pointer.onContainerMouseLeave({relatedTarget:!0});e&&e.mouseIsDown||(a.hoverChartIndex=c.index)};a.prototype.touch=function(a,c){var b=this.chart,e;this.setHoverChartIndex();if(1===a.touches.length)if(a=this.normalize(a),(e=b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop,{visiblePlotOnly:!0}))&&!b.openMenu){c&&this.runPointActions(a); +if("touchmove"===a.type){c=this.pinchDown;var d=c[0]?4<=Math.sqrt(Math.pow(c[0].chartX-a.chartX,2)+Math.pow(c[0].chartY-a.chartY,2)):!1}t(d,!0)&&this.pinch(a)}else c&&this.reset();else 2===a.touches.length&&this.pinch(a)};a.prototype.touchSelect=function(a){return!(!this.chart.options.chart.zoomBySingleTouch||!a.touches||1!==a.touches.length)};a.prototype.zoomOption=function(a){var c=this.chart,b=c.options.chart;c=c.inverted;var e=b.zoomType||"";/touch/.test(a.type)&&(e=t(b.pinchType,e));this.zoomX= +a=/x/.test(e);this.zoomY=b=/y/.test(e);this.zoomHor=a&&!c||b&&c;this.zoomVert=b&&!c||a&&c;this.hasZoom=a||b};return a}();"";return a});M(a,"Core/MSPointer.js",[a["Core/Globals.js"],a["Core/Pointer.js"],a["Core/Utilities.js"]],function(a,u,z){function v(){var a=[];a.item=function(a){return this[a]};c(f,function(c){a.push({pageX:c.pageX,pageY:c.pageY,target:c.target})});return a}function y(a,c,e,f){var h=H[u.hoverChartIndex||NaN];"touch"!==a.pointerType&&a.pointerType!==a.MSPOINTER_TYPE_TOUCH||!h|| +(h=h.pointer,f(a),h[c]({type:e,target:a.currentTarget,preventDefault:q,touches:v()}))}var G=this&&this.__extends||function(){var a=function(c,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(c,e)};return function(c,e){function f(){this.constructor=c}a(c,e);c.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),H=a.charts,A=a.doc,q=a.noop,n=a.win,k=z.addEvent,e=z.css, +c=z.objectEach,h=z.removeEvent,f={},w=!!n.PointerEvent;return function(c){function p(){return null!==c&&c.apply(this,arguments)||this}G(p,c);p.isRequired=function(){return!(a.hasTouch||!n.PointerEvent&&!n.MSPointerEvent)};p.prototype.batchMSEvents=function(a){a(this.chart.container,w?"pointerdown":"MSPointerDown",this.onContainerPointerDown);a(this.chart.container,w?"pointermove":"MSPointerMove",this.onContainerPointerMove);a(A,w?"pointerup":"MSPointerUp",this.onDocumentPointerUp)};p.prototype.destroy= +function(){this.batchMSEvents(h);c.prototype.destroy.call(this)};p.prototype.init=function(a,f){c.prototype.init.call(this,a,f);this.hasZoom&&e(a.container,{"-ms-touch-action":"none","touch-action":"none"})};p.prototype.onContainerPointerDown=function(a){y(a,"onContainerTouchStart","touchstart",function(a){f[a.pointerId]={pageX:a.pageX,pageY:a.pageY,target:a.currentTarget}})};p.prototype.onContainerPointerMove=function(a){y(a,"onContainerTouchMove","touchmove",function(a){f[a.pointerId]={pageX:a.pageX, +pageY:a.pageY};f[a.pointerId].target||(f[a.pointerId].target=a.currentTarget)})};p.prototype.onDocumentPointerUp=function(a){y(a,"onDocumentTouchEnd","touchend",function(a){delete f[a.pointerId]})};p.prototype.setDOMEvents=function(){c.prototype.setDOMEvents.call(this);(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(k)};return p}(u)});M(a,"Core/Legend/Legend.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/FormatUtilities.js"],a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Renderer/RendererUtilities.js"], +a["Core/Utilities.js"]],function(a,u,z,F,y,G){var v=a.animObject,A=a.setAnimation,q=u.format;a=z.isFirefox;var n=z.marginNames;z=z.win;var k=y.distribute,e=G.addEvent,c=G.createElement,h=G.css,f=G.defined,w=G.discardElement,p=G.find,B=G.fireEvent,t=G.isNumber,J=G.merge,C=G.pick,r=G.relativeLength,l=G.stableSort,b=G.syncTimeout;y=G.wrap;G=function(){function a(b,a){this.allItems=[];this.contentGroup=this.box=void 0;this.display=!1;this.group=void 0;this.offsetWidth=this.maxLegendWidth=this.maxItemWidth= +this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0;this.options={};this.padding=0;this.pages=[];this.proximate=!1;this.scrollGroup=void 0;this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0;this.chart=b;this.init(b,a)}a.prototype.init=function(b,a){this.chart=b;this.setOptions(a);a.enabled&&(this.render(),e(this.chart,"endResize",function(){this.legend.positionCheckboxes()}), +this.proximate?this.unchartrender=e(this.chart,"render",function(){this.legend.proximatePositions();this.legend.positionItems()}):this.unchartrender&&this.unchartrender())};a.prototype.setOptions=function(b){var a=C(b.padding,8);this.options=b;this.chart.styledMode||(this.itemStyle=b.itemStyle,this.itemHiddenStyle=J(this.itemStyle,b.itemHiddenStyle));this.itemMarginTop=b.itemMarginTop||0;this.itemMarginBottom=b.itemMarginBottom||0;this.padding=a;this.initialItemY=a-5;this.symbolWidth=C(b.symbolWidth, +16);this.pages=[];this.proximate="proximate"===b.layout&&!this.chart.inverted;this.baseline=void 0};a.prototype.update=function(b,a){var c=this.chart;this.setOptions(J(!0,this.options,b));this.destroy();c.isDirtyLegend=c.isDirtyBox=!0;C(a,!0)&&c.redraw();B(this,"afterUpdate")};a.prototype.colorizeItem=function(b,a){b.legendGroup[a?"removeClass":"addClass"]("highcharts-legend-item-hidden");if(!this.chart.styledMode){var c=this.options,d=b.legendItem,e=b.legendLine,g=b.legendSymbol,f=this.itemHiddenStyle.color; +c=a?c.itemStyle.color:f;var m=a?b.color||f:f,h=b.options&&b.options.marker,l={fill:m};d&&d.css({fill:c,color:c});e&&e.attr({stroke:m});g&&(h&&g.isMarker&&(l=b.pointAttribs(),a||(l.stroke=l.fill=f)),g.attr(l))}B(this,"afterColorizeItem",{item:b,visible:a})};a.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this);this.chart.isResizing||this.positionCheckboxes()};a.prototype.positionItem=function(b){var a=this,c=this.options,d=c.symbolPadding,e=!c.rtl,g=b._legendItemPos;c= +g[0];g=g[1];var h=b.checkbox,l=b.legendGroup;l&&l.element&&(d={translateX:e?c:this.legendWidth-c-2*d-4,translateY:g},e=function(){B(a,"afterPositionItem",{item:b})},f(l.translateY)?l.animate(d,void 0,e):(l.attr(d),e()));h&&(h.x=c,h.y=g)};a.prototype.destroyItem=function(b){var a=b.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(a){b[a]&&(b[a]=b[a].destroy())});a&&w(b.checkbox)};a.prototype.destroy=function(){function b(b){this[b]&&(this[b]=this[b].destroy())}this.getAllItems().forEach(function(a){["legendItem", +"legendGroup"].forEach(b,a)});"clipRect up down pager nav box title group".split(" ").forEach(b,this);this.display=null};a.prototype.positionCheckboxes=function(){var b=this.group&&this.group.alignAttr,a=this.clipHeight||this.legendHeight,c=this.titleHeight;if(b){var e=b.translateY;this.allItems.forEach(function(d){var g=d.checkbox;if(g){var f=e+c+g.y+(this.scrollOffset||0)+3;h(g,{left:b.translateX+d.checkboxOffset+g.x-20+"px",top:f+"px",display:this.proximate||f>e-6&&f1.5*c?a.height:c))};a.prototype.layoutItem=function(b){var a=this.options,c=this.padding,d="horizontal"===a.layout,e=b.itemHeight,g=this.itemMarginBottom,f=this.itemMarginTop,h=d?C(a.itemDistance,20):0,l=this.maxLegendWidth;a=a.alignColumns&& +this.totalItemWidth>l?this.maxItemWidth:b.itemWidth;d&&this.itemX-c+a>l&&(this.itemX=c,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+g),this.lastLineHeight=0);this.lastItemY=f+this.itemY+g;this.lastLineHeight=Math.max(e,this.lastLineHeight);b._legendItemPos=[this.itemX,this.itemY];d?this.itemX+=a:(this.itemY+=f+e+g,this.lastLineHeight=e);this.offsetWidth=this.widthOption||Math.max((d?this.itemX-c-(b.checkbox?0:h):a)+c,this.offsetWidth)};a.prototype.getAllItems=function(){var b=[];this.chart.series.forEach(function(a){var c= +a&&a.options;a&&C(c.showInLegend,f(c.linkedTo)?!1:void 0,!0)&&(b=b.concat(a.legendItems||("point"===c.legendType?a.data:a)))});B(this,"afterGetAllItems",{allItems:b});return b};a.prototype.getAlignment=function(){var b=this.options;return this.proximate?b.align.charAt(0)+"tv":b.floating?"":b.align.charAt(0)+b.verticalAlign.charAt(0)+b.layout.charAt(0)};a.prototype.adjustMargins=function(b,a){var c=this.chart,d=this.options,e=this.getAlignment();e&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(g, +h){g.test(e)&&!f(b[h])&&(c[n[h]]=Math.max(c[n[h]],c.legend[(h+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][h]*d[h%2?"x":"y"]+C(d.margin,12)+a[h]+(c.titleOffset[h]||0)))})};a.prototype.proximatePositions=function(){var b=this.chart,a=[],c="left"===this.options.align;this.allItems.forEach(function(d){var e;var g=c;if(d.yAxis){d.xAxis.options.reversed&&(g=!g);d.points&&(e=p(g?d.points:d.points.slice(0).reverse(),function(b){return t(b.plotY)}));g=this.itemMarginTop+d.legendItem.getBBox().height+this.itemMarginBottom; +var f=d.yAxis.top-b.plotTop;d.visible?(e=e?e.plotY:d.yAxis.height,e+=f-.3*g):e=f+d.yAxis.height;a.push({target:e,size:g,item:d})}},this);k(a,b.plotHeight).forEach(function(a){a.item._legendItemPos&&(a.item._legendItemPos[1]=b.plotTop-b.spacing[0]+a.pos)})};a.prototype.render=function(){var b=this.chart,a=b.renderer,c=this.options,e=this.padding,g=this.getAllItems(),f=this.group,h=this.box;this.itemX=e;this.itemY=this.initialItemY;this.lastItemY=this.offsetWidth=0;this.widthOption=r(c.width,b.spacingBox.width- +e);var k=b.spacingBox.width-2*e-c.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(k/=2);this.maxLegendWidth=this.widthOption||k;f||(this.group=f=a.g("legend").addClass(c.className||"").attr({zIndex:7}).add(),this.contentGroup=a.g().attr({zIndex:1}).add(f),this.scrollGroup=a.g().add(this.contentGroup));this.renderTitle();l(g,function(b,a){return(b.options&&b.options.legendIndex||0)-(a.options&&a.options.legendIndex||0)});c.reversed&&g.reverse();this.allItems=g;this.display=k=!!g.length; +this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0;g.forEach(this.renderItem,this);g.forEach(this.layoutItem,this);g=(this.widthOption||this.offsetWidth)+e;var p=this.lastItemY+this.lastLineHeight+this.titleHeight;p=this.handleOverflow(p);p+=e;h||(this.box=h=a.rect().addClass("highcharts-legend-box").attr({r:c.borderRadius}).add(f),h.isNew=!0);b.styledMode||h.attr({stroke:c.borderColor,"stroke-width":c.borderWidth||0,fill:c.backgroundColor||"none"}).shadow(c.shadow);0g&&!1!==k.enabled?(this.clipHeight=E=Math.max(g-20-this.titleHeight- +h,0),this.currentPage=C(this.currentPage,1),this.fullHeight=b,t.forEach(function(b,a){var c=b._legendItemPos[1],d=Math.round(b.legendItem.getBBox().height),e=r.length;if(!e||c-r[e-1]>E&&(B||c)!==r[e-1])r.push(B||c),e++;b.pageIx=e-1;B&&(t[a-1].pageIx=e-1);a===t.length-1&&c+d-r[e-1]>E&&d<=E&&(r.push(c),b.pageIx=e);c!==B&&(B=c)}),v||(v=a.clipRect=d.clipRect(0,h,9999,0),a.contentGroup.clip(v)),q(E),N||(this.nav=N=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,n,n).add(N),w("upTracker").on("click", +function(){a.scroll(-1,p)}),this.pager=d.text("",15,10).addClass("highcharts-legend-navigation"),c.styledMode||this.pager.css(k.style),this.pager.add(N),this.down=d.symbol("triangle-down",0,0,n,n).add(N),w("downTracker").on("click",function(){a.scroll(1,p)})),a.scroll(0),b=g):N&&(q(),this.nav=N.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0);return b};a.prototype.scroll=function(a,c){var d=this,e=this.chart,g=this.pages,f=g.length,h=this.clipHeight,l=this.options.navigation,m=this.pager, +k=this.padding,p=this.currentPage+a;p>f&&(p=f);0=Math.max(l+g,p.pos)&&h<=Math.min(l+g+e.width,p.pos+p.len)||(b.isInsidePlot=!1)}!c.ignoreY&& +b.isInsidePlot&&(d=m&&(d?m.xAxis:m.yAxis)||{pos:f,len:Infinity},c=c.paneCoordinates?d.pos+a:f+a,c>=Math.max(k+f,d.pos)&&c<=Math.min(k+f+e.height,d.pos+d.len)||(b.isInsidePlot=!1));Q(this,"afterIsInsidePlot",b);return b.isInsidePlot};a.prototype.redraw=function(b){Q(this,"beforeRedraw");var a=this.hasCartesianSeries?this.axes:this.colorAxis||[],c=this.series,d=this.pointer,e=this.legend,g=this.userOptions.legend,f=this.renderer,h=f.isHidden(),l=[],k=this.isDirtyBox,m=this.isDirtyLegend;this.setResponsive&& +this.setResponsive(!1);B(this.hasRendered?b:!1,this);h&&this.temporaryDisplay();this.layOutTitles();for(b=c.length;b--;){var p=c[b];if(p.options.stacking||p.options.centerInCategory){var n=!0;if(p.isDirty){var E=!0;break}}}if(E)for(b=c.length;b--;)p=c[b],p.options.stacking&&(p.isDirty=!0);c.forEach(function(b){b.isDirty&&("point"===b.options.legendType?("function"===typeof b.updateTotals&&b.updateTotals(),m=!0):g&&(g.labelFormatter||g.labelFormat)&&(m=!0));b.isDirtyData&&Q(b,"updatedData")});m&&e&& +e.options.enabled&&(e.render(),this.isDirtyLegend=!1);n&&this.getStacks();a.forEach(function(b){b.updateNames();b.setScale()});this.getMargins();a.forEach(function(b){b.isDirty&&(k=!0)});a.forEach(function(b){var a=b.min+","+b.max;b.extKey!==a&&(b.extKey=a,l.push(function(){Q(b,"afterSetExtremes",M(b.eventArgs,b.getExtremes()));delete b.eventArgs}));(k||n)&&b.redraw()});k&&this.drawChartBox();Q(this,"predraw");c.forEach(function(b){(k||b.isDirty)&&b.visible&&b.redraw();b.isDirtyData=!1});d&&d.reset(!0); +f.draw();Q(this,"redraw");Q(this,"render");h&&this.temporaryDisplay(!0);l.forEach(function(b){b.call()})};a.prototype.get=function(b){function a(a){return a.id===b||a.options&&a.options.id===b}for(var c=this.series,d=da(this.axes,a)||da(this.series,a),e=0;!d&&e=h&&d<=l||k||!U(d))m=!0;c[k?"zoomX":"zoomY"]&&m&&(g=f.zoom(b.min,b.max),f.displayBtn&&(e=!0))});var f=a.resetZoomButton;e&&!f?a.showResetZoom():!e&&N(f)&&(a.resetZoomButton=f.destroy());g&&a.redraw(R(a.options.chart.animation, +b&&b.animation,100>a.pointCount))};a.prototype.pan=function(b,a){var c=this,d=c.hoverPoints;a="object"===typeof a?a:{enabled:a,type:"x"};var e=c.options.chart,g=c.options.mapNavigation&&c.options.mapNavigation.enabled;e&&e.panning&&(e.panning=a);var f=a.type,h;Q(this,"pan",{originalEvent:b},function(){d&&d.forEach(function(b){b.setState()});var a=c.xAxis;"xy"===f?a=a.concat(c.yAxis):"y"===f&&(a=c.yAxis);var e={};a.forEach(function(a){if(a.options.panningEnabled&&!a.options.isInternal){var d=a.horiz, +l=b[d?"chartX":"chartY"];d=d?"mouseDownX":"mouseDownY";var k=c[d],m=a.minPointOffset||0,p=a.reversed&&!c.inverted||!a.reversed&&c.inverted?-1:1,n=a.getExtremes(),E=a.toValue(k-l,!0)+m*p,r=a.toValue(k+a.len-l,!0)-(m*p||a.isXAxis&&a.pointRangePadding||0),t=r=p&&E<=r&&(a.setExtremes(k,E,!1, +!1,{trigger:"pan"}),c.resetZoomButton||g||k===p||E===r||!f.match("y")||(c.showResetZoom(),a.displayBtn=!1),h=!0),e[d]=l)}});X(e,function(b,a){c[a]=b});h&&c.redraw(!1);O(c.container,{cursor:"move"})})};return a}();M(a.prototype,{callbacks:[],collectionsWithInit:{xAxis:[a.prototype.addAxis,[!0]],yAxis:[a.prototype.addAxis,[!1]],series:[a.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "), +propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")});"";return a});M(a,"Core/Legend/LegendSymbol.js",[a["Core/Utilities.js"]],function(a){var v=a.merge,z=a.pick,F;(function(a){a.drawLineMarker=function(a){var u=this.options,A=a.symbolWidth,q=a.symbolHeight,n=q/2,k=this.chart.renderer, +e=this.legendGroup;a=a.baseline-Math.round(.3*a.fontMetrics.b);var c={},h=u.marker;this.chart.styledMode||(c={"stroke-width":u.lineWidth||0},u.dashStyle&&(c.dashstyle=u.dashStyle));this.legendLine=k.path([["M",0,a],["L",A,a]]).addClass("highcharts-graph").attr(c).add(e);h&&!1!==h.enabled&&A&&(u=Math.min(z(h.radius,n),n),0===this.symbol.indexOf("url")&&(h=v(h,{width:q,height:q}),u=0),this.legendSymbol=A=k.symbol(this.symbol,A/2-u,a-u,2*u,2*u,h).addClass("highcharts-point").add(e),A.isMarker=!0)};a.drawRectangle= +function(a,v){var u=a.symbolHeight,q=a.options.squareSymbol;v.legendSymbol=this.chart.renderer.rect(q?(a.symbolWidth-u)/2:0,a.baseline-u+1,q?u:a.symbolWidth,u,z(a.options.symbolRadius,u/2)).addClass("highcharts-point").attr({zIndex:3}).add(v.legendGroup)}})(F||(F={}));return F});M(a,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0}, +hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var a=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":a(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0}, +hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"}});M(a,"Core/Series/Series.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/DefaultOptions.js"],a["Core/Foundation.js"],a["Core/Globals.js"],a["Core/Legend/LegendSymbol.js"],a["Core/Series/Point.js"],a["Core/Series/SeriesDefaults.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/SVGElement.js"], +a["Core/Utilities.js"]],function(a,u,z,F,y,G,H,A,q,n){var k=a.animObject,e=a.setAnimation,c=u.defaultOptions,h=z.registerEventOptions,f=F.hasTouch,w=F.svg,p=F.win,B=A.seriesTypes,t=n.addEvent,v=n.arrayMax,C=n.arrayMin,r=n.clamp,l=n.cleanRecursively,b=n.correctFloat,g=n.defined,d=n.erase,m=n.error,D=n.extend,x=n.find,I=n.fireEvent,P=n.getNestedProperty,S=n.isArray,O=n.isNumber,U=n.isString,Y=n.merge,L=n.objectEach,K=n.pick,M=n.removeEvent,da=n.splat,Q=n.syncTimeout;a=function(){function a(){this.zones= +this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}a.prototype.init=function(a,b){I(this,"init",{options:b});var c=this,d=a.series;this.eventsToUnbind=[];c.chart=a;c.options=c.setOptions(b);b=c.options;c.linkedSeries=[];c.bindAxes();D(c,{name:b.name,state:"",visible:!1!==b.visible,selected:!0===b.selected});h(this,b);var e= +b.events;if(e&&e.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;c.getColor();c.getSymbol();c.parallelArrays.forEach(function(a){c[a+"Data"]||(c[a+"Data"]=[])});c.isCartesian&&(a.hasCartesianSeries=!0);var g;d.length&&(g=d[d.length-1]);c._i=K(g&&g._i,-1)+1;c.opacity=c.options.opacity;a.orderSeries(this.insert(d));b.dataSorting&&b.dataSorting.enabled?c.setDataSortingOptions():c.points||c.data||c.setData(b.data,!1);I(this,"afterInit")};a.prototype.is=function(a){return B[a]&& +this instanceof B[a]};a.prototype.insert=function(a){var b=this.options.index,c;if(O(b)){for(c=a.length;c--;)if(b>=K(a[c].options.index,a[c]._i)){a.splice(c+1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return K(c,a.length-1)};a.prototype.bindAxes=function(){var a=this,b=a.options,c=a.chart,d;I(this,"bindAxes",null,function(){(a.axisTypes||[]).forEach(function(e){var g=0;c[e].forEach(function(c){d=c.options;if(b[e]===g&&!d.isInternal||"undefined"!==typeof b[e]&&b[e]===d.id||"undefined"=== +typeof b[e]&&0===d.index)a.insert(c.series),a[e]=c,c.isDirty=!0;d.isInternal||g++});a[e]||a.optionalAxis===e||m(18,!0,c)})});I(this,"afterBindAxes")};a.prototype.updateParallelArrays=function(a,b){var c=a.series,d=arguments,e=O(b)?function(d){var e="y"===d&&c.toYData?c.toYData(a):a[d];c[d+"Data"][b]=e}:function(a){Array.prototype[b].apply(c[a+"Data"],Array.prototype.slice.call(d,2))};c.parallelArrays.forEach(e)};a.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&& +"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0=this.cropStart?l-this.cropStart:l);!h&&O(l)&&e[l]&&e[l].touched&&(l=void 0);return l};a.prototype.updateData=function(a,b){var c=this.options,d=c.dataSorting,e=this.points,f=[],h=this.requireSorting,l=a.length===e.length,k,m,p,n=!0;this.xIncrement=null;a.forEach(function(a, +b){var m=g(a)&&this.pointClass.prototype.optionsToObject.call({series:this},a)||{},n=m.x;if(m.id||O(n)){if(m=this.findPointIndex(m,p),-1===m||"undefined"===typeof m?f.push(a):e[m]&&a!==c.data[m]?(e[m].update(a,!1,null,!1),e[m].touched=!0,h&&(p=m+1)):e[m]&&(e[m].touched=!0),!l||b!==m||d&&d.enabled||this.hasDerivedData)k=!0}else f.push(a)},this);if(k)for(a=e.length;a--;)(m=e[a])&&!m.touched&&m.remove&&m.remove(!1,b);else!l||d&&d.enabled?n=!1:(a.forEach(function(a,b){a!==e[b].y&&e[b].update&&e[b].update(a, +!1,null,!1)}),f.length=0);e.forEach(function(a){a&&(a.touched=!1)});if(!n)return!1;f.forEach(function(a){this.addPoint(a,!1,null,null,!1)},this);null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=v(this.xData),this.autoIncrement());return!0};a.prototype.setData=function(a,b,c,d){var e=this,g=e.points,f=g&&g.length||0,h=e.options,l=e.chart,k=h.dataSorting,p=e.xAxis,n=h.turboThreshold,r=this.xData,E=this.yData,t=e.pointArrayMap;t=t&&t.length;var q=h.keys,w,B=0,C=1,x=null;a=a||[]; +var v=a.length;b=K(b,!0);k&&k.enabled&&(a=this.sortData(a));!1!==d&&v&&f&&!e.cropped&&!e.hasGroupedData&&e.visible&&!e.isSeriesBoosting&&(w=this.updateData(a,c));if(!w){e.xIncrement=null;e.colorCounter=0;this.parallelArrays.forEach(function(a){e[a+"Data"].length=0});if(n&&v>n)if(x=e.getFirstValidPoint(a),O(x))for(c=0;ca?1:0}).forEach(function(a,b){a.x=b},this);b.linkedSeries&&b.linkedSeries.forEach(function(b){var c= +b.options,e=c.data;c.dataSorting&&c.dataSorting.enabled||!e||(e.forEach(function(c,g){e[g]=d(b,c);a[g]&&(e[g].x=a[g].x,e[g].index=g)}),b.setData(e,!1))});return a};a.prototype.getProcessedData=function(a){var b=this.xAxis,c=this.options,d=c.cropThreshold,e=a||this.getExtremesFromAll||c.getExtremesFromAll,g=this.isCartesian;a=b&&b.val2lin;c=!(!b||!b.logarithmic);var f=0,h=this.xData,l=this.yData,k=this.requireSorting;var p=!1;var n=h.length;if(b){p=b.getExtremes();var r=p.min;var E=p.max;p=b.categories&& +!b.names.length}if(g&&this.sorted&&!e&&(!d||n>d||this.forceCrop))if(h[n-1]E)h=[],l=[];else if(this.yData&&(h[0]E)){var t=this.cropData(this.xData,this.yData,r,E);h=t.xData;l=t.yData;f=t.start;t=!0}for(d=h.length||1;--d;)if(b=c?a(h[d])-a(h[d-1]):h[d]-h[d-1],0b&&k&&!p&&(m(15,!1,this.chart),k=!1);return{xData:h,yData:l,cropped:t,cropStart:f,closestPointRange:q}};a.prototype.processData=function(a){var b=this.xAxis;if(this.isCartesian&& +!this.isDirty&&!b.isDirty&&!this.yAxis.isDirty&&!a)return!1;a=this.getProcessedData();this.cropped=a.cropped;this.cropStart=a.cropStart;this.processedXData=a.xData;this.processedYData=a.yData;this.closestPointRange=this.basePointRange=a.closestPointRange;I(this,"afterProcessData")};a.prototype.cropData=function(a,b,c,d,e){var g=a.length,f,h=0,l=g;e=K(e,this.cropShoulder);for(f=0;f=c){h=Math.max(0,f-e);break}for(c=f;cd){l=c+e;break}return{xData:a.slice(h,l),yData:b.slice(h, +l),start:h,end:l}};a.prototype.generatePoints=function(){var a=this.options,b=a.data,c=this.processedXData,d=this.processedYData,e=this.pointClass,g=c.length,f=this.cropStart||0,h=this.hasGroupedData,l=a.keys,k=[];a=a.dataGrouping&&a.dataGrouping.groupAll?f:0;var m,p,n=this.data;if(!n&&!h){var r=[];r.length=b.length;n=this.data=r}l&&h&&(this.options.keys=!1);for(p=0;p=l&&(e[h-f]||r)<=k;if(t&&r)if(t=n.length)for(;t--;)O(n[t])&&(g[m++]=n[t]);else g[m++]=n}a={activeYData:g,dataMin:C(g),dataMax:v(g)}; +I(this,"afterGetExtremes",{dataExtremes:a});return a};a.prototype.applyExtremes=function(){var a=this.getExtremes();this.dataMin=a.dataMin;this.dataMax=a.dataMax;return a};a.prototype.getFirstValidPoint=function(a){for(var b=a.length,c=0,d=null;null===d&&c=A&&(A=null),x.total=x.stackTotal=u.total,x.percentage=u.total&&x.y/u.total*100,x.stackY=J,this.irregularWidths||u.setOffset(this.pointXOffset||0,this.barW||0));x.yBottom=g(A)?r(h.translate(A,0,1,0,1),-1E5,1E5):null;this.dataModify&&(J=this.dataModify.modifyValue(J,w));x.plotY=void 0;O(J)&&(u=h.translate(J,!1,!0,!1,!0),"undefined"!==typeof u&&(x.plotY=r(u, +-1E5,1E5)));x.isInside=this.isPointInside(x);x.clientX=p?b(d.translate(v,0,0,0,1,m)):B;x.negative=x[q]<(a[q+"Threshold"]||n||0);x.category=e&&"undefined"!==typeof e[x.x]?e[x.x]:x.x;if(!x.isNull&&!1!==x.visible){"undefined"!==typeof F&&(C=Math.min(C,Math.abs(B-F)));var F=B}x.zone=this.zones.length?x.getZone():void 0;!x.graphic&&this.group&&f&&(x.isNew=!0)}this.closestPointRangePx=C;I(this,"afterTranslate")};a.prototype.getValidPoints=function(a,b,c){var d=this.chart;return(a||this.points||[]).filter(function(a){return b&& +!d.isInsidePlot(a.plotX,a.plotY,{inverted:d.inverted})?!1:!1!==a.visible&&(c||!a.isNull)})};a.prototype.getClipBox=function(){var a=this.chart,b=this.xAxis,c=this.yAxis,d=Y(a.clipBox);b&&b.len!==a.plotSizeX&&(d.width=b.len);c&&c.len!==a.plotSizeY&&(d.height=c.len);return d};a.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)};a.prototype.setClip=function(){var a=this.chart,b=this.group,c=this.markerGroup,d=a.sharedClips;a=a.renderer; +var e=this.getClipBox(),g=this.getSharedClipKey(),f=d[g];f?f.animate(e):d[g]=f=a.clipRect(e);b&&b.clip(!1===this.options.clip?void 0:f);c&&c.clip()};a.prototype.animate=function(a){var b=this.chart,c=this.group,d=this.markerGroup,e=b.inverted,g=k(this.options.animation),f=[this.getSharedClipKey(),g.duration,g.easing,g.defer].join(),h=b.sharedClips[f],l=b.sharedClips[f+"m"];if(a&&c)g=this.getClipBox(),h?h.attr("height",g.height):(g.width=0,e&&(g.x=b.plotHeight),h=b.renderer.clipRect(g),b.sharedClips[f]= +h,l=b.renderer.clipRect({x:e?(b.plotSizeX||0)+99:-99,y:e?-b.plotLeft:-b.plotTop,width:99,height:e?b.chartWidth:b.chartHeight}),b.sharedClips[f+"m"]=l),c.clip(h),d&&d.clip(l);else if(h&&!h.hasClass("highcharts-animating")){b=this.getClipBox();var m=g.step;d&&d.element.childNodes.length&&(g.step=function(a,b){m&&m.apply(b,arguments);l&&l.element&&l.attr(b.prop,"width"===b.prop?a+99:a)});h.addClass("highcharts-animating").animate(b,g)}};a.prototype.afterAnimate=function(){var a=this;this.setClip();L(this.chart.sharedClips, +function(b,c,d){b&&!a.chart.container.querySelector('[clip-path="url(#'+b.id+')"]')&&(b.destroy(),delete d[c])});this.finishedAnimating=!0;I(this,"afterAnimate")};a.prototype.drawPoints=function(){var a=this.points,b=this.chart,c=this.options.marker,d=this[this.specialGroup]||this.markerGroup,e=this.xAxis,g=K(c.enabled,!e||e.isRadial?!0:null,this.closestPointRangePx>=c.enabledThreshold*c.radius),f,h;if(!1!==c.enabled||this._hasPointMarkers)for(f=0;fD.max;a.resetZones&&0===p&&(p=void 0)});this.clips=e}else a.visible&&(g&&g.show(!0),f&&f.show(!0))};a.prototype.invertGroups=function(a){function b(){["group","markerGroup"].forEach(function(b){c[b]&&(d.renderer.isVML&&c[b].attr({width:c.yAxis.len,height:c.xAxis.len}), +c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(c.isRadialSeries?!1:a))})}var c=this,d=c.chart;c.xAxis&&(c.eventsToUnbind.push(t(d,"resize",b)),b(),c.invertGroups=b)};a.prototype.plotGroup=function(a,b,c,d,e){var f=this[a],h=!f;c={visibility:c,zIndex:d||.1};"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(c.opacity=this.opacity);h&&(this[a]=f=this.chart.renderer.g().add(e));f.addClass("highcharts-"+b+" highcharts-series-"+this.index+" highcharts-"+this.type+ +"-series "+(g(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(f.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0);f.attr(c)[h?"attr":"animate"](this.getPlotBox());return f};a.prototype.getPlotBox=function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}};a.prototype.removeEvents=function(a){a||M(this);this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(a){a()}), +this.eventsToUnbind.length=0)};a.prototype.render=function(){var a=this,b=a.chart,c=a.options,d=k(c.animation),e=a.visible?"inherit":"hidden",g=c.zIndex,f=a.hasRendered,h=b.seriesGroup,l=b.inverted;b=!a.finishedAnimating&&b.renderer.isSVG?d.duration:0;I(this,"render");var m=a.plotGroup("group","series",e,g,h);a.markerGroup=a.plotGroup("markerGroup","markers",e,g,h);!1!==c.clip&&a.setClip();a.animate&&b&&a.animate(!0);m.inverted=K(a.invertible,a.isCartesian)?l:!1;a.drawGraph&&(a.drawGraph(),a.applyZones()); +a.visible&&a.drawPoints();a.drawDataLabels&&a.drawDataLabels();a.redrawPoints&&a.redrawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(l);a.animate&&b&&a.animate();f||(b&&d.defer&&(b+=d.defer),a.animationTimeout=Q(function(){a.afterAnimate()},b||0));a.isDirty=!1;a.hasRendered=!0;I(a,"afterRender")};a.prototype.redraw=function(){var a=this.chart,b=this.isDirty||this.isDirtyData,c=this.group,d=this.xAxis,e=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth, +height:a.plotHeight}),c.animate({translateX:K(d&&d.left,a.plotLeft),translateY:K(e&&e.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree};a.prototype.searchPoint=function(a,b){var c=this.xAxis,d=this.yAxis,e=this.chart.inverted;return this.searchKDTree({clientX:e?c.len-a.chartY+c.pos:a.chartX-c.pos,plotY:e?d.len-a.chartX+d.pos:a.chartY-d.pos},b,a)};a.prototype.buildKDTree=function(a){function b(a,d,e){var g=a&&a.length;if(g){var f=c.kdAxisArray[d%e];a.sort(function(a,b){return a[f]- +b[f]});g=Math.floor(g/2);return{point:a[g],left:b(a.slice(0,g),d+1,e),right:b(a.slice(g+1),d+1,e)}}}this.buildingKdTree=!0;var c=this,d=-1p?"left":"right";r=0>p?"right":"left";b[t]&&(t=d(a,b[t],c+1,k),n=t[l]r;)t--;this.updateParallelArrays(n,"splice",t,0,0);this.updateParallelArrays(n,t);l&&n.name&&(l[r]=n.name);m.splice(t,0,a);p&&(this.data.splice(t,0,null),this.processData());"point"===g.legendType&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(n,"shift"),m.shift()));!1!==e&&I(this,"addPoint",{point:n});this.isDirtyData=this.isDirty=!0;b&&h.redraw(d)};a.prototype.removePoint= +function(a,b,c){var d=this,g=d.data,f=g[a],h=d.points,l=d.chart,k=function(){h&&h.length===g.length&&h.splice(a,1);g.splice(a,1);d.options.data.splice(a,1);d.updateParallelArrays(f||{series:d},"splice",a,1);f&&f.destroy();d.isDirty=!0;d.isDirtyData=!0;b&&l.redraw()};e(c,l);b=K(b,!0);f?f.firePointEvent("remove",null,k):k()};a.prototype.remove=function(a,b,c,d){function e(){g.destroy(d);f.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();K(a,!0)&&f.redraw(b)}var g=this,f=g.chart;!1!==c?I(g,"remove",null, +e):e()};a.prototype.update=function(a,b){a=l(a,this.userOptions);I(this,"update",{options:a});var c=this,d=c.chart,e=c.userOptions,g=c.initialType||c.type,f=d.options.plotOptions,h=B[g].prototype,k=c.finishedAnimating&&{animation:!1},p={},n,r=["eventOptions","navigatorSeries","baseSeries"],t=a.type||e.type||d.options.chart.type,q=!(this.hasDerivedData||t&&t!==this.type||"undefined"!==typeof a.pointStart||"undefined"!==typeof a.pointInterval||"undefined"!==typeof a.relativeXValue||c.hasOptionChanged("dataGrouping")|| +c.hasOptionChanged("pointStart")||c.hasOptionChanged("pointInterval")||c.hasOptionChanged("pointIntervalUnit")||c.hasOptionChanged("keys"));t=t||g;q&&(r.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==a.visible&&r.push("area","graph"),c.parallelArrays.forEach(function(a){r.push(a+"Data")}),a.data&&(a.dataSorting&&D(c.options.dataSorting,a.dataSorting), +this.setData(a.data,!1)));a=Y(e,k,{index:"undefined"===typeof e.index?c.index:e.index,pointStart:K(f&&f.series&&f.series.pointStart,e.pointStart,c.xData[0])},!q&&{data:c.options.data},a);q&&a.data&&(a.data=c.options.data);r=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(r);r.forEach(function(a){r[a]=c[a];delete c[a]});f=!1;if(B[t]){if(f=t!==c.type,c.remove(!1,!1,!1,!0),f)if(Object.setPrototypeOf)Object.setPrototypeOf(c,B[t].prototype);else{k=Object.hasOwnProperty.call(c,"hcEvents")&& +c.hcEvents;for(n in h)c[n]=void 0;D(c,B[t].prototype);k?c.hcEvents=k:delete c.hcEvents}}else m(17,!0,d,{missingModuleFor:t});r.forEach(function(a){c[a]=r[a]});c.init(d,a);if(q&&this.points){var x=c.options;!1===x.visible?(p.graphic=1,p.dataLabel=1):c._hasPointLabels||(a=x.marker,h=x.dataLabels,!a||!1!==a.enabled&&(e.marker&&e.marker.symbol)===a.symbol||(p.graphic=1),h&&!1===h.enabled&&(p.dataLabel=1));this.points.forEach(function(a){a&&a.series&&(a.resolveColor(),Object.keys(p).length&&a.destroyElements(p), +!1===x.showInLegend&&a.legendItem&&d.legend.destroyItem(a))},this)}c.initialType=g;d.linkSeries();f&&c.linkedSeries.length&&(c.isDirtyData=!0);I(this,"afterUpdate");K(b,!0)&&d.redraw(q?void 0:!1)};a.prototype.setName=function(a){this.name=this.options.name=this.userOptions.name=a;this.chart.isDirtyLegend=!0};a.prototype.hasOptionChanged=function(a){var b=this.options[a],c=this.chart.options.plotOptions,d=this.userOptions[a];return d?b!==d:b!==K(c&&c[this.type]&&c[this.type][a],c&&c.series&&c.series[a], +b)};a.prototype.onMouseOver=function(){var a=this.chart,b=a.hoverSeries;a.pointer.setHoverChartIndex();if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&I(this,"mouseOver");this.setState("hover");a.hoverSeries=this};a.prototype.onMouseOut=function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;b.hoverSeries=null;if(d)d.onMouseOut();this&&a.events.mouseOut&&I(this,"mouseOut");!c||this.stickyTracking||c.shared&&!this.noSharedTooltip||c.hide();b.series.forEach(function(a){a.setState("", +!0)})};a.prototype.setState=function(a,b){var c=this,d=c.options,e=c.graph,g=d.inactiveOtherPoints,f=d.states,h=K(f[a||"normal"]&&f[a||"normal"].animation,c.chart.options.chart.animation),l=d.lineWidth,k=0,m=d.opacity;a=a||"";if(c.state!==a&&([c.group,c.markerGroup,c.dataLabelsGroup].forEach(function(b){b&&(c.state&&b.removeClass("highcharts-series-"+c.state),a&&b.addClass("highcharts-series-"+a))}),c.state=a,!c.chart.styledMode)){if(f[a]&&!1===f[a].enabled)return;a&&(l=f[a].lineWidth||l+(f[a].lineWidthPlus|| +0),m=K(f[a].opacity,m));if(e&&!e.dashstyle)for(d={"stroke-width":l},e.animate(d,h);c["zone-graph-"+k];)c["zone-graph-"+k].animate(d,h),k+=1;g||[c.group,c.markerGroup,c.dataLabelsGroup,c.labelBySeries].forEach(function(a){a&&a.animate({opacity:m},h)})}b&&g&&c.points&&c.setAllPointsToState(a||void 0)};a.prototype.setAllPointsToState=function(a){this.points.forEach(function(b){b.setState&&b.setState(a)})};a.prototype.setVisible=function(a,b){var c=this,d=c.chart,e=c.legendItem,g=d.options.chart.ignoreHiddenSeries, +f=c.visible,h=(c.visible=a=c.options.visible=c.userOptions.visible="undefined"===typeof a?!f:a)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(a){if(c[a])c[a][h]()});if(d.hoverSeries===c||(d.hoverPoint&&d.hoverPoint.series)===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&d.series.forEach(function(a){a.options.stacking&&a.visible&&(a.isDirty=!0)});c.linkedSeries.forEach(function(b){b.setVisible(a,!1)});g&&(d.isDirtyBox=!0); +I(c,h);!1!==b&&d.redraw()};a.prototype.show=function(){this.setVisible(!0)};a.prototype.hide=function(){this.setVisible(!1)};a.prototype.select=function(a){this.selected=a=this.options.selected="undefined"===typeof a?!this.selected:a;this.checkbox&&(this.checkbox.checked=a);I(this,a?"select":"unselect")};a.prototype.shouldShowTooltip=function(a,b,c){void 0===c&&(c={});c.series=this;c.visiblePlotOnly=!0;return this.chart.isInsidePlot(a,b,c)};a.defaultOptions=H;return a}();D(a.prototype,{axisTypes:["xAxis", +"yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:y.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:G,requireSorting:!0,sorted:!0});A.series=a;"";"";return a});M(a,"Extensions/ScrollablePlotArea.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Axis/Axis.js"],a["Core/Chart/Chart.js"],a["Core/Series/Series.js"],a["Core/Renderer/RendererRegistry.js"],a["Core/Utilities.js"]],function(a,u,z,F,y,G){var v=a.stop,A= +G.addEvent,q=G.createElement,n=G.merge,k=G.pick;A(z,"afterSetChartSize",function(a){var c=this.options.chart.scrollablePlotArea,e=c&&c.minWidth;c=c&&c.minHeight;if(!this.renderer.forExport){if(e){if(this.scrollablePixelsX=e=Math.max(0,e-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=n(this.plotBox);this.plotBox.width=this.plotWidth+=e;this.inverted?this.clipBox.height+=e:this.clipBox.width+=e;var f={1:{name:"right",value:e}}}}else c&&(this.scrollablePixelsY=e=Math.max(0, +c-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=n(this.plotBox),this.plotBox.height=this.plotHeight+=e,this.inverted?this.clipBox.width+=e:this.clipBox.height+=e,f={2:{name:"bottom",value:e}});f&&!a.skipAxes&&this.axes.forEach(function(a){f[a.side]?a.getPlotLinePath=function(){var c=f[a.side].name,e=this[c];this[c]=e-f[a.side].value;var h=u.prototype.getPlotLinePath.apply(this,arguments);this[c]=e;return h}:(a.setAxisSize(),a.setAxisTranslation())})}});A(z,"render",function(){this.scrollablePixelsX|| +this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()});z.prototype.setUpScrolling=function(){var a=this,c={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(c.overflowX="auto");this.scrollablePixelsY&&(c.overflowY="auto");this.scrollingParent=q("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo);this.scrollingContainer=q("div",{className:"highcharts-scrolling"}, +c,this.scrollingParent);A(this.scrollingContainer,"scroll",function(){a.pointer&&delete a.pointer.chartPosition});this.innerContainer=q("div",{className:"highcharts-inner-container"},null,this.scrollingContainer);this.innerContainer.appendChild(this.container);this.setUpScrolling=null};z.prototype.moveFixedElements=function(){var a=this.container,c=this.fixedRenderer,h=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" "), +f;this.scrollablePixelsX&&!this.inverted?f=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&!this.inverted?f=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(f=".highcharts-yaxis");f&&h.push(f+":not(.highcharts-radial-axis)",f+"-labels:not(.highcharts-radial-axis-labels)");h.forEach(function(e){[].forEach.call(a.querySelectorAll(e),function(a){(a.namespaceURI===c.SVG_NS?c.box:c.box.parentNode).appendChild(a);a.style.pointerEvents="auto"})})}; +z.prototype.applyFixed=function(){var a=!this.fixedDiv,c=this.options.chart,h=c.scrollablePlotArea,f=y.getRendererType();a?(this.fixedDiv=q("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(c.style&&c.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=c=new f(this.fixedDiv,this.chartWidth,this.chartHeight, +this.options.chart.style),this.scrollableMask=c.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":k(h.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),A(this,"afterShowResetZoom",this.moveFixedElements),A(this,"afterDrilldown",this.moveFixedElements),A(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight);if(this.scrollableDirty||a)this.scrollableDirty=!1,this.moveFixedElements();c=this.chartWidth+ +(this.scrollablePixelsX||0);f=this.chartHeight+(this.scrollablePixelsY||0);v(this.container);this.container.style.width=c+"px";this.container.style.height=f+"px";this.renderer.boxWrapper.attr({width:c,height:f,viewBox:[0,0,c,f].join(" ")});this.chartBackground.attr({width:c,height:f});this.scrollingContainer.style.height=this.chartHeight+"px";a&&(h.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*h.scrollPositionX),h.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY* +h.scrollPositionY));f=this.axisOffset;a=this.plotTop-f[0]-1;h=this.plotLeft-f[3]-1;c=this.plotTop+this.plotHeight+f[2]+1;f=this.plotLeft+this.plotWidth+f[1]+1;var n=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),p=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);a=this.scrollablePixelsX?[["M",0,a],["L",this.plotLeft-1,a],["L",this.plotLeft-1,c],["L",0,c],["Z"],["M",n,a],["L",this.chartWidth,a],["L",this.chartWidth,c],["L",n,c],["Z"]]:this.scrollablePixelsY?[["M",h,0],["L",h,this.plotTop- +1],["L",f,this.plotTop-1],["L",f,0],["Z"],["M",h,p],["L",h,this.chartHeight],["L",f,this.chartHeight],["L",f,p],["Z"]]:[["M",0,0]];"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:a})};A(u,"afterInit",function(){this.chart.scrollableDirty=!0});A(F,"show",function(){this.chart.scrollableDirty=!0});""});M(a,"Core/Axis/StackingAxis.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Axis/Axis.js"],a["Core/Utilities.js"]],function(a,u,z){var v=a.getDeferredAnimation,y=z.addEvent,G= +z.destroyObjectProperties,H=z.fireEvent,A=z.isNumber,q=z.objectEach,n;(function(a){function e(){var a=this.stacking;if(a){var c=a.stacks;q(c,function(a,e){G(a);c[e]=null});a&&a.stackTotalGroup&&a.stackTotalGroup.destroy()}}function c(){this.stacking||(this.stacking=new f(this))}var h=[];a.compose=function(a){-1===h.indexOf(a)&&(h.push(a),y(a,"init",c),y(a,"destroy",e));return a};var f=function(){function a(a){this.oldStacks={};this.stacks={};this.stacksTouched=0;this.axis=a}a.prototype.buildStacks= +function(){var a=this.axis,c=a.series,e=a.options.reversedStacks,f=c.length,h;if(!a.isXAxis){this.usePercentage=!1;for(h=f;h--;){var k=c[e?h:f-h-1];k.setStackedPoints();k.setGroupedPoints()}for(h=0;hf&&n.shadow));p&&(p.startX=k.xMap,p.isArea=k.isArea)})};A.prototype.getGraphPath=function(a,n,k){var e=this,c=e.options,h=[],f=[],q,p=c.step;a=a||e.points;var v=a.reversed;v&&a.reverse(); +(p={right:1,center:2}[p]||p&&3)&&v&&(p=4-p);a=this.getValidPoints(a,!1,!(c.connectNulls&&!n&&!k));a.forEach(function(t,v){var w=t.plotX,r=t.plotY,l=a[v-1];(t.leftCliff||l&&l.rightCliff)&&!k&&(q=!0);t.isNull&&!y(n)&&0a&&v>c?(v=Math.max(a,c),t=2*c-v):vk&&t>c?(t=Math.max(k,c),v=2*c-t):t=Math.abs(c)&&.5a.closestPointRange*a.xAxis.transA;f=a.borderWidth=J(d.borderWidth,f?0:1);var l=a.xAxis,k=a.yAxis,n=d.threshold,p=a.translatedThreshold=k.getThreshold(n),r=J(d.minPointLength,5),q=a.getColumnMetrics(),t=q.width,v=a.pointXOffset=q.offset,u=a.dataMin,w=a.dataMax,C=a.barW=Math.max(t,1+2*f);c.inverted&&(p-=.5);d.pointPadding&&(C=Math.ceil(C));y.prototype.translate.apply(a);a.points.forEach(function(b){var g= +J(b.yBottom,p),f=999+Math.abs(g),m=b.plotX||0;f=e(b.plotY,-f,k.len+f);var x=Math.min(f,g),D=Math.max(f,g)-x,y=t,A=m+v,z=C;r&&Math.abs(D)r?g-r:p-(m?r:0));h(b.options.pointWidth)&&(y=z=Math.ceil(b.options.pointWidth),A-=Math.round((y-t)/2));d.centerInCategory&&(A=a.adjustForMissingColumns(A,y,b,q));b.barX=A;b.pointWidth=y;b.tooltipPos=c.inverted?[e(k.len+ +k.pos-c.plotLeft-f,k.pos-c.plotLeft,k.len+k.pos-c.plotLeft),l.len+l.pos-c.plotTop-A-z/2,D]:[l.left-c.plotLeft+A+z/2,e(f+k.pos-c.plotTop,k.pos-c.plotTop,k.len+k.pos-c.plotTop),D];b.shapeType=a.pointClass.prototype.shapeType||"rect";b.shapeArgs=a.crispCol.apply(a,b.isNull?[A,p,z,0]:[A,x,z,D])})};l.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")};l.prototype.pointAttribs=function(a,c){var b=this.options,e=this.pointAttrToOptions||{},g=e.stroke|| +"borderColor",f=e["stroke-width"]||"borderWidth",h=a&&a.color||this.color,l=a&&a[g]||b[g]||h;e=a&&a.options.dashStyle||b.dashStyle;var k=a&&a[f]||b[f]||this[f]||0,p=J(a&&a.opacity,b.opacity,1);if(a&&this.zones.length){var r=a.getZone();h=a.options.color||r&&(r.color||a.nonZonedColor)||this.color;r&&(l=r.borderColor||l,e=r.dashStyle||e,k=r.borderWidth||k)}c&&a&&(a=t(b.states[c],a.options.states&&a.options.states[c]||{}),c=a.brightness,h=a.color||"undefined"!==typeof c&&n(h).brighten(a.brightness).get()|| +h,l=a[g]||l,k=a[f]||k,e=a.dashStyle||e,p=J(a.opacity,p));g={fill:h,stroke:l,"stroke-width":k,opacity:p};e&&(g.dashstyle=e);return g};l.prototype.drawPoints=function(){var a=this,c=this.chart,d=a.options,e=c.renderer,f=d.animationLimit||250,h;a.points.forEach(function(b){var g=b.graphic,l=!!g,k=g&&c.pointCountv,"left"===q?m.y-=v?p.height:0:"center"===q?(m.x-=p.width/2,m.y-=p.height/2):"right"===q&&(m.x-=p.width,m.y-=v?0:p.height),b.placed=!0,b.alignAttr=m):(v(d),b.align(c,void 0,d),m=b.alignAttr);u&&0<=d.height?this.justifyDataLabel(b,c,m,p,d,f):e(c.crop,!0)&&(w=h.isInsidePlot(m.x,m.y,{paneCoordinates:!0,series:g})&&h.isInsidePlot(m.x+p.width,m.y+p.height,{paneCoordinates:!0, +series:g}));if(c.shape&&!r)b[f?"attr":"animate"]({anchorX:l?h.plotWidth-a.plotY:a.plotX,anchorY:l?h.plotHeight-a.plotX:a.plotY})}f&&k&&(b.placed=!1);w||k&&!u||(b.hide(!0),b.placed=!1)}function h(a,b){var c=b.filter;return c?(b=c.operator,a=a[c.property],c=c.value,">"===b&&a>c||"<"===b&&a="===b&&a>=c||"<="===b&&a<=c||"=="===b&&a==c||"==="===b&&a===c?!0:!1):!0}function u(){var a=this,b=a.chart,g=a.options,d=a.points,f=a.hasRendered||0,n=b.renderer,p=g.dataLabels,r,t=p.animation;t=p.defer?v(b, +t,a):{defer:0,duration:0};p=z(z(b.options.plotOptions&&b.options.plotOptions.series&&b.options.plotOptions.series.dataLabels,b.options.plotOptions&&b.options.plotOptions[a.type]&&b.options.plotOptions[a.type].dataLabels),p);A(this,"drawDataLabels");if(q(p)||p.enabled||a._hasPointLabels){var u=a.plotGroup("dataLabelsGroup","data-labels",f?"inherit":"hidden",p.zIndex||6);u.attr({opacity:+f});!f&&(f=a.dataLabelsGroup)&&(a.visible&&u.show(!0),f[g.animation?"animate":"attr"]({opacity:1},t));d.forEach(function(d){r= +c(z(p,d.dlOptions||d.options&&d.options.dataLabels));r.forEach(function(c,f){var l=c.enabled&&(!d.isNull||d.dataLabelOnNull)&&h(d,c),m=d.connectors?d.connectors[f]:d.connector,p=d.dataLabels?d.dataLabels[f]:d.dataLabel,r=e(c.distance,d.labelDistance),q=!p;if(l){var t=d.getLabelConfig();var v=e(c[d.formatPrefix+"Format"],c.format);t=G(v)?y(v,t,b):(c[d.formatPrefix+"Formatter"]||c.formatter).call(t,c);v=c.style;var w=c.rotation;b.styledMode||(v.color=e(c.color,v.color,a.color,"#000000"),"contrast"=== +v.color?(d.contrastColor=n.getContrast(d.color||a.color),v.color=!G(r)&&c.inside||0>r||g.stacking?d.contrastColor:"#000000"):delete d.contrastColor,g.cursor&&(v.cursor=g.cursor));var C={r:c.borderRadius||0,rotation:w,padding:c.padding,zIndex:1};b.styledMode||(C.fill=c.backgroundColor,C.stroke=c.borderColor,C["stroke-width"]=c.borderWidth);k(C,function(a,b){"undefined"===typeof a&&delete C[b]})}!p||l&&G(t)&&!!p.div===!!c.useHTML||(d.dataLabel=p=d.dataLabel&&d.dataLabel.destroy(),d.dataLabels&&(1=== +d.dataLabels.length?delete d.dataLabels:delete d.dataLabels[f]),f||delete d.dataLabel,m&&(d.connector=d.connector.destroy(),d.connectors&&(1===d.connectors.length?delete d.connectors:delete d.connectors[f])));l&&G(t)&&(p?C.text=t:(d.dataLabels=d.dataLabels||[],p=d.dataLabels[f]=w?n.text(t,0,-9999,c.useHTML).addClass("highcharts-data-label"):n.label(t,0,-9999,c.shape,null,null,c.useHTML,null,"data-label"),f||(d.dataLabel=p),p.addClass(" highcharts-data-label-color-"+d.colorIndex+" "+(c.className|| +"")+(c.useHTML?" highcharts-tracker":""))),p.options=c,p.attr(C),b.styledMode||p.css(v).shadow(c.shadow),p.added||p.add(u),c.textPath&&!c.useHTML&&(p.setTextPath(d.getDataLabelPath&&d.getDataLabelPath(p)||d.graphic,c.textPath),d.dataLabelPath&&!c.textPath.enabled&&(d.dataLabelPath=d.dataLabelPath.destroy())),a.alignDataLabel(d,p,c,null,q))})})}A(this,"afterDrawDataLabels")}function t(a,b,c,d,e,f){var g=this.chart,h=b.align,k=b.verticalAlign,l=a.box?0:a.padding||0,m=b.x;m=void 0===m?0:m;var n=b.y; +n=void 0===n?0:n;var p=(c.x||0)+l;if(0>p){"right"===h&&0<=m?(b.align="left",b.inside=!0):m-=p;var r=!0}p=(c.x||0)+d.width-l;p>g.plotWidth&&("left"===h&&0>=m?(b.align="right",b.inside=!0):m+=g.plotWidth-p,r=!0);p=c.y+l;0>p&&("bottom"===k&&0<=n?(b.verticalAlign="top",b.inside=!0):n-=p,r=!0);p=(c.y||0)+d.height-l;p>g.plotHeight&&("top"===k&&0>=n?(b.verticalAlign="bottom",b.inside=!0):n+=g.plotHeight-p,r=!0);r&&(b.x=m,b.y=n,a.placed=!f,a.align(b,void 0,e));return r}function z(a,b){var c=[],d;if(q(a)&& +!q(b))c=a.map(function(a){return n(a,b)});else if(q(b)&&!q(a))c=b.map(function(b){return n(a,b)});else if(q(a)||q(b))for(d=Math.max(a.length,b.length);d--;)c[d]=n(a[d],b[d]);else c=n(a,b);return c}function C(a,b,c,d,e){var g=this.chart,f=g.inverted,h=this.xAxis,k=h.reversed,l=f?b.height/2:b.width/2;a=(a=a.pointWidth)?a/2:0;b.startXPos=f?e.x:k?-l-a:h.width-l+a;b.startYPos=f?k?this.yAxis.height-l+a:-l-a:e.y;d?"hidden"===b.visibility&&(b.show(),b.attr({opacity:0}).animate({opacity:1})):b.attr({opacity:1}).animate({opacity:0}, +void 0,b.hide);g.hasRendered&&(c&&b.attr({x:b.startXPos,y:b.startYPos}),b.placed=!0)}var r=[];a.compose=function(a){if(-1===r.indexOf(a)){var b=a.prototype;r.push(a);b.alignDataLabel=f;b.drawDataLabels=u;b.justifyDataLabel=t;b.setDataLabelStartPos=C}}})(h||(h={}));"";return h});M(a,"Series/Column/ColumnDataLabel.js",[a["Core/Series/DataLabel.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,u,z){var v=u.series,y=z.merge,G=z.pick,H;(function(u){function q(a,e,c,h,f){var k= +this.chart.inverted,n=a.series,q=(n.xAxis?n.xAxis.len:this.chart.plotSizeX)||0;n=(n.yAxis?n.yAxis.len:this.chart.plotSizeY)||0;var t=a.dlBox||a.shapeArgs,u=G(a.below,a.plotY>G(this.translatedThreshold,n)),C=G(c.inside,!!this.options.stacking);t&&(h=y(t),0>h.y&&(h.height+=h.y,h.y=0),t=h.y+h.height-n,0\u25cf {series.name}
', +pointFormat:"x: {point.x}
y: {point.y}
"}});return n}(u);H(F.prototype,{drawTracker:a.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1});G(F,"afterTranslate",function(){this.applyJitter()});z.registerSeriesType("scatter",F);"";return F});M(a,"Series/CenteredUtilities.js",[a["Core/Globals.js"],a["Core/Series/Series.js"],a["Core/Utilities.js"]],function(a,u,z){var v=a.deg2rad,y=z.isNumber, +G=z.pick,H=z.relativeLength,A;(function(a){a.getCenter=function(){var a=this.options,k=this.chart,e=2*(a.slicedOffset||0),c=k.plotWidth-2*e,h=k.plotHeight-2*e,f=a.center,q=Math.min(c,h),p=a.size,v=a.innerSize||0;"string"===typeof p&&(p=parseFloat(p));"string"===typeof v&&(v=parseFloat(v));a=[G(f[0],"50%"),G(f[1],"50%"),G(p&&0>p?void 0:a.size,"100%"),G(v&&0>v?void 0:a.innerSize||0,"0%")];!k.angular||this instanceof u||(a[3]=0);for(f=0;4>f;++f)p=a[f],k=2>f||2===f&&/%$/.test(p),a[f]=H(p,[c,h,q,a[2]][f])+ +(k?e:0);a[3]>a[2]&&(a[3]=a[2]);return a};a.getStartAndEndRadians=function(a,k){a=y(a)?a:0;k=y(k)&&k>a&&360>k-a?k:a+360;return{start:v*(a+-90),end:v*(k+-90)}}})(A||(A={}));"";return A});M(a,"Series/Pie/PiePoint.js",[a["Core/Animation/AnimationUtilities.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,u,z){var v=this&&this.__extends||function(){var a=function(e,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&& +(a[e]=c[e])};return a(e,c)};return function(e,c){function h(){this.constructor=e}a(e,c);e.prototype=null===c?Object.create(c):(h.prototype=c.prototype,new h)}}(),y=a.setAnimation,G=z.addEvent,H=z.defined;a=z.extend;var A=z.isNumber,q=z.pick,n=z.relativeLength;u=function(a){function e(){var c=null!==a&&a.apply(this,arguments)||this;c.labelDistance=void 0;c.options=void 0;c.series=void 0;return c}v(e,a);e.prototype.getConnectorPath=function(){var a=this.labelPosition,e=this.series.options.dataLabels, +f=this.connectorShapes,k=e.connectorShape;f[k]&&(k=f[k]);return k.call(this,{x:a.final.x,y:a.final.y,alignment:a.alignment},a.connectorPosition,e)};e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}};e.prototype.haloPath=function(a){var c=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(c.x,c.y,c.r+a,c.r+a,{innerR:c.r-1,start:c.start,end:c.end})};e.prototype.init=function(){var c=this;a.prototype.init.apply(this, +arguments);this.name=q(this.name,"Slice");var e=function(a){c.slice("select"===a.type)};G(this,"select",e);G(this,"unselect",e);return this};e.prototype.isValid=function(){return A(this.y)&&0<=this.y};e.prototype.setVisible=function(a,e){var c=this,h=this.series,k=h.chart,n=h.options.ignoreHiddenPoint;e=q(e,n);a!==this.visible&&(this.visible=this.options.visible=a="undefined"===typeof a?!this.visible:a,h.options.data[h.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(e){if(c[e])c[e][a? +"show":"hide"](a)}),this.legendItem&&k.legend.colorizeItem(this,a),a||"hover"!==this.state||this.setState(""),n&&(h.isDirty=!0),e&&k.redraw())};e.prototype.slice=function(a,e,f){var c=this.series;y(f,c.chart);q(e,!0);this.sliced=this.options.sliced=H(a)?a:!this.sliced;c.options.data[c.data.indexOf(this)]=this.options;this.graphic&&this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())};return e}(u);a(u.prototype,{connectorShapes:{fixedOffset:function(a, +e,c){var h=e.breakAt;e=e.touchingSliceAt;return[["M",a.x,a.y],c.softConnector?["C",a.x+("left"===a.alignment?-5:5),a.y,2*h.x-e.x,2*h.y-e.y,h.x,h.y]:["L",h.x,h.y],["L",e.x,e.y]]},straight:function(a,e){e=e.touchingSliceAt;return[["M",a.x,a.y],["L",e.x,e.y]]},crookedLine:function(a,e,c){e=e.touchingSliceAt;var h=this.series,f=h.center[0],k=h.chart.plotWidth,p=h.chart.plotLeft;h=a.alignment;var q=this.shapeArgs.r;c=n(c.crookDistance,1);k="left"===h?f+q+(k+p-f-q)*(1-c):p+(f-q)*c;c=["L",k,a.y];f=!0;if("left"=== +h?k>a.x||ke.x)f=!1;a=[["M",a.x,a.y]];f&&a.push(c);a.push(["L",e.x,e.y]);return a}}});return u});M(a,"Series/Pie/PieSeries.js",[a["Series/CenteredUtilities.js"],a["Series/Column/ColumnSeries.js"],a["Core/Globals.js"],a["Core/Legend/LegendSymbol.js"],a["Series/Pie/PiePoint.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Renderer/SVG/Symbols.js"],a["Core/Utilities.js"]],function(a,u,z,F,y,G,H,A,q){var n=this&&this.__extends||function(){var a=function(c,e){a=Object.setPrototypeOf|| +{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(c,e)};return function(c,e){function f(){this.constructor=c}a(c,e);c.prototype=null===e?Object.create(e):(f.prototype=e.prototype,new f)}}(),k=a.getStartAndEndRadians;z=z.noop;var e=q.clamp,c=q.extend,h=q.fireEvent,f=q.merge,v=q.pick,p=q.relativeLength;q=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.center=void 0;c.data=void 0;c.maxLabelDistance= +void 0;c.options=void 0;c.points=void 0;return c}n(c,a);c.prototype.animate=function(a){var c=this,e=c.points,f=c.startAngleRad;a||e.forEach(function(a){var b=a.graphic,d=a.shapeArgs;b&&d&&(b.attr({r:v(a.startR,c.center&&c.center[3]/2),start:f,end:f}),b.animate({r:d.r,start:d.start,end:d.end},c.options.animation))})};c.prototype.drawEmpty=function(){var a=this.startAngleRad,c=this.endAngleRad,e=this.options;if(0===this.total&&this.center){var f=this.center[0];var b=this.center[1];this.graph||(this.graph= +this.chart.renderer.arc(f,b,this.center[1]/2,0,a,c).addClass("highcharts-empty-series").add(this.group));this.graph.attr({d:A.arc(f,b,this.center[2]/2,0,{start:a,end:c,innerR:this.center[3]/2})});this.chart.styledMode||this.graph.attr({"stroke-width":e.borderWidth,fill:e.fillColor||"none",stroke:e.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())};c.prototype.drawPoints=function(){var a=this.chart.renderer;this.points.forEach(function(c){c.graphic&&c.hasNewShapeType()&&(c.graphic= +c.graphic.destroy());c.graphic||(c.graphic=a[c.shapeType](c.shapeArgs).add(c.series.group),c.delayedRendering=!0)})};c.prototype.generatePoints=function(){a.prototype.generatePoints.call(this);this.updateTotals()};c.prototype.getX=function(a,c,f){var h=this.center,b=this.radii?this.radii[f.index]||0:h[2]/2;a=Math.asin(e((a-h[1])/(b+f.labelDistance),-1,1));return h[0]+(c?-1:1)*Math.cos(a)*(b+f.labelDistance)+(01.5*Math.PI?y-=2*Math.PI:y<-Math.PI/2&&(y+=2*Math.PI);u.slicedTranslation={translateX:Math.round(Math.cos(y)*e),translateY:Math.round(Math.sin(y)*e)};B=Math.cos(y)*a[2]/2;var A=Math.sin(y)*a[2]/2;u.tooltipPos=[a[0]+.7*B,a[1]+.7*A];u.half=y<-Math.PI/2||y>Math.PI/2?1:0;u.angle=y;w=Math.min(f,u.labelDistance/5);u.labelPosition={natural:{x:a[0]+B+ +Math.cos(y)*u.labelDistance,y:a[1]+A+Math.sin(y)*u.labelDistance},"final":{},alignment:0>u.labelDistance?"center":u.half?"right":"left",connectorPosition:{breakAt:{x:a[0]+B+Math.cos(y)*w,y:a[1]+A+Math.sin(y)*w},touchingSliceAt:{x:a[0]+B,y:a[1]+A}}}}h(this,"afterTranslate")};c.prototype.updateTotals=function(){var a=this.points,c=a.length,e=this.options.ignoreHiddenPoint,f,b=0;for(f=0;fv&&(a.dataLabel.css({width:Math.round(.7* +v)+"px"}),a.dataLabel.shortened=!0)):(a.dataLabel=a.dataLabel.destroy(),a.dataLabels&&1===a.dataLabels.length&&delete a.dataLabels))}),C.forEach(function(e,f){var l=e.length,m=[],r;if(l){a.sortByAngle(e,f-.5);if(0h-d&&0===f&&(q=Math.round(N+M-h+d),y[1]=Math.max(q,y[1])),0>V-T/2?y[0]=Math.max(Math.round(-V+T/2),y[0]):V+T/2>n&&(y[2]=Math.max(Math.round(V+T/2-n),y[2])), +J.sideOverflow=q)}}}),0===q(y)||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(function(d){R=e(g,d.options.dataLabels);if(F=c(R.connectorWidth,1)){var f;G=d.connector;if((J=d.dataLabel)&&J._pos&&d.visible&&0c.bottom-2?e:b,c.half,c)},justify:function(a,c,b){return b[0]+(a.half?-1:1)*(c+a.labelDistance)},alignToPlotEdges:function(a,c,b,e){a=a.getBBox().width;return c?a+e:b-a-e},alignToConnectors:function(a,c,b,e){var d=0,g;a.forEach(function(a){g=a.dataLabel.getBBox().width;g>d&&(d=g)});return c?d+e:b-d-e}};f.compose=function(c){a.compose(A);-1===w.indexOf(c)&&(w.push(c),c=c.prototype,c.dataLabelPositioners=C,c.alignDataLabel= +v,c.drawDataLabels=p,c.placeDataLabels=u,c.verifyDataLabelOverflow=t)}})(f||(f={}));return f});M(a,"Extensions/OverlappingDataLabels.js",[a["Core/Chart/Chart.js"],a["Core/Utilities.js"]],function(a,u){function v(a,k){var e=!1;if(a){var c=a.newOpacity;a.oldOpacity!==c&&(a.alignAttr&&a.placed?(a[c?"removeClass":"addClass"]("highcharts-data-label-hidden"),e=!0,a.alignAttr.opacity=c,a[a.isOld?"animate":"attr"](a.alignAttr,null,function(){k.styledMode||a.css({pointerEvents:c?"auto":"none"})}),y(k,"afterHideOverlappingLabel")): +a.attr({opacity:c}));a.isOld=!0}return e}var F=u.addEvent,y=u.fireEvent,G=u.isArray,H=u.isNumber,A=u.objectEach,q=u.pick;F(a,"render",function(){var a=this,k=[];(this.labelCollectors||[]).forEach(function(a){k=k.concat(a())});(this.yAxis||[]).forEach(function(a){a.stacking&&a.options.stackLabels&&!a.options.stackLabels.allowOverlap&&A(a.stacking.stacks,function(a){A(a,function(a){a.label&&"hidden"!==a.label.visibility&&k.push(a.label)})})});(this.series||[]).forEach(function(e){var c=e.options.dataLabels; +e.visible&&(!1!==c.enabled||e._hasPointLabels)&&(c=function(c){return c.forEach(function(c){c.visible&&(G(c.dataLabels)?c.dataLabels:c.dataLabel?[c.dataLabel]:[]).forEach(function(e){var f=e.options;e.labelrank=q(f.labelrank,c.labelrank,c.shapeArgs&&c.shapeArgs.height);f.allowOverlap?(e.oldOpacity=e.opacity,e.newOpacity=1,v(e,a)):k.push(e)})})},c(e.nodes||[]),c(e.points))});this.hideOverlappingLabels(k)});a.prototype.hideOverlappingLabels=function(a){var k=this,e=a.length,c=k.renderer,h,f,n,p=!1; +var q=function(a){var e,f=a.box?0:a.padding||0,b=e=0,g;if(a&&(!a.alignAttr||a.placed)){var d=a.alignAttr||{x:a.attr("x"),y:a.attr("y")};var h=a.parentGroup;a.width||(e=a.getBBox(),a.width=e.width,a.height=e.height,e=c.fontMetrics(null,a.element).h);var k=a.width-2*f;(g={left:"0",center:"0.5",right:"1"}[a.alignValue])?b=+g*k:H(a.x)&&Math.round(a.x)!==a.translateX&&(b=a.x-a.translateX);return{x:d.x+(h.translateX||0)+f-(b||0),y:d.y+(h.translateY||0)+f-e,width:a.width-2*f,height:a.height-2*f}}};for(f= +0;f=t.x+t.width||u.x+u.width<=t.x||u.y>=t.y+t.height||u.y+u.height<=t.y||((q.labelrank=A(e.minWidth,0)&&this.chartHeight>=A(e.minHeight,0)}).call(this)&&c.push(a._id)};a.prototype.setResponsive= +function(a,c){var e=this,f=this.options.responsive,h=this.currentResponsive,k=[];!c&&f&&f.rules&&f.rules.forEach(function(a){"undefined"===typeof a._id&&(a._id=n());e.matchResponsiveRule(a,k)},this);c=G.apply(void 0,k.map(function(a){return z((f||{}).rules||[],function(c){return c._id===a})}).map(function(a){return a&&a.chartOptions}));c.isResponsiveOptions=!0;k=k.toString()||void 0;k!==(h&&h.ruleIds)&&(h&&this.update(h.undoOptions,a,!0),k?(h=this.currentOptions(c),h.isResponsiveOptions=!0,this.currentResponsive= +{ruleIds:k,mergedOptions:c,undoOptions:h},this.update(c,a,!0)):this.currentResponsive=void 0)};return a}()})(k||(k={}));"";"";return k});M(a,"masters/highcharts.src.js",[a["Core/Globals.js"],a["Core/Utilities.js"],a["Core/DefaultOptions.js"],a["Core/Animation/Fx.js"],a["Core/Animation/AnimationUtilities.js"],a["Core/Renderer/HTML/AST.js"],a["Core/FormatUtilities.js"],a["Core/Renderer/RendererUtilities.js"],a["Core/Renderer/SVG/SVGElement.js"],a["Core/Renderer/SVG/SVGRenderer.js"],a["Core/Renderer/HTML/HTMLElement.js"], +a["Core/Renderer/HTML/HTMLRenderer.js"],a["Core/Axis/Axis.js"],a["Core/Axis/DateTimeAxis.js"],a["Core/Axis/LogarithmicAxis.js"],a["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],a["Core/Axis/Tick.js"],a["Core/Tooltip.js"],a["Core/Series/Point.js"],a["Core/Pointer.js"],a["Core/MSPointer.js"],a["Core/Legend/Legend.js"],a["Core/Chart/Chart.js"],a["Core/Series/Series.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Column/ColumnSeries.js"],a["Series/Column/ColumnDataLabel.js"],a["Series/Pie/PieSeries.js"], +a["Series/Pie/PieDataLabel.js"],a["Core/Series/DataLabel.js"],a["Core/Responsive.js"],a["Core/Color/Color.js"],a["Core/Time.js"]],function(a,u,z,F,y,G,H,A,q,n,k,e,c,h,f,w,p,B,t,J,C,r,l,b,g,d,m,D,x,I,M,S,O){a.animate=y.animate;a.animObject=y.animObject;a.getDeferredAnimation=y.getDeferredAnimation;a.setAnimation=y.setAnimation;a.stop=y.stop;a.timers=F.timers;a.AST=G;a.Axis=c;a.Chart=l;a.chart=l.chart;a.Fx=F;a.Legend=r;a.PlotLineOrBand=w;a.Point=t;a.Pointer=C.isRequired()?C:J;a.Series=b;a.SVGElement= +q;a.SVGRenderer=n;a.Tick=p;a.Time=O;a.Tooltip=B;a.Color=S;a.color=S.parse;e.compose(n);k.compose(q);a.defaultOptions=z.defaultOptions;a.getOptions=z.getOptions;a.time=z.defaultTime;a.setOptions=z.setOptions;a.dateFormat=H.dateFormat;a.format=H.format;a.numberFormat=H.numberFormat;a.addEvent=u.addEvent;a.arrayMax=u.arrayMax;a.arrayMin=u.arrayMin;a.attr=u.attr;a.clearTimeout=u.clearTimeout;a.correctFloat=u.correctFloat;a.createElement=u.createElement;a.css=u.css;a.defined=u.defined;a.destroyObjectProperties= +u.destroyObjectProperties;a.discardElement=u.discardElement;a.distribute=A.distribute;a.erase=u.erase;a.error=u.error;a.extend=u.extend;a.extendClass=u.extendClass;a.find=u.find;a.fireEvent=u.fireEvent;a.getMagnitude=u.getMagnitude;a.getStyle=u.getStyle;a.inArray=u.inArray;a.isArray=u.isArray;a.isClass=u.isClass;a.isDOMElement=u.isDOMElement;a.isFunction=u.isFunction;a.isNumber=u.isNumber;a.isObject=u.isObject;a.isString=u.isString;a.keys=u.keys;a.merge=u.merge;a.normalizeTickInterval=u.normalizeTickInterval; +a.objectEach=u.objectEach;a.offset=u.offset;a.pad=u.pad;a.pick=u.pick;a.pInt=u.pInt;a.relativeLength=u.relativeLength;a.removeEvent=u.removeEvent;a.seriesType=g.seriesType;a.splat=u.splat;a.stableSort=u.stableSort;a.syncTimeout=u.syncTimeout;a.timeUnits=u.timeUnits;a.uniqueKey=u.uniqueKey;a.useSerialIds=u.useSerialIds;a.wrap=u.wrap;m.compose(d);I.compose(b);h.compose(c);f.compose(c);x.compose(D);w.compose(c);M.compose(l);return a});a["masters/highcharts.src.js"]._modules=a;return a["masters/highcharts.src.js"]}); +//# sourceMappingURL=highcharts.js.map \ No newline at end of file diff --git a/v1/Betas/RGB_V2/main/main/data/index.html b/v1/Betas/RGB_V2/main/main/data/index.html new file mode 100644 index 0000000..1276776 --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/data/index.html @@ -0,0 +1,521 @@ + + + + + 自平衡莱洛三角形 + + + + + + + + + + + + + 自平衡莱洛三角形 + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
CPU温度: 已启动: +     电池电压: V + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
期望角度TA摇摆电压SV摇摆角度SA速度环P1速度环I1速度环P2速度环I2
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ + + + + + + + + + + +
0
0 + + +
+
+ + + + + + + + +
+ + + + + + +
+ + + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Shaft
Velocity
motor
voltage q
target
velocity
pendulum
angle
target
angle
pitchkalAngleZgyroZrate
+
+ + + + \ No newline at end of file diff --git a/v1/Betas/RGB_V2/main/main/data/jquery.js b/v1/Betas/RGB_V2/main/main/data/jquery.js new file mode 100644 index 0000000..8c24ffc --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/data/jquery.js @@ -0,0 +1,9472 @@ +/*! + * jQuery JavaScript Library v1.8.3 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) + */ +(function( window, undefined ) { +var + // A central reference to the root jQuery(document) + rootjQuery, + + // The deferred used on DOM ready + readyList, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + location = window.location, + navigator = window.navigator, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // Save a reference to some core methods + core_push = Array.prototype.push, + core_slice = Array.prototype.slice, + core_indexOf = Array.prototype.indexOf, + core_toString = Object.prototype.toString, + core_hasOwn = Object.prototype.hasOwnProperty, + core_trim = String.prototype.trim, + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Used for matching numbers + core_pnum = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source, + + // Used for detecting and trimming whitespace + core_rnotwhite = /\S/, + core_rspace = /\s+/, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return ( letter + "" ).toUpperCase(); + }, + + // The ready event handler and self cleanup method + DOMContentLoaded = function() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + jQuery.ready(); + } else if ( document.readyState === "complete" ) { + // we're here because readyState === "complete" in oldIE + // which is good enough for us to call the dom ready! + document.detachEvent( "onreadystatechange", DOMContentLoaded ); + jQuery.ready(); + } + }, + + // [[Class]] -> type pairs + class2type = {}; + +jQuery.fn = jQuery.prototype = { + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem, ret, doc; + + // Handle $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + doc = ( context && context.nodeType ? context.ownerDocument || context : document ); + + // scripts is true for back-compat + selector = jQuery.parseHTML( match[1], doc, true ); + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + this.attr.call( selector, context, true ); + } + + return jQuery.merge( this, selector ); + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The current version of jQuery being used + jquery: "1.8.3", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return core_slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems, name, selector ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + ret.context = this.context; + + if ( name === "find" ) { + ret.selector = this.selector + ( this.selector ? " " : "" ) + selector; + } else if ( name ) { + ret.selector = this.selector + "." + name + "(" + selector + ")"; + } + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; + }, + + eq: function( i ) { + i = +i; + return i === -1 ? + this.slice( i ) : + this.slice( i, i + 1 ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + slice: function() { + return this.pushStack( core_slice.apply( this, arguments ), + "slice", core_slice.call(arguments).join(",") ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: core_push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready, 1 ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + return obj == null ? + String( obj ) : + class2type[ core_toString.call(obj) ] || "object"; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !core_hasOwn.call(obj, "constructor") && + !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || core_hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + // data: string of html + // context (optional): If specified, the fragment will be created in this context, defaults to document + // scripts (optional): If true, will include scripts passed in the html string + parseHTML: function( data, context, scripts ) { + var parsed; + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + scripts = context; + context = 0; + } + context = context || document; + + // Single tag + if ( (parsed = rsingleTag.exec( data )) ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ? null : [] ); + return jQuery.merge( [], + (parsed.cacheable ? jQuery.clone( parsed.fragment ) : parsed.fragment).childNodes ); + }, + + parseJSON: function( data ) { + if ( !data || typeof data !== "string") { + return null; + } + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + + } + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && core_rnotwhite.test( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var name, + i = 0, + length = obj.length, + isObj = length === undefined || jQuery.isFunction( obj ); + + if ( args ) { + if ( isObj ) { + for ( name in obj ) { + if ( callback.apply( obj[ name ], args ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.apply( obj[ i++ ], args ) === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isObj ) { + for ( name in obj ) { + if ( callback.call( obj[ name ], name, obj[ name ] ) === false ) { + break; + } + } + } else { + for ( ; i < length; ) { + if ( callback.call( obj[ i ], i, obj[ i++ ] ) === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: core_trim && !core_trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + core_trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var type, + ret = results || []; + + if ( arr != null ) { + // The window, strings (and functions) also have 'length' + // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 + type = jQuery.type( arr ); + + if ( arr.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( arr ) ) { + core_push.call( ret, arr ); + } else { + jQuery.merge( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( core_indexOf ) { + return core_indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var l = second.length, + i = first.length, + j = 0; + + if ( typeof l === "number" ) { + for ( ; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var retVal, + ret = [], + i = 0, + length = elems.length; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, key, + ret = [], + i = 0, + length = elems.length, + // jquery objects are treated as arrays + isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( key in elems ) { + value = callback( elems[ key ], key, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return ret.concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = core_slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context, args.concat( core_slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, pass ) { + var exec, + bulk = key == null, + i = 0, + length = elems.length; + + // Sets many values + if ( key && typeof key === "object" ) { + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], 1, emptyGet, value ); + } + chainable = 1; + + // Sets one value + } else if ( value !== undefined ) { + // Optionally, function values get executed if exec is true + exec = pass === undefined && jQuery.isFunction( value ); + + if ( bulk ) { + // Bulk operations only iterate when executing function values + if ( exec ) { + exec = fn; + fn = function( elem, key, value ) { + return exec.call( jQuery( elem ), value ); + }; + + // Otherwise they run against the entire set + } else { + fn.call( elems, value ); + fn = null; + } + } + + if ( fn ) { + for (; i < length; i++ ) { + fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); + } + } + + chainable = 1; + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + } +}); + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready, 1 ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", jQuery.ready, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", DOMContentLoaded ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", jQuery.ready ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.split( core_rspace ), function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // Flag to know if list is currently firing + firing, + // First callback to fire (used internally by add and fireWith) + firingStart, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Control if a given callback is in the list + has: function( fn ) { + return jQuery.inArray( fn, list ) > -1; + }, + // Remove all callbacks from the list + empty: function() { + list = []; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( list && ( !fired || stack ) ) { + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var action = tuple[ 0 ], + fn = fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ]( jQuery.isFunction( fn ) ? + function() { + var returned = fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] ); + } + } : + newDefer[ action ] + ); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] = list.fire + deferred[ tuple[0] ] = list.fire; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = core_slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; + if( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); +jQuery.support = (function() { + + var support, + all, + a, + select, + opt, + input, + fragment, + eventName, + i, + isSupported, + clickFn, + div = document.createElement("div"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
a"; + + // Support tests won't run in some limited or non-browser environments + all = div.getElementsByTagName("*"); + a = div.getElementsByTagName("a")[ 0 ]; + if ( !all || !a || !all.length ) { + return {}; + } + + // First batch of tests + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px;float:left;opacity:.5"; + support = { + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: ( div.firstChild.nodeType === 3 ), + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText instead) + style: /top/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: ( a.getAttribute("href") === "/a" ), + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.5/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Make sure that if no value is specified for a checkbox + // that it defaults to "on". + // (WebKit defaults to "" instead) + checkOn: ( input.value === "on" ), + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + getSetAttribute: div.className !== "t", + + // Tests for enctype support on a form (#6743) + enctype: !!document.createElement("form").enctype, + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", + + // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode + boxModel: ( document.compatMode === "CSS1Compat" ), + + // Will be defined later + submitBubbles: true, + changeBubbles: true, + focusinBubbles: false, + deleteExpando: true, + noCloneEvent: true, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableMarginRight: true, + boxSizingReliable: true, + pixelPosition: false + }; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Test to see if it's possible to delete an expando from an element + // Fails in Internet Explorer + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { + div.attachEvent( "onclick", clickFn = function() { + // Cloning a node shouldn't copy over any + // bound event handlers (IE does this) + support.noCloneEvent = false; + }); + div.cloneNode( true ).fireEvent("onclick"); + div.detachEvent( "onclick", clickFn ); + } + + // Check if a radio maintains its value + // after being appended to the DOM + input = document.createElement("input"); + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; + + input.setAttribute( "checked", "checked" ); + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + fragment = document.createDocumentFragment(); + fragment.appendChild( div.lastChild ); + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + fragment.removeChild( input ); + fragment.appendChild( div ); + + // Technique from Juriy Zaytsev + // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/ + // We only care about the case where non-standard event systems + // are used, namely in IE. Short-circuiting here helps us to + // avoid an eval call (in setAttribute) which can cause CSP + // to go haywire. See: https://developer.mozilla.org/en/Security/CSP + if ( div.attachEvent ) { + for ( i in { + submit: true, + change: true, + focusin: true + }) { + eventName = "on" + i; + isSupported = ( eventName in div ); + if ( !isSupported ) { + div.setAttribute( eventName, "return;" ); + isSupported = ( typeof div[ eventName ] === "function" ); + } + support[ i + "Bubbles" ] = isSupported; + } + } + + // Run tests that need a body at doc ready + jQuery(function() { + var container, div, tds, marginDiv, + divReset = "padding:0;margin:0;border:0;display:block;overflow:hidden;", + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + container = document.createElement("div"); + container.style.cssText = "visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px"; + body.insertBefore( container, body.firstChild ); + + // Construct the test element + div = document.createElement("div"); + container.appendChild( div ); + + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + // (only IE 8 fails this test) + div.innerHTML = "
t
"; + tds = div.getElementsByTagName("td"); + tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Check if empty table cells still have offsetWidth/Height + // (IE <= 8 fail this test) + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check box-sizing and margin behavior + div.innerHTML = ""; + div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; + support.boxSizing = ( div.offsetWidth === 4 ); + support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); + + // NOTE: To any future maintainer, we've window.getComputedStyle + // because jsdom on node.js will break without it. + if ( window.getComputedStyle ) { + support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. For more + // info see bug #3333 + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + marginDiv = document.createElement("div"); + marginDiv.style.cssText = div.style.cssText = divReset; + marginDiv.style.marginRight = marginDiv.style.width = "0"; + div.style.width = "1px"; + div.appendChild( marginDiv ); + support.reliableMarginRight = + !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); + } + + if ( typeof div.style.zoom !== "undefined" ) { + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + // (IE < 8 does this) + div.innerHTML = ""; + div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Check if elements with layout shrink-wrap their children + // (IE 6 does this) + div.style.display = "block"; + div.style.overflow = "visible"; + div.innerHTML = "
"; + div.firstChild.style.width = "5px"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + + container.style.zoom = 1; + } + + // Null elements to avoid leaks in IE + body.removeChild( container ); + container = div = tds = marginDiv = null; + }); + + // Null elements to avoid leaks in IE + fragment.removeChild( div ); + all = a = select = opt = input = fragment = div = null; + + return support; +})(); +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rmultiDash = /([A-Z])/g; + +jQuery.extend({ + cache: {}, + + deletedIds: [], + + // Remove at next major release (1.9/2.0) + uuid: 0, + + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, ret, + internalKey = jQuery.expando, + getByName = typeof name === "string", + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + elem[ internalKey ] = id = jQuery.deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + cache[ id ] = {}; + + // Avoids exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( getByName ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; + }, + + removeData: function( elem, name, pvt /* Internal Use Only */ ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, i, l, + + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } + + for ( i = 0, l = name.length; i < l; i++ ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + } else if ( jQuery.support.deleteExpando || cache != cache.window ) { + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } + }, + + // For internal use only. + _data: function( elem, name, data ) { + return jQuery.data( elem, name, data, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; + + // nodes accept data unless otherwise specified; rejection can be conditional + return !noData || noData !== true && elem.getAttribute("classid") === noData; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var parts, part, attr, name, l, + elem = this[0], + i = 0, + data = null; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attr = elem.attributes; + for ( l = attr.length; i < l; i++ ) { + name = attr[i].name; + + if ( !name.indexOf( "data-" ) ) { + name = jQuery.camelCase( name.substring(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + parts = key.split( ".", 2 ); + parts[1] = parts[1] ? "." + parts[1] : ""; + part = parts[1] + "!"; + + return jQuery.access( this, function( value ) { + + if ( value === undefined ) { + data = this.triggerHandler( "getData" + part, [ parts[0] ] ); + + // Try to fetch any internally stored data first + if ( data === undefined && elem ) { + data = jQuery.data( elem, key ); + data = dataAttr( elem, key, data ); + } + + return data === undefined && parts[1] ? + this.data( parts[0] ) : + data; + } + + parts[1] = value; + this.each(function() { + var self = jQuery( this ); + + self.triggerHandler( "setData" + part, parts ); + jQuery.data( this, key, value ); + self.triggerHandler( "changeData" + part, parts ); + }); + }, null, value, arguments.length > 1, null, false ); + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery.removeData( elem, type + "queue", true ); + jQuery.removeData( elem, key, true ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var nodeHook, boolHook, fixSpecified, + rclass = /[\t\r\n]/g, + rreturn = /\r/g, + rtype = /^(?:button|input)$/i, + rfocusable = /^(?:button|input|object|select|textarea)$/i, + rclickable = /^a(?:rea|)$/i, + rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classNames, i, l, elem, + setClass, c, cl; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call(this, j, this.className) ); + }); + } + + if ( value && typeof value === "string" ) { + classNames = value.split( core_rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + + if ( elem.nodeType === 1 ) { + if ( !elem.className && classNames.length === 1 ) { + elem.className = value; + + } else { + setClass = " " + elem.className + " "; + + for ( c = 0, cl = classNames.length; c < cl; c++ ) { + if ( setClass.indexOf( " " + classNames[ c ] + " " ) < 0 ) { + setClass += classNames[ c ] + " "; + } + } + elem.className = jQuery.trim( setClass ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var removes, className, elem, c, cl, i, l; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call(this, j, this.className) ); + }); + } + if ( (value && typeof value === "string") || value === undefined ) { + removes = ( value || "" ).split( core_rspace ); + + for ( i = 0, l = this.length; i < l; i++ ) { + elem = this[ i ]; + if ( elem.nodeType === 1 && elem.className ) { + + className = (" " + elem.className + " ").replace( rclass, " " ); + + // loop over each item in the removal list + for ( c = 0, cl = removes.length; c < cl; c++ ) { + // Remove until there is nothing to remove, + while ( className.indexOf(" " + removes[ c ] + " ") >= 0 ) { + className = className.replace( " " + removes[ c ] + " " , " " ); + } + } + elem.className = value ? jQuery.trim( className ) : ""; + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.split( core_rspace ); + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + } else if ( type === "undefined" || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // toggle whole className + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var hooks, ret, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val, + self = jQuery(this); + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, self.val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var values = jQuery.makeArray( value ); + + jQuery(elem).find("option").each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + // Unused in 1.8, left in so attrFn-stabbers won't die; remove in 1.9 + attrFn: {}, + + attr: function( elem, name, value, pass ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( pass && jQuery.isFunction( jQuery.fn[ name ] ) ) { + return jQuery( elem )[ name ]( value ); + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( notxml ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + + } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + + ret = elem.getAttribute( name ); + + // Non-existent attributes return null, we normalize to undefined + return ret === null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var propName, attrNames, name, isBool, + i = 0; + + if ( value && elem.nodeType === 1 ) { + + attrNames = value.split( core_rspace ); + + for ( ; i < attrNames.length; i++ ) { + name = attrNames[ i ]; + + if ( name ) { + propName = jQuery.propFix[ name ] || name; + isBool = rboolean.test( name ); + + // See #9699 for explanation of this approach (setting first, then removal) + // Do not do this for boolean attributes (see #10870) + if ( !isBool ) { + jQuery.attr( elem, name, "" ); + } + elem.removeAttribute( getSetAttribute ? name : propName ); + + // Set corresponding property to false for boolean attributes + if ( isBool && propName in elem ) { + elem[ propName ] = false; + } + } + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + // We can't allow the type property to be changed (since it causes problems in IE) + if ( rtype.test( elem.nodeName ) && elem.parentNode ) { + jQuery.error( "type property can't be changed" ); + } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to it's default in case type is set after value + // This is for element creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + }, + // Use the value property for back compat + // Use the nodeHook for button elements in IE6/7 (#1954) + value: { + get: function( elem, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.get( elem, name ); + } + return name in elem ? + elem.value : + null; + }, + set: function( elem, value, name ) { + if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { + return nodeHook.set( elem, value, name ); + } + // Does not return so that setAttribute is also used + elem.value = value; + } + } + }, + + propFix: { + tabindex: "tabIndex", + readonly: "readOnly", + "for": "htmlFor", + "class": "className", + maxlength: "maxLength", + cellspacing: "cellSpacing", + cellpadding: "cellPadding", + rowspan: "rowSpan", + colspan: "colSpan", + usemap: "useMap", + frameborder: "frameBorder", + contenteditable: "contentEditable" + }, + + prop: function( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + return ( elem[ name ] = value ); + } + + } else { + if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + return elem[ name ]; + } + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + var attributeNode = elem.getAttributeNode("tabindex"); + + return attributeNode && attributeNode.specified ? + parseInt( attributeNode.value, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + } + } +}); + +// Hook for boolean attributes +boolHook = { + get: function( elem, name ) { + // Align boolean attributes with corresponding properties + // Fall back to attribute presence where some booleans are not supported + var attrNode, + property = jQuery.prop( elem, name ); + return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ? + name.toLowerCase() : + undefined; + }, + set: function( elem, value, name ) { + var propName; + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + // value is true since we know at this point it's type boolean and not false + // Set boolean attributes to the same name and set the DOM property + propName = jQuery.propFix[ name ] || name; + if ( propName in elem ) { + // Only set the IDL specifically if it already exists on the element + elem[ propName ] = true; + } + + elem.setAttribute( name, name.toLowerCase() ); + } + return name; + } +}; + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + fixSpecified = { + name: true, + id: true, + coords: true + }; + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = jQuery.valHooks.button = { + get: function( elem, name ) { + var ret; + ret = elem.getAttributeNode( name ); + return ret && ( fixSpecified[ name ] ? ret.value !== "" : ret.specified ) ? + ret.value : + undefined; + }, + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + ret = document.createAttribute( name ); + elem.setAttributeNode( ret ); + } + return ( ret.value = value + "" ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }); + }); + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + get: nodeHook.get, + set: function( elem, value, name ) { + if ( value === "" ) { + value = "false"; + } + nodeHook.set( elem, value, name ); + } + }; +} + + +// Some attributes require a special call on IE +if ( !jQuery.support.hrefNormalized ) { + jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + get: function( elem ) { + var ret = elem.getAttribute( name, 2 ); + return ret === null ? undefined : ret; + } + }); + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Normalize to lowercase since IE uppercases css property names + return elem.style.cssText.toLowerCase() || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }); +} + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +if ( !jQuery.support.checkOn ) { + jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + get: function( elem ) { + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + } + }; + }); +} +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }); +}); +var rformElems = /^(?:textarea|input|select)$/i, + rtypenamespace = /^([^\.]*|)(?:\.(.+)|)$/, + rhoverHack = /(?:^|\s)hover(\.\S+|)\b/, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + hoverHack = function( events ) { + return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" ); + }; + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + add: function( elem, types, handler, data, selector ) { + + var elemData, eventHandle, events, + t, tns, type, namespaces, handleObj, + handleObjIn, handlers, special; + + // Don't attach events to noData or text/comment nodes (allow plain objects tho) + if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + events = elemData.events; + if ( !events ) { + elemData.events = events = {}; + } + eventHandle = elemData.handle; + if ( !eventHandle ) { + elemData.handle = eventHandle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = jQuery.trim( hoverHack(types) ).split( " " ); + for ( t = 0; t < types.length; t++ ) { + + tns = rtypenamespace.exec( types[t] ) || []; + type = tns[1]; + namespaces = ( tns[2] || "" ).split( "." ).sort(); + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: tns[1], + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + handlers = events[ type ]; + if ( !handlers ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + global: {}, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var t, tns, type, origType, namespaces, origCount, + j, events, special, eventType, handleObj, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = jQuery.trim( hoverHack( types || "" ) ).split(" "); + for ( t = 0; t < types.length; t++ ) { + tns = rtypenamespace.exec( types[t] ) || []; + type = origType = tns[1]; + namespaces = tns[2]; + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector? special.delegateType : special.bindType ) || type; + eventType = events[ type ] || []; + origCount = eventType.length; + namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.|)") + "(\\.|$)") : null; + + // Remove matching events + for ( j = 0; j < eventType.length; j++ ) { + handleObj = eventType[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !namespaces || namespaces.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + eventType.splice( j--, 1 ); + + if ( handleObj.selector ) { + eventType.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( eventType.length === 0 && origCount !== eventType.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery.removeData( elem, "events", true ); + } + }, + + // Events that are safe to short-circuit if no handlers are attached. + // Native DOM events should not be added, they may have inline handlers. + customEvent: { + "getData": true, + "setData": true, + "changeData": true + }, + + trigger: function( event, data, elem, onlyHandlers ) { + // Don't do events on text and comment nodes + if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) { + return; + } + + // Event object or event type + var cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType, + type = event.type || event, + namespaces = []; + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "!" ) >= 0 ) { + // Exclusive events trigger only for the exact event (no namespaces) + type = type.slice(0, -1); + exclusive = true; + } + + if ( type.indexOf( "." ) >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + + if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { + // No jQuery handlers for this event type, and it can't have inline handlers + return; + } + + // Caller can pass in an Event, Object, or just an event type string + event = typeof event === "object" ? + // jQuery.Event object + event[ jQuery.expando ] ? event : + // Object literal + new jQuery.Event( type, event ) : + // Just the event type (string) + new jQuery.Event( type ); + + event.type = type; + event.isTrigger = true; + event.exclusive = exclusive; + event.namespace = namespaces.join( "." ); + event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null; + ontype = type.indexOf( ":" ) < 0 ? "on" + type : ""; + + // Handle a global trigger + if ( !elem ) { + + // TODO: Stop taunting the data cache; remove global events and always attach to document + cache = jQuery.cache; + for ( i in cache ) { + if ( cache[ i ].events && cache[ i ].events[ type ] ) { + jQuery.event.trigger( event, data, cache[ i ].handle.elem, true ); + } + } + return; + } + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data != null ? jQuery.makeArray( data ) : []; + data.unshift( event ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + eventPath = [[ elem, special.bindType || type ]]; + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode; + for ( old = elem; cur; cur = cur.parentNode ) { + eventPath.push([ cur, bubbleType ]); + old = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( old === (elem.ownerDocument || document) ) { + eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]); + } + } + + // Fire handlers on the event path + for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) { + + cur = eventPath[i][0]; + event.type = eventPath[i][1]; + + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + // Note that this is a bare JS function and not a jQuery handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && + !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + // IE<9 dies on focus/blur to hidden element (#1486) + if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + old = elem[ ontype ]; + + if ( old ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + elem[ type ](); + jQuery.event.triggered = undefined; + + if ( old ) { + elem[ ontype ] = old; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event || window.event ); + + var i, j, cur, ret, selMatch, matched, matches, handleObj, sel, related, + handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []), + delegateCount = handlers.delegateCount, + args = core_slice.call( arguments ), + run_all = !event.exclusive && !event.namespace, + special = jQuery.event.special[ event.type ] || {}, + handlerQueue = []; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers that should run if there are delegated events + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && !(event.button && event.type === "click") ) { + + for ( cur = event.target; cur != this; cur = cur.parentNode || this ) { + + // Don't process clicks (ONLY) on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.disabled !== true || event.type !== "click" ) { + selMatch = {}; + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + sel = handleObj.selector; + + if ( selMatch[ sel ] === undefined ) { + selMatch[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( selMatch[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, matches: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( handlers.length > delegateCount ) { + handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) }); + } + + // Run delegates first; they may want to stop propagation beneath us + for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) { + matched = handlerQueue[ i ]; + event.currentTarget = matched.elem; + + for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) { + handleObj = matched.matches[ j ]; + + // Triggered event must either 1) be non-exclusive and have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) { + + event.data = handleObj.data; + event.handleObj = handleObj; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + event.result = ret; + if ( ret === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + // *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 *** + props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, + originalEvent = event, + fixHook = jQuery.event.fixHooks[ event.type ] || {}, + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = jQuery.Event( originalEvent ); + + for ( i = copy.length; i; ) { + prop = copy[ --i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Target should not be a text node (#504, Safari) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328; IE6/7/8) + event.metaKey = !!event.metaKey; + + return fixHook.filter? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + + focus: { + delegateType: "focusin" + }, + blur: { + delegateType: "focusout" + }, + + beforeunload: { + setup: function( data, namespaces, eventHandle ) { + // We only want to do this special case on windows + if ( jQuery.isWindow( this ) ) { + this.onbeforeunload = eventHandle; + } + }, + + teardown: function( namespaces, eventHandle ) { + if ( this.onbeforeunload === eventHandle ) { + this.onbeforeunload = null; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +// Some plugins are using, but it's undocumented/deprecated and will be removed. +// The 1.7 special event interface should provide all the hooks needed now. +jQuery.event.handle = jQuery.event.dispatch; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === "undefined" ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +function returnFalse() { + return false; +} +function returnTrue() { + return true; +} + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + preventDefault: function() { + this.isDefaultPrevented = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + + // if preventDefault exists run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // otherwise set the returnValue property of the original event to false (IE) + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + this.isPropagationStopped = returnTrue; + + var e = this.originalEvent; + if ( !e ) { + return; + } + // if stopPropagation exists run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + // otherwise set the cancelBubble property of the original event to true (IE) + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + }, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj, + selector = handleObj.selector; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "_submit_attached" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "_submit_attached", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "_change_attached" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "_change_attached", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { // && selector != null + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + bind: function( types, data, fn ) { + return this.on( types, null, data, fn ); + }, + unbind: function( types, fn ) { + return this.off( types, null, fn ); + }, + + live: function( types, data, fn ) { + jQuery( this.context ).on( types, this.selector, data, fn ); + return this; + }, + die: function( types, fn ) { + jQuery( this.context ).off( types, this.selector || "**", fn ); + return this; + }, + + delegate: function( selector, types, data, fn ) { + return this.on( types, selector, data, fn ); + }, + undelegate: function( selector, types, fn ) { + // ( namespace ) or ( selector, types [, fn] ) + return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + if ( this[0] ) { + return jQuery.event.trigger( type, data, this[0], true ); + } + }, + + toggle: function( fn ) { + // Save reference to arguments for access in closure + var args = arguments, + guid = fn.guid || jQuery.guid++, + i = 0, + toggler = function( event ) { + // Figure out which function to execute + var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; + jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 ); + + // Make sure that clicks stop + event.preventDefault(); + + // and execute the function + return args[ lastToggle ].apply( this, arguments ) || false; + }; + + // link all the functions, so any of them can unbind this click handler + toggler.guid = guid; + while ( i < args.length ) { + args[ i++ ].guid = guid; + } + + return this.click( toggler ); + }, + + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +}); + +jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + if ( fn == null ) { + fn = data; + data = null; + } + + return arguments.length > 0 ? + this.on( name, null, data, fn ) : + this.trigger( name ); + }; + + if ( rkeyEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks; + } + + if ( rmouseEvent.test( name ) ) { + jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks; + } +}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://sizzlejs.com/ + */ +(function( window, undefined ) { + +var cachedruns, + assertGetIdNotName, + Expr, + getText, + isXML, + contains, + compile, + sortOrder, + hasDuplicate, + outermostContext, + + baseHasDuplicate = true, + strundefined = "undefined", + + expando = ( "sizcache" + Math.random() ).replace( ".", "" ), + + Token = String, + document = window.document, + docElem = document.documentElement, + dirruns = 0, + done = 0, + pop = [].pop, + push = [].push, + slice = [].slice, + // Use a stripped-down indexOf if a native one is unavailable + indexOf = [].indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + // Augment a function for special use by Sizzle + markFunction = function( fn, value ) { + fn[ expando ] = value == null || value; + return fn; + }, + + createCache = function() { + var cache = {}, + keys = []; + + return markFunction(function( key, value ) { + // Only keep the most recent entries + if ( keys.push( key ) > Expr.cacheLength ) { + delete cache[ keys.shift() ]; + } + + // Retrieve with (key + " ") to avoid collision with native Object.prototype properties (see Issue #157) + return (cache[ key + " " ] = value); + }, cache ); + }, + + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + + // Regex + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier (http://www.w3.org/TR/css3-selectors/#attribute-selectors) + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + operators = "([*^$|!~]?=)", + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments not in parens/brackets, + // then attribute selectors and non-pseudos (denoted by :), + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:" + attributes + ")|[^:]|\\\\.)*|.*))\\)|)", + + // For matchExpr.POS and matchExpr.needsContext + pos = ":(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), + rpseudo = new RegExp( pseudos ), + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/, + + rnot = /^:not/, + rsibling = /[\x20\t\r\n\f]*[+~]/, + rendsWithNot = /:not\($/, + + rheader = /h\d/i, + rinputs = /input|select|textarea|button/i, + + rbackslash = /\\(?!\\)/g, + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "POS": new RegExp( pos, "i" ), + "CHILD": new RegExp( "^:(only|nth|first|last)-child(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + // For use in libraries implementing .is() + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|" + pos, "i" ) + }, + + // Support + + // Used for testing something on an element + assert = function( fn ) { + var div = document.createElement("div"); + + try { + return fn( div ); + } catch (e) { + return false; + } finally { + // release memory in IE + div = null; + } + }, + + // Check if getElementsByTagName("*") returns only elements + assertTagNameNoComments = assert(function( div ) { + div.appendChild( document.createComment("") ); + return !div.getElementsByTagName("*").length; + }), + + // Check if getAttribute returns normalized href attributes + assertHrefNotNormalized = assert(function( div ) { + div.innerHTML = ""; + return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && + div.firstChild.getAttribute("href") === "#"; + }), + + // Check if attributes should be retrieved by attribute nodes + assertAttributes = assert(function( div ) { + div.innerHTML = ""; + var type = typeof div.lastChild.getAttribute("multiple"); + // IE8 returns a string for some attributes even when not present + return type !== "boolean" && type !== "string"; + }), + + // Check if getElementsByClassName can be trusted + assertUsableClassName = assert(function( div ) { + // Opera can't find a second classname (in 9.6) + div.innerHTML = ""; + if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { + return false; + } + + // Safari 3.2 caches class attributes and doesn't catch changes + div.lastChild.className = "e"; + return div.getElementsByClassName("e").length === 2; + }), + + // Check if getElementById returns elements by name + // Check if getElementsByName privileges form controls or returns elements by ID + assertUsableName = assert(function( div ) { + // Inject content + div.id = expando + 0; + div.innerHTML = "
"; + docElem.insertBefore( div, docElem.firstChild ); + + // Test + var pass = document.getElementsByName && + // buggy browsers will return fewer than the correct 2 + document.getElementsByName( expando ).length === 2 + + // buggy browsers will return more than the correct 0 + document.getElementsByName( expando + 0 ).length; + assertGetIdNotName = !document.getElementById( expando ); + + // Cleanup + docElem.removeChild( div ); + + return pass; + }); + +// If slice is not available, provide a backup +try { + slice.call( docElem.childNodes, 0 )[0].nodeType; +} catch ( e ) { + slice = function( i ) { + var elem, + results = []; + for ( ; (elem = this[i]); i++ ) { + results.push( elem ); + } + return results; + }; +} + +function Sizzle( selector, context, results, seed ) { + results = results || []; + context = context || document; + var match, elem, xml, m, + nodeType = context.nodeType; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( nodeType !== 1 && nodeType !== 9 ) { + return []; + } + + xml = isXML( context ); + + if ( !xml && !seed ) { + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && assertUsableClassName && context.getElementsByClassName ) { + push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); + return results; + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed, xml ); +} + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + return Sizzle( expr, null, null, [ elem ] ).length > 0; +}; + +// Returns a function to use in pseudos for input types +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +// Returns a function to use in pseudos for buttons +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +// Returns a function to use in pseudos for positionals +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( nodeType ) { + if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (see #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + } else { + + // If no nodeType, this is expected to be an array + for ( ; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } + return ret; +}; + +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +// Element contains another +contains = Sizzle.contains = docElem.contains ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && adown.contains && adown.contains(bup) ); + } : + docElem.compareDocumentPosition ? + function( a, b ) { + return b && !!( a.compareDocumentPosition( b ) & 16 ); + } : + function( a, b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + return false; + }; + +Sizzle.attr = function( elem, name ) { + var val, + xml = isXML( elem ); + + if ( !xml ) { + name = name.toLowerCase(); + } + if ( (val = Expr.attrHandle[ name ]) ) { + return val( elem ); + } + if ( xml || assertAttributes ) { + return elem.getAttribute( name ); + } + val = elem.getAttributeNode( name ); + return val ? + typeof elem[ name ] === "boolean" ? + elem[ name ] ? name : null : + val.specified ? val.value : null : + null; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + // IE6/7 return a modified href + attrHandle: assertHrefNotNormalized ? + {} : + { + "href": function( elem ) { + return elem.getAttribute( "href", 2 ); + }, + "type": function( elem ) { + return elem.getAttribute("type"); + } + }, + + find: { + "ID": assertGetIdNotName ? + function( id, context, xml ) { + if ( typeof context.getElementById !== strundefined && !xml ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + } : + function( id, context, xml ) { + if ( typeof context.getElementById !== strundefined && !xml ) { + var m = context.getElementById( id ); + + return m ? + m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? + [m] : + undefined : + []; + } + }, + + "TAG": assertTagNameNoComments ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + var elem, + tmp = [], + i = 0; + + for ( ; (elem = results[i]); i++ ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }, + + "NAME": assertUsableName && function( tag, context ) { + if ( typeof context.getElementsByName !== strundefined ) { + return context.getElementsByName( name ); + } + }, + + "CLASS": assertUsableClassName && function( className, context, xml ) { + if ( typeof context.getElementsByClassName !== strundefined && !xml ) { + return context.getElementsByClassName( className ); + } + } + }, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( rbackslash, "" ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( rbackslash, "" ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 3 xn-component of xn+y argument ([+-]?\d*n|) + 4 sign of xn-component + 5 x of xn-component + 6 sign of y-component + 7 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1] === "nth" ) { + // nth-child requires argument + if ( !match[2] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[3] = +( match[3] ? match[4] + (match[5] || 1) : 2 * ( match[2] === "even" || match[2] === "odd" ) ); + match[4] = +( ( match[6] + match[7] ) || match[2] === "odd" ); + + // other types prohibit arguments + } else if ( match[2] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var unquoted, excess; + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + if ( match[3] ) { + match[2] = match[3]; + } else if ( (unquoted = match[4]) ) { + // Only check arguments that contain a pseudo + if ( rpseudo.test(unquoted) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + unquoted = unquoted.slice( 0, excess ); + match[0] = match[0].slice( 0, excess ); + } + match[2] = unquoted; + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + "ID": assertGetIdNotName ? + function( id ) { + id = id.replace( rbackslash, "" ); + return function( elem ) { + return elem.getAttribute("id") === id; + }; + } : + function( id ) { + id = id.replace( rbackslash, "" ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === id; + }; + }, + + "TAG": function( nodeName ) { + if ( nodeName === "*" ) { + return function() { return true; }; + } + nodeName = nodeName.replace( rbackslash, "" ).toLowerCase(); + + return function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ expando ][ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem, context ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.substr( result.length - check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.substr( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, argument, first, last ) { + + if ( type === "nth" ) { + return function( elem ) { + var node, diff, + parent = elem.parentNode; + + if ( first === 1 && last === 0 ) { + return true; + } + + if ( parent ) { + diff = 0; + for ( node = parent.firstChild; node; node = node.nextSibling ) { + if ( node.nodeType === 1 ) { + diff++; + if ( elem === node ) { + break; + } + } + } + } + + // Incorporate the offset (or cast to NaN), then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + }; + } + + return function( elem ) { + var node = elem; + + switch ( type ) { + case "only": + case "first": + while ( (node = node.previousSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + if ( type === "first" ) { + return true; + } + + node = elem; + + /* falls through */ + case "last": + while ( (node = node.nextSibling) ) { + if ( node.nodeType === 1 ) { + return false; + } + } + + return true; + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), + // not comment, processing instructions, or others + // Thanks to Diego Perini for the nodeName shortcut + // Greater than "@" means alpha characters (specifically not starting with "#" or "?") + var nodeType; + elem = elem.firstChild; + while ( elem ) { + if ( elem.nodeName > "@" || (nodeType = elem.nodeType) === 3 || nodeType === 4 ) { + return false; + } + elem = elem.nextSibling; + } + return true; + }, + + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "text": function( elem ) { + var type, attr; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && + (type = elem.type) === "text" && + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === type ); + }, + + // Input types + "radio": createInputPseudo("radio"), + "checkbox": createInputPseudo("checkbox"), + "file": createInputPseudo("file"), + "password": createInputPseudo("password"), + "image": createInputPseudo("image"), + + "submit": createButtonPseudo("submit"), + "reset": createButtonPseudo("reset"), + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "focus": function( elem ) { + var doc = elem.ownerDocument; + return elem === doc.activeElement && (!doc.hasFocus || doc.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + "active": function( elem ) { + return elem === elem.ownerDocument.activeElement; + }, + + // Positional types + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + for ( var i = 0; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + for ( var i = 1; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + for ( var i = argument < 0 ? argument + length : argument; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + for ( var i = argument < 0 ? argument + length : argument; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +function siblingCheck( a, b, ret ) { + if ( a === b ) { + return ret; + } + + var cur = a.nextSibling; + + while ( cur ) { + if ( cur === b ) { + return -1; + } + + cur = cur.nextSibling; + } + + return 1; +} + +sortOrder = docElem.compareDocumentPosition ? + function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + return ( !a.compareDocumentPosition || !b.compareDocumentPosition ? + a.compareDocumentPosition : + a.compareDocumentPosition(b) & 4 + ) ? -1 : 1; + } : + function( a, b ) { + // The nodes are identical, we can exit early + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Fallback to using sourceIndex (in IE) if it's available on both nodes + } else if ( a.sourceIndex && b.sourceIndex ) { + return a.sourceIndex - b.sourceIndex; + } + + var al, bl, + ap = [], + bp = [], + aup = a.parentNode, + bup = b.parentNode, + cur = aup; + + // If the nodes are siblings (or identical) we can do a quick check + if ( aup === bup ) { + return siblingCheck( a, b ); + + // If no parents were found then the nodes are disconnected + } else if ( !aup ) { + return -1; + + } else if ( !bup ) { + return 1; + } + + // Otherwise they're somewhere else in the tree so we need + // to build up a full list of the parentNodes for comparison + while ( cur ) { + ap.unshift( cur ); + cur = cur.parentNode; + } + + cur = bup; + + while ( cur ) { + bp.unshift( cur ); + cur = cur.parentNode; + } + + al = ap.length; + bl = bp.length; + + // Start walking down the tree looking for a discrepancy + for ( var i = 0; i < al && i < bl; i++ ) { + if ( ap[i] !== bp[i] ) { + return siblingCheck( ap[i], bp[i] ); + } + } + + // We ended someplace up the tree so do a sibling check + return i === al ? + siblingCheck( a, bp[i], -1 ) : + siblingCheck( ap[i], b, 1 ); + }; + +// Always assume the presence of duplicates if sort doesn't +// pass them to our comparison function (as in Google Chrome). +[0, 0].sort( sortOrder ); +baseHasDuplicate = !hasDuplicate; + +// Document sorting and removing duplicates +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + i = 1, + j = 0; + + hasDuplicate = baseHasDuplicate; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( ; (elem = results[i]); i++ ) { + if ( elem === results[ i - 1 ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + return results; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ expando ][ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( tokens = [] ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + tokens.push( matched = new Token( match.shift() ) ); + soFar = soFar.slice( matched.length ); + + // Cast descendant combinators to space + matched.type = match[0].replace( rtrim, " " ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + + tokens.push( matched = new Token( match.shift() ) ); + soFar = soFar.slice( matched.length ); + matched.type = type; + matched.matches = match; + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && combinator.dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( !xml ) { + var cache, + dirkey = dirruns + " " + doneName + " ", + cachedkey = dirkey + cachedruns; + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + if ( (cache = elem[ expando ]) === cachedkey ) { + return elem.sizset; + } else if ( typeof cache === "string" && cache.indexOf(dirkey) === 0 ) { + if ( elem.sizset ) { + return elem; + } + } else { + elem[ expando ] = cachedkey; + if ( matcher( elem, context, xml ) ) { + elem.sizset = true; + return elem; + } + elem.sizset = false; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( checkNonElements || elem.nodeType === 1 ) { + if ( matcher( elem, context, xml ) ) { + return elem; + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && tokens.slice( 0, i - 1 ).join("").replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && tokens.join("") + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, expandContext ) { + var elem, j, matcher, + setMatched = [], + matchedCount = 0, + i = "0", + unmatched = seed && [], + outermost = expandContext != null, + contextBackup = outermostContext, + // We must always have either seed elements or context + elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), + // Nested matchers should use non-integer dirruns + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.E); + + if ( outermost ) { + outermostContext = context !== document && context; + cachedruns = superMatcher.el; + } + + // Add elements passing elementMatchers directly to results + for ( ; (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + for ( j = 0; (matcher = elementMatchers[j]); j++ ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + cachedruns = ++superMatcher.el; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + for ( j = 0; (matcher = setMatchers[j]); j++ ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + superMatcher.el = 0; + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ expando ][ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed, xml ) { + var i, tokens, token, type, find, + match = tokenize( selector ), + j = match.length; + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && !xml && + Expr.relative[ tokens[1].type ] ) { + + context = Expr.find["ID"]( token.matches[0].replace( rbackslash, "" ), context, xml )[0]; + if ( !context ) { + return results; + } + + selector = selector.slice( tokens.shift().length ); + } + + // Fetch a seed set for right-to-left matching + for ( i = matchExpr["POS"].test( selector ) ? -1 : tokens.length - 1; i >= 0; i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( rbackslash, "" ), + rsibling.test( tokens[0].type ) && context.parentNode || context, + xml + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && tokens.join(""); + if ( !selector ) { + push.apply( results, slice.call( seed, 0 ) ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + xml, + results, + rsibling.test( selector ) + ); + return results; +} + +if ( document.querySelectorAll ) { + (function() { + var disconnectedMatch, + oldSelect = select, + rescape = /'|\\/g, + rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, + + // qSa(:focus) reports false when true (Chrome 21), no need to also add to buggyMatches since matches checks buggyQSA + // A support test would require too much code (would include document ready) + rbuggyQSA = [ ":focus" ], + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + // A support test would require too much code (would include document ready) + // just skip matchesSelector for :active + rbuggyMatches = [ ":active" ], + matches = docElem.matchesSelector || + docElem.mozMatchesSelector || + docElem.webkitMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector; + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explictly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // IE8 - Some boolean attributes are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here (do not put tests after this one) + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + + // Opera 10-12/IE9 - ^= $= *= and empty values + // Should not select anything + div.innerHTML = "

"; + if ( div.querySelectorAll("[test^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here (do not put tests after this one) + div.innerHTML = ""; + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push(":enabled", ":disabled"); + } + }); + + // rbuggyQSA always contains :focus, so no need for a length check + rbuggyQSA = /* rbuggyQSA.length && */ new RegExp( rbuggyQSA.join("|") ); + + select = function( selector, context, results, seed, xml ) { + // Only use querySelectorAll when not filtering, + // when this is not xml, + // and when no QSA bugs apply + if ( !seed && !xml && !rbuggyQSA.test( selector ) ) { + var groups, i, + old = true, + nid = expando, + newContext = context, + newSelector = context.nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + groups[i].join(""); + } + newContext = rsibling.test( selector ) && context.parentNode || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, slice.call( newContext.querySelectorAll( + newSelector + ), 0 ) ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + + return oldSelect( selector, context, results, seed, xml ); + }; + + if ( matches ) { + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + try { + matches.call( div, "[test!='']:sizzle" ); + rbuggyMatches.push( "!=", pseudos ); + } catch ( e ) {} + }); + + // rbuggyMatches always contains :active and :focus, so no need for a length check + rbuggyMatches = /* rbuggyMatches.length && */ new RegExp( rbuggyMatches.join("|") ); + + Sizzle.matchesSelector = function( elem, expr ) { + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + // rbuggyMatches always contains :active, so no need for an existence check + if ( !isXML( elem ) && !rbuggyMatches.test( expr ) && !rbuggyQSA.test( expr ) ) { + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, null, null, [ elem ] ).length > 0; + }; + } + })(); +} + +// Deprecated +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Back-compat +function setFilters() {} +Expr.filters = setFilters.prototype = Expr.pseudos; +Expr.setFilters = new setFilters(); + +// Override sizzle attribute retrieval +Sizzle.attr = jQuery.attr; +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})( window ); +var runtil = /Until$/, + rparentsprev = /^(?:parents|prev(?:Until|All))/, + isSimple = /^.[^:#\[\.,]*$/, + rneedsContext = jQuery.expr.match.needsContext, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var i, l, length, n, r, ret, + self = this; + + if ( typeof selector !== "string" ) { + return jQuery( selector ).filter(function() { + for ( i = 0, l = self.length; i < l; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }); + } + + ret = this.pushStack( "", "find", selector ); + + for ( i = 0, l = this.length; i < l; i++ ) { + length = ret.length; + jQuery.find( selector, this[i], ret ); + + if ( i > 0 ) { + // Make sure that the results are unique + for ( n = length; n < ret.length; n++ ) { + for ( r = 0; r < length; r++ ) { + if ( ret[r] === ret[n] ) { + ret.splice(n--, 1); + break; + } + } + } + } + } + + return ret; + }, + + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false), "not", selector); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true), "filter", selector ); + }, + + is: function( selector ) { + return !!selector && ( + typeof selector === "string" ? + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + rneedsContext.test( selector ) ? + jQuery( selector, this.context ).index( this[0] ) >= 0 : + jQuery.filter( selector, this ).length > 0 : + this.filter( selector ).length > 0 ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + ret = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + cur = this[i]; + + while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + } + cur = cur.parentNode; + } + } + + ret = ret.length > 1 ? jQuery.unique( ret ) : ret; + + return this.pushStack( ret, "closest", selectors ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? + all : + jQuery.unique( all ) ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +jQuery.fn.andSelf = jQuery.fn.addBack; + +// A painfully simple check to see if an element is disconnected +// from a document (should be improved, where feasible). +function isDisconnected( node ) { + return !node || !node.parentNode || node.parentNode.nodeType === 11; +} + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; + + if ( this.length > 1 && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret, name, core_slice.call( arguments ).join(",") ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + + // Can't pass null or undefined to indexOf in Firefox 4 + // Set to 0 to skip string check + qualifier = qualifier || 0; + + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem, i ) { + return ( elem === qualifier ) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem, i ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; + }); +} +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /]", "i"), + rcheckableType = /^(?:checkbox|radio)$/, + // checked="checked" or checked + rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, + rscriptType = /\/(java|ecma)script/i, + rcleanScript = /^\s*\s*$/g, + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
", "
" ], + thead: [ 1, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + col: [ 2, "", "
" ], + area: [ 1, "", "" ], + _default: [ 0, "", "" ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, +// unless wrapped in a div with non-breaking characters in front of it. +if ( !jQuery.support.htmlSerialize ) { + wrapMap._default = [ 1, "X
", "
" ]; +} + +jQuery.fn.extend({ + text: function( value ) { + return jQuery.access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + }, + + append: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 ) { + this.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 ) { + this.insertBefore( elem, this.firstChild ); + } + }); + }, + + before: function() { + if ( !isDisconnected( this[0] ) ) { + return this.domManip(arguments, false, function( elem ) { + this.parentNode.insertBefore( elem, this ); + }); + } + + if ( arguments.length ) { + var set = jQuery.clean( arguments ); + return this.pushStack( jQuery.merge( set, this ), "before", this.selector ); + } + }, + + after: function() { + if ( !isDisconnected( this[0] ) ) { + return this.domManip(arguments, false, function( elem ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + }); + } + + if ( arguments.length ) { + var set = jQuery.clean( arguments ); + return this.pushStack( jQuery.merge( this, set ), "after", this.selector ); + } + }, + + // keepData is for internal use only--do not document + remove: function( selector, keepData ) { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + if ( !selector || jQuery.filter( selector, [ elem ] ).length ) { + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName("*") ); + jQuery.cleanData( [ elem ] ); + } + + if ( elem.parentNode ) { + elem.parentNode.removeChild( elem ); + } + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName("*") ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function () { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return jQuery.access( this, function( value ) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( elem.getElementsByTagName( "*" ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function( value ) { + if ( !isDisconnected( this[0] ) ) { + // Make sure that the elements are removed from the DOM before they are inserted + // this can help fix replacing a parent with child elements + if ( jQuery.isFunction( value ) ) { + return this.each(function(i) { + var self = jQuery(this), old = self.html(); + self.replaceWith( value.call( this, i, old ) ); + }); + } + + if ( typeof value !== "string" ) { + value = jQuery( value ).detach(); + } + + return this.each(function() { + var next = this.nextSibling, + parent = this.parentNode; + + jQuery( this ).remove(); + + if ( next ) { + jQuery(next).before( value ); + } else { + jQuery(parent).append( value ); + } + }); + } + + return this.length ? + this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ) : + this; + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, table, callback ) { + + // Flatten any nested arrays + args = [].concat.apply( [], args ); + + var results, first, fragment, iNoClone, + i = 0, + value = args[0], + scripts = [], + l = this.length; + + // We can't cloneNode fragments that contain checked, in WebKit + if ( !jQuery.support.checkClone && l > 1 && typeof value === "string" && rchecked.test( value ) ) { + return this.each(function() { + jQuery(this).domManip( args, table, callback ); + }); + } + + if ( jQuery.isFunction(value) ) { + return this.each(function(i) { + var self = jQuery(this); + args[0] = value.call( this, i, table ? self.html() : undefined ); + self.domManip( args, table, callback ); + }); + } + + if ( this[0] ) { + results = jQuery.buildFragment( args, this, scripts ); + fragment = results.fragment; + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + table = table && jQuery.nodeName( first, "tr" ); + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + // Fragments from the fragment cache must always be cloned and never used in place. + for ( iNoClone = results.cacheable || l - 1; i < l; i++ ) { + callback.call( + table && jQuery.nodeName( this[i], "table" ) ? + findOrAppend( this[i], "tbody" ) : + this[i], + i === iNoClone ? + fragment : + jQuery.clone( fragment, true, true ) + ); + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + + if ( scripts.length ) { + jQuery.each( scripts, function( i, elem ) { + if ( elem.src ) { + if ( jQuery.ajax ) { + jQuery.ajax({ + url: elem.src, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } else { + jQuery.error("no ajax"); + } + } else { + jQuery.globalEval( ( elem.text || elem.textContent || elem.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + + if ( elem.parentNode ) { + elem.parentNode.removeChild( elem ); + } + }); + } + } + + return this; + } +}); + +function findOrAppend( elem, tag ) { + return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function cloneFixAttributes( src, dest ) { + var nodeName; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + // clearAttributes removes the attributes, which we don't want, + // but also removes the attachEvent events, which we *do* want + if ( dest.clearAttributes ) { + dest.clearAttributes(); + } + + // mergeAttributes, in contrast, only merges back on the + // original attributes, not the events + if ( dest.mergeAttributes ) { + dest.mergeAttributes( src ); + } + + nodeName = dest.nodeName.toLowerCase(); + + if ( nodeName === "object" ) { + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( jQuery.support.html5Clone && (src.innerHTML && !jQuery.trim(dest.innerHTML)) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + + // IE blanks contents when cloning scripts + } else if ( nodeName === "script" && dest.text !== src.text ) { + dest.text = src.text; + } + + // Event data gets referenced instead of copied if the expando + // gets copied too + dest.removeAttribute( jQuery.expando ); +} + +jQuery.buildFragment = function( args, context, scripts ) { + var fragment, cacheable, cachehit, + first = args[ 0 ]; + + // Set context from what may come in as undefined or a jQuery collection or a node + // Updated to fix #12266 where accessing context[0] could throw an exception in IE9/10 & + // also doubles as fix for #8950 where plain objects caused createDocumentFragment exception + context = context || document; + context = !context.nodeType && context[0] || context; + context = context.ownerDocument || context; + + // Only cache "small" (1/2 KB) HTML strings that are associated with the main document + // Cloning options loses the selected state, so don't cache them + // IE 6 doesn't like it when you put or elements in a fragment + // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache + // Lastly, IE6,7,8 will not correctly reuse cached fragments that were created from unknown elems #10501 + if ( args.length === 1 && typeof first === "string" && first.length < 512 && context === document && + first.charAt(0) === "<" && !rnocache.test( first ) && + (jQuery.support.checkClone || !rchecked.test( first )) && + (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) { + + // Mark cacheable and look for a hit + cacheable = true; + fragment = jQuery.fragments[ first ]; + cachehit = fragment !== undefined; + } + + if ( !fragment ) { + fragment = context.createDocumentFragment(); + jQuery.clean( args, context, fragment, scripts ); + + // Update the cache, but only store false + // unless this is a second parsing of the same content + if ( cacheable ) { + jQuery.fragments[ first ] = cachehit && fragment; + } + } + + return { fragment: fragment, cacheable: cacheable }; +}; + +jQuery.fragments = {}; + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + l = insert.length, + parent = this.length === 1 && this[0].parentNode; + + if ( (parent == null || parent && parent.nodeType === 11 && parent.childNodes.length === 1) && l === 1 ) { + insert[ original ]( this[0] ); + return this; + } else { + for ( ; i < l; i++ ) { + elems = ( i > 0 ? this.clone(true) : this ).get(); + jQuery( insert[i] )[ original ]( elems ); + ret = ret.concat( elems ); + } + + return this.pushStack( ret, name, insert.selector ); + } + }; +}); + +function getAll( elem ) { + if ( typeof elem.getElementsByTagName !== "undefined" ) { + return elem.getElementsByTagName( "*" ); + + } else if ( typeof elem.querySelectorAll !== "undefined" ) { + return elem.querySelectorAll( "*" ); + + } else { + return []; + } +} + +// Used in clean, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var srcElements, + destElements, + i, + clone; + + if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + // IE copies events bound via attachEvent when using cloneNode. + // Calling detachEvent on the clone will also remove the events + // from the original. In order to get around this, we use some + // proprietary methods to clear the events. Thanks to MooTools + // guys for this hotness. + + cloneFixAttributes( elem, clone ); + + // Using Sizzle here is crazy slow, so we use getElementsByTagName instead + srcElements = getAll( elem ); + destElements = getAll( clone ); + + // Weird iteration because IE will replace the length property + // with an element if you are cloning the body and one of the + // elements on the page has a name or id of "length" + for ( i = 0; srcElements[i]; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + cloneFixAttributes( srcElements[i], destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + cloneCopyEvent( elem, clone ); + + if ( deepDataAndEvents ) { + srcElements = getAll( elem ); + destElements = getAll( clone ); + + for ( i = 0; srcElements[i]; ++i ) { + cloneCopyEvent( srcElements[i], destElements[i] ); + } + } + } + + srcElements = destElements = null; + + // Return the cloned set + return clone; + }, + + clean: function( elems, context, fragment, scripts ) { + var i, j, elem, tag, wrap, depth, div, hasBody, tbody, len, handleScript, jsTags, + safe = context === document && safeFragment, + ret = []; + + // Ensure that context is a document + if ( !context || typeof context.createDocumentFragment === "undefined" ) { + context = document; + } + + // Use the already-created safe fragment if context permits + for ( i = 0; (elem = elems[i]) != null; i++ ) { + if ( typeof elem === "number" ) { + elem += ""; + } + + if ( !elem ) { + continue; + } + + // Convert html string into DOM nodes + if ( typeof elem === "string" ) { + if ( !rhtml.test( elem ) ) { + elem = context.createTextNode( elem ); + } else { + // Ensure a safe container in which to render the html + safe = safe || createSafeFragment( context ); + div = context.createElement("div"); + safe.appendChild( div ); + + // Fix "XHTML"-style tags in all browsers + elem = elem.replace(rxhtmlTag, "<$1>"); + + // Go to html and back, then peel off extra wrappers + tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + depth = wrap[0]; + div.innerHTML = wrap[1] + elem + wrap[2]; + + // Move to the right depth + while ( depth-- ) { + div = div.lastChild; + } + + // Remove IE's autoinserted from table fragments + if ( !jQuery.support.tbody ) { + + // String was a , *may* have spurious + hasBody = rtbody.test(elem); + tbody = tag === "table" && !hasBody ? + div.firstChild && div.firstChild.childNodes : + + // String was a bare or + wrap[1] === "
" && !hasBody ? + div.childNodes : + []; + + for ( j = tbody.length - 1; j >= 0 ; --j ) { + if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) { + tbody[ j ].parentNode.removeChild( tbody[ j ] ); + } + } + } + + // IE completely kills leading whitespace when innerHTML is used + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild ); + } + + elem = div.childNodes; + + // Take out of fragment container (we need a fresh div each time) + div.parentNode.removeChild( div ); + } + } + + if ( elem.nodeType ) { + ret.push( elem ); + } else { + jQuery.merge( ret, elem ); + } + } + + // Fix #11356: Clear elements from safeFragment + if ( div ) { + elem = div = safe = null; + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + for ( i = 0; (elem = ret[i]) != null; i++ ) { + if ( jQuery.nodeName( elem, "input" ) ) { + fixDefaultChecked( elem ); + } else if ( typeof elem.getElementsByTagName !== "undefined" ) { + jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked ); + } + } + } + + // Append elements to a provided document fragment + if ( fragment ) { + // Special handling of each script element + handleScript = function( elem ) { + // Check if we consider it executable + if ( !elem.type || rscriptType.test( elem.type ) ) { + // Detach the script and store it in the scripts array (if provided) or the fragment + // Return truthy to indicate that it has been handled + return scripts ? + scripts.push( elem.parentNode ? elem.parentNode.removeChild( elem ) : elem ) : + fragment.appendChild( elem ); + } + }; + + for ( i = 0; (elem = ret[i]) != null; i++ ) { + // Check if we're done after handling an executable script + if ( !( jQuery.nodeName( elem, "script" ) && handleScript( elem ) ) ) { + // Append to fragment and handle embedded scripts + fragment.appendChild( elem ); + if ( typeof elem.getElementsByTagName !== "undefined" ) { + // handleScript alters the DOM, so use jQuery.merge to ensure snapshot iteration + jsTags = jQuery.grep( jQuery.merge( [], elem.getElementsByTagName("script") ), handleScript ); + + // Splice the scripts into ret after their former ancestor and advance our index beyond them + ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) ); + i += jsTags.length; + } + } + } + } + + return ret; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var data, id, elem, type, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( elem.removeAttribute ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + jQuery.deletedIds.push( id ); + } + } + } + } + } +}); +// Limit scope pollution from any deprecated API +(function() { + +var matched, browser; + +// Use of jQuery.browser is frowned upon. +// More details: http://api.jquery.com/jQuery.browser +// jQuery.uaMatch maintained for back-compat +jQuery.uaMatch = function( ua ) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || + /(webkit)[ \/]([\w.]+)/.exec( ua ) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || + /(msie) ([\w.]+)/.exec( ua ) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; +}; + +matched = jQuery.uaMatch( navigator.userAgent ); +browser = {}; + +if ( matched.browser ) { + browser[ matched.browser ] = true; + browser.version = matched.version; +} + +// Chrome is Webkit, but Webkit is also Safari. +if ( browser.chrome ) { + browser.webkit = true; +} else if ( browser.webkit ) { + browser.safari = true; +} + +jQuery.browser = browser; + +jQuery.sub = function() { + function jQuerySub( selector, context ) { + return new jQuerySub.fn.init( selector, context ); + } + jQuery.extend( true, jQuerySub, this ); + jQuerySub.superclass = this; + jQuerySub.fn = jQuerySub.prototype = this(); + jQuerySub.fn.constructor = jQuerySub; + jQuerySub.sub = this.sub; + jQuerySub.fn.init = function init( selector, context ) { + if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { + context = jQuerySub( context ); + } + + return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); + }; + jQuerySub.fn.init.prototype = jQuerySub.fn; + var rootjQuerySub = jQuerySub(document); + return jQuerySub; +}; + +})(); +var curCSS, iframe, iframeDoc, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity=([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([-+])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ], + + eventsToggle = jQuery.fn.toggle; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var elem, display, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + values[ index ] = jQuery._data( elem, "olddisplay" ); + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && elem.style.display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + display = curCSS( elem, "display" ); + + if ( !values[ index ] && display !== "none" ) { + jQuery._data( elem, "olddisplay", display ); + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state, fn2 ) { + var bool = typeof state === "boolean"; + + if ( jQuery.isFunction( state ) && jQuery.isFunction( fn2 ) ) { + return eventsToggle.apply( this, arguments ); + } + + return this.each(function() { + if ( bool ? state : isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + + } + } + } + }, + + // Exclude the following css properties to add px + cssNumber: { + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, numeric, extra ) { + var val, num, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( numeric || extra !== undefined ) { + num = parseFloat( val ); + return numeric || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations + swap: function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; + } +}); + +// NOTE: To any future maintainer, we've window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + curCSS = function( elem, name ) { + var ret, width, minWidth, maxWidth, + computed = window.getComputedStyle( elem, null ), + style = elem.style; + + if ( computed ) { + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + curCSS = function( elem, name ) { + var left, rsLeft, + ret = elem.currentStyle && elem.currentStyle[ name ], + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rsLeft = elem.runtimeStyle && elem.runtimeStyle.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + elem.runtimeStyle.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + elem.runtimeStyle.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + // we use jQuery.css instead of curCSS here + // because of the reliableMarginRight CSS hook! + val += jQuery.css( elem, extra + cssExpand[ i ], true ); + } + + // From this point on we use curCSS for maximum performance (relevant in animations) + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= parseFloat( curCSS( elem, "padding" + cssExpand[ i ] ) ) || 0; + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= parseFloat( curCSS( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0; + } + } else { + // at this point, extra isn't content, so add padding + val += parseFloat( curCSS( elem, "padding" + cssExpand[ i ] ) ) || 0; + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += parseFloat( curCSS( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0; + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + valueIsBorderBox = true, + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing" ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox + ) + ) + "px"; +} + + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + if ( elemdisplay[ nodeName ] ) { + return elemdisplay[ nodeName ]; + } + + var elem = jQuery( "<" + nodeName + ">" ).appendTo( document.body ), + display = elem.css("display"); + elem.remove(); + + // If the simple way fails, + // get element's real default display by attaching it to a temp iframe + if ( display === "none" || display === "" ) { + // Use the already-created iframe if possible + iframe = document.body.appendChild( + iframe || jQuery.extend( document.createElement("iframe"), { + frameBorder: 0, + width: 0, + height: 0 + }) + ); + + // Create a cacheable copy of the iframe document on first call. + // IE and Opera will allow us to reuse the iframeDoc without re-writing the fake HTML + // document to it; WebKit & Firefox won't allow reusing the iframe document. + if ( !iframeDoc || !iframe.createElement ) { + iframeDoc = ( iframe.contentWindow || iframe.contentDocument ).document; + iframeDoc.write(""); + iframeDoc.close(); + } + + elem = iframeDoc.body.appendChild( iframeDoc.createElement(nodeName) ); + + display = curCSS( elem, "display" ); + document.body.removeChild( iframe ); + } + + // Store the correct default display + elemdisplay[ nodeName ] = display; + + return display; +} + +jQuery.each([ "height", "width" ], function( i, name ) { + jQuery.cssHooks[ name ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + // certain elements can have dimension info if we invisibly show them + // however, it must have a current display style that would benefit from this + if ( elem.offsetWidth === 0 && rdisplayswap.test( curCSS( elem, "display" ) ) ) { + return jQuery.swap( elem, cssShow, function() { + return getWidthOrHeight( elem, name, extra ); + }); + } else { + return getWidthOrHeight( elem, name, extra ); + } + } + }, + + set: function( elem, value, extra ) { + return setPositiveNumber( elem, value, extra ? + augmentWidthOrHeight( + elem, + name, + extra, + jQuery.support.boxSizing && jQuery.css( elem, "boxSizing" ) === "border-box" + ) : 0 + ); + } + }; +}); + +if ( !jQuery.support.opacity ) { + jQuery.cssHooks.opacity = { + get: function( elem, computed ) { + // IE uses filters for opacity + return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? + ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : + computed ? "1" : ""; + }, + + set: function( elem, value ) { + var style = elem.style, + currentStyle = elem.currentStyle, + opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", + filter = currentStyle && currentStyle.filter || style.filter || ""; + + // IE has trouble with opacity if it does not have layout + // Force it by setting the zoom level + style.zoom = 1; + + // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 + if ( value >= 1 && jQuery.trim( filter.replace( ralpha, "" ) ) === "" && + style.removeAttribute ) { + + // Setting style.filter to null, "" & " " still leave "filter:" in the cssText + // if "filter:" is present at all, clearType is disabled, we want to avoid this + // style.removeAttribute is IE Only, but so apparently is this code path... + style.removeAttribute( "filter" ); + + // if there there is no filter style applied in a css rule, we are done + if ( currentStyle && !currentStyle.filter ) { + return; + } + } + + // otherwise, set new filter values + style.filter = ralpha.test( filter ) ? + filter.replace( ralpha, opacity ) : + filter + " " + opacity; + } + }; +} + +// These hooks cannot be added until DOM ready because the support test +// for it is not run until after DOM ready +jQuery(function() { + if ( !jQuery.support.reliableMarginRight ) { + jQuery.cssHooks.marginRight = { + get: function( elem, computed ) { + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + // Work around by temporarily setting element display to inline-block + return jQuery.swap( elem, { "display": "inline-block" }, function() { + if ( computed ) { + return curCSS( elem, "marginRight" ); + } + }); + } + }; + } + + // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 + // getComputedStyle returns percent when specified for top/left/bottom/right + // rather than make the css module depend on the offset module, we just check for it here + if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { + jQuery.each( [ "top", "left" ], function( i, prop ) { + jQuery.cssHooks[ prop ] = { + get: function( elem, computed ) { + if ( computed ) { + var ret = curCSS( elem, prop ); + // if curCSS returns percentage, fallback to offset + return rnumnonpx.test( ret ) ? jQuery( elem ).position()[ prop ] + "px" : ret; + } + } + }; + }); + } + +}); + +if ( jQuery.expr && jQuery.expr.filters ) { + jQuery.expr.filters.hidden = function( elem ) { + return ( elem.offsetWidth === 0 && elem.offsetHeight === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || curCSS( elem, "display" )) === "none"); + }; + + jQuery.expr.filters.visible = function( elem ) { + return !jQuery.expr.filters.hidden( elem ); + }; +} + +// These hooks are used by animate to expand properties +jQuery.each({ + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i, + + // assumes a single number if not a string + parts = typeof value === "string" ? value.split(" ") : [ value ], + expanded = {}; + + for ( i = 0; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( !rmargin.test( prefix ) ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +}); +var r20 = /%20/g, + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i, + rselectTextarea = /^(?:select|textarea)/i; + +jQuery.fn.extend({ + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map(function(){ + return this.elements ? jQuery.makeArray( this.elements ) : this; + }) + .filter(function(){ + return this.name && !this.disabled && + ( this.checked || rselectTextarea.test( this.nodeName ) || + rinput.test( this.type ) ); + }) + .map(function( i, elem ){ + var val = jQuery( this ).val(); + + return val == null ? + null : + jQuery.isArray( val ) ? + jQuery.map( val, function( val, i ){ + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }) : + { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + }).get(); + } +}); + +//Serialize an array of form elements or a set of +//key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, value ) { + // If value is a function, invoke it and return its value + value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); + s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); + }; + + // Set traditional to true for jQuery <= 1.3.2 behavior. + if ( traditional === undefined ) { + traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + }); + + } else { + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ).replace( r20, "+" ); +}; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( jQuery.isArray( obj ) ) { + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + // If array item is non-scalar (array or object), encode its + // numeric index to resolve deserialization ambiguity issues. + // Note that rack (as of 1.0.0) can't currently deserialize + // nested arrays properly, and attempting to do so may cause + // a server error. Possible fixes are to modify rack's + // deserialization algorithm or to provide an option or flag + // to force array serialization to be shallow. + buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); + } + }); + + } else if ( !traditional && jQuery.type( obj ) === "object" ) { + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + // Serialize scalar item. + add( prefix, obj ); + } +} +var + // Document location + ajaxLocParts, + ajaxLocation, + + rhash = /#.*$/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + rquery = /\?/, + rscript = /)<[^<]*)*<\/script>/gi, + rts = /([?&])_=[^&]*/, + rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, + + // Keep a copy of the old load method + _load = jQuery.fn.load, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = ["*/"] + ["*"]; + +// #8138, IE may throw an exception when accessing +// a field from window.location if document.domain has been set +try { + ajaxLocation = location.href; +} catch( e ) { + // Use the href attribute of an A element + // since IE will modify it given document.location + ajaxLocation = document.createElement( "a" ); + ajaxLocation.href = ""; + ajaxLocation = ajaxLocation.href; +} + +// Segment location into parts +ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, list, placeBefore, + dataTypes = dataTypeExpression.toLowerCase().split( core_rspace ), + i = 0, + length = dataTypes.length; + + if ( jQuery.isFunction( func ) ) { + // For each dataType in the dataTypeExpression + for ( ; i < length; i++ ) { + dataType = dataTypes[ i ]; + // We control if we're asked to add before + // any existing element + placeBefore = /^\+/.test( dataType ); + if ( placeBefore ) { + dataType = dataType.substr( 1 ) || "*"; + } + list = structure[ dataType ] = structure[ dataType ] || []; + // then we add to the structure accordingly + list[ placeBefore ? "unshift" : "push" ]( func ); + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR, + dataType /* internal */, inspected /* internal */ ) { + + dataType = dataType || options.dataTypes[ 0 ]; + inspected = inspected || {}; + + inspected[ dataType ] = true; + + var selection, + list = structure[ dataType ], + i = 0, + length = list ? list.length : 0, + executeOnly = ( structure === prefilters ); + + for ( ; i < length && ( executeOnly || !selection ); i++ ) { + selection = list[ i ]( options, originalOptions, jqXHR ); + // If we got redirected to another dataType + // we try there if executing only and not done already + if ( typeof selection === "string" ) { + if ( !executeOnly || inspected[ selection ] ) { + selection = undefined; + } else { + options.dataTypes.unshift( selection ); + selection = inspectPrefiltersOrTransports( + structure, options, originalOptions, jqXHR, selection, inspected ); + } + } + } + // If we're only executing or nothing was selected + // we try the catchall dataType if not done already + if ( ( executeOnly || !selection ) && !inspected[ "*" ] ) { + selection = inspectPrefiltersOrTransports( + structure, options, originalOptions, jqXHR, "*", inspected ); + } + // unnecessary when only executing (prefilters) + // but it'll be ignored by the caller in that case + return selection; +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } +} + +jQuery.fn.load = function( url, params, callback ) { + if ( typeof url !== "string" && _load ) { + return _load.apply( this, arguments ); + } + + // Don't do a request if no elements are being requested + if ( !this.length ) { + return this; + } + + var selector, type, response, + self = this, + off = url.indexOf(" "); + + if ( off >= 0 ) { + selector = url.slice( off, url.length ); + url = url.slice( 0, off ); + } + + // If it's a function + if ( jQuery.isFunction( params ) ) { + + // We assume that it's the callback + callback = params; + params = undefined; + + // Otherwise, build a param string + } else if ( params && typeof params === "object" ) { + type = "POST"; + } + + // Request the remote document + jQuery.ajax({ + url: url, + + // if "type" variable is undefined, then "GET" method will be used + type: type, + dataType: "html", + data: params, + complete: function( jqXHR, status ) { + if ( callback ) { + self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); + } + } + }).done(function( responseText ) { + + // Save response for use in complete callback + response = arguments; + + // See if a selector was specified + self.html( selector ? + + // Create a dummy div to hold the results + jQuery("
") + + // inject the contents of the document in, removing the scripts + // to avoid any 'Permission Denied' errors in IE + .append( responseText.replace( rscript, "" ) ) + + // Locate the specified elements + .find( selector ) : + + // If not, just inject the full result + responseText ); + + }); + + return this; +}; + +// Attach a bunch of functions for handling common AJAX events +jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){ + jQuery.fn[ o ] = function( f ){ + return this.on( o, f ); + }; +}); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + // shift arguments if data argument was omitted + if ( jQuery.isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + return jQuery.ajax({ + type: method, + url: url, + data: data, + success: callback, + dataType: type + }); + }; +}); + +jQuery.extend({ + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + if ( settings ) { + // Building a settings object + ajaxExtend( target, jQuery.ajaxSettings ); + } else { + // Extending ajaxSettings + settings = target; + target = jQuery.ajaxSettings; + } + ajaxExtend( target, settings ); + return target; + }, + + ajaxSettings: { + url: ajaxLocation, + isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), + global: true, + type: "GET", + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + processData: true, + async: true, + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + xml: "application/xml, text/xml", + html: "text/html", + text: "text/plain", + json: "application/json, text/javascript", + "*": allTypes + }, + + contents: { + xml: /xml/, + html: /html/, + json: /json/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText" + }, + + // List of data converters + // 1) key format is "source_type destination_type" (a single space in-between) + // 2) the catchall symbol "*" can be used for source_type + converters: { + + // Convert anything to text + "* text": window.String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": jQuery.parseJSON, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + context: true, + url: true + } + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var // ifModified key + ifModifiedKey, + // Response headers + responseHeadersString, + responseHeaders, + // transport + transport, + // timeout handle + timeoutTimer, + // Cross-domain detection vars + parts, + // To know if global events are to be dispatched + fireGlobals, + // Loop variable + i, + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + // Callbacks context + callbackContext = s.context || s, + // Context for global events + // It's the callbackContext if one was provided in the options + // and if it's a DOM node or a jQuery collection + globalEventContext = callbackContext !== s && + ( callbackContext.nodeType || callbackContext instanceof jQuery ) ? + jQuery( callbackContext ) : jQuery.event, + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + // Status-dependent callbacks + statusCode = s.statusCode || {}, + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + // The jqXHR state + state = 0, + // Default abort message + strAbort = "canceled", + // Fake xhr + jqXHR = { + + readyState: 0, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( !state ) { + var lname = name.toLowerCase(); + name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Raw string + getAllResponseHeaders: function() { + return state === 2 ? responseHeadersString : null; + }, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( state === 2 ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match === undefined ? null : match; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( !state ) { + s.mimeType = type; + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + statusText = statusText || strAbort; + if ( transport ) { + transport.abort( statusText ); + } + done( 0, statusText ); + return this; + } + }; + + // Callback for when everything is done + // It is defined here because jslint complains if it is declared + // at the end of the function (which would be more logical and readable) + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Called once + if ( state === 2 ) { + return; + } + + // State is "done" now + state = 2; + + // Clear timeout if it exists + if ( timeoutTimer ) { + clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // If successful, handle type chaining + if ( status >= 200 && status < 300 || status === 304 ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + + modified = jqXHR.getResponseHeader("Last-Modified"); + if ( modified ) { + jQuery.lastModified[ ifModifiedKey ] = modified; + } + modified = jqXHR.getResponseHeader("Etag"); + if ( modified ) { + jQuery.etag[ ifModifiedKey ] = modified; + } + } + + // If not modified + if ( status === 304 ) { + + statusText = "notmodified"; + isSuccess = true; + + // If we have data + } else { + + isSuccess = ajaxConvert( s, response ); + statusText = isSuccess.state; + success = isSuccess.data; + error = isSuccess.error; + isSuccess = !error; + } + } else { + // We extract error from statusText + // then normalize statusText and status for non-aborts + error = statusText; + if ( !statusText || status ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( "ajax" + ( isSuccess ? "Success" : "Error" ), + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + // Attach deferreds + deferred.promise( jqXHR ); + jqXHR.success = jqXHR.done; + jqXHR.error = jqXHR.fail; + jqXHR.complete = completeDeferred.add; + + // Status-dependent callbacks + jqXHR.statusCode = function( map ) { + if ( map ) { + var tmp; + if ( state < 2 ) { + for ( tmp in map ) { + statusCode[ tmp ] = [ statusCode[tmp], map[tmp] ]; + } + } else { + tmp = map[ jqXHR.status ]; + jqXHR.always( tmp ); + } + } + return this; + }; + + // Remove hash character (#7531: and string promotion) + // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) + // We also use the url parameter if available + s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); + + // Extract dataTypes list + s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().split( core_rspace ); + + // A cross-domain request is in order when we have a protocol:host:port mismatch + if ( s.crossDomain == null ) { + parts = rurl.exec( s.url.toLowerCase() ); + s.crossDomain = !!( parts && + ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || + ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) != + ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) ) + ); + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( state === 2 ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + fireGlobals = s.global; + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // If data is available, append data to url + if ( s.data ) { + s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.data; + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Get ifModifiedKey before adding the anti-cache parameter + ifModifiedKey = s.url; + + // Add anti-cache in url if needed + if ( s.cache === false ) { + + var ts = jQuery.now(), + // try replacing _= if it is there + ret = s.url.replace( rts, "$1_=" + ts ); + + // if nothing was replaced, add timestamp to the end + s.url = ret + ( ( ret === s.url ) ? ( rquery.test( s.url ) ? "&" : "?" ) + "_=" + ts : "" ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + ifModifiedKey = ifModifiedKey || s.url; + if ( jQuery.lastModified[ ifModifiedKey ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ ifModifiedKey ] ); + } + if ( jQuery.etag[ ifModifiedKey ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ ifModifiedKey ] ); + } + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? + s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { + // Abort if not done already and return + return jqXHR.abort(); + + } + + // aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + for ( i in { success: 1, error: 1, complete: 1 } ) { + jqXHR[ i ]( s[ i ] ); + } + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = setTimeout( function(){ + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + state = 1; + transport.send( requestHeaders, done ); + } catch (e) { + // Propagate exception as error if not done + if ( state < 2 ) { + done( -1, e ); + // Simply rethrow otherwise + } else { + throw e; + } + } + } + + return jqXHR; + }, + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {} + +}); + +/* Handles responses to an ajax request: + * - sets all responseXXX fields accordingly + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes, + responseFields = s.responseFields; + + // Fill responseXXX fields + for ( type in responseFields ) { + if ( type in responses ) { + jqXHR[ responseFields[type] ] = responses[ type ]; + } + } + + // Remove auto dataType and get content-type in the process + while( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "content-type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +// Chain conversions given the request and the original response +function ajaxConvert( s, response ) { + + var conv, conv2, current, tmp, + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(), + prev = dataTypes[ 0 ], + converters = {}, + i = 0; + + // Apply the dataFilter if provided + if ( s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + // Convert to each sequential dataType, tolerating list modification + for ( ; (current = dataTypes[++i]); ) { + + // There's only work to do if current dataType is non-auto + if ( current !== "*" ) { + + // Convert response if prev dataType is non-auto and differs from current + if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split(" "); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.splice( i--, 0, current ); + } + + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s["throws"] ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; + } + } + } + } + + // Update prev for next iteration + prev = current; + } + } + + return { state: "success", data: response }; +} +var oldCallbacks = [], + rquestion = /\?/, + rjsonp = /(=)\?(?=&|$)|\?\?/, + nonce = jQuery.now(); + +// Default jsonp settings +jQuery.ajaxSetup({ + jsonp: "callback", + jsonpCallback: function() { + var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); + this[ callback ] = true; + return callback; + } +}); + +// Detect, normalize options and install callbacks for jsonp requests +jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { + + var callbackName, overwritten, responseContainer, + data = s.data, + url = s.url, + hasCallback = s.jsonp !== false, + replaceInUrl = hasCallback && rjsonp.test( url ), + replaceInData = hasCallback && !replaceInUrl && typeof data === "string" && + !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && + rjsonp.test( data ); + + // Handle iff the expected data type is "jsonp" or we have a parameter to set + if ( s.dataTypes[ 0 ] === "jsonp" || replaceInUrl || replaceInData ) { + + // Get callback name, remembering preexisting value associated with it + callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? + s.jsonpCallback() : + s.jsonpCallback; + overwritten = window[ callbackName ]; + + // Insert callback into url or form data + if ( replaceInUrl ) { + s.url = url.replace( rjsonp, "$1" + callbackName ); + } else if ( replaceInData ) { + s.data = data.replace( rjsonp, "$1" + callbackName ); + } else if ( hasCallback ) { + s.url += ( rquestion.test( url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; + } + + // Use data converter to retrieve json after script execution + s.converters["script json"] = function() { + if ( !responseContainer ) { + jQuery.error( callbackName + " was not called" ); + } + return responseContainer[ 0 ]; + }; + + // force json dataType + s.dataTypes[ 0 ] = "json"; + + // Install callback + window[ callbackName ] = function() { + responseContainer = arguments; + }; + + // Clean-up function (fires after converters) + jqXHR.always(function() { + // Restore preexisting value + window[ callbackName ] = overwritten; + + // Save back as free + if ( s[ callbackName ] ) { + // make sure that re-using the options doesn't screw things around + s.jsonpCallback = originalSettings.jsonpCallback; + + // save the callback name for future use + oldCallbacks.push( callbackName ); + } + + // Call if it was a function and we have a response + if ( responseContainer && jQuery.isFunction( overwritten ) ) { + overwritten( responseContainer[ 0 ] ); + } + + responseContainer = overwritten = undefined; + }); + + // Delegate to script + return "script"; + } +}); +// Install script dataType +jQuery.ajaxSetup({ + accepts: { + script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /javascript|ecmascript/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +}); + +// Handle cache's special case and global +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + s.global = false; + } +}); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function(s) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + + var script, + head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement; + + return { + + send: function( _, callback ) { + + script = document.createElement( "script" ); + + script.async = "async"; + + if ( s.scriptCharset ) { + script.charset = s.scriptCharset; + } + + script.src = s.url; + + // Attach handlers for all browsers + script.onload = script.onreadystatechange = function( _, isAbort ) { + + if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { + + // Handle memory leak in IE + script.onload = script.onreadystatechange = null; + + // Remove the script + if ( head && script.parentNode ) { + head.removeChild( script ); + } + + // Dereference the script + script = undefined; + + // Callback if not abort + if ( !isAbort ) { + callback( 200, "success" ); + } + } + }; + // Use insertBefore instead of appendChild to circumvent an IE6 bug. + // This arises when a base node is used (#2709 and #4378). + head.insertBefore( script, head.firstChild ); + }, + + abort: function() { + if ( script ) { + script.onload( 0, 1 ); + } + } + }; + } +}); +var xhrCallbacks, + // #5280: Internet Explorer will keep connections alive if we don't abort on unload + xhrOnUnloadAbort = window.ActiveXObject ? function() { + // Abort all pending requests + for ( var key in xhrCallbacks ) { + xhrCallbacks[ key ]( 0, 1 ); + } + } : false, + xhrId = 0; + +// Functions to create xhrs +function createStandardXHR() { + try { + return new window.XMLHttpRequest(); + } catch( e ) {} +} + +function createActiveXHR() { + try { + return new window.ActiveXObject( "Microsoft.XMLHTTP" ); + } catch( e ) {} +} + +// Create the request object +// (This is still attached to ajaxSettings for backward compatibility) +jQuery.ajaxSettings.xhr = window.ActiveXObject ? + /* Microsoft failed to properly + * implement the XMLHttpRequest in IE7 (can't request local files), + * so we use the ActiveXObject when it is available + * Additionally XMLHttpRequest can be disabled in IE7/IE8 so + * we need a fallback. + */ + function() { + return !this.isLocal && createStandardXHR() || createActiveXHR(); + } : + // For all other browsers, use the standard XMLHttpRequest object + createStandardXHR; + +// Determine support properties +(function( xhr ) { + jQuery.extend( jQuery.support, { + ajax: !!xhr, + cors: !!xhr && ( "withCredentials" in xhr ) + }); +})( jQuery.ajaxSettings.xhr() ); + +// Create transport if the browser can provide an xhr +if ( jQuery.support.ajax ) { + + jQuery.ajaxTransport(function( s ) { + // Cross domain only allowed if supported through XMLHttpRequest + if ( !s.crossDomain || jQuery.support.cors ) { + + var callback; + + return { + send: function( headers, complete ) { + + // Get a new xhr + var handle, i, + xhr = s.xhr(); + + // Open the socket + // Passing null username, generates a login popup on Opera (#2865) + if ( s.username ) { + xhr.open( s.type, s.url, s.async, s.username, s.password ); + } else { + xhr.open( s.type, s.url, s.async ); + } + + // Apply custom fields if provided + if ( s.xhrFields ) { + for ( i in s.xhrFields ) { + xhr[ i ] = s.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( s.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( s.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !s.crossDomain && !headers["X-Requested-With"] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Need an extra try/catch for cross domain requests in Firefox 3 + try { + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + } catch( _ ) {} + + // Do send the request + // This may raise an exception which is actually + // handled in jQuery.ajax (so no try/catch here) + xhr.send( ( s.hasContent && s.data ) || null ); + + // Listener + callback = function( _, isAbort ) { + + var status, + statusText, + responseHeaders, + responses, + xml; + + // Firefox throws exceptions when accessing properties + // of an xhr when a network error occurred + // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) + try { + + // Was never called and is aborted or complete + if ( callback && ( isAbort || xhr.readyState === 4 ) ) { + + // Only called once + callback = undefined; + + // Do not keep as active anymore + if ( handle ) { + xhr.onreadystatechange = jQuery.noop; + if ( xhrOnUnloadAbort ) { + delete xhrCallbacks[ handle ]; + } + } + + // If it's an abort + if ( isAbort ) { + // Abort it manually if needed + if ( xhr.readyState !== 4 ) { + xhr.abort(); + } + } else { + status = xhr.status; + responseHeaders = xhr.getAllResponseHeaders(); + responses = {}; + xml = xhr.responseXML; + + // Construct response list + if ( xml && xml.documentElement /* #4958 */ ) { + responses.xml = xml; + } + + // When requesting binary data, IE6-9 will throw an exception + // on any attempt to access responseText (#11426) + try { + responses.text = xhr.responseText; + } catch( e ) { + } + + // Firefox throws an exception when accessing + // statusText for faulty cross-domain requests + try { + statusText = xhr.statusText; + } catch( e ) { + // We normalize with Webkit giving an empty statusText + statusText = ""; + } + + // Filter status for non standard behaviors + + // If the request is local and we have data: assume a success + // (success with no data won't get notified, that's the best we + // can do given current implementations) + if ( !status && s.isLocal && !s.crossDomain ) { + status = responses.text ? 200 : 404; + // IE - #1450: sometimes returns 1223 when it should be 204 + } else if ( status === 1223 ) { + status = 204; + } + } + } + } catch( firefoxAccessException ) { + if ( !isAbort ) { + complete( -1, firefoxAccessException ); + } + } + + // Call complete if needed + if ( responses ) { + complete( status, statusText, responses, responseHeaders ); + } + }; + + if ( !s.async ) { + // if we're in sync mode we fire the callback + callback(); + } else if ( xhr.readyState === 4 ) { + // (IE6 & IE7) if it's in cache and has been + // retrieved directly we need to fire the callback + setTimeout( callback, 0 ); + } else { + handle = ++xhrId; + if ( xhrOnUnloadAbort ) { + // Create the active xhrs callbacks list if needed + // and attach the unload handler + if ( !xhrCallbacks ) { + xhrCallbacks = {}; + jQuery( window ).unload( xhrOnUnloadAbort ); + } + // Add to list of active xhrs callbacks + xhrCallbacks[ handle ] = callback; + } + xhr.onreadystatechange = callback; + } + }, + + abort: function() { + if ( callback ) { + callback(0,1); + } + } + }; + } + }); +} +var fxNow, timerId, + rfxtypes = /^(?:toggle|show|hide)$/, + rfxnum = new RegExp( "^(?:([-+])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), + rrun = /queueHooks$/, + animationPrefilters = [ defaultPrefilter ], + tweeners = { + "*": [function( prop, value ) { + var end, unit, + tween = this.createTween( prop, value ), + parts = rfxnum.exec( value ), + target = tween.cur(), + start = +target || 0, + scale = 1, + maxIterations = 20; + + if ( parts ) { + end = +parts[2]; + unit = parts[3] || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + + // We need to compute starting value + if ( unit !== "px" && start ) { + // Iteratively approximate from a nonzero starting point + // Prefer the current property, because this process will be trivial if it uses the same units + // Fallback to end or a simple constant + start = jQuery.css( tween.elem, prop, true ) || end || 1; + + do { + // If previous iteration zeroed out, double until we get *something* + // Use a string for doubling factor so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + start = start / scale; + jQuery.style( tween.elem, prop, start + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // And breaking the loop if scale is unchanged or perfect, or if we've just had enough + } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); + } + + tween.unit = unit; + tween.start = start; + // If a +=/-= token was provided, we're doing a relative animation + tween.end = parts[1] ? start + ( parts[1] + 1 ) * end : end; + } + return tween; + }] + }; + +// Animations created synchronously will run synchronously +function createFxNow() { + setTimeout(function() { + fxNow = undefined; + }, 0 ); + return ( fxNow = jQuery.now() ); +} + +function createTweens( animation, props ) { + jQuery.each( props, function( prop, value ) { + var collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( collection[ index ].call( animation, prop, value ) ) { + + // we're done with this property + return; + } + } + }); +} + +function Animation( elem, properties, options ) { + var result, + index = 0, + tweenerIndex = 0, + length = animationPrefilters.length, + deferred = jQuery.Deferred().always( function() { + // don't match elem in the :animated selector + delete tick.elem; + }), + tick = function() { + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ]); + + if ( percent < 1 && length ) { + return remaining; + } else { + deferred.resolveWith( elem, [ animation ] ); + return false; + } + }, + animation = deferred.promise({ + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { specialEasing: {} }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end, easing ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + // if we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + + for ( ; index < length ; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // resolve when we played the last frame + // otherwise, reject + if ( gotoEnd ) { + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + }), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length ; index++ ) { + result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + return result; + } + } + + createTweens( animation, props ); + + if ( jQuery.isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + jQuery.fx.timer( + jQuery.extend( tick, { + anim: animation, + queue: animation.opts.queue, + elem: elem + }) + ); + + // attach callbacks from options + return animation.progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = jQuery.camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( jQuery.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // not quite $.extend, this wont overwrite keys already present. + // also - reusing 'index' from above because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweener: function( props, callback ) { + if ( jQuery.isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.split(" "); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length ; index++ ) { + prop = props[ index ]; + tweeners[ prop ] = tweeners[ prop ] || []; + tweeners[ prop ].unshift( callback ); + } + }, + + prefilter: function( callback, prepend ) { + if ( prepend ) { + animationPrefilters.unshift( callback ); + } else { + animationPrefilters.push( callback ); + } + } +}); + +function defaultPrefilter( elem, props, opts ) { + var index, prop, value, length, dataShow, toggle, tween, hooks, oldfire, + anim = this, + style = elem.style, + orig = {}, + handled = [], + hidden = elem.nodeType && isHidden( elem ); + + // handle queue: false promises + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always(function() { + // doing this makes sure that the complete handler will be called + // before this completes + anim.always(function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + }); + }); + } + + // height/width overflow pass + if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { + // Make sure that nothing sneaks out + // Record all 3 overflow attributes because IE does not + // change the overflow attribute when overflowX and + // overflowY are set to the same value + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Set display property to inline-block for height/width + // animations on inline elements that are having width/height animated + if ( jQuery.css( elem, "display" ) === "inline" && + jQuery.css( elem, "float" ) === "none" ) { + + // inline-level elements accept inline-block; + // block-level elements need to be inline with layout + if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { + style.display = "inline-block"; + + } else { + style.zoom = 1; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + if ( !jQuery.support.shrinkWrapBlocks ) { + anim.done(function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + }); + } + } + + + // show/hide pass + for ( index in props ) { + value = props[ index ]; + if ( rfxtypes.exec( value ) ) { + delete props[ index ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + continue; + } + handled.push( index ); + } + } + + length = handled.length; + if ( length ) { + dataShow = jQuery._data( elem, "fxshow" ) || jQuery._data( elem, "fxshow", {} ); + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + + // store state if its toggle - enables .stop().toggle() to "reverse" + if ( toggle ) { + dataShow.hidden = !hidden; + } + if ( hidden ) { + jQuery( elem ).show(); + } else { + anim.done(function() { + jQuery( elem ).hide(); + }); + } + anim.done(function() { + var prop; + jQuery.removeData( elem, "fxshow", true ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + }); + for ( index = 0 ; index < length ; index++ ) { + prop = handled[ index ]; + tween = anim.createTween( prop, hidden ? dataShow[ prop ] : 0 ); + orig[ prop ] = dataShow[ prop ] || jQuery.style( elem, prop ); + + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = tween.start; + if ( hidden ) { + tween.end = tween.start; + tween.start = prop === "width" || prop === "height" ? 1 : 0; + } + } + } + } +} + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || "swing"; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + if ( tween.elem[ tween.prop ] != null && + (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { + return tween.elem[ tween.prop ]; + } + + // passing any value as a 4th parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails + // so, simple values such as "10px" are parsed to Float. + // complex values such as "rotate(1rad)" are returned as is. + result = jQuery.css( tween.elem, tween.prop, false, "" ); + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + // use step hook for back compat - use cssHook if its there - use .style if its + // available and use plain properties where available + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Remove in 2.0 - this supports IE8's panic based approach +// to setting things on disconnected nodes + +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" || + // special check for .toggle( handler, handler, ... ) + ( !i && jQuery.isFunction( speed ) && jQuery.isFunction( easing ) ) ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +}); + +jQuery.fn.extend({ + fadeTo: function( speed, to, easing, callback ) { + + // show any hidden elements after setting opacity to 0 + return this.filter( isHidden ).css( "opacity", 0 ).show() + + // animate to the value specified + .end().animate({ opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations resolve immediately + if ( empty ) { + anim.stop( true ); + } + }; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each(function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = jQuery._data( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // start the next in the queue if the last step wasn't forced + // timers currently will call their complete callbacks, which will dequeue + // but only if they were gotoEnd + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + }); + } +}); + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + attrs = { height: type }, + i = 0; + + // if we include width, step value is 1 to do all cssExpand values, + // if we don't include width, step value is 2 to skip over Left and Right + includeWidth = includeWidth? 1 : 0; + for( ; i < 4 ; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +// Generate shortcuts for custom animations +jQuery.each({ + slideDown: genFx("show"), + slideUp: genFx("hide"), + slideToggle: genFx("toggle"), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +}); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + jQuery.isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing + }; + + opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : + opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; + + // normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( jQuery.isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p*Math.PI ) / 2; + } +}; + +jQuery.timers = []; +jQuery.fx = Tween.prototype.init; +jQuery.fx.tick = function() { + var timer, + timers = jQuery.timers, + i = 0; + + fxNow = jQuery.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + // Checks the timer has not already been removed + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + if ( timer() && jQuery.timers.push( timer ) && !timerId ) { + timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); + } +}; + +jQuery.fx.interval = 13; + +jQuery.fx.stop = function() { + clearInterval( timerId ); + timerId = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + // Default speed + _default: 400 +}; + +// Back Compat <1.8 extension point +jQuery.fx.step = {}; + +if ( jQuery.expr && jQuery.expr.filters ) { + jQuery.expr.filters.animated = function( elem ) { + return jQuery.grep(jQuery.timers, function( fn ) { + return elem === fn.elem; + }).length; + }; +} +var rroot = /^(?:body|html)$/i; + +jQuery.fn.offset = function( options ) { + if ( arguments.length ) { + return options === undefined ? + this : + this.each(function( i ) { + jQuery.offset.setOffset( this, options, i ); + }); + } + + var docElem, body, win, clientTop, clientLeft, scrollTop, scrollLeft, + box = { top: 0, left: 0 }, + elem = this[ 0 ], + doc = elem && elem.ownerDocument; + + if ( !doc ) { + return; + } + + if ( (body = doc.body) === elem ) { + return jQuery.offset.bodyOffset( elem ); + } + + docElem = doc.documentElement; + + // Make sure it's not a disconnected DOM node + if ( !jQuery.contains( docElem, elem ) ) { + return box; + } + + // If we don't have gBCR, just use 0,0 rather than error + // BlackBerry 5, iOS 3 (original iPhone) + if ( typeof elem.getBoundingClientRect !== "undefined" ) { + box = elem.getBoundingClientRect(); + } + win = getWindow( doc ); + clientTop = docElem.clientTop || body.clientTop || 0; + clientLeft = docElem.clientLeft || body.clientLeft || 0; + scrollTop = win.pageYOffset || docElem.scrollTop; + scrollLeft = win.pageXOffset || docElem.scrollLeft; + return { + top: box.top + scrollTop - clientTop, + left: box.left + scrollLeft - clientLeft + }; +}; + +jQuery.offset = { + + bodyOffset: function( body ) { + var top = body.offsetTop, + left = body.offsetLeft; + + if ( jQuery.support.doesNotIncludeMarginInBodyOffset ) { + top += parseFloat( jQuery.css(body, "marginTop") ) || 0; + left += parseFloat( jQuery.css(body, "marginLeft") ) || 0; + } + + return { top: top, left: left }; + }, + + setOffset: function( elem, options, i ) { + var position = jQuery.css( elem, "position" ); + + // set position first, in-case top/left are set even on static elem + if ( position === "static" ) { + elem.style.position = "relative"; + } + + var curElem = jQuery( elem ), + curOffset = curElem.offset(), + curCSSTop = jQuery.css( elem, "top" ), + curCSSLeft = jQuery.css( elem, "left" ), + calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, + props = {}, curPosition = {}, curTop, curLeft; + + // need to be able to calculate position if either top or left is auto and position is either absolute or fixed + if ( calculatePosition ) { + curPosition = curElem.position(); + curTop = curPosition.top; + curLeft = curPosition.left; + } else { + curTop = parseFloat( curCSSTop ) || 0; + curLeft = parseFloat( curCSSLeft ) || 0; + } + + if ( jQuery.isFunction( options ) ) { + options = options.call( elem, i, curOffset ); + } + + if ( options.top != null ) { + props.top = ( options.top - curOffset.top ) + curTop; + } + if ( options.left != null ) { + props.left = ( options.left - curOffset.left ) + curLeft; + } + + if ( "using" in options ) { + options.using.call( elem, props ); + } else { + curElem.css( props ); + } + } +}; + + +jQuery.fn.extend({ + + position: function() { + if ( !this[0] ) { + return; + } + + var elem = this[0], + + // Get *real* offsetParent + offsetParent = this.offsetParent(), + + // Get correct offsets + offset = this.offset(), + parentOffset = rroot.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset(); + + // Subtract element margins + // note: when an element has margin: auto the offsetLeft and marginLeft + // are the same in Safari causing offset.left to incorrectly be 0 + offset.top -= parseFloat( jQuery.css(elem, "marginTop") ) || 0; + offset.left -= parseFloat( jQuery.css(elem, "marginLeft") ) || 0; + + // Add offsetParent borders + parentOffset.top += parseFloat( jQuery.css(offsetParent[0], "borderTopWidth") ) || 0; + parentOffset.left += parseFloat( jQuery.css(offsetParent[0], "borderLeftWidth") ) || 0; + + // Subtract the two offsets + return { + top: offset.top - parentOffset.top, + left: offset.left - parentOffset.left + }; + }, + + offsetParent: function() { + return this.map(function() { + var offsetParent = this.offsetParent || document.body; + while ( offsetParent && (!rroot.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) { + offsetParent = offsetParent.offsetParent; + } + return offsetParent || document.body; + }); + } +}); + + +// Create scrollLeft and scrollTop methods +jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { + var top = /Y/.test( prop ); + + jQuery.fn[ method ] = function( val ) { + return jQuery.access( this, function( elem, method, val ) { + var win = getWindow( elem ); + + if ( val === undefined ) { + return win ? (prop in win) ? win[ prop ] : + win.document.documentElement[ method ] : + elem[ method ]; + } + + if ( win ) { + win.scrollTo( + !top ? val : jQuery( win ).scrollLeft(), + top ? val : jQuery( win ).scrollTop() + ); + + } else { + elem[ method ] = val; + } + }, method, val, arguments.length, null ); + }; +}); + +function getWindow( elem ) { + return jQuery.isWindow( elem ) ? + elem : + elem.nodeType === 9 ? + elem.defaultView || elem.parentWindow : + false; +} +// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods +jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { + jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { + // margin is only for outerHeight, outerWidth + jQuery.fn[ funcName ] = function( margin, value ) { + var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), + extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); + + return jQuery.access( this, function( elem, type, value ) { + var doc; + + if ( jQuery.isWindow( elem ) ) { + // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there + // isn't a whole lot we can do. See pull request at this URL for discussion: + // https://github.com/jquery/jquery/pull/764 + return elem.document.documentElement[ "client" + name ]; + } + + // Get document width or height + if ( elem.nodeType === 9 ) { + doc = elem.documentElement; + + // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest + // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. + return Math.max( + elem.body[ "scroll" + name ], doc[ "scroll" + name ], + elem.body[ "offset" + name ], doc[ "offset" + name ], + doc[ "client" + name ] + ); + } + + return value === undefined ? + // Get width or height on the element, requesting but not forcing parseFloat + jQuery.css( elem, type, value, extra ) : + + // Set width or height on the element + jQuery.style( elem, type, value, extra ); + }, type, chainable ? margin : undefined, chainable, null ); + }; + }); +}); +// Expose jQuery to the global object +window.jQuery = window.$ = jQuery; + +// Expose jQuery as an AMD module, but only for AMD loaders that +// understand the issues with loading multiple versions of jQuery +// in a page that all might call define(). The loader will indicate +// they have special allowances for multiple jQuery versions by +// specifying define.amd.jQuery = true. Register as a named module, +// since jQuery can be concatenated with other files that may use define, +// but not use a proper concatenation script that understands anonymous +// AMD modules. A named AMD is safest and most robust way to register. +// Lowercase jquery is used because AMD module names are derived from +// file names, and jQuery is normally delivered in a lowercase file name. +// Do this after creating the global so that if an AMD module wants to call +// noConflict to hide this version of jQuery, it will work. +if ( typeof define === "function" && define.amd && define.amd.jQuery ) { + define( "jquery", [], function () { return jQuery; } ); +} + +})( window ); diff --git a/v1/Betas/RGB_V2/main/main/i2c.ino b/v1/Betas/RGB_V2/main/main/i2c.ino new file mode 100644 index 0000000..23fa91c --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/i2c.ino @@ -0,0 +1,63 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +const uint8_t IMUAddress = 0x68; // AD0 is logic low on the PCB +const uint16_t I2C_TIMEOUT = 1000; // Used to check for errors in I2C communication + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t data, bool sendStop) { + return i2cWrite(registerAddress, &data, 1, sendStop); // Returns 0 on success +} + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t *data, uint8_t length, bool sendStop) { + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + Wire.write(data, length); + uint8_t rcode = Wire.endTransmission(sendStop); // Returns 0 on success + if (rcode) { + Serial.print(F("i2cWrite failed: ")); + Serial.println(rcode); + } + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission +} + +uint8_t i2cRead(uint8_t registerAddress, uint8_t *data, uint8_t nbytes) { + uint32_t timeOutTimer; + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + uint8_t rcode = Wire.endTransmission(false); // Don't release the bus + if (rcode) { + Serial.print(F("i2cRead failed: ")); + Serial.println(rcode); + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission + } + Wire.requestFrom(IMUAddress, nbytes, (uint8_t)true); // Send a repeated start and then release the bus after reading + for (uint8_t i = 0; i < nbytes; i++) { + if (Wire.available()) + data[i] = Wire.read(); + else { + timeOutTimer = micros(); + while (((micros() - timeOutTimer) < I2C_TIMEOUT) && !Wire.available()); + if (Wire.available()) + data[i] = Wire.read(); + else { + Serial.println(F("i2cRead timeout")); + return 5; // This error value is not already taken by endTransmission + } + } + } + return 0; // Success +} diff --git a/v1/Betas/RGB_V2/main/main/main.ino b/v1/Betas/RGB_V2/main/main/main.ino new file mode 100644 index 0000000..540691b --- /dev/null +++ b/v1/Betas/RGB_V2/main/main/main.ino @@ -0,0 +1,1321 @@ +/** + 自平衡莱洛三角形 RGB版 HW:Ver 2.0 FW:Ver 1.2.1 + 立创EDA https://oshwhub.com/muyan2020/zi-ping-heng-di-lai-luo-san-jiao_10-10-ban-ben_copy + RGB版本程序 https://gitee.com/muyan3000/RGBFOC 基于45°(https://gitee.com/coll45/foc/)程序修改 + arduino开发环境-灯哥开源FOChttps://gitee.com/ream_d/Deng-s-foc-controller,并安装Kalman。 + + FOC引脚32, 33, 25, 22 22为enable + AS5600霍尔传感器 SDA-23 SCL-5 MPU6050六轴传感器 SDA-19 SCL-18 + 本程序有两种平衡方式, FLAG_V为1时使用电压控制,为0时候速度控制。电压控制时LQR参数使用K1和K2,速度控制时LQR参数使用K3和K4 + 在wifi上位机窗口中输入:TA+角度,就可以修改平衡角度 + 比如让平衡角度为90度,则输入:TA90,并且会存入eeprom的位置0中 注:wifi发送命令不能过快,因为每次都会保存进eeprom + 在使用自己的电机时,请一定记得修改默认极对数,即 BLDCMotor(5) 中的值,设置为自己的极对数数字,磁铁数量/2 + 程序默认设置的供电电压为 12V,用其他电压供电请记得修改 voltage_power_supply , voltage_limit 变量中的值 + V1默认PID针对的电机是 GB2204 ,使用自己的电机需要修改PID参数,才能实现更好效果 + V2电机是2715 +*/ +#include +#include "Command.h" +#include +#include //引用以使用异步UDP +#include "Kalman.h" // Source: https://github.com/TKJElectronics/KalmanFilter +#include "EEPROM.h" + +#include +#include +#include +#include +#include "SPIFFS.h" +#include +#define timezone 8 + +#include +#define DATA_PIN 16 //RGB pin +#define LED_TYPE WS2812B +#define COLOR_ORDER GRB +#define NUM_LEDS 21 //LED数量 +int rgb_brightness = 25; //初始化亮度 +CRGB leds[NUM_LEDS]; + +unsigned long TenthSecondsSinceStart = 0; +void TenthSecondsSinceStartTask(); +void OnTenthSecond(); +void OnSecond(); +void StartWebServer(); + +#define ACTIVE_PIN 4 //状态灯 +#define BAT_VOLTAGE_SENSE_PIN 34 //电池电压检测ADC,如果旧版PCB无电压检测电路,则注释掉此行 +const double R1_VOLTAGE = 68000; //68K +const double R2_VOLTAGE = 10000; //10K +const double min_voltage = 9.5; //电池检测最低电压 +double bat_voltage; + +const int threshold_top = 20; //触摸顶部阈值 +const int threshold_bottom = 1; //触摸底部阈值,越接近数值越小 +const int threshold_count = 4; //触摸计数器有效值,通常会有意外的自动触发 + +int touchread[4] = {100, 100, 100, 100}; //初始化触摸读取值为100,无触摸 +int touchDetected[4] = {}; //通过touchdetected持续计数判断是否按键,防止无触碰触发 + +bool touch_touched[4] = {}; //单击判断 +int touch_touched_times[4] = {}; //单击次数,单击切换模式,双击 +int touch_touching_time[4] = {}; //持续触摸秒数,用于判断长按事件,长按关闭,长按开启,开启状态长按调光, +bool touch_STATE[4] = {1, 1, 1, 0}; // 定义按键触发对象状态变量初始值为true默认开启 T2 T3 T4 + +const char *username = "admin"; //web用户名 +const char *userpassword = "reuleaux123"; //web用户密码 +const char *ServerName = "ESP32-Reuleaux-RGB"; +char mac_tmp[6]; +const char *ssid = mac_tmp; +const char *password = "Reul12345678"; +char DateTimeStr[20] = "1970-01-01 00:00:00"; +char Debug_Log[255][255]; +uint32_t loop_time_begin = millis(); +int debug_times; +bool log_control = 0, debug_log_control = 0; + +WebServer ESP32Server(80); + +Kalman kalmanZ; +#define gyroZ_OFF -0.19 +/* ----IMU Data---- */ + +double accX, accY, accZ; +double gyroX, gyroY, gyroZ; +int16_t tempRaw; +bool stable = 0 , battery_low = 0; +uint32_t last_unstable_time; +uint32_t last_stable_time; + +double gyroZangle; // Angle calculate using the gyro only +double compAngleZ; // Calculated angle using a complementary filter +double kalAngleZ; // Calculated angle using a Kalman filter +float pendulum_angle; + +uint32_t timer; +uint8_t i2cData[14]; // Buffer for I2C data +/* ----FOC Data---- */ + +// driver instance +double acc2rotation(double x, double y); +float constrainAngle(float x); + +bool wifi_flag = 0; +AsyncUDP udp; //创建UDP对象 +unsigned int localUdpPort = 2333; //本地端口号 +void wifi_print(char * s, double num); + +MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C); +TwoWire I2Ctwo = TwoWire(1); +LowPassFilter lpf_throttle{0.00}; + +//倒立摇摆参数 +//3和4是速度控制稳定前和后 +float LQR_K3_1 = 10; //速度控制摇摆到平衡 +float LQR_K3_2 = 1.7; // +float LQR_K3_3 = 1.75; // + +float LQR_K4_1 = 2.4; //速度控制平衡态 +float LQR_K4_2 = 1.5; // +float LQR_K4_3 = 1.42; // + +//电机参数 +BLDCMotor motor = BLDCMotor(7); //电机极数 +BLDCDriver3PWM driver = BLDCDriver3PWM(32, 33, 25, 22); +float target_velocity = 0; //目标速度 +float target_angle = 89.3; //平衡角度 例如TA89.3 设置平衡角度89.3 +float target_voltage = 0; //目标电压 +float swing_up_voltage = 1.8; //摇摆电压 左右摇摆的电压,越大越快到平衡态,但是过大会翻过头 +float swing_up_angle = 20; //摇摆角度 离平衡角度还有几度时候,切换到自平衡控制 +float v_i_1 = 20; //非稳态速度环I +float v_p_1 = 0.5; //非稳态速度环P +float v_i_2 = 10; //稳态速度环I +float v_p_2 = 0.2; //稳态速度环P +//命令设置 +Command comm; +bool Motor_enable_flag = 0; +int test_flag = 0; +void do_TA(char* cmd) { + comm.scalar(&target_angle, cmd); + EEPROM.writeFloat(0, target_angle); +} +void do_SV(char* cmd) { + comm.scalar(&swing_up_voltage, cmd); + EEPROM.writeFloat(4, swing_up_voltage); +} +void do_SA(char* cmd) { + comm.scalar(&swing_up_angle, cmd); + EEPROM.writeFloat(8, swing_up_angle); +} + +void do_START(char* cmd) { + wifi_flag = !wifi_flag; +} +void do_MOTOR(char* cmd) +{ + if (Motor_enable_flag) + motor.enable(); + else + motor.disable(); + Motor_enable_flag = !Motor_enable_flag; +} + +void do_TVQ(char* cmd) +{ + if (test_flag == 1) + test_flag = 0; + else + test_flag = 1; +} +void do_TVV(char* cmd) +{ + if (test_flag == 2) + test_flag = 0; + else + test_flag = 2; +} +void do_VV(char* cmd) { + comm.scalar(&target_velocity, cmd); +} +void do_VQ(char* cmd) { + comm.scalar(&target_voltage, cmd); +} + +void do_vp1(char* cmd) { + comm.scalar(&v_p_1, cmd); + EEPROM.writeFloat(12, v_p_1); +} +void do_vi1(char* cmd) { + comm.scalar(&v_i_1, cmd); + EEPROM.writeFloat(16, v_i_1); +} +void do_vp2(char* cmd) { + comm.scalar(&v_p_2, cmd); + EEPROM.writeFloat(20, v_p_2); +} +void do_vi2(char* cmd) { + comm.scalar(&v_i_2, cmd); + EEPROM.writeFloat(24, v_i_2); +} +void do_tv(char* cmd) { + comm.scalar(&target_velocity, cmd); +} +void do_K31(char* cmd) { + comm.scalar(&LQR_K3_1, cmd); +} +void do_K32(char* cmd) { + comm.scalar(&LQR_K3_2, cmd); +} +void do_K33(char* cmd) { + comm.scalar(&LQR_K3_3, cmd); +} +void do_K41(char* cmd) { + comm.scalar(&LQR_K4_1, cmd); +} +void do_K42(char* cmd) { + comm.scalar(&LQR_K4_2, cmd); +} +void do_K43(char* cmd) { + comm.scalar(&LQR_K4_3, cmd); +} + +void Debug_Log_func(String debuglog, bool debug_control = debug_log_control) { + if (debug_control) { + uint32_t tmp_loop_time_begin = millis(); + sprintf(Debug_Log[debug_times], "%s\r\nBegin time:%d\tEnd time:%d\tProcessed in %d ms\tFreeHeap:%d\r\n%s", Debug_Log[debug_times], loop_time_begin, tmp_loop_time_begin, (tmp_loop_time_begin - loop_time_begin), ESP.getFreeHeap(), debuglog.c_str()); + loop_time_begin = tmp_loop_time_begin; + debug_times++; + } +} + +bool AutoWifiConfig() +{ + //wifi初始化 + WiFi.mode(WIFI_AP); + while (!WiFi.softAP(ssid, password)) {}; //启动AP + Serial.println("AP启动成功"); + Serial.println("Ready"); + Serial.print("IP address: "); + Serial.println(WiFi.softAPIP()); + byte mac[6]; + WiFi.macAddress(mac); + WiFi.setHostname(ServerName); + Serial.printf("macAddress 0x%02X:0x%02X:0x%02X:0x%02X:0x%02X:0x%02X\r\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); + + while (!udp.listen(localUdpPort)) //等待udp监听设置成功 + { + } + udp.onPacket(onPacketCallBack); //注册收到数据包事件 + + ArduinoOTA.setHostname(ServerName); + //以下是启动OTA,可以通过WiFi刷新固件 + ArduinoOTA.onStart([]() { + String type; + if (ArduinoOTA.getCommand() == U_FLASH) { + type = "sketch"; + } else { // U_SPIFFS + type = "filesystem"; + } + + // NOTE: if updating SPIFFS this would be the place to unmount SPIFFS using SPIFFS.end() + Serial.println("Start updating " + type); + }); + ArduinoOTA.onEnd([]() { + Serial.println("\nEnd"); + }); + ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { + Serial.printf("Progress: %u%%\r", (progress / (total / 100))); + }); + ArduinoOTA.onError([](ota_error_t error) { + Serial.printf("Error[%u]: ", error); + if (error == OTA_AUTH_ERROR) { + Serial.println("Auth Failed"); + } else if (error == OTA_BEGIN_ERROR) { + Serial.println("Begin Failed"); + } else if (error == OTA_CONNECT_ERROR) { + Serial.println("Connect Failed"); + } else if (error == OTA_RECEIVE_ERROR) { + Serial.println("Receive Failed"); + } else if (error == OTA_END_ERROR) { + Serial.println("End Failed"); + } + }); + ArduinoOTA.begin(); +} + +void onPacketCallBack(AsyncUDPPacket packet) +{ + char* da; + da = (char*)(packet.data()); + Serial.println(da); + comm.run(da); + EEPROM.commit(); + // packet.print("reply data"); +} +// instantiate the commander +void setup() { + Debug_Log_func("Before setup", 1); + Serial.begin(115200); + + pinMode(ACTIVE_PIN, OUTPUT); + digitalWrite(ACTIVE_PIN, HIGH); + + uint32_t chipId = 0; + for (int i = 0; i < 17; i = i + 8) { + chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i; + } + Serial.printf("Chip ID: %d\r\n", chipId); + + Serial.printf("ESP32 Chip ID = %04X", (uint16_t)(ESP.getEfuseMac() >> 32)); //print High 2 bytes + Serial.printf("%08X\r\n", (uint32_t)ESP.getEfuseMac()); //print Low 4bytes. + + Serial.printf("Chip model = %s Rev %d\r\n", ESP.getChipModel(), ESP.getChipRevision()); + Serial.printf("This chip has %d cores CpuFreqMHz = %u\r\n", ESP.getChipCores(), ESP.getCpuFreqMHz()); + Serial.printf("get Cycle Count = %u\r\n", ESP.getCycleCount()); + Serial.printf("SDK version:%s\r\n", ESP.getSdkVersion()); //获取IDF版本 + + //获取片内内存 Internal RAM + Serial.printf("Total heap size = %u\t", ESP.getHeapSize()); + Serial.printf("Available heap = %u\r\n", ESP.getFreeHeap()); + Serial.printf("Lowest level of free heap since boot = %u\r\n", ESP.getMinFreeHeap()); + Serial.printf("Largest block of heap that can be allocated at once = %u\r\n", ESP.getMaxAllocHeap()); + + //SPI RAM + Serial.printf("Total Psram size = %u\t", ESP.getPsramSize()); + Serial.printf("Available Psram = %u\r\n", ESP.getFreePsram()); + Serial.printf("Lowest level of free Psram since boot = %u\r\n", ESP.getMinFreePsram()); + Serial.printf("Largest block of Psram that can be allocated at once = %u\r\n", ESP.getMinFreePsram()); + + if (!EEPROM.begin(1000)) { + Serial.println("Failed to initialise EEPROM"); + Serial.println("Restarting..."); + delay(1000); + esp_restart(); + } + // eeprom 读取 + int k, j; + j = 0; + for (k = 0; k <= 24; k = k + 4) + { + float nan = EEPROM.readFloat(k); + if (isnan(nan)) + { + j = 1; + Serial.println("frist write"); + EEPROM.writeFloat(0, target_angle); delay(10); EEPROM.commit(); + EEPROM.writeFloat(4, swing_up_voltage); delay(10); EEPROM.commit(); + EEPROM.writeFloat(8, swing_up_angle); delay(10); EEPROM.commit(); + EEPROM.writeFloat(12, v_p_1); delay(10); EEPROM.commit(); + EEPROM.writeFloat(16, v_i_1); delay(10); EEPROM.commit(); + EEPROM.writeFloat(20, v_p_2); delay(10); EEPROM.commit(); + EEPROM.writeFloat(24, v_i_2); delay(10); EEPROM.commit(); + } + } + if (j == 0) + { + target_angle = EEPROM.readFloat(0); + swing_up_voltage = EEPROM.readFloat(4); + swing_up_angle = EEPROM.readFloat(8); + v_p_1 = EEPROM.readFloat(12); + v_i_1 = EEPROM.readFloat(16); + v_p_2 = EEPROM.readFloat(20); + v_i_2 = EEPROM.readFloat(24); + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + } + + //命令设置 + comm.add("TA", do_TA); + comm.add("START", do_START); + comm.add("MOTOR", do_MOTOR); + comm.add("SV", do_SV); + comm.add("SA", do_SA); + comm.add("TVQ", do_TVQ); + comm.add("TVV", do_TVV); + comm.add("VV", do_VV); + comm.add("VQ", do_VQ); + //速度环参数 + comm.add("VP1", do_vp1); + comm.add("VI1", do_vi1); + comm.add("VP2", do_vp2); + comm.add("VI2", do_vi2); + comm.add("TV", do_tv); + comm.add("K31", do_K31); + comm.add("K32", do_K32); + comm.add("K33", do_K33); + comm.add("K41", do_K41); + comm.add("K42", do_K42); + comm.add("K43", do_K43); + + // tell FastLED about the LED strip configuration + FastLED.addLeds(leds, NUM_LEDS) + .setCorrection(TypicalLEDStrip) + .setDither(rgb_brightness < 255); + // set master brightness control + FastLED.setBrightness(rgb_brightness); + + CRGB c_rgb[5]; + c_rgb[0] = CRGB::White; + c_rgb[2] = CRGB::Red; + c_rgb[1] = CRGB::Green; + c_rgb[3] = CRGB::Blue; + c_rgb[4] = CRGB::Purple; + + for ( int j = 0; j < 5; j++) { + for ( int i = 0; i < NUM_LEDS; i++) { + leds[i] = c_rgb[j]; + FastLED.show(); + delay(15); + } + delay(300); + } + + sprintf(mac_tmp, "%02X\r\n", (uint32_t)(ESP.getEfuseMac() >> (24) )); + sprintf(mac_tmp, "ESP32-%c%c%c%c%c%c", mac_tmp[4], mac_tmp[5], mac_tmp[2], mac_tmp[3], mac_tmp[0], mac_tmp[1] ); + + if ( touch_STATE[3] ) { + AutoWifiConfig(); + StartWebServer(); + } + + + // kalman mpu6050 init + Wire.begin(19, 18, 400000); // Set I2C frequency to 400kHz + i2cData[0] = 7; // Set the sample rate to 1000Hz - 8kHz/(7+1) = 1000Hz + i2cData[1] = 0x00; // Disable FSYNC and set 260 Hz Acc filtering, 256 Hz Gyro filtering, 8 KHz sampling + i2cData[2] = 0x00; // Set Gyro Full Scale Range to ±250deg/s + i2cData[3] = 0x00; // Set Accelerometer Full Scale Range to ±2g + while (i2cWrite(0x19, i2cData, 4, false)); // Write to all four registers at once + while (i2cWrite(0x6B, 0x01, true)); // PLL with X axis gyroscope reference and disable sleep mode + while (i2cRead(0x75, i2cData, 1)); + if (i2cData[0] != 0x68) + { // Read "WHO_AM_I" register + Serial.print(F("Error reading sensor")); + while (1); + } + + delay(100); // Wait for sensor to stabilize + + /* Set kalman and gyro starting angle */ + while (i2cRead(0x3B, i2cData, 6)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + double pitch = acc2rotation(accX, accY); + kalmanZ.setAngle(pitch); // Set starting angle + gyroZangle = pitch; + timer = micros(); + Serial.println("kalman mpu6050 init"); + + I2Ctwo.begin(23, 5, 400000); //SDA,SCL + sensor.init(&I2Ctwo); + + //连接motor对象与传感器对象 + motor.linkSensor(&sensor); + + //供电电压设置 [V] + driver.voltage_power_supply = 12; + driver.init(); + + //连接电机和driver对象 + motor.linkDriver(&driver); + + //FOC模型选择 + motor.foc_modulation = FOCModulationType::SpaceVectorPWM; + + //运动控制模式设置 + motor.controller = MotionControlType::velocity; + + //速度PI环设置 + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + + //最大电机限制电压 + motor.voltage_limit = 12; // [V]s + + //速度低通滤波时间常数 + motor.LPF_velocity.Tf = 0.02; + + // angle P controller + motor.P_angle.P = 20; + + //设置最大速度限制 + motor.velocity_limit = 180; // [rad/s] + + motor.useMonitoring(Serial); + + //初始化电机 + motor.init(); + + //初始化 FOC + motor.initFOC(); + + Serial.println(F("Motor ready.")); + Serial.println(F("Set the target velocity using serial terminal:")); + + + // 启动闪存文件系统 + if (SPIFFS.begin()) + { + Serial.println("SPIFFS Started."); + } + else + { + Serial.println("SPIFFS Failed to Start."); + } + + + Serial.print("System is ready \t Free Heap: "); + Serial.println(ESP.getFreeHeap()); + Serial.println("-----------------------------------------------"); + Serial.println(""); + + Debug_Log_func("setup", 1); +} + +char buf[255]; +long loop_count = 0; +double last_pitch; +void loop() { + Debug_Log_func("loop"); + if ( touch_STATE[3] ) { + ESP32Server.handleClient(); + //delay(1);//allow the cpu to switch to other tasks + ArduinoOTA.handle(); + } + motor.loopFOC(); + + while (i2cRead(0x3B, i2cData, 14)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + tempRaw = (int16_t)((i2cData[6] << 8) | i2cData[7]); + gyroX = (int16_t)((i2cData[8] << 8) | i2cData[9]); + gyroY = (int16_t)((i2cData[10] << 8) | i2cData[11]); + gyroZ = (int16_t)((i2cData[12] << 8) | i2cData[13]); + + double dt = (double)(micros() - timer) / 1000000; // Calculate delta time + timer = micros(); + + double pitch = acc2rotation(accX, accY); + //double pitch2 = atan(-accX / sqrt(accY * accY + accZ * accZ)) * RAD_TO_DEG; + double gyroZrate = gyroZ / 131.0; // Convert to deg/s + if (abs(pitch - last_pitch) > 100) { + //kalmanZ.setAngle(pitch); + } + + kalAngleZ = kalmanZ.getAngle(pitch, gyroZrate + gyroZ_OFF, dt); + last_pitch = pitch; + gyroZangle += (gyroZrate + gyroZ_OFF) * dt; // Calculate gyro angle without any filter + compAngleZ = 0.93 * (compAngleZ + (gyroZrate + gyroZ_OFF) * dt) + 0.07 * pitch; // Calculate the angle using a Complimentary filter + + // Reset the gyro angle when it has drifted too much + if (gyroZangle < -180 || gyroZangle > 180) + gyroZangle = kalAngleZ; + + pendulum_angle = constrainAngle(fmod(kalAngleZ, 120) - target_angle); //摆角计算 + + // pendulum_angle当前角度与期望角度差值,在差值大的时候进行摇摆,差值小的时候LQR控制电机保持平衡 + if (test_flag == 0) //正常控制 + { + if (abs(pendulum_angle) < swing_up_angle) // if angle small enough stabilize 0.5~30°,1.5~90° + { + target_velocity = controllerLQR(pendulum_angle, gyroZrate, motor.shaftVelocity()); + if (abs(target_velocity) > motor.velocity_limit) + target_velocity = _sign(target_velocity) * motor.velocity_limit; + + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + else // else do swing-up + { // sets swing_up_voltage to the motor in order to swing up + motor.controller = MotionControlType::torque; + target_voltage = -_sign(gyroZrate) * swing_up_voltage; + motor.move(target_voltage); + } + } + else if (test_flag == 1) + { + motor.controller = MotionControlType::torque; + motor.move(target_voltage); + } + else + { + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + + //串口输出数据部分,不需要的情况可以改为0 +#if 0 + + Serial.print(accX); Serial.print("\t"); + Serial.print(accY); Serial.print("\t"); + Serial.print(atan(accX / accY) / 1.570796 * 90); Serial.print("\t"); + Serial.print(pitch); Serial.print("\t"); + Serial.print(gyroZangle); Serial.print("\t"); + Serial.print(compAngleZ); Serial.print("\t"); + Serial.print(kalAngleZ); Serial.print("\t"); + + Serial.print(target_voltage); Serial.print("\t"); + // Serial.print(target_velocity);Serial.print("\t"); + Serial.print(motor.shaft_velocity); Serial.print("\t"); + Serial.print(target_angle); Serial.print("\t"); + Serial.print(pendulum_angle); Serial.print("\t"); + Serial.print(gyroZrate); Serial.print("\t"); + Serial.print("\r\n"); +#endif + // motor.move(target_velocity); + //可以使用该方法wifi发送udp信息 + if (wifi_flag) + { + digitalWrite(ACTIVE_PIN, LOW); + memset(buf, 0, strlen(buf)); + + wifi_print("v", motor.shaftVelocity()); + wifi_print("vq", motor.voltage.q); + wifi_print("p", pendulum_angle); + wifi_print("t", target_angle); + wifi_print("k", kalAngleZ); + wifi_print("g", gyroZrate); + wifi_print("BAT", driver.voltage_power_supply); + + udp.writeTo((const unsigned char*)buf, strlen(buf), IPAddress(192, 168, 4, 2), localUdpPort); //广播数据 + digitalWrite(ACTIVE_PIN, HIGH); + } + + //触摸感应处理 + touchAttach(1, T2); + touchAttach(2, T3); + touchAttach(3, T4); + + + //单击事件处理 + if (touch_touched[1]) { + //Serial.print("\nLight1 touched "); + //Serial.println(touch_touched_times[1]); + touch_touched[1] = false; + } + + if (touch_touched[2]) { + //Serial.print("\nLight2 touched "); + //Serial.println(touch_touched_times[2]); + + touch_touched[2] = false; + } + + if (touch_touched[3]) { + //Serial.print("\nLight2 touched "); + //Serial.println(touch_touched_times[2]); + + touch_touched[3] = false; + } + + //灯光及按键处理 + if ( touch_STATE[1] ) { + pride(); + addGlitter(15); + FastLED.show(); + } else { + FastLED.clearData(); + FastLED.show(); + } + + TenthSecondsSinceStartTask(); +} + +/* mpu6050加速度转换为角度 + acc2rotation(ax, ay) + acc2rotation(az, ay) */ +double acc2rotation(double x, double y) +{ + double tmp_kalAngleZ = (atan(x / y) / 1.570796 * 90); + if (y < 0) + { + return (tmp_kalAngleZ + 180); + } + else if (x < 0) + { + //将当前值与前值比较,当前差值大于100则认为异常 + if (!isnan(kalAngleZ) && (tmp_kalAngleZ + 360 - kalAngleZ) > 100) { + //Serial.print("X<0"); Serial.print("\t"); + //Serial.print(tmp_kalAngleZ); Serial.print("\t"); + //Serial.print(kalAngleZ); Serial.print("\t"); + //Serial.print("\r\n"); + if (tmp_kalAngleZ < 0 && kalAngleZ < 0) //按键右边角 + return tmp_kalAngleZ; + else //按键边异常处理 + return tmp_kalAngleZ; + } else + return (tmp_kalAngleZ + 360); + } + else + { + return tmp_kalAngleZ; + } +} + +// function constraining the angle in between -60~60 +float constrainAngle(float x) +{ + float a = 0; + if (x < 0) + { + a = 120 + x; + if (a < abs(x)) + return a; + } + return x; +} +// LQR stabilization controller functions +// calculating the voltage that needs to be set to the motor in order to stabilize the pendulum +float controllerLQR(float p_angle, float p_vel, float m_vel) +{ + // if angle controllable + // calculate the control law + // LQR controller u = k*x + // - k = [40, 7, 0.3] + // - k = [13.3, 21, 0.3] + // - x = [pendulum angle, pendulum velocity, motor velocity]' + + if (abs(p_angle) > 2.5) //摆角大于2.5则进入非稳态,记录非稳态时间 + { + last_unstable_time = millis(); + if (stable) //如果是稳态进入非稳态则调整为目标角度 + { + //target_angle = EEPROM.readFloat(0) - p_angle; + target_angle = EEPROM.readFloat(0); + stable = 0; + } + } + if ((millis() - last_unstable_time) > 1000 && !stable) //非稳态进入稳态超过500ms检测,更新目标角为目标角+摆角,假设进入稳态 + { + //target_angle -= _sign(target_velocity) * 0.4; + target_angle = target_angle+p_angle; + stable = 1; + } + + if ((millis() - last_stable_time) > 2500 && stable) { //稳态超过2000ms检测,更新目标角 + if (abs(target_velocity) > 3 && abs(target_velocity) < 10) { //稳态速度偏大校正 + last_stable_time = millis(); + target_angle -= _sign(target_velocity) * 0.2; + } + } + + //Serial.println(stable); + float u; + + if (!stable) //非稳态计算 + { + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + u = LQR_K3_1 * p_angle + LQR_K3_2 * p_vel + LQR_K3_3 * m_vel; + } + else + { + motor.PID_velocity.P = v_p_2; + motor.PID_velocity.I = v_i_2; + u = LQR_K4_1 * p_angle + LQR_K4_2 * p_vel + LQR_K4_3 * m_vel; + } + + return u; +} +void wifi_print(char * s, double num) +{ + char str[255]; + char n[255]; + sprintf(n, "%.2f", num); + strcpy(str, s); + strcat(str, n); + strcat(buf + strlen(buf), str); + strcat(buf, ",\0"); +} + + +unsigned long LastMillis = 0; +void TenthSecondsSinceStartTask() //100ms +{ + unsigned long CurrentMillis = millis(); + if (abs(int(CurrentMillis - LastMillis)) > 100) + { + LastMillis = CurrentMillis; + TenthSecondsSinceStart++; + OnTenthSecond(); + } +} + +void OnSecond() +{ + time_t now = time(nullptr); //获取当前时间 + + //转换成年月日的数字,可以更加自由的显示。 + struct tm* timenow; + timenow = localtime(&now); + unsigned char tempHour = timenow->tm_hour; + unsigned char tempMinute = timenow->tm_min; + unsigned char tempSecond = timenow->tm_sec; + unsigned char tempDay = timenow->tm_mday; + unsigned char tempMonth = timenow->tm_mon + 1; + unsigned int tempYear = timenow->tm_year + 1900; + unsigned char tempWeek = timenow->tm_wday; + + + //生成 年月日时分秒 字符串。 + sprintf(DateTimeStr, "%d-%02d-%02d %02d:%02d:%02d" + , tempYear + , tempMonth + , tempDay + , tempHour + , tempMinute + , tempSecond + ); + + //Serial.println(DateTimeStr); + +#if defined(BAT_VOLTAGE_SENSE_PIN) //电池电压检测 + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + //driver.voltage_power_supply = bat_voltage; + //Serial.println(driver.voltage_power_supply); + if (bat_voltage < min_voltage && !battery_low) + { + battery_low = 1; + Serial.print(driver.voltage_power_supply); + Serial.println("V "); + Serial.print(bat_voltage); + Serial.println("V battery_low!!"); + while (battery_low) + { + FastLED.clearData(); + FastLED.show(); + //motor.loopFOC(); + //motor.move(0); + motor.disable(); + + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + if (bat_voltage >= (min_voltage + 0.5)) { + Serial.print(driver.voltage_power_supply); + Serial.println("V"); + Serial.print(bat_voltage); + Serial.println("V battery ok"); + digitalWrite(ACTIVE_PIN, 0); //电池电压恢复则常亮,需reset重启 + //battery_low = 0; + } else { //电池电压低闪灯 + if (millis() % 500 < 250) + digitalWrite(ACTIVE_PIN, 0); + else + digitalWrite(ACTIVE_PIN, 1); + } + } + } +#endif + + for (byte i = 0; i < 4; i++) { + if (touchDetected[i] > 0) { //检测到触摸中,一秒计数一次,未触摸则清零 + touch_touching_time[i]++; + //长按事件处理 + if (touch_touching_time[i] % 2 == 0) { //按住大于2秒 + switch (i) { + case 0: + + break; + case 1: + touch_STATE[i] = !touch_STATE[i]; //灯光状态反处理 + Serial.println("LIGHTS_ON/OFF"); + break; + case 3: + digitalWrite(ACTIVE_PIN, 1); + delay(500); + if(touch_STATE[i]==1){ + ESP32Server.close();//关闭网络服务 + WiFi.disconnect(); + WiFi.mode(WIFI_OFF); + Serial.println("WIFI_OFF"); + }else{ + AutoWifiConfig(); + StartWebServer(); + Serial.println("WIFI_ON"); + } + touch_STATE[i] = !touch_STATE[i]; //状态反处理 + + break; + } + } + } + } +} + +void OnTenthSecond() // 100ms 十分之一秒 +{ + + if (TenthSecondsSinceStart % 3 == 0) //0.3S刷新 + { + if ( touch_touching_time[2] > 1) { //按键2长按大于1秒处理调光 + if ( touch_touched_times[2] == 0 || touch_touched_times[2] % 2 == 0 ) { //第0,2,4,6..次按加亮度,1,3,5...则减 + rgb_brightness = rgb_brightness + 5; + } else { + rgb_brightness = rgb_brightness - 5; + } + //Serial.println(rgb_brightness); + FastLED.setBrightness(rgb_brightness); + } + + } + + if (TenthSecondsSinceStart % 10 == 0) //10次为1秒 + { + OnSecond(); + } +} + +String TimeString(int TimeMillis) { + char stringTime[10]; + int sec = TimeMillis; + int min = sec / 60; + int hr = min / 60; + + sprintf(stringTime, "%02d:%02d:%02d", + hr, min % 60, sec % 60 + ); + return stringTime; +} + +String ProcessUpdate() //页面更新 +{ + //自动生成一串用“,”隔开的字符串。 + //HTML脚本会按照“, ”分割,形成一个字符串数组。 + //并把这个数组填个表格的相应部分。 + String ReturnString; + ReturnString = DateTimeStr; + + ReturnString += ","; + ReturnString += TimeString(millis() / 1000); + + ReturnString += ","; + ReturnString += log_control; + ReturnString += ","; + ReturnString += debug_log_control; + ReturnString += ","; + ReturnString += test_flag; + ReturnString += ","; + ReturnString += EEPROM.readFloat(0); + ReturnString += ","; + ReturnString += swing_up_voltage; + ReturnString += ","; + ReturnString += swing_up_angle; + ReturnString += ","; + ReturnString += v_i_1; + ReturnString += ","; + ReturnString += v_p_1; + ReturnString += ","; + ReturnString += v_i_2; + ReturnString += ","; + ReturnString += v_p_2; + ReturnString += ","; + ReturnString += bat_voltage; + + if (log_control) { + ReturnString += ","; + ReturnString += motor.shaftVelocity(); + ReturnString += ","; + ReturnString += motor.voltage.q; + ReturnString += ","; + ReturnString += target_velocity; + ReturnString += ","; + ReturnString += pendulum_angle; + ReturnString += ","; + ReturnString += target_angle; + ReturnString += ","; + ReturnString += last_pitch; + ReturnString += ","; + ReturnString += kalAngleZ; + ReturnString += ","; + ReturnString += gyroZangle; + } else { + ReturnString += "0,0,0,0,0,0,0,0,0"; + } + + ReturnString += ","; + if (debug_log_control) { + Debug_Log_func("debug print begin", 1); + int i = 0; + while (strlen(Debug_Log[debug_times - 1]) != 0) { + ReturnString += Debug_Log[i]; + memset( Debug_Log[i], 0, strlen(Debug_Log[i]) ); + i++; + } + debug_times = 0; + Debug_Log_func("debug print end", 1); + } + + //Serial.println(ReturnString); + return ReturnString; +} + +/* + DeviceType =0 + DeviceType =1 + + OPERATION_ON 0,3,6,9 + OPERATION_OFF 1,4,7,10 + OPERATION_ON_OFF 2,5,8,11 +*/ +void PocessControl(int DeviceType, int DeviceIndex, int Operation, float Operation2) +{ + String ReturnString; + char do_commd[20]; + int SysIndex = 6; + + if (DeviceType == 0) //系统操作:开关灯,调节亮度,重启 + { + if (DeviceIndex == 0) + { + if (Operation % SysIndex == 0) + { + touch_STATE[1] = true; + ReturnString += "开灯 亮度 "; + ReturnString += String(rgb_brightness); + } + else if (Operation % SysIndex == 3) //操作off + { + touch_STATE[1] = false; + ReturnString += "关灯"; + } + else if (Operation % SysIndex == 1) //操作+ + { + rgb_brightness = (rgb_brightness + 5) % 260; + FastLED.setBrightness(rgb_brightness); + ReturnString += "亮度增加至 "; + ReturnString += String(rgb_brightness); + if (!touch_STATE[1]) + ReturnString += " 【灯光已关闭】"; + } + else if (Operation % SysIndex == 2) //操作- + { + if (rgb_brightness == 0) + rgb_brightness = 255; + else + rgb_brightness = rgb_brightness - 5; + FastLED.setBrightness(rgb_brightness); + ReturnString += "亮度降低至 "; + ReturnString += String(rgb_brightness); + if (!touch_STATE[1]) + ReturnString += " 【灯光已关闭】"; + } + else if (Operation % SysIndex == 4) + { + ReturnString += "系统重启,请等待重新连接"; + ESP32Server.send(200, "text/plain", ReturnString); + printf("Reboot..."); + esp_restart(); + } + } else if (DeviceIndex == 5) { //参数记录输出控制 + if (Operation % SysIndex == 0) + log_control = 0; + else if (Operation % SysIndex == 1) + log_control = 1; + } else if (DeviceIndex == 6) { //DEBUG输出控制 + if (Operation % SysIndex == 0) { + debug_log_control = 0; + } else if (Operation % SysIndex == 1) { + Debug_Log_func("DEBUG OUT", 1); + debug_log_control = 1; + } + } + } + + if (DeviceType == 1) //调参 + { + if (Operation == 0) + { + sprintf(do_commd, "%.2f", Operation2); + //Serial.println(do_commd); + switch (DeviceIndex) { + case 0: //期望角度TA + do_TA(do_commd); + break; + case 1: //摇摆电压SV + do_SV(do_commd); + break; + case 2: //摇摆角度SA + do_SA(do_commd); + break; + case 3: //速度环P1 + do_vp1(do_commd); + break; + case 4: //速度环I1 + do_vi1(do_commd); + break; + case 5: //速度环P2 + do_vp2(do_commd); + break; + case 6: //速度环I2 + do_vi2(do_commd); + break; + case 7: //do_VQ + do_VQ(do_commd); + break; + case 8: //do_VV + do_VV(do_commd); + break; + case 77: //TVQ + do_TVQ(do_commd); + if (test_flag == 1) + ReturnString += "打开电机电压测试"; + else + ReturnString += "关闭电机电压测试"; + break; + case 88: //TVV + do_TVV(do_commd); + if (test_flag == 2) + ReturnString += "打开电机速度测试"; + else + ReturnString += "关闭电机速度测试"; + break; + case 99: //电机启停 + do_MOTOR(do_commd); + if (!Motor_enable_flag) + ReturnString += "电机启动..."; + else + ReturnString += "电机停机..."; + break; + } + EEPROM.commit(); + } + } + ESP32Server.send(200, "text/plain", ReturnString); +} + + +bool handleFileRead(String path) { //处理主页访问 + String contentType = "text/html"; + + if (SPIFFS.exists(path)) { // 如果访问的文件可以在SPIFFS中找到 + File file = SPIFFS.open(path, "r"); // 则尝试打开该文件 + ESP32Server.streamFile(file, contentType); // 并且将该文件返回给浏览器 + file.close(); // 并且关闭文件 + return true; // 返回true + } + return false; // 如果文件未找到,则返回false +} + +void handleNotFound() +{ + // 获取用户请求网址信息 + String webAddress = ESP32Server.uri(); + int AutheTimes = 0; + + if (!ESP32Server.authenticate(username, userpassword)) //校验用户是否登录 + { + if (AutheTimes == 3) { + ESP32Server.send(404, "text/plain", "Bye"); + } else { + AutheTimes++; + return ESP32Server.requestAuthentication(); //请求进行用户登录认证 + } + } + + //打印出请求 + if (webAddress != "/update") + { + printf("%s\n", webAddress.c_str()); + } + + //如果是主页请求,则发送FLASH中的index.html文件 + if (webAddress.endsWith("/")) { // 如果访问地址以"/"为结尾 + webAddress = "/index.html"; // 则将访问地址修改为/index.html便于SPIFFS访问 + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("jquery.js")) { + webAddress = "/jquery.js"; + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("highcharts.js")) { + webAddress = "/highcharts.js"; + + // 通过handleFileRead函数处处理用户访问 + handleFileRead(webAddress); + } + else if (webAddress.endsWith("update")) + { + ESP32Server.send(200, "text/plain", ProcessUpdate()); + } + else if (webAddress.startsWith("/Control")) + { + if (ESP32Server.args() == 3) + { + int DeviceType = ESP32Server.arg(0).toInt(); + int DeviceIndex = ESP32Server.arg(1).toInt(); + int Operation = ESP32Server.arg(2).toInt(); + float Operation2 = ESP32Server.arg(2).toFloat(); + if (DeviceType == 1) { + Operation = 0; + } + + printf("DeviceType:%d DeviceIndex:%d Operation:%d Operation2:%.2f\n", DeviceType, DeviceIndex, Operation, Operation2 ); + + PocessControl(DeviceType, DeviceIndex, Operation, Operation2); + } + else + { + ESP32Server.send(404, "text/plain", "404 Not Found"); + } + } + else + { + ESP32Server.send(404, "text/plain", "404 Not Found"); + } +} + +void StartWebServer() +{ + ESP32Server.begin(); + ESP32Server.onNotFound(handleNotFound);//将所有请求导向自己处理的代码 +} + + +// This function draws rainbows with an ever-changing, +// widely-varying set of parameters. +void pride() +{ + static uint16_t sPseudotime = 0; + static uint16_t sLastMillis = 0; + static uint16_t sHue16 = 0; + + uint8_t sat8 = beatsin88( 87, 220, 250); + uint8_t brightdepth = beatsin88( 341, 96, 224); + uint16_t brightnessthetainc16 = beatsin88( 203, (25 * 256), (40 * 256)); + uint8_t msmultiplier = beatsin88(147, 23, 60); + + uint16_t hue16 = sHue16;//gHue * 256; + uint16_t hueinc16 = beatsin88(113, 1, 3000); + + uint16_t ms = millis(); + uint16_t deltams = ms - sLastMillis ; + sLastMillis = ms; + sPseudotime += deltams * msmultiplier; + sHue16 += deltams * beatsin88( 400, 5, 9); + uint16_t brightnesstheta16 = sPseudotime; + + for ( uint16_t i = 0 ; i < NUM_LEDS; i++) { + hue16 += hueinc16; + uint8_t hue8 = hue16 / 256; + + brightnesstheta16 += brightnessthetainc16; + uint16_t b16 = sin16( brightnesstheta16 ) + 32768; + + uint16_t bri16 = (uint32_t)((uint32_t)b16 * (uint32_t)b16) / 65536; + uint8_t bri8 = (uint32_t)(((uint32_t)bri16) * brightdepth) / 65536; + bri8 += (255 - brightdepth); + + CRGB newcolor = CHSV( hue8, sat8, bri8); + + uint16_t pixelnumber = i; + pixelnumber = (NUM_LEDS - 1) - pixelnumber; + + nblend( leds[pixelnumber], newcolor, 64); + } +} + +void addGlitter( fract8 chanceOfGlitter) +{ + if ( random8() < chanceOfGlitter) { + leds[ random16(NUM_LEDS) ] += CRGB::White; + } +} + +double return_voltage_value(int pin_no) +{ + double tmp; + double ADCVoltage; + double inputVoltage; + analogSetPinAttenuation(pin_no, ADC_6db); + + for (int i = 0; i < 20; i++) + { + ADCVoltage = analogReadMilliVolts(pin_no) / 1000.0; + inputVoltage = (ADCVoltage * R1_VOLTAGE) / R2_VOLTAGE; + + tmp = tmp + inputVoltage + ADCVoltage; // formula for calculating voltage in i.e. GND + } + inputVoltage = tmp / 20; + if(inputVoltage!=0) + inputVoltage = inputVoltage + 0.001; +/* + + for (int i = 0; i < 20; i++) + { + tmp = tmp + analogRead(pin_no); + } + tmp = tmp / 20; + + ADCVoltage = ((tmp * 3.3) / 4095.0) + 0.165; + inputVoltage = ADCVoltage / (R2_VOLTAGE / (R1_VOLTAGE + R2_VOLTAGE)); // formula for calculating voltage in i.e. GND +*/ + + return inputVoltage; +} + +//触摸感应处理 +void touchAttach(int touchID, uint8_t touchPin) { + touchread[touchID] = touchRead(touchPin); + if ( touchread[touchID] <= threshold_top && touchread[touchID] > threshold_bottom ) { //达到触发值的计数 + //delay(38); // 0.038秒 + touchDetected[touchID]++; //持续触摸计数 + if ( (touchDetected[touchID] >= threshold_count) && digitalRead(ACTIVE_PIN) == HIGH ) { //达到触发值的,灯不亮则亮灯 + digitalWrite(ACTIVE_PIN, LOW); + } + } else if (touchread[touchID] > threshold_top) { //无触摸处理 + if ( digitalRead(ACTIVE_PIN) == LOW ) { //灭触摸灯 + digitalWrite(ACTIVE_PIN, HIGH); + } + if ( touchDetected[touchID] >= threshold_count ) { //检测无触摸之前的有效计数,触摸过则标记 + touch_touched[touchID] = true; + touch_touched_times[touchID]++; //触摸计数+1 + } + touch_touching_time[touchID] = 0; //持续触摸时间清零 + touchDetected[touchID] = 0; //持续触摸计数清零 + } +} diff --git a/v1/Betas/readme.md b/v1/Betas/readme.md new file mode 100644 index 0000000..7ec4820 --- /dev/null +++ b/v1/Betas/readme.md @@ -0,0 +1,99 @@ +# RGB自平衡莱洛三角形 + +#### 介绍 + +本版本是慕炎RGB版本程序 基于45°([https://gitee.com/coll45/foc/](https://gitee.com/coll45/foc/))程序修改 + +本版本虽然能在原版本pcb上运行,但完整功能需要对应的硬件支持才能获得 + + **硬件要点** + +电机连接线线序按原插头顺序安装 + +动量轮的重量,建议安装所有孔位螺丝及螺母 + +磁铁的磁性为径向,而不是正反两面为NS + +AS5600与磁铁的距离 0.3-3mm之内 + +可通过TTL观察simplefoc初始化时的状态提示判断,如果为PP Check:fail则需要检查磁铁及安装情况 + + +【硬件基于45°工程文件修改的RGB版本】 + +[https://oshwhub.com/muyan2020/zi-ping-heng-di-lai-luo-san-jiao_10-10-ban-ben_copy](https://oshwhub.com/muyan2020/zi-ping-heng-di-lai-luo-san-jiao_10-10-ban-ben_copy) + + +1、去掉ch340和自动下载电路更换为rx tx插针,使用时不要连接3.3v插针,烧录前按住boot不放,再按一下reset,然后放掉所有键(如果打开串口监视发现数据乱码,把rx和tx线对换) + +2、TPS54331更改为5V输出供电给RGB灯,5V输入到ams1117-3.3 + +3、预留2个触摸区和增加esp32状态灯,KEY3触摸开关灯,KEY4长按调光 + +4、无线充电功能(无线充电底座) + + +#### 软件架构 + +1、OTA + +2、RGB灯控制程序 + +3、触摸控制程序 + +4、基于webserver的基础调参功能 + + +#### webserver安装教程 + +webserver需要使用【ESP32 SPIFFS】文件上传 + +ESP32 SPIFFS文件上传方法 + +下载插件复制到C:\Program Files (x86)\Arduino\tools\ESP32FS\tool + +重启Arduino即可 + +arduino-esp32fs-plugin + +https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/tag/1.0 + +使用时在arduino界面点“工具”-“ESP32 Sketch Data Upload” + +#### 使用说明 + +Key3长按为开关RGB灯光 + +key4长按为增加亮度,放手后再次触摸为降低亮度 + +web页面调参 + +通过浏览器访问:[http://192.168.4.1](http://192.168.4.1),用户名:admin 密码:reuleaux123(可通过修改代码修改) + + +#### 更新说明 + +### 20211229 + + +1、增加OTA升级,第一次烧完固件后,再也不需要串口线了 + +2、增加webserver,通过手机浏览器访问192.168.4.1,直接可以进行数据查看和调参(调参功能还没做) + + +### 20220221 + +增加V2版本,电机是2715,对应极数7 + +V2版本的第三个按键,设定为wifi开关,按住2秒,ACT灯由亮转暗则设定完成 + + +### 20220223 + +V1目录改为V1.5 为 GB2204 RGB版本 + +V1.5 V2修正摇摆无法平衡的问题 + +V2 默认不开启wifi,平衡后电流在50ma左右,开启wifi在100ma左右 + + diff --git a/v1/main/Command.cpp b/v1/main/Command.cpp new file mode 100644 index 0000000..9c54a6b --- /dev/null +++ b/v1/main/Command.cpp @@ -0,0 +1,28 @@ +#include "Command.h" + +void Command::run(char* str){ + for(int i=0; i < call_count; i++){ + if(isSentinel(call_ids[i],str)){ // case : call_ids = "T2" str = "T215.15" + call_list[i](str+strlen(call_ids[i])); // get 15.15 input function + break; + } + } +} +void Command::add(char* id, CommandCallback onCommand){ + call_list[call_count] = onCommand; + call_ids[call_count] = id; + call_count++; +} +void Command::scalar(float* value, char* user_cmd){ + *value = atof(user_cmd); +} +bool Command::isSentinel(char* ch,char* str) +{ + char s[strlen(ch)+1]; + strncpy(s,str,strlen(ch)); + s[strlen(ch)] = '\0'; //strncpy need add end '\0' + if(strcmp(ch, s) == 0) + return true; + else + return false; +} diff --git a/v1/main/Command.h b/v1/main/Command.h new file mode 100644 index 0000000..20e2fe5 --- /dev/null +++ b/v1/main/Command.h @@ -0,0 +1,17 @@ +#include +// callback function pointer definiton +typedef void (* CommandCallback)(char*); //!< command callback function pointer +class Command +{ + public: + void add(char* id , CommandCallback onCommand); + void run(char* str); + void scalar(float* value, char* user_cmd); + bool isSentinel(char* ch,char* str); + private: + // Subscribed command callback variables + CommandCallback call_list[20];//!< array of command callback pointers - 20 is an arbitrary number + char* call_ids[20]; //!< added callback commands + int call_count;//!< number callbacks that are subscribed + +}; diff --git a/v1/main/Kalman.cpp b/v1/main/Kalman.cpp new file mode 100644 index 0000000..80c7dec --- /dev/null +++ b/v1/main/Kalman.cpp @@ -0,0 +1,93 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#include "Kalman.h" + +Kalman::Kalman() { + /* We will set the variables like so, these can also be tuned by the user */ + Q_angle = 0.001f; + Q_bias = 0.003f; + R_measure = 0.03f; + + angle = 0.0f; // Reset the angle + bias = 0.0f; // Reset bias + + P[0][0] = 0.0f; // Since we assume that the bias is 0 and we know the starting angle (use setAngle), the error covariance matrix is set like so - see: http://en.wikipedia.org/wiki/Kalman_filter#Example_application.2C_technical + P[0][1] = 0.0f; + P[1][0] = 0.0f; + P[1][1] = 0.0f; +}; + +// The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds +float Kalman::getAngle(float newAngle, float newRate, float dt) { + // KasBot V2 - Kalman filter module - http://www.x-firm.com/?page_id=145 + // Modified by Kristian Lauszus + // See my blog post for more information: http://blog.tkjelectronics.dk/2012/09/a-practical-approach-to-kalman-filter-and-how-to-implement-it + + // Discrete Kalman filter time update equations - Time Update ("Predict") + // Update xhat - Project the state ahead + /* Step 1 */ + rate = newRate - bias; + angle += dt * rate; + + // Update estimation error covariance - Project the error covariance ahead + /* Step 2 */ + P[0][0] += dt * (dt*P[1][1] - P[0][1] - P[1][0] + Q_angle); + P[0][1] -= dt * P[1][1]; + P[1][0] -= dt * P[1][1]; + P[1][1] += Q_bias * dt; + + // Discrete Kalman filter measurement update equations - Measurement Update ("Correct") + // Calculate Kalman gain - Compute the Kalman gain + /* Step 4 */ + float S = P[0][0] + R_measure; // Estimate error + /* Step 5 */ + float K[2]; // Kalman gain - This is a 2x1 vector + K[0] = P[0][0] / S; + K[1] = P[1][0] / S; + + // Calculate angle and bias - Update estimate with measurement zk (newAngle) + /* Step 3 */ + float y = newAngle - angle; // Angle difference + /* Step 6 */ + angle += K[0] * y; + bias += K[1] * y; + + // Calculate estimation error covariance - Update the error covariance + /* Step 7 */ + float P00_temp = P[0][0]; + float P01_temp = P[0][1]; + + P[0][0] -= K[0] * P00_temp; + P[0][1] -= K[0] * P01_temp; + P[1][0] -= K[1] * P00_temp; + P[1][1] -= K[1] * P01_temp; + + return angle; +}; + +void Kalman::setAngle(float angle) { this->angle = angle; }; // Used to set angle, this should be set as the starting angle +float Kalman::getRate() { return this->rate; }; // Return the unbiased rate + +/* These are used to tune the Kalman filter */ +void Kalman::setQangle(float Q_angle) { this->Q_angle = Q_angle; }; +void Kalman::setQbias(float Q_bias) { this->Q_bias = Q_bias; }; +void Kalman::setRmeasure(float R_measure) { this->R_measure = R_measure; }; + +float Kalman::getQangle() { return this->Q_angle; }; +float Kalman::getQbias() { return this->Q_bias; }; +float Kalman::getRmeasure() { return this->R_measure; }; diff --git a/v1/main/Kalman.h b/v1/main/Kalman.h new file mode 100644 index 0000000..7de545f --- /dev/null +++ b/v1/main/Kalman.h @@ -0,0 +1,59 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#ifndef _Kalman_h_ +#define _Kalman_h_ + +class Kalman { +public: + Kalman(); + + // The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds + float getAngle(float newAngle, float newRate, float dt); + + void setAngle(float angle); // Used to set angle, this should be set as the starting angle + float getRate(); // Return the unbiased rate + + /* These are used to tune the Kalman filter */ + void setQangle(float Q_angle); + /** + * setQbias(float Q_bias) + * Default value (0.003f) is in Kalman.cpp. + * Raise this to follow input more closely, + * lower this to smooth result of kalman filter. + */ + void setQbias(float Q_bias); + void setRmeasure(float R_measure); + + float getQangle(); + float getQbias(); + float getRmeasure(); + +private: + /* Kalman filter variables */ + float Q_angle; // Process noise variance for the accelerometer + float Q_bias; // Process noise variance for the gyro bias + float R_measure; // Measurement noise variance - this is actually the variance of the measurement noise + + float angle; // The angle calculated by the Kalman filter - part of the 2x1 state vector + float bias; // The gyro bias calculated by the Kalman filter - part of the 2x1 state vector + float rate; // Unbiased rate calculated from the rate and the calculated bias - you have to call getAngle to update the rate + + float P[2][2]; // Error covariance matrix - This is a 2x2 matrix +}; + +#endif diff --git a/v1/main/i2c.ino b/v1/main/i2c.ino new file mode 100644 index 0000000..23fa91c --- /dev/null +++ b/v1/main/i2c.ino @@ -0,0 +1,63 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +const uint8_t IMUAddress = 0x68; // AD0 is logic low on the PCB +const uint16_t I2C_TIMEOUT = 1000; // Used to check for errors in I2C communication + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t data, bool sendStop) { + return i2cWrite(registerAddress, &data, 1, sendStop); // Returns 0 on success +} + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t *data, uint8_t length, bool sendStop) { + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + Wire.write(data, length); + uint8_t rcode = Wire.endTransmission(sendStop); // Returns 0 on success + if (rcode) { + Serial.print(F("i2cWrite failed: ")); + Serial.println(rcode); + } + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission +} + +uint8_t i2cRead(uint8_t registerAddress, uint8_t *data, uint8_t nbytes) { + uint32_t timeOutTimer; + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + uint8_t rcode = Wire.endTransmission(false); // Don't release the bus + if (rcode) { + Serial.print(F("i2cRead failed: ")); + Serial.println(rcode); + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission + } + Wire.requestFrom(IMUAddress, nbytes, (uint8_t)true); // Send a repeated start and then release the bus after reading + for (uint8_t i = 0; i < nbytes; i++) { + if (Wire.available()) + data[i] = Wire.read(); + else { + timeOutTimer = micros(); + while (((micros() - timeOutTimer) < I2C_TIMEOUT) && !Wire.available()); + if (Wire.available()) + data[i] = Wire.read(); + else { + Serial.println(F("i2cRead timeout")); + return 5; // This error value is not already taken by endTransmission + } + } + } + return 0; // Success +} diff --git a/v1/main/main.ino b/v1/main/main.ino new file mode 100644 index 0000000..dba01e7 --- /dev/null +++ b/v1/main/main.ino @@ -0,0 +1,465 @@ + /** +arduino开发环境-灯哥开源FOChttps://gitee.com/ream_d/Deng-s-foc-controller,并安装Kalman。 +FOC引脚32, 33, 25, 22 22为enable +AS5600霍尔传感器 SDA-23 SCL-5 MPU6050六轴传感器 SDA-19 SCL-18 +本程序有两种平衡方式, FLAG_V为1时使用电压控制,为0时候速度控制。电压控制时LQR参数使用K1和K2,速度控制时LQR参数使用K3和K4 +在wifi上位机窗口中输入:TA+角度,就可以修改平衡角度 +比如让平衡角度为90度,则输入:TA90,并且会存入eeprom的位置0中 注:wifi发送命令不能过快,因为每次都会保存进eeprom +在使用自己的电机时,请一定记得修改默认极对数,即 BLDCMotor(5) 中的值,设置为自己的极对数数字,磁铁数量/2 +程序默认设置的供电电压为 12V,用其他电压供电请记得修改 voltage_power_supply , voltage_limit 变量中的值 +默认PID针对的电机是 GB2204 ,使用自己的电机需要修改PID参数,才能实现更好效果 + */ +#include +#include "Command.h" +#include +#include //引用以使用异步UDP +#include "Kalman.h" // Source: https://github.com/TKJElectronics/KalmanFilter +#include "EEPROM.h" +Kalman kalmanZ; +#define gyroZ_OFF -0.19 +/* ----IMU Data---- */ + +double accX, accY, accZ; +double gyroX, gyroY, gyroZ; +int16_t tempRaw; +bool stable = 0; +uint32_t last_unstable_time; + +double gyroZangle; // Angle calculate using the gyro only +double compAngleZ; // Calculated angle using a complementary filter +double kalAngleZ; // Calculated angle using a Kalman filter + +uint32_t timer; +uint8_t i2cData[14]; // Buffer for I2C data +/* ----FOC Data---- */ + +// driver instance +double acc2rotation(double x, double y); +float constrainAngle(float x); +const char *ssid = "esp32"; +const char *password = "12345678"; + +bool wifi_flag = 0; +AsyncUDP udp; //创建UDP对象 +unsigned int localUdpPort = 2333; //本地端口号 +void wifi_print(char * s,double num); + +MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C); +TwoWire I2Ctwo = TwoWire(1); +LowPassFilter lpf_throttle{0.00}; + +//倒立摆参数 +float LQR_K3_1 = 10; //摇摆到平衡 +float LQR_K3_2 = 1.7; // +float LQR_K3_3 = 1.75; // + +float LQR_K4_1 = 2.4; //摇摆到平衡 +float LQR_K4_2 = 1.5; // +float LQR_K4_3 = 1.42; // + +//电机参数 +BLDCMotor motor = BLDCMotor(5); +BLDCDriver3PWM driver = BLDCDriver3PWM(32, 33, 25, 22); +float target_velocity = 0; +float target_angle = 89.3; +float target_voltage = 0; +float swing_up_voltage = 1.8; +float swing_up_angle = 20; +float v_i_1 = 20; +float v_p_1 = 0.5; +float v_i_2 = 10; +float v_p_2 = 0.2; +//命令设置 +Command comm; +bool Motor_enable_flag = 0; +int test_flag = 0; +void do_TA(char* cmd) { comm.scalar(&target_angle, cmd);EEPROM.writeFloat(0, target_angle); } +void do_SV(char* cmd) { comm.scalar(&swing_up_voltage, cmd); EEPROM.writeFloat(4, swing_up_voltage); } +void do_SA(char* cmd) { comm.scalar(&swing_up_angle, cmd);EEPROM.writeFloat(8, swing_up_angle); } +void do_START(char* cmd) { wifi_flag = !wifi_flag; } +void do_MOTOR(char* cmd) +{ + if(Motor_enable_flag) + motor.enable(); + else + motor.disable(); + Motor_enable_flag = !Motor_enable_flag; +} +void do_TVQ(char* cmd) +{ + if(test_flag == 1) + test_flag = 0; + else + test_flag = 1; +} +void do_TVV(char* cmd) +{ + if(test_flag == 2) + test_flag = 0; + else + test_flag = 2; +} +void do_VV(char* cmd) { comm.scalar(&target_velocity, cmd); } +void do_VQ(char* cmd) { comm.scalar(&target_voltage, cmd); } +void do_vp1(char* cmd) { comm.scalar(&v_p_1, cmd); EEPROM.writeFloat(12, v_p_1);} +void do_vi1(char* cmd) { comm.scalar(&v_i_1, cmd);EEPROM.writeFloat(16, v_i_1); } +void do_vp2(char* cmd) { comm.scalar(&v_p_2, cmd); EEPROM.writeFloat(20, v_p_2);} +void do_vi2(char* cmd) { comm.scalar(&v_i_2, cmd);EEPROM.writeFloat(24, v_i_2); } +void do_tv(char* cmd) { comm.scalar(&target_velocity, cmd); } +void do_K31(char* cmd) { comm.scalar(&LQR_K3_1, cmd); } +void do_K32(char* cmd) { comm.scalar(&LQR_K3_2, cmd); } +void do_K33(char* cmd) { comm.scalar(&LQR_K3_3, cmd); } +void do_K41(char* cmd) { comm.scalar(&LQR_K4_1, cmd); } +void do_K42(char* cmd) { comm.scalar(&LQR_K4_2, cmd); } +void do_K43(char* cmd) { comm.scalar(&LQR_K4_3, cmd); } + +void onPacketCallBack(AsyncUDPPacket packet) +{ + char* da; + da= (char*)(packet.data()); + Serial.println(da); + comm.run(da); + EEPROM.commit(); +// packet.print("reply data"); +} +// instantiate the commander +void setup() { + Serial.begin(115200); + if (!EEPROM.begin(1000)) { + Serial.println("Failed to initialise EEPROM"); + Serial.println("Restarting..."); + delay(1000); + ESP.restart(); + } +// eeprom 读取 +int k,j; +j = 0; +for(k=0;k<=24;k=k+4) +{ + float nan = EEPROM.readFloat(k); + if(isnan(nan)) + { + j = 1; + Serial.println("frist write"); + EEPROM.writeFloat(0, target_angle); delay(10);EEPROM.commit(); + EEPROM.writeFloat(4, swing_up_voltage); delay(10);EEPROM.commit(); + EEPROM.writeFloat(8, swing_up_angle); delay(10);EEPROM.commit(); + EEPROM.writeFloat(12, v_p_1); delay(10);EEPROM.commit(); + EEPROM.writeFloat(16, v_i_1); delay(10);EEPROM.commit(); + EEPROM.writeFloat(20, v_p_2); delay(10);EEPROM.commit(); + EEPROM.writeFloat(24, v_i_2); delay(10);EEPROM.commit(); + } +} +if(j == 0) +{ + target_angle = EEPROM.readFloat(0); + swing_up_voltage = EEPROM.readFloat(4); + swing_up_angle = EEPROM.readFloat(8); + v_p_1 = EEPROM.readFloat(12); + v_i_1 = EEPROM.readFloat(16); + v_p_2 = EEPROM.readFloat(20); + v_i_2 = EEPROM.readFloat(24); + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; +} + //命令设置 + comm.add("TA",do_TA); + comm.add("START",do_START); + comm.add("MOTOR",do_MOTOR); + comm.add("SV",do_SV); + comm.add("SA",do_SA); + comm.add("TVQ",do_TVQ); + comm.add("TVV",do_TVV); + comm.add("VV",do_VV); + comm.add("VQ",do_VQ); +//速度环参数 + comm.add("VP1",do_vp1); + comm.add("VI1",do_vi1); + comm.add("VP2",do_vp2); + comm.add("VI2",do_vi2); + comm.add("TV",do_tv); + comm.add("K31",do_K31); + comm.add("K32",do_K32); + comm.add("K33",do_K33); + comm.add("K41",do_K41); + comm.add("K42",do_K42); + comm.add("K43",do_K43); + + // kalman mpu6050 init + Wire.begin(19, 18,400000);// Set I2C frequency to 400kHz + i2cData[0] = 7; // Set the sample rate to 1000Hz - 8kHz/(7+1) = 1000Hz + i2cData[1] = 0x00; // Disable FSYNC and set 260 Hz Acc filtering, 256 Hz Gyro filtering, 8 KHz sampling + i2cData[2] = 0x00; // Set Gyro Full Scale Range to ±250deg/s + i2cData[3] = 0x00; // Set Accelerometer Full Scale Range to ±2g + while (i2cWrite(0x19, i2cData, 4, false)) + ; // Write to all four registers at once + while (i2cWrite(0x6B, 0x01, true)) + ; // PLL with X axis gyroscope reference and disable sleep mode + while (i2cRead(0x75, i2cData, 1)) + ; + if (i2cData[0] != 0x68) + { // Read "WHO_AM_I" register + Serial.print(F("Error reading sensor")); + while (1) + ; + } + delay(100); // Wait for sensor to stabilize + /* Set kalman and gyro starting angle */ + while (i2cRead(0x3B, i2cData, 6)) + ; + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + double pitch = acc2rotation(accX, accY); + kalmanZ.setAngle(pitch); + gyroZangle = pitch; + timer = micros(); + Serial.println("kalman mpu6050 init"); + + //wifi初始化 + WiFi.mode(WIFI_AP); + while(!WiFi.softAP(ssid, password)){}; //启动AP + Serial.println("AP启动成功"); + while (!udp.listen(localUdpPort)) //等待udp监听设置成功 + { + } + udp.onPacket(onPacketCallBack); //注册收到数据包事件 + + I2Ctwo.begin(23, 5, 400000); //SDA,SCL + sensor.init(&I2Ctwo); + + //连接motor对象与传感器对象 + motor.linkSensor(&sensor); + + //供电电压设置 [V] + driver.voltage_power_supply = 12; + driver.init(); + + //连接电机和driver对象 + motor.linkDriver(&driver); + + //FOC模型选择 + motor.foc_modulation = FOCModulationType::SpaceVectorPWM; + + //运动控制模式设置 + motor.controller = MotionControlType::velocity; + //速度PI环设置 + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + + //最大电机限制电机 + motor.voltage_limit = 12; + + //速度低通滤波时间常数 + motor.LPF_velocity.Tf = 0.02; + + //设置最大速度限制 + motor.velocity_limit = 40; + + motor.useMonitoring(Serial); + + //初始化电机 + motor.init(); + + //初始化 FOC + motor.initFOC(); + + Serial.println(F("Motor ready.")); + Serial.println(F("Set the target velocity using serial terminal:")); + +} +char buf[255]; +long loop_count = 0; +double last_pitch; +void loop() { + motor.loopFOC(); + if (1) + { +// loop_count++ == 10 +// loop_count = 0; + while (i2cRead(0x3B, i2cData, 14)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + tempRaw = (int16_t)((i2cData[6] << 8) | i2cData[7]); + gyroX = (int16_t)((i2cData[8] << 8) | i2cData[9]); + gyroY = (int16_t)((i2cData[10] << 8) | i2cData[11]); + gyroZ = (int16_t)((i2cData[12] << 8) | i2cData[13]); + + double dt = (double)(micros() - timer) / 1000000; // Calculate delta time + timer = micros(); + + double pitch = acc2rotation(accX, accY); + double gyroZrate = gyroZ / 131.0; // Convert to deg/s + if(abs(pitch-last_pitch)>100) + kalmanZ.setAngle(pitch); + + kalAngleZ = kalmanZ.getAngle(pitch, gyroZrate + gyroZ_OFF, dt); + last_pitch = pitch; + gyroZangle += (gyroZrate + gyroZ_OFF) * dt; + compAngleZ = 0.93 * (compAngleZ + (gyroZrate + gyroZ_OFF) * dt) + 0.07 * pitch; + + // Reset the gyro angle when it has drifted too much + if (gyroZangle < -180 || gyroZangle > 180) + gyroZangle = kalAngleZ; + + float pendulum_angle = constrainAngle(fmod(kalAngleZ,120)-target_angle); + +// pendulum_angle当前角度与期望角度差值,在差值大的时候进行摇摆,差值小的时候LQR控制电机保持平衡 +if(test_flag == 0)//正常控制 +{ + if (abs(pendulum_angle) < swing_up_angle) // if angle small enough stabilize 0.5~30°,1.5~90° + { + target_velocity = controllerLQR(pendulum_angle, gyroZrate, motor.shaft_velocity); + if (abs(target_velocity) > 140) + target_velocity = _sign(target_velocity) * 140; + + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + else // else do swing-up + { // sets swing_up_voltage to the motor in order to swing up + motor.controller = MotionControlType::torque; + target_voltage = -_sign(gyroZrate) * swing_up_voltage; + motor.move(target_voltage); + } +} +else if(test_flag == 1) +{ + motor.controller = MotionControlType::torque; + motor.move(target_voltage); +} +else +{ + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); +} +//串口输出数据部分,不需要的情况可以改为0 +#if 1 + +Serial.print(pitch);Serial.print("\t"); +Serial.print(kalAngleZ);Serial.print("\t"); + Serial.print(target_voltage);Serial.print("\t"); + Serial.print(motor.shaft_velocity);Serial.print("\t"); + Serial.print(motor.voltage.q);Serial.print("\t"); + Serial.print(target_angle);Serial.print("\t"); + Serial.print(pendulum_angle);Serial.print("\t"); + Serial.print(gyroZrate);Serial.print("\t"); + Serial.print("\r\n"); +#endif + //可以使用该方法wifi发送udp信息 +if(wifi_flag) +{ + memset(buf, 0, strlen(buf)); + + wifi_print("v", motor.shaft_velocity); + wifi_print("vq",motor.voltage.q); + wifi_print("p",pendulum_angle); + wifi_print("t",target_angle); + wifi_print("k",kalAngleZ); + wifi_print("g",gyroZrate); + + udp.writeTo((const unsigned char*)buf, strlen(buf), IPAddress(192,168,4,2), localUdpPort); //广播数据 + } +} +} +/* mpu6050加速度转换为角度 + acc2rotation(ax, ay) + acc2rotation(az, ay) */ +double acc2rotation(double x, double y) +{ + double tmp_kalAngleZ = (atan(x / y) / 1.570796 * 90); + if (y < 0) + { + return (tmp_kalAngleZ + 180); + } + else if (x < 0) + { + //将当前值与前值比较,当前差值大于100则认为异常 + if (!isnan(kalAngleZ) && (tmp_kalAngleZ + 360 - kalAngleZ) > 100) { + //Serial.print("X<0"); Serial.print("\t"); + //Serial.print(tmp_kalAngleZ); Serial.print("\t"); + //Serial.print(kalAngleZ); Serial.print("\t"); + //Serial.print("\r\n"); + if (tmp_kalAngleZ < 0 && kalAngleZ < 0) //按键右边角 + return tmp_kalAngleZ; + else //按键边异常处理 + return tmp_kalAngleZ; + } else + return (tmp_kalAngleZ + 360); + } + else + { + return tmp_kalAngleZ; + } +} + +// function constraining the angle in between -60~60 +float constrainAngle(float x) +{ + float a = 0; + if(x < 0) + { + a = 120+x; + if(a 5) //摆角大于5则进入非稳态,记录非稳态时间 + { + last_unstable_time = millis(); + if (stable) //如果是稳态进入非稳态则调整为目标角度 + { + //target_angle = EEPROM.readFloat(0) - p_angle; + target_angle = EEPROM.readFloat(0); + stable = 0; + } + } + if ((millis() - last_unstable_time) > 1000 && !stable) //非稳态进入稳态超过500ms检测,更新目标角为目标角+摆角,假设进入稳态 + { + //target_angle -= _sign(target_velocity) * 0.4; + target_angle = target_angle+p_angle; + stable = 1; + } + + if ((millis() - last_stable_time) > 2500 && stable) { //稳态超过2000ms检测,更新目标角 + if (abs(target_velocity) > 5 ) { //稳态速度偏大校正 + last_stable_time = millis(); + target_angle -= _sign(target_velocity) * 0.2; + } + } + + //Serial.println(stable); + float u; + + if (!stable) //非稳态计算 + { + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + u = LQR_K3_1 * p_angle + LQR_K3_2 * p_vel + LQR_K3_3 * m_vel; + } + else + { + motor.PID_velocity.P = v_p_2; + motor.PID_velocity.I = v_i_2; + u = LQR_K4_1 * p_angle + LQR_K4_2 * p_vel + LQR_K4_3 * m_vel; + } + + return u; +} +void wifi_print(char * s,double num) +{ + char str[255]; + char n[255]; + sprintf(n, "%.2f",num); + strcpy(str,s); + strcat(str, n); + strcat(buf+strlen(buf), str); + strcat(buf, ",\0"); + +} diff --git a/v1/pcb推荐焊接顺序,建议初学者用电烙铁焊.png b/v1/pcb推荐焊接顺序,建议初学者用电烙铁焊.png new file mode 100644 index 0000000..1d1c31d Binary files /dev/null and b/v1/pcb推荐焊接顺序,建议初学者用电烙铁焊.png differ diff --git a/v1/物料清单.xlsx b/v1/物料清单.xlsx new file mode 100644 index 0000000..efa2bce Binary files /dev/null and b/v1/物料清单.xlsx differ diff --git a/v2/BOM_SMT购买专用_莱洛三角V2.csv b/v2/BOM_SMT购买专用_莱洛三角V2.csv new file mode 100644 index 0000000..ea491b9 Binary files /dev/null and b/v2/BOM_SMT购买专用_莱洛三角V2.csv differ diff --git a/v2/BOM_莱洛三角V2.csv b/v2/BOM_莱洛三角V2.csv new file mode 100644 index 0000000..8eb46c6 Binary files /dev/null and b/v2/BOM_莱洛三角V2.csv differ diff --git a/v2/main/Command.cpp b/v2/main/Command.cpp new file mode 100644 index 0000000..9c54a6b --- /dev/null +++ b/v2/main/Command.cpp @@ -0,0 +1,28 @@ +#include "Command.h" + +void Command::run(char* str){ + for(int i=0; i < call_count; i++){ + if(isSentinel(call_ids[i],str)){ // case : call_ids = "T2" str = "T215.15" + call_list[i](str+strlen(call_ids[i])); // get 15.15 input function + break; + } + } +} +void Command::add(char* id, CommandCallback onCommand){ + call_list[call_count] = onCommand; + call_ids[call_count] = id; + call_count++; +} +void Command::scalar(float* value, char* user_cmd){ + *value = atof(user_cmd); +} +bool Command::isSentinel(char* ch,char* str) +{ + char s[strlen(ch)+1]; + strncpy(s,str,strlen(ch)); + s[strlen(ch)] = '\0'; //strncpy need add end '\0' + if(strcmp(ch, s) == 0) + return true; + else + return false; +} diff --git a/v2/main/Command.h b/v2/main/Command.h new file mode 100644 index 0000000..20e2fe5 --- /dev/null +++ b/v2/main/Command.h @@ -0,0 +1,17 @@ +#include +// callback function pointer definiton +typedef void (* CommandCallback)(char*); //!< command callback function pointer +class Command +{ + public: + void add(char* id , CommandCallback onCommand); + void run(char* str); + void scalar(float* value, char* user_cmd); + bool isSentinel(char* ch,char* str); + private: + // Subscribed command callback variables + CommandCallback call_list[20];//!< array of command callback pointers - 20 is an arbitrary number + char* call_ids[20]; //!< added callback commands + int call_count;//!< number callbacks that are subscribed + +}; diff --git a/v2/main/Kalman.cpp b/v2/main/Kalman.cpp new file mode 100644 index 0000000..80c7dec --- /dev/null +++ b/v2/main/Kalman.cpp @@ -0,0 +1,93 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#include "Kalman.h" + +Kalman::Kalman() { + /* We will set the variables like so, these can also be tuned by the user */ + Q_angle = 0.001f; + Q_bias = 0.003f; + R_measure = 0.03f; + + angle = 0.0f; // Reset the angle + bias = 0.0f; // Reset bias + + P[0][0] = 0.0f; // Since we assume that the bias is 0 and we know the starting angle (use setAngle), the error covariance matrix is set like so - see: http://en.wikipedia.org/wiki/Kalman_filter#Example_application.2C_technical + P[0][1] = 0.0f; + P[1][0] = 0.0f; + P[1][1] = 0.0f; +}; + +// The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds +float Kalman::getAngle(float newAngle, float newRate, float dt) { + // KasBot V2 - Kalman filter module - http://www.x-firm.com/?page_id=145 + // Modified by Kristian Lauszus + // See my blog post for more information: http://blog.tkjelectronics.dk/2012/09/a-practical-approach-to-kalman-filter-and-how-to-implement-it + + // Discrete Kalman filter time update equations - Time Update ("Predict") + // Update xhat - Project the state ahead + /* Step 1 */ + rate = newRate - bias; + angle += dt * rate; + + // Update estimation error covariance - Project the error covariance ahead + /* Step 2 */ + P[0][0] += dt * (dt*P[1][1] - P[0][1] - P[1][0] + Q_angle); + P[0][1] -= dt * P[1][1]; + P[1][0] -= dt * P[1][1]; + P[1][1] += Q_bias * dt; + + // Discrete Kalman filter measurement update equations - Measurement Update ("Correct") + // Calculate Kalman gain - Compute the Kalman gain + /* Step 4 */ + float S = P[0][0] + R_measure; // Estimate error + /* Step 5 */ + float K[2]; // Kalman gain - This is a 2x1 vector + K[0] = P[0][0] / S; + K[1] = P[1][0] / S; + + // Calculate angle and bias - Update estimate with measurement zk (newAngle) + /* Step 3 */ + float y = newAngle - angle; // Angle difference + /* Step 6 */ + angle += K[0] * y; + bias += K[1] * y; + + // Calculate estimation error covariance - Update the error covariance + /* Step 7 */ + float P00_temp = P[0][0]; + float P01_temp = P[0][1]; + + P[0][0] -= K[0] * P00_temp; + P[0][1] -= K[0] * P01_temp; + P[1][0] -= K[1] * P00_temp; + P[1][1] -= K[1] * P01_temp; + + return angle; +}; + +void Kalman::setAngle(float angle) { this->angle = angle; }; // Used to set angle, this should be set as the starting angle +float Kalman::getRate() { return this->rate; }; // Return the unbiased rate + +/* These are used to tune the Kalman filter */ +void Kalman::setQangle(float Q_angle) { this->Q_angle = Q_angle; }; +void Kalman::setQbias(float Q_bias) { this->Q_bias = Q_bias; }; +void Kalman::setRmeasure(float R_measure) { this->R_measure = R_measure; }; + +float Kalman::getQangle() { return this->Q_angle; }; +float Kalman::getQbias() { return this->Q_bias; }; +float Kalman::getRmeasure() { return this->R_measure; }; diff --git a/v2/main/Kalman.h b/v2/main/Kalman.h new file mode 100644 index 0000000..7de545f --- /dev/null +++ b/v2/main/Kalman.h @@ -0,0 +1,59 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +#ifndef _Kalman_h_ +#define _Kalman_h_ + +class Kalman { +public: + Kalman(); + + // The angle should be in degrees and the rate should be in degrees per second and the delta time in seconds + float getAngle(float newAngle, float newRate, float dt); + + void setAngle(float angle); // Used to set angle, this should be set as the starting angle + float getRate(); // Return the unbiased rate + + /* These are used to tune the Kalman filter */ + void setQangle(float Q_angle); + /** + * setQbias(float Q_bias) + * Default value (0.003f) is in Kalman.cpp. + * Raise this to follow input more closely, + * lower this to smooth result of kalman filter. + */ + void setQbias(float Q_bias); + void setRmeasure(float R_measure); + + float getQangle(); + float getQbias(); + float getRmeasure(); + +private: + /* Kalman filter variables */ + float Q_angle; // Process noise variance for the accelerometer + float Q_bias; // Process noise variance for the gyro bias + float R_measure; // Measurement noise variance - this is actually the variance of the measurement noise + + float angle; // The angle calculated by the Kalman filter - part of the 2x1 state vector + float bias; // The gyro bias calculated by the Kalman filter - part of the 2x1 state vector + float rate; // Unbiased rate calculated from the rate and the calculated bias - you have to call getAngle to update the rate + + float P[2][2]; // Error covariance matrix - This is a 2x2 matrix +}; + +#endif diff --git a/v2/main/RGB.h b/v2/main/RGB.h new file mode 100644 index 0000000..7229e09 --- /dev/null +++ b/v2/main/RGB.h @@ -0,0 +1,145 @@ +#include +// Which pin on the Arduino is connected to the NeoPixels? +#define LED_PIN 16 +// How many NeoPixels are attached to the Arduino? +#define LED_COUNT 21 +unsigned char brightness = 30; +// Declare our NeoPixel strip object: +Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800); +// Argument 1 = Number of pixels in NeoPixel strip +// Argument 2 = Arduino pin number (most are valid) +// Argument 3 = Pixel type flags, add together as needed: +// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) +// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) +// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products) +// NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2) +// NEO_RGBW Pixels are wired for RGBW bitstream (NeoPixel RGBW products) + +unsigned long pixelPrevious = 0; // Previous Pixel Millis +unsigned long patternPrevious = 0; // Previous Pattern Millis +int patternCurrent = 0; // Current Pattern Number +int pixelInterval = 50; // Pixel Interval (ms) +int pixelQueue = 0; // Pattern Pixel Queue +int pixelCycle = 0; // Pattern Pixel Cycle +uint16_t pixelCurrent = 0; // Pattern Current Pixel Number +uint16_t pixelNumber = LED_COUNT; // Total Number of Pixels + +// Input a value 0 to 255 to get a color value. +// The colours are a transition r - g - b - back to r. +uint32_t Wheel(byte WheelPos) { + WheelPos = 255 - WheelPos; + if(WheelPos < 85) { + return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3); + } + if(WheelPos < 170) { + WheelPos -= 85; + return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3); + } + WheelPos -= 170; + return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0); +} +void colorWipe(uint32_t color) { + strip.setPixelColor(pixelCurrent, color); // Set pixel's color (in RAM) + strip.show(); // Update strip to match + pixelCurrent++; // Advance current pixel + if(pixelCurrent >= pixelNumber) // Loop the pattern from the first LED + pixelCurrent = 0; +} +// Fill the dots one after the other with a color +void colorWipe_delay(uint32_t c, uint8_t wait) { + for(uint16_t i=0; i=pixelNumber) + pixelCycle = 0; +} +void strip2() { + int i = 0; + pixelInterval = 100; + strip.fill(strip.Color(0, 0, 0)); + for(i;i<5;i++) + { + int j =i%7*(150/5)+1; + strip.setPixelColor((i+pixelCycle)%pixelNumber, strip.Color(0,0,j)); + strip.setPixelColor((i+pixelCycle+7)%pixelNumber, strip.Color(j,0,0)); + strip.setPixelColor((i+pixelCycle+14)%pixelNumber, strip.Color(0,j,0)); + } + + strip.show(); + pixelCycle++; + if(pixelCycle>=pixelNumber) + pixelCycle = 0; +} +void strip3() { + int i = 0; + pixelInterval = 100; + strip.fill(strip.Color(0, 0, 0)); + for(i;i<5;i++) + { + int j =i%7*(150/5)+1; + strip.setPixelColor((i+pixelCycle)%pixelNumber, strip.Color(j,j,j)); + strip.setPixelColor((i+pixelCycle+11)%pixelNumber, strip.Color(j,j,j)); + } + strip.show(); + pixelCycle++; + if(pixelCycle>=pixelNumber) + pixelCycle = 0; +} +void rainbow1() { + pixelInterval = 30; + for(uint16_t i=0; i < pixelNumber; i++) { + strip.setPixelColor(i, Wheel((i + pixelCycle) & 255)); // Update delay time + } + strip.show(); // Update strip to match + pixelCycle++; // Advance current cycle + if(pixelCycle >= 256) + pixelCycle = 0; // Loop the cycle back to the begining +} +void rainbow2() +{ + pixelInterval = 30; + pixelCycle +=256; + strip.rainbow(pixelCycle); + strip.show(); // Update strip with new contents + if(pixelCycle >= 5*65536) + pixelCycle = 0; +} +void pulse_rainbow1() +{ + pixelInterval = 30; + pixelQueue+=1; + if(pixelQueue>=brightness*2) + pixelQueue = 0; + if(pixelQueue= 5*65536) + pixelCycle = 0; +} +void rgb_off() +{ + pixelInterval = 100; + strip.fill(strip.Color(0, 0, 0)); + strip.show(); // Update strip with new contents +} diff --git a/v2/main/i2c.ino b/v2/main/i2c.ino new file mode 100644 index 0000000..dfa0264 --- /dev/null +++ b/v2/main/i2c.ino @@ -0,0 +1,63 @@ +/* Copyright (C) 2012 Kristian Lauszus, TKJ Electronics. All rights reserved. + + This software may be distributed and modified under the terms of the GNU + General Public License version 2 (GPL2) as published by the Free Software + Foundation and appearing in the file GPL2.TXT included in the packaging of + this file. Please note that GPL2 Section 2[b] requires that all works based + on this software must also be made publicly available under the terms of + the GPL2 ("Copyleft"). + + Contact information + ------------------- + + Kristian Lauszus, TKJ Electronics + Web : http://www.tkjelectronics.com + e-mail : kristianl@tkjelectronics.com + */ + +const uint8_t IMUAddress = 0x68; // AD0 is logic low on the PCB +const uint16_t I2C_TIMEOUT = 10; // Used to check for errors in I2C communication + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t data, bool sendStop) { + return i2cWrite(registerAddress, &data, 1, sendStop); // Returns 0 on success +} + +uint8_t i2cWrite(uint8_t registerAddress, uint8_t *data, uint8_t length, bool sendStop) { + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + Wire.write(data, length); + uint8_t rcode = Wire.endTransmission(sendStop); // Returns 0 on success + if (rcode) { + Serial.print(F("i2cWrite failed: ")); + Serial.println(rcode); + } + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission +} + +uint8_t i2cRead(uint8_t registerAddress, uint8_t *data, uint8_t nbytes) { + uint32_t timeOutTimer; + Wire.beginTransmission(IMUAddress); + Wire.write(registerAddress); + uint8_t rcode = Wire.endTransmission(false); // Don't release the bus + if (rcode) { + Serial.print(F("i2cRead failed: ")); + Serial.println(rcode); + return rcode; // See: http://arduino.cc/en/Reference/WireEndTransmission + } + Wire.requestFrom(IMUAddress, nbytes, (uint8_t)true); // Send a repeated start and then release the bus after reading + for (uint8_t i = 0; i < nbytes; i++) { + if (Wire.available()) + data[i] = Wire.read(); + else { + timeOutTimer = micros(); + while (((micros() - timeOutTimer) < I2C_TIMEOUT) && !Wire.available()); + if (Wire.available()) + data[i] = Wire.read(); + else { + Serial.println(F("i2cRead timeout")); + return 5; // This error value is not already taken by endTransmission + } + } + } + return 0; // Success +} diff --git a/v2/main/main.ino b/v2/main/main.ino new file mode 100644 index 0000000..91b1e7f --- /dev/null +++ b/v2/main/main.ino @@ -0,0 +1,757 @@ + /** +arduino开发环境-灯哥开源FOChttps://gitee.com/ream_d/Deng-s-foc-controller +FOC引脚32, 33, 25 +AS5600霍尔传感器 SDA-23 SCL-5 MPU6050六轴传感器 SDA-19 SCL-18 +本程序平衡控制为速度控制,LQR参数使用K3和K4 +在wifi上位机窗口中输入:TA+角度,就可以修改平衡角度 +比如让平衡角度为90度,则输入:TA90,并且会存入eeprom的位置0中 注:wifi发送命令不能过快,因为每次都会保存进eeprom +在使用自己的电机时,请一定记得修改默认极对数,即 BLDCMotor(7) 中的值,设置为自己的极对数数字,磁铁数量/2 +程序默认设置的供电电压为 12V,用其他电压供电请记得修改 voltage_power_supply , voltage_limit 变量中的值 +默认PID针对的电机是 2715 ,使用自己的电机需要修改PID参数,才能实现更好效果 + */ +#include +#include "Command.h" +#include +#include //引用以使用异步UDP +#include +#include "Kalman.h" // Source: https://github.com/TKJElectronics/KalmanFilter +#include "EEPROM.h" +#include "tourch.h" +/* ----ESP32 IO SET---- */ +#define ACTIVE_PIN 4 //状态灯 +#define BAT_VOLTAGE_SENSE_PIN 34 //电池电压检测ADC,如果旧版PCB无电压检测电路,则注释掉此行 +const double R1_VOLTAGE = 62000; //62K +const double R2_VOLTAGE = 10000; //10K +const double min_voltage = 9.5; //电池检测最低电压 +double bat_voltage; +unsigned long voltage_last_time; +/* ----IMU Data---- */ +Kalman kalmanZ; +#define gyroZ_OFF -0.19 +double accX, accY, accZ; +double gyroX, gyroY, gyroZ; +int16_t tempRaw; +bool stable = 0 , battery_low = 0; +uint32_t last_unstable_time; +uint32_t last_stable_time; + +double gyroZangle; // Angle calculate using the gyro only +double compAngleZ; // Calculated angle using a complementary filter +double kalAngleZ; // Calculated angle using a Kalman filter + +uint32_t timer; +uint8_t i2cData[14]; // Buffer for I2C data +/* ----FOC Data---- */ + +// driver instance +const char *ServerName = "ESP32-Reuleaux-RGB"; +char mac_tmp[6]; +const char *ssid = mac_tmp; +const char *password = ""; +bool wifi_on_off = 0; +bool wifi_flag = 0; +AsyncUDP udp; //创建UDP对象 +unsigned int localUdpPort = 2333; //本地端口号 +void wifi_print(char * s,double num); + +/* ----FOC Data---- */ +double acc2rotation(double x, double y); +float constrainAngle(float x); +MagneticSensorI2C sensor = MagneticSensorI2C(AS5600_I2C); +TwoWire I2Ctwo = TwoWire(1); +LowPassFilter lpf_throttle{0.00}; + +//倒立摆参数 +float LQR_K3_1 = 8.4; //摇摆到平衡 +float LQR_K3_2 = 2.1; // +float LQR_K3_3 = 2.1; // + +float LQR_K4_1 = 2.4; //平衡到稳定 +float LQR_K4_2 = 1.5; // +float LQR_K4_3 = 1.42; // + +//电机参数 +BLDCMotor motor = BLDCMotor(7); +BLDCDriver3PWM driver = BLDCDriver3PWM(32, 33, 25); +float target_velocity = 0; //目标速度 +float target_angle = 90; //平衡角度 例如TA89.3 设置平衡角度89.3 +float target_voltage = 0; //目标电压 +float swing_up_voltage = 1.4; //摇摆电压 左右摇摆的电压,越大越快到平衡态,但是过大会翻过头 +float swing_up_angle = 12; //摇摆角度 离平衡角度还有几度时候,切换到自平衡控制 +float v_i_1 = 25; //非稳态速度环I +float v_p_1 = 1.8; //非稳态速度环P +float v_i_2 = 10; //稳态速度环I +float v_p_2 = 0.3; //稳态速度环P + +//命令设置 +Command comm; +bool Motor_enable_flag = 0; +int test_flag = 0; +void do_TA(char* cmd) { comm.scalar(&target_angle, cmd);EEPROM.writeFloat(0, target_angle); } +void do_SV(char* cmd) { comm.scalar(&swing_up_voltage, cmd); EEPROM.writeFloat(4, swing_up_voltage); } +void do_SA(char* cmd) { comm.scalar(&swing_up_angle, cmd);EEPROM.writeFloat(8, swing_up_angle); } +void do_START(char* cmd) { wifi_flag = !wifi_flag; } +void do_MOTOR(char* cmd) +{ + if(Motor_enable_flag) + motor.enable(); + else + motor.disable(); + Motor_enable_flag = !Motor_enable_flag; +} +void do_TVQ(char* cmd) +{ + if(test_flag == 1) + test_flag = 0; + else + { + motor.controller = MotionControlType::torque; + test_flag = 1; + } +} +void do_TVV(char* cmd) +{ + if(test_flag == 2) + test_flag = 0; + else + { + motor.controller = MotionControlType::velocity; + test_flag = 2; + } +} +void do_VV(char* cmd) { comm.scalar(&target_velocity, cmd); } +void do_VQ(char* cmd) { comm.scalar(&target_voltage, cmd); } +void do_vp1(char* cmd) { comm.scalar(&v_p_1, cmd); EEPROM.writeFloat(12, v_p_1);} +void do_vi1(char* cmd) { comm.scalar(&v_i_1, cmd);EEPROM.writeFloat(16, v_i_1); } +void do_vp2(char* cmd) { comm.scalar(&v_p_2, cmd); EEPROM.writeFloat(20, v_p_2);} +void do_vi2(char* cmd) { comm.scalar(&v_i_2, cmd);EEPROM.writeFloat(24, v_i_2); } +void do_tv(char* cmd) { comm.scalar(&target_velocity, cmd); } +void do_K31(char* cmd) { comm.scalar(&LQR_K3_1, cmd); } +void do_K32(char* cmd) { comm.scalar(&LQR_K3_2, cmd); } +void do_K33(char* cmd) { comm.scalar(&LQR_K3_3, cmd); } +void do_K41(char* cmd) { comm.scalar(&LQR_K4_1, cmd); } +void do_K42(char* cmd) { comm.scalar(&LQR_K4_2, cmd); } +void do_K43(char* cmd) { comm.scalar(&LQR_K4_3, cmd); } + +void onPacketCallBack(AsyncUDPPacket packet) +{ + char* da; + da= (char*)(packet.data()); + Serial.println(da); + comm.run(da); + EEPROM.commit(); +// packet.print("reply data"); +} +// instantiate the commander +void setup() { + Serial.begin(115200); + + //状态灯 + pinMode(ACTIVE_PIN, OUTPUT); + digitalWrite(ACTIVE_PIN, LOW); + + uint32_t chipId = 0; + for (int i = 0; i < 17; i = i + 8) { + chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i; + } + Serial.printf("Chip ID: %d\r\n", chipId); + + Serial.printf("ESP32 Chip ID = %04X",(uint16_t)(ESP.getEfuseMac()>>32));//print High 2 bytes + Serial.printf("%08X\r\n",(uint32_t)ESP.getEfuseMac());//print Low 4bytes. + + Serial.printf("Chip model = %s Rev %d\r\n", ESP.getChipModel(), ESP.getChipRevision()); + Serial.printf("This chip has %d cores CpuFreqMHz = %u\r\n", ESP.getChipCores(),ESP.getCpuFreqMHz()); + Serial.printf("get Cycle Count = %u\r\n",ESP.getCycleCount()); + Serial.printf("SDK version:%s\r\n", ESP.getSdkVersion()); //获取IDF版本 + + //获取片内内存 Internal RAM + Serial.printf("Total heap size = %u\t",ESP.getHeapSize()); + Serial.printf("Available heap = %u\r\n",ESP.getFreeHeap()); + Serial.printf("Lowest level of free heap since boot = %u\r\n",ESP.getMinFreeHeap()); + Serial.printf("Largest block of heap that can be allocated at once = %u\r\n",ESP.getMaxAllocHeap()); + + //SPI RAM + Serial.printf("Total Psram size = %u\t",ESP.getPsramSize()); + Serial.printf("Available Psram = %u\r\n",ESP.getFreePsram()); + Serial.printf("Lowest level of free Psram since boot = %u\r\n",ESP.getMinFreePsram()); + Serial.printf("Largest block of Psram that can be allocated at once = %u\r\n",ESP.getMinFreePsram()); + sprintf(mac_tmp, "%02X\r\n", (uint32_t)(ESP.getEfuseMac() >> (24) )); + sprintf(mac_tmp, "ESP32-%c%c%c%c%c%c", mac_tmp[4], mac_tmp[5], mac_tmp[2], mac_tmp[3], mac_tmp[0], mac_tmp[1] ); + + if (!EEPROM.begin(1000)) { + Serial.println("Failed to initialise EEPROM"); + Serial.println("Restarting..."); + delay(1000); + ESP.restart(); + } +// eeprom 读取 +int k,j; +j = 0; +for(k=0;k<=24;k=k+4) +{ + float nan = EEPROM.readFloat(k); + if(isnan(nan)) + { + j = 1; + Serial.println("frist write"); + EEPROM.writeFloat(0, target_angle); delay(10);EEPROM.commit(); + EEPROM.writeFloat(4, swing_up_voltage); delay(10);EEPROM.commit(); + EEPROM.writeFloat(8, swing_up_angle); delay(10);EEPROM.commit(); + EEPROM.writeFloat(12, v_p_1); delay(10);EEPROM.commit(); + EEPROM.writeFloat(16, v_i_1); delay(10);EEPROM.commit(); + EEPROM.writeFloat(20, v_p_2); delay(10);EEPROM.commit(); + EEPROM.writeFloat(24, v_i_2); delay(10);EEPROM.commit(); + EEPROM.writeUChar(28,brightness); delay(10);EEPROM.commit(); + EEPROM.writeUChar(32,rgb_flag); delay(10);EEPROM.commit(); + } +} +if(j == 0) +{ + target_angle = EEPROM.readFloat(0); + swing_up_voltage = EEPROM.readFloat(4); + swing_up_angle = EEPROM.readFloat(8); + v_p_1 = EEPROM.readFloat(12); + v_i_1 = EEPROM.readFloat(16); + v_p_2 = EEPROM.readFloat(20); + v_i_2 = EEPROM.readFloat(24); + brightness = EEPROM.readUChar(28); + rgb_flag = EEPROM.readUChar(32); + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; +} + //命令设置 + comm.add("TA",do_TA); + comm.add("START",do_START); + comm.add("MOTOR",do_MOTOR); + comm.add("SV",do_SV); + comm.add("SA",do_SA); + comm.add("TVQ",do_TVQ); + comm.add("TVV",do_TVV); + comm.add("VV",do_VV); + comm.add("VQ",do_VQ); +//速度环参数 + comm.add("VP1",do_vp1); + comm.add("VI1",do_vi1); + comm.add("VP2",do_vp2); + comm.add("VI2",do_vi2); + comm.add("TV",do_tv); + comm.add("K31",do_K31); + comm.add("K32",do_K32); + comm.add("K33",do_K33); + comm.add("K41",do_K41); + comm.add("K42",do_K42); + comm.add("K43",do_K43); + +//RGB + strip.begin(); // INITIALIZE NeoPixel strip object (REQUIRED) + strip.show(); // Turn OFF all pixels ASAP + strip.setBrightness(brightness); // Set BRIGHTNESS to about 1/5 (max = 255) + colorWipe_delay(strip.Color(255, 106, 106),50); + colorWipe_delay(strip.Color(0, 255, 255),50); + colorWipe_delay(strip.Color(148, 0, 211),50); + + // kalman mpu6050 init + Wire.begin(19, 18,400000);// Set I2C frequency to 400kHz + i2cData[0] = 7; // Set the sample rate to 1000Hz - 8kHz/(7+1) = 1000Hz + i2cData[1] = 0x00; // Disable FSYNC and set 260 Hz Acc filtering, 256 Hz Gyro filtering, 8 KHz sampling + i2cData[2] = 0x00; // Set Gyro Full Scale Range to ±250deg/s + i2cData[3] = 0x00; // Set Accelerometer Full Scale Range to ±2g + while (i2cWrite(0x19, i2cData, 4, false)) + ; // Write to all four registers at once + while (i2cWrite(0x6B, 0x01, true)) + ; // PLL with X axis gyroscope reference and disable sleep mode + while (i2cRead(0x75, i2cData, 1)) + ; + if (i2cData[0] != 0x68) + { // Read "WHO_AM_I" register + Serial.print(F("Error reading sensor")); + while (1) + ; + } + delay(100); // Wait for sensor to stabilize + /* Set kalman and gyro starting angle */ + while (i2cRead(0x3B, i2cData, 6)) + ; + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); + double pitch = acc2rotation(accX, accY); + kalmanZ.setAngle(pitch); + gyroZangle = pitch; + timer = micros(); + Serial.println("kalman mpu6050 init"); + + I2Ctwo.begin(23, 5, 400000); //SDA,SCL + sensor.init(&I2Ctwo); + + //连接motor对象与传感器对象 + motor.linkSensor(&sensor); + + //供电电压设置 [V] + driver.voltage_power_supply = 12; + driver.init(); + + //连接电机和driver对象 + motor.linkDriver(&driver); + + //FOC模型选择 + motor.foc_modulation = FOCModulationType::SpaceVectorPWM; + + //运动控制模式设置 + motor.controller = MotionControlType::torque; + //速度PI环设置 + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + + //最大电机限制电机 + motor.voltage_limit = 12; + + //速度低通滤波时间常数 + motor.LPF_velocity.Tf = 0.01; + + //设置最大速度限制 + motor.velocity_limit = 40; + + motor.useMonitoring(Serial); + + //初始化电机 + motor.init(); + + //初始化 FOC + motor.initFOC(); + + Serial.println(F("Motor ready.")); + Serial.println(F("Set the target velocity using serial terminal:")); + + digitalWrite(ACTIVE_PIN, HIGH); +} +char buf[255]; +void loop() { + motor.loopFOC(); //foc循环用来控制电机运动 + if(wifi_on_off) + { + ArduinoOTA.handle(); + } + // 触摸效果以及RGB灯效 + unsigned long currentMillis = millis(); + if(currentMillis - voltage_last_time >=1000) + { + voltage_last_time = currentMillis; + voltage_detection(); + } + if(currentMillis - touch_last_time >= 10) { // Check for expired time + touch_last_time = currentMillis; // Run current frame + touchAttach(0,T2); + touchAttach(1,T3); + touchAttach(2,T4); + int i; + for(i = 0;i<3;i++) + { + if(touch_STATE[i]&&touch_touched[i]) + if(touch_touched[i] == 1) + { + single_event(i); + } + else + long_event(i); + } + } + // Update current time 更新RGB效果 + if(currentMillis - pixelPrevious >= pixelInterval) { // Check for expired time + pixelPrevious = currentMillis; // Run current frame + switch(rgb_flag){ + case 0 : + rgb_off(); + break; + case 1 : + strip1(); + break; + case 2 : + strip2(); + break; + case 3 : + strip3(); + break; + case 4 : + rainbow1(); + break; + case 5 : + rainbow2(); + break; + case 6 : + pulse_rainbow1(); + break; + } + } + + // 读取MPU6050数据 + while (i2cRead(0x3B, i2cData, 14)); + accX = (int16_t)((i2cData[0] << 8) | i2cData[1]); + accY = (int16_t)((i2cData[2] << 8) | i2cData[3]); + accZ = (int16_t)((i2cData[4] << 8) | i2cData[5]); +// tempRaw = (int16_t)((i2cData[6] << 8) | i2cData[7]); + gyroX = (int16_t)((i2cData[8] << 8) | i2cData[9]); + gyroY = (int16_t)((i2cData[10] << 8) | i2cData[11]); + gyroZ = (int16_t)((i2cData[12] << 8) | i2cData[13]); + + double dt = (double)(micros() - timer) / 1000000; // Calculate delta time + timer = micros(); + + double pitch = acc2rotation(accX, accY); + double gyroZrate = gyroZ / 131.0; // Convert to deg/s + + kalAngleZ = kalmanZ.getAngle(pitch, gyroZrate + gyroZ_OFF, dt); + gyroZangle += (gyroZrate + gyroZ_OFF) * dt; + compAngleZ = 0.93 * (compAngleZ + (gyroZrate + gyroZ_OFF) * dt) + 0.07 * pitch; + + // Reset the gyro angle when it has drifted too much + if (gyroZangle < -180 || gyroZangle > 180) + gyroZangle = kalAngleZ; + + float pendulum_angle = constrainAngle(fmod(kalAngleZ,120)-target_angle); + +// pendulum_angle当前角度与期望角度差值,在差值大的时候进行摇摆,差值小的时候LQR控制电机保持平衡 +if(test_flag == 0)//正常控制 +{ + if (abs(pendulum_angle) < swing_up_angle) // if angle small enough stabilize 0.5~30°,1.5~90° + { + target_velocity = controllerLQR(pendulum_angle, gyroZrate, motor.shaftVelocity()); + if (abs(target_velocity) > 120) + target_velocity = _sign(target_velocity) * 120; + + motor.controller = MotionControlType::velocity; + motor.move(target_velocity); + } + else // else do swing-up + { // sets swing_up_voltage to the motor in order to swing up + motor.controller = MotionControlType::torque; + target_voltage = -_sign(gyroZrate) * swing_up_voltage; + motor.move(target_voltage); + } +} +else if(test_flag == 1) +{ + + motor.move(target_voltage); +} +else +{ + + motor.move(target_velocity); +} + +//串口输出数据部分,不需要的情况可以改为0 +#if 0 + +Serial.print(pitch);Serial.print("\t"); +Serial.print(kalAngleZ);Serial.print("\t"); + Serial.print(target_voltage);Serial.print("\t"); + Serial.print(motor.shaft_velocity);Serial.print("\t"); + Serial.print(motor.voltage.q);Serial.print("\t"); + Serial.print(target_angle);Serial.print("\t"); + Serial.print(pendulum_angle);Serial.print("\t"); + Serial.print(gyroZrate);Serial.print("\t"); + Serial.print("\r\n"); +#endif + //可以使用该方法wifi发送udp信息 +if(wifi_flag) +{ + memset(buf, 0, strlen(buf)); + + wifi_print("v", motor.shaft_velocity); + wifi_print("vq",motor.voltage.q); + wifi_print("p",pendulum_angle); + wifi_print("t",target_angle); + wifi_print("k",kalAngleZ); + wifi_print("g",gyroZrate); + wifi_print("VT",bat_voltage); + + udp.writeTo((const unsigned char*)buf, strlen(buf), IPAddress(192,168,4,2), localUdpPort); //广播数据 +} +} +/* mpu6050加速度转换为角度 + acc2rotation(ax, ay) + acc2rotation(az, ay) */ +double acc2rotation(double x, double y) +{ + double tmp_kalAngleZ = (atan(x / y) / 1.570796 * 90); + if (y < 0) + { + return (tmp_kalAngleZ + 180); + } + else if (x < 0) + { + //将当前值与前值比较,当前差值大于100则认为异常 + if (!isnan(kalAngleZ) && (tmp_kalAngleZ + 360 - kalAngleZ) > 100) { + //Serial.print("X<0"); Serial.print("\t"); + //Serial.print(tmp_kalAngleZ); Serial.print("\t"); + //Serial.print(kalAngleZ); Serial.print("\t"); + //Serial.print("\r\n"); + if (tmp_kalAngleZ < 0 && kalAngleZ < 0) //按键右边角 + return tmp_kalAngleZ; + else //按键边异常处理 + return tmp_kalAngleZ; + } else + return (tmp_kalAngleZ + 360); + } + else + { + return tmp_kalAngleZ; + } +} + +// function constraining the angle in between -60~60 +float constrainAngle(float x) +{ + float a = 0; + if(x < 0) + { + a = 120+x; + if(a 5) //摆角大于5则进入非稳态,记录非稳态时间 + { + last_unstable_time = millis(); + if (stable) //如果是稳态进入非稳态则调整为目标角度 + { + //target_angle = EEPROM.readFloat(0) - p_angle; + target_angle = EEPROM.readFloat(0); + stable = 0; + } + } + if ((millis() - last_unstable_time) > 1000 && !stable) //非稳态进入稳态超过500ms检测,更新目标角为目标角+摆角,假设进入稳态 + { + //target_angle -= _sign(target_velocity) * 0.4; + target_angle = target_angle+p_angle; + stable = 1; + } + + if ((millis() - last_stable_time) > 2500 && stable) { //稳态超过2000ms检测,更新目标角 + if (abs(target_velocity) > 5 ) { //稳态速度偏大校正 + last_stable_time = millis(); + target_angle -= _sign(target_velocity) * 0.2; + } + } + + //Serial.println(stable); + float u; + + if (!stable) //非稳态计算 + { + motor.PID_velocity.P = v_p_1; + motor.PID_velocity.I = v_i_1; + u = LQR_K3_1 * p_angle + LQR_K3_2 * p_vel + LQR_K3_3 * m_vel; + } + else + { + motor.PID_velocity.P = v_p_2; + motor.PID_velocity.I = v_i_2; + u = LQR_K4_1 * p_angle + LQR_K4_2 * p_vel + LQR_K4_3 * m_vel; + } + + return u; +} +void wifi_print(char * s,double num) +{ + char str[255]; + char n[255]; + sprintf(n, "%.2f",num); + strcpy(str,s); + strcat(str, n); + strcat(buf+strlen(buf), str); + strcat(buf, ",\0"); + +} +void voltage_detection() +{ + #if defined(BAT_VOLTAGE_SENSE_PIN) //电池电压检测 + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + //driver.voltage_power_supply = bat_voltage; + //Serial.println(driver.voltage_power_supply); + if (bat_voltage < min_voltage && !battery_low) + { + battery_low = 1; + Serial.print(driver.voltage_power_supply); + Serial.println("V "); + Serial.print(bat_voltage); + Serial.println("V battery_low!!"); + while (battery_low) + { + rgb_off(); + motor.disable(); + + bat_voltage = return_voltage_value(BAT_VOLTAGE_SENSE_PIN); + if (bat_voltage >= (min_voltage + 0.5)) { + Serial.print(driver.voltage_power_supply); + Serial.println("V"); + Serial.print(bat_voltage); + Serial.println("V battery ok"); + digitalWrite(ACTIVE_PIN, 0); //电池电压恢复则常亮,需reset重启 + //battery_low = 0; + } else { //电池电压低闪灯 + if (millis() % 500 < 250) + digitalWrite(ACTIVE_PIN, 0); + else + digitalWrite(ACTIVE_PIN, 1); + } + } + } +#endif +} +double return_voltage_value(int pin_no) +{ + double tmp; + double ADCVoltage; + double inputVoltage; + analogSetPinAttenuation(pin_no, ADC_6db); + + for (int i = 0; i < 20; i++) + { + ADCVoltage = analogReadMilliVolts(pin_no) / 1000.0; + inputVoltage = (ADCVoltage * R1_VOLTAGE) / R2_VOLTAGE; + + tmp = tmp + inputVoltage + ADCVoltage; // formula for calculating voltage in i.e. GND + } + inputVoltage = tmp / 20; + if(inputVoltage!=0) + inputVoltage = inputVoltage + 0.001; +/* + + for (int i = 0; i < 20; i++) + { + tmp = tmp + analogRead(pin_no); + } + tmp = tmp / 20; + + ADCVoltage = ((tmp * 3.3) / 4095.0) + 0.165; + inputVoltage = ADCVoltage / (R2_VOLTAGE / (R1_VOLTAGE + R2_VOLTAGE)); // formula for calculating voltage in i.e. GND +*/ + + return inputVoltage; +} +void AutoWifiConfig() +{ + //wifi初始化 + sprintf(mac_tmp, "%02X\r\n", (uint32_t)(ESP.getEfuseMac() >> (24) )); + sprintf(mac_tmp, "ESP32-%c%c%c%c%c%c", mac_tmp[4], mac_tmp[5], mac_tmp[2], mac_tmp[3], mac_tmp[0], mac_tmp[1] ); + + WiFi.mode(WIFI_AP); + while (!WiFi.softAP(ssid, password)) {}; //启动AP + Serial.println("AP启动成功"); + Serial.println("Ready"); + Serial.print("IP address: "); + Serial.println(WiFi.softAPIP()); + byte mac[6]; + WiFi.macAddress(mac); + WiFi.setHostname(ServerName); + Serial.printf("macAddress 0x%02X:0x%02X:0x%02X:0x%02X:0x%02X:0x%02X\r\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); + + while (!udp.listen(localUdpPort)) //等待udp监听设置成功 + { + } + udp.onPacket(onPacketCallBack); //注册收到数据包事件 + + ArduinoOTA.setHostname(ServerName); + //以下是启动OTA,可以通过WiFi刷新固件 + ArduinoOTA.onStart([]() { + String type; + if (ArduinoOTA.getCommand() == U_FLASH) { + type = "sketch"; + } else { // U_SPIFFS + type = "filesystem"; + } + + // NOTE: if updating SPIFFS this would be the place to unmount SPIFFS using SPIFFS.end() + Serial.println("Start updating " + type); + }); + ArduinoOTA.onEnd([]() { + Serial.println("\nEnd"); + }); + ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { + Serial.printf("Progress: %u%%\r", (progress / (total / 100))); + }); + ArduinoOTA.onError([](ota_error_t error) { + Serial.printf("Error[%u]: ", error); + if (error == OTA_AUTH_ERROR) { + Serial.println("Auth Failed"); + } else if (error == OTA_BEGIN_ERROR) { + Serial.println("Begin Failed"); + } else if (error == OTA_CONNECT_ERROR) { + Serial.println("Connect Failed"); + } else if (error == OTA_RECEIVE_ERROR) { + Serial.println("Receive Failed"); + } else if (error == OTA_END_ERROR) { + Serial.println("End Failed"); + } + }); + ArduinoOTA.begin(); +} +//触摸单击函数处理 +void single_event(int touchID) +{ + switch(touchID){ + case 0 : + if(brightness<=15) + brightness = 15; + brightness-=15; + EEPROM.writeUChar(28, brightness); EEPROM.commit(); + strip.setBrightness(brightness); // Set BRIGHTNESS to about 1/5 (max = 255) + break; + case 1 : + if(brightness>=240) + brightness = 240; + brightness+=15; + EEPROM.writeUChar(28, brightness); EEPROM.commit(); + strip.setBrightness(brightness); // Set BRIGHTNESS to about 1/5 (max = 255) + break; + case 2 : + if(rgb_flag) + rgb_flag = 0; + else + rgb_flag = EEPROM.readUChar(32); + break; + } +} +//触摸长按函数处理 +void long_event(int touchID) +{ + switch(touchID){ + case 0 : //长按投币 + if(rgb_flag == 0) + rgb_flag = rgb_modle; + rgb_flag--; + strip.setBrightness(brightness); // Set BRIGHTNESS to about 1/5 (max = 255) + EEPROM.writeUChar(32, rgb_flag); EEPROM.commit(); + break; + case 1 : //长按收藏 + rgb_flag++; + if(rgb_flag>=rgb_modle) + rgb_flag = 0; + strip.setBrightness(brightness); // Set BRIGHTNESS to about 1/5 (max = 255) + EEPROM.writeUChar(32, rgb_flag); EEPROM.commit(); + break; + case 2 : //长按点赞 + if(wifi_on_off) + { + motor.enable(); + WiFi.disconnect(); + WiFi.mode(WIFI_OFF); + Serial.println("WIFI_OFF"); + } + else + { + motor.disable(); + AutoWifiConfig();//打开wifi + Serial.println("WIFI_ON"); + } + wifi_on_off = !wifi_on_off; + break; + } +} diff --git a/v2/main/tourch.h b/v2/main/tourch.h new file mode 100644 index 0000000..e0ef89e --- /dev/null +++ b/v2/main/tourch.h @@ -0,0 +1,29 @@ +#include "RGB.h" +const int threshold_top = 40; //触摸阈值 +const int single_count[3] = {10,10,10}; //单击时间 实际时间为20*10 = 200ms +const int long_count[3] = {80,80,80}; //长按时间 实际时间为80*10 = 800ms +unsigned long touch_last_time; +int touch_count[3] = {0,0,0}; //持续触摸计数 +int touch_touched[3] = {0,0,0}; //单击,长按判断 单击值为1,长按值为2 没点击为0 +bool touch_STATE[3] = {1, 1, 1}; // 定义按键触发对象状态变量初始值为true默认开启 T2 T3 T4 + +int rgb_flag = 1; +int rgb_modle = 7;//有几种RGB效果就写几 +//触摸感应处理 +void touchAttach(int touchID, uint8_t touchPin) { + int touchread = touchRead(touchPin); + if ( touchread <= threshold_top ) { //达到触发值的计数 + //delay(38); // 0.038秒 + touch_count[touchID]++; //持续触摸计数 + } + else + { + if ( touch_count[touchID] >= single_count[touchID] && touch_count[touchID] < long_count[touchID]) + touch_touched[touchID] = 1;//持续触摸时间达到单击 + else if(touch_count[touchID] >= long_count[touchID]) + touch_touched[touchID] = 2; + else + touch_touched[touchID]= 0; + touch_count[touchID] = 0; //持续触摸计数清零 + } +} diff --git a/v2/淘宝购买.xlsx b/v2/淘宝购买.xlsx new file mode 100644 index 0000000..5969d8d Binary files /dev/null and b/v2/淘宝购买.xlsx differ diff --git a/莱洛三角结构/V1动量轮8cm.dxf b/莱洛三角结构/V1动量轮8cm.dxf new file mode 100644 index 0000000..ba95966 --- /dev/null +++ b/莱洛三角结构/V1动量轮8cm.dxf @@ -0,0 +1,10084 @@ +999 +dxflib 3.17.0.0 + 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1015 + 9 +$HANDSEED + 5 +FFFF + 9 +$INSUNITS + 70 +4 + 9 +$DIMEXE + 40 +1.25 + 9 +$TEXTSTYLE + 7 +Standard + 9 +$LIMMIN + 10 +0.0 + 20 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +TABLES + 0 +TABLE + 2 +VPORT + 5 +8 +100 +AcDbSymbolTable + 70 +1 + 0 +VPORT + 5 +30 +100 +AcDbSymbolTableRecord +100 +AcDbViewportTableRecord + 2 +*Active + 70 +0 + 10 +0.0 + 20 +0.0 + 11 +1.0 + 21 +1.0 + 12 +286.30555555555549 + 22 +148.5 + 13 +0.0 + 23 +0.0 + 14 +10.0 + 24 +10.0 + 15 +10.0 + 25 +10.0 + 16 +0.0 + 26 +0.0 + 36 +1.0 + 17 +0.0 + 27 +0.0 + 37 +0.0 + 40 +297.0 + 41 +1.92798353909465 + 42 +50.0 + 43 +0.0 + 44 +0.0 + 50 +0.0 + 51 +0.0 + 71 +0 + 72 +100 + 73 +1 + 74 +3 + 75 +1 + 76 +1 + 77 +0 + 78 +0 +281 +0 + 65 +1 +110 +0.0 +120 +0.0 +130 +0.0 +111 +1.0 +121 +0.0 +131 +0.0 +112 +0.0 +122 +1.0 +132 +0.0 + 79 +0 +146 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LTYPE + 5 +5 +100 +AcDbSymbolTable + 70 +25 + 0 +LTYPE + 5 +14 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYBLOCK + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +15 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYLAYER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +16 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CONTINUOUS + 70 +0 + 3 +Solid line + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +31 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO02W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +32 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO03W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +33 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO04W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +34 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO05W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +35 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +36 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +37 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +38 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +39 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3A +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3B +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3C +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3D +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3E +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3F +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +40 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHEDX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +41 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +42 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +43 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDEX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +44 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +45 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +46 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LAYER + 5 +2 +100 +AcDbSymbolTable + 70 +1 + 0 +LAYER + 5 +10 +100 +AcDbSymbolTableRecord +100 +AcDbLayerTableRecord + 2 +0 + 70 +0 + 62 +-1 +420 +0 + 6 +CONTINUOUS +370 +1 +390 +F + 0 +ENDTAB + 0 +STYLE + 5 +47 +100 +AcDbSymbolTableRecord +100 +AcDbTextStyleTableRecord + 2 + + 70 +0 + 40 +0.0 + 41 +0.0 + 50 +0.0 + 71 +0 + 42 +0.0 + 3 + + 4 + +1001 +ACAD +1000 + +1071 +0 + 0 +TABLE + 2 +VIEW + 5 +6 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +UCS + 5 +7 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +APPID + 5 +9 +100 +AcDbSymbolTable + 70 +1 + 0 +APPID + 5 +12 +100 +AcDbSymbolTableRecord +100 +AcDbRegAppTableRecord + 2 +ACAD + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +DIMSTYLE + 5 +A +100 +AcDbSymbolTable + 70 +1 +100 +AcDbDimStyleTable + 71 +0 + 0 +DIMSTYLE +105 +27 +100 +AcDbSymbolTableRecord +100 +AcDbDimStyleTableRecord + 2 +Standard + 41 +1.0 + 42 +1.0 + 43 +3.75 + 44 +1.0 + 70 +0 + 73 +0 + 74 +0 + 77 +1 + 78 +8 +140 +1.0 +141 +2.5 +143 +0.03937007874016 +147 +1.0 +171 +3 +172 +1 +271 +2 +272 +2 +274 +3 +278 +44 +283 +0 +284 +8 +340 +0 + 0 +ENDTAB + 0 +TABLE + 2 +BLOCK_RECORD + 5 +1 +100 +AcDbSymbolTable + 70 +1 + 0 +BLOCK_RECORD + 5 +1F +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Model_Space +340 +22 + 0 +BLOCK_RECORD + 5 +1B +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space +340 +1E + 0 +BLOCK_RECORD + 5 +23 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space0 +340 +26 + 0 +BLOCK_RECORD + 5 +48 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock1 +340 +0 + 0 +BLOCK_RECORD + 5 +49 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock2 +340 +0 + 0 +ENDTAB + 0 +ENDSEC + 0 +SECTION + 2 +BLOCKS + 0 +BLOCK + 5 +20 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Model_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Model_Space + 1 + + 0 +ENDBLK + 5 +21 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +1C +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space + 1 + + 0 +ENDBLK + 5 +1D +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +24 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space0 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space0 + 1 + + 0 +ENDBLK + 5 +25 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4A +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock1 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock1 + 1 + + 0 +ENDBLK + 5 +4B +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4C +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock2 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock2 + 1 + + 0 +ENDBLK + 5 +4D +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +ENDSEC + 0 +SECTION + 2 +ENTITIES + 0 +LWPOLYLINE + 5 +4E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +196.85197448730469 + 20 +193.84861755371094 + 30 +0.0 + 10 +197.03450012207031 + 20 +193.8660888671875 + 30 +0.0 + 10 +197.20201110839844 + 20 +193.91860961914062 + 30 +0.0 + 10 +197.3544921875 + 20 +194.00112915039063 + 30 +0.0 + 10 +197.489501953125 + 20 +194.11111450195312 + 30 +0.0 + 10 +197.59945678710937 + 20 +194.24610900878906 + 30 +0.0 + 10 +197.68202209472656 + 20 +194.39863586425781 + 30 +0.0 + 10 +197.73446655273438 + 20 +194.56610107421875 + 30 +0.0 + 10 +197.75199890136719 + 20 +194.74855041503906 + 30 +0.0 + 10 +197.73451232910156 + 20 +194.92860412597656 + 30 +0.0 + 10 +197.68199157714844 + 20 +195.09858703613281 + 30 +0.0 + 10 +197.5994873046875 + 20 +195.25112915039062 + 30 +0.0 + 10 +197.48947143554687 + 20 +195.38356018066406 + 30 +0.0 + 10 +197.35447692871094 + 20 +195.49357604980469 + 30 +0.0 + 10 +197.20201110839844 + 20 +195.57608032226562 + 30 +0.0 + 10 +197.03450012207031 + 20 +195.62857055664062 + 30 +0.0 + 10 +196.85200500488281 + 20 +195.64610290527344 + 30 +0.0 + 10 +196.66950988769531 + 20 +195.62855529785156 + 30 +0.0 + 10 +196.50198364257812 + 20 +195.57609558105469 + 30 +0.0 + 10 +196.34953308105469 + 20 +195.49359130859375 + 30 +0.0 + 10 +196.21452331542969 + 20 +195.38356018066406 + 30 +0.0 + 10 +196.10452270507812 + 20 +195.25108337402344 + 30 +0.0 + 10 +196.02204895019531 + 20 +195.09861755371094 + 30 +0.0 + 10 +195.96946716308594 + 20 +194.92855834960937 + 30 +0.0 + 10 +195.95205688476562 + 20 +194.74856567382812 + 30 +0.0 + 10 +195.969482421875 + 20 +194.56610107421875 + 30 +0.0 + 10 +196.02200317382812 + 20 +194.39862060546875 + 30 +0.0 + 10 +196.1044921875 + 20 +194.24610900878906 + 30 +0.0 + 10 +196.21453857421875 + 20 +194.11112976074219 + 30 +0.0 + 10 +196.34945678710937 + 20 +194.00112915039063 + 30 +0.0 + 10 +196.50199890136719 + 20 +193.91860961914062 + 30 +0.0 + 10 +196.66952514648437 + 20 +193.86610412597656 + 30 +0.0 + 10 +196.85197448730469 + 20 +193.84861755371094 + 30 +0.0 + 10 +196.85197448730469 + 20 +193.84861755371094 + 30 +0.0 + 0 +LWPOLYLINE + 5 +4F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +203.1495361328125 + 20 +193.84860229492187 + 30 +0.0 + 10 +203.33201599121094 + 20 +193.86613464355469 + 30 +0.0 + 10 +203.49949645996094 + 20 +193.91864013671875 + 30 +0.0 + 10 +203.65199279785156 + 20 +194.00112915039063 + 30 +0.0 + 10 +203.78697204589844 + 20 +194.11114501953125 + 30 +0.0 + 10 +203.89704895019531 + 20 +194.24610900878906 + 30 +0.0 + 10 +203.97947692871094 + 20 +194.39862060546875 + 30 +0.0 + 10 +204.03195190429687 + 20 +194.56610107421875 + 30 +0.0 + 10 +204.04949951171875 + 20 +194.74856567382812 + 30 +0.0 + 10 +204.03196716308594 + 20 +194.92855834960937 + 30 +0.0 + 10 +203.97956848144531 + 20 +195.09860229492187 + 30 +0.0 + 10 +203.89703369140625 + 20 +195.25114440917969 + 30 +0.0 + 10 +203.78695678710937 + 20 +195.38360595703125 + 30 +0.0 + 10 +203.65202331542969 + 20 +195.49359130859375 + 30 +0.0 + 10 +203.49949645996094 + 20 +195.57614135742187 + 30 +0.0 + 10 +203.33206176757812 + 20 +195.62860107421875 + 30 +0.0 + 10 +203.14952087402344 + 20 +195.64608764648437 + 30 +0.0 + 10 +202.96701049804687 + 20 +195.62861633300781 + 30 +0.0 + 10 +202.79945373535156 + 20 +195.57611083984375 + 30 +0.0 + 10 +202.6470947265625 + 20 +195.49366760253906 + 30 +0.0 + 10 +202.51202392578125 + 20 +195.38357543945312 + 30 +0.0 + 10 +202.40206909179687 + 20 +195.25114440917969 + 30 +0.0 + 10 +202.31953430175781 + 20 +195.09861755371094 + 30 +0.0 + 10 +202.26699829101562 + 20 +194.92860412597656 + 30 +0.0 + 10 +202.24945068359375 + 20 +194.74867248535156 + 30 +0.0 + 10 +202.26702880859375 + 20 +194.56611633300781 + 30 +0.0 + 10 +202.31950378417969 + 20 +194.39860534667969 + 30 +0.0 + 10 +202.402099609375 + 20 +194.24607849121094 + 30 +0.0 + 10 +202.51200866699219 + 20 +194.11116027832031 + 30 +0.0 + 10 +202.64703369140625 + 20 +194.0010986328125 + 30 +0.0 + 10 +202.79949951171875 + 20 +193.91860961914062 + 30 +0.0 + 10 +202.96701049804687 + 20 +193.86610412597656 + 30 +0.0 + 10 +203.1495361328125 + 20 +193.84860229492187 + 30 +0.0 + 10 +203.1495361328125 + 20 +193.84860229492187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +50 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +196.84947204589844 + 20 +204.35111999511719 + 30 +0.0 + 10 +197.03199768066406 + 20 +204.36859130859375 + 30 +0.0 + 10 +197.19947814941406 + 20 +204.42105102539062 + 30 +0.0 + 10 +197.35195922851562 + 20 +204.50357055664062 + 30 +0.0 + 10 +197.48696899414062 + 20 +204.61358642578125 + 30 +0.0 + 10 +197.59693908691406 + 20 +204.74609375 + 30 +0.0 + 10 +197.67947387695312 + 20 +204.89860534667969 + 30 +0.0 + 10 +197.73194885253906 + 20 +205.06858825683594 + 30 +0.0 + 10 +197.74948120117187 + 20 +205.24858093261719 + 30 +0.0 + 10 +197.73196411132812 + 20 +205.43110656738281 + 30 +0.0 + 10 +197.67950439453125 + 20 +205.59855651855469 + 30 +0.0 + 10 +197.596923828125 + 20 +205.7510986328125 + 30 +0.0 + 10 +197.48698425292969 + 20 +205.88612365722656 + 30 +0.0 + 10 +197.35194396972656 + 20 +205.99610900878906 + 30 +0.0 + 10 +197.19949340820312 + 20 +206.07859802246094 + 30 +0.0 + 10 +197.03192138671875 + 20 +206.13107299804687 + 30 +0.0 + 10 +196.84944152832031 + 20 +206.14862060546875 + 30 +0.0 + 10 +196.66690063476562 + 20 +206.131103515625 + 30 +0.0 + 10 +196.49948120117187 + 20 +206.07859802246094 + 30 +0.0 + 10 +196.344482421875 + 20 +205.99604797363281 + 30 +0.0 + 10 +196.21200561523437 + 20 +205.88607788085937 + 30 +0.0 + 10 +196.10191345214844 + 20 +205.7510986328125 + 30 +0.0 + 10 +196.01698303222656 + 20 +205.5986328125 + 30 +0.0 + 10 +195.96452331542969 + 20 +205.43112182617187 + 30 +0.0 + 10 +195.94699096679687 + 20 +205.24859619140625 + 30 +0.0 + 10 +195.96449279785156 + 20 +205.06855773925781 + 30 +0.0 + 10 +196.01693725585937 + 20 +204.89860534667969 + 30 +0.0 + 10 +196.10195922851562 + 20 +204.74609375 + 30 +0.0 + 10 +196.21202087402344 + 20 +204.61358642578125 + 30 +0.0 + 10 +196.34445190429687 + 20 +204.50358581542969 + 30 +0.0 + 10 +196.49949645996094 + 20 +204.42109680175781 + 30 +0.0 + 10 +196.66697692871094 + 20 +204.36859130859375 + 30 +0.0 + 10 +196.84947204589844 + 20 +204.35111999511719 + 30 +0.0 + 10 +196.84947204589844 + 20 +204.35111999511719 + 30 +0.0 + 0 +LWPOLYLINE + 5 +51 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +203.14700317382812 + 20 +204.34857177734375 + 30 +0.0 + 10 +203.32949829101562 + 20 +204.36613464355469 + 30 +0.0 + 10 +203.49697875976562 + 20 +204.41864013671875 + 30 +0.0 + 10 +203.64952087402344 + 20 +204.50106811523437 + 30 +0.0 + 10 +203.784423828125 + 20 +204.61106872558594 + 30 +0.0 + 10 +203.89450073242187 + 20 +204.74359130859375 + 30 +0.0 + 10 +203.97695922851563 + 20 +204.89604187011719 + 30 +0.0 + 10 +204.02949523925781 + 20 +205.0660400390625 + 30 +0.0 + 10 +204.04698181152344 + 20 +205.24612426757812 + 30 +0.0 + 10 +204.02951049804687 + 20 +205.42861938476562 + 30 +0.0 + 10 +203.97694396972656 + 20 +205.59609985351562 + 30 +0.0 + 10 +203.89447021484375 + 20 +205.74856567382812 + 30 +0.0 + 10 +203.784423828125 + 20 +205.88360595703125 + 30 +0.0 + 10 +203.64947509765625 + 20 +205.99357604980469 + 30 +0.0 + 10 +203.49699401855469 + 20 +206.07603454589844 + 30 +0.0 + 10 +203.3294677734375 + 20 +206.12857055664062 + 30 +0.0 + 10 +203.14698791503906 + 20 +206.14605712890625 + 30 +0.0 + 10 +202.96450805664062 + 20 +206.12858581542969 + 30 +0.0 + 10 +202.79696655273438 + 20 +206.07612609863281 + 30 +0.0 + 10 +202.64443969726562 + 20 +205.9935302734375 + 30 +0.0 + 10 +202.50949096679687 + 20 +205.88359069824219 + 30 +0.0 + 10 +202.39949035644531 + 20 +205.74858093261719 + 30 +0.0 + 10 +202.31694030761719 + 20 +205.59613037109375 + 30 +0.0 + 10 +202.26449584960937 + 20 +205.42863464355469 + 30 +0.0 + 10 +202.2469482421875 + 20 +205.24607849121094 + 30 +0.0 + 10 +202.26449584960937 + 20 +205.06610107421875 + 30 +0.0 + 10 +202.31695556640625 + 20 +204.89608764648437 + 30 +0.0 + 10 +202.3995361328125 + 20 +204.74359130859375 + 30 +0.0 + 10 +202.50950622558594 + 20 +204.61109924316406 + 30 +0.0 + 10 +202.64447021484375 + 20 +204.50105285644531 + 30 +0.0 + 10 +202.79692077636719 + 20 +204.41865539550781 + 30 +0.0 + 10 +202.96444702148437 + 20 +204.36605834960937 + 30 +0.0 + 10 +203.14700317382812 + 20 +204.34857177734375 + 30 +0.0 + 10 +203.14700317382812 + 20 +204.34857177734375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +52 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +66 + 70 +0 + 10 +199.99702453613281 + 20 +196.49856567382812 + 30 +0.0 + 10 +200.35447692871094 + 20 +196.51609802246094 + 30 +0.0 + 10 +200.7020263671875 + 20 +196.56857299804687 + 30 +0.0 + 10 +201.03948974609375 + 20 +196.6561279296875 + 30 +0.0 + 10 +201.35945129394531 + 20 +196.7735595703125 + 30 +0.0 + 10 +201.6669921875 + 20 +196.92111206054687 + 30 +0.0 + 10 +201.95449829101562 + 20 +197.09605407714844 + 30 +0.0 + 10 +202.2244873046875 + 20 +197.29862976074219 + 30 +0.0 + 10 +202.47447204589844 + 20 +197.52360534667969 + 30 +0.0 + 10 +202.69952392578125 + 20 +197.77354431152344 + 30 +0.0 + 10 +202.90200805664062 + 20 +198.04106140136719 + 30 +0.0 + 10 +203.0770263671875 + 20 +198.33108520507812 + 30 +0.0 + 10 +203.22445678710937 + 20 +198.63609313964844 + 30 +0.0 + 10 +203.342041015625 + 20 +198.95854187011719 + 30 +0.0 + 10 +203.42951965332031 + 20 +199.29360961914062 + 30 +0.0 + 10 +203.48197937011719 + 20 +199.64109802246094 + 30 +0.0 + 10 +203.49948120117187 + 20 +199.99861145019531 + 30 +0.0 + 10 +203.48196411132812 + 20 +200.35615539550781 + 30 +0.0 + 10 +203.42947387695312 + 20 +200.70359802246094 + 30 +0.0 + 10 +203.34205627441406 + 20 +201.03857421875 + 30 +0.0 + 10 +203.22444152832031 + 20 +201.36109924316406 + 30 +0.0 + 10 +203.07698059082031 + 20 +201.66606140136719 + 30 +0.0 + 10 +202.90203857421875 + 20 +201.95606994628906 + 30 +0.0 + 10 +202.69947814941406 + 20 +202.2236328125 + 30 +0.0 + 10 +202.47447204589844 + 20 +202.47355651855469 + 30 +0.0 + 10 +202.2244873046875 + 20 +202.69853210449219 + 30 +0.0 + 10 +201.95451354980469 + 20 +202.90104675292969 + 30 +0.0 + 10 +201.6669921875 + 20 +203.07601928710937 + 30 +0.0 + 10 +201.35948181152344 + 20 +203.22361755371094 + 30 +0.0 + 10 +201.03939819335937 + 20 +203.34107971191406 + 30 +0.0 + 10 +200.70195007324219 + 20 +203.42854309082031 + 30 +0.0 + 10 +200.35444641113281 + 20 +203.48106384277344 + 30 +0.0 + 10 +199.99696350097656 + 20 +203.49858093261719 + 30 +0.0 + 10 +199.63948059082031 + 20 +203.48110961914063 + 30 +0.0 + 10 +199.29193115234375 + 20 +203.42854309082031 + 30 +0.0 + 10 +198.95698547363281 + 20 +203.34111022949219 + 30 +0.0 + 10 +198.63449096679687 + 20 +203.22360229492187 + 30 +0.0 + 10 +198.32951354980469 + 20 +203.07611083984375 + 30 +0.0 + 10 +198.03950500488281 + 20 +202.90106201171875 + 30 +0.0 + 10 +197.77197265625 + 20 +202.6986083984375 + 30 +0.0 + 10 +197.52203369140625 + 20 +202.47361755371094 + 30 +0.0 + 10 +197.29698181152344 + 20 +202.22361755371094 + 30 +0.0 + 10 +197.094482421875 + 20 +201.95613098144531 + 30 +0.0 + 10 +196.91947937011719 + 20 +201.66610717773437 + 30 +0.0 + 10 +196.77201843261719 + 20 +201.36105346679687 + 30 +0.0 + 10 +196.65451049804687 + 20 +201.03861999511719 + 30 +0.0 + 10 +196.56700134277344 + 20 +200.70356750488281 + 30 +0.0 + 10 +196.5145263671875 + 20 +200.35612487792969 + 30 +0.0 + 10 +196.49697875976562 + 20 +199.99859619140625 + 30 +0.0 + 10 +196.51449584960937 + 20 +199.64109802246094 + 30 +0.0 + 10 +196.56700134277344 + 20 +199.29356384277344 + 30 +0.0 + 10 +196.65455627441406 + 20 +198.95854187011719 + 30 +0.0 + 10 +196.77201843261719 + 20 +198.63604736328125 + 30 +0.0 + 10 +196.91947937011719 + 20 +198.33108520507812 + 30 +0.0 + 10 +197.09446716308594 + 20 +198.0411376953125 + 30 +0.0 + 10 +197.29702758789063 + 20 +197.77349853515625 + 30 +0.0 + 10 +197.52203369140625 + 20 +197.52360534667969 + 30 +0.0 + 10 +197.77198791503906 + 20 +197.298583984375 + 30 +0.0 + 10 +198.03947448730469 + 20 +197.09605407714844 + 30 +0.0 + 10 +198.32957458496094 + 20 +196.92112731933594 + 30 +0.0 + 10 +198.63450622558594 + 20 +196.77362060546875 + 30 +0.0 + 10 +198.95703125 + 20 +196.65608215332031 + 30 +0.0 + 10 +199.29200744628906 + 20 +196.568603515625 + 30 +0.0 + 10 +199.63951110839844 + 20 +196.51611328125 + 30 +0.0 + 10 +199.99702453613281 + 20 +196.49856567382812 + 30 +0.0 + 10 +199.99702453613281 + 20 +196.49856567382812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +53 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +182 + 70 +0 + 10 +240.00064086914062 + 20 +199.99807739257812 + 30 +0.0 + 10 +239.97662353515625 + 20 +201.38638305664062 + 30 +0.0 + 10 +239.904296875 + 20 +202.77316284179687 + 30 +0.0 + 10 +239.78390502929687 + 20 +204.156494140625 + 30 +0.0 + 10 +239.61558532714844 + 20 +205.53485107421875 + 30 +0.0 + 10 +239.39956665039062 + 20 +206.90652465820312 + 30 +0.0 + 10 +239.13609313964844 + 20 +208.26985168457031 + 30 +0.0 + 10 +238.825439453125 + 20 +209.62322998046875 + 30 +0.0 + 10 +238.46791076660156 + 20 +210.96501159667969 + 30 +0.0 + 10 +238.06411743164062 + 20 +212.29362487792969 + 30 +0.0 + 10 +237.61445617675781 + 20 +213.60733032226562 + 30 +0.0 + 10 +237.11947631835937 + 20 +214.90467834472656 + 30 +0.0 + 10 +236.57966613769531 + 20 +216.18412780761719 + 30 +0.0 + 10 +235.99586486816406 + 20 +217.44400024414062 + 30 +0.0 + 10 +235.3687744140625 + 20 +218.68290710449219 + 30 +0.0 + 10 +234.69892883300781 + 20 +219.89923095703125 + 30 +0.0 + 10 +233.98731994628906 + 20 +221.09158325195312 + 30 +0.0 + 10 +233.23469543457031 + 20 +222.25857543945312 + 30 +0.0 + 10 +232.44212341308594 + 20 +223.39866638183594 + 30 +0.0 + 10 +231.61030578613281 + 20 +224.51071166992187 + 30 +0.0 + 10 +230.74049377441406 + 20 +225.59304809570312 + 30 +0.0 + 10 +229.83369445800781 + 20 +226.64457702636719 + 30 +0.0 + 10 +228.89100646972656 + 20 +227.6641845703125 + 30 +0.0 + 10 +227.91339111328125 + 20 +228.65022277832031 + 30 +0.0 + 10 +226.902099609375 + 20 +229.60183715820312 + 30 +0.0 + 10 +225.85850524902344 + 20 +230.5177001953125 + 30 +0.0 + 10 +224.78361511230469 + 20 +231.39688110351562 + 30 +0.0 + 10 +223.67886352539062 + 20 +232.23823547363281 + 30 +0.0 + 10 +222.54566955566406 + 20 +233.04069519042969 + 30 +0.0 + 10 +221.38531494140625 + 20 +233.80335998535156 + 30 +0.0 + 10 +220.19914245605469 + 20 +234.5252685546875 + 30 +0.0 + 10 +218.98867797851563 + 20 +235.20564270019531 + 30 +0.0 + 10 +217.7552490234375 + 20 +235.84356689453125 + 30 +0.0 + 10 +216.50051879882812 + 20 +236.43824768066406 + 30 +0.0 + 10 +215.225830078125 + 20 +236.98905944824219 + 30 +0.0 + 10 +213.932861328125 + 20 +237.49530029296875 + 30 +0.0 + 10 +212.62298583984375 + 20 +237.95632934570312 + 30 +0.0 + 10 +211.29794311523437 + 20 +238.37165832519531 + 30 +0.0 + 10 +209.95927429199219 + 20 +238.74072265625 + 30 +0.0 + 10 +208.60870361328125 + 20 +239.06317138671875 + 30 +0.0 + 10 +207.24765014648437 + 20 +239.33845520019531 + 30 +0.0 + 10 +205.87794494628906 + 20 +239.56639099121094 + 30 +0.0 + 10 +204.50111389160156 + 20 +239.74665832519531 + 30 +0.0 + 10 +203.11885070800781 + 20 +239.87895202636719 + 30 +0.0 + 10 +201.73283386230469 + 20 +239.96324157714844 + 30 +0.0 + 10 +200.34469604492187 + 20 +239.99937438964844 + 30 +0.0 + 10 +198.95616149902344 + 20 +239.98738098144531 + 30 +0.0 + 10 +197.56895446777344 + 20 +239.9271240234375 + 30 +0.0 + 10 +196.18455505371094 + 20 +239.81878662109375 + 30 +0.0 + 10 +194.80476379394531 + 20 +239.66244506835937 + 30 +0.0 + 10 +193.43132019042969 + 20 +239.45831298828125 + 30 +0.0 + 10 +192.06573486328125 + 20 +239.20668029785156 + 30 +0.0 + 10 +190.70965576171875 + 20 +238.90769958496094 + 30 +0.0 + 10 +189.36477661132812 + 20 +238.56195068359375 + 30 +0.0 + 10 +188.03274536132812 + 20 +238.16969299316406 + 30 +0.0 + 10 +186.71516418457031 + 20 +237.73139953613281 + 30 +0.0 + 10 +185.41363525390625 + 20 +237.24772644042969 + 30 +0.0 + 10 +184.12954711914063 + 20 +236.7191162109375 + 30 +0.0 + 10 +182.86463928222656 + 20 +236.14625549316406 + 30 +0.0 + 10 +181.62034606933594 + 20 +235.52986145019531 + 30 +0.0 + 10 +180.39826965332031 + 20 +234.87062072753906 + 30 +0.0 + 10 +179.19970703125 + 20 +234.16935729980469 + 30 +0.0 + 10 +178.02627563476562 + 20 +233.42695617675781 + 30 +0.0 + 10 +176.87931823730469 + 20 +232.64427185058594 + 30 +0.0 + 10 +175.76014709472656 + 20 +231.82225036621094 + 30 +0.0 + 10 +174.67027282714844 + 20 +230.96185302734375 + 30 +0.0 + 10 +173.61090087890625 + 20 +230.06416320800781 + 30 +0.0 + 10 +172.58332824707031 + 20 +229.13031005859375 + 30 +0.0 + 10 +171.58868408203125 + 20 +228.1612548828125 + 30 +0.0 + 10 +170.62838745117187 + 20 +227.15826416015625 + 30 +0.0 + 10 +169.70339965820312 + 20 +226.12255859375 + 30 +0.0 + 10 +168.81494140625 + 20 +225.05551147460937 + 30 +0.0 + 10 +167.964111328125 + 20 +223.95809936523437 + 30 +0.0 + 10 +167.15176391601562 + 20 +222.83192443847656 + 30 +0.0 + 10 +166.37913513183594 + 20 +221.67814636230469 + 30 +0.0 + 10 +165.64689636230469 + 20 +220.49830627441406 + 30 +0.0 + 10 +164.95610046386719 + 20 +219.29374694824219 + 30 +0.0 + 10 +164.30751037597656 + 20 +218.06599426269531 + 30 +0.0 + 10 +163.70191955566406 + 20 +216.81640625 + 30 +0.0 + 10 +163.14006042480469 + 20 +215.54655456542969 + 30 +0.0 + 10 +162.62266540527344 + 20 +214.25790405273437 + 30 +0.0 + 10 +162.15023803710937 + 20 +212.95228576660156 + 30 +0.0 + 10 +161.72348022460937 + 20 +211.63082885742187 + 30 +0.0 + 10 +161.34278869628906 + 20 +210.29544067382812 + 30 +0.0 + 10 +161.00868225097656 + 20 +208.94761657714844 + 30 +0.0 + 10 +160.7215576171875 + 20 +207.58903503417969 + 30 +0.0 + 10 +160.48178100585938 + 20 +206.221435546875 + 30 +0.0 + 10 +160.28961181640625 + 20 +204.84616088867187 + 30 +0.0 + 10 +160.14523315429688 + 20 +203.46510314941406 + 30 +0.0 + 10 +160.04885864257812 + 20 +202.07987976074219 + 30 +0.0 + 10 +160.00070190429688 + 20 +200.69210815429688 + 30 +0.0 + 10 +160.00074768066406 + 20 +199.30354309082031 + 30 +0.0 + 10 +160.04890441894531 + 20 +197.915771484375 + 30 +0.0 + 10 +160.14524841308594 + 20 +196.53057861328125 + 30 +0.0 + 10 +160.28958129882812 + 20 +195.14945983886719 + 30 +0.0 + 10 +160.48182678222656 + 20 +193.77427673339844 + 30 +0.0 + 10 +160.72158813476562 + 20 +192.40658569335938 + 30 +0.0 + 10 +161.00868225097656 + 20 +191.04801940917969 + 30 +0.0 + 10 +161.34281921386719 + 20 +189.7001953125 + 30 +0.0 + 10 +161.72349548339844 + 20 +188.36480712890625 + 30 +0.0 + 10 +162.1502685546875 + 20 +187.04344177246094 + 30 +0.0 + 10 +162.62269592285156 + 20 +185.7376708984375 + 30 +0.0 + 10 +163.14007568359375 + 20 +184.44911193847656 + 30 +0.0 + 10 +163.70195007324219 + 20 +183.17929077148437 + 30 +0.0 + 10 +164.30758666992187 + 20 +181.92977905273438 + 30 +0.0 + 10 +164.95620727539062 + 20 +180.70196533203125 + 30 +0.0 + 10 +165.64703369140625 + 20 +179.49748229980469 + 30 +0.0 + 10 +166.37925720214844 + 20 +178.317626953125 + 30 +0.0 + 10 +167.15188598632812 + 20 +177.16404724121094 + 30 +0.0 + 10 +167.96424865722656 + 20 +176.03782653808594 + 30 +0.0 + 10 +168.81503295898437 + 20 +174.94049072265625 + 30 +0.0 + 10 +169.70355224609375 + 20 +173.87339782714844 + 30 +0.0 + 10 +170.62846374511719 + 20 +172.83775329589844 + 30 +0.0 + 10 +171.58882141113281 + 20 +171.834716796875 + 30 +0.0 + 10 +172.58345031738281 + 20 +170.86572265625 + 30 +0.0 + 10 +173.61109924316406 + 20 +169.931884765625 + 30 +0.0 + 10 +174.67041015625 + 20 +169.03424072265625 + 30 +0.0 + 10 +175.76033020019531 + 20 +168.17384338378906 + 30 +0.0 + 10 +176.87953186035156 + 20 +167.35179138183594 + 30 +0.0 + 10 +178.02644348144531 + 20 +166.56907653808594 + 30 +0.0 + 10 +179.1998291015625 + 20 +165.82673645019531 + 30 +0.0 + 10 +180.39848327636719 + 20 +165.12550354003906 + 30 +0.0 + 10 +181.62052917480469 + 20 +164.46620178222656 + 30 +0.0 + 10 +182.86485290527344 + 20 +163.84989929199219 + 30 +0.0 + 10 +184.12979125976562 + 20 +163.27706909179687 + 30 +0.0 + 10 +185.41383361816406 + 20 +162.74844360351562 + 30 +0.0 + 10 +186.71540832519531 + 20 +162.26470947265625 + 30 +0.0 + 10 +188.03297424316406 + 20 +161.82650756835937 + 30 +0.0 + 10 +189.36502075195312 + 20 +161.43421936035156 + 30 +0.0 + 10 +190.7098388671875 + 20 +161.08840942382812 + 30 +0.0 + 10 +192.06590270996094 + 20 +160.78955078125 + 30 +0.0 + 10 +193.43153381347656 + 20 +160.53793334960937 + 30 +0.0 + 10 +194.80496215820312 + 20 +160.33377075195312 + 30 +0.0 + 10 +196.18472290039062 + 20 +160.17750549316406 + 30 +0.0 + 10 +197.56913757324219 + 20 +160.06915283203125 + 30 +0.0 + 10 +198.95637512207031 + 20 +160.00889587402344 + 30 +0.0 + 10 +200.34495544433594 + 20 +159.99684143066406 + 30 +0.0 + 10 +201.7330322265625 + 20 +160.03298950195312 + 30 +0.0 + 10 +203.11903381347656 + 20 +160.11729431152344 + 30 +0.0 + 10 +204.50125122070312 + 20 +160.24964904785156 + 30 +0.0 + 10 +205.87814331054687 + 20 +160.429931640625 + 30 +0.0 + 10 +207.24787902832031 + 20 +160.65786743164062 + 30 +0.0 + 10 +208.60890197753906 + 20 +160.93324279785156 + 30 +0.0 + 10 +209.95951843261719 + 20 +161.25558471679687 + 30 +0.0 + 10 +211.29818725585937 + 20 +161.62467956542969 + 30 +0.0 + 10 +212.62315368652344 + 20 +162.04000854492187 + 30 +0.0 + 10 +213.93310546875 + 20 +162.50106811523438 + 30 +0.0 + 10 +215.22602844238281 + 20 +163.00730895996094 + 30 +0.0 + 10 +216.50070190429687 + 20 +163.55810546875 + 30 +0.0 + 10 +217.75547790527344 + 20 +164.15284729003906 + 30 +0.0 + 10 +218.9888916015625 + 20 +164.79071044921875 + 30 +0.0 + 10 +220.19937133789062 + 20 +165.47105407714844 + 30 +0.0 + 10 +221.38554382324219 + 20 +166.19302368164062 + 30 +0.0 + 10 +222.54588317871094 + 20 +166.95564270019531 + 30 +0.0 + 10 +223.6790771484375 + 20 +167.75814819335938 + 30 +0.0 + 10 +224.7838134765625 + 20 +168.59945678710937 + 30 +0.0 + 10 +225.85868835449219 + 20 +169.47853088378906 + 30 +0.0 + 10 +226.90226745605469 + 20 +170.39453125 + 30 +0.0 + 10 +227.91357421875 + 20 +171.34611511230469 + 30 +0.0 + 10 +228.89115905761719 + 20 +172.332275390625 + 30 +0.0 + 10 +229.8338623046875 + 20 +173.35174560546875 + 30 +0.0 + 10 +230.74072265625 + 20 +174.40328979492187 + 30 +0.0 + 10 +231.61045837402344 + 20 +175.48567199707031 + 30 +0.0 + 10 +232.44221496582031 + 20 +176.5975341796875 + 30 +0.0 + 10 +233.23483276367188 + 20 +177.7376708984375 + 30 +0.0 + 10 +233.9874267578125 + 20 +178.90458679199219 + 30 +0.0 + 10 +234.698974609375 + 20 +180.096923828125 + 30 +0.0 + 10 +235.36888122558594 + 20 +181.31326293945312 + 30 +0.0 + 10 +235.99595642089844 + 20 +182.55209350585937 + 30 +0.0 + 10 +236.57975769042969 + 20 +183.81198120117187 + 30 +0.0 + 10 +237.11956787109375 + 20 +185.09140014648437 + 30 +0.0 + 10 +237.614501953125 + 20 +186.38873291015625 + 30 +0.0 + 10 +238.06417846679687 + 20 +187.70248413085937 + 30 +0.0 + 10 +238.46800231933594 + 20 +189.03109741210937 + 30 +0.0 + 10 +238.82548522949219 + 20 +190.37286376953125 + 30 +0.0 + 10 +239.13607788085937 + 20 +191.72627258300781 + 30 +0.0 + 10 +239.39964294433594 + 20 +193.08956909179687 + 30 +0.0 + 10 +239.61561584472656 + 20 +194.46128845214844 + 30 +0.0 + 10 +239.78392028808594 + 20 +195.839599609375 + 30 +0.0 + 10 +239.90432739257812 + 20 +197.22296142578125 + 30 +0.0 + 10 +239.97659301757812 + 20 +198.60969543457031 + 30 +0.0 + 10 +240.00064086914062 + 20 +199.99807739257812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +54 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +84 + 70 +0 + 10 +173.71615600585937 + 20 +214.46978759765625 + 30 +0.0 + 10 +173.22979736328125 + 20 +213.54898071289062 + 30 +0.0 + 10 +172.7755126953125 + 20 +212.61177062988281 + 30 +0.0 + 10 +172.35411071777344 + 20 +211.65939331054687 + 30 +0.0 + 10 +171.96612548828125 + 20 +210.69294738769531 + 30 +0.0 + 10 +171.61172485351562 + 20 +209.71359252929687 + 30 +0.0 + 10 +171.29168701171875 + 20 +208.72264099121094 + 30 +0.0 + 10 +171.006103515625 + 20 +207.7210693359375 + 30 +0.0 + 10 +170.75567626953125 + 20 +206.710205078125 + 30 +0.0 + 10 +170.54026794433594 + 20 +205.69131469726562 + 30 +0.0 + 10 +170.36045837402344 + 20 +204.66549682617187 + 30 +0.0 + 10 +170.21624755859375 + 20 +203.63412475585937 + 30 +0.0 + 10 +170.10795593261719 + 20 +202.59831237792969 + 30 +0.0 + 10 +170.03573608398437 + 20 +201.55935668945312 + 30 +0.0 + 10 +169.99961853027344 + 20 +200.51860046386719 + 30 +0.0 + 10 +169.99960327148437 + 20 +199.47714233398437 + 30 +0.0 + 10 +170.03573608398437 + 20 +198.43630981445312 + 30 +0.0 + 10 +170.10804748535156 + 20 +197.39739990234375 + 30 +0.0 + 10 +170.21632385253906 + 20 +196.36160278320312 + 30 +0.0 + 10 +170.36048889160156 + 20 +195.3302001953125 + 30 +0.0 + 10 +170.54029846191406 + 20 +194.30445861816406 + 30 +0.0 + 10 +170.75566101074219 + 20 +193.28544616699219 + 30 +0.0 + 10 +171.00614929199219 + 20 +192.27464294433594 + 30 +0.0 + 10 +171.29170227050781 + 20 +191.2730712890625 + 30 +0.0 + 10 +171.61178588867187 + 20 +190.28201293945312 + 30 +0.0 + 10 +171.88163757324219 + 20 +189.53642272949219 + 30 +0.0 + 10 +185.25314331054687 + 20 +197.25654602050781 + 30 +0.0 + 10 +185.17141723632812 + 20 +197.71435546875 + 30 +0.0 + 10 +185.07646179199219 + 20 +198.46484375 + 30 +0.0 + 10 +185.01693725585937 + 20 +199.22671508789062 + 30 +0.0 + 10 +184.99835205078125 + 20 +199.99952697753906 + 30 +0.0 + 10 +185.02005004882813 + 20 +200.77218627929687 + 30 +0.0 + 10 +185.07588195800781 + 20 +201.5338134765625 + 30 +0.0 + 10 +185.17129516601562 + 20 +202.28416442871094 + 30 +0.0 + 10 +185.302978515625 + 20 +203.02220153808594 + 30 +0.0 + 10 +185.47087097167969 + 20 +203.74795532226562 + 30 +0.0 + 10 +185.67373657226562 + 20 +204.45936584472656 + 30 +0.0 + 10 +185.90815734863281 + 20 +205.15538024902344 + 30 +0.0 + 10 +186.17755126953125 + 20 +205.83700561523437 + 30 +0.0 + 10 +186.47723388671875 + 20 +206.50111389160156 + 30 +0.0 + 10 +186.80853271484375 + 20 +207.14991760253906 + 30 +0.0 + 10 +187.16976928710937 + 20 +207.77566528320312 + 30 +0.0 + 10 +187.55917358398437 + 20 +208.38504028320312 + 30 +0.0 + 10 +187.97761535644531 + 20 +208.974853515625 + 30 +0.0 + 10 +188.42266845703125 + 20 +209.5406494140625 + 30 +0.0 + 10 +188.89544677734375 + 20 +210.08464050292969 + 30 +0.0 + 10 +189.38926696777344 + 20 +210.60487365722656 + 30 +0.0 + 10 +189.91307067871094 + 20 +211.10212707519531 + 30 +0.0 + 10 +190.45661926269531 + 20 +211.57353210449219 + 30 +0.0 + 10 +191.02198791503906 + 20 +212.01786804199219 + 30 +0.0 + 10 +191.61051940917969 + 20 +212.43727111816406 + 30 +0.0 + 10 +192.21971130371094 + 20 +212.82743835449219 + 30 +0.0 + 10 +192.84617614746094 + 20 +213.18746948242187 + 30 +0.0 + 10 +193.49319458007812 + 20 +213.51824951171875 + 30 +0.0 + 10 +194.15757751464844 + 20 +213.81886291503906 + 30 +0.0 + 10 +194.83909606933594 + 20 +214.08932495117187 + 30 +0.0 + 10 +195.0006103515625 + 20 +214.14361572265625 + 30 +0.0 + 10 +195.0006103515625 + 20 +229.57991027832031 + 30 +0.0 + 10 +194.04843139648437 + 20 +229.4044189453125 + 30 +0.0 + 10 +193.03134155273438 + 20 +229.18023681640625 + 30 +0.0 + 10 +192.0228271484375 + 20 +228.92092895507812 + 30 +0.0 + 10 +191.02363586425781 + 20 +228.62667846679687 + 30 +0.0 + 10 +190.03543090820312 + 20 +228.29798889160156 + 30 +0.0 + 10 +189.05926513671875 + 20 +227.93524169921875 + 30 +0.0 + 10 +188.09634399414062 + 20 +227.53877258300781 + 30 +0.0 + 10 +187.1475830078125 + 20 +227.10911560058594 + 30 +0.0 + 10 +186.21440124511719 + 20 +226.64680480957031 + 30 +0.0 + 10 +185.29782104492187 + 20 +226.15234375 + 30 +0.0 + 10 +184.39888000488281 + 20 +225.62651062011719 + 30 +0.0 + 10 +183.51882934570312 + 20 +225.06967163085937 + 30 +0.0 + 10 +182.65858459472656 + 20 +224.48265075683594 + 30 +0.0 + 10 +181.81930541992187 + 20 +223.86610412597656 + 30 +0.0 + 10 +181.00178527832031 + 20 +223.22084045410156 + 30 +0.0 + 10 +180.20722961425781 + 20 +222.54756164550781 + 30 +0.0 + 10 +179.4365234375 + 20 +221.84710693359375 + 30 +0.0 + 10 +178.69064331054687 + 20 +221.12042236328125 + 30 +0.0 + 10 +177.97032165527344 + 20 +220.36817932128906 + 30 +0.0 + 10 +177.27664184570312 + 20 +219.59144592285156 + 30 +0.0 + 10 +176.61026000976562 + 20 +218.791015625 + 30 +0.0 + 10 +175.97215270996094 + 20 +217.96807861328125 + 30 +0.0 + 10 +175.363037109375 + 20 +217.12339782714844 + 30 +0.0 + 10 +174.78349304199219 + 20 +216.25804138183594 + 30 +0.0 + 10 +174.23428344726562 + 20 +215.37321472167969 + 30 +0.0 + 10 +173.71615600585937 + 20 +214.46978759765625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +55 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +85 + 70 +0 + 10 +205.00057983398438 + 20 +214.13868713378906 + 30 +0.0 + 10 +205.15447998046875 + 20 +214.08621215820312 + 30 +0.0 + 10 +205.83740234375 + 20 +213.81898498535156 + 30 +0.0 + 10 +206.50022888183594 + 20 +213.51707458496094 + 30 +0.0 + 10 +207.14686584472656 + 20 +213.18708801269531 + 30 +0.0 + 10 +207.77598571777344 + 20 +212.82669067382812 + 30 +0.0 + 10 +208.38420104980469 + 20 +212.43516540527344 + 30 +0.0 + 10 +208.97184753417969 + 20 +212.01797485351562 + 30 +0.0 + 10 +209.53756713867187 + 20 +211.57301330566406 + 30 +0.0 + 10 +210.08279418945312 + 20 +211.10234069824219 + 30 +0.0 + 10 +210.60404968261719 + 20 +210.60504150390625 + 30 +0.0 + 10 +211.10035705566406 + 20 +210.084716796875 + 30 +0.0 + 10 +211.57046508789062 + 20 +209.53904724121094 + 30 +0.0 + 10 +212.0169677734375 + 20 +208.97238159179687 + 30 +0.0 + 10 +212.43421936035156 + 20 +208.38508605957031 + 30 +0.0 + 10 +212.82441711425781 + 20 +207.77587890625 + 30 +0.0 + 10 +213.18659973144531 + 20 +207.14820861816406 + 30 +0.0 + 10 +213.51737976074219 + 20 +206.50111389160156 + 30 +0.0 + 10 +213.8179931640625 + 20 +205.83674621582031 + 30 +0.0 + 10 +214.0863037109375 + 20 +205.156494140625 + 30 +0.0 + 10 +214.32101440429687 + 20 +204.45805358886719 + 30 +0.0 + 10 +214.52470397949219 + 20 +203.74581909179687 + 30 +0.0 + 10 +214.69166564941406 + 20 +203.02011108398437 + 30 +0.0 + 10 +214.82328796386719 + 20 +202.28303527832031 + 30 +0.0 + 10 +214.91819763183594 + 20 +201.53254699707031 + 30 +0.0 + 10 +214.97779846191406 + 20 +200.77066040039062 + 30 +0.0 + 10 +214.99638366699219 + 20 +199.99783325195312 + 30 +0.0 + 10 +214.97807312011719 + 20 +199.22604370117187 + 30 +0.0 + 10 +214.92012023925781 + 20 +198.46574401855469 + 30 +0.0 + 10 +214.82470703125 + 20 +197.71543884277344 + 30 +0.0 + 10 +214.74295043945312 + 20 +197.26033020019531 + 30 +0.0 + 10 +228.11433410644531 + 20 +189.54035949707031 + 30 +0.0 + 10 +228.20999145507812 + 20 +189.791015625 + 30 +0.0 + 10 +228.54713439941406 + 20 +190.7763671875 + 30 +0.0 + 10 +228.85000610351562 + 20 +191.77278137207031 + 30 +0.0 + 10 +229.11811828613281 + 20 +192.77914428710937 + 30 +0.0 + 10 +229.3511962890625 + 20 +193.79412841796875 + 30 +0.0 + 10 +229.54878234863281 + 20 +194.81666564941406 + 30 +0.0 + 10 +229.7108154296875 + 20 +195.84542846679687 + 30 +0.0 + 10 +229.8370361328125 + 20 +196.87911987304688 + 30 +0.0 + 10 +229.92726135253906 + 20 +197.91668701171875 + 30 +0.0 + 10 +229.98143005371094 + 20 +198.95669555664062 + 30 +0.0 + 10 +229.99957275390625 + 20 +199.99795532226562 + 30 +0.0 + 10 +229.98136901855469 + 20 +201.03929138183594 + 30 +0.0 + 10 +229.92723083496094 + 20 +202.07928466796875 + 30 +0.0 + 10 +229.83697509765625 + 20 +203.11680603027344 + 30 +0.0 + 10 +229.71083068847656 + 20 +204.15057373046875 + 30 +0.0 + 10 +229.54878234863281 + 20 +205.17935180664062 + 30 +0.0 + 10 +229.35113525390625 + 20 +206.20185852050781 + 30 +0.0 + 10 +229.11811828613281 + 20 +207.21690368652344 + 30 +0.0 + 10 +228.8499755859375 + 20 +208.22319030761719 + 30 +0.0 + 10 +228.54718017578125 + 20 +209.21965026855469 + 30 +0.0 + 10 +228.2099609375 + 20 +210.20494079589844 + 30 +0.0 + 10 +227.83866882324219 + 20 +211.177978515625 + 30 +0.0 + 10 +227.433837890625 + 20 +212.13758850097656 + 30 +0.0 + 10 +226.99591064453125 + 20 +213.08253479003906 + 30 +0.0 + 10 +226.52558898925781 + 20 +214.01162719726562 + 30 +0.0 + 10 +226.02323913574219 + 20 +214.92385864257812 + 30 +0.0 + 10 +225.4896240234375 + 20 +215.81814575195312 + 30 +0.0 + 10 +224.92514038085937 + 20 +216.69338989257812 + 30 +0.0 + 10 +224.33070373535156 + 20 +217.54847717285156 + 30 +0.0 + 10 +223.7069091796875 + 20 +218.38246154785156 + 30 +0.0 + 10 +223.05445861816406 + 20 +219.19424438476562 + 30 +0.0 + 10 +222.37440490722656 + 20 +219.98294067382812 + 30 +0.0 + 10 +221.66729736328125 + 20 +220.74757385253906 + 30 +0.0 + 10 +220.93406677246094 + 20 +221.48710632324219 + 30 +0.0 + 10 +220.17559814453125 + 20 +222.20083618164062 + 30 +0.0 + 10 +219.39300537109375 + 20 +222.88777160644531 + 30 +0.0 + 10 +218.58670043945312 + 20 +223.54716491699219 + 30 +0.0 + 10 +217.75828552246094 + 20 +224.17816162109375 + 30 +0.0 + 10 +216.90840148925781 + 20 +224.77998352050781 + 30 +0.0 + 10 +216.03805541992187 + 20 +225.35198974609375 + 30 +0.0 + 10 +215.14849853515625 + 20 +225.89344787597656 + 30 +0.0 + 10 +214.24063110351562 + 20 +226.40362548828125 + 30 +0.0 + 10 +213.31556701660156 + 20 +226.882080078125 + 30 +0.0 + 10 +212.37449645996094 + 20 +227.32818603515625 + 30 +0.0 + 10 +211.41841125488281 + 20 +227.74122619628906 + 30 +0.0 + 10 +210.44862365722656 + 20 +228.12086486816406 + 30 +0.0 + 10 +209.46630859375 + 20 +228.46672058105469 + 30 +0.0 + 10 +208.47256469726562 + 20 +228.77818298339844 + 30 +0.0 + 10 +207.46858215332031 + 20 +229.05497741699219 + 30 +0.0 + 10 +206.45558166503906 + 20 +229.29681396484375 + 30 +0.0 + 10 +205.4349365234375 + 20 +229.50334167480469 + 30 +0.0 + 10 +205.00054931640625 + 20 +229.57554626464844 + 30 +0.0 + 10 +205.00057983398438 + 20 +214.13868713378906 + 30 +0.0 + 0 +LWPOLYLINE + 5 +56 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +85 + 70 +0 + 10 +177.27677917480469 + 20 +180.40428161621094 + 30 +0.0 + 10 +177.97042846679687 + 20 +179.62751770019531 + 30 +0.0 + 10 +178.69071960449219 + 20 +178.87535095214844 + 30 +0.0 + 10 +179.4366455078125 + 20 +178.14859008789063 + 30 +0.0 + 10 +180.20733642578125 + 20 +177.44825744628906 + 30 +0.0 + 10 +181.00192260742187 + 20 +176.77494812011719 + 30 +0.0 + 10 +181.81936645507812 + 20 +176.12968444824219 + 30 +0.0 + 10 +182.65873718261719 + 20 +175.51327514648437 + 30 +0.0 + 10 +183.51898193359375 + 20 +174.92630004882812 + 30 +0.0 + 10 +184.39903259277344 + 20 +174.36940002441406 + 30 +0.0 + 10 +185.29795837402344 + 20 +173.84353637695312 + 30 +0.0 + 10 +186.21449279785156 + 20 +173.34918212890625 + 30 +0.0 + 10 +187.14768981933594 + 20 +172.88677978515625 + 30 +0.0 + 10 +188.09648132324219 + 20 +172.45724487304687 + 30 +0.0 + 10 +189.05938720703125 + 20 +172.06082153320312 + 30 +0.0 + 10 +190.03556823730469 + 20 +171.69798278808594 + 30 +0.0 + 10 +191.02381896972656 + 20 +171.36933898925781 + 30 +0.0 + 10 +192.02290344238281 + 20 +171.07524108886719 + 30 +0.0 + 10 +193.03152465820312 + 20 +170.81587219238281 + 30 +0.0 + 10 +194.04852294921875 + 20 +170.59164428710937 + 30 +0.0 + 10 +195.07272338867187 + 20 +170.40296936035156 + 30 +0.0 + 10 +196.102783203125 + 20 +170.24990844726562 + 30 +0.0 + 10 +197.13764953613281 + 20 +170.13259887695312 + 30 +0.0 + 10 +198.17596435546875 + 20 +170.05137634277344 + 30 +0.0 + 10 +199.21630859375 + 20 +170.00619506835937 + 30 +0.0 + 10 +200.25776672363281 + 20 +169.99722290039062 + 30 +0.0 + 10 +201.29891967773437 + 20 +170.02427673339844 + 30 +0.0 + 10 +202.33828735351562 + 20 +170.0875244140625 + 30 +0.0 + 10 +203.37509155273438 + 20 +170.18670654296875 + 30 +0.0 + 10 +204.40785217285156 + 20 +170.32196044921875 + 30 +0.0 + 10 +205.43505859375 + 20 +170.49288940429688 + 30 +0.0 + 10 +206.45574951171875 + 20 +170.69940185546875 + 30 +0.0 + 10 +207.46875 + 20 +170.94123840332031 + 30 +0.0 + 10 +208.47273254394531 + 20 +171.21797180175781 + 30 +0.0 + 10 +209.46647644042969 + 20 +171.52946472167969 + 30 +0.0 + 10 +210.44883728027344 + 20 +171.87527465820312 + 30 +0.0 + 10 +211.41860961914063 + 20 +172.25497436523437 + 30 +0.0 + 10 +212.37466430664062 + 20 +172.66790771484375 + 30 +0.0 + 10 +213.31575012207031 + 20 +173.11405944824219 + 30 +0.0 + 10 +214.24075317382812 + 20 +173.59245300292969 + 30 +0.0 + 10 +215.14866638183594 + 20 +174.10263061523437 + 30 +0.0 + 10 +216.0382080078125 + 20 +174.64418029785156 + 30 +0.0 + 10 +216.90855407714844 + 20 +175.21609497070312 + 30 +0.0 + 10 +217.75845336914062 + 20 +175.81793212890625 + 30 +0.0 + 10 +218.58682250976563 + 20 +176.448974609375 + 30 +0.0 + 10 +219.39314270019531 + 20 +177.10818481445312 + 30 +0.0 + 10 +220.17579650878906 + 20 +177.795166015625 + 30 +0.0 + 10 +220.93418884277344 + 20 +178.50883483886719 + 30 +0.0 + 10 +221.66743469238281 + 20 +179.24845886230469 + 30 +0.0 + 10 +222.37443542480469 + 20 +180.01304626464844 + 30 +0.0 + 10 +223.05455017089844 + 20 +180.80174255371094 + 30 +0.0 + 10 +223.11659240722656 + 20 +180.87890625 + 30 +0.0 + 10 +209.74198913574219 + 20 +188.60066223144531 + 30 +0.0 + 10 +209.53817749023437 + 20 +188.42385864257812 + 30 +0.0 + 10 +208.97274780273437 + 20 +187.97953796386719 + 30 +0.0 + 10 +208.38426208496094 + 20 +187.56013488769531 + 30 +0.0 + 10 +207.77497863769531 + 20 +187.16995239257812 + 30 +0.0 + 10 +207.14637756347656 + 20 +186.81120300292969 + 30 +0.0 + 10 +206.50144958496094 + 20 +186.47914123535156 + 30 +0.0 + 10 +205.83499145507812 + 20 +186.17982482910156 + 30 +0.0 + 10 +205.15353393554687 + 20 +185.90933227539062 + 30 +0.0 + 10 +204.45718383789063 + 20 +185.67333984375 + 30 +0.0 + 10 +203.7462158203125 + 20 +185.47187805175781 + 30 +0.0 + 10 +203.02047729492187 + 20 +185.30488586425781 + 30 +0.0 + 10 +202.28343200683594 + 20 +185.17315673828125 + 30 +0.0 + 10 +201.5316162109375 + 20 +185.07608032226562 + 30 +0.0 + 10 +200.76884460449219 + 20 +185.01998901367187 + 30 +0.0 + 10 +199.99822998046875 + 20 +185.00013732910156 + 30 +0.0 + 10 +199.22775268554687 + 20 +185.02066040039062 + 30 +0.0 + 10 +198.46392822265625 + 20 +185.07769775390625 + 30 +0.0 + 10 +197.713623046875 + 20 +185.17306518554688 + 30 +0.0 + 10 +196.97555541992187 + 20 +185.3048095703125 + 30 +0.0 + 10 +196.24980163574219 + 20 +185.47262573242187 + 30 +0.0 + 10 +195.53840637207031 + 20 +185.67550659179687 + 30 +0.0 + 10 +194.84019470214844 + 20 +185.91120910644531 + 30 +0.0 + 10 +194.16072082519531 + 20 +186.17933654785156 + 30 +0.0 + 10 +193.49444580078125 + 20 +186.48030090332031 + 30 +0.0 + 10 +192.84786987304688 + 20 +186.81027221679687 + 30 +0.0 + 10 +192.21998596191406 + 20 +187.17280578613281 + 30 +0.0 + 10 +191.61056518554688 + 20 +187.562255859375 + 30 +0.0 + 10 +191.02293395996094 + 20 +187.97938537597656 + 30 +0.0 + 10 +190.45707702636719 + 20 +188.42442321777344 + 30 +0.0 + 10 +190.25680541992187 + 20 +188.5985107421875 + 30 +0.0 + 10 +176.88311767578125 + 20 +180.87709045410156 + 30 +0.0 + 10 +177.27677917480469 + 20 +180.40428161621094 + 30 +0.0 + 0 +LWPOLYLINE + 5 +57 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +189.24998474121094 + 20 +233.35498046875 + 30 +0.0 + 10 +189.30499267578125 + 20 +233.17999267578125 + 30 +0.0 + 10 +189.37748718261719 + 20 +233.01748657226562 + 30 +0.0 + 10 +189.56248474121094 + 20 +232.71998596191406 + 30 +0.0 + 10 +189.7974853515625 + 20 +232.46748352050781 + 30 +0.0 + 10 +190.07249450683594 + 20 +232.26748657226562 + 30 +0.0 + 10 +190.22248840332031 + 20 +232.18748474121094 + 30 +0.0 + 10 +190.37998962402344 + 20 +232.12498474121094 + 30 +0.0 + 10 +190.54249572753906 + 20 +232.07498168945312 + 30 +0.0 + 10 +190.70748901367187 + 20 +232.04248046875 + 30 +0.0 + 10 +190.87998962402344 + 20 +232.02499389648437 + 30 +0.0 + 10 +191.052490234375 + 20 +232.02748107910156 + 30 +0.0 + 10 +191.22749328613281 + 20 +232.04498291015625 + 30 +0.0 + 10 +191.40248107910156 + 20 +232.08248901367187 + 30 +0.0 + 10 +191.57249450683594 + 20 +232.13748168945313 + 30 +0.0 + 10 +191.73248291015625 + 20 +232.20999145507812 + 30 +0.0 + 10 +192.02249145507812 + 20 +232.39498901367187 + 30 +0.0 + 10 +192.26748657226562 + 20 +232.62998962402344 + 30 +0.0 + 10 +192.46249389648437 + 20 +232.90748596191406 + 30 +0.0 + 10 +192.53749084472656 + 20 +233.05998229980469 + 30 +0.0 + 10 +192.59999084472656 + 20 +233.21748352050781 + 30 +0.0 + 10 +192.64498901367187 + 20 +233.38249206542969 + 30 +0.0 + 10 +192.677490234375 + 20 +233.552490234375 + 30 +0.0 + 10 +192.69248962402344 + 20 +233.72749328613281 + 30 +0.0 + 10 +192.68748474121094 + 20 +233.90248107910156 + 30 +0.0 + 10 +192.66748046875 + 20 +234.08248901367187 + 30 +0.0 + 10 +192.62998962402344 + 20 +234.25999450683594 + 30 +0.0 + 10 +192.57498168945312 + 20 +234.43498229980469 + 30 +0.0 + 10 +192.50248718261719 + 20 +234.59748840332031 + 30 +0.0 + 10 +192.31748962402344 + 20 +234.89498901367187 + 30 +0.0 + 10 +192.08248901367187 + 20 +235.14749145507812 + 30 +0.0 + 10 +191.8074951171875 + 20 +235.34748840332031 + 30 +0.0 + 10 +191.65998840332031 + 20 +235.427490234375 + 30 +0.0 + 10 +191.50248718261719 + 20 +235.489990234375 + 30 +0.0 + 10 +191.33998107910156 + 20 +235.53999328613281 + 30 +0.0 + 10 +191.1724853515625 + 20 +235.57249450683594 + 30 +0.0 + 10 +191.00248718261719 + 20 +235.58998107910156 + 30 +0.0 + 10 +190.82748413085937 + 20 +235.58749389648437 + 30 +0.0 + 10 +190.65248107910156 + 20 +235.56999206542969 + 30 +0.0 + 10 +190.47749328613281 + 20 +235.53248596191406 + 30 +0.0 + 10 +190.3074951171875 + 20 +235.47749328613281 + 30 +0.0 + 10 +190.14749145507812 + 20 +235.40498352050781 + 30 +0.0 + 10 +189.85748291015625 + 20 +235.21998596191406 + 30 +0.0 + 10 +189.61248779296875 + 20 +234.9849853515625 + 30 +0.0 + 10 +189.41749572753906 + 20 +234.70748901367187 + 30 +0.0 + 10 +189.34248352050781 + 20 +234.55499267578125 + 30 +0.0 + 10 +189.27998352050781 + 20 +234.39749145507812 + 30 +0.0 + 10 +189.2349853515625 + 20 +234.23248291015625 + 30 +0.0 + 10 +189.20248413085937 + 20 +234.06248474121094 + 30 +0.0 + 10 +189.18748474121094 + 20 +233.88748168945312 + 30 +0.0 + 10 +189.19248962402344 + 20 +233.71249389648437 + 30 +0.0 + 10 +189.21249389648437 + 20 +233.53248596191406 + 30 +0.0 + 10 +189.24998474121094 + 20 +233.35498046875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +58 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +65 + 70 +0 + 10 +174.01248168945312 + 20 +223.50999450683594 + 30 +0.0 + 10 +174.14749145507812 + 20 +223.38748168945312 + 30 +0.0 + 10 +174.29249572753906 + 20 +223.27998352050781 + 30 +0.0 + 10 +174.44248962402344 + 20 +223.18998718261719 + 30 +0.0 + 10 +174.60249328613281 + 20 +223.114990234375 + 30 +0.0 + 10 +174.76498413085937 + 20 +223.05747985839844 + 30 +0.0 + 10 +174.92999267578125 + 20 +223.01498413085937 + 30 +0.0 + 10 +175.09748840332031 + 20 +222.989990234375 + 30 +0.0 + 10 +175.26748657226562 + 20 +222.97998046875 + 30 +0.0 + 10 +175.43748474121094 + 20 +222.9849853515625 + 30 +0.0 + 10 +175.60499572753906 + 20 +223.00749206542969 + 30 +0.0 + 10 +175.76998901367187 + 20 +223.0474853515625 + 30 +0.0 + 10 +175.9324951171875 + 20 +223.10249328613281 + 30 +0.0 + 10 +176.08749389648437 + 20 +223.1724853515625 + 30 +0.0 + 10 +176.23748779296875 + 20 +223.25999450683594 + 30 +0.0 + 10 +176.37998962402344 + 20 +223.364990234375 + 30 +0.0 + 10 +176.51248168945313 + 20 +223.4849853515625 + 30 +0.0 + 10 +176.63249206542969 + 20 +223.61749267578125 + 30 +0.0 + 10 +176.73748779296875 + 20 +223.75999450683594 + 30 +0.0 + 10 +176.82498168945312 + 20 +223.90998840332031 + 30 +0.0 + 10 +176.89498901367187 + 20 +224.06498718261719 + 30 +0.0 + 10 +176.94998168945312 + 20 +224.22749328613281 + 30 +0.0 + 10 +176.989990234375 + 20 +224.39248657226562 + 30 +0.0 + 10 +177.01248168945312 + 20 +224.55998229980469 + 30 +0.0 + 10 +177.01748657226562 + 20 +224.72998046875 + 30 +0.0 + 10 +177.00749206542969 + 20 +224.89999389648437 + 30 +0.0 + 10 +176.98248291015625 + 20 +225.06748962402344 + 30 +0.0 + 10 +176.93998718261719 + 20 +225.23248291015625 + 30 +0.0 + 10 +176.88249206542969 + 20 +225.39498901367187 + 30 +0.0 + 10 +176.8074951171875 + 20 +225.55499267578125 + 30 +0.0 + 10 +176.71748352050781 + 20 +225.70498657226562 + 30 +0.0 + 10 +176.6099853515625 + 20 +225.84999084472656 + 30 +0.0 + 10 +176.48748779296875 + 20 +225.9849853515625 + 30 +0.0 + 10 +176.35249328613281 + 20 +226.10748291015625 + 30 +0.0 + 10 +176.20748901367187 + 20 +226.21498107910156 + 30 +0.0 + 10 +176.0574951171875 + 20 +226.30499267578125 + 30 +0.0 + 10 +175.89999389648437 + 20 +226.37998962402344 + 30 +0.0 + 10 +175.73748779296875 + 20 +226.43748474121094 + 30 +0.0 + 10 +175.56999206542969 + 20 +226.47998046875 + 30 +0.0 + 10 +175.40248107910156 + 20 +226.50498962402344 + 30 +0.0 + 10 +175.23248291015625 + 20 +226.51498413085937 + 30 +0.0 + 10 +175.06248474121094 + 20 +226.50749206542969 + 30 +0.0 + 10 +174.89498901367188 + 20 +226.4849853515625 + 30 +0.0 + 10 +174.72999572753906 + 20 +226.44749450683594 + 30 +0.0 + 10 +174.56999206542969 + 20 +226.39248657226562 + 30 +0.0 + 10 +174.41249084472656 + 20 +226.31999206542969 + 30 +0.0 + 10 +174.26248168945312 + 20 +226.23248291015625 + 30 +0.0 + 10 +174.1199951171875 + 20 +226.12998962402344 + 30 +0.0 + 10 +173.98748779296875 + 20 +226.00999450683594 + 30 +0.0 + 10 +173.86749267578125 + 20 +225.87748718261719 + 30 +0.0 + 10 +173.76498413085937 + 20 +225.7349853515625 + 30 +0.0 + 10 +173.677490234375 + 20 +225.58499145507812 + 30 +0.0 + 10 +173.60499572753906 + 20 +225.427490234375 + 30 +0.0 + 10 +173.54998779296875 + 20 +225.26748657226562 + 30 +0.0 + 10 +173.51248168945312 + 20 +225.10249328613281 + 30 +0.0 + 10 +173.489990234375 + 20 +224.93498229980469 + 30 +0.0 + 10 +173.48248291015625 + 20 +224.76498413085937 + 30 +0.0 + 10 +173.49249267578125 + 20 +224.59498596191406 + 30 +0.0 + 10 +173.51998901367188 + 20 +224.427490234375 + 30 +0.0 + 10 +173.56248474121094 + 20 +224.25999450683594 + 30 +0.0 + 10 +173.6199951171875 + 20 +224.09748840332031 + 30 +0.0 + 10 +173.69248962402344 + 20 +223.93998718261719 + 30 +0.0 + 10 +173.78498840332031 + 20 +223.78999328613281 + 30 +0.0 + 10 +173.88998413085937 + 20 +223.64498901367187 + 30 +0.0 + 10 +174.01248168945312 + 20 +223.50999450683594 + 30 +0.0 + 0 +LWPOLYLINE + 5 +59 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +165.739990234375 + 20 +207.364990234375 + 30 +0.0 + 10 +165.91749572753906 + 20 +207.32748413085937 + 30 +0.0 + 10 +166.09748840332031 + 20 +207.3074951171875 + 30 +0.0 + 10 +166.27249145507812 + 20 +207.302490234375 + 30 +0.0 + 10 +166.44749450683594 + 20 +207.31748962402344 + 30 +0.0 + 10 +166.61749267578125 + 20 +207.34999084472656 + 30 +0.0 + 10 +166.78248596191406 + 20 +207.39498901367188 + 30 +0.0 + 10 +166.93998718261719 + 20 +207.45748901367187 + 30 +0.0 + 10 +167.09248352050781 + 20 +207.53498840332031 + 30 +0.0 + 10 +167.3699951171875 + 20 +207.72749328613281 + 30 +0.0 + 10 +167.60499572753906 + 20 +207.97248840332031 + 30 +0.0 + 10 +167.78999328613281 + 20 +208.26248168945312 + 30 +0.0 + 10 +167.86248779296875 + 20 +208.42498779296875 + 30 +0.0 + 10 +167.91749572753906 + 20 +208.59498596191406 + 30 +0.0 + 10 +167.95498657226562 + 20 +208.76998901367188 + 30 +0.0 + 10 +167.97248840332031 + 20 +208.94499206542969 + 30 +0.0 + 10 +167.97499084472656 + 20 +209.11749267578125 + 30 +0.0 + 10 +167.95748901367187 + 20 +209.28749084472656 + 30 +0.0 + 10 +167.92498779296875 + 20 +209.45498657226562 + 30 +0.0 + 10 +167.87498474121094 + 20 +209.61749267578125 + 30 +0.0 + 10 +167.81248474121094 + 20 +209.77499389648437 + 30 +0.0 + 10 +167.73248291015625 + 20 +209.92498779296875 + 30 +0.0 + 10 +167.53248596191406 + 20 +210.19998168945312 + 30 +0.0 + 10 +167.27998352050781 + 20 +210.4324951171875 + 30 +0.0 + 10 +166.98248291015625 + 20 +210.6199951171875 + 30 +0.0 + 10 +166.81999206542969 + 20 +210.68998718261719 + 30 +0.0 + 10 +166.64498901367187 + 20 +210.74748229980469 + 30 +0.0 + 10 +166.46748352050781 + 20 +210.78498840332031 + 30 +0.0 + 10 +166.28749084472656 + 20 +210.80499267578125 + 30 +0.0 + 10 +166.11248779296875 + 20 +210.80998229980469 + 30 +0.0 + 10 +165.93748474121094 + 20 +210.79498291015625 + 30 +0.0 + 10 +165.76748657226562 + 20 +210.76248168945313 + 30 +0.0 + 10 +165.60249328613281 + 20 +210.71748352050781 + 30 +0.0 + 10 +165.44499206542969 + 20 +210.65498352050781 + 30 +0.0 + 10 +165.29249572753906 + 20 +210.57998657226562 + 30 +0.0 + 10 +165.01498413085937 + 20 +210.38499450683594 + 30 +0.0 + 10 +164.77998352050781 + 20 +210.13998413085937 + 30 +0.0 + 10 +164.59498596191406 + 20 +209.84999084472656 + 30 +0.0 + 10 +164.52249145507812 + 20 +209.68748474121094 + 30 +0.0 + 10 +164.46748352050781 + 20 +209.51748657226562 + 30 +0.0 + 10 +164.42999267578125 + 20 +209.34248352050781 + 30 +0.0 + 10 +164.41249084472656 + 20 +209.16748046875 + 30 +0.0 + 10 +164.40998840332031 + 20 +208.9949951171875 + 30 +0.0 + 10 +164.427490234375 + 20 +208.82249450683594 + 30 +0.0 + 10 +164.45999145507812 + 20 +208.65748596191406 + 30 +0.0 + 10 +164.50999450683594 + 20 +208.4949951171875 + 30 +0.0 + 10 +164.57249450683594 + 20 +208.33749389648437 + 30 +0.0 + 10 +164.65248107910156 + 20 +208.18748474121094 + 30 +0.0 + 10 +164.85249328613281 + 20 +207.91249084472656 + 30 +0.0 + 10 +165.10499572753906 + 20 +207.677490234375 + 30 +0.0 + 10 +165.40248107910156 + 20 +207.49249267578125 + 30 +0.0 + 10 +165.56498718261719 + 20 +207.41998291015625 + 30 +0.0 + 10 +165.739990234375 + 20 +207.364990234375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +166.64749145507812 + 20 +189.24748229980469 + 30 +0.0 + 10 +166.82249450683594 + 20 +189.302490234375 + 30 +0.0 + 10 +166.9849853515625 + 20 +189.37498474121094 + 30 +0.0 + 10 +167.28248596191406 + 20 +189.55998229980469 + 30 +0.0 + 10 +167.53498840332031 + 20 +189.79498291015625 + 30 +0.0 + 10 +167.7349853515625 + 20 +190.06999206542969 + 30 +0.0 + 10 +167.81498718261719 + 20 +190.21998596191406 + 30 +0.0 + 10 +167.87748718261719 + 20 +190.37748718261719 + 30 +0.0 + 10 +167.927490234375 + 20 +190.53999328613281 + 30 +0.0 + 10 +167.95999145507812 + 20 +190.70498657226562 + 30 +0.0 + 10 +167.97749328613281 + 20 +190.87748718261719 + 30 +0.0 + 10 +167.97499084472656 + 20 +191.04998779296875 + 30 +0.0 + 10 +167.95748901367187 + 20 +191.22499084472656 + 30 +0.0 + 10 +167.91998291015625 + 20 +191.39999389648437 + 30 +0.0 + 10 +167.864990234375 + 20 +191.56999206542969 + 30 +0.0 + 10 +167.79249572753906 + 20 +191.73248291015625 + 30 +0.0 + 10 +167.60748291015625 + 20 +192.02249145507812 + 30 +0.0 + 10 +167.3699951171875 + 20 +192.26748657226562 + 30 +0.0 + 10 +167.09248352050781 + 20 +192.46249389648437 + 30 +0.0 + 10 +166.93998718261719 + 20 +192.53749084472656 + 30 +0.0 + 10 +166.78248596191406 + 20 +192.59999084472656 + 30 +0.0 + 10 +166.61749267578125 + 20 +192.64498901367187 + 30 +0.0 + 10 +166.44749450683594 + 20 +192.677490234375 + 30 +0.0 + 10 +166.27249145507812 + 20 +192.69248962402344 + 30 +0.0 + 10 +166.09748840332031 + 20 +192.68748474121094 + 30 +0.0 + 10 +165.91749572753906 + 20 +192.66748046875 + 30 +0.0 + 10 +165.739990234375 + 20 +192.62998962402344 + 30 +0.0 + 10 +165.56498718261719 + 20 +192.57249450683594 + 30 +0.0 + 10 +165.40248107910156 + 20 +192.50248718261719 + 30 +0.0 + 10 +165.10499572753906 + 20 +192.31498718261719 + 30 +0.0 + 10 +164.85249328613281 + 20 +192.08248901367187 + 30 +0.0 + 10 +164.65498352050781 + 20 +191.8074951171875 + 30 +0.0 + 10 +164.57498168945313 + 20 +191.65748596191406 + 30 +0.0 + 10 +164.50999450683594 + 20 +191.49998474121094 + 30 +0.0 + 10 +164.46249389648437 + 20 +191.33749389648437 + 30 +0.0 + 10 +164.42999267578125 + 20 +191.16998291015625 + 30 +0.0 + 10 +164.41249084472656 + 20 +190.99998474121094 + 30 +0.0 + 10 +164.41249084472656 + 20 +190.82748413085937 + 30 +0.0 + 10 +164.4324951171875 + 20 +190.65248107910156 + 30 +0.0 + 10 +164.46998596191406 + 20 +190.47749328613281 + 30 +0.0 + 10 +164.52499389648437 + 20 +190.3074951171875 + 30 +0.0 + 10 +164.59748840332031 + 20 +190.14498901367187 + 30 +0.0 + 10 +164.78248596191406 + 20 +189.85499572753906 + 30 +0.0 + 10 +165.01748657226562 + 20 +189.6099853515625 + 30 +0.0 + 10 +165.29498291015625 + 20 +189.41749572753906 + 30 +0.0 + 10 +165.44749450683594 + 20 +189.33998107910156 + 30 +0.0 + 10 +165.60499572753906 + 20 +189.27748107910156 + 30 +0.0 + 10 +165.76998901367187 + 20 +189.23248291015625 + 30 +0.0 + 10 +165.93998718261719 + 20 +189.19998168945312 + 30 +0.0 + 10 +166.114990234375 + 20 +189.18498229980469 + 30 +0.0 + 10 +166.28999328613281 + 20 +189.18998718261719 + 30 +0.0 + 10 +166.46998596191406 + 20 +189.20999145507812 + 30 +0.0 + 10 +166.64749145507812 + 20 +189.24748229980469 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +65 + 70 +0 + 10 +176.489990234375 + 20 +174.00999450683594 + 30 +0.0 + 10 +176.61248779296875 + 20 +174.14498901367187 + 30 +0.0 + 10 +176.71998596191406 + 20 +174.28999328613281 + 30 +0.0 + 10 +176.80998229980469 + 20 +174.44248962402344 + 30 +0.0 + 10 +176.88499450683594 + 20 +174.59999084472656 + 30 +0.0 + 10 +176.94248962402344 + 20 +174.76248168945312 + 30 +0.0 + 10 +176.9849853515625 + 20 +174.927490234375 + 30 +0.0 + 10 +177.01248168945312 + 20 +175.09748840332031 + 30 +0.0 + 10 +177.02249145507812 + 20 +175.26498413085937 + 30 +0.0 + 10 +177.01498413085937 + 20 +175.43498229980469 + 30 +0.0 + 10 +176.99249267578125 + 20 +175.60249328613281 + 30 +0.0 + 10 +176.95498657226562 + 20 +175.76998901367187 + 30 +0.0 + 10 +176.89999389648437 + 20 +175.92999267578125 + 30 +0.0 + 10 +176.82748413085937 + 20 +176.08749389648437 + 30 +0.0 + 10 +176.739990234375 + 20 +176.23748779296875 + 30 +0.0 + 10 +176.63748168945313 + 20 +176.37998962402344 + 30 +0.0 + 10 +176.51748657226562 + 20 +176.51248168945313 + 30 +0.0 + 10 +176.38499450683594 + 20 +176.63249206542969 + 30 +0.0 + 10 +176.24249267578125 + 20 +176.7349853515625 + 30 +0.0 + 10 +176.09248352050781 + 20 +176.82249450683594 + 30 +0.0 + 10 +175.93498229980469 + 20 +176.89498901367187 + 30 +0.0 + 10 +175.77499389648437 + 20 +176.94998168945312 + 30 +0.0 + 10 +175.60748291015625 + 20 +176.98748779296875 + 30 +0.0 + 10 +175.43998718261719 + 20 +177.00999450683594 + 30 +0.0 + 10 +175.27249145507812 + 20 +177.01748657226562 + 30 +0.0 + 10 +175.10249328613281 + 20 +177.00749206542969 + 30 +0.0 + 10 +174.9324951171875 + 20 +176.97999572753906 + 30 +0.0 + 10 +174.76748657226562 + 20 +176.93748474121094 + 30 +0.0 + 10 +174.60499572753906 + 20 +176.87998962402344 + 30 +0.0 + 10 +174.44749450683594 + 20 +176.80499267578125 + 30 +0.0 + 10 +174.2974853515625 + 20 +176.71498107910156 + 30 +0.0 + 10 +174.15248107910156 + 20 +176.60748291015625 + 30 +0.0 + 10 +174.01748657226562 + 20 +176.4849853515625 + 30 +0.0 + 10 +173.89498901367187 + 20 +176.34999084472656 + 30 +0.0 + 10 +173.78749084472656 + 20 +176.20498657226562 + 30 +0.0 + 10 +173.69749450683594 + 20 +176.05499267578125 + 30 +0.0 + 10 +173.62248229980469 + 20 +175.89749145507812 + 30 +0.0 + 10 +173.56498718261719 + 20 +175.7349853515625 + 30 +0.0 + 10 +173.52249145507812 + 20 +175.56748962402344 + 30 +0.0 + 10 +173.4949951171875 + 20 +175.39999389648437 + 30 +0.0 + 10 +173.48748779296875 + 20 +175.22999572753906 + 30 +0.0 + 10 +173.49249267578125 + 20 +175.05998229980469 + 30 +0.0 + 10 +173.51498413085937 + 20 +174.89248657226562 + 30 +0.0 + 10 +173.552490234375 + 20 +174.72749328613281 + 30 +0.0 + 10 +173.60748291015625 + 20 +174.56748962402344 + 30 +0.0 + 10 +173.67999267578125 + 20 +174.40998840332031 + 30 +0.0 + 10 +173.76748657226562 + 20 +174.25999450683594 + 30 +0.0 + 10 +173.8699951171875 + 20 +174.11749267578125 + 30 +0.0 + 10 +173.989990234375 + 20 +173.9849853515625 + 30 +0.0 + 10 +174.12248229980469 + 20 +173.864990234375 + 30 +0.0 + 10 +174.26498413085937 + 20 +173.76248168945313 + 30 +0.0 + 10 +174.41499328613281 + 20 +173.67498779296875 + 30 +0.0 + 10 +174.57249450683594 + 20 +173.60249328613281 + 30 +0.0 + 10 +174.73248291015625 + 20 +173.5474853515625 + 30 +0.0 + 10 +174.89999389648437 + 20 +173.50999450683594 + 30 +0.0 + 10 +175.06748962402344 + 20 +173.48748779296875 + 30 +0.0 + 10 +175.23748779296875 + 20 +173.47999572753906 + 30 +0.0 + 10 +175.40498352050781 + 20 +173.489990234375 + 30 +0.0 + 10 +175.57498168945312 + 20 +173.51748657226562 + 30 +0.0 + 10 +175.739990234375 + 20 +173.55998229980469 + 30 +0.0 + 10 +175.90248107910156 + 20 +173.61749267578125 + 30 +0.0 + 10 +176.05998229980469 + 20 +173.68998718261719 + 30 +0.0 + 10 +176.20999145507812 + 20 +173.78248596191406 + 30 +0.0 + 10 +176.35499572753906 + 20 +173.88748168945313 + 30 +0.0 + 10 +176.489990234375 + 20 +174.00999450683594 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +192.63499450683594 + 20 +165.73748779296875 + 30 +0.0 + 10 +192.6724853515625 + 20 +165.91499328613281 + 30 +0.0 + 10 +192.69248962402344 + 20 +166.09498596191406 + 30 +0.0 + 10 +192.69749450683594 + 20 +166.26998901367188 + 30 +0.0 + 10 +192.6824951171875 + 20 +166.44499206542969 + 30 +0.0 + 10 +192.64999389648437 + 20 +166.614990234375 + 30 +0.0 + 10 +192.60498046875 + 20 +166.77998352050781 + 30 +0.0 + 10 +192.54248046875 + 20 +166.93748474121094 + 30 +0.0 + 10 +192.46748352050781 + 20 +167.08998107910156 + 30 +0.0 + 10 +192.27249145507812 + 20 +167.36749267578125 + 30 +0.0 + 10 +192.02748107910156 + 20 +167.60249328613281 + 30 +0.0 + 10 +191.73748779296875 + 20 +167.78749084472656 + 30 +0.0 + 10 +191.57748413085937 + 20 +167.8599853515625 + 30 +0.0 + 10 +191.40748596191406 + 20 +167.91499328613281 + 30 +0.0 + 10 +191.23248291015625 + 20 +167.95248413085937 + 30 +0.0 + 10 +191.0574951171875 + 20 +167.97248840332031 + 30 +0.0 + 10 +190.88249206542969 + 20 +167.97248840332031 + 30 +0.0 + 10 +190.71249389648437 + 20 +167.95498657226562 + 30 +0.0 + 10 +190.54498291015625 + 20 +167.9224853515625 + 30 +0.0 + 10 +190.38249206542969 + 20 +167.87498474121094 + 30 +0.0 + 10 +190.22499084472656 + 20 +167.80998229980469 + 30 +0.0 + 10 +190.07498168945313 + 20 +167.72999572753906 + 30 +0.0 + 10 +189.802490234375 + 20 +167.53248596191406 + 30 +0.0 + 10 +189.56748962402344 + 20 +167.27998352050781 + 30 +0.0 + 10 +189.38249206542969 + 20 +166.98248291015625 + 30 +0.0 + 10 +189.30998229980469 + 20 +166.81999206542969 + 30 +0.0 + 10 +189.25498962402344 + 20 +166.64498901367187 + 30 +0.0 + 10 +189.21748352050781 + 20 +166.46748352050781 + 30 +0.0 + 10 +189.19749450683594 + 20 +166.28749084472656 + 30 +0.0 + 10 +189.19248962402344 + 20 +166.11248779296875 + 30 +0.0 + 10 +189.20748901367187 + 20 +165.93748474121094 + 30 +0.0 + 10 +189.239990234375 + 20 +165.76748657226562 + 30 +0.0 + 10 +189.28498840332031 + 20 +165.60249328613281 + 30 +0.0 + 10 +189.34748840332031 + 20 +165.44499206542969 + 30 +0.0 + 10 +189.4224853515625 + 20 +165.29249572753906 + 30 +0.0 + 10 +189.61749267578125 + 20 +165.01498413085937 + 30 +0.0 + 10 +189.86248779296875 + 20 +164.77748107910156 + 30 +0.0 + 10 +190.15248107910156 + 20 +164.59248352050781 + 30 +0.0 + 10 +190.31248474121094 + 20 +164.51998901367187 + 30 +0.0 + 10 +190.48248291015625 + 20 +164.46498107910156 + 30 +0.0 + 10 +190.65748596191406 + 20 +164.427490234375 + 30 +0.0 + 10 +190.83248901367187 + 20 +164.40998840332031 + 30 +0.0 + 10 +191.00498962402344 + 20 +164.40748596191406 + 30 +0.0 + 10 +191.177490234375 + 20 +164.42498779296875 + 30 +0.0 + 10 +191.34248352050781 + 20 +164.45748901367187 + 30 +0.0 + 10 +191.50498962402344 + 20 +164.50749206542969 + 30 +0.0 + 10 +191.66249084472656 + 20 +164.56999206542969 + 30 +0.0 + 10 +191.81248474121094 + 20 +164.64999389648437 + 30 +0.0 + 10 +192.08749389648437 + 20 +164.84999084472656 + 30 +0.0 + 10 +192.32249450683594 + 20 +165.10249328613281 + 30 +0.0 + 10 +192.50749206542969 + 20 +165.39999389648437 + 30 +0.0 + 10 +192.57998657226562 + 20 +165.56248474121094 + 30 +0.0 + 10 +192.63499450683594 + 20 +165.73748779296875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +210.75248718261719 + 20 +166.64498901367187 + 30 +0.0 + 10 +210.69749450683594 + 20 +166.81999206542969 + 30 +0.0 + 10 +210.62498474121094 + 20 +166.98248291015625 + 30 +0.0 + 10 +210.43998718261719 + 20 +167.27998352050781 + 30 +0.0 + 10 +210.20498657226562 + 20 +167.53248596191406 + 30 +0.0 + 10 +209.92999267578125 + 20 +167.73248291015625 + 30 +0.0 + 10 +209.77998352050781 + 20 +167.81248474121094 + 30 +0.0 + 10 +209.62248229980469 + 20 +167.87498474121094 + 30 +0.0 + 10 +209.45999145507812 + 20 +167.92498779296875 + 30 +0.0 + 10 +209.29498291015625 + 20 +167.95748901367187 + 30 +0.0 + 10 +209.12248229980469 + 20 +167.97499084472656 + 30 +0.0 + 10 +208.94998168945312 + 20 +167.97248840332031 + 30 +0.0 + 10 +208.77499389648437 + 20 +167.95498657226562 + 30 +0.0 + 10 +208.59999084472656 + 20 +167.91749572753906 + 30 +0.0 + 10 +208.42999267578125 + 20 +167.86248779296875 + 30 +0.0 + 10 +208.26748657226562 + 20 +167.78999328613281 + 30 +0.0 + 10 +207.97749328613281 + 20 +167.60499572753906 + 30 +0.0 + 10 +207.73248291015625 + 20 +167.3699951171875 + 30 +0.0 + 10 +207.53999328613281 + 20 +167.09248352050781 + 30 +0.0 + 10 +207.46498107910156 + 20 +166.93998718261719 + 30 +0.0 + 10 +207.40248107910156 + 20 +166.78248596191406 + 30 +0.0 + 10 +207.35498046875 + 20 +166.61749267578125 + 30 +0.0 + 10 +207.32498168945313 + 20 +166.44749450683594 + 30 +0.0 + 10 +207.30998229980469 + 20 +166.27249145507812 + 30 +0.0 + 10 +207.31248474121094 + 20 +166.09748840332031 + 30 +0.0 + 10 +207.33499145507812 + 20 +165.91749572753906 + 30 +0.0 + 10 +207.37248229980469 + 20 +165.739990234375 + 30 +0.0 + 10 +207.427490234375 + 20 +165.56498718261719 + 30 +0.0 + 10 +207.49998474121094 + 20 +165.40248107910156 + 30 +0.0 + 10 +207.68498229980469 + 20 +165.10499572753906 + 30 +0.0 + 10 +207.91998291015625 + 20 +164.85249328613281 + 30 +0.0 + 10 +208.19248962402344 + 20 +164.65248107910156 + 30 +0.0 + 10 +208.34248352050781 + 20 +164.57249450683594 + 30 +0.0 + 10 +208.49998474121094 + 20 +164.50999450683594 + 30 +0.0 + 10 +208.66249084472656 + 20 +164.45999145507812 + 30 +0.0 + 10 +208.82998657226562 + 20 +164.427490234375 + 30 +0.0 + 10 +208.99998474121094 + 20 +164.40998840332031 + 30 +0.0 + 10 +209.17498779296875 + 20 +164.41249084472656 + 30 +0.0 + 10 +209.34999084472656 + 20 +164.42999267578125 + 30 +0.0 + 10 +209.52499389648437 + 20 +164.46748352050781 + 30 +0.0 + 10 +209.69499206542969 + 20 +164.52249145507812 + 30 +0.0 + 10 +209.85498046875 + 20 +164.59498596191406 + 30 +0.0 + 10 +210.14498901367187 + 20 +164.77998352050781 + 30 +0.0 + 10 +210.38998413085937 + 20 +165.01498413085937 + 30 +0.0 + 10 +210.58499145507812 + 20 +165.29249572753906 + 30 +0.0 + 10 +210.65998840332031 + 20 +165.44499206542969 + 30 +0.0 + 10 +210.72248840332031 + 20 +165.60249328613281 + 30 +0.0 + 10 +210.76748657226562 + 20 +165.76748657226562 + 30 +0.0 + 10 +210.79998779296875 + 20 +165.93748474121094 + 30 +0.0 + 10 +210.81498718261719 + 20 +166.11248779296875 + 30 +0.0 + 10 +210.80998229980469 + 20 +166.28749084472656 + 30 +0.0 + 10 +210.78999328613281 + 20 +166.46748352050781 + 30 +0.0 + 10 +210.75248718261719 + 20 +166.64498901367187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +65 + 70 +0 + 10 +225.989990234375 + 20 +176.489990234375 + 30 +0.0 + 10 +225.85498046875 + 20 +176.61248779296875 + 30 +0.0 + 10 +225.70999145507812 + 20 +176.71748352050781 + 30 +0.0 + 10 +225.55998229980469 + 20 +176.80998229980469 + 30 +0.0 + 10 +225.39999389648437 + 20 +176.88249206542969 + 30 +0.0 + 10 +225.23748779296875 + 20 +176.93998718261719 + 30 +0.0 + 10 +225.07249450683594 + 20 +176.98248291015625 + 30 +0.0 + 10 +224.90498352050781 + 20 +177.00999450683594 + 30 +0.0 + 10 +224.7349853515625 + 20 +177.01998901367187 + 30 +0.0 + 10 +224.56498718261719 + 20 +177.01248168945312 + 30 +0.0 + 10 +224.39749145507812 + 20 +176.989990234375 + 30 +0.0 + 10 +224.23248291015625 + 20 +176.95248413085937 + 30 +0.0 + 10 +224.06999206542969 + 20 +176.89749145507812 + 30 +0.0 + 10 +223.91499328613281 + 20 +176.82498168945312 + 30 +0.0 + 10 +223.76498413085937 + 20 +176.73748779296875 + 30 +0.0 + 10 +223.62248229980469 + 20 +176.63499450683594 + 30 +0.0 + 10 +223.489990234375 + 20 +176.51498413085937 + 30 +0.0 + 10 +223.36997985839844 + 20 +176.38249206542969 + 30 +0.0 + 10 +223.26498413085937 + 20 +176.239990234375 + 30 +0.0 + 10 +223.177490234375 + 20 +176.08998107910156 + 30 +0.0 + 10 +223.10748291015625 + 20 +175.9324951171875 + 30 +0.0 + 10 +223.052490234375 + 20 +175.77249145507812 + 30 +0.0 + 10 +223.01248168945312 + 20 +175.60748291015625 + 30 +0.0 + 10 +222.989990234375 + 20 +175.43998718261719 + 30 +0.0 + 10 +222.9849853515625 + 20 +175.26998901367187 + 30 +0.0 + 10 +222.99497985839844 + 20 +175.09999084472656 + 30 +0.0 + 10 +223.01998901367188 + 20 +174.9324951171875 + 30 +0.0 + 10 +223.06248474121094 + 20 +174.76498413085937 + 30 +0.0 + 10 +223.11997985839844 + 20 +174.60249328613281 + 30 +0.0 + 10 +223.19499206542969 + 20 +174.44499206542969 + 30 +0.0 + 10 +223.28498840332031 + 20 +174.29498291015625 + 30 +0.0 + 10 +223.39248657226562 + 20 +174.14999389648437 + 30 +0.0 + 10 +223.51498413085937 + 20 +174.01498413085937 + 30 +0.0 + 10 +223.64999389648437 + 20 +173.89248657226562 + 30 +0.0 + 10 +223.79498291015625 + 20 +173.78498840332031 + 30 +0.0 + 10 +223.94499206542969 + 20 +173.69499206542969 + 30 +0.0 + 10 +224.10249328613281 + 20 +173.6199951171875 + 30 +0.0 + 10 +224.26498413085937 + 20 +173.56248474121094 + 30 +0.0 + 10 +224.43247985839844 + 20 +173.51998901367188 + 30 +0.0 + 10 +224.59999084472656 + 20 +173.4949951171875 + 30 +0.0 + 10 +224.76998901367187 + 20 +173.4849853515625 + 30 +0.0 + 10 +224.93998718261719 + 20 +173.489990234375 + 30 +0.0 + 10 +225.10748291015625 + 20 +173.51248168945312 + 30 +0.0 + 10 +225.27249145507812 + 20 +173.552490234375 + 30 +0.0 + 10 +225.43247985839844 + 20 +173.60748291015625 + 30 +0.0 + 10 +225.58998107910156 + 20 +173.677490234375 + 30 +0.0 + 10 +225.739990234375 + 20 +173.76498413085937 + 30 +0.0 + 10 +225.88249206542969 + 20 +173.8699951171875 + 30 +0.0 + 10 +226.01498413085937 + 20 +173.989990234375 + 30 +0.0 + 10 +226.13499450683594 + 20 +174.12248229980469 + 30 +0.0 + 10 +226.23748779296875 + 20 +174.26498413085937 + 30 +0.0 + 10 +226.32498168945312 + 20 +174.41499328613281 + 30 +0.0 + 10 +226.39749145507812 + 20 +174.56999206542969 + 30 +0.0 + 10 +226.45248413085937 + 20 +174.73248291015625 + 30 +0.0 + 10 +226.489990234375 + 20 +174.89749145507812 + 30 +0.0 + 10 +226.51248168945312 + 20 +175.06498718261719 + 30 +0.0 + 10 +226.51998901367187 + 20 +175.2349853515625 + 30 +0.0 + 10 +226.50999450683594 + 20 +175.40498352050781 + 30 +0.0 + 10 +226.4849853515625 + 20 +175.57249450683594 + 30 +0.0 + 10 +226.44248962402344 + 20 +175.73748779296875 + 30 +0.0 + 10 +226.38499450683594 + 20 +175.89999389648437 + 30 +0.0 + 10 +226.30998229980469 + 20 +176.05998229980469 + 30 +0.0 + 10 +226.21998596191406 + 20 +176.20999145507812 + 30 +0.0 + 10 +226.11248779296875 + 20 +176.35499572753906 + 30 +0.0 + 10 +225.989990234375 + 20 +176.489990234375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +234.26248168945312 + 20 +192.63249206542969 + 30 +0.0 + 10 +234.08499145507812 + 20 +192.66998291015625 + 30 +0.0 + 10 +233.90498352050781 + 20 +192.68998718261719 + 30 +0.0 + 10 +233.72998046875 + 20 +192.69499206542969 + 30 +0.0 + 10 +233.55499267578125 + 20 +192.67999267578125 + 30 +0.0 + 10 +233.38499450683594 + 20 +192.64749145507812 + 30 +0.0 + 10 +233.21998596191406 + 20 +192.60249328613281 + 30 +0.0 + 10 +233.06248474121094 + 20 +192.53999328613281 + 30 +0.0 + 10 +232.90998840332031 + 20 +192.46498107910156 + 30 +0.0 + 10 +232.63249206542969 + 20 +192.26998901367187 + 30 +0.0 + 10 +232.39749145507812 + 20 +192.02499389648437 + 30 +0.0 + 10 +232.21249389648437 + 20 +191.7349853515625 + 30 +0.0 + 10 +232.13998413085937 + 20 +191.57498168945313 + 30 +0.0 + 10 +232.08499145507812 + 20 +191.40498352050781 + 30 +0.0 + 10 +232.0474853515625 + 20 +191.22998046875 + 30 +0.0 + 10 +232.02998352050781 + 20 +191.05499267578125 + 30 +0.0 + 10 +232.02748107910156 + 20 +190.87998962402344 + 30 +0.0 + 10 +232.04498291015625 + 20 +190.70999145507812 + 30 +0.0 + 10 +232.07748413085937 + 20 +190.54249572753906 + 30 +0.0 + 10 +232.12748718261719 + 20 +190.37998962402344 + 30 +0.0 + 10 +232.18998718261719 + 20 +190.22248840332031 + 30 +0.0 + 10 +232.26998901367187 + 20 +190.07249450683594 + 30 +0.0 + 10 +232.46998596191406 + 20 +189.79998779296875 + 30 +0.0 + 10 +232.72248840332031 + 20 +189.56498718261719 + 30 +0.0 + 10 +233.01998901367188 + 20 +189.37998962402344 + 30 +0.0 + 10 +233.18247985839844 + 20 +189.3074951171875 + 30 +0.0 + 10 +233.35748291015625 + 20 +189.25248718261719 + 30 +0.0 + 10 +233.53498840332031 + 20 +189.21498107910156 + 30 +0.0 + 10 +233.71498107910156 + 20 +189.19499206542969 + 30 +0.0 + 10 +233.88998413085937 + 20 +189.18998718261719 + 30 +0.0 + 10 +234.06498718261719 + 20 +189.20498657226562 + 30 +0.0 + 10 +234.2349853515625 + 20 +189.23748779296875 + 30 +0.0 + 10 +234.39999389648437 + 20 +189.28248596191406 + 30 +0.0 + 10 +234.55747985839844 + 20 +189.34498596191406 + 30 +0.0 + 10 +234.70999145507812 + 20 +189.41998291015625 + 30 +0.0 + 10 +234.98748779296875 + 20 +189.614990234375 + 30 +0.0 + 10 +235.22248840332031 + 20 +189.8599853515625 + 30 +0.0 + 10 +235.40748596191406 + 20 +190.14999389648437 + 30 +0.0 + 10 +235.47998046875 + 20 +190.30998229980469 + 30 +0.0 + 10 +235.53498840332031 + 20 +190.47999572753906 + 30 +0.0 + 10 +235.57249450683594 + 20 +190.65498352050781 + 30 +0.0 + 10 +235.58998107910156 + 20 +190.82998657226562 + 30 +0.0 + 10 +235.59248352050781 + 20 +191.00248718261719 + 30 +0.0 + 10 +235.57498168945313 + 20 +191.17498779296875 + 30 +0.0 + 10 +235.54248046875 + 20 +191.33998107910156 + 30 +0.0 + 10 +235.49249267578125 + 20 +191.50248718261719 + 30 +0.0 + 10 +235.42999267578125 + 20 +191.65998840332031 + 30 +0.0 + 10 +235.34999084472656 + 20 +191.80998229980469 + 30 +0.0 + 10 +235.14999389648437 + 20 +192.08499145507812 + 30 +0.0 + 10 +234.89749145507812 + 20 +192.31999206542969 + 30 +0.0 + 10 +234.59999084472656 + 20 +192.50498962402344 + 30 +0.0 + 10 +234.43748474121094 + 20 +192.57748413085937 + 30 +0.0 + 10 +234.26248168945312 + 20 +192.63249206542969 + 30 +0.0 + 0 +LWPOLYLINE + 5 +60 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +233.35498046875 + 20 +210.74998474121094 + 30 +0.0 + 10 +233.17999267578125 + 20 +210.69499206542969 + 30 +0.0 + 10 +233.01748657226562 + 20 +210.62248229980469 + 30 +0.0 + 10 +232.71998596191406 + 20 +210.43748474121094 + 30 +0.0 + 10 +232.46748352050781 + 20 +210.20248413085937 + 30 +0.0 + 10 +232.26748657226562 + 20 +209.927490234375 + 30 +0.0 + 10 +232.18748474121094 + 20 +209.77748107910156 + 30 +0.0 + 10 +232.12498474121094 + 20 +209.6199951171875 + 30 +0.0 + 10 +232.07498168945312 + 20 +209.45748901367188 + 30 +0.0 + 10 +232.04248046875 + 20 +209.29248046875 + 30 +0.0 + 10 +232.02499389648437 + 20 +209.1199951171875 + 30 +0.0 + 10 +232.02748107910156 + 20 +208.94749450683594 + 30 +0.0 + 10 +232.04498291015625 + 20 +208.77249145507812 + 30 +0.0 + 10 +232.08248901367187 + 20 +208.59748840332031 + 30 +0.0 + 10 +232.13748168945313 + 20 +208.427490234375 + 30 +0.0 + 10 +232.20999145507812 + 20 +208.26748657226562 + 30 +0.0 + 10 +232.39498901367187 + 20 +207.97749328613281 + 30 +0.0 + 10 +232.62998962402344 + 20 +207.73248291015625 + 30 +0.0 + 10 +232.90998840332031 + 20 +207.53749084472656 + 30 +0.0 + 10 +233.05998229980469 + 20 +207.46249389648437 + 30 +0.0 + 10 +233.21998596191406 + 20 +207.39999389648437 + 30 +0.0 + 10 +233.38499450683594 + 20 +207.35498046875 + 30 +0.0 + 10 +233.55499267578125 + 20 +207.32249450683594 + 30 +0.0 + 10 +233.72998046875 + 20 +207.3074951171875 + 30 +0.0 + 10 +233.90498352050781 + 20 +207.31248474121094 + 30 +0.0 + 10 +234.08499145507812 + 20 +207.33248901367187 + 30 +0.0 + 10 +234.26248168945312 + 20 +207.3699951171875 + 30 +0.0 + 10 +234.43748474121094 + 20 +207.42498779296875 + 30 +0.0 + 10 +234.59999084472656 + 20 +207.49748229980469 + 30 +0.0 + 10 +234.89749145507812 + 20 +207.6824951171875 + 30 +0.0 + 10 +235.14999389648437 + 20 +207.91748046875 + 30 +0.0 + 10 +235.34748840332031 + 20 +208.18998718261719 + 30 +0.0 + 10 +235.427490234375 + 20 +208.33998107910156 + 30 +0.0 + 10 +235.49249267578125 + 20 +208.49748229980469 + 30 +0.0 + 10 +235.53999328613281 + 20 +208.65998840332031 + 30 +0.0 + 10 +235.57249450683594 + 20 +208.82748413085937 + 30 +0.0 + 10 +235.58998107910156 + 20 +208.99748229980469 + 30 +0.0 + 10 +235.58998107910156 + 20 +209.1724853515625 + 30 +0.0 + 10 +235.56999206542969 + 20 +209.34748840332031 + 30 +0.0 + 10 +235.53248596191406 + 20 +209.52249145507812 + 30 +0.0 + 10 +235.47749328613281 + 20 +209.69248962402344 + 30 +0.0 + 10 +235.40498352050781 + 20 +209.85249328613281 + 30 +0.0 + 10 +235.21998596191406 + 20 +210.14248657226562 + 30 +0.0 + 10 +234.9849853515625 + 20 +210.38748168945312 + 30 +0.0 + 10 +234.70748901367187 + 20 +210.58248901367187 + 30 +0.0 + 10 +234.55499267578125 + 20 +210.65748596191406 + 30 +0.0 + 10 +234.39749145507812 + 20 +210.71998596191406 + 30 +0.0 + 10 +234.23248291015625 + 20 +210.76498413085937 + 30 +0.0 + 10 +234.06248474121094 + 20 +210.7974853515625 + 30 +0.0 + 10 +233.88748168945312 + 20 +210.81248474121094 + 30 +0.0 + 10 +233.71249389648437 + 20 +210.8074951171875 + 30 +0.0 + 10 +233.53248596191406 + 20 +210.78749084472656 + 30 +0.0 + 10 +233.35498046875 + 20 +210.74998474121094 + 30 +0.0 + 0 +LWPOLYLINE + 5 +61 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +65 + 70 +0 + 10 +223.51248168945313 + 20 +225.98748779296875 + 30 +0.0 + 10 +223.38998413085937 + 20 +225.85249328613281 + 30 +0.0 + 10 +223.28248596191406 + 20 +225.70748901367187 + 30 +0.0 + 10 +223.19248962402344 + 20 +225.55747985839844 + 30 +0.0 + 10 +223.11749267578125 + 20 +225.39749145507812 + 30 +0.0 + 10 +223.05998229980469 + 20 +225.2349853515625 + 30 +0.0 + 10 +223.01748657226562 + 20 +225.06999206542969 + 30 +0.0 + 10 +222.99249267578125 + 20 +224.90248107910156 + 30 +0.0 + 10 +222.98248291015625 + 20 +224.73248291015625 + 30 +0.0 + 10 +222.98748779296875 + 20 +224.56248474121094 + 30 +0.0 + 10 +223.00999450683594 + 20 +224.39498901367188 + 30 +0.0 + 10 +223.04998779296875 + 20 +224.22998046875 + 30 +0.0 + 10 +223.10498046875 + 20 +224.06748962402344 + 30 +0.0 + 10 +223.17498779296875 + 20 +223.91249084472656 + 30 +0.0 + 10 +223.26248168945312 + 20 +223.76248168945312 + 30 +0.0 + 10 +223.36749267578125 + 20 +223.61997985839844 + 30 +0.0 + 10 +223.48748779296875 + 20 +223.48748779296875 + 30 +0.0 + 10 +223.61997985839844 + 20 +223.36749267578125 + 30 +0.0 + 10 +223.76248168945312 + 20 +223.26248168945312 + 30 +0.0 + 10 +223.91249084472656 + 20 +223.17498779296875 + 30 +0.0 + 10 +224.06748962402344 + 20 +223.10498046875 + 30 +0.0 + 10 +224.22998046875 + 20 +223.04998779296875 + 30 +0.0 + 10 +224.39498901367188 + 20 +223.00999450683594 + 30 +0.0 + 10 +224.56248474121094 + 20 +222.98748779296875 + 30 +0.0 + 10 +224.73248291015625 + 20 +222.98248291015625 + 30 +0.0 + 10 +224.90248107910156 + 20 +222.99249267578125 + 30 +0.0 + 10 +225.06999206542969 + 20 +223.01748657226562 + 30 +0.0 + 10 +225.2349853515625 + 20 +223.05998229980469 + 30 +0.0 + 10 +225.39749145507812 + 20 +223.11749267578125 + 30 +0.0 + 10 +225.55747985839844 + 20 +223.19248962402344 + 30 +0.0 + 10 +225.70748901367187 + 20 +223.28248596191406 + 30 +0.0 + 10 +225.85249328613281 + 20 +223.38998413085937 + 30 +0.0 + 10 +225.98748779296875 + 20 +223.51248168945313 + 30 +0.0 + 10 +226.1099853515625 + 20 +223.64749145507812 + 30 +0.0 + 10 +226.21498107910156 + 20 +223.79248046875 + 30 +0.0 + 10 +226.30747985839844 + 20 +223.94248962402344 + 30 +0.0 + 10 +226.37998962402344 + 20 +224.09999084472656 + 30 +0.0 + 10 +226.43748474121094 + 20 +224.26248168945312 + 30 +0.0 + 10 +226.47998046875 + 20 +224.42999267578125 + 30 +0.0 + 10 +226.50749206542969 + 20 +224.59748840332031 + 30 +0.0 + 10 +226.51748657226562 + 20 +224.76748657226562 + 30 +0.0 + 10 +226.50999450683594 + 20 +224.93748474121094 + 30 +0.0 + 10 +226.48748779296875 + 20 +225.10498046875 + 30 +0.0 + 10 +226.44998168945312 + 20 +225.26998901367187 + 30 +0.0 + 10 +226.39498901367187 + 20 +225.42999267578125 + 30 +0.0 + 10 +226.32249450683594 + 20 +225.58749389648437 + 30 +0.0 + 10 +226.2349853515625 + 20 +225.73748779296875 + 30 +0.0 + 10 +226.13249206542969 + 20 +225.87998962402344 + 30 +0.0 + 10 +226.01248168945312 + 20 +226.01248168945312 + 30 +0.0 + 10 +225.87998962402344 + 20 +226.13249206542969 + 30 +0.0 + 10 +225.73748779296875 + 20 +226.2349853515625 + 30 +0.0 + 10 +225.58749389648437 + 20 +226.32249450683594 + 30 +0.0 + 10 +225.42999267578125 + 20 +226.39498901367187 + 30 +0.0 + 10 +225.26998901367187 + 20 +226.44998168945312 + 30 +0.0 + 10 +225.10498046875 + 20 +226.48748779296875 + 30 +0.0 + 10 +224.93748474121094 + 20 +226.50999450683594 + 30 +0.0 + 10 +224.76748657226562 + 20 +226.51748657226562 + 30 +0.0 + 10 +224.59748840332031 + 20 +226.50749206542969 + 30 +0.0 + 10 +224.42999267578125 + 20 +226.48248291015625 + 30 +0.0 + 10 +224.26248168945312 + 20 +226.43998718261719 + 30 +0.0 + 10 +224.09999084472656 + 20 +226.38249206542969 + 30 +0.0 + 10 +223.94248962402344 + 20 +226.30747985839844 + 30 +0.0 + 10 +223.79248046875 + 20 +226.21748352050781 + 30 +0.0 + 10 +223.64749145507812 + 20 +226.1099853515625 + 30 +0.0 + 10 +223.51248168945313 + 20 +225.98748779296875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +62 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +53 + 70 +0 + 10 +207.36749267578125 + 20 +234.25999450683594 + 30 +0.0 + 10 +207.32998657226562 + 20 +234.08248901367187 + 30 +0.0 + 10 +207.30998229980469 + 20 +233.90248107910156 + 30 +0.0 + 10 +207.30499267578125 + 20 +233.72749328613281 + 30 +0.0 + 10 +207.31999206542969 + 20 +233.552490234375 + 30 +0.0 + 10 +207.35249328613281 + 20 +233.38249206542969 + 30 +0.0 + 10 +207.39749145507812 + 20 +233.21748352050781 + 30 +0.0 + 10 +207.45999145507812 + 20 +233.05998229980469 + 30 +0.0 + 10 +207.53498840332031 + 20 +232.90748596191406 + 30 +0.0 + 10 +207.72998046875 + 20 +232.62998962402344 + 30 +0.0 + 10 +207.97499084472656 + 20 +232.39498901367187 + 30 +0.0 + 10 +208.26498413085937 + 20 +232.20999145507812 + 30 +0.0 + 10 +208.42498779296875 + 20 +232.13748168945313 + 30 +0.0 + 10 +208.59498596191406 + 20 +232.08248901367187 + 30 +0.0 + 10 +208.76998901367188 + 20 +232.04498291015625 + 30 +0.0 + 10 +208.94499206542969 + 20 +232.02748107910156 + 30 +0.0 + 10 +209.1199951171875 + 20 +232.02499389648437 + 30 +0.0 + 10 +209.28999328613281 + 20 +232.04248046875 + 30 +0.0 + 10 +209.45748901367188 + 20 +232.07498168945312 + 30 +0.0 + 10 +209.6199951171875 + 20 +232.12498474121094 + 30 +0.0 + 10 +209.77748107910156 + 20 +232.18748474121094 + 30 +0.0 + 10 +209.92498779296875 + 20 +232.26748657226562 + 30 +0.0 + 10 +210.19998168945312 + 20 +232.46748352050781 + 30 +0.0 + 10 +210.43498229980469 + 20 +232.71998596191406 + 30 +0.0 + 10 +210.6199951171875 + 20 +233.01748657226562 + 30 +0.0 + 10 +210.69248962402344 + 20 +233.17999267578125 + 30 +0.0 + 10 +210.74748229980469 + 20 +233.35498046875 + 30 +0.0 + 10 +210.78749084472656 + 20 +233.53248596191406 + 30 +0.0 + 10 +210.8074951171875 + 20 +233.71249389648437 + 30 +0.0 + 10 +210.80998229980469 + 20 +233.88748168945312 + 30 +0.0 + 10 +210.79498291015625 + 20 +234.06248474121094 + 30 +0.0 + 10 +210.76498413085937 + 20 +234.23248291015625 + 30 +0.0 + 10 +210.71998596191406 + 20 +234.39749145507812 + 30 +0.0 + 10 +210.65748596191406 + 20 +234.55499267578125 + 30 +0.0 + 10 +210.57998657226562 + 20 +234.70748901367187 + 30 +0.0 + 10 +210.38748168945312 + 20 +234.9849853515625 + 30 +0.0 + 10 +210.14248657226562 + 20 +235.21998596191406 + 30 +0.0 + 10 +209.85249328613281 + 20 +235.40498352050781 + 30 +0.0 + 10 +209.68998718261719 + 20 +235.47749328613281 + 30 +0.0 + 10 +209.51998901367187 + 20 +235.53248596191406 + 30 +0.0 + 10 +209.34498596191406 + 20 +235.56999206542969 + 30 +0.0 + 10 +209.16998291015625 + 20 +235.58749389648437 + 30 +0.0 + 10 +208.99748229980469 + 20 +235.58998107910156 + 30 +0.0 + 10 +208.82498168945312 + 20 +235.57249450683594 + 30 +0.0 + 10 +208.65998840332031 + 20 +235.53999328613281 + 30 +0.0 + 10 +208.49748229980469 + 20 +235.489990234375 + 30 +0.0 + 10 +208.33998107910156 + 20 +235.427490234375 + 30 +0.0 + 10 +208.18998718261719 + 20 +235.34748840332031 + 30 +0.0 + 10 +207.91499328613281 + 20 +235.14749145507812 + 30 +0.0 + 10 +207.67999267578125 + 20 +234.89498901367187 + 30 +0.0 + 10 +207.4949951171875 + 20 +234.59748840332031 + 30 +0.0 + 10 +207.4224853515625 + 20 +234.43498229980469 + 30 +0.0 + 10 +207.36749267578125 + 20 +234.25999450683594 + 30 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +OBJECTS + 0 +DICTIONARY + 5 +C +100 +AcDbDictionary +280 +0 +281 +1 + 3 +ACAD_GROUP +350 +D + 3 +ACAD_LAYOUT +350 +1A + 3 +ACAD_MLINESTYLE +350 +17 + 3 +ACAD_PLOTSETTINGS +350 +19 + 3 +ACAD_PLOTSTYLENAME +350 +E + 3 +AcDbVariableDictionary +350 +63 + 0 +DICTIONARY + 5 +D +100 +AcDbDictionary +280 +0 +281 +1 + 0 +ACDBDICTIONARYWDFLT + 5 +E +100 +AcDbDictionary +281 +1 + 3 +Normal +350 +F +100 +AcDbDictionaryWithDefault +340 +F + 0 +ACDBPLACEHOLDER + 5 +F + 0 +DICTIONARY + 5 +17 +100 +AcDbDictionary +280 +0 +281 +1 + 3 +Standard +350 +18 + 0 +MLINESTYLE + 5 +18 +100 +AcDbMlineStyle + 2 +STANDARD + 70 +0 + 3 + + 62 +256 + 51 +90.0 + 52 +90.0 + 71 +2 + 49 +0.5 + 62 +256 + 6 +BYLAYER + 49 +-0.5 + 62 +256 + 6 +BYLAYER + 0 +DICTIONARY + 5 +19 +100 +AcDbDictionary +280 +0 +281 +1 + 0 +DICTIONARY + 5 +1A +100 +AcDbDictionary +281 +1 + 3 +Layout1 +350 +1E + 3 +Layout2 +350 +26 + 3 +Model +350 +22 + 0 +LAYOUT + 5 +1E +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout1 + 70 +1 + 71 +1 + 10 +0.0 + 20 +0.0 + 11 +420.0 + 21 +297.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +100000000000000000000.0 + 24 +100000000000000000000.0 + 34 +100000000000000000000.0 + 15 +-100000000000000000000.0 + 25 +-100000000000000000000.0 + 35 +-100000000000000000000.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1B + 0 +LAYOUT + 5 +22 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +1712 + 72 +0 + 73 +0 + 74 +0 + 7 + + 75 +0 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Model + 70 +1 + 71 +0 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1F + 0 +LAYOUT + 5 +26 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout2 + 70 +1 + 71 +2 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +23 + 0 +DICTIONARY + 5 +63 +100 +AcDbDictionary +281 +1 + 3 +DIMASSOC +350 +65 + 3 +HIDETEXT +350 +64 + 0 +DICTIONARYVAR + 5 +64 +100 +DictionaryVariables +280 +0 + 1 +2 + 0 +DICTIONARYVAR + 5 +65 +100 +DictionaryVariables +280 +0 + 1 +1 + 0 +ENDSEC + 0 +EOF diff --git a/莱洛三角结构/V1莱洛三角形10cm.dxf b/莱洛三角结构/V1莱洛三角形10cm.dxf new file mode 100644 index 0000000..a187d8a --- /dev/null +++ b/莱洛三角结构/V1莱洛三角形10cm.dxf @@ -0,0 +1,6304 @@ +999 +dxflib 3.17.0.0 + 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1015 + 9 +$HANDSEED + 5 +FFFF + 9 +$INSUNITS + 70 +4 + 9 +$DIMEXE + 40 +1.25 + 9 +$TEXTSTYLE + 7 +Standard + 9 +$LIMMIN + 10 +0.0 + 20 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +TABLES + 0 +TABLE + 2 +VPORT + 5 +8 +100 +AcDbSymbolTable + 70 +1 + 0 +VPORT + 5 +30 +100 +AcDbSymbolTableRecord +100 +AcDbViewportTableRecord + 2 +*Active + 70 +0 + 10 +0.0 + 20 +0.0 + 11 +1.0 + 21 +1.0 + 12 +286.30555555555549 + 22 +148.5 + 13 +0.0 + 23 +0.0 + 14 +10.0 + 24 +10.0 + 15 +10.0 + 25 +10.0 + 16 +0.0 + 26 +0.0 + 36 +1.0 + 17 +0.0 + 27 +0.0 + 37 +0.0 + 40 +297.0 + 41 +1.92798353909465 + 42 +50.0 + 43 +0.0 + 44 +0.0 + 50 +0.0 + 51 +0.0 + 71 +0 + 72 +100 + 73 +1 + 74 +3 + 75 +1 + 76 +1 + 77 +0 + 78 +0 +281 +0 + 65 +1 +110 +0.0 +120 +0.0 +130 +0.0 +111 +1.0 +121 +0.0 +131 +0.0 +112 +0.0 +122 +1.0 +132 +0.0 + 79 +0 +146 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LTYPE + 5 +5 +100 +AcDbSymbolTable + 70 +25 + 0 +LTYPE + 5 +14 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYBLOCK + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +15 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYLAYER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +16 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CONTINUOUS + 70 +0 + 3 +Solid line + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +31 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO02W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +32 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO03W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +33 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO04W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +34 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO05W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +35 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +36 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +37 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +38 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +39 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3A +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3B +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3C +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3D +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3E +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3F +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +40 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHEDX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +41 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +42 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +43 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDEX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +44 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +45 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +46 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LAYER + 5 +2 +100 +AcDbSymbolTable + 70 +1 + 0 +LAYER + 5 +10 +100 +AcDbSymbolTableRecord +100 +AcDbLayerTableRecord + 2 +0 + 70 +0 + 62 +-1 +420 +0 + 6 +CONTINUOUS +370 +1 +390 +F + 0 +ENDTAB + 0 +STYLE + 5 +47 +100 +AcDbSymbolTableRecord +100 +AcDbTextStyleTableRecord + 2 + + 70 +0 + 40 +0.0 + 41 +0.0 + 50 +0.0 + 71 +0 + 42 +0.0 + 3 + + 4 + +1001 +ACAD +1000 + +1071 +0 + 0 +TABLE + 2 +VIEW + 5 +6 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +UCS + 5 +7 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +APPID + 5 +9 +100 +AcDbSymbolTable + 70 +1 + 0 +APPID + 5 +12 +100 +AcDbSymbolTableRecord +100 +AcDbRegAppTableRecord + 2 +ACAD + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +DIMSTYLE + 5 +A +100 +AcDbSymbolTable + 70 +1 +100 +AcDbDimStyleTable + 71 +0 + 0 +DIMSTYLE +105 +27 +100 +AcDbSymbolTableRecord +100 +AcDbDimStyleTableRecord + 2 +Standard + 41 +1.0 + 42 +1.0 + 43 +3.75 + 44 +1.0 + 70 +0 + 73 +0 + 74 +0 + 77 +1 + 78 +8 +140 +1.0 +141 +2.5 +143 +0.03937007874016 +147 +1.0 +171 +3 +172 +1 +271 +2 +272 +2 +274 +3 +278 +44 +283 +0 +284 +8 +340 +0 + 0 +ENDTAB + 0 +TABLE + 2 +BLOCK_RECORD + 5 +1 +100 +AcDbSymbolTable + 70 +1 + 0 +BLOCK_RECORD + 5 +1F +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Model_Space +340 +22 + 0 +BLOCK_RECORD + 5 +1B +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space +340 +1E + 0 +BLOCK_RECORD + 5 +23 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space0 +340 +26 + 0 +BLOCK_RECORD + 5 +48 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock1 +340 +0 + 0 +BLOCK_RECORD + 5 +49 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock2 +340 +0 + 0 +ENDTAB + 0 +ENDSEC + 0 +SECTION + 2 +BLOCKS + 0 +BLOCK + 5 +20 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Model_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Model_Space + 1 + + 0 +ENDBLK + 5 +21 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +1C +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space + 1 + + 0 +ENDBLK + 5 +1D +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +24 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space0 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space0 + 1 + + 0 +ENDBLK + 5 +25 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4A +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock1 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock1 + 1 + + 0 +ENDBLK + 5 +4B +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4C +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock2 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock2 + 1 + + 0 +ENDBLK + 5 +4D +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +ENDSEC + 0 +SECTION + 2 +ENTITIES + 0 +LWPOLYLINE + 5 +4E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +74 + 70 +0 + 10 +284.80203247070312 + 20 +192.24354553222656 + 30 +0.0 + 10 +284.80850219726562 + 20 +191.97709655761719 + 30 +0.0 + 10 +284.82794189453125 + 20 +191.71273803710937 + 30 +0.0 + 10 +284.90814208984375 + 20 +191.19496154785156 + 30 +0.0 + 10 +285.03598022460937 + 20 +190.69659423828125 + 30 +0.0 + 10 +285.21145629882812 + 20 +190.21995544433594 + 30 +0.0 + 10 +285.43032836914062 + 20 +189.764892578125 + 30 +0.0 + 10 +285.69027709960937 + 20 +189.3359375 + 30 +0.0 + 10 +285.98931884765625 + 20 +188.93719482421875 + 30 +0.0 + 10 +286.32513427734375 + 20 +188.56669616699219 + 30 +0.0 + 10 +286.69354248046875 + 20 +188.23100280761719 + 30 +0.0 + 10 +287.09426879882812 + 20 +187.931884765625 + 30 +0.0 + 10 +287.5233154296875 + 20 +187.67195129394531 + 30 +0.0 + 10 +287.97830200195312 + 20 +187.453125 + 30 +0.0 + 10 +288.45498657226562 + 20 +187.27757263183594 + 30 +0.0 + 10 +288.95333862304687 + 20 +187.14974975585937 + 30 +0.0 + 10 +289.47122192382812 + 20 +187.06954956054687 + 30 +0.0 + 10 +289.7332763671875 + 20 +187.05009460449219 + 30 +0.0 + 10 +290.001953125 + 20 +187.04367065429687 + 30 +0.0 + 10 +290.2685546875 + 20 +187.05012512207031 + 30 +0.0 + 10 +290.53280639648437 + 20 +187.06954956054687 + 30 +0.0 + 10 +291.05068969726562 + 20 +187.14976501464844 + 30 +0.0 + 10 +291.54898071289062 + 20 +187.27754211425781 + 30 +0.0 + 10 +292.02560424804687 + 20 +187.453125 + 30 +0.0 + 10 +292.48068237304687 + 20 +187.67193603515625 + 30 +0.0 + 10 +292.90963745117187 + 20 +187.931884765625 + 30 +0.0 + 10 +293.308349609375 + 20 +188.23100280761719 + 30 +0.0 + 10 +293.67877197265625 + 20 +188.56669616699219 + 30 +0.0 + 10 +294.01467895507812 + 20 +188.93727111816406 + 30 +0.0 + 10 +294.3135986328125 + 20 +189.33592224121094 + 30 +0.0 + 10 +294.57363891601562 + 20 +189.76495361328125 + 30 +0.0 + 10 +294.79241943359375 + 20 +190.21995544433594 + 30 +0.0 + 10 +294.96798706054687 + 20 +190.69667053222656 + 30 +0.0 + 10 +295.0958251953125 + 20 +191.19488525390625 + 30 +0.0 + 10 +295.17379760742187 + 20 +191.71058654785156 + 30 +0.0 + 10 +295.19540405273438 + 20 +191.9749755859375 + 30 +0.0 + 10 +295.20196533203125 + 20 +192.24360656738281 + 30 +0.0 + 10 +295.19546508789063 + 20 +192.51220703125 + 30 +0.0 + 10 +295.17599487304687 + 20 +192.77444458007812 + 30 +0.0 + 10 +295.09588623046875 + 20 +193.29222106933594 + 30 +0.0 + 10 +294.96795654296875 + 20 +193.79061889648437 + 30 +0.0 + 10 +294.79244995117187 + 20 +194.26727294921875 + 30 +0.0 + 10 +294.57363891601562 + 20 +194.72225952148437 + 30 +0.0 + 10 +294.31362915039062 + 20 +195.15119934082031 + 30 +0.0 + 10 +294.01461791992187 + 20 +195.55207824707031 + 30 +0.0 + 10 +293.67877197265625 + 20 +195.92050170898437 + 30 +0.0 + 10 +293.30831909179687 + 20 +196.25627136230469 + 30 +0.0 + 10 +292.90960693359375 + 20 +196.55526733398438 + 30 +0.0 + 10 +292.48068237304687 + 20 +196.81527709960937 + 30 +0.0 + 10 +292.02560424804687 + 20 +197.0340576171875 + 30 +0.0 + 10 +291.5467529296875 + 20 +197.20957946777344 + 30 +0.0 + 10 +291.0484619140625 + 20 +197.33744812011719 + 30 +0.0 + 10 +290.53271484375 + 20 +197.41755676269531 + 30 +0.0 + 10 +290.2684326171875 + 20 +197.43705749511719 + 30 +0.0 + 10 +290.001953125 + 20 +197.44358825683594 + 30 +0.0 + 10 +289.73333740234375 + 20 +197.43702697753906 + 30 +0.0 + 10 +289.47116088867187 + 20 +197.41755676269531 + 30 +0.0 + 10 +288.95330810546875 + 20 +197.33735656738281 + 30 +0.0 + 10 +288.45498657226562 + 20 +197.2095947265625 + 30 +0.0 + 10 +287.97830200195312 + 20 +197.0340576171875 + 30 +0.0 + 10 +287.5233154296875 + 20 +196.81529235839844 + 30 +0.0 + 10 +287.09426879882812 + 20 +196.55523681640625 + 30 +0.0 + 10 +286.6934814453125 + 20 +196.25627136230469 + 30 +0.0 + 10 +286.32516479492187 + 20 +195.92042541503906 + 30 +0.0 + 10 +285.98934936523437 + 20 +195.552001953125 + 30 +0.0 + 10 +285.69024658203125 + 20 +195.15119934082031 + 30 +0.0 + 10 +285.43032836914062 + 20 +194.72227478027344 + 30 +0.0 + 10 +285.21145629882812 + 20 +194.26727294921875 + 30 +0.0 + 10 +285.03598022460937 + 20 +193.79055786132812 + 30 +0.0 + 10 +284.90814208984375 + 20 +193.292236328125 + 30 +0.0 + 10 +284.82797241210937 + 20 +192.77435302734375 + 30 +0.0 + 10 +284.80850219726562 + 20 +192.51217651367188 + 30 +0.0 + 10 +284.80203247070312 + 20 +192.24354553222656 + 30 +0.0 + 10 +284.80203247070312 + 20 +192.24354553222656 + 30 +0.0 + 0 +LWPOLYLINE + 5 +4F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +285.09954833984375 + 20 +199.49606323242187 + 30 +0.0 + 10 +285.11709594726562 + 20 +199.31349182128906 + 30 +0.0 + 10 +285.16958618164062 + 20 +199.14605712890625 + 30 +0.0 + 10 +285.25210571289062 + 20 +198.99354553222656 + 30 +0.0 + 10 +285.362060546875 + 20 +198.85850524902344 + 30 +0.0 + 10 +285.49710083007812 + 20 +198.74847412109375 + 30 +0.0 + 10 +285.64950561523437 + 20 +198.66606140136719 + 30 +0.0 + 10 +285.81710815429687 + 20 +198.61360168457031 + 30 +0.0 + 10 +285.99960327148437 + 20 +198.59605407714844 + 30 +0.0 + 10 +286.18206787109375 + 20 +198.61354064941406 + 30 +0.0 + 10 +286.34957885742187 + 20 +198.66600036621094 + 30 +0.0 + 10 +286.50213623046875 + 20 +198.74847412109375 + 30 +0.0 + 10 +286.63705444335937 + 20 +198.85848999023437 + 30 +0.0 + 10 +286.74703979492187 + 20 +198.99356079101562 + 30 +0.0 + 10 +286.82962036132812 + 20 +199.14605712890625 + 30 +0.0 + 10 +286.88214111328125 + 20 +199.31349182128906 + 30 +0.0 + 10 +286.89956665039063 + 20 +199.49604797363281 + 30 +0.0 + 10 +286.88204956054687 + 20 +199.67857360839844 + 30 +0.0 + 10 +286.82958984375 + 20 +199.8460693359375 + 30 +0.0 + 10 +286.74710083007812 + 20 +199.99855041503906 + 30 +0.0 + 10 +286.63711547851562 + 20 +200.13352966308594 + 30 +0.0 + 10 +286.5020751953125 + 20 +200.2435302734375 + 30 +0.0 + 10 +286.34957885742187 + 20 +200.32609558105469 + 30 +0.0 + 10 +286.18209838867187 + 20 +200.37850952148437 + 30 +0.0 + 10 +285.99954223632812 + 20 +200.39605712890625 + 30 +0.0 + 10 +285.81704711914062 + 20 +200.37855529785156 + 30 +0.0 + 10 +285.64956665039062 + 20 +200.32603454589844 + 30 +0.0 + 10 +285.4970703125 + 20 +200.2435302734375 + 30 +0.0 + 10 +285.36203002929687 + 20 +200.13352966308594 + 30 +0.0 + 10 +285.25210571289062 + 20 +199.99855041503906 + 30 +0.0 + 10 +285.16958618164062 + 20 +199.84603881835937 + 30 +0.0 + 10 +285.1170654296875 + 20 +199.67851257324219 + 30 +0.0 + 10 +285.09954833984375 + 20 +199.49606323242187 + 30 +0.0 + 10 +285.09954833984375 + 20 +199.49606323242187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +50 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +293.09957885742187 + 20 +199.49606323242187 + 30 +0.0 + 10 +293.11700439453125 + 20 +199.31352233886719 + 30 +0.0 + 10 +293.1695556640625 + 20 +199.14616394042969 + 30 +0.0 + 10 +293.25204467773437 + 20 +198.99357604980469 + 30 +0.0 + 10 +293.362060546875 + 20 +198.85853576660156 + 30 +0.0 + 10 +293.49710083007812 + 20 +198.74858093261719 + 30 +0.0 + 10 +293.64956665039062 + 20 +198.666015625 + 30 +0.0 + 10 +293.81704711914062 + 20 +198.613525390625 + 30 +0.0 + 10 +293.99957275390625 + 20 +198.59609985351562 + 30 +0.0 + 10 +294.18206787109375 + 20 +198.61360168457031 + 30 +0.0 + 10 +294.34954833984375 + 20 +198.66610717773437 + 30 +0.0 + 10 +294.50201416015625 + 20 +198.74851989746094 + 30 +0.0 + 10 +294.6370849609375 + 20 +198.8585205078125 + 30 +0.0 + 10 +294.7470703125 + 20 +198.99359130859375 + 30 +0.0 + 10 +294.82958984375 + 20 +199.14610290527344 + 30 +0.0 + 10 +294.88211059570312 + 20 +199.3135986328125 + 30 +0.0 + 10 +294.8995361328125 + 20 +199.49615478515625 + 30 +0.0 + 10 +294.88211059570312 + 20 +199.67852783203125 + 30 +0.0 + 10 +294.82958984375 + 20 +199.84608459472656 + 30 +0.0 + 10 +294.74703979492187 + 20 +199.99853515625 + 30 +0.0 + 10 +294.63711547851562 + 20 +200.133544921875 + 30 +0.0 + 10 +294.50210571289062 + 20 +200.24354553222656 + 30 +0.0 + 10 +294.34954833984375 + 20 +200.32603454589844 + 30 +0.0 + 10 +294.18206787109375 + 20 +200.3785400390625 + 30 +0.0 + 10 +293.99957275390625 + 20 +200.39605712890625 + 30 +0.0 + 10 +293.81710815429687 + 20 +200.37855529785156 + 30 +0.0 + 10 +293.64950561523437 + 20 +200.32601928710937 + 30 +0.0 + 10 +293.4970703125 + 20 +200.24357604980469 + 30 +0.0 + 10 +293.362060546875 + 20 +200.13352966308594 + 30 +0.0 + 10 +293.2520751953125 + 20 +199.9986572265625 + 30 +0.0 + 10 +293.16952514648437 + 20 +199.8460693359375 + 30 +0.0 + 10 +293.1170654296875 + 20 +199.67852783203125 + 30 +0.0 + 10 +293.09957885742187 + 20 +199.49606323242187 + 30 +0.0 + 10 +293.09957885742187 + 20 +199.49606323242187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +51 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +285.10211181640625 + 20 +185.00100708007812 + 30 +0.0 + 10 +285.11959838867187 + 20 +184.81857299804687 + 30 +0.0 + 10 +285.17208862304688 + 20 +184.65110778808594 + 30 +0.0 + 10 +285.25460815429687 + 20 +184.49859619140625 + 30 +0.0 + 10 +285.3646240234375 + 20 +184.3636474609375 + 30 +0.0 + 10 +285.49713134765625 + 20 +184.25352478027344 + 30 +0.0 + 10 +285.64959716796875 + 20 +184.17111206054687 + 30 +0.0 + 10 +285.81954956054687 + 20 +184.11856079101562 + 30 +0.0 + 10 +285.99957275390625 + 20 +184.10102844238281 + 30 +0.0 + 10 +286.18209838867187 + 20 +184.11856079101562 + 30 +0.0 + 10 +286.34957885742187 + 20 +184.17109680175781 + 30 +0.0 + 10 +286.50213623046875 + 20 +184.25352478027344 + 30 +0.0 + 10 +286.63714599609375 + 20 +184.3636474609375 + 30 +0.0 + 10 +286.7470703125 + 20 +184.49851989746094 + 30 +0.0 + 10 +286.82965087890625 + 20 +184.65109252929687 + 30 +0.0 + 10 +286.88211059570312 + 20 +184.81857299804687 + 30 +0.0 + 10 +286.89956665039063 + 20 +185.0010986328125 + 30 +0.0 + 10 +286.882080078125 + 20 +185.18107604980469 + 30 +0.0 + 10 +286.82958984375 + 20 +185.35101318359375 + 30 +0.0 + 10 +286.7470703125 + 20 +185.50352478027344 + 30 +0.0 + 10 +286.63714599609375 + 20 +185.63607788085937 + 30 +0.0 + 10 +286.50213623046875 + 20 +185.74598693847656 + 30 +0.0 + 10 +286.34957885742187 + 20 +185.83114624023437 + 30 +0.0 + 10 +286.18209838867187 + 20 +185.88365173339844 + 30 +0.0 + 10 +285.99957275390625 + 20 +185.90101623535156 + 30 +0.0 + 10 +285.81964111328125 + 20 +185.88360595703125 + 30 +0.0 + 10 +285.64959716796875 + 20 +185.83099365234375 + 30 +0.0 + 10 +285.49713134765625 + 20 +185.74598693847656 + 30 +0.0 + 10 +285.3646240234375 + 20 +185.63607788085937 + 30 +0.0 + 10 +285.25460815429687 + 20 +185.50360107421875 + 30 +0.0 + 10 +285.17208862304688 + 20 +185.35108947753906 + 30 +0.0 + 10 +285.11956787109375 + 20 +185.18106079101562 + 30 +0.0 + 10 +285.10211181640625 + 20 +185.00100708007812 + 30 +0.0 + 10 +285.10211181640625 + 20 +185.00100708007812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +52 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +293.0970458984375 + 20 +184.99853515625 + 30 +0.0 + 10 +293.11459350585937 + 20 +184.81614685058594 + 30 +0.0 + 10 +293.1671142578125 + 20 +184.64860534667969 + 30 +0.0 + 10 +293.24957275390625 + 20 +184.49603271484375 + 30 +0.0 + 10 +293.35958862304687 + 20 +184.36106872558594 + 30 +0.0 + 10 +293.49459838867187 + 20 +184.25112915039062 + 30 +0.0 + 10 +293.6470947265625 + 20 +184.16859436035156 + 30 +0.0 + 10 +293.8145751953125 + 20 +184.1160888671875 + 30 +0.0 + 10 +293.99710083007812 + 20 +184.09854125976562 + 30 +0.0 + 10 +294.1795654296875 + 20 +184.11614990234375 + 30 +0.0 + 10 +294.34707641601562 + 20 +184.16867065429687 + 30 +0.0 + 10 +294.4996337890625 + 20 +184.25108337402344 + 30 +0.0 + 10 +294.63461303710937 + 20 +184.36106872558594 + 30 +0.0 + 10 +294.74459838867187 + 20 +184.49606323242187 + 30 +0.0 + 10 +294.8271484375 + 20 +184.64852905273437 + 30 +0.0 + 10 +294.87960815429687 + 20 +184.81614685058594 + 30 +0.0 + 10 +294.89712524414062 + 20 +184.99861145019531 + 30 +0.0 + 10 +294.87960815429687 + 20 +185.18115234375 + 30 +0.0 + 10 +294.8271484375 + 20 +185.3485107421875 + 30 +0.0 + 10 +294.74462890625 + 20 +185.50102233886719 + 30 +0.0 + 10 +294.63461303710937 + 20 +185.63612365722656 + 30 +0.0 + 10 +294.49960327148437 + 20 +185.74603271484375 + 30 +0.0 + 10 +294.34710693359375 + 20 +185.82864379882812 + 30 +0.0 + 10 +294.17962646484375 + 20 +185.88114929199219 + 30 +0.0 + 10 +293.99710083007812 + 20 +185.89854431152344 + 30 +0.0 + 10 +293.81460571289062 + 20 +185.88111877441406 + 30 +0.0 + 10 +293.64712524414062 + 20 +185.82861328125 + 30 +0.0 + 10 +293.49459838867187 + 20 +185.74609375 + 30 +0.0 + 10 +293.35955810546875 + 20 +185.63607788085937 + 30 +0.0 + 10 +293.24957275390625 + 20 +185.50103759765625 + 30 +0.0 + 10 +293.16705322265625 + 20 +185.34852600097656 + 30 +0.0 + 10 +293.11459350585937 + 20 +185.18112182617187 + 30 +0.0 + 10 +293.0970458984375 + 20 +184.99853515625 + 30 +0.0 + 10 +293.0970458984375 + 20 +184.99853515625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +53 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +132 + 70 +0 + 10 +292.5772705078125 + 20 +150.03240966796875 + 30 +0.0 + 10 +295.14227294921875 + 20 +150.12991333007812 + 30 +0.0 + 10 +297.6922607421875 + 20 +150.29238891601562 + 30 +0.0 + 10 +300.22225952148437 + 20 +150.51741027832031 + 30 +0.0 + 10 +302.73226928710937 + 20 +150.80239868164062 + 30 +0.0 + 10 +305.22726440429688 + 20 +151.15242004394531 + 30 +0.0 + 10 +307.69979858398437 + 20 +151.56242370605469 + 30 +0.0 + 10 +310.14974975585938 + 20 +152.03239440917969 + 30 +0.0 + 10 +312.57977294921875 + 20 +152.55990600585937 + 30 +0.0 + 10 +314.98727416992187 + 20 +153.1474609375 + 30 +0.0 + 10 +317.37225341796875 + 20 +153.79244995117187 + 30 +0.0 + 10 +319.73477172851562 + 20 +154.49493408203125 + 30 +0.0 + 10 +322.06976318359375 + 20 +155.25495910644531 + 30 +0.0 + 10 +324.3797607421875 + 20 +156.06745910644531 + 30 +0.0 + 10 +326.66470336914062 + 20 +156.93740844726562 + 30 +0.0 + 10 +328.92227172851563 + 20 +157.857421875 + 30 +0.0 + 10 +331.14971923828125 + 20 +158.83493041992187 + 30 +0.0 + 10 +333.3497314453125 + 20 +159.86238098144531 + 30 +0.0 + 10 +335.52224731445312 + 20 +160.93992614746094 + 30 +0.0 + 10 +337.6622314453125 + 20 +162.0699462890625 + 30 +0.0 + 10 +339.77218627929687 + 20 +163.24992370605469 + 30 +0.0 + 10 +339.99969482421875 + 20 +163.38435363769531 + 30 +0.0 + 10 +339.96722412109375 + 20 +165.96243286132812 + 30 +0.0 + 10 +339.86972045898437 + 20 +168.52743530273438 + 30 +0.0 + 10 +339.7071533203125 + 20 +171.07743835449219 + 30 +0.0 + 10 +339.482177734375 + 20 +173.60746765136719 + 30 +0.0 + 10 +339.19723510742187 + 20 +176.117431640625 + 30 +0.0 + 10 +338.84722900390625 + 20 +178.61238098144531 + 30 +0.0 + 10 +338.43719482421875 + 20 +181.08494567871094 + 30 +0.0 + 10 +337.96722412109375 + 20 +183.53492736816406 + 30 +0.0 + 10 +337.439697265625 + 20 +185.96492004394531 + 30 +0.0 + 10 +336.85220336914062 + 20 +188.37242126464844 + 30 +0.0 + 10 +336.20718383789062 + 20 +190.75740051269531 + 30 +0.0 + 10 +335.50469970703125 + 20 +193.11988830566406 + 30 +0.0 + 10 +334.74468994140625 + 20 +195.45486450195312 + 30 +0.0 + 10 +333.93218994140625 + 20 +197.76487731933594 + 30 +0.0 + 10 +333.06219482421875 + 20 +200.04988098144531 + 30 +0.0 + 10 +332.1422119140625 + 20 +202.307373046875 + 30 +0.0 + 10 +331.16470336914063 + 20 +204.53486633300781 + 30 +0.0 + 10 +330.13717651367187 + 20 +206.73489379882812 + 30 +0.0 + 10 +329.0596923828125 + 20 +208.90733337402344 + 30 +0.0 + 10 +327.92962646484375 + 20 +211.04739379882812 + 30 +0.0 + 10 +326.74960327148437 + 20 +213.15739440917969 + 30 +0.0 + 10 +325.52215576171875 + 20 +215.23486328125 + 30 +0.0 + 10 +324.24465942382813 + 20 +217.27981567382812 + 30 +0.0 + 10 +322.92218017578125 + 20 +219.29238891601562 + 30 +0.0 + 10 +321.54965209960937 + 20 +221.2698974609375 + 30 +0.0 + 10 +320.13214111328125 + 20 +223.21235656738281 + 30 +0.0 + 10 +318.66970825195312 + 20 +225.11981201171875 + 30 +0.0 + 10 +317.1646728515625 + 20 +226.99235534667969 + 30 +0.0 + 10 +315.61465454101562 + 20 +228.82481384277344 + 30 +0.0 + 10 +314.02212524414062 + 20 +230.61982727050781 + 30 +0.0 + 10 +312.38720703125 + 20 +232.37481689453125 + 30 +0.0 + 10 +310.70965576171875 + 20 +234.09231567382812 + 30 +0.0 + 10 +308.9921875 + 20 +235.76980590820312 + 30 +0.0 + 10 +307.2371826171875 + 20 +237.40480041503906 + 30 +0.0 + 10 +305.44223022460937 + 20 +238.997314453125 + 30 +0.0 + 10 +303.60968017578125 + 20 +240.54728698730469 + 30 +0.0 + 10 +301.73721313476562 + 20 +242.05230712890625 + 30 +0.0 + 10 +299.82968139648437 + 20 +243.5147705078125 + 30 +0.0 + 10 +297.88714599609375 + 20 +244.93228149414062 + 30 +0.0 + 10 +295.90966796875 + 20 +246.30477905273437 + 30 +0.0 + 10 +293.89712524414062 + 20 +247.6273193359375 + 30 +0.0 + 10 +291.8521728515625 + 20 +248.90475463867187 + 30 +0.0 + 10 +289.99774169921875 + 20 +250.00045776367188 + 30 +0.0 + 10 +288.14712524414062 + 20 +248.90475463867187 + 30 +0.0 + 10 +286.1021728515625 + 20 +247.62979125976562 + 30 +0.0 + 10 +284.08969116210937 + 20 +246.30479431152344 + 30 +0.0 + 10 +282.1121826171875 + 20 +244.93226623535156 + 30 +0.0 + 10 +280.16964721679687 + 20 +243.51725769042969 + 30 +0.0 + 10 +278.26214599609375 + 20 +242.05476379394531 + 30 +0.0 + 10 +276.38970947265625 + 20 +240.54730224609375 + 30 +0.0 + 10 +274.55722045898437 + 20 +238.99729919433594 + 30 +0.0 + 10 +272.76217651367187 + 20 +237.40480041503906 + 30 +0.0 + 10 +271.00723266601562 + 20 +235.76976013183594 + 30 +0.0 + 10 +269.28970336914062 + 20 +234.09233093261719 + 30 +0.0 + 10 +267.61221313476562 + 20 +232.37728881835937 + 30 +0.0 + 10 +265.97723388671875 + 20 +230.61985778808594 + 30 +0.0 + 10 +264.38470458984375 + 20 +228.82476806640625 + 30 +0.0 + 10 +262.83474731445312 + 20 +226.99235534667969 + 30 +0.0 + 10 +261.32974243164062 + 20 +225.12229919433594 + 30 +0.0 + 10 +259.86724853515625 + 20 +223.21478271484375 + 30 +0.0 + 10 +258.44976806640625 + 20 +221.27230834960937 + 30 +0.0 + 10 +257.0772705078125 + 20 +219.29483032226562 + 30 +0.0 + 10 +255.7547607421875 + 20 +217.28230285644531 + 30 +0.0 + 10 +254.47723388671875 + 20 +215.23728942871094 + 30 +0.0 + 10 +253.249755859375 + 20 +213.1597900390625 + 30 +0.0 + 10 +252.06976318359375 + 20 +211.04981994628906 + 30 +0.0 + 10 +250.93977355957031 + 20 +208.90728759765625 + 30 +0.0 + 10 +249.86231994628906 + 20 +206.7373046875 + 30 +0.0 + 10 +248.83476257324219 + 20 +204.53727722167969 + 30 +0.0 + 10 +247.85726928710937 + 20 +202.30729675292969 + 30 +0.0 + 10 +246.93727111816406 + 20 +200.04981994628906 + 30 +0.0 + 10 +246.06724548339844 + 20 +197.76731872558594 + 30 +0.0 + 10 +245.2547607421875 + 20 +195.45481872558594 + 30 +0.0 + 10 +244.4947509765625 + 20 +193.11984252929687 + 30 +0.0 + 10 +243.79229736328125 + 20 +190.75984191894531 + 30 +0.0 + 10 +243.14724731445312 + 20 +188.37480163574219 + 30 +0.0 + 10 +242.55978393554687 + 20 +185.96733093261719 + 30 +0.0 + 10 +242.03228759765625 + 20 +183.537353515625 + 30 +0.0 + 10 +241.56228637695312 + 20 +181.08486938476562 + 30 +0.0 + 10 +241.15228271484375 + 20 +178.61236572265625 + 30 +0.0 + 10 +240.80227661132812 + 20 +176.11984252929687 + 30 +0.0 + 10 +240.51731872558594 + 20 +173.60737609863281 + 30 +0.0 + 10 +240.29229736328125 + 20 +171.07736206054687 + 30 +0.0 + 10 +240.12982177734375 + 20 +168.52737426757812 + 30 +0.0 + 10 +240.03231811523437 + 20 +165.96237182617187 + 30 +0.0 + 10 +239.99986267089844 + 20 +163.38233947753906 + 30 +0.0 + 10 +239.99986267089844 + 20 +163.37983703613281 + 30 +0.0 + 10 +240.21980285644531 + 20 +163.24986267089844 + 30 +0.0 + 10 +242.32987976074219 + 20 +162.06983947753906 + 30 +0.0 + 10 +244.46980285644531 + 20 +160.93986511230469 + 30 +0.0 + 10 +246.642333984375 + 20 +159.86236572265625 + 30 +0.0 + 10 +248.84233093261719 + 20 +158.83486938476562 + 30 +0.0 + 10 +251.072265625 + 20 +157.85733032226562 + 30 +0.0 + 10 +253.32980346679687 + 20 +156.93736267089844 + 30 +0.0 + 10 +255.61231994628906 + 20 +156.0673828125 + 30 +0.0 + 10 +257.92233276367188 + 20 +155.25486755371094 + 30 +0.0 + 10 +260.259765625 + 20 +154.49485778808594 + 30 +0.0 + 10 +262.61978149414062 + 20 +153.7923583984375 + 30 +0.0 + 10 +265.00479125976562 + 20 +153.14738464355469 + 30 +0.0 + 10 +267.41229248046875 + 20 +152.55986022949219 + 30 +0.0 + 10 +269.84228515625 + 20 +152.03233337402344 + 30 +0.0 + 10 +272.29476928710937 + 20 +151.5623779296875 + 30 +0.0 + 10 +274.76727294921875 + 20 +151.15237426757813 + 30 +0.0 + 10 +277.25979614257812 + 20 +150.80235290527344 + 30 +0.0 + 10 +279.77224731445312 + 20 +150.51734924316406 + 30 +0.0 + 10 +282.30224609375 + 20 +150.29240417480469 + 30 +0.0 + 10 +284.852294921875 + 20 +150.1298828125 + 30 +0.0 + 10 +287.41726684570312 + 20 +150.03237915039062 + 30 +0.0 + 10 +289.99728393554687 + 20 +149.99989318847656 + 30 +0.0 + 10 +292.5772705078125 + 20 +150.03240966796875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +54 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +49 + 70 +0 + 10 +288.39749145507812 + 20 +245.40248107910156 + 30 +0.0 + 10 +288.40496826171875 + 20 +245.239990234375 + 30 +0.0 + 10 +288.42999267578125 + 20 +245.07998657226562 + 30 +0.0 + 10 +288.469970703125 + 20 +244.927490234375 + 30 +0.0 + 10 +288.52249145507812 + 20 +244.77998352050781 + 30 +0.0 + 10 +288.66998291015625 + 20 +244.50749206542969 + 30 +0.0 + 10 +288.86749267578125 + 20 +244.27249145507812 + 30 +0.0 + 10 +289.10247802734375 + 20 +244.07498168945313 + 30 +0.0 + 10 +289.37496948242187 + 20 +243.927490234375 + 30 +0.0 + 10 +289.52249145507812 + 20 +243.87498474121094 + 30 +0.0 + 10 +289.67498779296875 + 20 +243.83499145507812 + 30 +0.0 + 10 +289.83499145507812 + 20 +243.80998229980469 + 30 +0.0 + 10 +289.99746704101562 + 20 +243.802490234375 + 30 +0.0 + 10 +290.1624755859375 + 20 +243.80998229980469 + 30 +0.0 + 10 +290.31997680664062 + 20 +243.83499145507812 + 30 +0.0 + 10 +290.4749755859375 + 20 +243.87498474121094 + 30 +0.0 + 10 +290.61996459960937 + 20 +243.927490234375 + 30 +0.0 + 10 +290.89248657226562 + 20 +244.07498168945313 + 30 +0.0 + 10 +291.12997436523437 + 20 +244.27249145507812 + 30 +0.0 + 10 +291.32498168945312 + 20 +244.50749206542969 + 30 +0.0 + 10 +291.47247314453125 + 20 +244.77998352050781 + 30 +0.0 + 10 +291.52496337890625 + 20 +244.927490234375 + 30 +0.0 + 10 +291.56497192382812 + 20 +245.07998657226562 + 30 +0.0 + 10 +291.5899658203125 + 20 +245.239990234375 + 30 +0.0 + 10 +291.59747314453125 + 20 +245.40248107910156 + 30 +0.0 + 10 +291.5899658203125 + 20 +245.56748962402344 + 30 +0.0 + 10 +291.56497192382812 + 20 +245.72499084472656 + 30 +0.0 + 10 +291.52496337890625 + 20 +245.87998962402344 + 30 +0.0 + 10 +291.47247314453125 + 20 +246.02499389648437 + 30 +0.0 + 10 +291.32498168945312 + 20 +246.2974853515625 + 30 +0.0 + 10 +291.12997436523437 + 20 +246.53498840332031 + 30 +0.0 + 10 +290.89248657226562 + 20 +246.72998046875 + 30 +0.0 + 10 +290.61996459960937 + 20 +246.87748718261719 + 30 +0.0 + 10 +290.4749755859375 + 20 +246.92999267578125 + 30 +0.0 + 10 +290.31997680664062 + 20 +246.96998596191406 + 30 +0.0 + 10 +290.1624755859375 + 20 +246.99497985839844 + 30 +0.0 + 10 +289.99746704101562 + 20 +247.00248718261719 + 30 +0.0 + 10 +289.83499145507812 + 20 +246.99497985839844 + 30 +0.0 + 10 +289.67498779296875 + 20 +246.96998596191406 + 30 +0.0 + 10 +289.52249145507812 + 20 +246.92999267578125 + 30 +0.0 + 10 +289.37496948242187 + 20 +246.87748718261719 + 30 +0.0 + 10 +289.10247802734375 + 20 +246.72998046875 + 30 +0.0 + 10 +288.86749267578125 + 20 +246.53498840332031 + 30 +0.0 + 10 +288.66998291015625 + 20 +246.2974853515625 + 30 +0.0 + 10 +288.52249145507812 + 20 +246.02499389648437 + 30 +0.0 + 10 +288.469970703125 + 20 +245.87998962402344 + 30 +0.0 + 10 +288.42999267578125 + 20 +245.72499084472656 + 30 +0.0 + 10 +288.40496826171875 + 20 +245.56748962402344 + 30 +0.0 + 10 +288.39749145507812 + 20 +245.40248107910156 + 30 +0.0 + 0 +LWPOLYLINE + 5 +55 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +45 + 70 +0 + 10 +244.77249145507812 + 20 +164.38249206542969 + 30 +0.0 + 10 +245.03498840332031 + 20 +164.57249450683594 + 30 +0.0 + 10 +245.24998474121094 + 20 +164.802490234375 + 30 +0.0 + 10 +245.40998840332031 + 20 +165.06748962402344 + 30 +0.0 + 10 +245.51748657226562 + 20 +165.35499572753906 + 30 +0.0 + 10 +245.56748962402344 + 20 +165.65748596191406 + 30 +0.0 + 10 +245.57249450683594 + 20 +165.80998229980469 + 30 +0.0 + 10 +245.55998229980469 + 20 +165.96498107910156 + 30 +0.0 + 10 +245.53248596191406 + 20 +166.1199951171875 + 30 +0.0 + 10 +245.489990234375 + 20 +166.27249145507812 + 30 +0.0 + 10 +245.43247985839844 + 20 +166.4224853515625 + 30 +0.0 + 10 +245.35748291015625 + 20 +166.56748962402344 + 30 +0.0 + 10 +245.16748046875 + 20 +166.82998657226562 + 30 +0.0 + 10 +244.93748474121094 + 20 +167.04498291015625 + 30 +0.0 + 10 +244.67498779296875 + 20 +167.20748901367187 + 30 +0.0 + 10 +244.38748168945312 + 20 +167.31498718261719 + 30 +0.0 + 10 +244.08499145507812 + 20 +167.364990234375 + 30 +0.0 + 10 +243.92999267578125 + 20 +167.36749267578125 + 30 +0.0 + 10 +243.77499389648437 + 20 +167.35748291015625 + 30 +0.0 + 10 +243.61997985839844 + 20 +167.32998657226562 + 30 +0.0 + 10 +243.46748352050781 + 20 +167.28749084472656 + 30 +0.0 + 10 +243.31748962402344 + 20 +167.22999572753906 + 30 +0.0 + 10 +243.1724853515625 + 20 +167.15498352050781 + 30 +0.0 + 10 +242.90998840332031 + 20 +166.96498107910156 + 30 +0.0 + 10 +242.69499206542969 + 20 +166.7349853515625 + 30 +0.0 + 10 +242.53498840332031 + 20 +166.46998596191406 + 30 +0.0 + 10 +242.427490234375 + 20 +166.1824951171875 + 30 +0.0 + 10 +242.37748718261719 + 20 +165.87998962402344 + 30 +0.0 + 10 +242.37248229980469 + 20 +165.72499084472656 + 30 +0.0 + 10 +242.38499450683594 + 20 +165.56999206542969 + 30 +0.0 + 10 +242.41249084472656 + 20 +165.41749572753906 + 30 +0.0 + 10 +242.45498657226562 + 20 +165.26248168945313 + 30 +0.0 + 10 +242.51248168945312 + 20 +165.11248779296875 + 30 +0.0 + 10 +242.58749389648437 + 20 +164.96748352050781 + 30 +0.0 + 10 +242.77748107910156 + 20 +164.70498657226562 + 30 +0.0 + 10 +243.00749206542969 + 20 +164.489990234375 + 30 +0.0 + 10 +243.27249145507812 + 20 +164.32998657226562 + 30 +0.0 + 10 +243.55998229980469 + 20 +164.22248840332031 + 30 +0.0 + 10 +243.86248779296875 + 20 +164.1724853515625 + 30 +0.0 + 10 +244.01498413085937 + 20 +164.16749572753906 + 30 +0.0 + 10 +244.16998291015625 + 20 +164.17999267578125 + 30 +0.0 + 10 +244.32498168945312 + 20 +164.20748901367188 + 30 +0.0 + 10 +244.47749328613281 + 20 +164.24998474121094 + 30 +0.0 + 10 +244.62748718261719 + 20 +164.3074951171875 + 30 +0.0 + 10 +244.77249145507812 + 20 +164.38249206542969 + 30 +0.0 + 0 +LWPOLYLINE + 5 +56 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +45 + 70 +0 + 10 +336.82247924804687 + 20 +167.06748962402344 + 30 +0.0 + 10 +336.677490234375 + 20 +167.14248657226562 + 30 +0.0 + 10 +336.5274658203125 + 20 +167.19998168945312 + 30 +0.0 + 10 +336.37496948242187 + 20 +167.24249267578125 + 30 +0.0 + 10 +336.219970703125 + 20 +167.26998901367187 + 30 +0.0 + 10 +336.06497192382812 + 20 +167.28248596191406 + 30 +0.0 + 10 +335.9124755859375 + 20 +167.27748107910156 + 30 +0.0 + 10 +335.6099853515625 + 20 +167.22749328613281 + 30 +0.0 + 10 +335.32247924804687 + 20 +167.1199951171875 + 30 +0.0 + 10 +335.05746459960937 + 20 +166.95999145507812 + 30 +0.0 + 10 +334.82748413085937 + 20 +166.7449951171875 + 30 +0.0 + 10 +334.63748168945312 + 20 +166.48248291015625 + 30 +0.0 + 10 +334.56246948242187 + 20 +166.33749389648437 + 30 +0.0 + 10 +334.50497436523437 + 20 +166.18748474121094 + 30 +0.0 + 10 +334.46246337890625 + 20 +166.03498840332031 + 30 +0.0 + 10 +334.43496704101562 + 20 +165.87998962402344 + 30 +0.0 + 10 +334.4224853515625 + 20 +165.72499084472656 + 30 +0.0 + 10 +334.427490234375 + 20 +165.56999206542969 + 30 +0.0 + 10 +334.47747802734375 + 20 +165.26748657226562 + 30 +0.0 + 10 +334.58499145507812 + 20 +164.97999572753906 + 30 +0.0 + 10 +334.74496459960937 + 20 +164.71748352050781 + 30 +0.0 + 10 +334.95999145507812 + 20 +164.48748779296875 + 30 +0.0 + 10 +335.22247314453125 + 20 +164.2974853515625 + 30 +0.0 + 10 +335.36746215820313 + 20 +164.22248840332031 + 30 +0.0 + 10 +335.51748657226563 + 20 +164.16499328613281 + 30 +0.0 + 10 +335.6724853515625 + 20 +164.12248229980469 + 30 +0.0 + 10 +335.82498168945312 + 20 +164.09498596191406 + 30 +0.0 + 10 +335.97998046875 + 20 +164.08248901367188 + 30 +0.0 + 10 +336.13497924804687 + 20 +164.08749389648437 + 30 +0.0 + 10 +336.43746948242187 + 20 +164.13748168945312 + 30 +0.0 + 10 +336.7249755859375 + 20 +164.2449951171875 + 30 +0.0 + 10 +336.989990234375 + 20 +164.40498352050781 + 30 +0.0 + 10 +337.219970703125 + 20 +164.6199951171875 + 30 +0.0 + 10 +337.40997314453125 + 20 +164.88249206542969 + 30 +0.0 + 10 +337.4849853515625 + 20 +165.02748107910156 + 30 +0.0 + 10 +337.54248046875 + 20 +165.177490234375 + 30 +0.0 + 10 +337.58499145507812 + 20 +165.32998657226562 + 30 +0.0 + 10 +337.61248779296875 + 20 +165.4849853515625 + 30 +0.0 + 10 +337.62246704101562 + 20 +165.63998413085937 + 30 +0.0 + 10 +337.61996459960937 + 20 +165.79249572753906 + 30 +0.0 + 10 +337.56997680664062 + 20 +166.09498596191406 + 30 +0.0 + 10 +337.46246337890625 + 20 +166.38249206542969 + 30 +0.0 + 10 +337.29998779296875 + 20 +166.64749145507812 + 30 +0.0 + 10 +337.08499145507812 + 20 +166.87748718261719 + 30 +0.0 + 10 +336.82247924804687 + 20 +167.06748962402344 + 30 +0.0 + 0 +LWPOLYLINE + 5 +57 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +239.9971923828125 + 20 +163.38185119628906 + 30 +0.0 + 10 +326.7347412109375 + 20 +213.45991516113281 + 30 +0.0 + 0 +LWPOLYLINE + 5 +58 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +339.99716186523437 + 20 +163.38198852539062 + 30 +0.0 + 10 +253.25947570800781 + 20 +213.45988464355469 + 30 +0.0 + 0 +LWPOLYLINE + 5 +59 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +289.99710083007812 + 20 +249.98442077636719 + 30 +0.0 + 10 +289.997802734375 + 20 +150.03242492675781 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +77 + 70 +0 + 10 +260.41644287109375 + 20 +206.8990478515625 + 30 +0.0 + 10 +259.53506469726562 + 20 +205.22792053222656 + 30 +0.0 + 10 +258.69464111328125 + 20 +203.53529357910156 + 30 +0.0 + 10 +257.89321899414062 + 20 +201.8193359375 + 30 +0.0 + 10 +257.1307373046875 + 20 +200.07991027832031 + 30 +0.0 + 10 +256.41311645507812 + 20 +198.31907653808594 + 30 +0.0 + 10 +255.73455810546875 + 20 +196.5386962890625 + 30 +0.0 + 10 +255.100830078125 + 20 +194.73497009277344 + 30 +0.0 + 10 +254.50798034667969 + 20 +192.91361999511719 + 30 +0.0 + 10 +253.96005249023437 + 20 +191.07284545898437 + 30 +0.0 + 10 +253.45700073242187 + 20 +189.21257019042969 + 30 +0.0 + 10 +252.99874877929687 + 20 +187.33473205566406 + 30 +0.0 + 10 +252.5872802734375 + 20 +185.4393310546875 + 30 +0.0 + 10 +252.220703125 + 20 +183.52632141113281 + 30 +0.0 + 10 +251.90087890625 + 20 +181.59779357910156 + 30 +0.0 + 10 +251.6279296875 + 20 +179.65367126464844 + 30 +0.0 + 10 +251.40560913085937 + 20 +177.69389343261719 + 30 +0.0 + 10 +251.2301025390625 + 20 +175.72047424316406 + 30 +0.0 + 10 +251.22552490234375 + 20 +175.64851379394531 + 30 +0.0 + 10 +259.288330078125 + 20 +180.3035888671875 + 30 +0.0 + 10 +259.32357788085938 + 20 +180.69973754882813 + 30 +0.0 + 10 +259.50027465820312 + 20 +182.25747680664062 + 30 +0.0 + 10 +259.71722412109375 + 20 +183.802734375 + 30 +0.0 + 10 +259.971435546875 + 20 +185.335693359375 + 30 +0.0 + 10 +260.26284790039062 + 20 +186.85623168945313 + 30 +0.0 + 10 +260.58984375 + 20 +188.36277770996094 + 30 +0.0 + 10 +260.95407104492187 + 20 +189.85536193847656 + 30 +0.0 + 10 +261.35400390625 + 20 +191.33406066894531 + 30 +0.0 + 10 +261.78952026367187 + 20 +192.79721069335937 + 30 +0.0 + 10 +262.2607421875 + 20 +194.24485778808594 + 30 +0.0 + 10 +262.76443481445312 + 20 +195.67857360839844 + 30 +0.0 + 10 +263.30386352539062 + 20 +197.09368896484375 + 30 +0.0 + 10 +263.87423706054687 + 20 +198.49333190917969 + 30 +0.0 + 10 +264.48028564453125 + 20 +199.87591552734375 + 30 +0.0 + 10 +265.11727905273437 + 20 +201.23980712890625 + 30 +0.0 + 10 +265.78533935546875 + 20 +202.585205078125 + 30 +0.0 + 10 +266.4859619140625 + 20 +203.91352844238281 + 30 +0.0 + 10 +267.21749877929687 + 20 +205.22169494628906 + 30 +0.0 + 10 +267.97854614257812 + 20 +206.50970458984375 + 30 +0.0 + 10 +268.77059936523437 + 20 +207.777587890625 + 30 +0.0 + 10 +269.5904541015625 + 20 +209.02528381347656 + 30 +0.0 + 10 +270.44143676757812 + 20 +210.25135803222656 + 30 +0.0 + 10 +271.32025146484375 + 20 +211.45565795898437 + 30 +0.0 + 10 +272.22702026367187 + 20 +212.63827514648437 + 30 +0.0 + 10 +273.1600341796875 + 20 +213.797607421875 + 30 +0.0 + 10 +274.12106323242187 + 20 +214.93377685546875 + 30 +0.0 + 10 +275.1083984375 + 20 +216.046630859375 + 30 +0.0 + 10 +276.12203979492187 + 20 +217.13623046875 + 30 +0.0 + 10 +277.16201782226562 + 20 +218.19949340820313 + 30 +0.0 + 10 +278.22689819335938 + 20 +219.23953247070312 + 30 +0.0 + 10 +279.31497192382812 + 20 +220.25320434570312 + 30 +0.0 + 10 +280.42779541015625 + 20 +221.24053955078125 + 30 +0.0 + 10 +281.56396484375 + 20 +222.2015380859375 + 30 +0.0 + 10 +282.724853515625 + 20 +223.13618469238281 + 30 +0.0 + 10 +283.90744018554687 + 20 +224.0428466796875 + 30 +0.0 + 10 +285.09951782226562 + 20 +224.91122436523437 + 30 +0.0 + 10 +285.09951782226562 + 20 +234.19497680664062 + 30 +0.0 + 10 +283.84970092773437 + 20 +233.3275146484375 + 30 +0.0 + 10 +282.33453369140625 + 20 +232.22373962402344 + 30 +0.0 + 10 +280.8466796875 + 20 +231.08303833007812 + 30 +0.0 + 10 +279.3861083984375 + 20 +229.90713500976562 + 30 +0.0 + 10 +277.95669555664062 + 20 +228.69816589355469 + 30 +0.0 + 10 +276.55670166015625 + 20 +227.45600891113281 + 30 +0.0 + 10 +275.18777465820313 + 20 +226.1806640625 + 30 +0.0 + 10 +273.84805297851562 + 20 +224.87225341796875 + 30 +0.0 + 10 +272.5396728515625 + 20 +223.53453063964844 + 30 +0.0 + 10 +271.264404296875 + 20 +222.16372680664062 + 30 +0.0 + 10 +270.02218627929687 + 20 +220.76353454589844 + 30 +0.0 + 10 +268.81314086914062 + 20 +219.33421325683594 + 30 +0.0 + 10 +267.63931274414062 + 20 +217.87562561035156 + 30 +0.0 + 10 +266.49853515625 + 20 +216.38775634765625 + 30 +0.0 + 10 +265.3929443359375 + 20 +214.87261962890625 + 30 +0.0 + 10 +264.3223876953125 + 20 +213.33018493652344 + 30 +0.0 + 10 +263.290771484375 + 20 +211.76042175292969 + 30 +0.0 + 10 +262.29437255859375 + 20 +210.165283203125 + 30 +0.0 + 10 +261.33685302734375 + 20 +208.54490661621094 + 30 +0.0 + 10 +260.41644287109375 + 20 +206.8990478515625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +77 + 70 +0 + 10 +295.0994873046875 + 20 +224.76875305175781 + 30 +0.0 + 10 +296.09634399414062 + 20 +224.04130554199219 + 30 +0.0 + 10 +297.27896118164062 + 20 +223.13458251953125 + 30 +0.0 + 10 +298.43991088867187 + 20 +222.2015380859375 + 30 +0.0 + 10 +299.57598876953125 + 20 +221.24055480957031 + 30 +0.0 + 10 +300.68896484375 + 20 +220.25325012207031 + 30 +0.0 + 10 +301.77691650390625 + 20 +219.23956298828125 + 30 +0.0 + 10 +302.84182739257812 + 20 +218.19955444335937 + 30 +0.0 + 10 +303.88180541992187 + 20 +217.13470458984375 + 30 +0.0 + 10 +304.8955078125 + 20 +216.04664611816406 + 30 +0.0 + 10 +305.88284301757812 + 20 +214.93379211425781 + 30 +0.0 + 10 +306.84378051757813 + 20 +213.79763793945312 + 30 +0.0 + 10 +307.77688598632812 + 20 +212.63673400878906 + 30 +0.0 + 10 +308.68359375 + 20 +211.45408630371094 + 30 +0.0 + 10 +309.56246948242187 + 20 +210.24980163574219 + 30 +0.0 + 10 +310.41339111328125 + 20 +209.02377319335937 + 30 +0.0 + 10 +311.23333740234375 + 20 +207.77606201171875 + 30 +0.0 + 10 +312.02529907226562 + 20 +206.50819396972656 + 30 +0.0 + 10 +312.78628540039062 + 20 +205.22018432617187 + 30 +0.0 + 10 +313.51797485351562 + 20 +203.91201782226562 + 30 +0.0 + 10 +314.21853637695312 + 20 +202.58525085449219 + 30 +0.0 + 10 +314.88656616210937 + 20 +201.23829650878906 + 30 +0.0 + 10 +315.52362060546875 + 20 +199.87435913085937 + 30 +0.0 + 10 +316.12966918945312 + 20 +198.49330139160156 + 30 +0.0 + 10 +316.70004272460937 + 20 +197.09373474121094 + 30 +0.0 + 10 +317.23934936523437 + 20 +195.67701721191406 + 30 +0.0 + 10 +317.74313354492187 + 20 +194.24493408203125 + 30 +0.0 + 10 +318.21426391601562 + 20 +192.79728698730469 + 30 +0.0 + 10 +318.64987182617188 + 20 +191.33256530761719 + 30 +0.0 + 10 +319.04977416992187 + 20 +189.8538818359375 + 30 +0.0 + 10 +319.41400146484375 + 20 +188.36129760742187 + 30 +0.0 + 10 +319.74102783203125 + 20 +186.85469055175781 + 30 +0.0 + 10 +320.03240966796875 + 20 +185.33573913574219 + 30 +0.0 + 10 +320.28659057617187 + 20 +183.80287170410156 + 30 +0.0 + 10 +320.50363159179687 + 20 +182.25602722167969 + 30 +0.0 + 10 +320.6802978515625 + 20 +180.69981384277344 + 30 +0.0 + 10 +320.71572875976562 + 20 +180.30148315429687 + 30 +0.0 + 10 +328.778564453125 + 20 +175.64640808105469 + 30 +0.0 + 10 +328.77383422851562 + 20 +175.72056579589844 + 30 +0.0 + 10 +328.59829711914062 + 20 +177.6939697265625 + 30 +0.0 + 10 +328.3759765625 + 20 +179.65177917480469 + 30 +0.0 + 10 +328.10299682617187 + 20 +181.59785461425781 + 30 +0.0 + 10 +327.783203125 + 20 +183.52641296386719 + 30 +0.0 + 10 +327.41659545898437 + 20 +185.43742370605469 + 30 +0.0 + 10 +327.00515747070312 + 20 +187.33283996582031 + 30 +0.0 + 10 +326.54690551757812 + 20 +189.21063232421875 + 30 +0.0 + 10 +326.0438232421875 + 20 +191.07101440429688 + 30 +0.0 + 10 +325.495849609375 + 20 +192.9136962890625 + 30 +0.0 + 10 +324.90304565429687 + 20 +194.73503112792969 + 30 +0.0 + 10 +324.269287109375 + 20 +196.53683471679687 + 30 +0.0 + 10 +323.59072875976562 + 20 +198.319091796875 + 30 +0.0 + 10 +322.87310791015625 + 20 +200.07994079589844 + 30 +0.0 + 10 +322.11062622070312 + 20 +201.81741333007813 + 30 +0.0 + 10 +321.30917358398437 + 20 +203.53338623046875 + 30 +0.0 + 10 +320.46871948242187 + 20 +205.22798156738281 + 30 +0.0 + 10 +319.58731079101563 + 20 +206.89720153808594 + 30 +0.0 + 10 +318.66690063476562 + 20 +208.54298400878906 + 30 +0.0 + 10 +317.70944213867187 + 20 +210.16339111328125 + 30 +0.0 + 10 +316.71304321289062 + 20 +211.75848388671875 + 30 +0.0 + 10 +315.68154907226562 + 20 +213.32826232910156 + 30 +0.0 + 10 +314.61093139648437 + 20 +214.8707275390625 + 30 +0.0 + 10 +313.50527954101562 + 20 +216.38584899902344 + 30 +0.0 + 10 +312.36459350585937 + 20 +217.87371826171875 + 30 +0.0 + 10 +311.19061279296875 + 20 +219.33421325683594 + 30 +0.0 + 10 +309.98159790039062 + 20 +220.76358032226562 + 30 +0.0 + 10 +308.73944091796875 + 20 +222.1636962890625 + 30 +0.0 + 10 +307.46420288085938 + 20 +223.53256225585937 + 30 +0.0 + 10 +306.15570068359375 + 20 +224.87228393554687 + 30 +0.0 + 10 +304.81607055664062 + 20 +226.18070983886719 + 30 +0.0 + 10 +303.44720458984375 + 20 +227.45602416992187 + 30 +0.0 + 10 +302.04708862304687 + 20 +228.69816589355469 + 30 +0.0 + 10 +300.61767578125 + 20 +229.90711975097656 + 30 +0.0 + 10 +299.15707397460937 + 20 +231.08097839355469 + 30 +0.0 + 10 +297.66925048828125 + 20 +232.22177124023437 + 30 +0.0 + 10 +296.15411376953125 + 20 +233.32746887207031 + 30 +0.0 + 10 +295.09951782226562 + 20 +234.0594482421875 + 30 +0.0 + 10 +295.0994873046875 + 20 +224.76875305175781 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +75 + 70 +0 + 10 +257.8990478515625 + 20 +166.17137145996094 + 30 +0.0 + 10 +259.638427734375 + 20 +165.40892028808594 + 30 +0.0 + 10 +261.39932250976562 + 20 +164.69125366210937 + 30 +0.0 + 10 +263.1796875 + 20 +164.01268005371094 + 30 +0.0 + 10 +264.98147583007812 + 20 +163.37898254394531 + 30 +0.0 + 10 +266.80474853515625 + 20 +162.7861328125 + 30 +0.0 + 10 +268.64553833007812 + 20 +162.23823547363281 + 30 +0.0 + 10 +270.50582885742187 + 20 +161.73509216308594 + 30 +0.0 + 10 +272.38363647460937 + 20 +161.27685546875 + 30 +0.0 + 10 +274.27914428710937 + 20 +160.86540222167969 + 30 +0.0 + 10 +276.19198608398437 + 20 +160.49882507324219 + 30 +0.0 + 10 +278.12060546875 + 20 +160.17900085449219 + 30 +0.0 + 10 +280.06478881835937 + 20 +159.90599060058594 + 30 +0.0 + 10 +282.02450561523438 + 20 +159.68370056152344 + 30 +0.0 + 10 +283.9979248046875 + 20 +159.50820922851563 + 30 +0.0 + 10 +285.98687744140625 + 20 +159.38148498535156 + 30 +0.0 + 10 +287.98760986328125 + 20 +159.30540466308594 + 30 +0.0 + 10 +290.0 + 20 +159.28007507324219 + 30 +0.0 + 10 +292.01239013671875 + 20 +159.30545043945312 + 30 +0.0 + 10 +294.01309204101562 + 20 +159.3814697265625 + 30 +0.0 + 10 +296.00213623046875 + 20 +159.50820922851563 + 30 +0.0 + 10 +297.97552490234375 + 20 +159.68373107910156 + 30 +0.0 + 10 +299.93338012695312 + 20 +159.906005859375 + 30 +0.0 + 10 +301.87945556640625 + 20 +160.17901611328125 + 30 +0.0 + 10 +303.80801391601563 + 20 +160.49885559082031 + 30 +0.0 + 10 +305.71893310546875 + 20 +160.86541748046875 + 30 +0.0 + 10 +307.6143798828125 + 20 +161.27694702148437 + 30 +0.0 + 10 +309.49224853515625 + 20 +161.73518371582031 + 30 +0.0 + 10 +311.35250854492187 + 20 +162.23823547363281 + 30 +0.0 + 10 +313.1953125 + 20 +162.78617858886719 + 30 +0.0 + 10 +315.01654052734375 + 20 +163.37907409667969 + 30 +0.0 + 10 +316.81838989257812 + 20 +164.01278686523437 + 30 +0.0 + 10 +318.60067749023437 + 20 +164.69134521484375 + 30 +0.0 + 10 +320.36148071289062 + 20 +165.40898132324219 + 30 +0.0 + 10 +322.09896850585937 + 20 +166.17143249511719 + 30 +0.0 + 10 +323.80752563476562 + 20 +166.96945190429687 + 30 +0.0 + 10 +315.7215576171875 + 20 +171.63789367675781 + 30 +0.0 + 10 +315.51431274414062 + 20 +171.54106140136719 + 30 +0.0 + 10 +314.13330078125 + 20 +170.93504333496094 + 30 +0.0 + 10 +312.73370361328125 + 20 +170.36463928222656 + 30 +0.0 + 10 +311.31704711914062 + 20 +169.82525634765625 + 30 +0.0 + 10 +309.88482666015625 + 20 +169.321533203125 + 30 +0.0 + 10 +308.43722534179687 + 20 +168.850341796875 + 30 +0.0 + 10 +306.97247314453125 + 20 +168.41481018066406 + 30 +0.0 + 10 +305.49383544921875 + 20 +168.01492309570312 + 30 +0.0 + 10 +304.00119018554687 + 20 +167.65065002441406 + 30 +0.0 + 10 +302.49465942382812 + 20 +167.32365417480469 + 30 +0.0 + 10 +300.9757080078125 + 20 +167.03225708007812 + 30 +0.0 + 10 +299.44281005859375 + 20 +166.77801513671875 + 30 +0.0 + 10 +297.89593505859375 + 20 +166.56103515625 + 30 +0.0 + 10 +296.33978271484375 + 20 +166.38435363769531 + 30 +0.0 + 10 +294.77120971679687 + 20 +166.24485778808594 + 30 +0.0 + 10 +293.19021606445312 + 20 +166.14411926269531 + 30 +0.0 + 10 +291.5999755859375 + 20 +166.08363342285156 + 30 +0.0 + 10 +290.00039672851562 + 20 +166.06352233886719 + 30 +0.0 + 10 +288.40084838867187 + 20 +166.08364868164062 + 30 +0.0 + 10 +286.81057739257812 + 20 +166.14411926269531 + 30 +0.0 + 10 +285.22958374023438 + 20 +166.24484252929687 + 30 +0.0 + 10 +283.66107177734375 + 20 +166.38435363769531 + 30 +0.0 + 10 +282.10333251953125 + 20 +166.56105041503906 + 30 +0.0 + 10 +280.55810546875 + 20 +166.77801513671875 + 30 +0.0 + 10 +279.02511596679687 + 20 +167.03224182128906 + 30 +0.0 + 10 +277.50460815429687 + 20 +167.32366943359375 + 30 +0.0 + 10 +275.99801635742187 + 20 +167.650634765625 + 30 +0.0 + 10 +274.50546264648437 + 20 +168.01490783691406 + 30 +0.0 + 10 +273.02679443359375 + 20 +168.41484069824219 + 30 +0.0 + 10 +271.56362915039062 + 20 +168.850341796875 + 30 +0.0 + 10 +270.1143798828125 + 20 +169.321533203125 + 30 +0.0 + 10 +268.6822509765625 + 20 +169.82524108886719 + 30 +0.0 + 10 +267.26712036132812 + 20 +170.3646240234375 + 30 +0.0 + 10 +265.86749267578125 + 20 +170.93504333496094 + 30 +0.0 + 10 +264.48495483398437 + 20 +171.54109191894531 + 30 +0.0 + 10 +264.27835083007812 + 20 +171.6375732421875 + 30 +0.0 + 10 +256.1917724609375 + 20 +166.96879577636719 + 30 +0.0 + 10 +257.8990478515625 + 20 +166.17137145996094 + 30 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +OBJECTS + 0 +DICTIONARY + 5 +C +100 +AcDbDictionary +280 +0 +281 +1 + 3 +ACAD_GROUP +350 +D + 3 +ACAD_LAYOUT +350 +1A + 3 +ACAD_MLINESTYLE +350 +17 + 3 +ACAD_PLOTSETTINGS +350 +19 + 3 +ACAD_PLOTSTYLENAME +350 +E + 3 +AcDbVariableDictionary +350 +5D + 0 +DICTIONARY + 5 +D +100 +AcDbDictionary +280 +0 +281 +1 + 0 +ACDBDICTIONARYWDFLT + 5 +E +100 +AcDbDictionary +281 +1 + 3 +Normal +350 +F +100 +AcDbDictionaryWithDefault +340 +F + 0 +ACDBPLACEHOLDER + 5 +F + 0 +DICTIONARY + 5 +17 +100 +AcDbDictionary +280 +0 +281 +1 + 3 +Standard +350 +18 + 0 +MLINESTYLE + 5 +18 +100 +AcDbMlineStyle + 2 +STANDARD + 70 +0 + 3 + + 62 +256 + 51 +90.0 + 52 +90.0 + 71 +2 + 49 +0.5 + 62 +256 + 6 +BYLAYER + 49 +-0.5 + 62 +256 + 6 +BYLAYER + 0 +DICTIONARY + 5 +19 +100 +AcDbDictionary +280 +0 +281 +1 + 0 +DICTIONARY + 5 +1A +100 +AcDbDictionary +281 +1 + 3 +Layout1 +350 +1E + 3 +Layout2 +350 +26 + 3 +Model +350 +22 + 0 +LAYOUT + 5 +1E +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout1 + 70 +1 + 71 +1 + 10 +0.0 + 20 +0.0 + 11 +420.0 + 21 +297.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +100000000000000000000.0 + 24 +100000000000000000000.0 + 34 +100000000000000000000.0 + 15 +-100000000000000000000.0 + 25 +-100000000000000000000.0 + 35 +-100000000000000000000.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1B + 0 +LAYOUT + 5 +22 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +1712 + 72 +0 + 73 +0 + 74 +0 + 7 + + 75 +0 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Model + 70 +1 + 71 +0 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1F + 0 +LAYOUT + 5 +26 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout2 + 70 +1 + 71 +2 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +23 + 0 +DICTIONARY + 5 +5D +100 +AcDbDictionary +281 +1 + 3 +DIMASSOC +350 +5F + 3 +HIDETEXT +350 +5E + 0 +DICTIONARYVAR + 5 +5E +100 +DictionaryVariables +280 +0 + 1 +2 + 0 +DICTIONARYVAR + 5 +5F +100 +DictionaryVariables +280 +0 + 1 +1 + 0 +ENDSEC + 0 +EOF diff --git a/莱洛三角结构/V2-M5孔动量轮8cm.dxf b/莱洛三角结构/V2-M5孔动量轮8cm.dxf new file mode 100644 index 0000000..91738a3 --- /dev/null +++ b/莱洛三角结构/V2-M5孔动量轮8cm.dxf @@ -0,0 +1,10918 @@ +999 +dxflib 3.17.0.0 + 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1015 + 9 +$HANDSEED + 5 +FFFF + 9 +$INSUNITS + 70 +4 + 9 +$DIMEXE + 40 +1.25 + 9 +$TEXTSTYLE + 7 +Standard + 9 +$LIMMIN + 10 +0.0 + 20 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +TABLES + 0 +TABLE + 2 +VPORT + 5 +8 +100 +AcDbSymbolTable + 70 +1 + 0 +VPORT + 5 +30 +100 +AcDbSymbolTableRecord +100 +AcDbViewportTableRecord + 2 +*Active + 70 +0 + 10 +0.0 + 20 +0.0 + 11 +1.0 + 21 +1.0 + 12 +286.30555555555549 + 22 +148.5 + 13 +0.0 + 23 +0.0 + 14 +10.0 + 24 +10.0 + 15 +10.0 + 25 +10.0 + 16 +0.0 + 26 +0.0 + 36 +1.0 + 17 +0.0 + 27 +0.0 + 37 +0.0 + 40 +297.0 + 41 +1.92798353909465 + 42 +50.0 + 43 +0.0 + 44 +0.0 + 50 +0.0 + 51 +0.0 + 71 +0 + 72 +100 + 73 +1 + 74 +3 + 75 +1 + 76 +1 + 77 +0 + 78 +0 +281 +0 + 65 +1 +110 +0.0 +120 +0.0 +130 +0.0 +111 +1.0 +121 +0.0 +131 +0.0 +112 +0.0 +122 +1.0 +132 +0.0 + 79 +0 +146 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LTYPE + 5 +5 +100 +AcDbSymbolTable + 70 +25 + 0 +LTYPE + 5 +14 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYBLOCK + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +15 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYLAYER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +16 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CONTINUOUS + 70 +0 + 3 +Solid line + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +31 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO02W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +32 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO03W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +33 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO04W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +34 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO05W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +35 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +36 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +37 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +38 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +39 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3A +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3B +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3C +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3D +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3E +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3F +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +40 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHEDX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +41 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +42 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +43 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDEX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +44 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +45 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +46 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LAYER + 5 +2 +100 +AcDbSymbolTable + 70 +1 + 0 +LAYER + 5 +10 +100 +AcDbSymbolTableRecord +100 +AcDbLayerTableRecord + 2 +0 + 70 +0 + 62 +-1 +420 +0 + 6 +CONTINUOUS +370 +1 +390 +F + 0 +ENDTAB + 0 +STYLE + 5 +47 +100 +AcDbSymbolTableRecord +100 +AcDbTextStyleTableRecord + 2 + + 70 +0 + 40 +0.0 + 41 +0.0 + 50 +0.0 + 71 +0 + 42 +0.0 + 3 + + 4 + +1001 +ACAD +1000 + +1071 +0 + 0 +TABLE + 2 +VIEW + 5 +6 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +UCS + 5 +7 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +APPID + 5 +9 +100 +AcDbSymbolTable + 70 +1 + 0 +APPID + 5 +12 +100 +AcDbSymbolTableRecord +100 +AcDbRegAppTableRecord + 2 +ACAD + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +DIMSTYLE + 5 +A +100 +AcDbSymbolTable + 70 +1 +100 +AcDbDimStyleTable + 71 +0 + 0 +DIMSTYLE +105 +27 +100 +AcDbSymbolTableRecord +100 +AcDbDimStyleTableRecord + 2 +Standard + 41 +1.0 + 42 +1.0 + 43 +3.75 + 44 +1.0 + 70 +0 + 73 +0 + 74 +0 + 77 +1 + 78 +8 +140 +1.0 +141 +2.5 +143 +0.03937007874016 +147 +1.0 +171 +3 +172 +1 +271 +2 +272 +2 +274 +3 +278 +44 +283 +0 +284 +8 +340 +0 + 0 +ENDTAB + 0 +TABLE + 2 +BLOCK_RECORD + 5 +1 +100 +AcDbSymbolTable + 70 +1 + 0 +BLOCK_RECORD + 5 +1F +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Model_Space +340 +22 + 0 +BLOCK_RECORD + 5 +1B +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space +340 +1E + 0 +BLOCK_RECORD + 5 +23 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space0 +340 +26 + 0 +BLOCK_RECORD + 5 +48 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock1 +340 +0 + 0 +BLOCK_RECORD + 5 +49 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock2 +340 +0 + 0 +ENDTAB + 0 +ENDSEC + 0 +SECTION + 2 +BLOCKS + 0 +BLOCK + 5 +20 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Model_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Model_Space + 1 + + 0 +ENDBLK + 5 +21 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +1C +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space + 1 + + 0 +ENDBLK + 5 +1D +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +24 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space0 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space0 + 1 + + 0 +ENDBLK + 5 +25 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4A +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock1 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock1 + 1 + + 0 +ENDBLK + 5 +4B +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4C +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock2 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock2 + 1 + + 0 +ENDBLK + 5 +4D +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +ENDSEC + 0 +SECTION + 2 +ENTITIES + 0 +LWPOLYLINE + 5 +4E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +35 + 70 +0 + 10 +446.85342407226562 + 20 +293.84628295898437 + 30 +0.0 + 10 +447.03594970703125 + 20 +293.86383056640625 + 30 +0.0 + 10 +447.20346069335938 + 20 +293.9163818359375 + 30 +0.0 + 10 +447.35595703125 + 20 +293.99884033203125 + 30 +0.0 + 10 +447.490966796875 + 20 +294.10885620117187 + 30 +0.0 + 10 +447.6009521484375 + 20 +294.24383544921875 + 30 +0.0 + 10 +447.68341064453125 + 20 +294.39639282226562 + 30 +0.0 + 10 +447.73577880859375 + 20 +294.56381225585938 + 30 +0.0 + 10 +447.75335693359375 + 20 +294.74627685546875 + 30 +0.0 + 10 +447.73590087890625 + 20 +294.92623901367187 + 30 +0.0 + 10 +447.68338012695312 + 20 +295.0963134765625 + 30 +0.0 + 10 +447.60079956054687 + 20 +295.24884033203125 + 30 +0.0 + 10 +447.49093627929687 + 20 +295.38128662109375 + 30 +0.0 + 10 +447.3558349609375 + 20 +295.49130249023437 + 30 +0.0 + 10 +447.203369140625 + 20 +295.57379150390625 + 30 +0.0 + 10 +447.035888671875 + 20 +295.6263427734375 + 30 +0.0 + 10 +446.85345458984375 + 20 +295.64382934570312 + 30 +0.0 + 10 +446.67092895507812 + 20 +295.62631225585937 + 30 +0.0 + 10 +446.50344848632812 + 20 +295.57379150390625 + 30 +0.0 + 10 +446.35092163085937 + 20 +295.4913330078125 + 30 +0.0 + 10 +446.21591186523437 + 20 +295.38131713867187 + 30 +0.0 + 10 +446.10595703125 + 20 +295.248779296875 + 30 +0.0 + 10 +446.02352905273438 + 20 +295.09640502929687 + 30 +0.0 + 10 +445.970947265625 + 20 +294.92623901367187 + 30 +0.0 + 10 +445.95352172851562 + 20 +294.74615478515625 + 30 +0.0 + 10 +445.9708251953125 + 20 +294.56378173828125 + 30 +0.0 + 10 +446.02340698242187 + 20 +294.39633178710937 + 30 +0.0 + 10 +446.10592651367187 + 20 +294.24386596679687 + 30 +0.0 + 10 +446.21597290039062 + 20 +294.10882568359375 + 30 +0.0 + 10 +446.35086059570312 + 20 +293.99880981445312 + 30 +0.0 + 10 +446.50341796875 + 20 +293.9163818359375 + 30 +0.0 + 10 +446.6708984375 + 20 +293.86380004882812 + 30 +0.0 + 10 +446.85342407226562 + 20 +293.84628295898437 + 30 +0.0 + 10 +446.85342407226562 + 20 +293.84628295898437 + 30 +0.0 + 10 +446.85342407226562 + 20 +293.84628295898437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +4F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +35 + 70 +0 + 10 +453.15097045898437 + 20 +293.84640502929687 + 30 +0.0 + 10 +453.3333740234375 + 20 +293.86386108398437 + 30 +0.0 + 10 +453.5008544921875 + 20 +293.9163818359375 + 30 +0.0 + 10 +453.65338134765625 + 20 +293.99887084960937 + 30 +0.0 + 10 +453.788330078125 + 20 +294.10894775390625 + 30 +0.0 + 10 +453.8984375 + 20 +294.24392700195312 + 30 +0.0 + 10 +453.98086547851562 + 20 +294.39639282226562 + 30 +0.0 + 10 +454.03329467773437 + 20 +294.56387329101563 + 30 +0.0 + 10 +454.05084228515625 + 20 +294.74630737304687 + 30 +0.0 + 10 +454.0333251953125 + 20 +294.92633056640625 + 30 +0.0 + 10 +453.98092651367187 + 20 +295.09637451171875 + 30 +0.0 + 10 +453.89840698242187 + 20 +295.24887084960937 + 30 +0.0 + 10 +453.78836059570312 + 20 +295.38137817382812 + 30 +0.0 + 10 +453.65335083007812 + 20 +295.49127197265625 + 30 +0.0 + 10 +453.50091552734375 + 20 +295.5738525390625 + 30 +0.0 + 10 +453.33352661132812 + 20 +295.62640380859375 + 30 +0.0 + 10 +453.15090942382812 + 20 +295.64385986328125 + 30 +0.0 + 10 +452.96841430664062 + 20 +295.6263427734375 + 30 +0.0 + 10 +452.80084228515625 + 20 +295.57388305664062 + 30 +0.0 + 10 +452.6484375 + 20 +295.49142456054687 + 30 +0.0 + 10 +452.513427734375 + 20 +295.38134765625 + 30 +0.0 + 10 +452.40347290039062 + 20 +295.2489013671875 + 30 +0.0 + 10 +452.3209228515625 + 20 +295.09640502929687 + 30 +0.0 + 10 +452.26840209960938 + 20 +294.92630004882812 + 30 +0.0 + 10 +452.25088500976562 + 20 +294.74642944335937 + 30 +0.0 + 10 +452.26837158203125 + 20 +294.5638427734375 + 30 +0.0 + 10 +452.32089233398437 + 20 +294.39639282226562 + 30 +0.0 + 10 +452.403564453125 + 20 +294.24380493164062 + 30 +0.0 + 10 +452.51339721679687 + 20 +294.10891723632812 + 30 +0.0 + 10 +452.64840698242187 + 20 +293.99880981445312 + 30 +0.0 + 10 +452.80093383789062 + 20 +293.91629028320312 + 30 +0.0 + 10 +452.96841430664062 + 20 +293.86383056640625 + 30 +0.0 + 10 +453.15097045898437 + 20 +293.84640502929687 + 30 +0.0 + 10 +453.15097045898437 + 20 +293.84640502929687 + 30 +0.0 + 10 +453.15097045898437 + 20 +293.84640502929687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +50 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +35 + 70 +0 + 10 +446.85086059570312 + 20 +304.34881591796875 + 30 +0.0 + 10 +447.03335571289062 + 20 +304.36627197265625 + 30 +0.0 + 10 +447.20086669921875 + 20 +304.41873168945312 + 30 +0.0 + 10 +447.3533935546875 + 20 +304.50115966796875 + 30 +0.0 + 10 +447.48837280273437 + 20 +304.61123657226562 + 30 +0.0 + 10 +447.59835815429687 + 20 +304.74380493164062 + 30 +0.0 + 10 +447.68081665039062 + 20 +304.89627075195312 + 30 +0.0 + 10 +447.73330688476562 + 20 +305.06619262695312 + 30 +0.0 + 10 +447.75091552734375 + 20 +305.24615478515625 + 30 +0.0 + 10 +447.73333740234375 + 20 +305.42877197265625 + 30 +0.0 + 10 +447.680908203125 + 20 +305.59622192382812 + 30 +0.0 + 10 +447.59835815429687 + 20 +305.74880981445312 + 30 +0.0 + 10 +447.48837280273437 + 20 +305.88375854492187 + 30 +0.0 + 10 +447.35336303710938 + 20 +305.9937744140625 + 30 +0.0 + 10 +447.20086669921875 + 20 +306.07632446289062 + 30 +0.0 + 10 +447.0333251953125 + 20 +306.12872314453125 + 30 +0.0 + 10 +446.85076904296875 + 20 +306.14627075195312 + 30 +0.0 + 10 +446.66827392578125 + 20 +306.12872314453125 + 30 +0.0 + 10 +446.50094604492187 + 20 +306.07635498046875 + 30 +0.0 + 10 +446.34591674804687 + 20 +305.99374389648437 + 30 +0.0 + 10 +446.21337890625 + 20 +305.88369750976562 + 30 +0.0 + 10 +446.10333251953125 + 20 +305.748779296875 + 30 +0.0 + 10 +446.01834106445312 + 20 +305.59622192382812 + 30 +0.0 + 10 +445.9659423828125 + 20 +305.42877197265625 + 30 +0.0 + 10 +445.9483642578125 + 20 +305.24624633789062 + 30 +0.0 + 10 +445.96591186523437 + 20 +305.06622314453125 + 30 +0.0 + 10 +446.01837158203125 + 20 +304.89633178710937 + 30 +0.0 + 10 +446.1033935546875 + 20 +304.74374389648437 + 30 +0.0 + 10 +446.21343994140625 + 20 +304.61123657226562 + 30 +0.0 + 10 +446.34585571289062 + 20 +304.50131225585937 + 30 +0.0 + 10 +446.50091552734375 + 20 +304.4188232421875 + 30 +0.0 + 10 +446.66836547851562 + 20 +304.3663330078125 + 30 +0.0 + 10 +446.85086059570312 + 20 +304.34881591796875 + 30 +0.0 + 10 +446.85086059570312 + 20 +304.34881591796875 + 30 +0.0 + 10 +446.85086059570312 + 20 +304.34881591796875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +51 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +35 + 70 +0 + 10 +453.14834594726562 + 20 +304.3463134765625 + 30 +0.0 + 10 +453.3309326171875 + 20 +304.3638916015625 + 30 +0.0 + 10 +453.4984130859375 + 20 +304.41641235351562 + 30 +0.0 + 10 +453.65084838867187 + 20 +304.49880981445312 + 30 +0.0 + 10 +453.78573608398437 + 20 +304.60882568359375 + 30 +0.0 + 10 +453.8958740234375 + 20 +304.74130249023437 + 30 +0.0 + 10 +453.97836303710937 + 20 +304.89382934570312 + 30 +0.0 + 10 +454.03085327148437 + 20 +305.06378173828125 + 30 +0.0 + 10 +454.04830932617187 + 20 +305.24386596679687 + 30 +0.0 + 10 +454.0308837890625 + 20 +305.4263916015625 + 30 +0.0 + 10 +453.97830200195313 + 20 +305.59384155273437 + 30 +0.0 + 10 +453.89581298828125 + 20 +305.74630737304687 + 30 +0.0 + 10 +453.78579711914062 + 20 +305.88131713867187 + 30 +0.0 + 10 +453.65087890625 + 20 +305.99136352539062 + 30 +0.0 + 10 +453.49838256835937 + 20 +306.07379150390625 + 30 +0.0 + 10 +453.33090209960937 + 20 +306.12637329101562 + 30 +0.0 + 10 +453.14837646484375 + 20 +306.14382934570312 + 30 +0.0 + 10 +452.96591186523437 + 20 +306.12637329101562 + 30 +0.0 + 10 +452.79840087890625 + 20 +306.0738525390625 + 30 +0.0 + 10 +452.64590454101562 + 20 +305.99124145507812 + 30 +0.0 + 10 +452.51089477539062 + 20 +305.88137817382812 + 30 +0.0 + 10 +452.40078735351562 + 20 +305.74636840820312 + 30 +0.0 + 10 +452.318359375 + 20 +305.59384155273437 + 30 +0.0 + 10 +452.26596069335938 + 20 +305.42642211914062 + 30 +0.0 + 10 +452.24832153320312 + 20 +305.24386596679687 + 30 +0.0 + 10 +452.26580810546875 + 20 +305.0638427734375 + 30 +0.0 + 10 +452.31829833984375 + 20 +304.89376831054687 + 30 +0.0 + 10 +452.40097045898437 + 20 +304.74136352539062 + 30 +0.0 + 10 +452.51083374023437 + 20 +304.60879516601562 + 30 +0.0 + 10 +452.64590454101562 + 20 +304.49880981445312 + 30 +0.0 + 10 +452.79833984375 + 20 +304.41635131835937 + 30 +0.0 + 10 +452.96578979492187 + 20 +304.36380004882812 + 30 +0.0 + 10 +453.14834594726562 + 20 +304.3463134765625 + 30 +0.0 + 10 +453.14834594726562 + 20 +304.3463134765625 + 30 +0.0 + 10 +453.14834594726562 + 20 +304.3463134765625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +52 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +67 + 70 +0 + 10 +449.99847412109375 + 20 +296.49630737304687 + 30 +0.0 + 10 +450.3558349609375 + 20 +296.51382446289062 + 30 +0.0 + 10 +450.7034912109375 + 20 +296.56631469726562 + 30 +0.0 + 10 +451.04095458984375 + 20 +296.65380859375 + 30 +0.0 + 10 +451.36083984375 + 20 +296.77120971679687 + 30 +0.0 + 10 +451.66836547851562 + 20 +296.91879272460937 + 30 +0.0 + 10 +451.95590209960937 + 20 +297.09378051757812 + 30 +0.0 + 10 +452.225830078125 + 20 +297.29635620117187 + 30 +0.0 + 10 +452.47586059570312 + 20 +297.52127075195312 + 30 +0.0 + 10 +452.700927734375 + 20 +297.77127075195312 + 30 +0.0 + 10 +452.9033203125 + 20 +298.03884887695312 + 30 +0.0 + 10 +453.07846069335937 + 20 +298.32879638671875 + 30 +0.0 + 10 +453.22589111328125 + 20 +298.63381958007812 + 30 +0.0 + 10 +453.34344482421875 + 20 +298.95632934570312 + 30 +0.0 + 10 +453.430908203125 + 20 +299.29132080078125 + 30 +0.0 + 10 +453.48333740234375 + 20 +299.63882446289062 + 30 +0.0 + 10 +453.5008544921875 + 20 +299.996337890625 + 30 +0.0 + 10 +453.48336791992187 + 20 +300.3538818359375 + 30 +0.0 + 10 +453.43087768554687 + 20 +300.70132446289062 + 30 +0.0 + 10 +453.34335327148437 + 20 +301.0362548828125 + 30 +0.0 + 10 +453.225830078125 + 20 +301.35882568359375 + 30 +0.0 + 10 +453.078369140625 + 20 +301.663818359375 + 30 +0.0 + 10 +452.90341186523437 + 20 +301.95376586914062 + 30 +0.0 + 10 +452.70086669921875 + 20 +302.22137451171875 + 30 +0.0 + 10 +452.47592163085937 + 20 +302.4713134765625 + 30 +0.0 + 10 +452.225830078125 + 20 +302.69625854492187 + 30 +0.0 + 10 +451.95587158203125 + 20 +302.89871215820312 + 30 +0.0 + 10 +451.6683349609375 + 20 +303.07369995117187 + 30 +0.0 + 10 +451.36090087890625 + 20 +303.22128295898437 + 30 +0.0 + 10 +451.04071044921875 + 20 +303.33877563476562 + 30 +0.0 + 10 +450.703369140625 + 20 +303.42630004882812 + 30 +0.0 + 10 +450.3558349609375 + 20 +303.478759765625 + 30 +0.0 + 10 +449.9984130859375 + 20 +303.49636840820312 + 30 +0.0 + 10 +449.64089965820312 + 20 +303.47879028320312 + 30 +0.0 + 10 +449.29327392578125 + 20 +303.42626953125 + 30 +0.0 + 10 +448.95840454101562 + 20 +303.3388671875 + 30 +0.0 + 10 +448.6358642578125 + 20 +303.22128295898437 + 30 +0.0 + 10 +448.3309326171875 + 20 +303.0738525390625 + 30 +0.0 + 10 +448.04086303710938 + 20 +302.89874267578125 + 30 +0.0 + 10 +447.77334594726562 + 20 +302.69635009765625 + 30 +0.0 + 10 +447.52340698242187 + 20 +302.4713134765625 + 30 +0.0 + 10 +447.29830932617188 + 20 +302.22137451171875 + 30 +0.0 + 10 +447.09585571289062 + 20 +301.95379638671875 + 30 +0.0 + 10 +446.92086791992187 + 20 +301.66378784179687 + 30 +0.0 + 10 +446.77340698242187 + 20 +301.3587646484375 + 30 +0.0 + 10 +446.65594482421875 + 20 +301.03634643554687 + 30 +0.0 + 10 +446.56845092773437 + 20 +300.70132446289062 + 30 +0.0 + 10 +446.51596069335938 + 20 +300.35382080078125 + 30 +0.0 + 10 +446.49844360351562 + 20 +299.99630737304687 + 30 +0.0 + 10 +446.51589965820313 + 20 +299.6387939453125 + 30 +0.0 + 10 +446.56842041015625 + 20 +299.29129028320312 + 30 +0.0 + 10 +446.65591430664062 + 20 +298.956298828125 + 30 +0.0 + 10 +446.77334594726562 + 20 +298.6337890625 + 30 +0.0 + 10 +446.9208984375 + 20 +298.32879638671875 + 30 +0.0 + 10 +447.09585571289062 + 20 +298.03884887695312 + 30 +0.0 + 10 +447.29843139648437 + 20 +297.77117919921875 + 30 +0.0 + 10 +447.5234375 + 20 +297.52127075195312 + 30 +0.0 + 10 +447.77337646484375 + 20 +297.29629516601562 + 30 +0.0 + 10 +448.04092407226563 + 20 +297.0938720703125 + 30 +0.0 + 10 +448.33099365234375 + 20 +296.91885375976562 + 30 +0.0 + 10 +448.63592529296875 + 20 +296.77130126953125 + 30 +0.0 + 10 +448.95846557617187 + 20 +296.65383911132812 + 30 +0.0 + 10 +449.29345703125 + 20 +296.56631469726562 + 30 +0.0 + 10 +449.64096069335937 + 20 +296.51388549804687 + 30 +0.0 + 10 +449.99847412109375 + 20 +296.49630737304687 + 30 +0.0 + 10 +449.99847412109375 + 20 +296.49630737304687 + 30 +0.0 + 10 +449.99847412109375 + 20 +296.49630737304687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +53 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +183 + 70 +0 + 10 +490.001953125 + 20 +299.99578857421875 + 30 +0.0 + 10 +489.97796630859375 + 20 +301.38412475585937 + 30 +0.0 + 10 +489.90560913085937 + 20 +302.7708740234375 + 30 +0.0 + 10 +489.78530883789062 + 20 +304.15423583984375 + 30 +0.0 + 10 +489.61685180664062 + 20 +305.53262329101562 + 30 +0.0 + 10 +489.4010009765625 + 20 +306.904296875 + 30 +0.0 + 10 +489.13742065429687 + 20 +308.26751708984375 + 30 +0.0 + 10 +488.82675170898437 + 20 +309.62094116210937 + 30 +0.0 + 10 +488.46923828125 + 20 +310.96273803710938 + 30 +0.0 + 10 +488.0654296875 + 20 +312.29135131835937 + 30 +0.0 + 10 +487.61578369140625 + 20 +313.60494995117187 + 30 +0.0 + 10 +487.12078857421875 + 20 +314.90237426757812 + 30 +0.0 + 10 +486.58096313476562 + 20 +316.18185424804687 + 30 +0.0 + 10 +485.99728393554687 + 20 +317.44171142578125 + 30 +0.0 + 10 +485.37017822265625 + 20 +318.68063354492187 + 30 +0.0 + 10 +484.70025634765625 + 20 +319.89697265625 + 30 +0.0 + 10 +483.9886474609375 + 20 +321.08926391601562 + 30 +0.0 + 10 +483.23605346679687 + 20 +322.25628662109375 + 30 +0.0 + 10 +482.4434814453125 + 20 +323.39630126953125 + 30 +0.0 + 10 +481.611572265625 + 20 +324.50839233398438 + 30 +0.0 + 10 +480.74188232421875 + 20 +325.59072875976562 + 30 +0.0 + 10 +479.83502197265625 + 20 +326.64224243164062 + 30 +0.0 + 10 +478.892333984375 + 20 +327.661865234375 + 30 +0.0 + 10 +477.91476440429687 + 20 +328.64788818359375 + 30 +0.0 + 10 +476.90341186523437 + 20 +329.5994873046875 + 30 +0.0 + 10 +475.85989379882812 + 20 +330.51541137695312 + 30 +0.0 + 10 +474.78494262695312 + 20 +331.39459228515625 + 30 +0.0 + 10 +473.68014526367187 + 20 +332.23590087890625 + 30 +0.0 + 10 +472.5469970703125 + 20 +333.038330078125 + 30 +0.0 + 10 +471.38665771484375 + 20 +333.80096435546875 + 30 +0.0 + 10 +470.20046997070312 + 20 +334.52291870117187 + 30 +0.0 + 10 +468.99005126953125 + 20 +335.20333862304687 + 30 +0.0 + 10 +467.756591796875 + 20 +335.84121704101562 + 30 +0.0 + 10 +466.50186157226562 + 20 +336.43588256835937 + 30 +0.0 + 10 +465.2271728515625 + 20 +336.98678588867187 + 30 +0.0 + 10 +463.93426513671875 + 20 +337.49301147460937 + 30 +0.0 + 10 +462.62432861328125 + 20 +337.9539794921875 + 30 +0.0 + 10 +461.29931640625 + 20 +338.36932373046875 + 30 +0.0 + 10 +459.96063232421875 + 20 +338.7384033203125 + 30 +0.0 + 10 +458.6099853515625 + 20 +339.06076049804687 + 30 +0.0 + 10 +457.24899291992187 + 20 +339.33615112304687 + 30 +0.0 + 10 +455.8792724609375 + 20 +339.5640869140625 + 30 +0.0 + 10 +454.50238037109375 + 20 +339.74429321289062 + 30 +0.0 + 10 +453.12020874023437 + 20 +339.87664794921875 + 30 +0.0 + 10 +451.73410034179687 + 20 +339.96087646484375 + 30 +0.0 + 10 +450.34600830078125 + 20 +339.9970703125 + 30 +0.0 + 10 +448.95751953125 + 20 +339.98507690429688 + 30 +0.0 + 10 +447.57028198242187 + 20 +339.9248046875 + 30 +0.0 + 10 +446.1859130859375 + 20 +339.81640625 + 30 +0.0 + 10 +444.80612182617188 + 20 +339.66012573242187 + 30 +0.0 + 10 +443.43270874023437 + 20 +339.45599365234375 + 30 +0.0 + 10 +442.06704711914062 + 20 +339.20431518554688 + 30 +0.0 + 10 +440.71096801757812 + 20 +338.90542602539062 + 30 +0.0 + 10 +439.36618041992187 + 20 +338.55963134765625 + 30 +0.0 + 10 +438.0340576171875 + 20 +338.16732788085937 + 30 +0.0 + 10 +436.71652221679687 + 20 +337.72906494140625 + 30 +0.0 + 10 +435.41497802734375 + 20 +337.245361328125 + 30 +0.0 + 10 +434.13092041015625 + 20 +336.71670532226562 + 30 +0.0 + 10 +432.86599731445312 + 20 +336.14395141601562 + 30 +0.0 + 10 +431.6217041015625 + 20 +335.52740478515625 + 30 +0.0 + 10 +430.39962768554687 + 20 +334.8682861328125 + 30 +0.0 + 10 +429.20108032226562 + 20 +334.1669921875 + 30 +0.0 + 10 +428.02767944335937 + 20 +333.42462158203125 + 30 +0.0 + 10 +426.88067626953125 + 20 +332.64193725585937 + 30 +0.0 + 10 +425.76150512695312 + 20 +331.81985473632812 + 30 +0.0 + 10 +424.67172241210937 + 20 +330.95947265625 + 30 +0.0 + 10 +423.61227416992187 + 20 +330.06182861328125 + 30 +0.0 + 10 +422.58468627929687 + 20 +329.1279296875 + 30 +0.0 + 10 +421.59002685546875 + 20 +328.15887451171875 + 30 +0.0 + 10 +420.62982177734375 + 20 +327.15591430664062 + 30 +0.0 + 10 +419.70477294921875 + 20 +326.1201171875 + 30 +0.0 + 10 +418.81625366210937 + 20 +325.05316162109375 + 30 +0.0 + 10 +417.96548461914062 + 20 +323.95571899414062 + 30 +0.0 + 10 +417.15313720703125 + 20 +322.82955932617187 + 30 +0.0 + 10 +416.3804931640625 + 20 +321.67581176757812 + 30 +0.0 + 10 +415.64828491210937 + 20 +320.4959716796875 + 30 +0.0 + 10 +414.95755004882812 + 20 +319.29135131835937 + 30 +0.0 + 10 +414.308837890625 + 20 +318.06365966796875 + 30 +0.0 + 10 +413.70327758789062 + 20 +316.81405639648437 + 30 +0.0 + 10 +413.14141845703125 + 20 +315.54415893554687 + 30 +0.0 + 10 +412.62405395507812 + 20 +314.2554931640625 + 30 +0.0 + 10 +412.15164184570312 + 20 +312.94989013671875 + 30 +0.0 + 10 +411.724853515625 + 20 +311.62841796875 + 30 +0.0 + 10 +411.34420776367187 + 20 +310.29312133789062 + 30 +0.0 + 10 +411.0101318359375 + 20 +308.9453125 + 30 +0.0 + 10 +410.72293090820312 + 20 +307.58670043945312 + 30 +0.0 + 10 +410.48318481445312 + 20 +306.21905517578125 + 30 +0.0 + 10 +410.291015625 + 20 +304.84375 + 30 +0.0 + 10 +410.14666748046875 + 20 +303.46270751953125 + 30 +0.0 + 10 +410.05035400390625 + 20 +302.07757568359375 + 30 +0.0 + 10 +410.00210571289062 + 20 +300.68966674804687 + 30 +0.0 + 10 +410.00216674804687 + 20 +299.3011474609375 + 30 +0.0 + 10 +410.05032348632812 + 20 +297.91342163085937 + 30 +0.0 + 10 +410.14666748046875 + 20 +296.52822875976562 + 30 +0.0 + 10 +410.29095458984375 + 20 +295.14706420898437 + 30 +0.0 + 10 +410.48330688476562 + 20 +293.77191162109375 + 30 +0.0 + 10 +410.72299194335937 + 20 +292.40420532226562 + 30 +0.0 + 10 +411.01007080078125 + 20 +291.045654296875 + 30 +0.0 + 10 +411.34414672851562 + 20 +289.69781494140625 + 30 +0.0 + 10 +411.72494506835937 + 20 +288.36248779296875 + 30 +0.0 + 10 +412.15167236328125 + 20 +287.04110717773437 + 30 +0.0 + 10 +412.62408447265625 + 20 +285.73532104492187 + 30 +0.0 + 10 +413.14154052734375 + 20 +284.44680786132812 + 30 +0.0 + 10 +413.70333862304687 + 20 +283.17691040039062 + 30 +0.0 + 10 +414.30905151367187 + 20 +281.92739868164062 + 30 +0.0 + 10 +414.95767211914062 + 20 +280.69964599609375 + 30 +0.0 + 10 +415.64849853515625 + 20 +279.49514770507812 + 30 +0.0 + 10 +416.38070678710937 + 20 +278.31527709960937 + 30 +0.0 + 10 +417.1533203125 + 20 +277.16177368164062 + 30 +0.0 + 10 +417.9656982421875 + 20 +276.03549194335937 + 30 +0.0 + 10 +418.81649780273437 + 20 +274.93814086914062 + 30 +0.0 + 10 +419.70501708984375 + 20 +273.87109375 + 30 +0.0 + 10 +420.6298828125 + 20 +272.83541870117187 + 30 +0.0 + 10 +421.59024047851562 + 20 +271.83233642578125 + 30 +0.0 + 10 +422.58489990234375 + 20 +270.8634033203125 + 30 +0.0 + 10 +423.612548828125 + 20 +269.9295654296875 + 30 +0.0 + 10 +424.671875 + 20 +269.03192138671875 + 30 +0.0 + 10 +425.76171875 + 20 +268.17153930664062 + 30 +0.0 + 10 +426.8809814453125 + 20 +267.34945678710937 + 30 +0.0 + 10 +428.0279541015625 + 20 +266.5667724609375 + 30 +0.0 + 10 +429.2012939453125 + 20 +265.82449340820312 + 30 +0.0 + 10 +430.39996337890625 + 20 +265.12319946289062 + 30 +0.0 + 10 +431.62197875976562 + 20 +264.46389770507812 + 30 +0.0 + 10 +432.86624145507812 + 20 +263.84756469726562 + 30 +0.0 + 10 +434.1312255859375 + 20 +263.27471923828125 + 30 +0.0 + 10 +435.41525268554687 + 20 +262.74606323242187 + 30 +0.0 + 10 +436.71682739257812 + 20 +262.26242065429687 + 30 +0.0 + 10 +438.03445434570312 + 20 +261.82421875 + 30 +0.0 + 10 +439.36648559570312 + 20 +261.43194580078125 + 30 +0.0 + 10 +440.7113037109375 + 20 +261.08609008789063 + 30 +0.0 + 10 +442.06729125976562 + 20 +260.78720092773437 + 30 +0.0 + 10 +443.4329833984375 + 20 +260.53561401367187 + 30 +0.0 + 10 +444.806396484375 + 20 +260.33151245117187 + 30 +0.0 + 10 +446.18612670898437 + 20 +260.17520141601562 + 30 +0.0 + 10 +447.57058715820313 + 20 +260.06689453125 + 30 +0.0 + 10 +448.95782470703125 + 20 +260.00662231445312 + 30 +0.0 + 10 +450.34637451171875 + 20 +259.99459838867187 + 30 +0.0 + 10 +451.73446655273438 + 20 +260.03073120117187 + 30 +0.0 + 10 +453.1204833984375 + 20 +260.11505126953125 + 30 +0.0 + 10 +454.50274658203125 + 20 +260.24737548828125 + 30 +0.0 + 10 +455.87954711914062 + 20 +260.42767333984375 + 30 +0.0 + 10 +457.24929809570312 + 20 +260.65557861328125 + 30 +0.0 + 10 +458.61032104492187 + 20 +260.93096923828125 + 30 +0.0 + 10 +459.96102905273437 + 20 +261.25326538085937 + 30 +0.0 + 10 +461.29965209960937 + 20 +261.62246704101562 + 30 +0.0 + 10 +462.62457275390625 + 20 +262.0377197265625 + 30 +0.0 + 10 +463.93453979492187 + 20 +262.49874877929687 + 30 +0.0 + 10 +465.22744750976563 + 20 +263.0050048828125 + 30 +0.0 + 10 +466.50213623046875 + 20 +263.55584716796875 + 30 +0.0 + 10 +467.75692749023437 + 20 +264.15057373046875 + 30 +0.0 + 10 +468.99026489257812 + 20 +264.7884521484375 + 30 +0.0 + 10 +470.20083618164062 + 20 +265.46881103515625 + 30 +0.0 + 10 +471.38690185546875 + 20 +266.19070434570312 + 30 +0.0 + 10 +472.5472412109375 + 20 +266.95333862304687 + 30 +0.0 + 10 +473.68051147460937 + 20 +267.75588989257812 + 30 +0.0 + 10 +474.78530883789062 + 20 +268.59722900390625 + 30 +0.0 + 10 +475.86007690429687 + 20 +269.47625732421875 + 30 +0.0 + 10 +476.9036865234375 + 20 +270.39224243164063 + 30 +0.0 + 10 +477.91494750976562 + 20 +271.34381103515625 + 30 +0.0 + 10 +478.89260864257812 + 20 +272.33001708984375 + 30 +0.0 + 10 +479.83535766601562 + 20 +273.3494873046875 + 30 +0.0 + 10 +480.74209594726562 + 20 +274.40093994140625 + 30 +0.0 + 10 +481.61181640625 + 20 +275.48342895507812 + 30 +0.0 + 10 +482.443603515625 + 20 +276.59521484375 + 30 +0.0 + 10 +483.23623657226562 + 20 +277.73538208007812 + 30 +0.0 + 10 +483.98883056640625 + 20 +278.90228271484375 + 30 +0.0 + 10 +484.70040893554687 + 20 +280.09466552734375 + 30 +0.0 + 10 +485.3702392578125 + 20 +281.31094360351562 + 30 +0.0 + 10 +485.997314453125 + 20 +282.54983520507812 + 30 +0.0 + 10 +486.5811767578125 + 20 +283.80972290039062 + 30 +0.0 + 10 +487.12094116210937 + 20 +285.089111328125 + 30 +0.0 + 10 +487.61590576171875 + 20 +286.386474609375 + 30 +0.0 + 10 +488.06564331054687 + 20 +287.7001953125 + 30 +0.0 + 10 +488.46939086914062 + 20 +289.02886962890625 + 30 +0.0 + 10 +488.82687377929687 + 20 +290.37057495117187 + 30 +0.0 + 10 +489.13748168945312 + 20 +291.72396850585937 + 30 +0.0 + 10 +489.4010009765625 + 20 +293.08721923828125 + 30 +0.0 + 10 +489.6170654296875 + 20 +294.45901489257812 + 30 +0.0 + 10 +489.7852783203125 + 20 +295.83731079101562 + 30 +0.0 + 10 +489.90570068359375 + 20 +297.22067260742187 + 30 +0.0 + 10 +489.97799682617188 + 20 +298.60745239257812 + 30 +0.0 + 10 +490.001953125 + 20 +299.99578857421875 + 30 +0.0 + 10 +490.001953125 + 20 +299.99578857421875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +54 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +438.68865966796875 + 20 +332.16668701171875 + 30 +0.0 + 10 +438.77035522460937 + 20 +331.90670776367187 + 30 +0.0 + 10 +438.87814331054687 + 20 +331.66522216796875 + 30 +0.0 + 10 +439.15301513671875 + 20 +331.22308349609375 + 30 +0.0 + 10 +439.50225830078125 + 20 +330.84780883789062 + 30 +0.0 + 10 +439.9110107421875 + 20 +330.550537109375 + 30 +0.0 + 10 +440.13388061523437 + 20 +330.43173217773437 + 30 +0.0 + 10 +440.36785888671875 + 20 +330.33880615234375 + 30 +0.0 + 10 +440.60940551757812 + 20 +330.26455688476562 + 30 +0.0 + 10 +440.85464477539062 + 20 +330.21621704101562 + 30 +0.0 + 10 +441.1109619140625 + 20 +330.19024658203125 + 30 +0.0 + 10 +441.36734008789062 + 20 +330.1939697265625 + 30 +0.0 + 10 +441.62738037109375 + 20 +330.22000122070312 + 30 +0.0 + 10 +441.88748168945312 + 20 +330.275634765625 + 30 +0.0 + 10 +442.14007568359375 + 20 +330.357421875 + 30 +0.0 + 10 +442.37789916992187 + 20 +330.46517944335937 + 30 +0.0 + 10 +442.80899047851562 + 20 +330.74008178710937 + 30 +0.0 + 10 +443.1729736328125 + 20 +331.08935546875 + 30 +0.0 + 10 +443.46273803710937 + 20 +331.50164794921875 + 30 +0.0 + 10 +443.57418823242187 + 20 +331.72836303710937 + 30 +0.0 + 10 +443.66714477539062 + 20 +331.96243286132812 + 30 +0.0 + 10 +443.7340087890625 + 20 +332.20770263671875 + 30 +0.0 + 10 +443.78231811523437 + 20 +332.46023559570312 + 30 +0.0 + 10 +443.80453491210937 + 20 +332.72039794921875 + 30 +0.0 + 10 +443.79705810546875 + 20 +332.9803466796875 + 30 +0.0 + 10 +443.76742553710937 + 20 +333.2479248046875 + 30 +0.0 + 10 +443.71157836914062 + 20 +333.51162719726562 + 30 +0.0 + 10 +443.6298828125 + 20 +333.77175903320312 + 30 +0.0 + 10 +443.522216796875 + 20 +334.01318359375 + 30 +0.0 + 10 +443.2471923828125 + 20 +334.45529174804688 + 30 +0.0 + 10 +442.89797973632812 + 20 +334.83059692382812 + 30 +0.0 + 10 +442.4893798828125 + 20 +335.1278076171875 + 30 +0.0 + 10 +442.27005004882812 + 20 +335.24664306640625 + 30 +0.0 + 10 +442.03610229492187 + 20 +335.339599609375 + 30 +0.0 + 10 +441.79464721679687 + 20 +335.41390991210937 + 30 +0.0 + 10 +441.545654296875 + 20 +335.46212768554687 + 30 +0.0 + 10 +441.29306030273437 + 20 +335.48818969726562 + 30 +0.0 + 10 +441.03298950195312 + 20 +335.4844970703125 + 30 +0.0 + 10 +440.7728271484375 + 20 +335.45846557617187 + 30 +0.0 + 10 +440.51284790039062 + 20 +335.40280151367187 + 30 +0.0 + 10 +440.26019287109375 + 20 +335.32095336914063 + 30 +0.0 + 10 +440.02243041992187 + 20 +335.2132568359375 + 30 +0.0 + 10 +439.59146118164062 + 20 +334.93829345703125 + 30 +0.0 + 10 +439.22738647460938 + 20 +334.58908081054687 + 30 +0.0 + 10 +438.9376220703125 + 20 +334.17669677734375 + 30 +0.0 + 10 +438.8260498046875 + 20 +333.9500732421875 + 30 +0.0 + 10 +438.73324584960937 + 20 +333.71603393554687 + 30 +0.0 + 10 +438.66635131835937 + 20 +333.47073364257812 + 30 +0.0 + 10 +438.6180419921875 + 20 +333.21820068359375 + 30 +0.0 + 10 +438.595703125 + 20 +332.95806884765625 + 30 +0.0 + 10 +438.60317993164062 + 20 +332.697998046875 + 30 +0.0 + 10 +438.6329345703125 + 20 +332.43051147460937 + 30 +0.0 + 10 +438.68865966796875 + 20 +332.16668701171875 + 30 +0.0 + 10 +438.68865966796875 + 20 +332.16668701171875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +55 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +442.10330200195312 + 20 +306.99588012695312 + 30 +0.0 + 10 +442.12088012695312 + 20 +306.81338500976562 + 30 +0.0 + 10 +442.17337036132812 + 20 +306.64581298828125 + 30 +0.0 + 10 +442.25588989257812 + 20 +306.49337768554687 + 30 +0.0 + 10 +442.36581420898437 + 20 +306.3582763671875 + 30 +0.0 + 10 +442.50079345703125 + 20 +306.24835205078125 + 30 +0.0 + 10 +442.65328979492187 + 20 +306.165771484375 + 30 +0.0 + 10 +442.82083129882813 + 20 +306.11331176757812 + 30 +0.0 + 10 +443.0032958984375 + 20 +306.09588623046875 + 30 +0.0 + 10 +443.18582153320312 + 20 +306.11334228515625 + 30 +0.0 + 10 +443.35336303710937 + 20 +306.1658935546875 + 30 +0.0 + 10 +443.505859375 + 20 +306.24826049804687 + 30 +0.0 + 10 +443.64080810546875 + 20 +306.35836791992187 + 30 +0.0 + 10 +443.7508544921875 + 20 +306.49334716796875 + 30 +0.0 + 10 +443.83331298828125 + 20 +306.64581298828125 + 30 +0.0 + 10 +443.8858642578125 + 20 +306.8133544921875 + 30 +0.0 + 10 +443.90338134765625 + 20 +306.99588012695312 + 30 +0.0 + 10 +443.88577270507812 + 20 +307.17831420898437 + 30 +0.0 + 10 +443.83334350585937 + 20 +307.34588623046875 + 30 +0.0 + 10 +443.7508544921875 + 20 +307.49835205078125 + 30 +0.0 + 10 +443.640869140625 + 20 +307.63339233398437 + 30 +0.0 + 10 +443.50579833984375 + 20 +307.74331665039062 + 30 +0.0 + 10 +443.35330200195312 + 20 +307.82583618164062 + 30 +0.0 + 10 +443.18585205078125 + 20 +307.87835693359375 + 30 +0.0 + 10 +443.00332641601562 + 20 +307.89584350585937 + 30 +0.0 + 10 +442.82080078125 + 20 +307.87835693359375 + 30 +0.0 + 10 +442.65328979492187 + 20 +307.82583618164062 + 30 +0.0 + 10 +442.50088500976562 + 20 +307.74334716796875 + 30 +0.0 + 10 +442.36578369140625 + 20 +307.63330078125 + 30 +0.0 + 10 +442.255859375 + 20 +307.49838256835937 + 30 +0.0 + 10 +442.17337036132812 + 20 +307.34585571289062 + 30 +0.0 + 10 +442.12088012695312 + 20 +307.17837524414062 + 30 +0.0 + 10 +442.10330200195312 + 20 +306.99588012695312 + 30 +0.0 + 10 +442.10330200195312 + 20 +306.99588012695312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +56 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +456.10330200195312 + 20 +306.99575805664062 + 30 +0.0 + 10 +456.12081909179687 + 20 +306.81326293945313 + 30 +0.0 + 10 +456.17330932617187 + 20 +306.64578247070312 + 30 +0.0 + 10 +456.25579833984375 + 20 +306.49331665039062 + 30 +0.0 + 10 +456.36581420898437 + 20 +306.35836791992187 + 30 +0.0 + 10 +456.50079345703125 + 20 +306.248291015625 + 30 +0.0 + 10 +456.65335083007812 + 20 +306.16583251953125 + 30 +0.0 + 10 +456.82086181640625 + 20 +306.11331176757812 + 30 +0.0 + 10 +457.0032958984375 + 20 +306.095703125 + 30 +0.0 + 10 +457.185791015625 + 20 +306.11331176757812 + 30 +0.0 + 10 +457.353271484375 + 20 +306.16583251953125 + 30 +0.0 + 10 +457.50579833984375 + 20 +306.248291015625 + 30 +0.0 + 10 +457.64080810546875 + 20 +306.35824584960937 + 30 +0.0 + 10 +457.75082397460937 + 20 +306.49325561523437 + 30 +0.0 + 10 +457.83331298828125 + 20 +306.64578247070312 + 30 +0.0 + 10 +457.88577270507812 + 20 +306.81332397460938 + 30 +0.0 + 10 +457.90328979492187 + 20 +306.99575805664062 + 30 +0.0 + 10 +457.88589477539062 + 20 +307.1783447265625 + 30 +0.0 + 10 +457.83334350585937 + 20 +307.3458251953125 + 30 +0.0 + 10 +457.75076293945312 + 20 +307.498291015625 + 30 +0.0 + 10 +457.64083862304687 + 20 +307.63330078125 + 30 +0.0 + 10 +457.50579833984375 + 20 +307.7432861328125 + 30 +0.0 + 10 +457.353271484375 + 20 +307.82574462890625 + 30 +0.0 + 10 +457.185791015625 + 20 +307.87832641601562 + 30 +0.0 + 10 +457.00332641601562 + 20 +307.89584350585937 + 30 +0.0 + 10 +456.82086181640625 + 20 +307.8782958984375 + 30 +0.0 + 10 +456.65328979492187 + 20 +307.82577514648437 + 30 +0.0 + 10 +456.5008544921875 + 20 +307.7432861328125 + 30 +0.0 + 10 +456.3658447265625 + 20 +307.63327026367187 + 30 +0.0 + 10 +456.255859375 + 20 +307.49832153320312 + 30 +0.0 + 10 +456.17333984375 + 20 +307.34576416015625 + 30 +0.0 + 10 +456.12088012695312 + 20 +307.17831420898437 + 30 +0.0 + 10 +456.10330200195312 + 20 +306.99575805664062 + 30 +0.0 + 10 +456.10330200195312 + 20 +306.99575805664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +57 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +442.100830078125 + 20 +292.99575805664062 + 30 +0.0 + 10 +442.11834716796875 + 20 +292.81332397460938 + 30 +0.0 + 10 +442.17086791992187 + 20 +292.645751953125 + 30 +0.0 + 10 +442.25338745117187 + 20 +292.49325561523437 + 30 +0.0 + 10 +442.36337280273437 + 20 +292.3582763671875 + 30 +0.0 + 10 +442.49835205078125 + 20 +292.248291015625 + 30 +0.0 + 10 +442.65078735351562 + 20 +292.165771484375 + 30 +0.0 + 10 +442.81838989257812 + 20 +292.11325073242187 + 30 +0.0 + 10 +443.0008544921875 + 20 +292.09576416015625 + 30 +0.0 + 10 +443.18338012695312 + 20 +292.11331176757812 + 30 +0.0 + 10 +443.35089111328125 + 20 +292.16580200195312 + 30 +0.0 + 10 +443.50335693359375 + 20 +292.248291015625 + 30 +0.0 + 10 +443.63833618164062 + 20 +292.35821533203125 + 30 +0.0 + 10 +443.74835205078125 + 20 +292.49331665039062 + 30 +0.0 + 10 +443.83084106445312 + 20 +292.64578247070312 + 30 +0.0 + 10 +443.88333129882812 + 20 +292.81332397460938 + 30 +0.0 + 10 +443.90090942382812 + 20 +292.99581909179687 + 30 +0.0 + 10 +443.88336181640625 + 20 +293.17822265625 + 30 +0.0 + 10 +443.83084106445312 + 20 +293.3458251953125 + 30 +0.0 + 10 +443.748291015625 + 20 +293.498291015625 + 30 +0.0 + 10 +443.63836669921875 + 20 +293.63327026367187 + 30 +0.0 + 10 +443.50335693359375 + 20 +293.7432861328125 + 30 +0.0 + 10 +443.35089111328125 + 20 +293.82577514648437 + 30 +0.0 + 10 +443.18341064453125 + 20 +293.87832641601562 + 30 +0.0 + 10 +443.00082397460937 + 20 +293.89578247070312 + 30 +0.0 + 10 +442.81829833984375 + 20 +293.87826538085937 + 30 +0.0 + 10 +442.65084838867187 + 20 +293.82574462890625 + 30 +0.0 + 10 +442.498291015625 + 20 +293.74325561523438 + 30 +0.0 + 10 +442.36337280273437 + 20 +293.63336181640625 + 30 +0.0 + 10 +442.25335693359375 + 20 +293.498291015625 + 30 +0.0 + 10 +442.17083740234375 + 20 +293.345703125 + 30 +0.0 + 10 +442.11834716796875 + 20 +293.17828369140625 + 30 +0.0 + 10 +442.100830078125 + 20 +292.99575805664062 + 30 +0.0 + 10 +442.100830078125 + 20 +292.99575805664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +58 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +34 + 70 +0 + 10 +456.10086059570312 + 20 +292.99826049804687 + 30 +0.0 + 10 +456.11834716796875 + 20 +292.81585693359375 + 30 +0.0 + 10 +456.17086791992187 + 20 +292.64837646484375 + 30 +0.0 + 10 +456.25332641601562 + 20 +292.49588012695312 + 30 +0.0 + 10 +456.36334228515625 + 20 +292.36087036132812 + 30 +0.0 + 10 +456.498291015625 + 20 +292.25082397460937 + 30 +0.0 + 10 +456.65090942382812 + 20 +292.16830444335937 + 30 +0.0 + 10 +456.81829833984375 + 20 +292.11578369140625 + 30 +0.0 + 10 +457.0008544921875 + 20 +292.09829711914062 + 30 +0.0 + 10 +457.18331909179687 + 20 +292.1158447265625 + 30 +0.0 + 10 +457.35092163085937 + 20 +292.16830444335937 + 30 +0.0 + 10 +457.5032958984375 + 20 +292.25088500976562 + 30 +0.0 + 10 +457.6383056640625 + 20 +292.36080932617187 + 30 +0.0 + 10 +457.748291015625 + 20 +292.49581909179687 + 30 +0.0 + 10 +457.83084106445312 + 20 +292.6483154296875 + 30 +0.0 + 10 +457.88333129882812 + 20 +292.81588745117187 + 30 +0.0 + 10 +457.90081787109375 + 20 +292.99835205078125 + 30 +0.0 + 10 +457.88333129882812 + 20 +293.18081665039062 + 30 +0.0 + 10 +457.83087158203125 + 20 +293.34829711914062 + 30 +0.0 + 10 +457.748291015625 + 20 +293.5008544921875 + 30 +0.0 + 10 +457.63839721679687 + 20 +293.63571166992187 + 30 +0.0 + 10 +457.50338745117187 + 20 +293.74581909179687 + 30 +0.0 + 10 +457.35086059570312 + 20 +293.82833862304687 + 30 +0.0 + 10 +457.18328857421875 + 20 +293.880859375 + 30 +0.0 + 10 +457.00076293945312 + 20 +293.89828491210937 + 30 +0.0 + 10 +456.81832885742187 + 20 +293.880859375 + 30 +0.0 + 10 +456.65087890625 + 20 +293.82830810546875 + 30 +0.0 + 10 +456.49838256835937 + 20 +293.74581909179687 + 30 +0.0 + 10 +456.36337280273437 + 20 +293.63583374023437 + 30 +0.0 + 10 +456.2532958984375 + 20 +293.50082397460938 + 30 +0.0 + 10 +456.17083740234375 + 20 +293.34832763671875 + 30 +0.0 + 10 +456.118408203125 + 20 +293.18084716796875 + 30 +0.0 + 10 +456.10086059570312 + 20 +292.99826049804687 + 30 +0.0 + 10 +456.10086059570312 + 20 +292.99826049804687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +59 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +424.11932373046875 + 20 +322.20248413085937 + 30 +0.0 + 10 +424.32015991210937 + 20 +322.0181884765625 + 30 +0.0 + 10 +424.5341796875 + 20 +321.86294555664062 + 30 +0.0 + 10 +424.99325561523437 + 20 +321.61752319335937 + 30 +0.0 + 10 +425.48345947265625 + 20 +321.46719360351562 + 30 +0.0 + 10 +425.98590087890625 + 20 +321.41409301757812 + 30 +0.0 + 10 +426.23843383789062 + 20 +321.42257690429688 + 30 +0.0 + 10 +426.48757934570312 + 20 +321.45919799804687 + 30 +0.0 + 10 +426.73385620117187 + 20 +321.51559448242187 + 30 +0.0 + 10 +426.97039794921875 + 20 +321.59634399414062 + 30 +0.0 + 10 +427.20541381835937 + 20 +321.7020263671875 + 30 +0.0 + 10 +427.42559814453125 + 20 +321.83343505859375 + 30 +0.0 + 10 +427.63772583007812 + 20 +321.98599243164062 + 30 +0.0 + 10 +427.83502197265625 + 20 +322.16427612304687 + 30 +0.0 + 10 +428.0130615234375 + 20 +322.36135864257812 + 30 +0.0 + 10 +428.16510009765625 + 20 +322.57354736328125 + 30 +0.0 + 10 +428.40090942382812 + 20 +323.027099609375 + 30 +0.0 + 10 +428.54150390625 + 20 +323.51165771484375 + 30 +0.0 + 10 +428.58639526367187 + 20 +324.01370239257812 + 30 +0.0 + 10 +428.56948852539062 + 20 +324.26565551757812 + 30 +0.0 + 10 +428.53286743164062 + 20 +324.51486206054687 + 30 +0.0 + 10 +428.46829223632812 + 20 +324.76065063476562 + 30 +0.0 + 10 +428.3837890625 + 20 +325.00357055664062 + 30 +0.0 + 10 +428.27304077148437 + 20 +325.23992919921875 + 30 +0.0 + 10 +428.1365966796875 + 20 +325.46142578125 + 30 +0.0 + 10 +427.97705078125 + 20 +325.67825317382812 + 30 +0.0 + 10 +427.79690551757813 + 20 +325.87881469726562 + 30 +0.0 + 10 +427.5960693359375 + 20 +326.0631103515625 + 30 +0.0 + 10 +427.38204956054687 + 20 +326.21847534179687 + 30 +0.0 + 10 +426.92288208007812 + 20 +326.46380615234375 + 30 +0.0 + 10 +426.43289184570312 + 20 +326.61419677734375 + 30 +0.0 + 10 +425.93038940429687 + 20 +326.66732788085937 + 30 +0.0 + 10 +425.68096923828125 + 20 +326.66058349609375 + 30 +0.0 + 10 +425.431884765625 + 20 +326.62405395507812 + 30 +0.0 + 10 +425.18557739257812 + 20 +326.56768798828125 + 30 +0.0 + 10 +424.94586181640625 + 20 +326.4849853515625 + 30 +0.0 + 10 +424.71405029296875 + 20 +326.38119506835937 + 30 +0.0 + 10 +424.49072265625 + 20 +326.24795532226562 + 30 +0.0 + 10 +424.27847290039062 + 20 +326.0953369140625 + 30 +0.0 + 10 +424.0811767578125 + 20 +325.9171142578125 + 30 +0.0 + 10 +423.90316772460937 + 20 +325.72000122070312 + 30 +0.0 + 10 +423.75115966796875 + 20 +325.50778198242187 + 30 +0.0 + 10 +423.51541137695312 + 20 +325.05422973632812 + 30 +0.0 + 10 +423.374755859375 + 20 +324.56967163085937 + 30 +0.0 + 10 +423.32986450195312 + 20 +324.06768798828125 + 30 +0.0 + 10 +423.34674072265625 + 20 +323.81570434570312 + 30 +0.0 + 10 +423.38323974609375 + 20 +323.5665283203125 + 30 +0.0 + 10 +423.44796752929688 + 20 +323.32073974609375 + 30 +0.0 + 10 +423.53250122070312 + 20 +323.0777587890625 + 30 +0.0 + 10 +423.64321899414062 + 20 +322.84140014648437 + 30 +0.0 + 10 +423.77963256835937 + 20 +322.61993408203125 + 30 +0.0 + 10 +423.939208984375 + 20 +322.403076171875 + 30 +0.0 + 10 +424.11932373046875 + 20 +322.20248413085937 + 30 +0.0 + 10 +424.11932373046875 + 20 +322.20248413085937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +416.48291015625 + 20 +306.28863525390625 + 30 +0.0 + 10 +416.74899291992187 + 20 +306.22943115234375 + 30 +0.0 + 10 +417.011962890625 + 20 +306.20196533203125 + 30 +0.0 + 10 +417.53228759765625 + 20 +306.21896362304688 + 30 +0.0 + 10 +418.03192138671875 + 20 +306.33377075195312 + 30 +0.0 + 10 +418.49365234375 + 20 +306.53909301757812 + 30 +0.0 + 10 +418.70809936523437 + 20 +306.67266845703125 + 30 +0.0 + 10 +418.90557861328125 + 20 +306.82904052734375 + 30 +0.0 + 10 +419.09063720703125 + 20 +307.00100708007812 + 30 +0.0 + 10 +419.25503540039062 + 20 +307.189208984375 + 30 +0.0 + 10 +419.40579223632812 + 20 +307.39822387695312 + 30 +0.0 + 10 +419.53076171875 + 20 +307.62210083007812 + 30 +0.0 + 10 +419.63821411132812 + 20 +307.8603515625 + 30 +0.0 + 10 +419.72000122070312 + 20 +308.1134033203125 + 30 +0.0 + 10 +419.77557373046875 + 20 +308.373046875 + 30 +0.0 + 10 +419.80108642578125 + 20 +308.63287353515625 + 30 +0.0 + 10 +419.77859497070312 + 20 +309.1435546875 + 30 +0.0 + 10 +419.6580810546875 + 20 +309.63351440429688 + 30 +0.0 + 10 +419.44589233398438 + 20 +310.09066772460937 + 30 +0.0 + 10 +419.3052978515625 + 20 +310.30044555664062 + 30 +0.0 + 10 +419.1490478515625 + 20 +310.49801635742187 + 30 +0.0 + 10 +418.9700927734375 + 20 +310.67852783203125 + 30 +0.0 + 10 +418.77548217773437 + 20 +310.8466796875 + 30 +0.0 + 10 +418.56143188476562 + 20 +310.9959716796875 + 30 +0.0 + 10 +418.33255004882812 + 20 +311.11956787109375 + 30 +0.0 + 10 +418.08599853515625 + 20 +311.22763061523437 + 30 +0.0 + 10 +417.82968139648437 + 20 +311.31118774414062 + 30 +0.0 + 10 +417.56356811523437 + 20 +311.37042236328125 + 30 +0.0 + 10 +417.30056762695312 + 20 +311.39791870117187 + 30 +0.0 + 10 +416.78024291992187 + 20 +311.380859375 + 30 +0.0 + 10 +416.28060913085937 + 20 +311.26602172851562 + 30 +0.0 + 10 +415.81893920898437 + 20 +311.060791015625 + 30 +0.0 + 10 +415.6063232421875 + 20 +310.93026733398437 + 30 +0.0 + 10 +415.40884399414062 + 20 +310.77410888671875 + 30 +0.0 + 10 +415.2237548828125 + 20 +310.6021728515625 + 30 +0.0 + 10 +415.0574951171875 + 20 +310.41067504882812 + 30 +0.0 + 10 +414.90869140625 + 20 +310.20489501953125 + 30 +0.0 + 10 +414.78182983398438 + 20 +309.97784423828125 + 30 +0.0 + 10 +414.67434692382812 + 20 +309.73953247070312 + 30 +0.0 + 10 +414.59249877929687 + 20 +309.4864501953125 + 30 +0.0 + 10 +414.53701782226562 + 20 +309.22686767578125 + 30 +0.0 + 10 +414.5113525390625 + 20 +308.967041015625 + 30 +0.0 + 10 +414.53408813476562 + 20 +308.45639038085937 + 30 +0.0 + 10 +414.65444946289062 + 20 +307.96636962890625 + 30 +0.0 + 10 +414.86666870117187 + 20 +307.50918579101563 + 30 +0.0 + 10 +415.00726318359375 + 20 +307.29937744140625 + 30 +0.0 + 10 +415.1634521484375 + 20 +307.10189819335937 + 30 +0.0 + 10 +415.34243774414062 + 20 +306.92141723632812 + 30 +0.0 + 10 +415.53704833984375 + 20 +306.75326538085937 + 30 +0.0 + 10 +415.75112915039062 + 20 +306.60385131835938 + 30 +0.0 + 10 +415.98007202148437 + 20 +306.48031616210937 + 30 +0.0 + 10 +416.22659301757812 + 20 +306.37237548828125 + 30 +0.0 + 10 +416.48291015625 + 20 +306.28863525390625 + 30 +0.0 + 10 +416.48291015625 + 20 +306.28863525390625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +417.8265380859375 + 20 +288.68878173828125 + 30 +0.0 + 10 +418.08660888671875 + 20 +288.7705078125 + 30 +0.0 + 10 +418.32809448242187 + 20 +288.87823486328125 + 30 +0.0 + 10 +418.77020263671875 + 20 +289.15310668945312 + 30 +0.0 + 10 +419.14544677734375 + 20 +289.50244140625 + 30 +0.0 + 10 +419.44268798828125 + 20 +289.9111328125 + 30 +0.0 + 10 +419.56161499023437 + 20 +290.13394165039062 + 30 +0.0 + 10 +419.6544189453125 + 20 +290.36807250976562 + 30 +0.0 + 10 +419.72882080078125 + 20 +290.60958862304687 + 30 +0.0 + 10 +419.77706909179687 + 20 +290.854736328125 + 30 +0.0 + 10 +419.80307006835937 + 20 +291.11111450195313 + 30 +0.0 + 10 +419.79931640625 + 20 +291.36749267578125 + 30 +0.0 + 10 +419.7733154296875 + 20 +291.62753295898437 + 30 +0.0 + 10 +419.71762084960937 + 20 +291.88760375976562 + 30 +0.0 + 10 +419.63589477539062 + 20 +292.14022827148437 + 30 +0.0 + 10 +419.528076171875 + 20 +292.3780517578125 + 30 +0.0 + 10 +419.2532958984375 + 20 +292.8089599609375 + 30 +0.0 + 10 +418.9039306640625 + 20 +293.173095703125 + 30 +0.0 + 10 +418.49148559570312 + 20 +293.46298217773437 + 30 +0.0 + 10 +418.26495361328125 + 20 +293.57431030273437 + 30 +0.0 + 10 +418.0308837890625 + 20 +293.66720581054687 + 30 +0.0 + 10 +417.78564453125 + 20 +293.73410034179687 + 30 +0.0 + 10 +417.5330810546875 + 20 +293.782470703125 + 30 +0.0 + 10 +417.27294921875 + 20 +293.8045654296875 + 30 +0.0 + 10 +417.01287841796875 + 20 +293.7972412109375 + 30 +0.0 + 10 +416.74542236328125 + 20 +293.767578125 + 30 +0.0 + 10 +416.48159790039062 + 20 +293.71176147460937 + 30 +0.0 + 10 +416.22146606445312 + 20 +293.6300048828125 + 30 +0.0 + 10 +415.9801025390625 + 20 +293.52236938476562 + 30 +0.0 + 10 +415.5379638671875 + 20 +293.24737548828125 + 30 +0.0 + 10 +415.1627197265625 + 20 +292.898193359375 + 30 +0.0 + 10 +414.86544799804687 + 20 +292.48953247070312 + 30 +0.0 + 10 +414.74661254882812 + 20 +292.270263671875 + 30 +0.0 + 10 +414.65371704101562 + 20 +292.03622436523437 + 30 +0.0 + 10 +414.57940673828125 + 20 +291.79473876953125 + 30 +0.0 + 10 +414.53115844726562 + 20 +291.54580688476562 + 30 +0.0 + 10 +414.50509643554687 + 20 +291.29318237304687 + 30 +0.0 + 10 +414.50885009765625 + 20 +291.03311157226563 + 30 +0.0 + 10 +414.53482055664062 + 20 +290.77301025390625 + 30 +0.0 + 10 +414.59048461914062 + 20 +290.51303100585937 + 30 +0.0 + 10 +414.67236328125 + 20 +290.26028442382812 + 30 +0.0 + 10 +414.780029296875 + 20 +290.02267456054687 + 30 +0.0 + 10 +415.05496215820313 + 20 +289.59164428710937 + 30 +0.0 + 10 +415.40420532226562 + 20 +289.22744750976563 + 30 +0.0 + 10 +415.81661987304687 + 20 +288.93771362304688 + 30 +0.0 + 10 +416.04324340820312 + 20 +288.82626342773437 + 30 +0.0 + 10 +416.27728271484375 + 20 +288.73333740234375 + 30 +0.0 + 10 +416.52252197265625 + 20 +288.66647338867187 + 30 +0.0 + 10 +416.77508544921875 + 20 +288.61822509765625 + 30 +0.0 + 10 +417.03524780273437 + 20 +288.5958251953125 + 30 +0.0 + 10 +417.29525756835937 + 20 +288.6033935546875 + 30 +0.0 + 10 +417.562744140625 + 20 +288.633056640625 + 30 +0.0 + 10 +417.8265380859375 + 20 +288.68878173828125 + 30 +0.0 + 10 +417.8265380859375 + 20 +288.68878173828125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +427.78994750976563 + 20 +274.11865234375 + 30 +0.0 + 10 +427.97418212890625 + 20 +274.31948852539062 + 30 +0.0 + 10 +428.12954711914062 + 20 +274.53350830078125 + 30 +0.0 + 10 +428.37493896484375 + 20 +274.99261474609375 + 30 +0.0 + 10 +428.52532958984375 + 20 +275.48275756835937 + 30 +0.0 + 10 +428.57846069335938 + 20 +275.98526000976562 + 30 +0.0 + 10 +428.56985473632812 + 20 +276.23782348632812 + 30 +0.0 + 10 +428.53326416015625 + 20 +276.4869384765625 + 30 +0.0 + 10 +428.4769287109375 + 20 +276.73324584960937 + 30 +0.0 + 10 +428.39614868164062 + 20 +276.9697265625 + 30 +0.0 + 10 +428.29046630859375 + 20 +277.20477294921875 + 30 +0.0 + 10 +428.1590576171875 + 20 +277.4249267578125 + 30 +0.0 + 10 +428.00643920898437 + 20 +277.63714599609375 + 30 +0.0 + 10 +427.82827758789063 + 20 +277.83447265625 + 30 +0.0 + 10 +427.631103515625 + 20 +278.01235961914062 + 30 +0.0 + 10 +427.4189453125 + 20 +278.1644287109375 + 30 +0.0 + 10 +426.96533203125 + 20 +278.4002685546875 + 30 +0.0 + 10 +426.48077392578125 + 20 +278.54092407226562 + 30 +0.0 + 10 +425.97879028320312 + 20 +278.58572387695312 + 30 +0.0 + 10 +425.72683715820312 + 20 +278.56887817382812 + 30 +0.0 + 10 +425.47763061523437 + 20 +278.53231811523437 + 30 +0.0 + 10 +425.23178100585937 + 20 +278.4676513671875 + 30 +0.0 + 10 +424.98892211914062 + 20 +278.3831787109375 + 30 +0.0 + 10 +424.75253295898437 + 20 +278.27236938476562 + 30 +0.0 + 10 +424.53103637695312 + 20 +278.1358642578125 + 30 +0.0 + 10 +424.314208984375 + 20 +277.9764404296875 + 30 +0.0 + 10 +424.1136474609375 + 20 +277.79623413085937 + 30 +0.0 + 10 +423.9293212890625 + 20 +277.59539794921875 + 30 +0.0 + 10 +423.7740478515625 + 20 +277.38143920898437 + 30 +0.0 + 10 +423.52865600585937 + 20 +276.92227172851563 + 30 +0.0 + 10 +423.37826538085937 + 20 +276.43218994140625 + 30 +0.0 + 10 +423.32516479492187 + 20 +275.9296875 + 30 +0.0 + 10 +423.33187866210937 + 20 +275.68038940429687 + 30 +0.0 + 10 +423.36837768554688 + 20 +275.43124389648437 + 30 +0.0 + 10 +423.42477416992187 + 20 +275.18499755859375 + 30 +0.0 + 10 +423.50750732421875 + 20 +274.94528198242187 + 30 +0.0 + 10 +423.61126708984375 + 20 +274.71343994140625 + 30 +0.0 + 10 +423.74447631835937 + 20 +274.49008178710937 + 30 +0.0 + 10 +423.8970947265625 + 20 +274.27783203125 + 30 +0.0 + 10 +424.07540893554687 + 20 +274.0804443359375 + 30 +0.0 + 10 +424.27243041992187 + 20 +273.90261840820312 + 30 +0.0 + 10 +424.484619140625 + 20 +273.75054931640625 + 30 +0.0 + 10 +424.93820190429688 + 20 +273.51473999023437 + 30 +0.0 + 10 +425.42279052734375 + 20 +273.37405395507812 + 30 +0.0 + 10 +425.9248046875 + 20 +273.32928466796875 + 30 +0.0 + 10 +426.17681884765625 + 20 +273.3460693359375 + 30 +0.0 + 10 +426.42596435546875 + 20 +273.38262939453125 + 30 +0.0 + 10 +426.67172241210937 + 20 +273.4473876953125 + 30 +0.0 + 10 +426.91470336914062 + 20 +273.53182983398437 + 30 +0.0 + 10 +427.15106201171875 + 20 +273.64251708984375 + 30 +0.0 + 10 +427.37252807617187 + 20 +273.77902221679687 + 30 +0.0 + 10 +427.58929443359375 + 20 +273.93850708007812 + 30 +0.0 + 10 +427.78994750976563 + 20 +274.11865234375 + 30 +0.0 + 10 +427.78994750976563 + 20 +274.11865234375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +443.70361328125 + 20 +266.48214721679687 + 30 +0.0 + 10 +443.7628173828125 + 20 +266.74819946289062 + 30 +0.0 + 10 +443.790283203125 + 20 +267.01119995117187 + 30 +0.0 + 10 +443.773193359375 + 20 +267.53155517578125 + 30 +0.0 + 10 +443.658447265625 + 20 +268.03115844726562 + 30 +0.0 + 10 +443.45309448242187 + 20 +268.49288940429687 + 30 +0.0 + 10 +443.31954956054687 + 20 +268.70724487304687 + 30 +0.0 + 10 +443.16323852539062 + 20 +268.90472412109375 + 30 +0.0 + 10 +442.99127197265625 + 20 +269.08990478515625 + 30 +0.0 + 10 +442.80294799804687 + 20 +269.25433349609375 + 30 +0.0 + 10 +442.59408569335937 + 20 +269.40499877929687 + 30 +0.0 + 10 +442.37008666992187 + 20 +269.530029296875 + 30 +0.0 + 10 +442.1319580078125 + 20 +269.63748168945312 + 30 +0.0 + 10 +441.87884521484375 + 20 +269.71920776367188 + 30 +0.0 + 10 +441.61920166015625 + 20 +269.77481079101562 + 30 +0.0 + 10 +441.359375 + 20 +269.80038452148437 + 30 +0.0 + 10 +440.84872436523437 + 20 +269.77780151367187 + 30 +0.0 + 10 +440.3587646484375 + 20 +269.65728759765625 + 30 +0.0 + 10 +439.90151977539062 + 20 +269.44515991210937 + 30 +0.0 + 10 +439.69174194335937 + 20 +269.30459594726562 + 30 +0.0 + 10 +439.49429321289063 + 20 +269.14825439453125 + 30 +0.0 + 10 +439.313720703125 + 20 +268.96932983398437 + 30 +0.0 + 10 +439.1456298828125 + 20 +268.77481079101563 + 30 +0.0 + 10 +438.99630737304687 + 20 +268.560546875 + 30 +0.0 + 10 +438.87271118164062 + 20 +268.33172607421875 + 30 +0.0 + 10 +438.7646484375 + 20 +268.08517456054687 + 30 +0.0 + 10 +438.68109130859375 + 20 +267.828857421875 + 30 +0.0 + 10 +438.62185668945312 + 20 +267.56277465820312 + 30 +0.0 + 10 +438.5943603515625 + 20 +267.2998046875 + 30 +0.0 + 10 +438.61151123046875 + 20 +266.77944946289062 + 30 +0.0 + 10 +438.72622680664062 + 20 +266.27984619140625 + 30 +0.0 + 10 +438.9315185546875 + 20 +265.81814575195312 + 30 +0.0 + 10 +439.06198120117187 + 20 +265.60552978515625 + 30 +0.0 + 10 +439.21823120117187 + 20 +265.4080810546875 + 30 +0.0 + 10 +439.39013671875 + 20 +265.22299194335937 + 30 +0.0 + 10 +439.5816650390625 + 20 +265.05670166015625 + 30 +0.0 + 10 +439.78744506835937 + 20 +264.90786743164062 + 30 +0.0 + 10 +440.01446533203125 + 20 +264.78109741210937 + 30 +0.0 + 10 +440.25274658203125 + 20 +264.67352294921875 + 30 +0.0 + 10 +440.50579833984375 + 20 +264.59173583984375 + 30 +0.0 + 10 +440.76544189453125 + 20 +264.5362548828125 + 30 +0.0 + 10 +441.02517700195312 + 20 +264.51065063476562 + 30 +0.0 + 10 +441.53594970703125 + 20 +264.53326416015625 + 30 +0.0 + 10 +442.02587890625 + 20 +264.6536865234375 + 30 +0.0 + 10 +442.4830322265625 + 20 +264.86587524414062 + 30 +0.0 + 10 +442.69290161132812 + 20 +265.00643920898437 + 30 +0.0 + 10 +442.89041137695312 + 20 +265.16268920898437 + 30 +0.0 + 10 +443.0709228515625 + 20 +265.34161376953125 + 30 +0.0 + 10 +443.23898315429687 + 20 +265.53628540039062 + 30 +0.0 + 10 +443.38845825195312 + 20 +265.75030517578125 + 30 +0.0 + 10 +443.511962890625 + 20 +265.979248046875 + 30 +0.0 + 10 +443.61990356445312 + 20 +266.22576904296875 + 30 +0.0 + 10 +443.70361328125 + 20 +266.48214721679687 + 30 +0.0 + 10 +443.70361328125 + 20 +266.48214721679687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +461.30364990234375 + 20 +267.82571411132812 + 30 +0.0 + 10 +461.22183227539062 + 20 +268.08572387695312 + 30 +0.0 + 10 +461.11407470703125 + 20 +268.3272705078125 + 30 +0.0 + 10 +460.83926391601562 + 20 +268.76934814453125 + 30 +0.0 + 10 +460.489990234375 + 20 +269.1446533203125 + 30 +0.0 + 10 +460.081298828125 + 20 +269.44183349609375 + 30 +0.0 + 10 +459.85830688476562 + 20 +269.56072998046875 + 30 +0.0 + 10 +459.62423706054687 + 20 +269.65359497070312 + 30 +0.0 + 10 +459.3828125 + 20 +269.7279052734375 + 30 +0.0 + 10 +459.1375732421875 + 20 +269.7762451171875 + 30 +0.0 + 10 +458.8812255859375 + 20 +269.80218505859375 + 30 +0.0 + 10 +458.6248779296875 + 20 +269.79849243164062 + 30 +0.0 + 10 +458.36474609375 + 20 +269.7724609375 + 30 +0.0 + 10 +458.10479736328125 + 20 +269.71670532226562 + 30 +0.0 + 10 +457.85211181640625 + 20 +269.63504028320312 + 30 +0.0 + 10 +457.61431884765625 + 20 +269.52731323242187 + 30 +0.0 + 10 +457.18331909179687 + 20 +269.25238037109375 + 30 +0.0 + 10 +456.81927490234375 + 20 +268.90310668945312 + 30 +0.0 + 10 +456.52944946289062 + 20 +268.49072265625 + 30 +0.0 + 10 +456.41806030273437 + 20 +268.26406860351562 + 30 +0.0 + 10 +456.3250732421875 + 20 +268.030029296875 + 30 +0.0 + 10 +456.25820922851562 + 20 +267.78475952148437 + 30 +0.0 + 10 +456.20993041992187 + 20 +267.5322265625 + 30 +0.0 + 10 +456.18768310546875 + 20 +267.27206420898437 + 30 +0.0 + 10 +456.19512939453125 + 20 +267.0120849609375 + 30 +0.0 + 10 +456.22479248046875 + 20 +266.7445068359375 + 30 +0.0 + 10 +456.28054809570312 + 20 +266.48074340820312 + 30 +0.0 + 10 +456.3623046875 + 20 +266.22067260742188 + 30 +0.0 + 10 +456.47006225585937 + 20 +265.97918701171875 + 30 +0.0 + 10 +456.7449951171875 + 20 +265.53713989257812 + 30 +0.0 + 10 +457.09420776367187 + 20 +265.161865234375 + 30 +0.0 + 10 +457.50283813476562 + 20 +264.8646240234375 + 30 +0.0 + 10 +457.72210693359375 + 20 +264.74578857421875 + 30 +0.0 + 10 +457.95611572265625 + 20 +264.65286254882812 + 30 +0.0 + 10 +458.19757080078125 + 20 +264.57852172851563 + 30 +0.0 + 10 +458.44650268554688 + 20 +264.5302734375 + 30 +0.0 + 10 +458.69918823242187 + 20 +264.50424194335937 + 30 +0.0 + 10 +458.959228515625 + 20 +264.5079345703125 + 30 +0.0 + 10 +459.2193603515625 + 20 +264.533935546875 + 30 +0.0 + 10 +459.47940063476562 + 20 +264.58969116210937 + 30 +0.0 + 10 +459.73196411132812 + 20 +264.67144775390625 + 30 +0.0 + 10 +459.96975708007812 + 20 +264.7791748046875 + 30 +0.0 + 10 +460.40072631835937 + 20 +265.05410766601562 + 30 +0.0 + 10 +460.764892578125 + 20 +265.40338134765625 + 30 +0.0 + 10 +461.05462646484375 + 20 +265.81573486328125 + 30 +0.0 + 10 +461.16616821289062 + 20 +266.04238891601562 + 30 +0.0 + 10 +461.25906372070312 + 20 +266.27642822265625 + 30 +0.0 + 10 +461.32583618164062 + 20 +266.52157592773437 + 30 +0.0 + 10 +461.37417602539062 + 20 +266.7742919921875 + 30 +0.0 + 10 +461.396484375 + 20 +267.03439331054687 + 30 +0.0 + 10 +461.3890380859375 + 20 +267.29437255859375 + 30 +0.0 + 10 +461.35931396484375 + 20 +267.5618896484375 + 30 +0.0 + 10 +461.30364990234375 + 20 +267.82571411132812 + 30 +0.0 + 10 +461.30364990234375 + 20 +267.82571411132812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +475.8736572265625 + 20 +277.78924560546875 + 30 +0.0 + 10 +475.67282104492187 + 20 +277.97357177734375 + 30 +0.0 + 10 +475.45880126953125 + 20 +278.12884521484375 + 30 +0.0 + 10 +474.99969482421875 + 20 +278.374267578125 + 30 +0.0 + 10 +474.50955200195312 + 20 +278.52456665039062 + 30 +0.0 + 10 +474.00698852539062 + 20 +278.57766723632812 + 30 +0.0 + 10 +473.75457763671875 + 20 +278.56918334960937 + 30 +0.0 + 10 +473.50543212890625 + 20 +278.53256225585937 + 30 +0.0 + 10 +473.25909423828125 + 20 +278.47616577148437 + 30 +0.0 + 10 +473.0225830078125 + 20 +278.39541625976562 + 30 +0.0 + 10 +472.78756713867187 + 20 +278.28973388671875 + 30 +0.0 + 10 +472.56735229492187 + 20 +278.1583251953125 + 30 +0.0 + 10 +472.35525512695312 + 20 +278.00576782226562 + 30 +0.0 + 10 +472.15786743164062 + 20 +277.82748413085937 + 30 +0.0 + 10 +471.97991943359375 + 20 +277.63040161132812 + 30 +0.0 + 10 +471.82785034179687 + 20 +277.418212890625 + 30 +0.0 + 10 +471.592041015625 + 20 +276.96469116210937 + 30 +0.0 + 10 +471.45147705078125 + 20 +276.48007202148437 + 30 +0.0 + 10 +471.40658569335937 + 20 +275.97805786132812 + 30 +0.0 + 10 +471.42349243164062 + 20 +275.72607421875 + 30 +0.0 + 10 +471.4600830078125 + 20 +275.4769287109375 + 30 +0.0 + 10 +471.52471923828125 + 20 +275.2310791015625 + 30 +0.0 + 10 +471.60916137695312 + 20 +274.98818969726562 + 30 +0.0 + 10 +471.72000122070313 + 20 +274.75186157226562 + 30 +0.0 + 10 +471.85638427734375 + 20 +274.53033447265625 + 30 +0.0 + 10 +472.01589965820313 + 20 +274.31350708007812 + 30 +0.0 + 10 +472.19610595703125 + 20 +274.11294555664062 + 30 +0.0 + 10 +472.39694213867187 + 20 +273.92861938476562 + 30 +0.0 + 10 +472.61093139648438 + 20 +273.77334594726562 + 30 +0.0 + 10 +473.07009887695312 + 20 +273.5279541015625 + 30 +0.0 + 10 +473.56015014648437 + 20 +273.37759399414062 + 30 +0.0 + 10 +474.06268310546875 + 20 +273.32449340820312 + 30 +0.0 + 10 +474.31201171875 + 20 +273.33114624023438 + 30 +0.0 + 10 +474.56109619140625 + 20 +273.36773681640625 + 30 +0.0 + 10 +474.807373046875 + 20 +273.42410278320312 + 30 +0.0 + 10 +475.04714965820312 + 20 +273.50677490234375 + 30 +0.0 + 10 +475.27890014648437 + 20 +273.61056518554687 + 30 +0.0 + 10 +475.50228881835937 + 20 +273.7437744140625 + 30 +0.0 + 10 +475.71450805664062 + 20 +273.89639282226562 + 30 +0.0 + 10 +475.91183471679687 + 20 +274.07467651367187 + 30 +0.0 + 10 +476.08978271484375 + 20 +274.27178955078125 + 30 +0.0 + 10 +476.24179077148437 + 20 +274.48391723632812 + 30 +0.0 + 10 +476.47763061523437 + 20 +274.9375 + 30 +0.0 + 10 +476.6182861328125 + 20 +275.42202758789062 + 30 +0.0 + 10 +476.66302490234375 + 20 +275.92404174804687 + 30 +0.0 + 10 +476.64630126953125 + 20 +276.17608642578125 + 30 +0.0 + 10 +476.6097412109375 + 20 +276.42523193359375 + 30 +0.0 + 10 +476.54501342773437 + 20 +276.67105102539062 + 30 +0.0 + 10 +476.46047973632812 + 20 +276.91397094726562 + 30 +0.0 + 10 +476.34982299804687 + 20 +277.15032958984375 + 30 +0.0 + 10 +476.21328735351562 + 20 +277.371826171875 + 30 +0.0 + 10 +476.0538330078125 + 20 +277.588623046875 + 30 +0.0 + 10 +475.8736572265625 + 20 +277.78924560546875 + 30 +0.0 + 10 +475.8736572265625 + 20 +277.78924560546875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +60 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +483.51007080078125 + 20 +293.70272827148437 + 30 +0.0 + 10 +483.24398803710937 + 20 +293.76187133789062 + 30 +0.0 + 10 +482.98098754882812 + 20 +293.78939819335937 + 30 +0.0 + 10 +482.460693359375 + 20 +293.77236938476562 + 30 +0.0 + 10 +481.9610595703125 + 20 +293.65756225585938 + 30 +0.0 + 10 +481.499267578125 + 20 +293.45220947265625 + 30 +0.0 + 10 +481.28488159179687 + 20 +293.31857299804687 + 30 +0.0 + 10 +481.08746337890625 + 20 +293.16226196289062 + 30 +0.0 + 10 +480.90228271484375 + 20 +292.99032592773437 + 30 +0.0 + 10 +480.73785400390625 + 20 +292.80209350585937 + 30 +0.0 + 10 +480.58718872070312 + 20 +292.59304809570312 + 30 +0.0 + 10 +480.46218872070312 + 20 +292.36920166015625 + 30 +0.0 + 10 +480.35476684570312 + 20 +292.13101196289062 + 30 +0.0 + 10 +480.27294921875 + 20 +291.87796020507812 + 30 +0.0 + 10 +480.21743774414062 + 20 +291.61831665039062 + 30 +0.0 + 10 +480.19186401367187 + 20 +291.35845947265625 + 30 +0.0 + 10 +480.21441650390625 + 20 +290.84774780273437 + 30 +0.0 + 10 +480.33486938476562 + 20 +290.3577880859375 + 30 +0.0 + 10 +480.54708862304687 + 20 +289.900634765625 + 30 +0.0 + 10 +480.68765258789062 + 20 +289.69085693359375 + 30 +0.0 + 10 +480.84390258789063 + 20 +289.49334716796875 + 30 +0.0 + 10 +481.02279663085937 + 20 +289.31277465820312 + 30 +0.0 + 10 +481.21737670898437 + 20 +289.14468383789062 + 30 +0.0 + 10 +481.43157958984375 + 20 +288.99542236328125 + 30 +0.0 + 10 +481.66049194335937 + 20 +288.87176513671875 + 30 +0.0 + 10 +481.906982421875 + 20 +288.76373291015625 + 30 +0.0 + 10 +482.163330078125 + 20 +288.68014526367187 + 30 +0.0 + 10 +482.429443359375 + 20 +288.620849609375 + 30 +0.0 + 10 +482.69241333007812 + 20 +288.59341430664062 + 30 +0.0 + 10 +483.21267700195312 + 20 +288.6104736328125 + 30 +0.0 + 10 +483.71234130859375 + 20 +288.72531127929687 + 30 +0.0 + 10 +484.17410278320312 + 20 +288.93060302734375 + 30 +0.0 + 10 +484.38662719726562 + 20 +289.06103515625 + 30 +0.0 + 10 +484.5841064453125 + 20 +289.21731567382812 + 30 +0.0 + 10 +484.76922607421875 + 20 +289.38919067382812 + 30 +0.0 + 10 +484.93545532226562 + 20 +289.58065795898437 + 30 +0.0 + 10 +485.0843505859375 + 20 +289.78643798828125 + 30 +0.0 + 10 +485.21115112304687 + 20 +290.01351928710937 + 30 +0.0 + 10 +485.31866455078125 + 20 +290.25177001953125 + 30 +0.0 + 10 +485.40045166015625 + 20 +290.50485229492187 + 30 +0.0 + 10 +485.45596313476562 + 20 +290.76449584960937 + 30 +0.0 + 10 +485.48153686523437 + 20 +291.02432250976562 + 30 +0.0 + 10 +485.45892333984375 + 20 +291.53500366210937 + 30 +0.0 + 10 +485.33856201171875 + 20 +292.02496337890625 + 30 +0.0 + 10 +485.12628173828125 + 20 +292.4820556640625 + 30 +0.0 + 10 +484.98574829101562 + 20 +292.69192504882812 + 30 +0.0 + 10 +484.82949829101562 + 20 +292.88943481445312 + 30 +0.0 + 10 +484.65054321289062 + 20 +293.06991577148437 + 30 +0.0 + 10 +484.4559326171875 + 20 +293.23806762695312 + 30 +0.0 + 10 +484.24185180664062 + 20 +293.38748168945312 + 30 +0.0 + 10 +484.01290893554687 + 20 +293.51104736328125 + 30 +0.0 + 10 +483.766357421875 + 20 +293.61898803710937 + 30 +0.0 + 10 +483.51007080078125 + 20 +293.70272827148437 + 30 +0.0 + 10 +483.51007080078125 + 20 +293.70272827148437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +61 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +482.16671752929687 + 20 +311.30258178710937 + 30 +0.0 + 10 +481.90670776367187 + 20 +311.22079467773437 + 30 +0.0 + 10 +481.66522216796875 + 20 +311.11312866210937 + 30 +0.0 + 10 +481.22311401367187 + 20 +310.83822631835937 + 30 +0.0 + 10 +480.84783935546875 + 20 +310.4888916015625 + 30 +0.0 + 10 +480.550537109375 + 20 +310.080322265625 + 30 +0.0 + 10 +480.43170166015625 + 20 +309.85739135742187 + 30 +0.0 + 10 +480.3388671875 + 20 +309.62322998046875 + 30 +0.0 + 10 +480.2645263671875 + 20 +309.38180541992187 + 30 +0.0 + 10 +480.2161865234375 + 20 +309.13653564453125 + 30 +0.0 + 10 +480.19024658203125 + 20 +308.88027954101562 + 30 +0.0 + 10 +480.19393920898437 + 20 +308.623779296875 + 30 +0.0 + 10 +480.219970703125 + 20 +308.36376953125 + 30 +0.0 + 10 +480.27566528320312 + 20 +308.10379028320312 + 30 +0.0 + 10 +480.357421875 + 20 +307.85113525390625 + 30 +0.0 + 10 +480.46517944335937 + 20 +307.61331176757812 + 30 +0.0 + 10 +480.74005126953125 + 20 +307.182373046875 + 30 +0.0 + 10 +481.08935546875 + 20 +306.81820678710937 + 30 +0.0 + 10 +481.50173950195313 + 20 +306.5284423828125 + 30 +0.0 + 10 +481.72836303710937 + 20 +306.41705322265625 + 30 +0.0 + 10 +481.96243286132812 + 20 +306.32412719726562 + 30 +0.0 + 10 +482.20767211914062 + 20 +306.25726318359375 + 30 +0.0 + 10 +482.460205078125 + 20 +306.20889282226562 + 30 +0.0 + 10 +482.7203369140625 + 20 +306.186767578125 + 30 +0.0 + 10 +482.98037719726562 + 20 +306.194091796875 + 30 +0.0 + 10 +483.24786376953125 + 20 +306.22378540039062 + 30 +0.0 + 10 +483.51165771484375 + 20 +306.27957153320312 + 30 +0.0 + 10 +483.771728515625 + 20 +306.36129760742187 + 30 +0.0 + 10 +484.01324462890625 + 20 +306.46905517578125 + 30 +0.0 + 10 +484.45529174804687 + 20 +306.74395751953125 + 30 +0.0 + 10 +484.83056640625 + 20 +307.09323120117187 + 30 +0.0 + 10 +485.12783813476562 + 20 +307.50186157226562 + 30 +0.0 + 10 +485.24667358398437 + 20 +307.7210693359375 + 30 +0.0 + 10 +485.33956909179687 + 20 +307.9552001953125 + 30 +0.0 + 10 +485.4139404296875 + 20 +308.1966552734375 + 30 +0.0 + 10 +485.46212768554687 + 20 +308.44546508789062 + 30 +0.0 + 10 +485.48822021484375 + 20 +308.69815063476562 + 30 +0.0 + 10 +485.4844970703125 + 20 +308.958251953125 + 30 +0.0 + 10 +485.45846557617187 + 20 +309.21832275390625 + 30 +0.0 + 10 +485.40274047851562 + 20 +309.4783935546875 + 30 +0.0 + 10 +485.321044921875 + 20 +309.73092651367187 + 30 +0.0 + 10 +485.2132568359375 + 20 +309.96875 + 30 +0.0 + 10 +484.93832397460938 + 20 +310.39968872070312 + 30 +0.0 + 10 +484.58908081054687 + 20 +310.76385498046875 + 30 +0.0 + 10 +484.17672729492187 + 20 +311.0535888671875 + 30 +0.0 + 10 +483.95004272460937 + 20 +311.16513061523437 + 30 +0.0 + 10 +483.71597290039062 + 20 +311.25808715820312 + 30 +0.0 + 10 +483.4708251953125 + 20 +311.32485961914062 + 30 +0.0 + 10 +483.21817016601562 + 20 +311.37313842773437 + 30 +0.0 + 10 +482.95806884765625 + 20 +311.39544677734375 + 30 +0.0 + 10 +482.697998046875 + 20 +311.38809204101562 + 30 +0.0 + 10 +482.43051147460937 + 20 +311.35821533203125 + 30 +0.0 + 10 +482.16671752929687 + 20 +311.30258178710937 + 30 +0.0 + 10 +482.16671752929687 + 20 +311.30258178710937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +62 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +472.20321655273438 + 20 +325.87295532226562 + 30 +0.0 + 10 +472.01895141601562 + 20 +325.67208862304687 + 30 +0.0 + 10 +471.86358642578125 + 20 +325.45806884765625 + 30 +0.0 + 10 +471.61819458007812 + 20 +324.99896240234375 + 30 +0.0 + 10 +471.46783447265625 + 20 +324.50885009765625 + 30 +0.0 + 10 +471.414794921875 + 20 +324.00628662109375 + 30 +0.0 + 10 +471.42333984375 + 20 +323.75381469726562 + 30 +0.0 + 10 +471.45993041992187 + 20 +323.50466918945312 + 30 +0.0 + 10 +471.5162353515625 + 20 +323.25836181640625 + 30 +0.0 + 10 +471.59701538085937 + 20 +323.02182006835937 + 30 +0.0 + 10 +471.70278930664062 + 20 +322.786865234375 + 30 +0.0 + 10 +471.83407592773437 + 20 +322.56668090820312 + 30 +0.0 + 10 +471.9866943359375 + 20 +322.3544921875 + 30 +0.0 + 10 +472.16497802734375 + 20 +322.15713500976562 + 30 +0.0 + 10 +472.36203002929687 + 20 +321.97921752929687 + 30 +0.0 + 10 +472.57421875 + 20 +321.82717895507812 + 30 +0.0 + 10 +473.02786254882812 + 20 +321.59127807617187 + 30 +0.0 + 10 +473.51242065429687 + 20 +321.45068359375 + 30 +0.0 + 10 +474.01443481445312 + 20 +321.40585327148437 + 30 +0.0 + 10 +474.26638793945312 + 20 +321.42269897460938 + 30 +0.0 + 10 +474.51553344726562 + 20 +321.45932006835937 + 30 +0.0 + 10 +474.76138305664062 + 20 +321.52389526367187 + 30 +0.0 + 10 +475.00421142578125 + 20 +321.60845947265625 + 30 +0.0 + 10 +475.24066162109375 + 20 +321.71920776367187 + 30 +0.0 + 10 +475.46206665039062 + 20 +321.855712890625 + 30 +0.0 + 10 +475.67901611328125 + 20 +322.01513671875 + 30 +0.0 + 10 +475.87957763671875 + 20 +322.19534301757812 + 30 +0.0 + 10 +476.06387329101562 + 20 +322.39620971679687 + 30 +0.0 + 10 +476.21914672851562 + 20 +322.61016845703125 + 30 +0.0 + 10 +476.46456909179687 + 20 +323.06930541992187 + 30 +0.0 + 10 +476.61495971679687 + 20 +323.5594482421875 + 30 +0.0 + 10 +476.66799926757812 + 20 +324.06185913085937 + 30 +0.0 + 10 +476.66134643554687 + 20 +324.31121826171875 + 30 +0.0 + 10 +476.62478637695312 + 20 +324.56036376953125 + 30 +0.0 + 10 +476.56838989257812 + 20 +324.80661010742187 + 30 +0.0 + 10 +476.48565673828125 + 20 +325.04635620117187 + 30 +0.0 + 10 +476.38189697265625 + 20 +325.27816772460937 + 30 +0.0 + 10 +476.24871826171875 + 20 +325.50149536132812 + 30 +0.0 + 10 +476.0960693359375 + 20 +325.71380615234375 + 30 +0.0 + 10 +475.91778564453125 + 20 +325.91116333007812 + 30 +0.0 + 10 +475.720703125 + 20 +326.08901977539062 + 30 +0.0 + 10 +475.508544921875 + 20 +326.24111938476562 + 30 +0.0 + 10 +475.05496215820313 + 20 +326.47689819335938 + 30 +0.0 + 10 +474.57040405273437 + 20 +326.6175537109375 + 30 +0.0 + 10 +474.06838989257812 + 20 +326.66229248046875 + 30 +0.0 + 10 +473.81637573242187 + 20 +326.64556884765625 + 30 +0.0 + 10 +473.56723022460937 + 20 +326.60894775390625 + 30 +0.0 + 10 +473.32144165039062 + 20 +326.54428100585937 + 30 +0.0 + 10 +473.0784912109375 + 20 +326.45980834960937 + 30 +0.0 + 10 +472.84210205078125 + 20 +326.34909057617187 + 30 +0.0 + 10 +472.62063598632812 + 20 +326.21258544921875 + 30 +0.0 + 10 +472.40390014648437 + 20 +326.05307006835937 + 30 +0.0 + 10 +472.20321655273438 + 20 +325.87295532226562 + 30 +0.0 + 10 +472.20321655273438 + 20 +325.87295532226562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +63 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +54 + 70 +0 + 10 +456.28961181640625 + 20 +333.5091552734375 + 30 +0.0 + 10 +456.23043823242187 + 20 +333.24310302734375 + 30 +0.0 + 10 +456.20294189453125 + 20 +332.98004150390625 + 30 +0.0 + 10 +456.219970703125 + 20 +332.45974731445312 + 30 +0.0 + 10 +456.3348388671875 + 20 +331.96011352539062 + 30 +0.0 + 10 +456.5400390625 + 20 +331.4984130859375 + 30 +0.0 + 10 +456.67367553710937 + 20 +331.28399658203125 + 30 +0.0 + 10 +456.83004760742187 + 20 +331.08651733398438 + 30 +0.0 + 10 +457.001953125 + 20 +330.90139770507812 + 30 +0.0 + 10 +457.190185546875 + 20 +330.73696899414062 + 30 +0.0 + 10 +457.399169921875 + 20 +330.58627319335937 + 30 +0.0 + 10 +457.62310791015625 + 20 +330.46127319335937 + 30 +0.0 + 10 +457.861328125 + 20 +330.35382080078125 + 30 +0.0 + 10 +458.11428833007812 + 20 +330.27203369140625 + 30 +0.0 + 10 +458.3740234375 + 20 +330.21649169921875 + 30 +0.0 + 10 +458.63385009765625 + 20 +330.19094848632812 + 30 +0.0 + 10 +459.14450073242187 + 20 +330.21347045898437 + 30 +0.0 + 10 +459.634521484375 + 20 +330.333984375 + 30 +0.0 + 10 +460.09161376953125 + 20 +330.54617309570312 + 30 +0.0 + 10 +460.3013916015625 + 20 +330.68673706054687 + 30 +0.0 + 10 +460.49896240234375 + 20 +330.843017578125 + 30 +0.0 + 10 +460.67950439453125 + 20 +331.02191162109375 + 30 +0.0 + 10 +460.84762573242187 + 20 +331.21652221679687 + 30 +0.0 + 10 +460.99691772460937 + 20 +331.43069458007813 + 30 +0.0 + 10 +461.12051391601562 + 20 +331.65957641601562 + 30 +0.0 + 10 +461.22854614257812 + 20 +331.90609741210937 + 30 +0.0 + 10 +461.3121337890625 + 20 +332.16241455078125 + 30 +0.0 + 10 +461.37142944335937 + 20 +332.428466796875 + 30 +0.0 + 10 +461.39883422851562 + 20 +332.6915283203125 + 30 +0.0 + 10 +461.38177490234375 + 20 +333.21182250976563 + 30 +0.0 + 10 +461.26693725585938 + 20 +333.71145629882812 + 30 +0.0 + 10 +461.06170654296875 + 20 +334.17315673828125 + 30 +0.0 + 10 +460.93121337890625 + 20 +334.38571166992187 + 30 +0.0 + 10 +460.77499389648437 + 20 +334.58322143554687 + 30 +0.0 + 10 +460.60308837890625 + 20 +334.76834106445312 + 30 +0.0 + 10 +460.41168212890625 + 20 +334.93453979492187 + 30 +0.0 + 10 +460.20587158203125 + 20 +335.08343505859375 + 30 +0.0 + 10 +459.978759765625 + 20 +335.21026611328125 + 30 +0.0 + 10 +459.74053955078125 + 20 +335.3177490234375 + 30 +0.0 + 10 +459.4874267578125 + 20 +335.3995361328125 + 30 +0.0 + 10 +459.22784423828125 + 20 +335.45504760742187 + 30 +0.0 + 10 +458.968017578125 + 20 +335.48062133789062 + 30 +0.0 + 10 +458.45733642578125 + 20 +335.4580078125 + 30 +0.0 + 10 +457.96734619140625 + 20 +335.33758544921875 + 30 +0.0 + 10 +457.51028442382812 + 20 +335.1253662109375 + 30 +0.0 + 10 +457.30032348632812 + 20 +334.98486328125 + 30 +0.0 + 10 +457.10281372070312 + 20 +334.82861328125 + 30 +0.0 + 10 +456.92239379882813 + 20 +334.64962768554687 + 30 +0.0 + 10 +456.75421142578125 + 20 +334.45501708984375 + 30 +0.0 + 10 +456.6048583984375 + 20 +334.24093627929687 + 30 +0.0 + 10 +456.481201171875 + 20 +334.01202392578125 + 30 +0.0 + 10 +456.37332153320312 + 20 +333.76547241210937 + 30 +0.0 + 10 +456.28961181640625 + 20 +333.5091552734375 + 30 +0.0 + 10 +456.28961181640625 + 20 +333.5091552734375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +64 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +88 + 70 +0 + 10 +425.5936279296875 + 20 +313.2230224609375 + 30 +0.0 + 10 +425.28118896484375 + 20 +312.62686157226563 + 30 +0.0 + 10 +424.98080444335937 + 20 +312.02667236328125 + 30 +0.0 + 10 +424.696533203125 + 20 +311.41421508789062 + 30 +0.0 + 10 +424.42648315429687 + 20 +310.7965087890625 + 30 +0.0 + 10 +424.16943359375 + 20 +310.1712646484375 + 30 +0.0 + 10 +423.92971801757812 + 20 +309.53604125976562 + 30 +0.0 + 10 +423.70419311523437 + 20 +308.89544677734375 + 30 +0.0 + 10 +423.492919921875 + 20 +308.24954223632812 + 30 +0.0 + 10 +423.29901123046875 + 20 +307.59365844726562 + 30 +0.0 + 10 +423.11932373046875 + 20 +306.93240356445312 + 30 +0.0 + 10 +422.95602416992187 + 20 +306.26458740234375 + 30 +0.0 + 10 +422.80914306640625 + 20 +305.59014892578125 + 30 +0.0 + 10 +422.67864990234375 + 20 +304.9091796875 + 30 +0.0 + 10 +422.56585693359375 + 20 +304.2237548828125 + 30 +0.0 + 10 +422.46942138671875 + 20 +303.53173828125 + 30 +0.0 + 10 +422.38723754882812 + 20 +302.83441162109375 + 30 +0.0 + 10 +422.32614135742187 + 20 +302.133544921875 + 30 +0.0 + 10 +422.28143310546875 + 20 +301.4261474609375 + 30 +0.0 + 10 +422.25439453125 + 20 +300.71429443359375 + 30 +0.0 + 10 +422.2449951171875 + 20 +299.998046875 + 30 +0.0 + 10 +422.28143310546875 + 20 +298.5711669921875 + 30 +0.0 + 10 +422.38833618164062 + 20 +297.16131591796875 + 30 +0.0 + 10 +422.56478881835937 + 20 +295.77194213867187 + 30 +0.0 + 10 +422.80990600585937 + 20 +294.40646362304687 + 30 +0.0 + 10 +423.1180419921875 + 20 +293.065185546875 + 30 +0.0 + 10 +423.49139404296875 + 20 +291.74688720703125 + 30 +0.0 + 10 +423.85549926757812 + 20 +290.67282104492188 + 30 +0.0 + 10 +435.25985717773437 + 20 +297.25711059570312 + 30 +0.0 + 10 +435.208740234375 + 20 +297.52191162109375 + 30 +0.0 + 10 +435.10711669921875 + 20 +298.23590087890625 + 30 +0.0 + 10 +435.039306640625 + 20 +298.95343017578125 + 30 +0.0 + 10 +435.00531005859375 + 20 +299.674560546875 + 30 +0.0 + 10 +435.00637817382812 + 20 +300.40139770507812 + 30 +0.0 + 10 +435.0430908203125 + 20 +301.12496948242187 + 30 +0.0 + 10 +435.11361694335937 + 20 +301.85214233398437 + 30 +0.0 + 10 +435.221923828125 + 20 +302.57479858398437 + 30 +0.0 + 10 +435.3671875 + 20 +303.29635620117187 + 30 +0.0 + 10 +435.54806518554687 + 20 +304.0146484375 + 30 +0.0 + 10 +435.7655029296875 + 20 +304.72625732421875 + 30 +0.0 + 10 +436.01950073242187 + 20 +305.43118286132812 + 30 +0.0 + 10 +436.3134765625 + 20 +306.13037109375 + 30 +0.0 + 10 +436.6436767578125 + 20 +306.81732177734375 + 30 +0.0 + 10 +437.01263427734375 + 20 +307.49630737304687 + 30 +0.0 + 10 +437.41616821289062 + 20 +308.15530395507812 + 30 +0.0 + 10 +437.84722900390625 + 20 +308.78692626953125 + 30 +0.0 + 10 +438.30450439453125 + 20 +309.38894653320312 + 30 +0.0 + 10 +438.78799438476562 + 20 +309.96136474609375 + 30 +0.0 + 10 +439.29678344726562 + 20 +310.50765991210937 + 30 +0.0 + 10 +439.82717895507812 + 20 +311.02127075195312 + 30 +0.0 + 10 +440.37942504882812 + 20 +311.50784301757813 + 30 +0.0 + 10 +440.95236206054687 + 20 +311.96514892578125 + 30 +0.0 + 10 +441.54556274414062 + 20 +312.38763427734375 + 30 +0.0 + 10 +442.15512084960937 + 20 +312.78338623046875 + 30 +0.0 + 10 +442.78280639648437 + 20 +313.14556884765625 + 30 +0.0 + 10 +443.42556762695312 + 20 +313.47882080078125 + 30 +0.0 + 10 +444.08087158203125 + 20 +313.77890014648437 + 30 +0.0 + 10 +444.75 + 20 +314.0478515625 + 30 +0.0 + 10 +445.12527465820312 + 20 +314.17666625976562 + 30 +0.0 + 10 +445.12527465820312 + 20 +327.30856323242187 + 30 +0.0 + 10 +444.39788818359375 + 20 +327.17800903320312 + 30 +0.0 + 10 +443.05661010742187 + 20 +326.86984252929687 + 30 +0.0 + 10 +441.74050903320312 + 20 +326.4952392578125 + 30 +0.0 + 10 +440.44979858398437 + 20 +326.05972290039062 + 30 +0.0 + 10 +439.190185546875 + 20 +325.56298828125 + 30 +0.0 + 10 +437.96160888671875 + 20 +325.00503540039062 + 30 +0.0 + 10 +436.76565551757813 + 20 +324.3935546875 + 30 +0.0 + 10 +435.603271484375 + 20 +323.72525024414062 + 30 +0.0 + 10 +434.47689819335937 + 20 +323.00433349609375 + 30 +0.0 + 10 +433.38876342773437 + 20 +322.2296142578125 + 30 +0.0 + 10 +432.86041259765625 + 20 +321.82449340820312 + 30 +0.0 + 10 +432.34133911132812 + 20 +321.4053955078125 + 30 +0.0 + 10 +431.833984375 + 20 +320.97662353515625 + 30 +0.0 + 10 +431.33584594726562 + 20 +320.53387451171875 + 30 +0.0 + 10 +430.84732055664062 + 20 +320.08270263671875 + 30 +0.0 + 10 +430.37234497070312 + 20 +319.61505126953125 + 30 +0.0 + 10 +429.90695190429687 + 20 +319.13894653320312 + 30 +0.0 + 10 +429.45330810546875 + 20 +318.6531982421875 + 30 +0.0 + 10 +429.01229858398437 + 20 +318.15435791015625 + 30 +0.0 + 10 +428.58087158203125 + 20 +317.6470947265625 + 30 +0.0 + 10 +428.162109375 + 20 +317.12680053710937 + 30 +0.0 + 10 +427.75851440429687 + 20 +316.59771728515625 + 30 +0.0 + 10 +427.36322021484375 + 20 +316.05807495117187 + 30 +0.0 + 10 +426.98309326171875 + 20 +315.5096435546875 + 30 +0.0 + 10 +426.61685180664062 + 20 +314.95034790039062 + 30 +0.0 + 10 +426.261474609375 + 20 +314.384765625 + 30 +0.0 + 10 +425.922119140625 + 20 +313.8070068359375 + 30 +0.0 + 10 +425.5936279296875 + 20 +313.2230224609375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +65 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +92 + 70 +0 + 10 +429.010009765625 + 20 +281.84036254882812 + 30 +0.0 + 10 +429.45278930664062 + 20 +281.34225463867187 + 30 +0.0 + 10 +429.9073486328125 + 20 +280.85464477539062 + 30 +0.0 + 10 +430.37161254882812 + 20 +280.37875366210937 + 30 +0.0 + 10 +430.84768676757812 + 20 +279.91336059570312 + 30 +0.0 + 10 +431.33468627929687 + 20 +279.46188354492188 + 30 +0.0 + 10 +431.832275390625 + 20 +279.01870727539062 + 30 +0.0 + 10 +432.34292602539062 + 20 +278.58819580078125 + 30 +0.0 + 10 +432.861083984375 + 20 +278.17068481445312 + 30 +0.0 + 10 +433.388916015625 + 20 +277.764892578125 + 30 +0.0 + 10 +433.92984008789062 + 20 +277.37176513671875 + 30 +0.0 + 10 +434.47824096679687 + 20 +276.99163818359375 + 30 +0.0 + 10 +435.03631591796875 + 20 +276.62326049804687 + 30 +0.0 + 10 +435.6031494140625 + 20 +276.27001953125 + 30 +0.0 + 10 +436.17962646484375 + 20 +275.92852783203125 + 30 +0.0 + 10 +436.76486206054687 + 20 +275.60220336914063 + 30 +0.0 + 10 +437.35977172851563 + 20 +275.28756713867187 + 30 +0.0 + 10 +437.96124267578125 + 20 +274.98941040039062 + 30 +0.0 + 10 +438.57241821289062 + 20 +274.70294189453125 + 30 +0.0 + 10 +439.19012451171875 + 20 +274.43289184570312 + 30 +0.0 + 10 +439.81661987304687 + 20 +274.177978515625 + 30 +0.0 + 10 +440.45059204101562 + 20 +273.93609619140625 + 30 +0.0 + 10 +441.0911865234375 + 20 +273.71060180664062 + 30 +0.0 + 10 +441.74050903320312 + 20 +273.500244140625 + 30 +0.0 + 10 +442.3951416015625 + 20 +273.30413818359375 + 30 +0.0 + 10 +443.05764770507812 + 20 +273.12664794921875 + 30 +0.0 + 10 +443.7254638671875 + 20 +272.96331787109375 + 30 +0.0 + 10 +444.39990234375 + 20 +272.81646728515625 + 30 +0.0 + 10 +445.07870483398437 + 20 +272.68719482421875 + 30 +0.0 + 10 +445.76504516601562 + 20 +272.57098388671875 + 30 +0.0 + 10 +446.45703125 + 20 +272.47454833984375 + 30 +0.0 + 10 +447.15347290039062 + 20 +272.39578247070312 + 30 +0.0 + 10 +447.85647583007812 + 20 +272.33346557617187 + 30 +0.0 + 10 +448.56390380859375 + 20 +272.28875732421875 + 30 +0.0 + 10 +449.2757568359375 + 20 +272.26168823242187 + 30 +0.0 + 10 +449.99203491210937 + 20 +272.2523193359375 + 30 +0.0 + 10 +451.416748046875 + 20 +272.28997802734375 + 30 +0.0 + 10 +452.82659912109375 + 20 +272.39691162109375 + 30 +0.0 + 10 +454.2159423828125 + 20 +272.57333374023437 + 30 +0.0 + 10 +455.5814208984375 + 20 +272.81845092773437 + 30 +0.0 + 10 +456.92269897460937 + 20 +273.1265869140625 + 30 +0.0 + 10 +458.24099731445312 + 20 +273.49996948242187 + 30 +0.0 + 10 +459.529541015625 + 20 +273.93673706054687 + 30 +0.0 + 10 +460.78915405273437 + 20 +274.4334716796875 + 30 +0.0 + 10 +462.0198974609375 + 20 +274.99020385742187 + 30 +0.0 + 10 +463.2158203125 + 20 +275.60162353515625 + 30 +0.0 + 10 +464.37606811523437 + 20 +276.27120971679687 + 30 +0.0 + 10 +465.50241088867187 + 20 +276.99209594726562 + 30 +0.0 + 10 +466.59054565429687 + 20 +277.76681518554687 + 30 +0.0 + 10 +467.118896484375 + 20 +278.17193603515625 + 30 +0.0 + 10 +467.64016723632812 + 20 +278.58981323242187 + 30 +0.0 + 10 +468.14752197265625 + 20 +279.0185546875 + 30 +0.0 + 10 +468.6456298828125 + 20 +279.46133422851562 + 30 +0.0 + 10 +469.13327026367187 + 20 +279.9158935546875 + 30 +0.0 + 10 +469.609130859375 + 20 +280.38018798828125 + 30 +0.0 + 10 +470.07455444335937 + 20 +280.85626220703125 + 30 +0.0 + 10 +470.52603149414062 + 20 +281.34326171875 + 30 +0.0 + 10 +470.96920776367187 + 20 +281.84085083007812 + 30 +0.0 + 10 +471.12631225585937 + 20 +282.0272216796875 + 30 +0.0 + 10 +459.74850463867187 + 20 +288.59622192382812 + 30 +0.0 + 10 +459.62564086914062 + 20 +288.48818969726562 + 30 +0.0 + 10 +459.05270385742187 + 20 +288.03091430664062 + 30 +0.0 + 10 +458.46041870117187 + 20 +287.60498046875 + 30 +0.0 + 10 +457.8499755859375 + 20 +287.212646484375 + 30 +0.0 + 10 +457.22317504882812 + 20 +286.8470458984375 + 30 +0.0 + 10 +456.58169555664062 + 20 +286.51593017578125 + 30 +0.0 + 10 +455.9241943359375 + 20 +286.21713256835937 + 30 +0.0 + 10 +455.25506591796875 + 20 +285.94818115234375 + 30 +0.0 + 10 +454.5767822265625 + 20 +285.71334838867187 + 30 +0.0 + 10 +453.88467407226562 + 20 +285.50961303710937 + 30 +0.0 + 10 +453.18685913085937 + 20 +285.34091186523437 + 30 +0.0 + 10 +452.47860717773437 + 20 +285.2042236328125 + 30 +0.0 + 10 +451.7646484375 + 20 +285.10260009765625 + 30 +0.0 + 10 +451.047119140625 + 20 +285.0347900390625 + 30 +0.0 + 10 +450.32601928710937 + 20 +285.00076293945313 + 30 +0.0 + 10 +449.59918212890625 + 20 +285.00186157226562 + 30 +0.0 + 10 +448.87554931640625 + 20 +285.03854370117187 + 30 +0.0 + 10 +448.1484375 + 20 +285.10906982421875 + 30 +0.0 + 10 +447.42578125 + 20 +285.21743774414062 + 30 +0.0 + 10 +446.7042236328125 + 20 +285.36264038085937 + 30 +0.0 + 10 +445.98593139648437 + 20 +285.54354858398437 + 30 +0.0 + 10 +445.27432250976562 + 20 +285.760986328125 + 30 +0.0 + 10 +444.5693359375 + 20 +286.01498413085937 + 30 +0.0 + 10 +443.87017822265625 + 20 +286.30892944335937 + 30 +0.0 + 10 +443.18325805664062 + 20 +286.63916015625 + 30 +0.0 + 10 +442.5042724609375 + 20 +287.00808715820313 + 30 +0.0 + 10 +441.84524536132812 + 20 +287.41165161132812 + 30 +0.0 + 10 +441.21365356445312 + 20 +287.84268188476562 + 30 +0.0 + 10 +440.61163330078125 + 20 +288.29995727539062 + 30 +0.0 + 10 +440.25997924804687 + 20 +288.59698486328125 + 30 +0.0 + 10 +428.86227416992187 + 20 +282.0164794921875 + 30 +0.0 + 10 +429.010009765625 + 20 +281.84036254882812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +66 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +91 + 70 +0 + 10 +455.12527465820313 + 20 +314.09243774414062 + 30 +0.0 + 10 +455.4378662109375 + 20 +313.97979736328125 + 30 +0.0 + 10 +456.1348876953125 + 20 +313.68707275390625 + 30 +0.0 + 10 +456.823974609375 + 20 +313.35562133789062 + 30 +0.0 + 10 +457.50299072265625 + 20 +312.9866943359375 + 30 +0.0 + 10 +458.1619873046875 + 20 +312.58309936523437 + 30 +0.0 + 10 +458.7935791015625 + 20 +312.15206909179687 + 30 +0.0 + 10 +459.39559936523437 + 20 +311.69479370117187 + 30 +0.0 + 10 +459.96804809570312 + 20 +311.2113037109375 + 30 +0.0 + 10 +460.51217651367187 + 20 +310.7037353515625 + 30 +0.0 + 10 +461.0279541015625 + 20 +310.172119140625 + 30 +0.0 + 10 +461.5145263671875 + 20 +309.61984252929687 + 30 +0.0 + 10 +461.96966552734375 + 20 +309.04818725585937 + 30 +0.0 + 10 +462.39431762695312 + 20 +308.4537353515625 + 30 +0.0 + 10 +462.79006958007812 + 20 +307.84417724609375 + 30 +0.0 + 10 +463.15225219726562 + 20 +307.21649169921875 + 30 +0.0 + 10 +463.48336791992187 + 20 +306.57501220703125 + 30 +0.0 + 10 +463.78338623046875 + 20 +305.919677734375 + 30 +0.0 + 10 +464.0523681640625 + 20 +305.25054931640625 + 30 +0.0 + 10 +464.28811645507812 + 20 +304.56887817382812 + 30 +0.0 + 10 +464.49093627929687 + 20 +303.88015747070312 + 30 +0.0 + 10 +464.6605224609375 + 20 +303.17892456054687 + 30 +0.0 + 10 +464.79629516601562 + 20 +302.47409057617187 + 30 +0.0 + 10 +464.89794921875 + 20 +301.76016235351562 + 30 +0.0 + 10 +464.96575927734375 + 20 +301.04257202148437 + 30 +0.0 + 10 +464.99850463867187 + 20 +300.3193359375 + 30 +0.0 + 10 +464.99871826171875 + 20 +299.59463500976562 + 30 +0.0 + 10 +464.96075439453125 + 20 +298.868896484375 + 30 +0.0 + 10 +464.89144897460937 + 20 +298.14389038085937 + 30 +0.0 + 10 +464.78189086914062 + 20 +297.41909790039062 + 30 +0.0 + 10 +464.74908447265625 + 20 +297.25613403320312 + 30 +0.0 + 10 +476.13116455078125 + 20 +290.68466186523437 + 30 +0.0 + 10 +476.27728271484375 + 20 +291.0997314453125 + 30 +0.0 + 10 +476.48764038085937 + 20 +291.74908447265625 + 30 +0.0 + 10 +476.68374633789062 + 20 +292.40371704101562 + 30 +0.0 + 10 +476.86343383789062 + 20 +293.06497192382813 + 30 +0.0 + 10 +477.02670288085937 + 20 +293.7327880859375 + 30 +0.0 + 10 +477.17361450195312 + 20 +294.40719604492187 + 30 +0.0 + 10 +477.30282592773437 + 20 +295.08602905273438 + 30 +0.0 + 10 +477.41690063476562 + 20 +295.77362060546875 + 30 +0.0 + 10 +477.51333618164062 + 20 +296.46563720703125 + 30 +0.0 + 10 +477.59210205078125 + 20 +297.16204833984375 + 30 +0.0 + 10 +477.6566162109375 + 20 +297.86380004882812 + 30 +0.0 + 10 +477.70132446289062 + 20 +298.57122802734375 + 30 +0.0 + 10 +477.72836303710937 + 20 +299.28305053710938 + 30 +0.0 + 10 +477.73776245117187 + 20 +299.99932861328125 + 30 +0.0 + 10 +477.69790649414062 + 20 +301.42529296875 + 30 +0.0 + 10 +477.59100341796875 + 20 +302.83514404296875 + 30 +0.0 + 10 +477.41455078125 + 20 +304.2244873046875 + 30 +0.0 + 10 +477.17160034179687 + 20 +305.5887451171875 + 30 +0.0 + 10 +476.86129760742187 + 20 +306.9312744140625 + 30 +0.0 + 10 +476.48794555664062 + 20 +308.24954223632812 + 30 +0.0 + 10 +476.05117797851562 + 20 +309.5380859375 + 30 +0.0 + 10 +475.55441284179687 + 20 +310.7977294921875 + 30 +0.0 + 10 +474.9998779296875 + 20 +312.02719116210937 + 30 +0.0 + 10 +474.38626098632812 + 20 +313.22439575195312 + 30 +0.0 + 10 +473.7188720703125 + 20 +314.38339233398438 + 30 +0.0 + 10 +472.99578857421875 + 20 +315.510986328125 + 30 +0.0 + 10 +472.22320556640625 + 20 +316.59786987304687 + 30 +0.0 + 10 +471.81594848632812 + 20 +317.12747192382812 + 30 +0.0 + 10 +471.4002685546875 + 20 +317.6474609375 + 30 +0.0 + 10 +470.96932983398437 + 20 +318.15609741210937 + 30 +0.0 + 10 +470.52655029296875 + 20 +318.65420532226562 + 30 +0.0 + 10 +470.07415771484375 + 20 +319.14056396484375 + 30 +0.0 + 10 +469.60989379882812 + 20 +319.616455078125 + 30 +0.0 + 10 +469.13381958007812 + 20 +320.08184814453125 + 30 +0.0 + 10 +468.6446533203125 + 20 +320.53457641601562 + 30 +0.0 + 10 +468.14703369140625 + 20 +320.97775268554687 + 30 +0.0 + 10 +467.6385498046875 + 20 +321.40701293945312 + 30 +0.0 + 10 +467.11825561523437 + 20 +321.82577514648437 + 30 +0.0 + 10 +466.59042358398437 + 20 +322.23153686523437 + 30 +0.0 + 10 +466.05166625976562 + 20 +322.62344360351562 + 30 +0.0 + 10 +465.5010986328125 + 20 +323.00482177734375 + 30 +0.0 + 10 +464.94515991210937 + 20 +323.3719482421875 + 30 +0.0 + 10 +464.37619018554687 + 20 +323.7264404296875 + 30 +0.0 + 10 +463.79971313476562 + 20 +324.06793212890625 + 30 +0.0 + 10 +463.2144775390625 + 20 +324.39425659179687 + 30 +0.0 + 10 +462.62173461914062 + 20 +324.70761108398437 + 30 +0.0 + 10 +462.01809692382812 + 20 +325.00704956054687 + 30 +0.0 + 10 +461.40908813476562 + 20 +325.29226684570312 + 30 +0.0 + 10 +460.78921508789062 + 20 +325.56356811523437 + 30 +0.0 + 10 +460.1627197265625 + 20 +325.8184814453125 + 30 +0.0 + 10 +459.52871704101562 + 20 +326.06036376953125 + 30 +0.0 + 10 +458.88815307617187 + 20 +326.28585815429687 + 30 +0.0 + 10 +458.24099731445312 + 20 +326.49496459960937 + 30 +0.0 + 10 +457.58636474609375 + 20 +326.6910400390625 + 30 +0.0 + 10 +456.92510986328125 + 20 +326.8707275390625 + 30 +0.0 + 10 +456.25726318359375 + 20 +327.03402709960937 + 30 +0.0 + 10 +455.58285522460937 + 20 +327.180908203125 + 30 +0.0 + 10 +455.12530517578125 + 20 +327.26858520507812 + 30 +0.0 + 10 +455.12527465820313 + 20 +314.09243774414062 + 30 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +OBJECTS + 0 +DICTIONARY + 5 +C +100 +AcDbDictionary +280 +0 +281 +1 + 3 +ACAD_GROUP +350 +D + 3 +ACAD_LAYOUT +350 +1A + 3 +ACAD_MLINESTYLE +350 +17 + 3 +ACAD_PLOTSETTINGS +350 +19 + 3 +ACAD_PLOTSTYLENAME +350 +E + 3 +AcDbVariableDictionary +350 +67 + 0 +DICTIONARY + 5 +D +100 +AcDbDictionary +280 +0 +281 +1 + 0 +ACDBDICTIONARYWDFLT + 5 +E +100 +AcDbDictionary +281 +1 + 3 +Normal +350 +F +100 +AcDbDictionaryWithDefault +340 +F + 0 +ACDBPLACEHOLDER + 5 +F + 0 +DICTIONARY + 5 +17 +100 +AcDbDictionary +280 +0 +281 +1 + 3 +Standard +350 +18 + 0 +MLINESTYLE + 5 +18 +100 +AcDbMlineStyle + 2 +STANDARD + 70 +0 + 3 + + 62 +256 + 51 +90.0 + 52 +90.0 + 71 +2 + 49 +0.5 + 62 +256 + 6 +BYLAYER + 49 +-0.5 + 62 +256 + 6 +BYLAYER + 0 +DICTIONARY + 5 +19 +100 +AcDbDictionary +280 +0 +281 +1 + 0 +DICTIONARY + 5 +1A +100 +AcDbDictionary +281 +1 + 3 +Layout1 +350 +1E + 3 +Layout2 +350 +26 + 3 +Model +350 +22 + 0 +LAYOUT + 5 +1E +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout1 + 70 +1 + 71 +1 + 10 +0.0 + 20 +0.0 + 11 +420.0 + 21 +297.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +100000000000000000000.0 + 24 +100000000000000000000.0 + 34 +100000000000000000000.0 + 15 +-100000000000000000000.0 + 25 +-100000000000000000000.0 + 35 +-100000000000000000000.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1B + 0 +LAYOUT + 5 +22 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +1712 + 72 +0 + 73 +0 + 74 +0 + 7 + + 75 +0 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Model + 70 +1 + 71 +0 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1F + 0 +LAYOUT + 5 +26 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout2 + 70 +1 + 71 +2 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +23 + 0 +DICTIONARY + 5 +67 +100 +AcDbDictionary +281 +1 + 3 +DIMASSOC +350 +69 + 3 +HIDETEXT +350 +68 + 0 +DICTIONARYVAR + 5 +68 +100 +DictionaryVariables +280 +0 + 1 +2 + 0 +DICTIONARYVAR + 5 +69 +100 +DictionaryVariables +280 +0 + 1 +1 + 0 +ENDSEC + 0 +EOF diff --git a/莱洛三角结构/V2动量轮图案.dxf b/莱洛三角结构/V2动量轮图案.dxf new file mode 100644 index 0000000..79fb1a1 --- /dev/null +++ b/莱洛三角结构/V2动量轮图案.dxf @@ -0,0 +1,17668 @@ +999 +dxflib 3.17.0.0 + 0 +SECTION + 2 +HEADER + 9 +$ACADVER + 1 +AC1015 + 9 +$HANDSEED + 5 +FFFF + 9 +$INSUNITS + 70 +4 + 9 +$DIMEXE + 40 +1.25 + 9 +$TEXTSTYLE + 7 +Standard + 9 +$LIMMIN + 10 +0.0 + 20 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +TABLES + 0 +TABLE + 2 +VPORT + 5 +8 +100 +AcDbSymbolTable + 70 +1 + 0 +VPORT + 5 +30 +100 +AcDbSymbolTableRecord +100 +AcDbViewportTableRecord + 2 +*Active + 70 +0 + 10 +0.0 + 20 +0.0 + 11 +1.0 + 21 +1.0 + 12 +286.30555555555549 + 22 +148.5 + 13 +0.0 + 23 +0.0 + 14 +10.0 + 24 +10.0 + 15 +10.0 + 25 +10.0 + 16 +0.0 + 26 +0.0 + 36 +1.0 + 17 +0.0 + 27 +0.0 + 37 +0.0 + 40 +297.0 + 41 +1.92798353909465 + 42 +50.0 + 43 +0.0 + 44 +0.0 + 50 +0.0 + 51 +0.0 + 71 +0 + 72 +100 + 73 +1 + 74 +3 + 75 +1 + 76 +1 + 77 +0 + 78 +0 +281 +0 + 65 +1 +110 +0.0 +120 +0.0 +130 +0.0 +111 +1.0 +121 +0.0 +131 +0.0 +112 +0.0 +122 +1.0 +132 +0.0 + 79 +0 +146 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LTYPE + 5 +5 +100 +AcDbSymbolTable + 70 +25 + 0 +LTYPE + 5 +14 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYBLOCK + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +15 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BYLAYER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +16 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CONTINUOUS + 70 +0 + 3 +Solid line + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +31 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO02W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +32 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO03W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +33 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO04W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +34 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +ACAD_ISO05W100 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +35 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +36 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +37 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +BORDERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +38 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +39 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTER2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3A +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +CENTERX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3B +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3C +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3D +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHDOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3E +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +3F +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHED2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +40 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DASHEDX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +41 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +42 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDE2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +43 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DIVIDEX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +44 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +45 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOT2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +LTYPE + 5 +46 +100 +AcDbSymbolTableRecord +100 +AcDbLinetypeTableRecord + 2 +DOTX2 + 70 +0 + 3 + + 72 +65 + 73 +0 + 40 +0.0 + 0 +ENDTAB + 0 +TABLE + 2 +LAYER + 5 +2 +100 +AcDbSymbolTable + 70 +1 + 0 +LAYER + 5 +10 +100 +AcDbSymbolTableRecord +100 +AcDbLayerTableRecord + 2 +0 + 70 +0 + 62 +-1 +420 +0 + 6 +CONTINUOUS +370 +1 +390 +F + 0 +ENDTAB + 0 +STYLE + 5 +47 +100 +AcDbSymbolTableRecord +100 +AcDbTextStyleTableRecord + 2 + + 70 +0 + 40 +0.0 + 41 +0.0 + 50 +0.0 + 71 +0 + 42 +0.0 + 3 + + 4 + +1001 +ACAD +1000 + +1071 +0 + 0 +TABLE + 2 +VIEW + 5 +6 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +UCS + 5 +7 +100 +AcDbSymbolTable + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +APPID + 5 +9 +100 +AcDbSymbolTable + 70 +1 + 0 +APPID + 5 +12 +100 +AcDbSymbolTableRecord +100 +AcDbRegAppTableRecord + 2 +ACAD + 70 +0 + 0 +ENDTAB + 0 +TABLE + 2 +DIMSTYLE + 5 +A +100 +AcDbSymbolTable + 70 +1 +100 +AcDbDimStyleTable + 71 +0 + 0 +DIMSTYLE +105 +27 +100 +AcDbSymbolTableRecord +100 +AcDbDimStyleTableRecord + 2 +Standard + 41 +1.0 + 42 +1.0 + 43 +3.75 + 44 +1.0 + 70 +0 + 73 +0 + 74 +0 + 77 +1 + 78 +8 +140 +1.0 +141 +2.5 +143 +0.03937007874016 +147 +1.0 +171 +3 +172 +1 +271 +2 +272 +2 +274 +3 +278 +44 +283 +0 +284 +8 +340 +2B00002B + 0 +ENDTAB + 0 +TABLE + 2 +BLOCK_RECORD + 5 +1 +100 +AcDbSymbolTable + 70 +1 + 0 +BLOCK_RECORD + 5 +1F +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Model_Space +340 +22 + 0 +BLOCK_RECORD + 5 +1B +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space +340 +1E + 0 +BLOCK_RECORD + 5 +23 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +*Paper_Space0 +340 +26 + 0 +BLOCK_RECORD + 5 +48 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock1 +340 +0 + 0 +BLOCK_RECORD + 5 +49 +100 +AcDbSymbolTableRecord +100 +AcDbBlockTableRecord + 2 +myblock2 +340 +0 + 0 +ENDTAB + 0 +ENDSEC + 0 +SECTION + 2 +BLOCKS + 0 +BLOCK + 5 +20 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Model_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Model_Space + 1 + + 0 +ENDBLK + 5 +21 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +1C +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space + 1 + + 0 +ENDBLK + 5 +1D +100 +AcDbEntity + 67 +1 + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +24 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +*Paper_Space0 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +*Paper_Space0 + 1 + + 0 +ENDBLK + 5 +25 +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4A +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock1 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock1 + 1 + + 0 +ENDBLK + 5 +4B +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +BLOCK + 5 +4C +100 +AcDbEntity + 8 +0 +100 +AcDbBlockBegin + 2 +myblock2 + 70 +0 + 10 +0.0 + 20 +0.0 + 30 +0.0 + 3 +myblock2 + 1 + + 0 +ENDBLK + 5 +4D +100 +AcDbEntity + 8 +0 +100 +AcDbBlockEnd + 0 +ENDSEC + 0 +SECTION + 2 +ENTITIES + 0 +LWPOLYLINE + 5 +4E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +259 + 70 +0 + 10 +412.75244140625 + 20 +300.0029296875 + 30 +0.0 + 10 +412.76504516601562 + 20 +299.04046630859375 + 30 +0.0 + 10 +412.79998779296875 + 20 +298.08538818359375 + 30 +0.0 + 10 +412.86004638671875 + 20 +297.13543701171875 + 30 +0.0 + 10 +412.94497680664062 + 20 +296.19290161132812 + 30 +0.0 + 10 +413.05252075195312 + 20 +295.25790405273437 + 30 +0.0 + 10 +413.18252563476562 + 20 +294.33041381835937 + 30 +0.0 + 10 +413.33502197265625 + 20 +293.40792846679687 + 30 +0.0 + 10 +413.510009765625 + 20 +292.49542236328125 + 30 +0.0 + 10 +413.70755004882812 + 20 +291.59042358398437 + 30 +0.0 + 10 +413.925048828125 + 20 +290.69293212890625 + 30 +0.0 + 10 +414.1650390625 + 20 +289.805419921875 + 30 +0.0 + 10 +414.42755126953125 + 20 +288.92544555664062 + 30 +0.0 + 10 +414.71002197265625 + 20 +288.05535888671875 + 30 +0.0 + 10 +415.01251220703125 + 20 +287.19293212890625 + 30 +0.0 + 10 +415.33505249023437 + 20 +286.34292602539062 + 30 +0.0 + 10 +415.68002319335937 + 20 +285.50296020507812 + 30 +0.0 + 10 +416.04248046875 + 20 +284.67041015625 + 30 +0.0 + 10 +416.42498779296875 + 20 +283.85296630859375 + 30 +0.0 + 10 +416.82754516601562 + 20 +283.04293823242187 + 30 +0.0 + 10 +417.24752807617187 + 20 +282.24542236328125 + 30 +0.0 + 10 +417.68753051757812 + 20 +281.46038818359375 + 30 +0.0 + 10 +418.14505004882812 + 20 +280.68545532226562 + 30 +0.0 + 10 +418.6199951171875 + 20 +279.9229736328125 + 30 +0.0 + 10 +419.11502075195312 + 20 +279.17294311523437 + 30 +0.0 + 10 +419.62503051757812 + 20 +278.43789672851563 + 30 +0.0 + 10 +420.15252685546875 + 20 +277.71292114257812 + 30 +0.0 + 10 +420.697509765625 + 20 +277.0029296875 + 30 +0.0 + 10 +421.257568359375 + 20 +276.30545043945312 + 30 +0.0 + 10 +421.83505249023437 + 20 +275.62289428710937 + 30 +0.0 + 10 +422.43002319335938 + 20 +274.95294189453125 + 30 +0.0 + 10 +423.0374755859375 + 20 +274.30050659179687 + 30 +0.0 + 10 +423.66250610351562 + 20 +273.66043090820312 + 30 +0.0 + 10 +424.30252075195312 + 20 +273.03546142578125 + 30 +0.0 + 10 +424.95504760742187 + 20 +272.425537109375 + 30 +0.0 + 10 +425.62503051757813 + 20 +271.83291625976562 + 30 +0.0 + 10 +426.30755615234375 + 20 +271.25546264648437 + 30 +0.0 + 10 +427.00497436523437 + 20 +270.69549560546875 + 30 +0.0 + 10 +427.71511840820312 + 20 +270.15042114257812 + 30 +0.0 + 10 +428.43756103515625 + 20 +269.62039184570312 + 30 +0.0 + 10 +429.17495727539062 + 20 +269.11044311523438 + 30 +0.0 + 10 +429.92501831054687 + 20 +268.61795043945313 + 30 +0.0 + 10 +430.68511962890625 + 20 +268.14047241210937 + 30 +0.0 + 10 +431.46005249023437 + 20 +267.6829833984375 + 30 +0.0 + 10 +432.24505615234375 + 20 +267.24542236328125 + 30 +0.0 + 10 +433.04254150390625 + 20 +266.82293701171875 + 30 +0.0 + 10 +433.85250854492187 + 20 +266.42050170898437 + 30 +0.0 + 10 +434.67001342773437 + 20 +266.0379638671875 + 30 +0.0 + 10 +435.50250244140625 + 20 +265.67550659179687 + 30 +0.0 + 10 +436.34255981445312 + 20 +265.3304443359375 + 30 +0.0 + 10 +437.19256591796875 + 20 +265.00796508789062 + 30 +0.0 + 10 +438.05252075195312 + 20 +264.70550537109375 + 30 +0.0 + 10 +438.9224853515625 + 20 +264.42056274414062 + 30 +0.0 + 10 +439.80258178710937 + 20 +264.16046142578125 + 30 +0.0 + 10 +440.69009399414062 + 20 +263.91796875 + 30 +0.0 + 10 +441.58758544921875 + 20 +263.70053100585937 + 30 +0.0 + 10 +442.4925537109375 + 20 +263.5029296875 + 30 +0.0 + 10 +443.40509033203125 + 20 +263.32794189453125 + 30 +0.0 + 10 +444.32757568359375 + 20 +263.17547607421875 + 30 +0.0 + 10 +445.25506591796875 + 20 +263.0455322265625 + 30 +0.0 + 10 +446.18997192382812 + 20 +262.93792724609375 + 30 +0.0 + 10 +447.13247680664062 + 20 +262.85299682617187 + 30 +0.0 + 10 +448.08255004882812 + 20 +262.79302978515625 + 30 +0.0 + 10 +449.03750610351562 + 20 +262.75546264648437 + 30 +0.0 + 10 +449.99752807617187 + 20 +262.74298095703125 + 30 +0.0 + 10 +450.96505737304687 + 20 +262.76296997070312 + 30 +0.0 + 10 +451.9200439453125 + 20 +262.79794311523437 + 30 +0.0 + 10 +452.86749267578125 + 20 +262.85797119140625 + 30 +0.0 + 10 +453.80996704101562 + 20 +262.9429931640625 + 30 +0.0 + 10 +454.74758911132812 + 20 +263.050537109375 + 30 +0.0 + 10 +455.67501831054687 + 20 +263.18048095703125 + 30 +0.0 + 10 +456.59750366210937 + 20 +263.33297729492187 + 30 +0.0 + 10 +457.51004028320312 + 20 +263.50799560546875 + 30 +0.0 + 10 +458.41506958007812 + 20 +263.70553588867187 + 30 +0.0 + 10 +459.31256103515625 + 20 +263.92306518554687 + 30 +0.0 + 10 +460.199951171875 + 20 +264.1629638671875 + 30 +0.0 + 10 +461.08004760742187 + 20 +264.425537109375 + 30 +0.0 + 10 +461.95004272460937 + 20 +264.70794677734375 + 30 +0.0 + 10 +462.81002807617187 + 20 +265.01046752929687 + 30 +0.0 + 10 +463.66250610351562 + 20 +265.3330078125 + 30 +0.0 + 10 +464.50247192382812 + 20 +265.677978515625 + 30 +0.0 + 10 +465.33248901367187 + 20 +266.04049682617187 + 30 +0.0 + 10 +466.15252685546875 + 20 +266.42303466796875 + 30 +0.0 + 10 +466.96005249023437 + 20 +266.82553100585937 + 30 +0.0 + 10 +467.75747680664062 + 20 +267.24542236328125 + 30 +0.0 + 10 +468.54498291015625 + 20 +267.68545532226562 + 30 +0.0 + 10 +469.31744384765625 + 20 +268.14300537109375 + 30 +0.0 + 10 +470.07998657226562 + 20 +268.61795043945313 + 30 +0.0 + 10 +470.82992553710938 + 20 +269.11306762695312 + 30 +0.0 + 10 +471.5650634765625 + 20 +269.62289428710937 + 30 +0.0 + 10 +472.28997802734375 + 20 +270.15048217773437 + 30 +0.0 + 10 +472.99993896484375 + 20 +270.69552612304687 + 30 +0.0 + 10 +473.697509765625 + 20 +271.25543212890625 + 30 +0.0 + 10 +474.3800048828125 + 20 +271.83297729492187 + 30 +0.0 + 10 +475.04745483398437 + 20 +272.42791748046875 + 30 +0.0 + 10 +475.7025146484375 + 20 +273.03549194335937 + 30 +0.0 + 10 +476.342529296875 + 20 +273.66055297851562 + 30 +0.0 + 10 +476.96502685546875 + 20 +274.30050659179687 + 30 +0.0 + 10 +477.57504272460937 + 20 +274.95303344726562 + 30 +0.0 + 10 +478.16751098632812 + 20 +275.62301635742187 + 30 +0.0 + 10 +478.74496459960937 + 20 +276.30548095703125 + 30 +0.0 + 10 +479.30746459960937 + 20 +277.00296020507812 + 30 +0.0 + 10 +479.85000610351562 + 20 +277.71298217773438 + 30 +0.0 + 10 +480.3800048828125 + 20 +278.43545532226562 + 30 +0.0 + 10 +480.88995361328125 + 20 +279.1729736328125 + 30 +0.0 + 10 +481.38247680664062 + 20 +279.9229736328125 + 30 +0.0 + 10 +481.85751342773437 + 20 +280.68301391601562 + 30 +0.0 + 10 +482.31500244140625 + 20 +281.45797729492187 + 30 +0.0 + 10 +482.75494384765625 + 20 +282.242919921875 + 30 +0.0 + 10 +483.17501831054687 + 20 +283.04049682617187 + 30 +0.0 + 10 +483.57754516601562 + 20 +283.85052490234375 + 30 +0.0 + 10 +483.95999145507812 + 20 +284.66799926757812 + 30 +0.0 + 10 +484.322509765625 + 20 +285.50048828125 + 30 +0.0 + 10 +484.66500854492187 + 20 +286.34051513671875 + 30 +0.0 + 10 +484.987548828125 + 20 +287.19049072265625 + 30 +0.0 + 10 +485.28997802734375 + 20 +288.05050659179687 + 30 +0.0 + 10 +485.57241821289063 + 20 +288.92050170898437 + 30 +0.0 + 10 +485.83499145507812 + 20 +289.80047607421875 + 30 +0.0 + 10 +486.07501220703125 + 20 +290.68801879882813 + 30 +0.0 + 10 +486.29244995117187 + 20 +291.58544921875 + 30 +0.0 + 10 +486.48995971679687 + 20 +292.49041748046875 + 30 +0.0 + 10 +486.6650390625 + 20 +293.40301513671875 + 30 +0.0 + 10 +486.81747436523437 + 20 +294.32553100585937 + 30 +0.0 + 10 +486.94488525390625 + 20 +295.25296020507813 + 30 +0.0 + 10 +487.052490234375 + 20 +296.18798828125 + 30 +0.0 + 10 +487.13497924804687 + 20 +297.1304931640625 + 30 +0.0 + 10 +487.19497680664062 + 20 +298.08050537109375 + 30 +0.0 + 10 +487.22991943359375 + 20 +299.03549194335937 + 30 +0.0 + 10 +487.24246215820313 + 20 +299.9954833984375 + 30 +0.0 + 10 +487.24246215820313 + 20 +300.9654541015625 + 30 +0.0 + 10 +487.2073974609375 + 20 +301.92047119140625 + 30 +0.0 + 10 +487.14749145507812 + 20 +302.86798095703125 + 30 +0.0 + 10 +487.06243896484375 + 20 +303.81051635742187 + 30 +0.0 + 10 +486.95501708984375 + 20 +304.7479248046875 + 30 +0.0 + 10 +486.824951171875 + 20 +305.67547607421875 + 30 +0.0 + 10 +486.6724853515625 + 20 +306.5980224609375 + 30 +0.0 + 10 +486.4974365234375 + 20 +307.51046752929687 + 30 +0.0 + 10 +486.29998779296875 + 20 +308.41549682617187 + 30 +0.0 + 10 +486.08248901367187 + 20 +309.31295776367187 + 30 +0.0 + 10 +485.84243774414062 + 20 +310.20050048828125 + 30 +0.0 + 10 +485.57989501953125 + 20 +311.08047485351562 + 30 +0.0 + 10 +485.29745483398437 + 20 +311.95050048828125 + 30 +0.0 + 10 +484.99493408203125 + 20 +312.81045532226562 + 30 +0.0 + 10 +484.67001342773437 + 20 +313.6605224609375 + 30 +0.0 + 10 +484.32742309570312 + 20 +314.50299072265625 + 30 +0.0 + 10 +483.9649658203125 + 20 +315.33297729492187 + 30 +0.0 + 10 +483.58001708984375 + 20 +316.15301513671875 + 30 +0.0 + 10 +483.179931640625 + 20 +316.96047973632812 + 30 +0.0 + 10 +482.75738525390625 + 20 +317.75799560546875 + 30 +0.0 + 10 +482.32000732421875 + 20 +318.54302978515625 + 30 +0.0 + 10 +481.86245727539062 + 20 +319.31796264648437 + 30 +0.0 + 10 +481.385009765625 + 20 +320.08050537109375 + 30 +0.0 + 10 +480.89242553710937 + 20 +320.8304443359375 + 30 +0.0 + 10 +480.38238525390625 + 20 +321.5654296875 + 30 +0.0 + 10 +479.85491943359375 + 20 +322.29046630859375 + 30 +0.0 + 10 +479.31005859375 + 20 +323.00051879882812 + 30 +0.0 + 10 +478.7474365234375 + 20 +323.69796752929687 + 30 +0.0 + 10 +478.16989135742187 + 20 +324.3804931640625 + 30 +0.0 + 10 +477.57745361328125 + 20 +325.04800415039062 + 30 +0.0 + 10 +476.96749877929687 + 20 +325.70294189453125 + 30 +0.0 + 10 +476.34246826171875 + 20 +326.34298706054687 + 30 +0.0 + 10 +475.7049560546875 + 20 +326.96548461914062 + 30 +0.0 + 10 +475.04989624023437 + 20 +327.57550048828125 + 30 +0.0 + 10 +474.37994384765625 + 20 +328.16799926757812 + 30 +0.0 + 10 +473.69741821289062 + 20 +328.7454833984375 + 30 +0.0 + 10 +473.0 + 20 +329.30801391601562 + 30 +0.0 + 10 +472.28997802734375 + 20 +329.85305786132813 + 30 +0.0 + 10 +471.5673828125 + 20 +330.38043212890625 + 30 +0.0 + 10 +470.82992553710938 + 20 +330.89047241210937 + 30 +0.0 + 10 +470.0799560546875 + 20 +331.38296508789062 + 30 +0.0 + 10 +469.3173828125 + 20 +331.85794067382812 + 30 +0.0 + 10 +468.54495239257812 + 20 +332.3154296875 + 30 +0.0 + 10 +467.7574462890625 + 20 +332.75540161132812 + 30 +0.0 + 10 +466.95993041992187 + 20 +333.17538452148437 + 30 +0.0 + 10 +466.1524658203125 + 20 +333.57794189453125 + 30 +0.0 + 10 +465.33245849609375 + 20 +333.96044921875 + 30 +0.0 + 10 +464.50244140625 + 20 +334.32296752929687 + 30 +0.0 + 10 +463.65988159179687 + 20 +334.66793823242187 + 30 +0.0 + 10 +462.80990600585937 + 20 +334.990478515625 + 30 +0.0 + 10 +461.94992065429687 + 20 +335.29287719726562 + 30 +0.0 + 10 +461.07992553710937 + 20 +335.57550048828125 + 30 +0.0 + 10 +460.19989013671875 + 20 +335.837890625 + 30 +0.0 + 10 +459.31243896484375 + 20 +336.07794189453125 + 30 +0.0 + 10 +458.41497802734375 + 20 +336.29550170898437 + 30 +0.0 + 10 +457.50997924804687 + 20 +336.49298095703125 + 30 +0.0 + 10 +456.59500122070312 + 20 +336.66796875 + 30 +0.0 + 10 +455.6749267578125 + 20 +336.8204345703125 + 30 +0.0 + 10 +454.74496459960937 + 20 +336.950439453125 + 30 +0.0 + 10 +453.81002807617187 + 20 +337.05795288085937 + 30 +0.0 + 10 +452.86746215820312 + 20 +337.14044189453125 + 30 +0.0 + 10 +451.91748046875 + 20 +337.200439453125 + 30 +0.0 + 10 +450.96243286132812 + 20 +337.2379150390625 + 30 +0.0 + 10 +450.00247192382813 + 20 +337.24795532226562 + 30 +0.0 + 10 +449.0399169921875 + 20 +337.24032592773437 + 30 +0.0 + 10 +448.0849609375 + 20 +337.2054443359375 + 30 +0.0 + 10 +447.13742065429687 + 20 +337.1453857421875 + 30 +0.0 + 10 +446.19488525390625 + 20 +337.06039428710937 + 30 +0.0 + 10 +445.25741577148437 + 20 +336.95294189453125 + 30 +0.0 + 10 +444.329833984375 + 20 +336.8228759765625 + 30 +0.0 + 10 +443.40744018554687 + 20 +336.67044067382812 + 30 +0.0 + 10 +442.49496459960937 + 20 +336.49542236328125 + 30 +0.0 + 10 +441.5899658203125 + 20 +336.29794311523437 + 30 +0.0 + 10 +440.69247436523437 + 20 +336.0804443359375 + 30 +0.0 + 10 +439.804931640625 + 20 +335.84039306640625 + 30 +0.0 + 10 +438.92495727539062 + 20 +335.5780029296875 + 30 +0.0 + 10 +438.05499267578125 + 20 +335.29544067382812 + 30 +0.0 + 10 +437.1949462890625 + 20 +334.99288940429688 + 30 +0.0 + 10 +436.34490966796875 + 20 +334.66790771484375 + 30 +0.0 + 10 +435.50247192382812 + 20 +334.325439453125 + 30 +0.0 + 10 +434.6724853515625 + 20 +333.96292114257812 + 30 +0.0 + 10 +433.85247802734375 + 20 +333.5804443359375 + 30 +0.0 + 10 +433.04498291015625 + 20 +333.1778564453125 + 30 +0.0 + 10 +432.24746704101562 + 20 +332.7579345703125 + 30 +0.0 + 10 +431.45999145507812 + 20 +332.31790161132812 + 30 +0.0 + 10 +430.68746948242187 + 20 +331.86041259765625 + 30 +0.0 + 10 +429.92498779296875 + 20 +331.38296508789062 + 30 +0.0 + 10 +429.17495727539062 + 20 +330.89044189453125 + 30 +0.0 + 10 +428.43753051757812 + 20 +330.38046264648437 + 30 +0.0 + 10 +427.71499633789062 + 20 +329.85296630859375 + 30 +0.0 + 10 +427.00494384765625 + 20 +329.30795288085937 + 30 +0.0 + 10 +426.30746459960937 + 20 +328.74545288085937 + 30 +0.0 + 10 +425.62496948242187 + 20 +328.16796875 + 30 +0.0 + 10 +424.95498657226562 + 20 +327.57546997070312 + 30 +0.0 + 10 +424.302490234375 + 20 +326.96542358398437 + 30 +0.0 + 10 +423.66250610351562 + 20 +326.34042358398437 + 30 +0.0 + 10 +423.0374755859375 + 20 +325.7030029296875 + 30 +0.0 + 10 +422.427490234375 + 20 +325.04791259765625 + 30 +0.0 + 10 +421.8349609375 + 20 +324.37789916992187 + 30 +0.0 + 10 +421.25750732421875 + 20 +323.6954345703125 + 30 +0.0 + 10 +420.69500732421875 + 20 +322.99789428710937 + 30 +0.0 + 10 +420.1500244140625 + 20 +322.2879638671875 + 30 +0.0 + 10 +419.62249755859375 + 20 +321.5654296875 + 30 +0.0 + 10 +419.11248779296875 + 20 +320.82791137695312 + 30 +0.0 + 10 +418.61752319335937 + 20 +320.07797241210937 + 30 +0.0 + 10 +418.14248657226562 + 20 +319.31546020507812 + 30 +0.0 + 10 +417.68505859375 + 20 +318.54046630859375 + 30 +0.0 + 10 +417.2449951171875 + 20 +317.75537109375 + 30 +0.0 + 10 +416.82498168945312 + 20 +316.95791625976562 + 30 +0.0 + 10 +416.42251586914062 + 20 +316.14791870117187 + 30 +0.0 + 10 +416.03997802734375 + 20 +315.32791137695312 + 30 +0.0 + 10 +415.67495727539062 + 20 +314.4979248046875 + 30 +0.0 + 10 +415.33248901367187 + 20 +313.65792846679687 + 30 +0.0 + 10 +415.00750732421875 + 20 +312.80535888671875 + 30 +0.0 + 10 +414.7049560546875 + 20 +311.94540405273438 + 30 +0.0 + 10 +414.4224853515625 + 20 +311.07537841796875 + 30 +0.0 + 10 +414.15997314453125 + 20 +310.1954345703125 + 30 +0.0 + 10 +413.92001342773437 + 20 +309.30789184570312 + 30 +0.0 + 10 +413.69998168945312 + 20 +308.41043090820312 + 30 +0.0 + 10 +413.50250244140625 + 20 +307.50302124023437 + 30 +0.0 + 10 +413.32742309570312 + 20 +306.59039306640625 + 30 +0.0 + 10 +413.17501831054687 + 20 +305.66793823242187 + 30 +0.0 + 10 +413.04495239257812 + 20 +304.74041748046875 + 30 +0.0 + 10 +412.9375 + 20 +303.8028564453125 + 30 +0.0 + 10 +412.85250854492188 + 20 +302.86041259765625 + 30 +0.0 + 10 +412.79248046875 + 20 +301.910400390625 + 30 +0.0 + 10 +412.7550048828125 + 20 +300.95541381835937 + 30 +0.0 + 10 +412.74258422851562 + 20 +299.99298095703125 + 30 +0.0 + 10 +412.75244140625 + 20 +300.0029296875 + 30 +0.0 + 10 +412.75244140625 + 20 +300.0029296875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +4F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +259 + 70 +0 + 10 +410.99752807617187 + 20 +300.00283813476562 + 30 +0.0 + 10 +411.01004028320312 + 20 +298.99533081054687 + 30 +0.0 + 10 +411.0474853515625 + 20 +297.99533081054687 + 30 +0.0 + 10 +411.11001586914062 + 20 +297.00289916992187 + 30 +0.0 + 10 +411.19998168945312 + 20 +296.015380859375 + 30 +0.0 + 10 +411.31005859375 + 20 +295.03536987304687 + 30 +0.0 + 10 +411.44754028320312 + 20 +294.0628662109375 + 30 +0.0 + 10 +411.60751342773437 + 20 +293.09783935546875 + 30 +0.0 + 10 +411.78994750976562 + 20 +292.14285278320312 + 30 +0.0 + 10 +411.99502563476562 + 20 +291.1953125 + 30 +0.0 + 10 +412.22503662109375 + 20 +290.25531005859375 + 30 +0.0 + 10 +412.47750854492187 + 20 +289.32540893554687 + 30 +0.0 + 10 +412.75003051757813 + 20 +288.40533447265625 + 30 +0.0 + 10 +413.04754638671875 + 20 +287.492919921875 + 30 +0.0 + 10 +413.36502075195312 + 20 +286.59283447265625 + 30 +0.0 + 10 +413.7025146484375 + 20 +285.70285034179687 + 30 +0.0 + 10 +414.06256103515625 + 20 +284.82037353515625 + 30 +0.0 + 10 +414.44253540039062 + 20 +283.952880859375 + 30 +0.0 + 10 +414.842529296875 + 20 +283.0928955078125 + 30 +0.0 + 10 +415.26251220703125 + 20 +282.24789428710937 + 30 +0.0 + 10 +415.705078125 + 20 +281.412841796875 + 30 +0.0 + 10 +416.16500854492187 + 20 +280.58782958984375 + 30 +0.0 + 10 +416.64248657226562 + 20 +279.77786254882812 + 30 +0.0 + 10 +417.14004516601562 + 20 +278.98037719726562 + 30 +0.0 + 10 +417.657470703125 + 20 +278.19537353515625 + 30 +0.0 + 10 +418.1925048828125 + 20 +277.42535400390625 + 30 +0.0 + 10 +418.74502563476562 + 20 +276.66531372070313 + 30 +0.0 + 10 +419.31503295898437 + 20 +275.92294311523437 + 30 +0.0 + 10 +419.90252685546875 + 20 +275.19287109375 + 30 +0.0 + 10 +420.50747680664062 + 20 +274.4779052734375 + 30 +0.0 + 10 +421.1275634765625 + 20 +273.77789306640625 + 30 +0.0 + 10 +421.76504516601562 + 20 +273.09286499023437 + 30 +0.0 + 10 +422.42001342773437 + 20 +272.42288208007812 + 30 +0.0 + 10 +423.08743286132812 + 20 +271.76785278320312 + 30 +0.0 + 10 +423.77252197265625 + 20 +271.13034057617187 + 30 +0.0 + 10 +424.47247314453125 + 20 +270.5103759765625 + 30 +0.0 + 10 +425.18753051757813 + 20 +269.90536499023437 + 30 +0.0 + 10 +425.91754150390625 + 20 +269.31784057617187 + 30 +0.0 + 10 +426.66253662109375 + 20 +268.745361328125 + 30 +0.0 + 10 +427.4200439453125 + 20 +268.19287109375 + 30 +0.0 + 10 +428.19003295898438 + 20 +267.65780639648437 + 30 +0.0 + 10 +428.97500610351562 + 20 +267.14288330078125 + 30 +0.0 + 10 +429.7725830078125 + 20 +266.6429443359375 + 30 +0.0 + 10 +430.58251953125 + 20 +266.1654052734375 + 30 +0.0 + 10 +431.40509033203125 + 20 +265.70294189453125 + 30 +0.0 + 10 +432.24002075195312 + 20 +265.26284790039062 + 30 +0.0 + 10 +433.08758544921875 + 20 +264.84295654296875 + 30 +0.0 + 10 +433.94503784179687 + 20 +264.44046020507812 + 30 +0.0 + 10 +434.81256103515625 + 20 +264.06039428710937 + 30 +0.0 + 10 +435.69500732421875 + 20 +263.70037841796875 + 30 +0.0 + 10 +436.58505249023437 + 20 +263.36044311523438 + 30 +0.0 + 10 +437.48507690429687 + 20 +263.04293823242187 + 30 +0.0 + 10 +438.39501953125 + 20 +262.74786376953125 + 30 +0.0 + 10 +439.31747436523437 + 20 +262.47286987304687 + 30 +0.0 + 10 +440.24755859375 + 20 +262.220458984375 + 30 +0.0 + 10 +441.18505859375 + 20 +261.99295043945312 + 30 +0.0 + 10 +442.132568359375 + 20 +261.78533935546875 + 30 +0.0 + 10 +443.09005737304687 + 20 +261.60040283203125 + 30 +0.0 + 10 +444.052490234375 + 20 +261.44036865234375 + 30 +0.0 + 10 +445.02508544921875 + 20 +261.30535888671875 + 30 +0.0 + 10 +446.00509643554687 + 20 +261.19290161132812 + 30 +0.0 + 10 +446.99002075195312 + 20 +261.10293579101563 + 30 +0.0 + 10 +447.98501586914063 + 20 +261.04046630859375 + 30 +0.0 + 10 +448.98504638671875 + 20 +261.00289916992188 + 30 +0.0 + 10 +449.99005126953125 + 20 +260.98797607421875 + 30 +0.0 + 10 +451.00747680664062 + 20 +261.01296997070312 + 30 +0.0 + 10 +452.00750732421875 + 20 +261.0504150390625 + 30 +0.0 + 10 +452.99996948242187 + 20 +261.11294555664062 + 30 +0.0 + 10 +453.987548828125 + 20 +261.20291137695312 + 30 +0.0 + 10 +454.967529296875 + 20 +261.31298828125 + 30 +0.0 + 10 +455.93997192382812 + 20 +261.450439453125 + 30 +0.0 + 10 +456.90499877929687 + 20 +261.61041259765625 + 30 +0.0 + 10 +457.86007690429688 + 20 +261.79296875 + 30 +0.0 + 10 +458.8074951171875 + 20 +261.99801635742187 + 30 +0.0 + 10 +459.74752807617187 + 20 +262.22787475585938 + 30 +0.0 + 10 +460.67745971679687 + 20 +262.48043823242187 + 30 +0.0 + 10 +461.59759521484375 + 20 +262.75289916992187 + 30 +0.0 + 10 +462.510009765625 + 20 +263.05044555664062 + 30 +0.0 + 10 +463.40997314453125 + 20 +263.36795043945312 + 30 +0.0 + 10 +464.29998779296875 + 20 +263.70550537109375 + 30 +0.0 + 10 +465.18252563476562 + 20 +264.06536865234375 + 30 +0.0 + 10 +466.05001831054687 + 20 +264.4454345703125 + 30 +0.0 + 10 +466.91000366210937 + 20 +264.845458984375 + 30 +0.0 + 10 +467.75494384765625 + 20 +265.26797485351562 + 30 +0.0 + 10 +468.59005737304687 + 20 +265.70791625976562 + 30 +0.0 + 10 +469.4124755859375 + 20 +266.16790771484375 + 30 +0.0 + 10 +470.22494506835937 + 20 +266.64794921875 + 30 +0.0 + 10 +471.0224609375 + 20 +267.1453857421875 + 30 +0.0 + 10 +471.8074951171875 + 20 +267.66043090820312 + 30 +0.0 + 10 +472.57748413085937 + 20 +268.19546508789062 + 30 +0.0 + 10 +473.33499145507812 + 20 +268.7479248046875 + 30 +0.0 + 10 +474.08004760742188 + 20 +269.31796264648437 + 30 +0.0 + 10 +474.80996704101562 + 20 +269.90542602539062 + 30 +0.0 + 10 +475.52496337890625 + 20 +270.51043701171875 + 30 +0.0 + 10 +476.22491455078125 + 20 +271.13290405273437 + 30 +0.0 + 10 +476.91000366210937 + 20 +271.77041625976562 + 30 +0.0 + 10 +477.57742309570312 + 20 +272.42300415039062 + 30 +0.0 + 10 +478.23248291015625 + 20 +273.09292602539062 + 30 +0.0 + 10 +478.8699951171875 + 20 +273.77798461914062 + 30 +0.0 + 10 +479.489990234375 + 20 +274.47796630859375 + 30 +0.0 + 10 +480.09490966796875 + 20 +275.19296264648437 + 30 +0.0 + 10 +480.68243408203125 + 20 +275.92291259765625 + 30 +0.0 + 10 +481.25253295898437 + 20 +276.66796875 + 30 +0.0 + 10 +481.804931640625 + 20 +277.42547607421875 + 30 +0.0 + 10 +482.33999633789062 + 20 +278.1954345703125 + 30 +0.0 + 10 +482.85751342773437 + 20 +278.98049926757812 + 30 +0.0 + 10 +483.35504150390625 + 20 +279.77786254882812 + 30 +0.0 + 10 +483.8349609375 + 20 +280.58792114257812 + 30 +0.0 + 10 +484.29489135742187 + 20 +281.410400390625 + 30 +0.0 + 10 +484.73495483398438 + 20 +282.24542236328125 + 30 +0.0 + 10 +485.15496826171875 + 20 +283.09295654296875 + 30 +0.0 + 10 +485.55740356445312 + 20 +283.95046997070312 + 30 +0.0 + 10 +485.93743896484375 + 20 +284.8204345703125 + 30 +0.0 + 10 +486.29498291015625 + 20 +285.70050048828125 + 30 +0.0 + 10 +486.635009765625 + 20 +286.59292602539062 + 30 +0.0 + 10 +486.95257568359375 + 20 +287.49285888671875 + 30 +0.0 + 10 +487.24749755859375 + 20 +288.40292358398437 + 30 +0.0 + 10 +487.5224609375 + 20 +289.32546997070312 + 30 +0.0 + 10 +487.7724609375 + 20 +290.25543212890625 + 30 +0.0 + 10 +488.00250244140625 + 20 +291.19296264648437 + 30 +0.0 + 10 +488.2099609375 + 20 +292.140380859375 + 30 +0.0 + 10 +488.39251708984375 + 20 +293.09796142578125 + 30 +0.0 + 10 +488.55255126953125 + 20 +294.06295776367188 + 30 +0.0 + 10 +488.6873779296875 + 20 +295.03292846679687 + 30 +0.0 + 10 +488.800048828125 + 20 +296.012939453125 + 30 +0.0 + 10 +488.88751220703125 + 20 +297.00039672851562 + 30 +0.0 + 10 +488.94992065429687 + 20 +297.99542236328125 + 30 +0.0 + 10 +488.98745727539062 + 20 +298.99539184570312 + 30 +0.0 + 10 +489.0 + 20 +300.00042724609375 + 30 +0.0 + 10 +488.989990234375 + 20 +301.010498046875 + 30 +0.0 + 10 +488.95248413085937 + 20 +302.01043701171875 + 30 +0.0 + 10 +488.88995361328125 + 20 +303.00286865234375 + 30 +0.0 + 10 +488.7999267578125 + 20 +303.99044799804687 + 30 +0.0 + 10 +488.68997192382812 + 20 +304.97042846679687 + 30 +0.0 + 10 +488.55245971679687 + 20 +305.94296264648437 + 30 +0.0 + 10 +488.39248657226562 + 20 +306.90789794921875 + 30 +0.0 + 10 +488.2099609375 + 20 +307.86285400390625 + 30 +0.0 + 10 +488.00241088867187 + 20 +308.81039428710937 + 30 +0.0 + 10 +487.77499389648437 + 20 +309.75039672851562 + 30 +0.0 + 10 +487.52243041992187 + 20 +310.68045043945313 + 30 +0.0 + 10 +487.24993896484375 + 20 +311.60037231445312 + 30 +0.0 + 10 +486.9525146484375 + 20 +312.51290893554687 + 30 +0.0 + 10 +486.6348876953125 + 20 +313.41290283203125 + 30 +0.0 + 10 +486.29742431640625 + 20 +314.30291748046875 + 30 +0.0 + 10 +485.93746948242187 + 20 +315.18539428710937 + 30 +0.0 + 10 +485.55743408203125 + 20 +316.0528564453125 + 30 +0.0 + 10 +485.15499877929687 + 20 +316.91293334960937 + 30 +0.0 + 10 +484.73495483398438 + 20 +317.75787353515625 + 30 +0.0 + 10 +484.29489135742187 + 20 +318.5928955078125 + 30 +0.0 + 10 +483.83499145507812 + 20 +319.41546630859375 + 30 +0.0 + 10 +483.35498046875 + 20 +320.22793579101562 + 30 +0.0 + 10 +482.85745239257812 + 20 +321.025390625 + 30 +0.0 + 10 +482.33990478515625 + 20 +321.81045532226562 + 30 +0.0 + 10 +481.80496215820312 + 20 +322.5804443359375 + 30 +0.0 + 10 +481.25241088867187 + 20 +323.33792114257812 + 30 +0.0 + 10 +480.68243408203125 + 20 +324.0828857421875 + 30 +0.0 + 10 +480.094970703125 + 20 +324.81298828125 + 30 +0.0 + 10 +479.48989868164062 + 20 +325.52786254882812 + 30 +0.0 + 10 +478.86993408203125 + 20 +326.2279052734375 + 30 +0.0 + 10 +478.22998046875 + 20 +326.91290283203125 + 30 +0.0 + 10 +477.57742309570312 + 20 +327.5804443359375 + 30 +0.0 + 10 +476.907470703125 + 20 +328.23541259765625 + 30 +0.0 + 10 +476.222412109375 + 20 +328.87286376953125 + 30 +0.0 + 10 +475.52239990234375 + 20 +329.49285888671875 + 30 +0.0 + 10 +474.80743408203125 + 20 +330.09783935546875 + 30 +0.0 + 10 +474.07745361328125 + 20 +330.6854248046875 + 30 +0.0 + 10 +473.33248901367187 + 20 +331.25546264648437 + 30 +0.0 + 10 +472.57498168945312 + 20 +331.80789184570313 + 30 +0.0 + 10 +471.80239868164062 + 20 +332.3428955078125 + 30 +0.0 + 10 +471.01742553710937 + 20 +332.8603515625 + 30 +0.0 + 10 +470.21994018554687 + 20 +333.35791015625 + 30 +0.0 + 10 +469.40985107421875 + 20 +333.83786010742187 + 30 +0.0 + 10 +468.58740234375 + 20 +334.29791259765625 + 30 +0.0 + 10 +467.75241088867187 + 20 +334.73788452148437 + 30 +0.0 + 10 +466.90496826171875 + 20 +335.15789794921875 + 30 +0.0 + 10 +466.04498291015625 + 20 +335.56036376953125 + 30 +0.0 + 10 +465.177490234375 + 20 +335.9404296875 + 30 +0.0 + 10 +464.29489135742187 + 20 +336.2978515625 + 30 +0.0 + 10 +463.40496826171875 + 20 +336.63790893554687 + 30 +0.0 + 10 +462.50241088867187 + 20 +336.95538330078125 + 30 +0.0 + 10 +461.5924072265625 + 20 +337.2503662109375 + 30 +0.0 + 10 +460.669921875 + 20 +337.525390625 + 30 +0.0 + 10 +459.73992919921875 + 20 +337.77542114257812 + 30 +0.0 + 10 +458.79995727539062 + 20 +338.00543212890625 + 30 +0.0 + 10 +457.85244750976562 + 20 +338.21292114257812 + 30 +0.0 + 10 +456.89498901367187 + 20 +338.39532470703125 + 30 +0.0 + 10 +455.92996215820312 + 20 +338.55535888671875 + 30 +0.0 + 10 +454.9573974609375 + 20 +338.69039916992187 + 30 +0.0 + 10 +453.97738647460938 + 20 +338.80288696289062 + 30 +0.0 + 10 +452.98995971679687 + 20 +338.89041137695312 + 30 +0.0 + 10 +451.99740600585937 + 20 +338.95285034179687 + 30 +0.0 + 10 +450.99496459960937 + 20 +338.99041748046875 + 30 +0.0 + 10 +449.9874267578125 + 20 +339.00289916992187 + 30 +0.0 + 10 +448.99249267578125 + 20 +338.99288940429687 + 30 +0.0 + 10 +447.99240112304687 + 20 +338.95535278320312 + 30 +0.0 + 10 +446.99993896484375 + 20 +338.89288330078125 + 30 +0.0 + 10 +446.01248168945312 + 20 +338.80291748046875 + 30 +0.0 + 10 +445.03237915039063 + 20 +338.69284057617187 + 30 +0.0 + 10 +444.05996704101562 + 20 +338.55535888671875 + 30 +0.0 + 10 +443.09487915039062 + 20 +338.39535522460937 + 30 +0.0 + 10 +442.13995361328125 + 20 +338.21279907226562 + 30 +0.0 + 10 +441.18997192382812 + 20 +338.00543212890625 + 30 +0.0 + 10 +440.25244140625 + 20 +337.77780151367187 + 30 +0.0 + 10 +439.3223876953125 + 20 +337.52532958984375 + 30 +0.0 + 10 +438.39999389648437 + 20 +337.25283813476562 + 30 +0.0 + 10 +437.48995971679687 + 20 +336.95535278320312 + 30 +0.0 + 10 +436.58993530273437 + 20 +336.63787841796875 + 30 +0.0 + 10 +435.6973876953125 + 20 +336.30029296875 + 30 +0.0 + 10 +434.81747436523437 + 20 +335.94039916992187 + 30 +0.0 + 10 +433.94744873046875 + 20 +335.56033325195312 + 30 +0.0 + 10 +433.0899658203125 + 20 +335.15789794921875 + 30 +0.0 + 10 +432.24249267578125 + 20 +334.73776245117187 + 30 +0.0 + 10 +431.40744018554687 + 20 +334.29788208007812 + 30 +0.0 + 10 +430.58499145507812 + 20 +333.8377685546875 + 30 +0.0 + 10 +429.77499389648437 + 20 +333.35787963867187 + 30 +0.0 + 10 +428.97747802734375 + 20 +332.86041259765625 + 30 +0.0 + 10 +428.19247436523437 + 20 +332.34283447265625 + 30 +0.0 + 10 +427.41995239257812 + 20 +331.80783081054687 + 30 +0.0 + 10 +426.66244506835937 + 20 +331.25537109375 + 30 +0.0 + 10 +425.91995239257812 + 20 +330.68533325195312 + 30 +0.0 + 10 +425.19003295898437 + 20 +330.09786987304687 + 30 +0.0 + 10 +424.47494506835937 + 20 +329.49276733398437 + 30 +0.0 + 10 +423.77493286132812 + 20 +328.87286376953125 + 30 +0.0 + 10 +423.0899658203125 + 20 +328.23284912109375 + 30 +0.0 + 10 +422.41995239257812 + 20 +327.580322265625 + 30 +0.0 + 10 +421.76495361328125 + 20 +326.91030883789062 + 30 +0.0 + 10 +421.12741088867187 + 20 +326.22537231445312 + 30 +0.0 + 10 +420.50735473632812 + 20 +325.52529907226562 + 30 +0.0 + 10 +419.90252685546875 + 20 +324.81033325195312 + 30 +0.0 + 10 +419.31497192382812 + 20 +324.08038330078125 + 30 +0.0 + 10 +418.74502563476562 + 20 +323.33535766601562 + 30 +0.0 + 10 +418.1925048828125 + 20 +322.577880859375 + 30 +0.0 + 10 +417.65744018554687 + 20 +321.80526733398437 + 30 +0.0 + 10 +417.13998413085937 + 20 +321.02035522460937 + 30 +0.0 + 10 +416.64251708984375 + 20 +320.222900390625 + 30 +0.0 + 10 +416.16244506835937 + 20 +319.41281127929687 + 30 +0.0 + 10 +415.70248413085937 + 20 +318.59033203125 + 30 +0.0 + 10 +415.26251220703125 + 20 +317.75540161132812 + 30 +0.0 + 10 +414.84246826171875 + 20 +316.9078369140625 + 30 +0.0 + 10 +414.44003295898437 + 20 +316.0478515625 + 30 +0.0 + 10 +414.05999755859375 + 20 +315.18035888671875 + 30 +0.0 + 10 +413.70001220703125 + 20 +314.2978515625 + 30 +0.0 + 10 +413.36248779296875 + 20 +313.40780639648437 + 30 +0.0 + 10 +413.044921875 + 20 +312.50537109375 + 30 +0.0 + 10 +412.74752807617187 + 20 +311.5953369140625 + 30 +0.0 + 10 +412.47494506835937 + 20 +310.6728515625 + 30 +0.0 + 10 +412.22247314453125 + 20 +309.7427978515625 + 30 +0.0 + 10 +411.99246215820312 + 20 +308.80282592773437 + 30 +0.0 + 10 +411.78750610351562 + 20 +307.85540771484375 + 30 +0.0 + 10 +411.60250854492187 + 20 +306.8978271484375 + 30 +0.0 + 10 +411.44497680664062 + 20 +305.93280029296875 + 30 +0.0 + 10 +411.30752563476562 + 20 +304.96035766601562 + 30 +0.0 + 10 +411.19503784179687 + 20 +303.98037719726562 + 30 +0.0 + 10 +411.10751342773437 + 20 +302.99285888671875 + 30 +0.0 + 10 +411.04498291015625 + 20 +302.00039672851562 + 30 +0.0 + 10 +411.00747680664062 + 20 +300.99783325195312 + 30 +0.0 + 10 +410.99252319335938 + 20 +299.99032592773437 + 30 +0.0 + 10 +410.99752807617187 + 20 +300.00283813476562 + 30 +0.0 + 10 +410.99752807617187 + 20 +300.00283813476562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +50 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +450.003173828125 + 20 +339.0037841796875 + 30 +0.0 + 10 +450.00564575195312 + 20 +337.25131225585937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +51 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +454.08047485351562 + 20 +338.79019165039062 + 30 +0.0 + 10 +453.89971923828125 + 20 +337.047119140625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +52 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +458.11309814453125 + 20 +338.1517333984375 + 30 +0.0 + 10 +457.75112915039062 + 20 +336.43701171875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +53 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +462.05691528320313 + 20 +337.09518432617188 + 30 +0.0 + 10 +461.51766967773437 + 20 +335.427734375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +54 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +465.86883544921875 + 20 +335.63223266601562 + 30 +0.0 + 10 +465.15823364257812 + 20 +334.03018188476562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +55 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +469.5067138671875 + 20 +333.77877807617187 + 30 +0.0 + 10 +468.632568359375 + 20 +332.25979614257813 + 30 +0.0 + 0 +LWPOLYLINE + 5 +56 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +472.93109130859375 + 20 +331.55520629882812 + 30 +0.0 + 10 +471.90298461914062 + 20 +330.13604736328125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +57 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +476.10418701171875 + 20 +328.98583984375 + 30 +0.0 + 10 +474.93328857421875 + 20 +327.68191528320312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +58 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +478.99136352539062 + 20 +326.09906005859375 + 30 +0.0 + 10 +477.69058227539062 + 20 +324.924560546875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +59 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +481.56103515625 + 20 +322.9261474609375 + 30 +0.0 + 10 +480.14462280273437 + 20 +321.89401245117187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +483.7847900390625 + 20 +319.50204467773437 + 30 +0.0 + 10 +482.268310546875 + 20 +318.62362670898437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +485.63861083984375 + 20 +315.86422729492187 + 30 +0.0 + 10 +484.03857421875 + 20 +315.14913940429687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +487.10189819335937 + 20 +312.05242919921875 + 30 +0.0 + 10 +485.43597412109375 + 20 +311.50863647460938 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +488.158935546875 + 20 +308.10882568359375 + 30 +0.0 + 10 +486.44512939453125 + 20 +307.74200439453125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +488.79779052734375 + 20 +304.07620239257812 + 30 +0.0 + 10 +487.05517578125 + 20 +303.89059448242187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +5F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +489.0115966796875 + 20 +299.99884033203125 + 30 +0.0 + 10 +487.25912475585937 + 20 +299.99639892578125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +60 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +488.79818725585937 + 20 +295.92160034179687 + 30 +0.0 + 10 +487.05499267578125 + 20 +296.10232543945313 + 30 +0.0 + 0 +LWPOLYLINE + 5 +61 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +488.1595458984375 + 20 +291.888916015625 + 30 +0.0 + 10 +486.44491577148437 + 20 +292.25088500976562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +62 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +487.10308837890625 + 20 +287.945068359375 + 30 +0.0 + 10 +485.4356689453125 + 20 +288.48434448242187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +63 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +485.64007568359375 + 20 +284.13323974609375 + 30 +0.0 + 10 +484.03811645507812 + 20 +284.84384155273437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +64 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +483.78668212890625 + 20 +280.49530029296875 + 30 +0.0 + 10 +482.2677001953125 + 20 +281.3695068359375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +65 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +481.56314086914062 + 20 +277.07107543945312 + 30 +0.0 + 10 +480.1439208984375 + 20 +278.09918212890625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +66 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +478.99380493164062 + 20 +273.89797973632812 + 30 +0.0 + 10 +477.68978881835937 + 20 +275.06875610351562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +67 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +476.10687255859375 + 20 +271.0107421875 + 30 +0.0 + 10 +474.93234252929687 + 20 +272.31149291992187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +68 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +472.93392944335937 + 20 +268.44107055664062 + 30 +0.0 + 10 +471.90191650390625 + 20 +269.857421875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +69 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +469.5098876953125 + 20 +266.21728515625 + 30 +0.0 + 10 +468.63150024414062 + 20 +267.73373413085937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +465.8720703125 + 20 +264.36343383789062 + 30 +0.0 + 10 +465.15707397460938 + 20 +265.96337890625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +462.06045532226562 + 20 +262.90005493164063 + 30 +0.0 + 10 +461.51651000976562 + 20 +264.5660400390625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +458.11672973632812 + 20 +261.84320068359375 + 30 +0.0 + 10 +457.75 + 20 +263.55685424804687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +454.08407592773437 + 20 +261.20437622070312 + 30 +0.0 + 10 +453.89840698242187 + 20 +262.94699096679687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +450.00680541992187 + 20 +260.99029541015625 + 30 +0.0 + 10 +450.00433349609375 + 20 +262.74288940429687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +6F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +445.929443359375 + 20 +261.20388793945313 + 30 +0.0 + 10 +446.1102294921875 + 20 +262.94711303710937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +70 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +441.89675903320312 + 20 +261.84246826171875 + 30 +0.0 + 10 +442.2587890625 + 20 +263.55712890625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +71 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +437.95303344726562 + 20 +262.89892578125 + 30 +0.0 + 10 +438.49224853515625 + 20 +264.56646728515625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +72 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +434.1412353515625 + 20 +264.36199951171875 + 30 +0.0 + 10 +434.851806640625 + 20 +265.9639892578125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +73 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +430.50320434570312 + 20 +266.21548461914062 + 30 +0.0 + 10 +431.37734985351562 + 20 +267.73440551757812 + 30 +0.0 + 0 +LWPOLYLINE + 5 +74 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +427.07891845703125 + 20 +268.43899536132813 + 30 +0.0 + 10 +428.10699462890625 + 20 +269.85818481445312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +75 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +423.90582275390625 + 20 +271.00823974609375 + 30 +0.0 + 10 +425.07659912109375 + 20 +272.31222534179687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +76 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +421.01861572265625 + 20 +273.8951416015625 + 30 +0.0 + 10 +422.31930541992187 + 20 +275.06961059570312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +77 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +418.44891357421875 + 20 +277.068115234375 + 30 +0.0 + 10 +419.8653564453125 + 20 +278.1002197265625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +78 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +416.22509765625 + 20 +280.4921875 + 30 +0.0 + 10 +417.74163818359375 + 20 +281.37054443359375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +79 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +414.37130737304687 + 20 +284.13009643554687 + 30 +0.0 + 10 +415.97137451171875 + 20 +284.8450927734375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +412.90802001953125 + 20 +287.94168090820312 + 30 +0.0 + 10 +414.57394409179687 + 20 +288.48553466796875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +411.85107421875 + 20 +291.88540649414062 + 30 +0.0 + 10 +413.5648193359375 + 20 +292.2520751953125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +411.21221923828125 + 20 +295.91799926757812 + 30 +0.0 + 10 +412.954833984375 + 20 +296.10360717773437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +410.99832153320312 + 20 +299.99526977539062 + 30 +0.0 + 10 +412.75082397460938 + 20 +299.99774169921875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +411.21188354492187 + 20 +304.07266235351562 + 30 +0.0 + 10 +412.95501708984375 + 20 +303.89190673828125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +7F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +411.850341796875 + 20 +308.10528564453125 + 30 +0.0 + 10 +413.56509399414062 + 20 +307.74325561523438 + 30 +0.0 + 0 +LWPOLYLINE + 5 +80 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +412.9068603515625 + 20 +312.04913330078125 + 30 +0.0 + 10 +414.57437133789062 + 20 +311.50991821289062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +81 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +414.369873046875 + 20 +315.86102294921875 + 30 +0.0 + 10 +415.971923828125 + 20 +315.15029907226562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +82 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +416.22323608398437 + 20 +319.49884033203125 + 30 +0.0 + 10 +417.74224853515625 + 20 +318.62472534179687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +83 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +418.44683837890625 + 20 +322.92318725585938 + 30 +0.0 + 10 +419.86614990234375 + 20 +321.89508056640625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +84 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +421.01611328125 + 20 +326.09622192382812 + 30 +0.0 + 10 +422.32015991210937 + 20 +324.9254150390625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +85 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +423.90298461914062 + 20 +328.98348999023437 + 30 +0.0 + 10 +425.07754516601562 + 20 +327.68270874023437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +86 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +427.07589721679687 + 20 +331.55307006835937 + 30 +0.0 + 10 +428.10806274414062 + 20 +330.13668823242187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +87 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +430.5 + 20 +333.77700805664062 + 30 +0.0 + 10 +431.37844848632812 + 20 +332.26046752929687 + 30 +0.0 + 0 +LWPOLYLINE + 5 +88 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +434.13787841796875 + 20 +335.63064575195312 + 30 +0.0 + 10 +434.8529052734375 + 20 +334.0306396484375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +89 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +437.94955444335937 + 20 +337.0941162109375 + 30 +0.0 + 10 +438.49337768554687 + 20 +335.4281005859375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +441.89324951171875 + 20 +338.15097045898437 + 30 +0.0 + 10 +442.26007080078125 + 20 +336.43719482421875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +2 + 70 +0 + 10 +445.92587280273437 + 20 +338.78985595703125 + 30 +0.0 + 10 +446.11154174804687 + 20 +337.04727172851562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +132 + 70 +0 + 10 +481.2799072265625 + 20 +282.232666015625 + 30 +0.0 + 10 +456.69509887695312 + 20 +296.42324829101562 + 30 +0.0 + 10 +456.84210205078125 + 20 +296.70834350585937 + 30 +0.0 + 10 +456.9949951171875 + 20 +297.04644775390625 + 30 +0.0 + 10 +457.12899780273437 + 20 +297.38839721679687 + 30 +0.0 + 10 +457.2445068359375 + 20 +297.74099731445312 + 30 +0.0 + 10 +457.34677124023437 + 20 +298.10128784179687 + 30 +0.0 + 10 +457.43170166015625 + 20 +298.46807861328125 + 30 +0.0 + 10 +457.49920654296875 + 20 +298.84136962890625 + 30 +0.0 + 10 +457.54934692382812 + 20 +299.22116088867187 + 30 +0.0 + 10 +457.57797241210937 + 20 +299.60638427734375 + 30 +0.0 + 10 +457.58761596679687 + 20 +299.99545288085937 + 30 +0.0 + 10 +457.57687377929687 + 20 +300.3857421875 + 30 +0.0 + 10 +457.54946899414062 + 20 +300.77154541015625 + 30 +0.0 + 10 +457.50115966796875 + 20 +301.15179443359375 + 30 +0.0 + 10 +457.43316650390625 + 20 +301.52227783203125 + 30 +0.0 + 10 +457.35003662109375 + 20 +301.89096069335937 + 30 +0.0 + 10 +457.24868774414062 + 20 +302.25250244140625 + 30 +0.0 + 10 +457.12762451171875 + 20 +302.60427856445313 + 30 +0.0 + 10 +456.99249267578125 + 20 +302.95013427734375 + 30 +0.0 + 10 +456.84033203125 + 20 +303.28460693359375 + 30 +0.0 + 10 +456.67257690429687 + 20 +303.61053466796875 + 30 +0.0 + 10 +456.4892578125 + 20 +303.92779541015625 + 30 +0.0 + 10 +456.29306030273437 + 20 +304.23486328125 + 30 +0.0 + 10 +455.85507202148437 + 20 +304.8189697265625 + 30 +0.0 + 10 +455.36654663085937 + 20 +305.3582763671875 + 30 +0.0 + 10 +454.82705688476562 + 20 +305.84591674804688 + 30 +0.0 + 10 +454.24496459960937 + 20 +306.2841796875 + 30 +0.0 + 10 +453.93963623046875 + 20 +306.48159790039062 + 30 +0.0 + 10 +453.6209716796875 + 20 +306.66204833984375 + 30 +0.0 + 10 +453.29205322265625 + 20 +306.83084106445312 + 30 +0.0 + 10 +452.95657348632812 + 20 +306.98220825195312 + 30 +0.0 + 10 +452.61199951171875 + 20 +307.11773681640625 + 30 +0.0 + 10 +452.32662963867187 + 20 +307.21554565429687 + 30 +0.0 + 10 +452.3267822265625 + 20 +319.99606323242187 + 30 +0.0 + 10 +451.62539672851562 + 20 +319.99578857421875 + 30 +0.0 + 10 +451.625732421875 + 20 +307.4052734375 + 30 +0.0 + 10 +451.53268432617188 + 20 +307.42724609375 + 30 +0.0 + 10 +451.340576171875 + 20 +307.46066284179687 + 30 +0.0 + 10 +451.33843994140625 + 20 +325.51046752929687 + 30 +0.0 + 10 +450.63967895507812 + 20 +325.5086669921875 + 30 +0.0 + 10 +450.63922119140625 + 20 +307.55197143554687 + 30 +0.0 + 10 +450.39553833007812 + 20 +307.5693359375 + 30 +0.0 + 10 +450.3463134765625 + 20 +307.56954956054687 + 30 +0.0 + 10 +450.34442138671875 + 20 +328.5615234375 + 30 +0.0 + 10 +449.64453125 + 20 +328.56390380859375 + 30 +0.0 + 10 +449.64492797851562 + 20 +307.56930541992187 + 30 +0.0 + 10 +449.61614990234375 + 20 +307.56826782226562 + 30 +0.0 + 10 +449.35528564453125 + 20 +307.54971313476562 + 30 +0.0 + 10 +449.35543823242187 + 20 +322.63125610351562 + 30 +0.0 + 10 +448.65557861328125 + 20 +322.63357543945312 + 30 +0.0 + 10 +448.65499877929687 + 20 +307.45370483398437 + 30 +0.0 + 10 +448.4796142578125 + 20 +307.42459106445312 + 30 +0.0 + 10 +448.1109619140625 + 20 +307.3414306640625 + 30 +0.0 + 10 +447.75204467773437 + 20 +307.23855590820312 + 30 +0.0 + 10 +447.3975830078125 + 20 +307.1190185546875 + 30 +0.0 + 10 +447.05441284179687 + 20 +306.98239135742187 + 30 +0.0 + 10 +446.71728515625 + 20 +306.83172607421875 + 30 +0.0 + 10 +446.391357421875 + 20 +306.66400146484375 + 30 +0.0 + 10 +446.0740966796875 + 20 +306.48068237304687 + 30 +0.0 + 10 +445.76705932617187 + 20 +306.28445434570312 + 30 +0.0 + 10 +445.18292236328125 + 20 +305.84646606445312 + 30 +0.0 + 10 +444.64364624023437 + 20 +305.35797119140625 + 30 +0.0 + 10 +444.15597534179687 + 20 +304.81845092773437 + 30 +0.0 + 10 +443.71771240234375 + 20 +304.23635864257812 + 30 +0.0 + 10 +443.52142333984375 + 20 +303.92684936523437 + 30 +0.0 + 10 +443.33831787109375 + 20 +303.60971069335938 + 30 +0.0 + 10 +443.17108154296875 + 20 +303.283447265625 + 30 +0.0 + 10 +443.01968383789062 + 20 +302.947998046875 + 30 +0.0 + 10 +442.8841552734375 + 20 +302.6033935546875 + 30 +0.0 + 10 +442.76446533203125 + 20 +302.2496337890625 + 30 +0.0 + 10 +442.6595458984375 + 20 +301.89089965820312 + 30 +0.0 + 10 +442.5772705078125 + 20 +301.52255249023437 + 30 +0.0 + 10 +442.51129150390625 + 20 +301.15191650390625 + 30 +0.0 + 10 +442.46115112304687 + 20 +300.77212524414062 + 30 +0.0 + 10 +442.43255615234375 + 20 +300.38693237304687 + 30 +0.0 + 10 +442.425537109375 + 20 +299.99630737304687 + 30 +0.0 + 10 +442.43362426757812 + 20 +299.6075439453125 + 30 +0.0 + 10 +442.46371459960937 + 20 +299.22021484375 + 30 +0.0 + 10 +442.511962890625 + 20 +298.8399658203125 + 30 +0.0 + 10 +442.5799560546875 + 20 +298.469482421875 + 30 +0.0 + 10 +442.66046142578125 + 20 +298.10232543945312 + 30 +0.0 + 10 +442.76181030273437 + 20 +297.74075317382812 + 30 +0.0 + 10 +442.87286376953125 + 20 +297.426513671875 + 30 +0.0 + 10 +426.83071899414062 + 20 +288.1641845703125 + 30 +0.0 + 10 +427.18115234375 + 20 +287.55661010742188 + 30 +0.0 + 10 +443.14132690429687 + 20 +296.77462768554688 + 30 +0.0 + 10 +443.17019653320312 + 20 +296.70864868164062 + 30 +0.0 + 10 +443.27188110351562 + 20 +296.51251220703125 + 30 +0.0 + 10 +422.58441162109375 + 20 +284.56903076171875 + 30 +0.0 + 10 +422.9364013671875 + 20 +283.96408081054687 + 30 +0.0 + 10 +443.62384033203125 + 20 +295.9075927734375 + 30 +0.0 + 10 +443.7200927734375 + 20 +295.75689697265625 + 30 +0.0 + 10 +443.78439331054687 + 20 +295.66690063476562 + 30 +0.0 + 10 +425.786376953125 + 20 +285.27508544921875 + 30 +0.0 + 10 +426.13681030273437 + 20 +284.66751098632812 + 30 +0.0 + 10 +444.21572875976562 + 20 +295.10781860351562 + 30 +0.0 + 10 +444.64398193359375 + 20 +294.63504028320313 + 30 +0.0 + 10 +445.18344116210937 + 20 +294.14736938476562 + 30 +0.0 + 10 +445.76553344726562 + 20 +293.70907592773437 + 30 +0.0 + 10 +446.07351684570312 + 20 +293.51016235351562 + 30 +0.0 + 10 +446.39218139648438 + 20 +293.32968139648437 + 30 +0.0 + 10 +446.71847534179687 + 20 +293.16244506835937 + 30 +0.0 + 10 +447.05239868164062 + 20 +293.0084228515625 + 30 +0.0 + 10 +447.39849853515625 + 20 +292.87554931640625 + 30 +0.0 + 10 +447.75228881835937 + 20 +292.75588989257812 + 30 +0.0 + 10 +448.10992431640625 + 20 +292.65512084960937 + 30 +0.0 + 10 +448.47930908203125 + 20 +292.56866455078125 + 30 +0.0 + 10 +448.8499755859375 + 20 +292.502685546875 + 30 +0.0 + 10 +449.23129272460937 + 20 +292.4552001953125 + 30 +0.0 + 10 +449.61495971679687 + 20 +292.42391967773437 + 30 +0.0 + 10 +450.0067138671875 + 20 +292.41275024414062 + 30 +0.0 + 10 +450.39697265625 + 20 +292.42349243164062 + 30 +0.0 + 10 +450.78170776367188 + 20 +292.455078125 + 30 +0.0 + 10 +451.160400390625 + 20 +292.500732421875 + 30 +0.0 + 10 +451.53353881835937 + 20 +292.56719970703125 + 30 +0.0 + 10 +451.8995361328125 + 20 +292.65185546875 + 30 +0.0 + 10 +452.2611083984375 + 20 +292.75320434570312 + 30 +0.0 + 10 +452.6129150390625 + 20 +292.87429809570312 + 30 +0.0 + 10 +452.95870971679687 + 20 +293.0093994140625 + 30 +0.0 + 10 +453.29324340820312 + 20 +293.16159057617187 + 30 +0.0 + 10 +453.62176513671875 + 20 +293.32778930664062 + 30 +0.0 + 10 +453.93902587890625 + 20 +293.51107788085937 + 30 +0.0 + 10 +454.24612426757812 + 20 +293.707275390625 + 30 +0.0 + 10 +454.82757568359375 + 20 +294.14682006835937 + 30 +0.0 + 10 +455.3695068359375 + 20 +294.63381958007812 + 30 +0.0 + 10 +455.85455322265625 + 20 +295.17486572265625 + 30 +0.0 + 10 +456.29278564453125 + 20 +295.75692749023437 + 30 +0.0 + 10 +456.44638061523437 + 20 +295.992431640625 + 30 +0.0 + 10 +481.02969360351562 + 20 +281.79928588867187 + 30 +0.0 + 10 +481.2799072265625 + 20 +282.232666015625 + 30 +0.0 + 10 +481.2799072265625 + 20 +282.232666015625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +442.0186767578125 + 20 +329.7923583984375 + 30 +0.0 + 10 +442.5286865234375 + 20 +329.49798583984375 + 30 +0.0 + 10 +442.23431396484375 + 20 +328.98794555664062 + 30 +0.0 + 10 +441.72421264648437 + 20 +329.28237915039062 + 30 +0.0 + 10 +442.0186767578125 + 20 +329.7923583984375 + 30 +0.0 + 10 +442.0186767578125 + 20 +329.7923583984375 + 30 +0.0 + 10 +442.0186767578125 + 20 +329.7923583984375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +442.41207885742187 + 20 +328.67095947265625 + 30 +0.0 + 10 +442.35830688476562 + 20 +328.87152099609375 + 30 +0.0 + 10 +442.7550048828125 + 20 +329.55862426757812 + 30 +0.0 + 10 +441.95809936523437 + 20 +330.018798828125 + 30 +0.0 + 10 +441.49795532226562 + 20 +329.22174072265625 + 30 +0.0 + 10 +442.177734375 + 20 +328.82925415039062 + 30 +0.0 + 10 +442.23251342773437 + 20 +328.62521362304687 + 30 +0.0 + 10 +442.2896728515625 + 20 +327.00491333007812 + 30 +0.0 + 10 +443.17630004882812 + 20 +327.24249267578125 + 30 +0.0 + 10 +442.41207885742187 + 20 +328.67095947265625 + 30 +0.0 + 10 +442.41207885742187 + 20 +328.67095947265625 + 30 +0.0 + 10 +442.41207885742187 + 20 +328.67095947265625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +8F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +428.1904296875 + 20 +321.8114013671875 + 30 +0.0 + 10 +428.77938842773437 + 20 +321.8114013671875 + 30 +0.0 + 10 +428.77938842773437 + 20 +321.22247314453125 + 30 +0.0 + 10 +428.19036865234375 + 20 +321.22235107421875 + 30 +0.0 + 10 +428.1904296875 + 20 +321.8114013671875 + 30 +0.0 + 10 +428.1904296875 + 20 +321.8114013671875 + 30 +0.0 + 10 +428.1904296875 + 20 +321.8114013671875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +90 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +429.09185791015625 + 20 +321.03680419921875 + 30 +0.0 + 10 +428.94500732421875 + 20 +321.18356323242187 + 30 +0.0 + 10 +428.94503784179687 + 20 +321.97711181640625 + 30 +0.0 + 10 +428.02474975585938 + 20 +321.97711181640625 + 30 +0.0 + 10 +428.02474975585938 + 20 +321.05673217773437 + 30 +0.0 + 10 +428.80978393554687 + 20 +321.05673217773437 + 30 +0.0 + 10 +428.95925903320312 + 20 +320.90740966796875 + 30 +0.0 + 10 +429.81884765625 + 20 +319.5328369140625 + 30 +0.0 + 10 +430.46786499023437 + 20 +320.1817626953125 + 30 +0.0 + 10 +429.09185791015625 + 20 +321.03680419921875 + 30 +0.0 + 10 +429.09185791015625 + 20 +321.03680419921875 + 30 +0.0 + 10 +429.09185791015625 + 20 +321.03680419921875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +91 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +420.20416259765625 + 20 +307.98541259765625 + 30 +0.0 + 10 +420.71417236328125 + 20 +308.27981567382812 + 30 +0.0 + 10 +421.00872802734375 + 20 +307.76983642578125 + 30 +0.0 + 10 +420.49862670898437 + 20 +307.475341796875 + 30 +0.0 + 10 +420.20416259765625 + 20 +307.98541259765625 + 30 +0.0 + 10 +420.20416259765625 + 20 +307.98541259765625 + 30 +0.0 + 10 +420.20416259765625 + 20 +307.98541259765625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +92 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +421.3720703125 + 20 +307.76528930664062 + 30 +0.0 + 10 +421.17153930664062 + 20 +307.81900024414062 + 30 +0.0 + 10 +420.77481079101562 + 20 +308.50619506835937 + 30 +0.0 + 10 +419.9779052734375 + 20 +308.04605102539062 + 30 +0.0 + 10 +420.43798828125 + 20 +307.24911499023437 + 30 +0.0 + 10 +421.11782836914062 + 20 +307.64166259765625 + 30 +0.0 + 10 +421.32196044921875 + 20 +307.58694458007812 + 30 +0.0 + 10 +422.75372314453125 + 20 +306.82626342773437 + 30 +0.0 + 10 +422.9913330078125 + 20 +307.71292114257812 + 30 +0.0 + 10 +421.3720703125 + 20 +307.76528930664062 + 30 +0.0 + 10 +421.3720703125 + 20 +307.76528930664062 + 30 +0.0 + 10 +421.3720703125 + 20 +307.76528930664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +93 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +420.20089721679687 + 20 +292.01889038085938 + 30 +0.0 + 10 +420.49533081054687 + 20 +292.52886962890625 + 30 +0.0 + 10 +421.00540161132812 + 20 +292.23443603515625 + 30 +0.0 + 10 +420.71087646484375 + 20 +291.724365234375 + 30 +0.0 + 10 +420.20089721679687 + 20 +292.01889038085938 + 30 +0.0 + 10 +420.20089721679687 + 20 +292.01889038085938 + 30 +0.0 + 10 +420.20089721679687 + 20 +292.01889038085938 + 30 +0.0 + 0 +LWPOLYLINE + 5 +94 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +421.3223876953125 + 20 +292.41229248046875 + 30 +0.0 + 10 +421.121826171875 + 20 +292.35842895507812 + 30 +0.0 + 10 +420.4346923828125 + 20 +292.75518798828125 + 30 +0.0 + 10 +419.97457885742187 + 20 +291.95828247070312 + 30 +0.0 + 10 +420.77157592773437 + 20 +291.49810791015625 + 30 +0.0 + 10 +421.1640625 + 20 +292.17791748046875 + 30 +0.0 + 10 +421.36810302734375 + 20 +292.23272705078125 + 30 +0.0 + 10 +422.98843383789062 + 20 +292.28985595703125 + 30 +0.0 + 10 +422.7508544921875 + 20 +293.17642211914062 + 30 +0.0 + 10 +421.3223876953125 + 20 +292.41229248046875 + 30 +0.0 + 10 +421.3223876953125 + 20 +292.41229248046875 + 30 +0.0 + 10 +421.3223876953125 + 20 +292.41229248046875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +95 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +428.18118286132812 + 20 +278.18978881835937 + 30 +0.0 + 10 +428.18109130859375 + 20 +278.7786865234375 + 30 +0.0 + 10 +428.77008056640625 + 20 +278.77877807617187 + 30 +0.0 + 10 +428.77005004882812 + 20 +278.18978881835937 + 30 +0.0 + 10 +428.18118286132812 + 20 +278.18978881835937 + 30 +0.0 + 10 +428.18118286132812 + 20 +278.18978881835937 + 30 +0.0 + 10 +428.18118286132812 + 20 +278.18978881835937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +96 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +428.9556884765625 + 20 +279.09121704101562 + 30 +0.0 + 10 +428.80889892578125 + 20 +278.94439697265625 + 30 +0.0 + 10 +428.01544189453125 + 20 +278.94442749023437 + 30 +0.0 + 10 +428.015380859375 + 20 +278.02420043945313 + 30 +0.0 + 10 +428.93569946289062 + 20 +278.02420043945313 + 30 +0.0 + 10 +428.9356689453125 + 20 +278.8092041015625 + 30 +0.0 + 10 +429.08511352539062 + 20 +278.95864868164062 + 30 +0.0 + 10 +430.459716796875 + 20 +279.81826782226562 + 30 +0.0 + 10 +429.81072998046875 + 20 +280.46725463867187 + 30 +0.0 + 10 +428.9556884765625 + 20 +279.09121704101562 + 30 +0.0 + 10 +428.9556884765625 + 20 +279.09121704101562 + 30 +0.0 + 10 +428.9556884765625 + 20 +279.09121704101562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +97 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +442.00680541992187 + 20 +270.203369140625 + 30 +0.0 + 10 +441.71237182617187 + 20 +270.71343994140625 + 30 +0.0 + 10 +442.22238159179687 + 20 +271.0079345703125 + 30 +0.0 + 10 +442.51690673828125 + 20 +270.49786376953125 + 30 +0.0 + 10 +442.00680541992187 + 20 +270.203369140625 + 30 +0.0 + 10 +442.00680541992187 + 20 +270.203369140625 + 30 +0.0 + 10 +442.00680541992187 + 20 +270.203369140625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +98 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +442.22698974609375 + 20 +271.37136840820312 + 30 +0.0 + 10 +442.17324829101562 + 20 +271.17080688476562 + 30 +0.0 + 10 +441.48602294921875 + 20 +270.7740478515625 + 30 +0.0 + 10 +441.9461669921875 + 20 +269.97708129882812 + 30 +0.0 + 10 +442.74319458007812 + 20 +270.43728637695312 + 30 +0.0 + 10 +442.35067749023437 + 20 +271.11709594726562 + 30 +0.0 + 10 +442.40530395507812 + 20 +271.32113647460937 + 30 +0.0 + 10 +443.16595458984375 + 20 +272.75299072265625 + 30 +0.0 + 10 +442.27938842773437 + 20 +272.99050903320312 + 30 +0.0 + 10 +442.22698974609375 + 20 +271.37136840820312 + 30 +0.0 + 10 +442.22698974609375 + 20 +271.37136840820312 + 30 +0.0 + 10 +442.22698974609375 + 20 +271.37136840820312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +99 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +457.97354125976562 + 20 +270.19998168945312 + 30 +0.0 + 10 +457.46347045898437 + 20 +270.49444580078125 + 30 +0.0 + 10 +457.75796508789062 + 20 +271.0045166015625 + 30 +0.0 + 10 +458.26797485351562 + 20 +270.71005249023437 + 30 +0.0 + 10 +457.97354125976562 + 20 +270.19998168945312 + 30 +0.0 + 10 +457.97354125976562 + 20 +270.19998168945312 + 30 +0.0 + 10 +457.97354125976562 + 20 +270.19998168945312 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9A +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +457.5802001953125 + 20 +271.321533203125 + 30 +0.0 + 10 +457.63394165039062 + 20 +271.12100219726562 + 30 +0.0 + 10 +457.2371826171875 + 20 +270.433837890625 + 30 +0.0 + 10 +458.03411865234375 + 20 +269.97369384765625 + 30 +0.0 + 10 +458.49423217773437 + 20 +270.77072143554687 + 30 +0.0 + 10 +457.81439208984375 + 20 +271.1632080078125 + 30 +0.0 + 10 +457.75970458984375 + 20 +271.3673095703125 + 30 +0.0 + 10 +457.7025146484375 + 20 +272.987548828125 + 30 +0.0 + 10 +456.81597900390625 + 20 +272.75003051757812 + 30 +0.0 + 10 +457.5802001953125 + 20 +271.321533203125 + 30 +0.0 + 10 +457.5802001953125 + 20 +271.321533203125 + 30 +0.0 + 10 +457.5802001953125 + 20 +271.321533203125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9B +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +471.80255126953125 + 20 +278.180419921875 + 30 +0.0 + 10 +471.213623046875 + 20 +278.18045043945312 + 30 +0.0 + 10 +471.21356201171875 + 20 +278.76934814453125 + 30 +0.0 + 10 +471.80255126953125 + 20 +278.76947021484375 + 30 +0.0 + 10 +471.80255126953125 + 20 +278.180419921875 + 30 +0.0 + 10 +471.80255126953125 + 20 +278.180419921875 + 30 +0.0 + 10 +471.80255126953125 + 20 +278.180419921875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9C +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +470.90118408203125 + 20 +278.95504760742187 + 30 +0.0 + 10 +471.04800415039062 + 20 +278.80825805664062 + 30 +0.0 + 10 +471.04803466796875 + 20 +278.01480102539062 + 30 +0.0 + 10 +471.96820068359375 + 20 +278.0147705078125 + 30 +0.0 + 10 +471.96826171875 + 20 +278.93508911132812 + 30 +0.0 + 10 +471.18316650390625 + 20 +278.93508911132812 + 30 +0.0 + 10 +471.03378295898437 + 20 +279.08441162109375 + 30 +0.0 + 10 +470.17413330078125 + 20 +280.45907592773437 + 30 +0.0 + 10 +469.52511596679687 + 20 +279.81005859375 + 30 +0.0 + 10 +470.90118408203125 + 20 +278.95504760742187 + 30 +0.0 + 10 +470.90118408203125 + 20 +278.95504760742187 + 30 +0.0 + 10 +470.90118408203125 + 20 +278.95504760742187 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9D +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +479.78878784179687 + 20 +292.0059814453125 + 30 +0.0 + 10 +479.27880859375 + 20 +291.71148681640625 + 30 +0.0 + 10 +478.9842529296875 + 20 +292.2215576171875 + 30 +0.0 + 10 +479.49435424804688 + 20 +292.51602172851562 + 30 +0.0 + 10 +479.78878784179687 + 20 +292.0059814453125 + 30 +0.0 + 10 +479.78878784179687 + 20 +292.0059814453125 + 30 +0.0 + 10 +479.78878784179687 + 20 +292.0059814453125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9E +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +478.620849609375 + 20 +292.22607421875 + 30 +0.0 + 10 +478.8214111328125 + 20 +292.17233276367188 + 30 +0.0 + 10 +479.21817016601562 + 20 +291.48513793945312 + 30 +0.0 + 10 +480.01507568359375 + 20 +291.94525146484375 + 30 +0.0 + 10 +479.55499267578125 + 20 +292.74221801757813 + 30 +0.0 + 10 +478.8751220703125 + 20 +292.34970092773437 + 30 +0.0 + 10 +478.6710205078125 + 20 +292.40438842773437 + 30 +0.0 + 10 +477.23928833007812 + 20 +293.16506958007813 + 30 +0.0 + 10 +477.001708984375 + 20 +292.2784423828125 + 30 +0.0 + 10 +478.620849609375 + 20 +292.22607421875 + 30 +0.0 + 10 +478.620849609375 + 20 +292.22607421875 + 30 +0.0 + 10 +478.620849609375 + 20 +292.22607421875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +9F +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +479.79238891601562 + 20 +307.97256469726562 + 30 +0.0 + 10 +479.4979248046875 + 20 +307.46249389648438 + 30 +0.0 + 10 +478.98785400390625 + 20 +307.75701904296875 + 30 +0.0 + 10 +479.2823486328125 + 20 +308.26699829101563 + 30 +0.0 + 10 +479.79238891601562 + 20 +307.97256469726562 + 30 +0.0 + 10 +479.79238891601562 + 20 +307.97256469726562 + 30 +0.0 + 10 +479.79238891601562 + 20 +307.97256469726562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A0 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +478.67086791992187 + 20 +307.57916259765625 + 30 +0.0 + 10 +478.87142944335937 + 20 +307.63290405273438 + 30 +0.0 + 10 +479.55859375 + 20 +307.23617553710938 + 30 +0.0 + 10 +480.01873779296875 + 20 +308.03305053710938 + 30 +0.0 + 10 +479.22174072265625 + 20 +308.49325561523437 + 30 +0.0 + 10 +478.82919311523437 + 20 +307.81341552734375 + 30 +0.0 + 10 +478.62515258789062 + 20 +307.75875854492187 + 30 +0.0 + 10 +477.00485229492187 + 20 +307.7015380859375 + 30 +0.0 + 10 +477.242431640625 + 20 +306.81500244140625 + 30 +0.0 + 10 +478.67086791992187 + 20 +307.57916259765625 + 30 +0.0 + 10 +478.67086791992187 + 20 +307.57916259765625 + 30 +0.0 + 10 +478.67086791992187 + 20 +307.57916259765625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A1 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +471.81207275390625 + 20 +321.80181884765625 + 30 +0.0 + 10 +471.81204223632812 + 20 +321.21292114257812 + 30 +0.0 + 10 +471.22311401367187 + 20 +321.21286010742187 + 30 +0.0 + 10 +471.22308349609375 + 20 +321.80184936523437 + 30 +0.0 + 10 +471.81207275390625 + 20 +321.80181884765625 + 30 +0.0 + 10 +471.81207275390625 + 20 +321.80181884765625 + 30 +0.0 + 10 +471.81207275390625 + 20 +321.80181884765625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A2 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +471.03744506835937 + 20 +320.90045166015625 + 30 +0.0 + 10 +471.18423461914062 + 20 +321.04727172851563 + 30 +0.0 + 10 +471.977783203125 + 20 +321.04718017578125 + 30 +0.0 + 10 +471.977783203125 + 20 +321.96746826171875 + 30 +0.0 + 10 +471.05740356445312 + 20 +321.96746826171875 + 30 +0.0 + 10 +471.05752563476562 + 20 +321.182373046875 + 30 +0.0 + 10 +470.90814208984375 + 20 +321.03302001953125 + 30 +0.0 + 10 +469.53350830078125 + 20 +320.17337036132812 + 30 +0.0 + 10 +470.1824951171875 + 20 +319.52435302734375 + 30 +0.0 + 10 +471.03744506835937 + 20 +320.90045166015625 + 30 +0.0 + 10 +471.03744506835937 + 20 +320.90045166015625 + 30 +0.0 + 10 +471.03744506835937 + 20 +320.90045166015625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A3 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +7 + 70 +0 + 10 +457.986328125 + 20 +329.78799438476562 + 30 +0.0 + 10 +458.28085327148437 + 20 +329.2779541015625 + 30 +0.0 + 10 +457.770751953125 + 20 +328.98345947265625 + 30 +0.0 + 10 +457.47637939453125 + 20 +329.49343872070312 + 30 +0.0 + 10 +457.986328125 + 20 +329.78799438476562 + 30 +0.0 + 10 +457.986328125 + 20 +329.78799438476562 + 30 +0.0 + 10 +457.986328125 + 20 +329.78799438476562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A4 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +12 + 70 +0 + 10 +457.76626586914062 + 20 +328.6199951171875 + 30 +0.0 + 10 +457.82000732421875 + 20 +328.82052612304687 + 30 +0.0 + 10 +458.50717163085937 + 20 +329.21728515625 + 30 +0.0 + 10 +458.04708862304687 + 20 +330.01419067382812 + 30 +0.0 + 10 +457.25009155273437 + 20 +329.55404663085937 + 30 +0.0 + 10 +457.64254760742187 + 20 +328.87423706054687 + 30 +0.0 + 10 +457.587890625 + 20 +328.67013549804687 + 30 +0.0 + 10 +456.82723999023437 + 20 +327.23834228515625 + 30 +0.0 + 10 +457.71380615234375 + 20 +327.00082397460937 + 30 +0.0 + 10 +457.76626586914062 + 20 +328.6199951171875 + 30 +0.0 + 10 +457.76626586914062 + 20 +328.6199951171875 + 30 +0.0 + 10 +457.76626586914062 + 20 +328.6199951171875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A5 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +452.88497924804687 + 20 +335.39996337890625 + 30 +0.0 + 10 +452.76248168945312 + 20 +335.39498901367187 + 30 +0.0 + 10 +452.65496826171875 + 20 +335.38247680664062 + 30 +0.0 + 10 +452.56747436523437 + 20 +335.3599853515625 + 30 +0.0 + 10 +452.49746704101562 + 20 +335.32748413085937 + 30 +0.0 + 10 +452.44497680664062 + 20 +335.2874755859375 + 30 +0.0 + 10 +452.40997314453125 + 20 +335.23748779296875 + 30 +0.0 + 10 +452.39248657226562 + 20 +335.17996215820312 + 30 +0.0 + 10 +452.39498901367187 + 20 +335.11248779296875 + 30 +0.0 + 10 +452.39498901367187 + 20 +328.13247680664062 + 30 +0.0 + 10 +452.39248657226562 + 20 +328.07498168945312 + 30 +0.0 + 10 +452.40997314453125 + 20 +328.02496337890625 + 30 +0.0 + 10 +452.44497680664062 + 20 +327.98248291015625 + 30 +0.0 + 10 +452.49746704101562 + 20 +327.94998168945312 + 30 +0.0 + 10 +452.56747436523437 + 20 +327.9224853515625 + 30 +0.0 + 10 +452.65496826171875 + 20 +327.9024658203125 + 30 +0.0 + 10 +452.76248168945312 + 20 +327.89248657226562 + 30 +0.0 + 10 +452.88497924804687 + 20 +327.88748168945312 + 30 +0.0 + 10 +452.88497924804687 + 20 +327.68246459960937 + 30 +0.0 + 10 +451.0899658203125 + 20 +327.68246459960937 + 30 +0.0 + 10 +451.0899658203125 + 20 +327.88748168945312 + 30 +0.0 + 10 +451.21246337890625 + 20 +327.88247680664062 + 30 +0.0 + 10 +451.31997680664062 + 20 +327.88748168945312 + 30 +0.0 + 10 +451.407470703125 + 20 +327.9024658203125 + 30 +0.0 + 10 +451.47747802734375 + 20 +327.927490234375 + 30 +0.0 + 10 +451.52996826171875 + 20 +327.9649658203125 + 30 +0.0 + 10 +451.56246948242187 + 20 +328.00997924804687 + 30 +0.0 + 10 +451.57998657226562 + 20 +328.06747436523437 + 30 +0.0 + 10 +451.57998657226562 + 20 +328.13247680664062 + 30 +0.0 + 10 +451.57998657226562 + 20 +335.11248779296875 + 30 +0.0 + 10 +451.57998657226562 + 20 +335.17996215820312 + 30 +0.0 + 10 +451.56246948242187 + 20 +335.23748779296875 + 30 +0.0 + 10 +451.52996826171875 + 20 +335.2874755859375 + 30 +0.0 + 10 +451.47747802734375 + 20 +335.32748413085937 + 30 +0.0 + 10 +451.407470703125 + 20 +335.3599853515625 + 30 +0.0 + 10 +451.31997680664062 + 20 +335.38247680664062 + 30 +0.0 + 10 +451.21246337890625 + 20 +335.39498901367187 + 30 +0.0 + 10 +451.0899658203125 + 20 +335.39996337890625 + 30 +0.0 + 10 +451.0899658203125 + 20 +335.60247802734375 + 30 +0.0 + 10 +452.88497924804687 + 20 +335.60247802734375 + 30 +0.0 + 10 +452.88497924804687 + 20 +335.39996337890625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A6 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +454.76248168945312 + 20 +335.39996337890625 + 30 +0.0 + 10 +454.62997436523437 + 20 +335.39498901367187 + 30 +0.0 + 10 +454.51498413085937 + 20 +335.37997436523437 + 30 +0.0 + 10 +454.41998291015625 + 20 +335.35247802734375 + 30 +0.0 + 10 +454.344970703125 + 20 +335.31747436523437 + 30 +0.0 + 10 +454.2874755859375 + 20 +335.27249145507812 + 30 +0.0 + 10 +454.24996948242187 + 20 +335.2149658203125 + 30 +0.0 + 10 +454.23248291015625 + 20 +335.14996337890625 + 30 +0.0 + 10 +454.23248291015625 + 20 +335.07247924804688 + 30 +0.0 + 10 +454.23248291015625 + 20 +328.2149658203125 + 30 +0.0 + 10 +454.23248291015625 + 20 +328.13748168945312 + 30 +0.0 + 10 +454.25247192382812 + 20 +328.07247924804687 + 30 +0.0 + 10 +454.29248046875 + 20 +328.01498413085937 + 30 +0.0 + 10 +454.35498046875 + 20 +327.969970703125 + 30 +0.0 + 10 +454.43746948242187 + 20 +327.93496704101562 + 30 +0.0 + 10 +454.5374755859375 + 20 +327.907470703125 + 30 +0.0 + 10 +454.6624755859375 + 20 +327.89248657226562 + 30 +0.0 + 10 +454.80496215820313 + 20 +327.88748168945312 + 30 +0.0 + 10 +454.80496215820313 + 20 +327.68246459960937 + 30 +0.0 + 10 +452.92498779296875 + 20 +327.68246459960937 + 30 +0.0 + 10 +452.92498779296875 + 20 +327.88748168945312 + 30 +0.0 + 10 +453.04998779296875 + 20 +327.89248657226562 + 30 +0.0 + 10 +453.15496826171875 + 20 +327.9024658203125 + 30 +0.0 + 10 +453.24246215820313 + 20 +327.9224853515625 + 30 +0.0 + 10 +453.31246948242187 + 20 +327.94998168945312 + 30 +0.0 + 10 +453.36495971679687 + 20 +327.98248291015625 + 30 +0.0 + 10 +453.39996337890625 + 20 +328.02496337890625 + 30 +0.0 + 10 +453.41748046875 + 20 +328.07498168945312 + 30 +0.0 + 10 +453.41497802734375 + 20 +328.13247680664062 + 30 +0.0 + 10 +453.41497802734375 + 20 +335.11248779296875 + 30 +0.0 + 10 +453.41748046875 + 20 +335.17996215820312 + 30 +0.0 + 10 +453.39996337890625 + 20 +335.23748779296875 + 30 +0.0 + 10 +453.36495971679687 + 20 +335.2874755859375 + 30 +0.0 + 10 +453.31246948242187 + 20 +335.32748413085937 + 30 +0.0 + 10 +453.24246215820313 + 20 +335.3599853515625 + 30 +0.0 + 10 +453.15496826171875 + 20 +335.38247680664062 + 30 +0.0 + 10 +453.04998779296875 + 20 +335.39498901367187 + 30 +0.0 + 10 +452.92498779296875 + 20 +335.39996337890625 + 30 +0.0 + 10 +452.92498779296875 + 20 +335.60247802734375 + 30 +0.0 + 10 +454.76248168945312 + 20 +335.60247802734375 + 30 +0.0 + 10 +454.76248168945312 + 20 +335.39996337890625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A7 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +77 + 70 +0 + 10 +446.35247802734375 + 20 +328.04998779296875 + 30 +0.0 + 10 +446.344970703125 + 20 +328.01248168945312 + 30 +0.0 + 10 +446.36495971679687 + 20 +327.97998046875 + 30 +0.0 + 10 +446.407470703125 + 20 +327.95248413085937 + 30 +0.0 + 10 +446.47747802734375 + 20 +327.927490234375 + 30 +0.0 + 10 +446.56997680664062 + 20 +327.90997314453125 + 30 +0.0 + 10 +446.68997192382812 + 20 +327.89749145507812 + 30 +0.0 + 10 +446.83746337890625 + 20 +327.88998413085937 + 30 +0.0 + 10 +447.00747680664062 + 20 +327.88748168945312 + 30 +0.0 + 10 +447.00747680664062 + 20 +327.68246459960937 + 30 +0.0 + 10 +445.2099609375 + 20 +327.68246459960937 + 30 +0.0 + 10 +445.2099609375 + 20 +327.88748168945312 + 30 +0.0 + 10 +445.37496948242187 + 20 +327.88998413085937 + 30 +0.0 + 10 +445.5224609375 + 20 +327.89749145507812 + 30 +0.0 + 10 +445.64996337890625 + 20 +327.90997314453125 + 30 +0.0 + 10 +445.76248168945312 + 20 +327.927490234375 + 30 +0.0 + 10 +445.85498046875 + 20 +327.95248413085937 + 30 +0.0 + 10 +445.92996215820312 + 20 +327.97998046875 + 30 +0.0 + 10 +445.98748779296875 + 20 +328.01248168945312 + 30 +0.0 + 10 +446.0274658203125 + 20 +328.04998779296875 + 30 +0.0 + 10 +447.86495971679687 + 20 +331.43997192382813 + 30 +0.0 + 10 +446.0274658203125 + 20 +335.11248779296875 + 30 +0.0 + 10 +445.98748779296875 + 20 +335.17996215820312 + 30 +0.0 + 10 +445.92996215820312 + 20 +335.23748779296875 + 30 +0.0 + 10 +445.85498046875 + 20 +335.2874755859375 + 30 +0.0 + 10 +445.76248168945312 + 20 +335.32748413085937 + 30 +0.0 + 10 +445.64996337890625 + 20 +335.3599853515625 + 30 +0.0 + 10 +445.5224609375 + 20 +335.38247680664062 + 30 +0.0 + 10 +445.37496948242187 + 20 +335.39498901367187 + 30 +0.0 + 10 +445.2099609375 + 20 +335.39996337890625 + 30 +0.0 + 10 +445.2099609375 + 20 +335.60247802734375 + 30 +0.0 + 10 +447.61996459960937 + 20 +335.60247802734375 + 30 +0.0 + 10 +447.61996459960937 + 20 +335.39996337890625 + 30 +0.0 + 10 +447.4124755859375 + 20 +335.39498901367187 + 30 +0.0 + 10 +447.23748779296875 + 20 +335.38247680664062 + 30 +0.0 + 10 +447.094970703125 + 20 +335.3599853515625 + 30 +0.0 + 10 +446.98748779296875 + 20 +335.32748413085937 + 30 +0.0 + 10 +446.90997314453125 + 20 +335.2874755859375 + 30 +0.0 + 10 +446.86996459960937 + 20 +335.23748779296875 + 30 +0.0 + 10 +446.8599853515625 + 20 +335.17996215820312 + 30 +0.0 + 10 +446.88497924804687 + 20 +335.11248779296875 + 30 +0.0 + 10 +448.35498046875 + 20 +332.17498779296875 + 30 +0.0 + 10 +450.0274658203125 + 20 +335.15496826171875 + 30 +0.0 + 10 +450.0374755859375 + 20 +335.21246337890625 + 30 +0.0 + 10 +450.02496337890625 + 20 +335.26248168945312 + 30 +0.0 + 10 +449.99246215820313 + 20 +335.30496215820312 + 30 +0.0 + 10 +449.93496704101562 + 20 +335.33746337890625 + 30 +0.0 + 10 +449.8599853515625 + 20 +335.364990234375 + 30 +0.0 + 10 +449.75997924804687 + 20 +335.38497924804687 + 30 +0.0 + 10 +449.63998413085937 + 20 +335.39498901367187 + 30 +0.0 + 10 +449.49746704101562 + 20 +335.39996337890625 + 30 +0.0 + 10 +449.49746704101562 + 20 +335.60247802734375 + 30 +0.0 + 10 +450.92498779296875 + 20 +335.60247802734375 + 30 +0.0 + 10 +450.92498779296875 + 20 +335.39996337890625 + 30 +0.0 + 10 +450.72247314453125 + 20 +335.38497924804687 + 30 +0.0 + 10 +450.55746459960937 + 20 +335.33746337890625 + 30 +0.0 + 10 +450.43496704101562 + 20 +335.26248168945312 + 30 +0.0 + 10 +450.35498046875 + 20 +335.15496826171875 + 30 +0.0 + 10 +448.47747802734375 + 20 +331.84747314453125 + 30 +0.0 + 10 +450.39498901367187 + 20 +328.04998779296875 + 30 +0.0 + 10 +450.48995971679687 + 20 +327.97998046875 + 30 +0.0 + 10 +450.6099853515625 + 20 +327.927490234375 + 30 +0.0 + 10 +450.75497436523437 + 20 +327.89749145507812 + 30 +0.0 + 10 +450.92498779296875 + 20 +327.88748168945312 + 30 +0.0 + 10 +450.92498779296875 + 20 +327.68246459960937 + 30 +0.0 + 10 +448.9649658203125 + 20 +327.68246459960937 + 30 +0.0 + 10 +448.9649658203125 + 20 +327.88748168945312 + 30 +0.0 + 10 +449.12496948242187 + 20 +327.88247680664062 + 30 +0.0 + 10 +449.25997924804687 + 20 +327.89248657226562 + 30 +0.0 + 10 +449.36495971679687 + 20 +327.91497802734375 + 30 +0.0 + 10 +449.44497680664062 + 20 +327.94998168945312 + 30 +0.0 + 10 +449.49996948242187 + 20 +327.99746704101562 + 30 +0.0 + 10 +449.52496337890625 + 20 +328.05746459960937 + 30 +0.0 + 10 +449.52496337890625 + 20 +328.12997436523437 + 30 +0.0 + 10 +449.49746704101562 + 20 +328.2149658203125 + 30 +0.0 + 10 +448.0274658203125 + 20 +331.11248779296875 + 30 +0.0 + 10 +446.35247802734375 + 20 +328.04998779296875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A8 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +468.94747924804687 + 20 +329.94247436523437 + 30 +0.0 + 10 +468.72747802734375 + 20 +330.05996704101562 + 30 +0.0 + 10 +468.52996826171875 + 20 +330.14498901367187 + 30 +0.0 + 10 +468.35498046875 + 20 +330.19747924804687 + 30 +0.0 + 10 +468.19998168945312 + 20 +330.219970703125 + 30 +0.0 + 10 +468.06747436523437 + 20 +330.20999145507812 + 30 +0.0 + 10 +467.95748901367187 + 20 +330.16998291015625 + 30 +0.0 + 10 +467.86746215820312 + 20 +330.09747314453125 + 30 +0.0 + 10 +467.7974853515625 + 20 +329.99246215820312 + 30 +0.0 + 10 +464.55245971679687 + 20 +324.37246704101562 + 30 +0.0 + 10 +464.49746704101562 + 20 +324.26248168945312 + 30 +0.0 + 10 +464.47998046875 + 20 +324.14996337890625 + 30 +0.0 + 10 +464.50247192382812 + 20 +324.03497314453125 + 30 +0.0 + 10 +464.56246948242187 + 20 +323.91998291015625 + 30 +0.0 + 10 +464.6624755859375 + 20 +323.79998779296875 + 30 +0.0 + 10 +464.79998779296875 + 20 +323.68246459960937 + 30 +0.0 + 10 +464.97747802734375 + 20 +323.55996704101562 + 30 +0.0 + 10 +465.19247436523437 + 20 +323.43746948242187 + 30 +0.0 + 10 +465.0899658203125 + 20 +323.25997924804687 + 30 +0.0 + 10 +462.61495971679687 + 20 +324.68997192382812 + 30 +0.0 + 10 +462.71746826171875 + 20 +324.864990234375 + 30 +0.0 + 10 +462.93997192382812 + 20 +324.7349853515625 + 30 +0.0 + 10 +463.13748168945312 + 20 +324.63998413085937 + 30 +0.0 + 10 +463.31497192382812 + 20 +324.57998657226562 + 30 +0.0 + 10 +463.46746826171875 + 20 +324.552490234375 + 30 +0.0 + 10 +463.59747314453125 + 20 +324.55746459960938 + 30 +0.0 + 10 +463.70248413085937 + 20 +324.59747314453125 + 30 +0.0 + 10 +463.78497314453125 + 20 +324.6724853515625 + 30 +0.0 + 10 +463.844970703125 + 20 +324.77996826171875 + 30 +0.0 + 10 +467.09246826171875 + 20 +330.4024658203125 + 30 +0.0 + 10 +467.13998413085937 + 20 +330.51748657226562 + 30 +0.0 + 10 +467.1524658203125 + 20 +330.63497924804687 + 30 +0.0 + 10 +467.12997436523437 + 20 +330.75497436523437 + 30 +0.0 + 10 +467.06997680664062 + 20 +330.87496948242187 + 30 +0.0 + 10 +466.9749755859375 + 20 +330.99746704101562 + 30 +0.0 + 10 +466.84246826171875 + 20 +331.11996459960937 + 30 +0.0 + 10 +466.67498779296875 + 20 +331.24496459960937 + 30 +0.0 + 10 +466.47247314453125 + 20 +331.37246704101562 + 30 +0.0 + 10 +466.57498168945312 + 20 +331.5474853515625 + 30 +0.0 + 10 +469.04998779296875 + 20 +330.11996459960937 + 30 +0.0 + 10 +468.94747924804687 + 20 +329.94247436523437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +A9 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +480.49996948242187 + 20 +317.95248413085937 + 30 +0.0 + 10 +480.38748168945312 + 20 +318.13247680664062 + 30 +0.0 + 10 +480.27996826171875 + 20 +318.27996826171875 + 30 +0.0 + 10 +480.1724853515625 + 20 +318.39498901367187 + 30 +0.0 + 10 +480.06747436523437 + 20 +318.48248291015625 + 30 +0.0 + 10 +479.96246337890625 + 20 +318.53497314453125 + 30 +0.0 + 10 +479.8599853515625 + 20 +318.55746459960937 + 30 +0.0 + 10 +479.75997924804687 + 20 +318.5474853515625 + 30 +0.0 + 10 +479.6624755859375 + 20 +318.50747680664062 + 30 +0.0 + 10 +473.969970703125 + 20 +315.219970703125 + 30 +0.0 + 10 +473.88247680664062 + 20 +315.1624755859375 + 30 +0.0 + 10 +473.81997680664062 + 20 +315.08746337890625 + 30 +0.0 + 10 +473.7874755859375 + 20 +314.989990234375 + 30 +0.0 + 10 +473.77996826171875 + 20 +314.87496948242187 + 30 +0.0 + 10 +473.80245971679687 + 20 +314.739990234375 + 30 +0.0 + 10 +473.8499755859375 + 20 +314.58499145507812 + 30 +0.0 + 10 +473.92745971679687 + 20 +314.40997314453125 + 30 +0.0 + 10 +474.02996826171875 + 20 +314.21746826171875 + 30 +0.0 + 10 +473.85247802734375 + 20 +314.114990234375 + 30 +0.0 + 10 +472.4849853515625 + 20 +316.4849853515625 + 30 +0.0 + 10 +472.6624755859375 + 20 +316.58746337890625 + 30 +0.0 + 10 +472.78497314453125 + 20 +316.37246704101562 + 30 +0.0 + 10 +472.90496826171875 + 20 +316.19247436523437 + 30 +0.0 + 10 +473.01998901367187 + 20 +316.052490234375 + 30 +0.0 + 10 +473.13497924804687 + 20 +315.95248413085937 + 30 +0.0 + 10 +473.24496459960937 + 20 +315.88748168945312 + 30 +0.0 + 10 +473.35498046875 + 20 +315.86248779296875 + 30 +0.0 + 10 +473.4599609375 + 20 +315.87747192382812 + 30 +0.0 + 10 +473.56246948242187 + 20 +315.927490234375 + 30 +0.0 + 10 +479.21746826171875 + 20 +319.19247436523437 + 30 +0.0 + 10 +479.31497192382812 + 20 +319.25497436523437 + 30 +0.0 + 10 +479.37997436523437 + 20 +319.34246826171875 + 30 +0.0 + 10 +479.41497802734375 + 20 +319.44998168945312 + 30 +0.0 + 10 +479.41998291015625 + 20 +319.57998657226562 + 30 +0.0 + 10 +479.39498901367187 + 20 +319.73248291015625 + 30 +0.0 + 10 +479.33746337890625 + 20 +319.907470703125 + 30 +0.0 + 10 +479.24996948242187 + 20 +320.10498046875 + 30 +0.0 + 10 +479.13247680664062 + 20 +320.32247924804687 + 30 +0.0 + 10 +479.30996704101562 + 20 +320.42498779296875 + 30 +0.0 + 10 +480.67745971679687 + 20 +318.05499267578125 + 30 +0.0 + 10 +480.49996948242187 + 20 +317.95248413085937 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AA +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +482.17498779296875 + 20 +315.05499267578125 + 30 +0.0 + 10 +482.04498291015625 + 20 +315.26748657226563 + 30 +0.0 + 10 +481.91998291015625 + 20 +315.43997192382812 + 30 +0.0 + 10 +481.79998779296875 + 20 +315.57748413085937 + 30 +0.0 + 10 +481.68496704101562 + 20 +315.67999267578125 + 30 +0.0 + 10 +481.57498168945312 + 20 +315.74249267578125 + 30 +0.0 + 10 +481.469970703125 + 20 +315.76998901367187 + 30 +0.0 + 10 +481.36996459960937 + 20 +315.75997924804688 + 30 +0.0 + 10 +481.27496337890625 + 20 +315.71246337890625 + 30 +0.0 + 10 +475.58248901367187 + 20 +312.427490234375 + 30 +0.0 + 10 +475.48748779296875 + 20 +312.364990234375 + 30 +0.0 + 10 +475.4224853515625 + 20 +312.27996826171875 + 30 +0.0 + 10 +475.38998413085937 + 20 +312.1724853515625 + 30 +0.0 + 10 +475.38998413085937 + 20 +312.04498291015625 + 30 +0.0 + 10 +475.4224853515625 + 20 +311.89498901367187 + 30 +0.0 + 10 +475.4849853515625 + 20 +311.7249755859375 + 30 +0.0 + 10 +475.57998657226562 + 20 +311.532470703125 + 30 +0.0 + 10 +475.70498657226562 + 20 +311.31997680664062 + 30 +0.0 + 10 +475.5274658203125 + 20 +311.21746826171875 + 30 +0.0 + 10 +474.15997314453125 + 20 +313.58499145507812 + 30 +0.0 + 10 +474.33746337890625 + 20 +313.68746948242187 + 30 +0.0 + 10 +474.44497680664062 + 20 +313.49746704101562 + 30 +0.0 + 10 +474.55245971679687 + 20 +313.3399658203125 + 30 +0.0 + 10 +474.657470703125 + 20 +313.219970703125 + 30 +0.0 + 10 +474.76248168945312 + 20 +313.13247680664062 + 30 +0.0 + 10 +474.86746215820312 + 20 +313.07998657226562 + 30 +0.0 + 10 +474.969970703125 + 20 +313.06497192382812 + 30 +0.0 + 10 +475.07247924804687 + 20 +313.08248901367187 + 30 +0.0 + 10 +475.17498779296875 + 20 +313.13497924804687 + 30 +0.0 + 10 +480.86746215820312 + 20 +316.41998291015625 + 30 +0.0 + 10 +480.96746826171875 + 20 +316.4749755859375 + 30 +0.0 + 10 +481.0374755859375 + 20 +316.5474853515625 + 30 +0.0 + 10 +481.07748413085937 + 20 +316.64248657226562 + 30 +0.0 + 10 +481.0849609375 + 20 +316.75747680664062 + 30 +0.0 + 10 +481.06246948242187 + 20 +316.89248657226563 + 30 +0.0 + 10 +481.00747680664062 + 20 +317.04998779296875 + 30 +0.0 + 10 +480.9224853515625 + 20 +317.2249755859375 + 30 +0.0 + 10 +480.80746459960937 + 20 +317.4224853515625 + 30 +0.0 + 10 +480.98248291015625 + 20 +317.52496337890625 + 30 +0.0 + 10 +482.3499755859375 + 20 +315.157470703125 + 30 +0.0 + 10 +482.17498779296875 + 20 +315.05499267578125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AB +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +485.39498901367187 + 20 +301.93496704101562 + 30 +0.0 + 10 +485.38748168945312 + 20 +302.19247436523437 + 30 +0.0 + 10 +485.36996459960937 + 20 +302.41497802734375 + 30 +0.0 + 10 +485.33746337890625 + 20 +302.60247802734375 + 30 +0.0 + 10 +485.29248046875 + 20 +302.75247192382812 + 30 +0.0 + 10 +485.2349853515625 + 20 +302.86749267578125 + 30 +0.0 + 10 +485.16497802734375 + 20 +302.94747924804687 + 30 +0.0 + 10 +485.08248901367187 + 20 +302.989990234375 + 30 +0.0 + 10 +484.98748779296875 + 20 +302.99746704101562 + 30 +0.0 + 10 +478.37246704101562 + 20 +302.99746704101562 + 30 +0.0 + 10 +478.25997924804687 + 20 +302.989990234375 + 30 +0.0 + 10 +478.1624755859375 + 20 +302.94747924804687 + 30 +0.0 + 10 +478.07998657226562 + 20 +302.86749267578125 + 30 +0.0 + 10 +478.01748657226562 + 20 +302.75247192382812 + 30 +0.0 + 10 +477.969970703125 + 20 +302.60247802734375 + 30 +0.0 + 10 +477.93746948242187 + 20 +302.41497802734375 + 30 +0.0 + 10 +477.9224853515625 + 20 +302.19247436523437 + 30 +0.0 + 10 +477.92498779296875 + 20 +301.93496704101562 + 30 +0.0 + 10 +477.719970703125 + 20 +301.93496704101562 + 30 +0.0 + 10 +477.719970703125 + 20 +304.83248901367187 + 30 +0.0 + 10 +477.92498779296875 + 20 +304.83248901367187 + 30 +0.0 + 10 +477.9224853515625 + 20 +304.60247802734375 + 30 +0.0 + 10 +477.93496704101562 + 20 +304.4024658203125 + 30 +0.0 + 10 +477.96246337890625 + 20 +304.22998046875 + 30 +0.0 + 10 +478.00497436523437 + 20 +304.08746337890625 + 30 +0.0 + 10 +478.06497192382812 + 20 +303.9749755859375 + 30 +0.0 + 10 +478.13748168945312 + 20 +303.89248657226562 + 30 +0.0 + 10 +478.22747802734375 + 20 +303.83746337890625 + 30 +0.0 + 10 +478.33248901367187 + 20 +303.81246948242187 + 30 +0.0 + 10 +484.98748779296875 + 20 +303.81246948242187 + 30 +0.0 + 10 +485.08248901367187 + 20 +303.81997680664062 + 30 +0.0 + 10 +485.16497802734375 + 20 +303.8599853515625 + 30 +0.0 + 10 +485.2349853515625 + 20 +303.93746948242187 + 30 +0.0 + 10 +485.29248046875 + 20 +304.0474853515625 + 30 +0.0 + 10 +485.33746337890625 + 20 +304.19247436523437 + 30 +0.0 + 10 +485.36996459960937 + 20 +304.36996459960937 + 30 +0.0 + 10 +485.38748168945312 + 20 +304.58499145507812 + 30 +0.0 + 10 +485.39498901367187 + 20 +304.83248901367187 + 30 +0.0 + 10 +485.5999755859375 + 20 +304.83248901367187 + 30 +0.0 + 10 +485.5999755859375 + 20 +301.93496704101562 + 30 +0.0 + 10 +485.39498901367187 + 20 +301.93496704101562 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AC +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +485.39498901367187 + 20 +295.157470703125 + 30 +0.0 + 10 +485.3974609375 + 20 +295.407470703125 + 30 +0.0 + 10 +485.38497924804687 + 20 +295.62246704101562 + 30 +0.0 + 10 +485.35748291015625 + 20 +295.80499267578125 + 30 +0.0 + 10 +485.31497192382812 + 20 +295.95498657226562 + 30 +0.0 + 10 +485.25497436523437 + 20 +296.06997680664062 + 30 +0.0 + 10 +485.18246459960937 + 20 +296.1524658203125 + 30 +0.0 + 10 +485.09246826171875 + 20 +296.20248413085937 + 30 +0.0 + 10 +484.98748779296875 + 20 +296.219970703125 + 30 +0.0 + 10 +478.33248901367187 + 20 +296.219970703125 + 30 +0.0 + 10 +478.22747802734375 + 20 +296.20248413085937 + 30 +0.0 + 10 +478.13748168945312 + 20 +296.1524658203125 + 30 +0.0 + 10 +478.06497192382812 + 20 +296.06997680664062 + 30 +0.0 + 10 +478.00497436523437 + 20 +295.95498657226562 + 30 +0.0 + 10 +477.96246337890625 + 20 +295.80499267578125 + 30 +0.0 + 10 +477.93496704101562 + 20 +295.62246704101562 + 30 +0.0 + 10 +477.9224853515625 + 20 +295.407470703125 + 30 +0.0 + 10 +477.92498779296875 + 20 +295.157470703125 + 30 +0.0 + 10 +477.719970703125 + 20 +295.157470703125 + 30 +0.0 + 10 +477.719970703125 + 20 +298.09747314453125 + 30 +0.0 + 10 +477.92498779296875 + 20 +298.09747314453125 + 30 +0.0 + 10 +477.9224853515625 + 20 +297.8499755859375 + 30 +0.0 + 10 +477.93496704101562 + 20 +297.63247680664062 + 30 +0.0 + 10 +477.96246337890625 + 20 +297.44998168945312 + 30 +0.0 + 10 +478.00497436523437 + 20 +297.302490234375 + 30 +0.0 + 10 +478.06497192382812 + 20 +297.18746948242187 + 30 +0.0 + 10 +478.13748168945312 + 20 +297.10247802734375 + 30 +0.0 + 10 +478.22747802734375 + 20 +297.05499267578125 + 30 +0.0 + 10 +478.33248901367187 + 20 +297.0374755859375 + 30 +0.0 + 10 +484.98748779296875 + 20 +297.0374755859375 + 30 +0.0 + 10 +485.08248901367187 + 20 +297.05499267578125 + 30 +0.0 + 10 +485.16497802734375 + 20 +297.10247802734375 + 30 +0.0 + 10 +485.2349853515625 + 20 +297.18746948242187 + 30 +0.0 + 10 +485.29248046875 + 20 +297.302490234375 + 30 +0.0 + 10 +485.33746337890625 + 20 +297.44998168945312 + 30 +0.0 + 10 +485.36996459960937 + 20 +297.63247680664062 + 30 +0.0 + 10 +485.38748168945312 + 20 +297.8499755859375 + 30 +0.0 + 10 +485.39498901367187 + 20 +298.09747314453125 + 30 +0.0 + 10 +485.5999755859375 + 20 +298.09747314453125 + 30 +0.0 + 10 +485.5999755859375 + 20 +295.157470703125 + 30 +0.0 + 10 +485.39498901367187 + 20 +295.157470703125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AD +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +485.39498901367187 + 20 +298.50497436523437 + 30 +0.0 + 10 +485.38748168945312 + 20 +298.782470703125 + 30 +0.0 + 10 +485.36996459960937 + 20 +299.01748657226562 + 30 +0.0 + 10 +485.33746337890625 + 20 +299.2149658203125 + 30 +0.0 + 10 +485.29248046875 + 20 +299.37246704101562 + 30 +0.0 + 10 +485.2349853515625 + 20 +299.489990234375 + 30 +0.0 + 10 +485.16497802734375 + 20 +299.56997680664062 + 30 +0.0 + 10 +485.08248901367187 + 20 +299.60748291015625 + 30 +0.0 + 10 +484.98748779296875 + 20 +299.60748291015625 + 30 +0.0 + 10 +478.29248046875 + 20 +299.60748291015625 + 30 +0.0 + 10 +478.20748901367187 + 20 +299.5899658203125 + 30 +0.0 + 10 +478.13247680664062 + 20 +299.5374755859375 + 30 +0.0 + 10 +478.06747436523437 + 20 +299.45248413085937 + 30 +0.0 + 10 +478.01748657226562 + 20 +299.33248901367187 + 30 +0.0 + 10 +477.97747802734375 + 20 +299.177490234375 + 30 +0.0 + 10 +477.94747924804687 + 20 +298.98748779296875 + 30 +0.0 + 10 +477.92996215820312 + 20 +298.76248168945312 + 30 +0.0 + 10 +477.92498779296875 + 20 +298.50497436523437 + 30 +0.0 + 10 +477.719970703125 + 20 +298.50497436523437 + 30 +0.0 + 10 +477.719970703125 + 20 +301.5274658203125 + 30 +0.0 + 10 +477.92498779296875 + 20 +301.5274658203125 + 30 +0.0 + 10 +477.91998291015625 + 20 +301.26998901367187 + 30 +0.0 + 10 +477.92996215820312 + 20 +301.04498291015625 + 30 +0.0 + 10 +477.94998168945312 + 20 +300.85498046875 + 30 +0.0 + 10 +477.9849853515625 + 20 +300.69998168945312 + 30 +0.0 + 10 +478.032470703125 + 20 +300.57998657226563 + 30 +0.0 + 10 +478.09246826171875 + 20 +300.49496459960937 + 30 +0.0 + 10 +478.16497802734375 + 20 +300.44247436523437 + 30 +0.0 + 10 +478.24996948242187 + 20 +300.42498779296875 + 30 +0.0 + 10 +484.94497680664062 + 20 +300.42498779296875 + 30 +0.0 + 10 +485.04998779296875 + 20 +300.44247436523437 + 30 +0.0 + 10 +485.14248657226562 + 20 +300.49496459960937 + 30 +0.0 + 10 +485.219970703125 + 20 +300.57998657226563 + 30 +0.0 + 10 +485.282470703125 + 20 +300.69998168945312 + 30 +0.0 + 10 +485.33248901367187 + 20 +300.85498046875 + 30 +0.0 + 10 +485.36746215820313 + 20 +301.04498291015625 + 30 +0.0 + 10 +485.38748168945312 + 20 +301.26998901367187 + 30 +0.0 + 10 +485.39498901367187 + 20 +301.5274658203125 + 30 +0.0 + 10 +485.5999755859375 + 20 +301.5274658203125 + 30 +0.0 + 10 +485.5999755859375 + 20 +298.50497436523437 + 30 +0.0 + 10 +485.39498901367187 + 20 +298.50497436523437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AE +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +44 + 70 +0 + 10 +478.62747192382812 + 20 +278.38247680664062 + 30 +0.0 + 10 +478.44998168945312 + 20 +278.4849853515625 + 30 +0.0 + 10 +478.5274658203125 + 20 +278.62997436523437 + 30 +0.0 + 10 +478.57998657226562 + 20 +278.76498413085937 + 30 +0.0 + 10 +478.61248779296875 + 20 +278.89248657226562 + 30 +0.0 + 10 +478.62496948242187 + 20 +279.00997924804688 + 30 +0.0 + 10 +478.61248779296875 + 20 +279.11749267578125 + 30 +0.0 + 10 +478.57998657226562 + 20 +279.2149658203125 + 30 +0.0 + 10 +478.5274658203125 + 20 +279.302490234375 + 30 +0.0 + 10 +478.44998168945312 + 20 +279.37997436523437 + 30 +0.0 + 10 +473.13247680664062 + 20 +284.61996459960937 + 30 +0.0 + 10 +473.47747802734375 + 20 +285.219970703125 + 30 +0.0 + 10 +480.8974609375 + 20 +283.29498291015625 + 30 +0.0 + 10 +480.97747802734375 + 20 +283.282470703125 + 30 +0.0 + 10 +481.05996704101562 + 20 +283.29248046875 + 30 +0.0 + 10 +481.13998413085937 + 20 +283.32498168945312 + 30 +0.0 + 10 +481.219970703125 + 20 +283.37997436523437 + 30 +0.0 + 10 +481.2974853515625 + 20 +283.45748901367187 + 30 +0.0 + 10 +481.37747192382812 + 20 +283.55746459960937 + 30 +0.0 + 10 +481.45498657226562 + 20 +283.67999267578125 + 30 +0.0 + 10 +481.532470703125 + 20 +283.82247924804688 + 30 +0.0 + 10 +481.7099609375 + 20 +283.719970703125 + 30 +0.0 + 10 +480.5474853515625 + 20 +281.70498657226562 + 30 +0.0 + 10 +480.36996459960937 + 20 +281.80746459960937 + 30 +0.0 + 10 +480.47998046875 + 20 +281.99496459960937 + 30 +0.0 + 10 +480.55996704101562 + 20 +282.157470703125 + 30 +0.0 + 10 +480.6099853515625 + 20 +282.2974853515625 + 30 +0.0 + 10 +480.62496948242187 + 20 +282.41497802734375 + 30 +0.0 + 10 +480.61248779296875 + 20 +282.50747680664062 + 30 +0.0 + 10 +480.56747436523437 + 20 +282.57748413085937 + 30 +0.0 + 10 +480.49246215820312 + 20 +282.62496948242187 + 30 +0.0 + 10 +480.38497924804687 + 20 +282.64749145507812 + 30 +0.0 + 10 +473.68746948242187 + 20 +284.43997192382812 + 30 +0.0 + 10 +478.57748413085937 + 20 +279.68496704101562 + 30 +0.0 + 10 +478.67745971679687 + 20 +279.60748291015625 + 30 +0.0 + 10 +478.77496337890625 + 20 +279.56497192382812 + 30 +0.0 + 10 +478.86996459960937 + 20 +279.55499267578125 + 30 +0.0 + 10 +478.9649658203125 + 20 +279.57998657226562 + 30 +0.0 + 10 +479.05746459960937 + 20 +279.63497924804687 + 30 +0.0 + 10 +479.14996337890625 + 20 +279.7249755859375 + 30 +0.0 + 10 +479.23995971679687 + 20 +279.84747314453125 + 30 +0.0 + 10 +479.32998657226562 + 20 +280.00497436523437 + 30 +0.0 + 10 +479.50497436523437 + 20 +279.9024658203125 + 30 +0.0 + 10 +478.62747192382812 + 20 +278.38247680664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +AF +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +481.55496215820312 + 20 +283.85748291015625 + 30 +0.0 + 10 +481.64248657226563 + 20 +284.0274658203125 + 30 +0.0 + 10 +481.70748901367187 + 20 +284.17999267578125 + 30 +0.0 + 10 +481.74496459960937 + 20 +284.31497192382813 + 30 +0.0 + 10 +481.75747680664062 + 20 +284.43496704101562 + 30 +0.0 + 10 +481.74496459960937 + 20 +284.53997802734375 + 30 +0.0 + 10 +481.70498657226562 + 20 +284.62747192382812 + 30 +0.0 + 10 +481.64248657226563 + 20 +284.69998168945312 + 30 +0.0 + 10 +481.55245971679687 + 20 +284.75497436523437 + 30 +0.0 + 10 +475.8599853515625 + 20 +288.03997802734375 + 30 +0.0 + 10 +475.75747680664062 + 20 +288.0899658203125 + 30 +0.0 + 10 +475.6524658203125 + 20 +288.10247802734375 + 30 +0.0 + 10 +475.54248046875 + 20 +288.07498168945312 + 30 +0.0 + 10 +475.42996215820312 + 20 +288.00747680664062 + 30 +0.0 + 10 +475.31246948242187 + 20 +287.9024658203125 + 30 +0.0 + 10 +475.19247436523437 + 20 +287.75747680664062 + 30 +0.0 + 10 +475.06747436523437 + 20 +287.57247924804687 + 30 +0.0 + 10 +474.93997192382812 + 20 +287.34747314453125 + 30 +0.0 + 10 +474.76498413085937 + 20 +287.44747924804687 + 30 +0.0 + 10 +476.21246337890625 + 20 +289.95748901367187 + 30 +0.0 + 10 +476.38998413085937 + 20 +289.85748291015625 + 30 +0.0 + 10 +476.2724609375 + 20 +289.63748168945312 + 30 +0.0 + 10 +476.18496704101562 + 20 +289.44247436523437 + 30 +0.0 + 10 +476.12496948242187 + 20 +289.26998901367187 + 30 +0.0 + 10 +476.094970703125 + 20 +289.11996459960937 + 30 +0.0 + 10 +476.094970703125 + 20 +288.99249267578125 + 30 +0.0 + 10 +476.12246704101562 + 20 +288.88748168945312 + 30 +0.0 + 10 +476.18246459960937 + 20 +288.80746459960937 + 30 +0.0 + 10 +476.26998901367187 + 20 +288.74746704101562 + 30 +0.0 + 10 +481.9599609375 + 20 +285.46246337890625 + 30 +0.0 + 10 +482.05996704101562 + 20 +285.407470703125 + 30 +0.0 + 10 +482.1624755859375 + 20 +285.38748168945312 + 30 +0.0 + 10 +482.26248168945312 + 20 +285.39749145507812 + 30 +0.0 + 10 +482.36248779296875 + 20 +285.44247436523437 + 30 +0.0 + 10 +482.4599609375 + 20 +285.51998901367187 + 30 +0.0 + 10 +482.55996704101562 + 20 +285.62747192382812 + 30 +0.0 + 10 +482.65997314453125 + 20 +285.76998901367187 + 30 +0.0 + 10 +482.75747680664062 + 20 +285.94497680664062 + 30 +0.0 + 10 +482.93496704101562 + 20 +285.84246826171875 + 30 +0.0 + 10 +481.72998046875 + 20 +283.75747680664062 + 30 +0.0 + 10 +481.55496215820312 + 20 +283.85748291015625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B0 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +44 + 70 +0 + 10 +464.67745971679687 + 20 +267.36749267578125 + 30 +0.0 + 10 +464.57498168945312 + 20 +267.54248046875 + 30 +0.0 + 10 +464.76748657226562 + 20 +267.66998291015625 + 30 +0.0 + 10 +464.93246459960937 + 20 +267.79248046875 + 30 +0.0 + 10 +465.06747436523437 + 20 +267.907470703125 + 30 +0.0 + 10 +465.1724853515625 + 20 +268.01748657226562 + 30 +0.0 + 10 +465.24996948242187 + 20 +268.12246704101562 + 30 +0.0 + 10 +465.29998779296875 + 20 +268.21746826171875 + 30 +0.0 + 10 +465.31997680664062 + 20 +268.30746459960937 + 30 +0.0 + 10 +465.31246948242187 + 20 +268.39248657226563 + 30 +0.0 + 10 +463.6724853515625 + 20 +275.88497924804687 + 30 +0.0 + 10 +464.13247680664062 + 20 +276.14996337890625 + 30 +0.0 + 10 +469.80245971679687 + 20 +270.9849853515625 + 30 +0.0 + 10 +469.87246704101562 + 20 +270.927490234375 + 30 +0.0 + 10 +469.96246337890625 + 20 +270.89248657226562 + 30 +0.0 + 10 +470.06497192382812 + 20 +270.87997436523437 + 30 +0.0 + 10 +470.18746948242187 + 20 +270.88998413085937 + 30 +0.0 + 10 +470.32247924804687 + 20 +270.9224853515625 + 30 +0.0 + 10 +470.47747802734375 + 20 +270.97747802734375 + 30 +0.0 + 10 +470.6474609375 + 20 +271.05746459960937 + 30 +0.0 + 10 +470.83248901367187 + 20 +271.157470703125 + 30 +0.0 + 10 +470.93496704101562 + 20 +270.97998046875 + 30 +0.0 + 10 +468.74246215820312 + 20 +269.7149658203125 + 30 +0.0 + 10 +468.64248657226562 + 20 +269.88998413085937 + 30 +0.0 + 10 +468.79998779296875 + 20 +269.99746704101562 + 30 +0.0 + 10 +468.92498779296875 + 20 +270.0999755859375 + 30 +0.0 + 10 +469.01998901367187 + 20 +270.19747924804687 + 30 +0.0 + 10 +469.0849609375 + 20 +270.2874755859375 + 30 +0.0 + 10 +469.11996459960937 + 20 +270.37246704101562 + 30 +0.0 + 10 +469.12246704101562 + 20 +270.45248413085937 + 30 +0.0 + 10 +469.094970703125 + 20 +270.52499389648437 + 30 +0.0 + 10 +469.0374755859375 + 20 +270.59246826171875 + 30 +0.0 + 10 +464.21746826171875 + 20 +275.01998901367187 + 30 +0.0 + 10 +465.594970703125 + 20 +268.55499267578125 + 30 +0.0 + 10 +465.64248657226562 + 20 +268.4849853515625 + 30 +0.0 + 10 +465.71746826171875 + 20 +268.43997192382812 + 30 +0.0 + 10 +465.81497192382812 + 20 +268.42498779296875 + 30 +0.0 + 10 +465.93496704101562 + 20 +268.43496704101562 + 30 +0.0 + 10 +466.08248901367187 + 20 +268.47247314453125 + 30 +0.0 + 10 +466.24996948242187 + 20 +268.5374755859375 + 30 +0.0 + 10 +466.44497680664062 + 20 +268.62997436523437 + 30 +0.0 + 10 +466.6624755859375 + 20 +268.74746704101562 + 30 +0.0 + 10 +466.76498413085937 + 20 +268.56997680664062 + 30 +0.0 + 10 +464.67745971679687 + 20 +267.36749267578125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B1 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +445.35748291015625 + 20 +264.60748291015625 + 30 +0.0 + 10 +445.6524658203125 + 20 +264.61248779296875 + 30 +0.0 + 10 +445.907470703125 + 20 +264.62997436523437 + 30 +0.0 + 10 +446.11746215820313 + 20 +264.65997314453125 + 30 +0.0 + 10 +446.2874755859375 + 20 +264.69998168945312 + 30 +0.0 + 10 +446.41497802734375 + 20 +264.74996948242187 + 30 +0.0 + 10 +446.49996948242187 + 20 +264.81497192382812 + 30 +0.0 + 10 +446.54248046875 + 20 +264.88998413085937 + 30 +0.0 + 10 +446.54248046875 + 20 +264.9749755859375 + 30 +0.0 + 10 +446.54248046875 + 20 +271.66998291015625 + 30 +0.0 + 10 +446.52496337890625 + 20 +271.76498413085937 + 30 +0.0 + 10 +446.46746826171875 + 20 +271.8499755859375 + 30 +0.0 + 10 +446.37496948242187 + 20 +271.91998291015625 + 30 +0.0 + 10 +446.24746704101562 + 20 +271.97747802734375 + 30 +0.0 + 10 +446.07998657226562 + 20 +272.02249145507812 + 30 +0.0 + 10 +445.87496948242187 + 20 +272.05499267578125 + 30 +0.0 + 10 +445.63497924804687 + 20 +272.07247924804687 + 30 +0.0 + 10 +445.35748291015625 + 20 +272.07998657226563 + 30 +0.0 + 10 +445.35748291015625 + 20 +272.282470703125 + 30 +0.0 + 10 +448.62496948242187 + 20 +272.282470703125 + 30 +0.0 + 10 +448.62496948242187 + 20 +272.07998657226563 + 30 +0.0 + 10 +448.32748413085937 + 20 +272.08248901367187 + 30 +0.0 + 10 +448.06997680664062 + 20 +272.06747436523437 + 30 +0.0 + 10 +447.85247802734375 + 20 +272.03997802734375 + 30 +0.0 + 10 +447.67498779296875 + 20 +271.99746704101562 + 30 +0.0 + 10 +447.5374755859375 + 20 +271.93746948242187 + 30 +0.0 + 10 +447.43997192382812 + 20 +271.864990234375 + 30 +0.0 + 10 +447.37997436523437 + 20 +271.77499389648437 + 30 +0.0 + 10 +447.3599853515625 + 20 +271.66998291015625 + 30 +0.0 + 10 +447.3599853515625 + 20 +264.93496704101562 + 30 +0.0 + 10 +447.37246704101562 + 20 +264.85748291015625 + 30 +0.0 + 10 +447.40997314453125 + 20 +264.79248046875 + 30 +0.0 + 10 +447.4749755859375 + 20 +264.7349853515625 + 30 +0.0 + 10 +447.56246948242187 + 20 +264.68997192382812 + 30 +0.0 + 10 +447.67745971679687 + 20 +264.65496826171875 + 30 +0.0 + 10 +447.81747436523437 + 20 +264.62747192382812 + 30 +0.0 + 10 +447.98248291015625 + 20 +264.61248779296875 + 30 +0.0 + 10 +448.17498779296875 + 20 +264.60748291015625 + 30 +0.0 + 10 +448.17498779296875 + 20 +264.40496826171875 + 30 +0.0 + 10 +445.35748291015625 + 20 +264.40496826171875 + 30 +0.0 + 10 +445.35748291015625 + 20 +264.60748291015625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B2 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +45 + 70 +0 + 10 +448.2149658203125 + 20 +264.40496826171875 + 30 +0.0 + 10 +448.2149658203125 + 20 +264.60748291015625 + 30 +0.0 + 10 +448.38748168945312 + 20 +264.6099853515625 + 30 +0.0 + 10 +448.53997802734375 + 20 +264.61996459960937 + 30 +0.0 + 10 +448.66998291015625 + 20 +264.63497924804687 + 30 +0.0 + 10 +448.7774658203125 + 20 +264.657470703125 + 30 +0.0 + 10 +448.86248779296875 + 20 +264.68746948242187 + 30 +0.0 + 10 +448.92745971679687 + 20 +264.72247314453125 + 30 +0.0 + 10 +448.97247314453125 + 20 +264.76498413085937 + 30 +0.0 + 10 +448.99246215820312 + 20 +264.81246948242187 + 30 +0.0 + 10 +450.90997314453125 + 20 +272.282470703125 + 30 +0.0 + 10 +451.76748657226563 + 20 +272.282470703125 + 30 +0.0 + 10 +453.64498901367187 + 20 +265.01748657226562 + 30 +0.0 + 10 +453.67996215820313 + 20 +264.92999267578125 + 30 +0.0 + 10 +453.73995971679687 + 20 +264.85498046875 + 30 +0.0 + 10 +453.82748413085937 + 20 +264.7874755859375 + 30 +0.0 + 10 +453.94247436523437 + 20 +264.72998046875 + 30 +0.0 + 10 +454.08248901367187 + 20 +264.68496704101562 + 30 +0.0 + 10 +454.24996948242187 + 20 +264.64749145507812 + 30 +0.0 + 10 +454.44497680664062 + 20 +264.62246704101562 + 30 +0.0 + 10 +454.66748046875 + 20 +264.60748291015625 + 30 +0.0 + 10 +454.66748046875 + 20 +264.40496826171875 + 30 +0.0 + 10 +452.01248168945312 + 20 +264.40496826171875 + 30 +0.0 + 10 +452.01248168945312 + 20 +264.60748291015625 + 30 +0.0 + 10 +452.22998046875 + 20 +264.61248779296875 + 30 +0.0 + 10 +452.41748046875 + 20 +264.62747192382812 + 30 +0.0 + 10 +452.57247924804687 + 20 +264.65496826171875 + 30 +0.0 + 10 +452.69747924804687 + 20 +264.68997192382812 + 30 +0.0 + 10 +452.7874755859375 + 20 +264.7349853515625 + 30 +0.0 + 10 +452.84747314453125 + 20 +264.79248046875 + 30 +0.0 + 10 +452.87496948242187 + 20 +264.85748291015625 + 30 +0.0 + 10 +452.86996459960937 + 20 +264.93496704101562 + 30 +0.0 + 10 +451.23748779296875 + 20 +271.5899658203125 + 30 +0.0 + 10 +451.07498168945312 + 20 +271.5899658203125 + 30 +0.0 + 10 +449.3599853515625 + 20 +264.85247802734375 + 30 +0.0 + 10 +449.36495971679687 + 20 +264.80499267578125 + 30 +0.0 + 10 +449.3974609375 + 20 +264.75997924804688 + 30 +0.0 + 10 +449.4599609375 + 20 +264.72247314453125 + 30 +0.0 + 10 +449.55245971679687 + 20 +264.68997192382812 + 30 +0.0 + 10 +449.67498779296875 + 20 +264.6624755859375 + 30 +0.0 + 10 +449.82748413085937 + 20 +264.63748168945312 + 30 +0.0 + 10 +450.00747680664062 + 20 +264.61996459960937 + 30 +0.0 + 10 +450.21746826171875 + 20 +264.60748291015625 + 30 +0.0 + 10 +450.21746826171875 + 20 +264.40496826171875 + 30 +0.0 + 10 +448.2149658203125 + 20 +264.40496826171875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B3 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +430.05746459960937 + 20 +270.6524658203125 + 30 +0.0 + 10 +430.19497680664062 + 20 +270.56997680664062 + 30 +0.0 + 10 +430.31997680664062 + 20 +270.50747680664062 + 30 +0.0 + 10 +430.42996215820312 + 20 +270.469970703125 + 30 +0.0 + 10 +430.52996826171875 + 20 +270.45248413085937 + 30 +0.0 + 10 +430.61248779296875 + 20 +270.45748901367187 + 30 +0.0 + 10 +430.68496704101562 + 20 +270.4849853515625 + 30 +0.0 + 10 +430.74246215820312 + 20 +270.5374755859375 + 30 +0.0 + 10 +430.78497314453125 + 20 +270.6099853515625 + 30 +0.0 + 10 +434.19497680664062 + 20 +276.51498413085937 + 30 +0.0 + 10 +434.23748779296875 + 20 +276.5899658203125 + 30 +0.0 + 10 +434.25247192382812 + 20 +276.66497802734375 + 30 +0.0 + 10 +434.239990234375 + 20 +276.739990234375 + 30 +0.0 + 10 +434.20248413085937 + 20 +276.81497192382812 + 30 +0.0 + 10 +434.13998413085937 + 20 +276.88998413085937 + 30 +0.0 + 10 +434.04998779296875 + 20 +276.96746826171875 + 30 +0.0 + 10 +433.93496704101562 + 20 +277.04498291015625 + 30 +0.0 + 10 +433.79248046875 + 20 +277.12246704101562 + 30 +0.0 + 10 +433.89498901367187 + 20 +277.29998779296875 + 30 +0.0 + 10 +435.802490234375 + 20 +276.19747924804687 + 30 +0.0 + 10 +435.69998168945312 + 20 +276.02249145507812 + 30 +0.0 + 10 +435.5224609375 + 20 +276.11749267578125 + 30 +0.0 + 10 +435.364990234375 + 20 +276.18746948242187 + 30 +0.0 + 10 +435.22747802734375 + 20 +276.2349853515625 + 30 +0.0 + 10 +435.10748291015625 + 20 +276.25997924804688 + 30 +0.0 + 10 +435.00497436523437 + 20 +276.25747680664062 + 30 +0.0 + 10 +434.9224853515625 + 20 +276.23248291015625 + 30 +0.0 + 10 +434.85748291015625 + 20 +276.18496704101562 + 30 +0.0 + 10 +434.80996704101562 + 20 +276.11248779296875 + 30 +0.0 + 10 +431.4224853515625 + 20 +270.24249267578125 + 30 +0.0 + 10 +431.37997436523437 + 20 +270.16998291015625 + 30 +0.0 + 10 +431.35748291015625 + 20 +270.09747314453125 + 30 +0.0 + 10 +431.3599853515625 + 20 +270.0274658203125 + 30 +0.0 + 10 +431.38748168945312 + 20 +269.95748901367187 + 30 +0.0 + 10 +431.43496704101562 + 20 +269.88998413085937 + 30 +0.0 + 10 +431.50497436523437 + 20 +269.82247924804688 + 30 +0.0 + 10 +431.5999755859375 + 20 +269.75747680664062 + 30 +0.0 + 10 +431.71746826171875 + 20 +269.69497680664062 + 30 +0.0 + 10 +431.614990234375 + 20 +269.51748657226562 + 30 +0.0 + 10 +429.95498657226563 + 20 +270.47747802734375 + 30 +0.0 + 10 +430.05746459960937 + 20 +270.6524658203125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B4 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +428.21746826171875 + 20 +271.7149658203125 + 30 +0.0 + 10 +428.35748291015625 + 20 +271.62997436523437 + 30 +0.0 + 10 +428.48248291015625 + 20 +271.56997680664062 + 30 +0.0 + 10 +428.594970703125 + 20 +271.53497314453125 + 30 +0.0 + 10 +428.69497680664062 + 20 +271.52249145507812 + 30 +0.0 + 10 +428.782470703125 + 20 +271.532470703125 + 30 +0.0 + 10 +428.85748291015625 + 20 +271.56747436523437 + 30 +0.0 + 10 +428.91998291015625 + 20 +271.62496948242187 + 30 +0.0 + 10 +428.96746826171875 + 20 +271.70748901367187 + 30 +0.0 + 10 +432.35498046875 + 20 +277.57498168945312 + 30 +0.0 + 10 +432.3974609375 + 20 +277.64996337890625 + 30 +0.0 + 10 +432.41497802734375 + 20 +277.72747802734375 + 30 +0.0 + 10 +432.40496826171875 + 20 +277.80746459960937 + 30 +0.0 + 10 +432.36996459960937 + 20 +277.88748168945312 + 30 +0.0 + 10 +432.30996704101562 + 20 +277.96746826171875 + 30 +0.0 + 10 +432.2249755859375 + 20 +278.04998779296875 + 30 +0.0 + 10 +432.11248779296875 + 20 +278.13497924804687 + 30 +0.0 + 10 +431.9749755859375 + 20 +278.219970703125 + 30 +0.0 + 10 +432.05496215820313 + 20 +278.36248779296875 + 30 +0.0 + 10 +433.85748291015625 + 20 +277.31997680664062 + 30 +0.0 + 10 +433.75747680664062 + 20 +277.14498901367187 + 30 +0.0 + 10 +433.59747314453125 + 20 +277.22998046875 + 30 +0.0 + 10 +433.45498657226562 + 20 +277.29248046875 + 30 +0.0 + 10 +433.32998657226562 + 20 +277.32998657226562 + 30 +0.0 + 10 +433.2249755859375 + 20 +277.344970703125 + 30 +0.0 + 10 +433.13497924804687 + 20 +277.33746337890625 + 30 +0.0 + 10 +433.06246948242187 + 20 +277.30499267578125 + 30 +0.0 + 10 +433.00997924804687 + 20 +277.24996948242187 + 30 +0.0 + 10 +432.97247314453125 + 20 +277.1724853515625 + 30 +0.0 + 10 +429.60498046875 + 20 +271.3399658203125 + 30 +0.0 + 10 +429.56246948242187 + 20 +271.26498413085937 + 30 +0.0 + 10 +429.5474853515625 + 20 +271.18496704101562 + 30 +0.0 + 10 +429.55996704101562 + 20 +271.10748291015625 + 30 +0.0 + 10 +429.5999755859375 + 20 +271.02499389648437 + 30 +0.0 + 10 +429.66497802734375 + 20 +270.93997192382812 + 30 +0.0 + 10 +429.75497436523437 + 20 +270.85498046875 + 30 +0.0 + 10 +429.87496948242187 + 20 +270.76498413085937 + 30 +0.0 + 10 +430.01998901367187 + 20 +270.67498779296875 + 30 +0.0 + 10 +429.91998291015625 + 20 +270.49746704101562 + 30 +0.0 + 10 +428.114990234375 + 20 +271.5374755859375 + 30 +0.0 + 10 +428.21746826171875 + 20 +271.7149658203125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B5 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +45 + 70 +0 + 10 +431.57998657226562 + 20 +269.5374755859375 + 30 +0.0 + 10 +431.68246459960937 + 20 +269.7149658203125 + 30 +0.0 + 10 +431.79248046875 + 20 +269.657470703125 + 30 +0.0 + 10 +431.8974609375 + 20 +269.614990234375 + 30 +0.0 + 10 +431.989990234375 + 20 +269.5899658203125 + 30 +0.0 + 10 +432.07748413085937 + 20 +269.58248901367187 + 30 +0.0 + 10 +432.15496826171875 + 20 +269.5899658203125 + 30 +0.0 + 10 +432.2249755859375 + 20 +269.614990234375 + 30 +0.0 + 10 +432.2874755859375 + 20 +269.65496826171875 + 30 +0.0 + 10 +432.3399658203125 + 20 +269.71249389648437 + 30 +0.0 + 10 +437.4649658203125 + 20 +275.239990234375 + 30 +0.0 + 10 +438.13748168945312 + 20 +274.8499755859375 + 30 +0.0 + 10 +435.9124755859375 + 20 +267.64999389648437 + 30 +0.0 + 10 +435.89248657226562 + 20 +267.57247924804687 + 30 +0.0 + 10 +435.89498901367187 + 20 +267.49496459960937 + 30 +0.0 + 10 +435.9224853515625 + 20 +267.4124755859375 + 30 +0.0 + 10 +435.9749755859375 + 20 +267.32998657226562 + 30 +0.0 + 10 +436.04998779296875 + 20 +267.24746704101562 + 30 +0.0 + 10 +436.14996337890625 + 20 +267.15997314453125 + 30 +0.0 + 10 +436.2724609375 + 20 +267.06997680664062 + 30 +0.0 + 10 +436.41998291015625 + 20 +266.97998046875 + 30 +0.0 + 10 +436.31747436523437 + 20 +266.802490234375 + 30 +0.0 + 10 +434.40997314453125 + 20 +267.90496826171875 + 30 +0.0 + 10 +434.50997924804687 + 20 +268.08248901367187 + 30 +0.0 + 10 +434.6624755859375 + 20 +267.99996948242187 + 30 +0.0 + 10 +434.7974853515625 + 20 +267.93997192382812 + 30 +0.0 + 10 +434.91748046875 + 20 +267.89999389648438 + 30 +0.0 + 10 +435.01998901367187 + 20 +267.88247680664062 + 30 +0.0 + 10 +435.10748291015625 + 20 +267.88497924804687 + 30 +0.0 + 10 +435.17996215820312 + 20 +267.907470703125 + 30 +0.0 + 10 +435.2349853515625 + 20 +267.95248413085937 + 30 +0.0 + 10 +435.27496337890625 + 20 +268.01748657226562 + 30 +0.0 + 10 +437.32998657226562 + 20 +274.51498413085937 + 30 +0.0 + 10 +437.25997924804687 + 20 +274.55499267578125 + 30 +0.0 + 10 +432.62496948242187 + 20 +269.5474853515625 + 30 +0.0 + 10 +432.58746337890625 + 20 +269.47998046875 + 30 +0.0 + 10 +432.57748413085937 + 20 +269.40997314453125 + 30 +0.0 + 10 +432.59246826171875 + 20 +269.33499145507812 + 30 +0.0 + 10 +432.63497924804687 + 20 +269.25997924804687 + 30 +0.0 + 10 +432.70248413085937 + 20 +269.177490234375 + 30 +0.0 + 10 +432.79498291015625 + 20 +269.094970703125 + 30 +0.0 + 10 +432.91497802734375 + 20 +269.00747680664062 + 30 +0.0 + 10 +433.06246948242187 + 20 +268.91748046875 + 30 +0.0 + 10 +432.9599609375 + 20 +268.74249267578125 + 30 +0.0 + 10 +431.57998657226562 + 20 +269.5374755859375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B6 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +418.56997680664062 + 20 +283.677490234375 + 30 +0.0 + 10 +418.62246704101562 + 20 +283.59747314453125 + 30 +0.0 + 10 +418.67498779296875 + 20 +283.532470703125 + 30 +0.0 + 10 +418.72998046875 + 20 +283.48248291015625 + 30 +0.0 + 10 +418.78497314453125 + 20 +283.44998168945312 + 30 +0.0 + 10 +418.84246826171875 + 20 +283.42999267578125 + 30 +0.0 + 10 +418.9024658203125 + 20 +283.427490234375 + 30 +0.0 + 10 +418.96246337890625 + 20 +283.43997192382812 + 30 +0.0 + 10 +419.0224609375 + 20 +283.46746826171875 + 30 +0.0 + 10 +424.92498779296875 + 20 +286.87496948242187 + 30 +0.0 + 10 +424.99496459960937 + 20 +286.92498779296875 + 30 +0.0 + 10 +425.04998779296875 + 20 +286.98248291015625 + 30 +0.0 + 10 +425.0849609375 + 20 +287.0474853515625 + 30 +0.0 + 10 +425.10247802734375 + 20 +287.11996459960937 + 30 +0.0 + 10 +425.10247802734375 + 20 +287.19747924804687 + 30 +0.0 + 10 +425.08746337890625 + 20 +287.28497314453125 + 30 +0.0 + 10 +425.052490234375 + 20 +287.37997436523437 + 30 +0.0 + 10 +424.99996948242187 + 20 +287.48248291015625 + 30 +0.0 + 10 +425.17498779296875 + 20 +287.58499145507812 + 30 +0.0 + 10 +426.13497924804687 + 20 +285.92498779296875 + 30 +0.0 + 10 +425.95748901367187 + 20 +285.82247924804687 + 30 +0.0 + 10 +425.86996459960937 + 20 +285.97998046875 + 30 +0.0 + 10 +425.78497314453125 + 20 +286.10748291015625 + 30 +0.0 + 10 +425.69998168945312 + 20 +286.20498657226562 + 30 +0.0 + 10 +425.614990234375 + 20 +286.27249145507812 + 30 +0.0 + 10 +425.532470703125 + 20 +286.30996704101562 + 30 +0.0 + 10 +425.45248413085937 + 20 +286.31747436523437 + 30 +0.0 + 10 +425.37246704101562 + 20 +286.29248046875 + 30 +0.0 + 10 +425.29248046875 + 20 +286.239990234375 + 30 +0.0 + 10 +419.38998413085937 + 20 +282.82998657226562 + 30 +0.0 + 10 +419.32498168945312 + 20 +282.80746459960937 + 30 +0.0 + 10 +419.2774658203125 + 20 +282.77496337890625 + 30 +0.0 + 10 +419.24496459960937 + 20 +282.73248291015625 + 30 +0.0 + 10 +419.22998046875 + 20 +282.67999267578125 + 30 +0.0 + 10 +419.22998046875 + 20 +282.614990234375 + 30 +0.0 + 10 +419.24496459960937 + 20 +282.54498291015625 + 30 +0.0 + 10 +419.2774658203125 + 20 +282.46246337890625 + 30 +0.0 + 10 +419.32498168945312 + 20 +282.36996459960937 + 30 +0.0 + 10 +419.14996337890625 + 20 +282.26748657226562 + 30 +0.0 + 10 +418.39248657226562 + 20 +283.57498168945312 + 30 +0.0 + 10 +418.56997680664062 + 20 +283.677490234375 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B7 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +417.75497436523437 + 20 +285.09246826171875 + 30 +0.0 + 10 +417.81497192382812 + 20 +284.99496459960937 + 30 +0.0 + 10 +417.87496948242187 + 20 +284.91748046875 + 30 +0.0 + 10 +417.93496704101562 + 20 +284.85748291015625 + 30 +0.0 + 10 +417.99496459960937 + 20 +284.81747436523437 + 30 +0.0 + 10 +418.052490234375 + 20 +284.7974853515625 + 30 +0.0 + 10 +418.1099853515625 + 20 +284.79498291015625 + 30 +0.0 + 10 +418.16748046875 + 20 +284.80996704101562 + 30 +0.0 + 10 +418.2249755859375 + 20 +284.844970703125 + 30 +0.0 + 10 +424.16497802734375 + 20 +288.27496337890625 + 30 +0.0 + 10 +424.239990234375 + 20 +288.31497192382812 + 30 +0.0 + 10 +424.29498291015625 + 20 +288.364990234375 + 30 +0.0 + 10 +424.33248901367187 + 20 +288.4224853515625 + 30 +0.0 + 10 +424.34747314453125 + 20 +288.48748779296875 + 30 +0.0 + 10 +424.344970703125 + 20 +288.55996704101562 + 30 +0.0 + 10 +424.32498168945312 + 20 +288.63998413085937 + 30 +0.0 + 10 +424.282470703125 + 20 +288.72998046875 + 30 +0.0 + 10 +424.22247314453125 + 20 +288.82748413085937 + 30 +0.0 + 10 +424.39996337890625 + 20 +288.92999267578125 + 30 +0.0 + 10 +425.15496826171875 + 20 +287.61996459960937 + 30 +0.0 + 10 +424.97998046875 + 20 +287.51998901367187 + 30 +0.0 + 10 +424.93496704101562 + 20 +287.60247802734375 + 30 +0.0 + 10 +424.88748168945312 + 20 +287.66748046875 + 30 +0.0 + 10 +424.83746337890625 + 20 +287.70999145507812 + 30 +0.0 + 10 +424.782470703125 + 20 +287.7349853515625 + 30 +0.0 + 10 +424.7249755859375 + 20 +287.739990234375 + 30 +0.0 + 10 +424.66497802734375 + 20 +287.7249755859375 + 30 +0.0 + 10 +424.5999755859375 + 20 +287.69247436523437 + 30 +0.0 + 10 +424.532470703125 + 20 +287.63748168945312 + 30 +0.0 + 10 +418.59246826171875 + 20 +284.20999145507812 + 30 +0.0 + 10 +418.5224609375 + 20 +284.18246459960937 + 30 +0.0 + 10 +418.469970703125 + 20 +284.14498901367187 + 30 +0.0 + 10 +418.43496704101562 + 20 +284.09747314453125 + 30 +0.0 + 10 +418.41998291015625 + 20 +284.03997802734375 + 30 +0.0 + 10 +418.42498779296875 + 20 +283.97247314453125 + 30 +0.0 + 10 +418.44747924804687 + 20 +283.89498901367187 + 30 +0.0 + 10 +418.489990234375 + 20 +283.80996704101562 + 30 +0.0 + 10 +418.54998779296875 + 20 +283.71246337890625 + 30 +0.0 + 10 +418.37246704101562 + 20 +283.6099853515625 + 30 +0.0 + 10 +417.57748413085937 + 20 +284.989990234375 + 30 +0.0 + 10 +417.75497436523437 + 20 +285.09246826171875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B8 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +37 + 70 +0 + 10 +416.95748901367187 + 20 +286.469970703125 + 30 +0.0 + 10 +417.01498413085937 + 20 +286.3599853515625 + 30 +0.0 + 10 +417.07247924804687 + 20 +286.27496337890625 + 30 +0.0 + 10 +417.12997436523437 + 20 +286.20999145507812 + 30 +0.0 + 10 +417.18997192382812 + 20 +286.16748046875 + 30 +0.0 + 10 +417.24996948242187 + 20 +286.14996337890625 + 30 +0.0 + 10 +417.30996704101562 + 20 +286.1524658203125 + 30 +0.0 + 10 +417.36996459960937 + 20 +286.177490234375 + 30 +0.0 + 10 +417.42996215820312 + 20 +286.2249755859375 + 30 +0.0 + 10 +423.36996459960938 + 20 +289.6524658203125 + 30 +0.0 + 10 +423.44998168945312 + 20 +289.68746948242187 + 30 +0.0 + 10 +423.50747680664062 + 20 +289.72998046875 + 30 +0.0 + 10 +423.54498291015625 + 20 +289.78497314453125 + 30 +0.0 + 10 +423.56246948242187 + 20 +289.84747314453125 + 30 +0.0 + 10 +423.55996704101562 + 20 +289.9224853515625 + 30 +0.0 + 10 +423.5374755859375 + 20 +290.00497436523437 + 30 +0.0 + 10 +423.49246215820312 + 20 +290.0999755859375 + 30 +0.0 + 10 +423.427490234375 + 20 +290.20498657226562 + 30 +0.0 + 10 +423.60498046875 + 20 +290.30746459960937 + 30 +0.0 + 10 +424.37997436523437 + 20 +288.9649658203125 + 30 +0.0 + 10 +424.20248413085937 + 20 +288.86248779296875 + 30 +0.0 + 10 +424.157470703125 + 20 +288.94747924804687 + 30 +0.0 + 10 +424.10748291015625 + 20 +289.01248168945312 + 30 +0.0 + 10 +424.052490234375 + 20 +289.05746459960937 + 30 +0.0 + 10 +423.99246215820312 + 20 +289.08499145507812 + 30 +0.0 + 10 +423.927490234375 + 20 +289.0899658203125 + 30 +0.0 + 10 +423.85748291015625 + 20 +289.07998657226563 + 30 +0.0 + 10 +423.782470703125 + 20 +289.0474853515625 + 30 +0.0 + 10 +423.70248413085937 + 20 +288.99746704101562 + 30 +0.0 + 10 +417.7974853515625 + 20 +285.58746337890625 + 30 +0.0 + 10 +417.69247436523437 + 20 +285.51998901367187 + 30 +0.0 + 10 +417.6474609375 + 20 +285.41998291015625 + 30 +0.0 + 10 +417.65997314453125 + 20 +285.2874755859375 + 30 +0.0 + 10 +417.73248291015625 + 20 +285.12747192382812 + 30 +0.0 + 10 +417.55746459960937 + 20 +285.02496337890625 + 30 +0.0 + 10 +416.77996826171875 + 20 +286.36749267578125 + 30 +0.0 + 10 +416.95748901367187 + 20 +286.469970703125 + 30 +0.0 + 0 +LWPOLYLINE + 5 +B9 +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +37 + 70 +0 + 10 +419.16998291015625 + 20 +282.23248291015625 + 30 +0.0 + 10 +419.344970703125 + 20 +282.33499145507812 + 30 +0.0 + 10 +419.44247436523437 + 20 +282.20248413085937 + 30 +0.0 + 10 +419.54998779296875 + 20 +282.12246704101562 + 30 +0.0 + 10 +419.66998291015625 + 20 +282.09747314453125 + 30 +0.0 + 10 +419.7974853515625 + 20 +282.12246704101562 + 30 +0.0 + 10 +426.95248413085937 + 20 +284.50997924804688 + 30 +0.0 + 10 +427.3599853515625 + 20 +283.802490234375 + 30 +0.0 + 10 +421.71746826171875 + 20 +278.79998779296875 + 30 +0.0 + 10 +421.6474609375 + 20 +278.69998168945312 + 30 +0.0 + 10 +421.63497924804687 + 20 +278.552490234375 + 30 +0.0 + 10 +421.677490234375 + 20 +278.36248779296875 + 30 +0.0 + 10 +421.77496337890625 + 20 +278.12747192382813 + 30 +0.0 + 10 +421.59747314453125 + 20 +278.02496337890625 + 30 +0.0 + 10 +420.69998168945312 + 20 +279.57998657226562 + 30 +0.0 + 10 +420.87747192382812 + 20 +279.68246459960937 + 30 +0.0 + 10 +420.94497680664062 + 20 +279.5899658203125 + 30 +0.0 + 10 +421.00997924804688 + 20 +279.51748657226562 + 30 +0.0 + 10 +421.07247924804687 + 20 +279.46246337890625 + 30 +0.0 + 10 +421.12997436523437 + 20 +279.427490234375 + 30 +0.0 + 10 +421.18496704101562 + 20 +279.40997314453125 + 30 +0.0 + 10 +421.2349853515625 + 20 +279.4124755859375 + 30 +0.0 + 10 +421.282470703125 + 20 +279.43246459960937 + 30 +0.0 + 10 +421.32748413085937 + 20 +279.47247314453125 + 30 +0.0 + 10 +426.47247314453125 + 20 +283.94998168945312 + 30 +0.0 + 10 +426.45248413085937 + 20 +283.9849853515625 + 30 +0.0 + 10 +420.00247192382812 + 20 +281.76998901367187 + 30 +0.0 + 10 +419.94247436523437 + 20 +281.73748779296875 + 30 +0.0 + 10 +419.89996337890625 + 20 +281.69497680664062 + 30 +0.0 + 10 +419.87496948242187 + 20 +281.63998413085937 + 30 +0.0 + 10 +419.86746215820312 + 20 +281.57498168945312 + 30 +0.0 + 10 +419.87496948242187 + 20 +281.49746704101562 + 30 +0.0 + 10 +419.89996337890625 + 20 +281.40997314453125 + 30 +0.0 + 10 +419.94247436523437 + 20 +281.31246948242187 + 30 +0.0 + 10 +419.99996948242187 + 20 +281.20248413085937 + 30 +0.0 + 10 +419.82247924804687 + 20 +281.0999755859375 + 30 +0.0 + 10 +419.16998291015625 + 20 +282.23248291015625 + 30 +0.0 + 0 +LWPOLYLINE + 5 +BA +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +73 + 70 +0 + 10 +421.78997802734375 + 20 +299.47998046875 + 30 +0.0 + 10 +421.85748291015625 + 20 +299.4649658203125 + 30 +0.0 + 10 +421.91748046875 + 20 +299.4749755859375 + 30 +0.0 + 10 +421.969970703125 + 20 +299.51498413085937 + 30 +0.0 + 10 +422.01248168945312 + 20 +299.58248901367187 + 30 +0.0 + 10 +422.04998779296875 + 20 +299.677490234375 + 30 +0.0 + 10 +422.07998657226562 + 20 +299.802490234375 + 30 +0.0 + 10 +422.0999755859375 + 20 +299.95248413085937 + 30 +0.0 + 10 +422.114990234375 + 20 +300.13247680664062 + 30 +0.0 + 10 +422.31997680664062 + 20 +300.13247680664062 + 30 +0.0 + 10 +422.31997680664062 + 20 +298.45999145507812 + 30 +0.0 + 10 +422.114990234375 + 20 +298.45999145507812 + 30 +0.0 + 10 +422.09747314453125 + 20 +298.68496704101562 + 30 +0.0 + 10 +422.04498291015625 + 20 +298.86996459960937 + 30 +0.0 + 10 +421.95498657226562 + 20 +299.01248168945312 + 30 +0.0 + 10 +421.82998657226562 + 20 +299.11248779296875 + 30 +0.0 + 10 +418.56497192382812 + 20 +300.94998168945312 + 30 +0.0 + 10 +414.8499755859375 + 20 +298.989990234375 + 30 +0.0 + 10 +414.72747802734375 + 20 +298.87747192382812 + 30 +0.0 + 10 +414.64498901367187 + 20 +298.74746704101562 + 30 +0.0 + 10 +414.60498046875 + 20 +298.59246826171875 + 30 +0.0 + 10 +414.60498046875 + 20 +298.41998291015625 + 30 +0.0 + 10 +414.39996337890625 + 20 +298.41998291015625 + 30 +0.0 + 10 +414.39996337890625 + 20 +300.58248901367187 + 30 +0.0 + 10 +414.60498046875 + 20 +300.58248901367187 + 30 +0.0 + 10 +414.6099853515625 + 20 +300.364990234375 + 30 +0.0 + 10 +414.62747192382812 + 20 +300.18496704101562 + 30 +0.0 + 10 +414.657470703125 + 20 +300.03997802734375 + 30 +0.0 + 10 +414.69747924804687 + 20 +299.92999267578125 + 30 +0.0 + 10 +414.74746704101562 + 20 +299.85498046875 + 30 +0.0 + 10 +414.81246948242187 + 20 +299.81747436523437 + 30 +0.0 + 10 +414.88748168945312 + 20 +299.81497192382812 + 30 +0.0 + 10 +414.97247314453125 + 20 +299.84747314453125 + 30 +0.0 + 10 +417.86996459960937 + 20 +301.39996337890625 + 30 +0.0 + 10 +414.8499755859375 + 20 +303.114990234375 + 30 +0.0 + 10 +414.79248046875 + 20 +303.11996459960937 + 30 +0.0 + 10 +414.74246215820312 + 20 +303.094970703125 + 30 +0.0 + 10 +414.69998168945312 + 20 +303.04248046875 + 30 +0.0 + 10 +414.66497802734375 + 20 +302.95999145507812 + 30 +0.0 + 10 +414.63998413085937 + 20 +302.8499755859375 + 30 +0.0 + 10 +414.61996459960937 + 20 +302.70748901367187 + 30 +0.0 + 10 +414.6099853515625 + 20 +302.5374755859375 + 30 +0.0 + 10 +414.60498046875 + 20 +302.33746337890625 + 30 +0.0 + 10 +414.39996337890625 + 20 +302.33746337890625 + 30 +0.0 + 10 +414.39996337890625 + 20 +304.45999145507812 + 30 +0.0 + 10 +414.60498046875 + 20 +304.45999145507812 + 30 +0.0 + 10 +414.6099853515625 + 20 +304.27496337890625 + 30 +0.0 + 10 +414.62246704101562 + 20 +304.1099853515625 + 30 +0.0 + 10 +414.64498901367187 + 20 +303.95999145507812 + 30 +0.0 + 10 +414.677490234375 + 20 +303.82748413085937 + 30 +0.0 + 10 +414.71746826171875 + 20 +303.7149658203125 + 30 +0.0 + 10 +414.76498413085937 + 20 +303.61749267578125 + 30 +0.0 + 10 +414.82247924804688 + 20 +303.53997802734375 + 30 +0.0 + 10 +414.88998413085937 + 20 +303.47998046875 + 30 +0.0 + 10 +418.19747924804687 + 20 +301.56246948242187 + 30 +0.0 + 10 +421.82998657226562 + 20 +303.68496704101562 + 30 +0.0 + 10 +421.93997192382812 + 20 +303.82498168945312 + 30 +0.0 + 10 +422.0224609375 + 20 +304.00247192382812 + 30 +0.0 + 10 +422.08248901367187 + 20 +304.21246337890625 + 30 +0.0 + 10 +422.114990234375 + 20 +304.45999145507812 + 30 +0.0 + 10 +422.31997680664062 + 20 +304.45999145507812 + 30 +0.0 + 10 +422.31997680664062 + 20 +302.09246826171875 + 30 +0.0 + 10 +422.114990234375 + 20 +302.09246826171875 + 30 +0.0 + 10 +422.1099853515625 + 20 +302.29998779296875 + 30 +0.0 + 10 +422.094970703125 + 20 +302.4749755859375 + 30 +0.0 + 10 +422.06997680664062 + 20 +302.61749267578125 + 30 +0.0 + 10 +422.03497314453125 + 20 +302.72747802734375 + 30 +0.0 + 10 +421.98748779296875 + 20 +302.802490234375 + 30 +0.0 + 10 +421.93246459960937 + 20 +302.84246826171875 + 30 +0.0 + 10 +421.86746215820312 + 20 +302.85247802734375 + 30 +0.0 + 10 +421.78997802734375 + 20 +302.82748413085937 + 30 +0.0 + 10 +418.88998413085937 + 20 +301.15496826171875 + 30 +0.0 + 10 +421.78997802734375 + 20 +299.47998046875 + 30 +0.0 + 0 +LWPOLYLINE + 5 +BB +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +414.60498046875 + 20 +298.25497436523437 + 30 +0.0 + 10 +414.6099853515625 + 20 +298.0274658203125 + 30 +0.0 + 10 +414.62747192382812 + 20 +297.83248901367187 + 30 +0.0 + 10 +414.657470703125 + 20 +297.66998291015625 + 30 +0.0 + 10 +414.69747924804687 + 20 +297.53997802734375 + 30 +0.0 + 10 +414.74746704101562 + 20 +297.44497680664062 + 30 +0.0 + 10 +414.81246948242187 + 20 +297.38247680664062 + 30 +0.0 + 10 +414.88748168945312 + 20 +297.35247802734375 + 30 +0.0 + 10 +414.97247314453125 + 20 +297.35748291015625 + 30 +0.0 + 10 +421.78997802734375 + 20 +297.35748291015625 + 30 +0.0 + 10 +421.86746215820312 + 20 +297.35247802734375 + 30 +0.0 + 10 +421.93246459960937 + 20 +297.38247680664062 + 30 +0.0 + 10 +421.98748779296875 + 20 +297.44497680664062 + 30 +0.0 + 10 +422.03497314453125 + 20 +297.53997802734375 + 30 +0.0 + 10 +422.06997680664062 + 20 +297.66998291015625 + 30 +0.0 + 10 +422.094970703125 + 20 +297.83248901367187 + 30 +0.0 + 10 +422.1099853515625 + 20 +298.0274658203125 + 30 +0.0 + 10 +422.114990234375 + 20 +298.25497436523437 + 30 +0.0 + 10 +422.31997680664062 + 20 +298.25497436523437 + 30 +0.0 + 10 +422.31997680664062 + 20 +295.51998901367187 + 30 +0.0 + 10 +422.114990234375 + 20 +295.51998901367187 + 30 +0.0 + 10 +422.1099853515625 + 20 +295.7774658203125 + 30 +0.0 + 10 +422.09246826171875 + 20 +295.99746704101562 + 30 +0.0 + 10 +422.06246948242187 + 20 +296.17999267578125 + 30 +0.0 + 10 +422.0224609375 + 20 +296.32748413085937 + 30 +0.0 + 10 +421.97247314453125 + 20 +296.43496704101562 + 30 +0.0 + 10 +421.907470703125 + 20 +296.50747680664062 + 30 +0.0 + 10 +421.83248901367187 + 20 +296.54248046875 + 30 +0.0 + 10 +421.74746704101562 + 20 +296.53997802734375 + 30 +0.0 + 10 +415.01248168945312 + 20 +296.53997802734375 + 30 +0.0 + 10 +414.91748046875 + 20 +296.54248046875 + 30 +0.0 + 10 +414.8349609375 + 20 +296.50747680664062 + 30 +0.0 + 10 +414.76498413085937 + 20 +296.43496704101562 + 30 +0.0 + 10 +414.70748901367187 + 20 +296.32748413085937 + 30 +0.0 + 10 +414.6624755859375 + 20 +296.17999267578125 + 30 +0.0 + 10 +414.62997436523437 + 20 +295.99746704101562 + 30 +0.0 + 10 +414.61248779296875 + 20 +295.7774658203125 + 30 +0.0 + 10 +414.60498046875 + 20 +295.51998901367187 + 30 +0.0 + 10 +414.39996337890625 + 20 +295.51998901367187 + 30 +0.0 + 10 +414.39996337890625 + 20 +298.25497436523437 + 30 +0.0 + 10 +414.60498046875 + 20 +298.25497436523437 + 30 +0.0 + 0 +LWPOLYLINE + 5 +BC +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +85 + 70 +0 + 10 +424.6099853515625 + 20 +312.31997680664062 + 30 +0.0 + 10 +424.64996337890625 + 20 +312.29248046875 + 30 +0.0 + 10 +424.69998168945312 + 20 +312.29248046875 + 30 +0.0 + 10 +424.76248168945312 + 20 +312.32247924804688 + 30 +0.0 + 10 +424.8349609375 + 20 +312.37997436523437 + 30 +0.0 + 10 +424.91748046875 + 20 +312.46746826171875 + 30 +0.0 + 10 +425.00997924804687 + 20 +312.58499145507812 + 30 +0.0 + 10 +425.114990234375 + 20 +312.72998046875 + 30 +0.0 + 10 +425.23248291015625 + 20 +312.90496826171875 + 30 +0.0 + 10 +425.407470703125 + 20 +312.802490234375 + 30 +0.0 + 10 +424.34747314453125 + 20 +310.9649658203125 + 30 +0.0 + 10 +424.16998291015625 + 20 +311.06747436523437 + 30 +0.0 + 10 +424.25497436523437 + 20 +311.24496459960938 + 30 +0.0 + 10 +424.31997680664062 + 20 +311.41497802734375 + 30 +0.0 + 10 +424.36746215820312 + 20 +311.57498168945312 + 30 +0.0 + 10 +424.3974609375 + 20 +311.7249755859375 + 30 +0.0 + 10 +424.407470703125 + 20 +311.86749267578125 + 30 +0.0 + 10 +424.39996337890625 + 20 +312.00247192382812 + 30 +0.0 + 10 +424.37496948242187 + 20 +312.12747192382813 + 30 +0.0 + 10 +424.33248901367187 + 20 +312.24496459960937 + 30 +0.0 + 10 +422.5999755859375 + 20 +315.36749267578125 + 30 +0.0 + 10 +418.56497192382812 + 20 +315.48248291015625 + 30 +0.0 + 10 +418.45498657226563 + 20 +315.46246337890625 + 30 +0.0 + 10 +418.34246826171875 + 20 +315.4224853515625 + 30 +0.0 + 10 +418.22747802734375 + 20 +315.35748291015625 + 30 +0.0 + 10 +418.11248779296875 + 20 +315.27249145507812 + 30 +0.0 + 10 +417.99746704101562 + 20 +315.1624755859375 + 30 +0.0 + 10 +417.87997436523437 + 20 +315.02996826171875 + 30 +0.0 + 10 +417.75997924804687 + 20 +314.87496948242187 + 30 +0.0 + 10 +417.63998413085937 + 20 +314.69747924804687 + 30 +0.0 + 10 +417.46246337890625 + 20 +314.7974853515625 + 30 +0.0 + 10 +418.82998657226562 + 20 +317.16748046875 + 30 +0.0 + 10 +419.00747680664062 + 20 +317.06497192382812 + 30 +0.0 + 10 +418.91998291015625 + 20 +316.88497924804687 + 30 +0.0 + 10 +418.8499755859375 + 20 +316.7249755859375 + 30 +0.0 + 10 +418.79998779296875 + 20 +316.58746337890625 + 30 +0.0 + 10 +418.76998901367187 + 20 +316.47247314453125 + 30 +0.0 + 10 +418.75997924804687 + 20 +316.37496948242187 + 30 +0.0 + 10 +418.76748657226562 + 20 +316.29998779296875 + 30 +0.0 + 10 +418.7974853515625 + 20 +316.24746704101562 + 30 +0.0 + 10 +418.844970703125 + 20 +316.2149658203125 + 30 +0.0 + 10 +422.18746948242187 + 20 +316.12496948242187 + 30 +0.0 + 10 +420.65997314453125 + 20 +319.032470703125 + 30 +0.0 + 10 +420.5849609375 + 20 +319.11248779296875 + 30 +0.0 + 10 +420.50497436523437 + 20 +319.15496826171875 + 30 +0.0 + 10 +420.41748046875 + 20 +319.157470703125 + 30 +0.0 + 10 +420.32247924804688 + 20 +319.11996459960937 + 30 +0.0 + 10 +420.22247314453125 + 20 +319.04498291015625 + 30 +0.0 + 10 +420.11746215820313 + 20 +318.92999267578125 + 30 +0.0 + 10 +420.00497436523437 + 20 +318.7774658203125 + 30 +0.0 + 10 +419.88497924804687 + 20 +318.58499145507812 + 30 +0.0 + 10 +419.70748901367187 + 20 +318.68746948242187 + 30 +0.0 + 10 +420.78997802734375 + 20 +320.55996704101562 + 30 +0.0 + 10 +420.9649658203125 + 20 +320.45999145507812 + 30 +0.0 + 10 +420.87747192382812 + 20 +320.2974853515625 + 30 +0.0 + 10 +420.80496215820313 + 20 +320.14749145507812 + 30 +0.0 + 10 +420.75247192382812 + 20 +320.00997924804687 + 30 +0.0 + 10 +420.71746826171875 + 20 +319.88497924804687 + 30 +0.0 + 10 +420.69747924804687 + 20 +319.76998901367187 + 30 +0.0 + 10 +420.69497680664062 + 20 +319.66998291015625 + 30 +0.0 + 10 +420.71246337890625 + 20 +319.57998657226562 + 30 +0.0 + 10 +420.74496459960937 + 20 +319.50247192382812 + 30 +0.0 + 10 +422.552490234375 + 20 +316.10247802734375 + 30 +0.0 + 10 +426.739990234375 + 20 +316.0899658203125 + 30 +0.0 + 10 +426.82498168945312 + 20 +316.10247802734375 + 30 +0.0 + 10 +426.91497802734375 + 20 +316.14248657226562 + 30 +0.0 + 10 +427.00997924804687 + 20 +316.20748901367187 + 30 +0.0 + 10 +427.1099853515625 + 20 +316.29998779296875 + 30 +0.0 + 10 +427.2149658203125 + 20 +316.41748046875 + 30 +0.0 + 10 +427.32247924804687 + 20 +316.56497192382812 + 30 +0.0 + 10 +427.43746948242187 + 20 +316.73748779296875 + 30 +0.0 + 10 +427.55746459960937 + 20 +316.93496704101562 + 30 +0.0 + 10 +427.7349853515625 + 20 +316.83499145507812 + 30 +0.0 + 10 +426.36746215820313 + 20 +314.4649658203125 + 30 +0.0 + 10 +426.18997192382812 + 20 +314.56747436523437 + 30 +0.0 + 10 +426.28997802734375 + 20 +314.72998046875 + 30 +0.0 + 10 +426.36746215820313 + 20 +314.87496948242187 + 30 +0.0 + 10 +426.4224853515625 + 20 +314.99996948242187 + 30 +0.0 + 10 +426.45748901367187 + 20 +315.1099853515625 + 30 +0.0 + 10 +426.46746826171875 + 20 +315.19998168945312 + 30 +0.0 + 10 +426.45748901367187 + 20 +315.27249145507812 + 30 +0.0 + 10 +426.4224853515625 + 20 +315.32748413085937 + 30 +0.0 + 10 +426.36746215820313 + 20 +315.36248779296875 + 30 +0.0 + 10 +422.94998168945312 + 20 +315.4024658203125 + 30 +0.0 + 10 +424.6099853515625 + 20 +312.31997680664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +BD +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +41 + 70 +0 + 10 +436.09747314453125 + 20 +332.81997680664062 + 30 +0.0 + 10 +435.9024658203125 + 20 +332.69998168945312 + 30 +0.0 + 10 +435.74246215820313 + 20 +332.58746337890625 + 30 +0.0 + 10 +435.61996459960937 + 20 +332.47747802734375 + 30 +0.0 + 10 +435.52996826171875 + 20 +332.37496948242187 + 30 +0.0 + 10 +435.4749755859375 + 20 +332.2774658203125 + 30 +0.0 + 10 +435.45748901367187 + 20 +332.18496704101562 + 30 +0.0 + 10 +435.47247314453125 + 20 +332.0999755859375 + 30 +0.0 + 10 +435.52496337890625 + 20 +332.01748657226562 + 30 +0.0 + 10 +438.9124755859375 + 20 +326.14996337890625 + 30 +0.0 + 10 +438.95748901367187 + 20 +326.09747314453125 + 30 +0.0 + 10 +439.0224609375 + 20 +326.06747436523437 + 30 +0.0 + 10 +439.10498046875 + 20 +326.05996704101562 + 30 +0.0 + 10 +439.20498657226562 + 20 +326.07247924804687 + 30 +0.0 + 10 +439.32498168945312 + 20 +326.10498046875 + 30 +0.0 + 10 +439.4649658203125 + 20 +326.157470703125 + 30 +0.0 + 10 +439.62246704101562 + 20 +326.23248291015625 + 30 +0.0 + 10 +439.7974853515625 + 20 +326.32998657226563 + 30 +0.0 + 10 +439.89996337890625 + 20 +326.15496826171875 + 30 +0.0 + 10 +437.81497192382813 + 20 +324.94998168945312 + 30 +0.0 + 10 +437.71246337890625 + 20 +325.12747192382812 + 30 +0.0 + 10 +437.86746215820312 + 20 +325.22247314453125 + 30 +0.0 + 10 +437.99746704101562 + 20 +325.31246948242187 + 30 +0.0 + 10 +438.0999755859375 + 20 +325.39749145507812 + 30 +0.0 + 10 +438.17996215820312 + 20 +325.47998046875 + 30 +0.0 + 10 +438.23248291015625 + 20 +325.55746459960937 + 30 +0.0 + 10 +438.25997924804688 + 20 +325.62997436523437 + 30 +0.0 + 10 +438.26248168945312 + 20 +325.69747924804687 + 30 +0.0 + 10 +438.23995971679687 + 20 +325.76248168945312 + 30 +0.0 + 10 +434.83248901367187 + 20 +331.66497802734375 + 30 +0.0 + 10 +434.77996826171875 + 20 +331.73248291015625 + 30 +0.0 + 10 +434.7099609375 + 20 +331.77996826171875 + 30 +0.0 + 10 +434.62496948242187 + 20 +331.80496215820312 + 30 +0.0 + 10 +434.5274658203125 + 20 +331.80746459960937 + 30 +0.0 + 10 +434.4124755859375 + 20 +331.7874755859375 + 30 +0.0 + 10 +434.282470703125 + 20 +331.74496459960937 + 30 +0.0 + 10 +434.13748168945312 + 20 +331.68246459960938 + 30 +0.0 + 10 +433.97747802734375 + 20 +331.594970703125 + 30 +0.0 + 10 +433.87496948242187 + 20 +331.77249145507812 + 30 +0.0 + 10 +435.99496459960937 + 20 +332.99746704101562 + 30 +0.0 + 10 +436.09747314453125 + 20 +332.81997680664062 + 30 +0.0 + 0 +LWPOLYLINE + 5 +BE +100 +AcDbEntity + 8 +0 + 62 +-1 +420 +0 +370 +1 + 48 +1.0 + 6 +CONTINUOUS +100 +AcDbPolyline + 90 +77 + 70 +0 + 10 +433.14996337890625 + 20 +322.82247924804687 + 30 +0.0 + 10 +433.1724853515625 + 20 +322.74746704101562 + 30 +0.0 + 10 +433.21246337890625 + 20 +322.69747924804687 + 30 +0.0 + 10 +433.26998901367187 + 20 +322.66998291015625 + 30 +0.0 + 10 +433.34747314453125 + 20 +322.66497802734375 + 30 +0.0 + 10 +433.43997192382812 + 20 +322.68246459960937 + 30 +0.0 + 10 +433.54998779296875 + 20 +322.7249755859375 + 30 +0.0 + 10 +433.677490234375 + 20 +322.79248046875 + 30 +0.0 + 10 +433.82247924804687 + 20 +322.87997436523437 + 30 +0.0 + 10 +433.92498779296875 + 20 +322.70498657226562 + 30 +0.0 + 10 +432.36996459960937 + 20 +321.80499267578125 + 30 +0.0 + 10 +432.26748657226562 + 20 +321.98248291015625 + 30 +0.0 + 10 +432.407470703125 + 20 +322.06747436523437 + 30 +0.0 + 10 +432.52996826171875 + 20 +322.1524658203125 + 30 +0.0 + 10 +432.62997436523437 + 20 +322.23248291015625 + 30 +0.0 + 10 +432.7149658203125 + 20 +322.31246948242187 + 30 +0.0 + 10 +432.7774658203125 + 20 +322.38748168945312 + 30 +0.0 + 10 +432.82247924804687 + 20 +322.46246337890625 + 30 +0.0 + 10 +432.84747314453125 + 20 +322.532470703125 + 30 +0.0 + 10 +432.85247802734375 + 20 +322.60247802734375 + 30 +0.0 + 10 +432.88998413085937 + 20 +326.5374755859375 + 30 +0.0 + 10 +429.3974609375 + 20 +328.66998291015625 + 30 +0.0 + 10 +429.3349609375 + 20 +328.69998168945312 + 30 +0.0 + 10 +429.25997924804687 + 20 +328.7149658203125 + 30 +0.0 + 10 +429.1724853515625 + 20 +328.71246337890625 + 30 +0.0 + 10 +429.07498168945312 + 20 +328.69497680664062 + 30 +0.0 + 10 +428.9649658203125 + 20 +328.6624755859375 + 30 +0.0 + 10 +428.844970703125 + 20 +328.614990234375 + 30 +0.0 + 10 +428.71246337890625 + 20 +328.552490234375 + 30 +0.0 + 10 +428.56747436523437 + 20 +328.47247314453125 + 30 +0.0 + 10 +428.4649658203125 + 20 +328.64996337890625 + 30 +0.0 + 10 +430.58746337890625 + 20 +329.87496948242187 + 30 +0.0 + 10 +430.68746948242187 + 20 +329.69747924804687 + 30 +0.0 + 10 +430.51748657226562 + 20 +329.594970703125 + 30 +0.0 + 10 +430.37747192382812 + 20 +329.49996948242187 + 30 +0.0 + 10 +430.26998901367187 + 20 +329.40997314453125 + 30 +0.0 + 10 +430.19497680664062 + 20 +329.32998657226562 + 30 +0.0 + 10 +430.1474609375 + 20 +329.25747680664062 + 30 +0.0 + 10 +430.13247680664062 + 20 +329.19247436523437 + 30 +0.0 + 10 +430.1474609375 + 20 +329.13247680664062 + 30 +0.0 + 10 +430.19497680664062 + 20 +329.08248901367187 + 30 +0.0 + 10 +432.98748779296875 + 20 +327.34747314453125 + 30 +0.0 + 10 +433.06497192382812 + 20 +330.64498901367187 + 30 +0.0 + 10 +433.04498291015625 + 20 +330.73248291015625 + 30 +0.0 + 10 +433.00747680664062 + 20 +330.79998779296875 + 30 +0.0 + 10 +432.95498657226562 + 20 +330.8399658203125 + 30 +0.0 + 10 +432.88247680664062 + 20 +330.8599853515625 + 30 +0.0 + 10 +432.79248046875 + 20 +330.85247802734375 + 30 +0.0 + 10 +432.68746948242187 + 20 +330.82498168945312 + 30 +0.0 + 10 +432.56246948242187 + 20 +330.77249145507812 + 30 +0.0 + 10 +432.41998291015625 + 20 +330.69747924804688 + 30 +0.0 + 10 +432.31997680664062 + 20 +330.87496948242187 + 30 +0.0 + 10 +433.69747924804687 + 20 +331.66998291015625 + 30 +0.0 + 10 +433.79998779296875 + 20 +331.49496459960937 + 30 +0.0 + 10 +433.59747314453125 + 20 +331.35748291015625 + 30 +0.0 + 10 +433.45498657226562 + 20 +331.21246337890625 + 30 +0.0 + 10 +433.36996459960937 + 20 +331.05996704101562 + 30 +0.0 + 10 +433.34246826171875 + 20 +330.89996337890625 + 30 +0.0 + 10 +433.23748779296875 + 20 +327.1624755859375 + 30 +0.0 + 10 +436.88247680664062 + 20 +324.92999267578125 + 30 +0.0 + 10 +437.01498413085937 + 20 +324.864990234375 + 30 +0.0 + 10 +437.16998291015625 + 20 +324.8599853515625 + 30 +0.0 + 10 +437.34246826171875 + 20 +324.9124755859375 + 30 +0.0 + 10 +437.53497314453125 + 20 +325.02496337890625 + 30 +0.0 + 10 +437.63748168945312 + 20 +324.84747314453125 + 30 +0.0 + 10 +435.72747802734375 + 20 +323.74496459960937 + 30 +0.0 + 10 +435.62496948242187 + 20 +323.9224853515625 + 30 +0.0 + 10 +435.76748657226562 + 20 +323.99996948242187 + 30 +0.0 + 10 +435.88497924804687 + 20 +324.07748413085937 + 30 +0.0 + 10 +435.97747802734375 + 20 +324.157470703125 + 30 +0.0 + 10 +436.04498291015625 + 20 +324.2349853515625 + 30 +0.0 + 10 +436.08746337890625 + 20 +324.31497192382813 + 30 +0.0 + 10 +436.10498046875 + 20 +324.39248657226562 + 30 +0.0 + 10 +436.094970703125 + 20 +324.47247314453125 + 30 +0.0 + 10 +436.06246948242187 + 20 +324.552490234375 + 30 +0.0 + 10 +433.19497680664062 + 20 +326.33746337890625 + 30 +0.0 + 10 +433.14996337890625 + 20 +322.82247924804687 + 30 +0.0 + 0 +ENDSEC + 0 +SECTION + 2 +OBJECTS + 0 +DICTIONARY + 5 +C +100 +AcDbDictionary +280 +0 +281 +1 + 3 +ACAD_GROUP +350 +D + 3 +ACAD_LAYOUT +350 +1A + 3 +ACAD_MLINESTYLE +350 +17 + 3 +ACAD_PLOTSETTINGS +350 +19 + 3 +ACAD_PLOTSTYLENAME +350 +E + 3 +AcDbVariableDictionary +350 +BF + 0 +DICTIONARY + 5 +D +100 +AcDbDictionary +280 +0 +281 +1 + 0 +ACDBDICTIONARYWDFLT + 5 +E +100 +AcDbDictionary +281 +1 + 3 +Normal +350 +F +100 +AcDbDictionaryWithDefault +340 +F + 0 +ACDBPLACEHOLDER + 5 +F + 0 +DICTIONARY + 5 +17 +100 +AcDbDictionary +280 +0 +281 +1 + 3 +Standard +350 +18 + 0 +MLINESTYLE + 5 +18 +100 +AcDbMlineStyle + 2 +STANDARD + 70 +0 + 3 + + 62 +256 + 51 +90.0 + 52 +90.0 + 71 +2 + 49 +0.5 + 62 +256 + 6 +BYLAYER + 49 +-0.5 + 62 +256 + 6 +BYLAYER + 0 +DICTIONARY + 5 +19 +100 +AcDbDictionary +280 +0 +281 +1 + 0 +DICTIONARY + 5 +1A +100 +AcDbDictionary +281 +1 + 3 +Layout1 +350 +1E + 3 +Layout2 +350 +26 + 3 +Model +350 +22 + 0 +LAYOUT + 5 +1E +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout1 + 70 +1 + 71 +1 + 10 +0.0 + 20 +0.0 + 11 +420.0 + 21 +297.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +100000000000000000000.0 + 24 +100000000000000000000.0 + 34 +100000000000000000000.0 + 15 +-100000000000000000000.0 + 25 +-100000000000000000000.0 + 35 +-100000000000000000000.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1B + 0 +LAYOUT + 5 +22 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +1712 + 72 +0 + 73 +0 + 74 +0 + 7 + + 75 +0 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Model + 70 +1 + 71 +0 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +1F + 0 +LAYOUT + 5 +26 +100 +AcDbPlotSettings + 1 + + 2 +none_device + 4 + + 6 + + 40 +0.0 + 41 +0.0 + 42 +0.0 + 43 +0.0 + 44 +0.0 + 45 +0.0 + 46 +0.0 + 47 +0.0 + 48 +0.0 + 49 +0.0 +140 +0.0 +141 +0.0 +142 +1.0 +143 +1.0 + 70 +688 + 72 +0 + 73 +0 + 74 +5 + 7 + + 75 +16 +147 +1.0 +148 +0.0 +149 +0.0 +100 +AcDbLayout + 1 +Layout2 + 70 +1 + 71 +2 + 10 +0.0 + 20 +0.0 + 11 +12.0 + 21 +9.0 + 12 +0.0 + 22 +0.0 + 32 +0.0 + 14 +0.0 + 24 +0.0 + 34 +0.0 + 15 +0.0 + 25 +0.0 + 35 +0.0 +146 +0.0 + 13 +0.0 + 23 +0.0 + 33 +0.0 + 16 +1.0 + 26 +0.0 + 36 +0.0 + 17 +0.0 + 27 +1.0 + 37 +0.0 + 76 +0 +330 +23 + 0 +DICTIONARY + 5 +BF +100 +AcDbDictionary +281 +1 + 3 +DIMASSOC +350 +C1 + 3 +HIDETEXT +350 +C0 + 0 +DICTIONARYVAR + 5 +C0 +100 +DictionaryVariables +280 +0 + 1 +2 + 0 +DICTIONARYVAR + 5 +C1 +100 +DictionaryVariables +280 +0 + 1 +1 + 0 +ENDSEC + 0 +EOF