anychart-react
Version:
React component for AnyChart JavaScript charting library
2 lines • 2.2 MB
JavaScript
!function t(i,e,n){function s(h,r){if(!e[h]){if(!i[h]){var o="function"==typeof require&&require;if(!r&&o)return o(h,!0);if(a)return a(h,!0);var l=new Error("Cannot find module '"+h+"'");throw l.code="MODULE_NOT_FOUND",l}var c=e[h]={exports:{}};i[h][0].call(c.exports,function(t){var e=i[h][1][t];return s(e||t)},c,c.exports,t,i,e,n)}return e[h].exports}for(var a="function"==typeof require&&require,h=0;h<n.length;h++)s(n[h]);return s}({1:[function(t,i,e){"use strict";function n(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}function s(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function a(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!i||"object"!=(void 0===i?"undefined":r(i))&&"function"!=typeof i?t:i}function h(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function, not "+(void 0===i?"undefined":r(i)));t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==r(Symbol.iterator)?function(t){return void 0===t?"undefined":r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":r(t)},l=function(){function t(t,i){for(var e=0;e<i.length;e++){var n=i[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(i,e,n){return e&&t(i.prototype,e),n&&t(i,n),i}}(),c=t("react"),u=function(t){return t&&t.__esModule?t:{default:t}}(c);t("anychart");var f=function(t){function i(t){s(this,i);var e=a(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,t));return e.instance=null,e.isStage=!1,e.disposeInstance=!1,e.multipleEntities=["xAxis","yAxis","lineMarker","rangeMarker","textMarker","grid","minorGrid"],e.containerId=t.id||"ac-chart-container",e}return h(i,t),l(i,[{key:"removeInstance",value:function(){this.instance&&(this.disposeInstance?this.instance.dispose():this.isStage?this.instance.remove():this.instance.container().getStage().remove())}},{key:"isArray",value:function(t){return"object"==(void 0===t?"undefined":o(t))&&t instanceof Array}},{key:"applyProps",value:function(t){var i=!0,e=!1,s=void 0;try{for(var a,h=Object.keys(t)[Symbol.iterator]();!(i=(a=h.next()).done);i=!0){var r=a.value,o=t[r];if("width"!=r&&"height"!=r||this.isStage||this.instance.container().getStage()[r](o),this.instance[r])if(~this.multipleEntities.indexOf(r)){var l;this.isArray(o)||(o=[o]),(l=this.instance)[r].apply(l,n(o))}else this.instance[r](o)}}catch(t){e=!0,s=t}finally{try{!i&&h.return&&h.return()}finally{if(e)throw s}}}},{key:"createInstance",value:function(t){t.instance?(this.removeInstance(),this.instance=t.instance,this.isStage="function"!=typeof this.instance.draw,delete t.instance,this.disposeInstance=!1):t.type&&(this.removeInstance(),this.disposeInstance=!0,this.instance=anychart[t.type](t.data),this.isStage=!1,delete t.type,delete t.data),this.instance&&this.instance.container(this.containerId),delete t.id}},{key:"drawInstance",value:function(t){if(this.instance)if(this.isStage){this.instance.suspend();var i=t.charts;delete t.charts,this.applyProps(t);var e=!0,n=!1,s=void 0;try{for(var a,h=i[Symbol.iterator]();!(e=(a=h.next()).done);e=!0){var r=a.value;r.container(this.instance).draw()}}catch(t){n=!0,s=t}finally{try{!e&&h.return&&h.return()}finally{if(n)throw s}}this.instance.resume()}else this.applyProps(t),this.instance.draw()}},{key:"createAndDraw",value:function(t){var i=Object.assign(t,this.props);this.createInstance(i),this.drawInstance(i)}},{key:"render",value:function(){return u.default.createElement("div",{id:this.containerId})}},{key:"componentDidMount",value:function(){this.createAndDraw({})}},{key:"componentWillUpdate",value:function(t,i){this.containerId=t.id||this.containerId}},{key:"componentDidUpdate",value:function(t,i){var e=Object.assign({},t);delete e.type,delete e.instance,this.createAndDraw(e)}},{key:"componentWillUnmount",value:function(){this.removeInstance()}}]),i}(u.default.Component);e.default=f},{anychart:4,react:187}],2:[function(t,i,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var s=t("react"),a=n(s),h=t("react-dom"),r=n(h),o=t("../../dist/anychart-react.min.js"),l=n(o),c=t("anychart"),u=n(c),f=u.default.graphics.create(),g=u.default.line([1,2,3]);g.bounds(0,0,"100%","50%");var d=u.default.column();d.column([3,2,1]),d.line([3,5,6]),d.bounds(0,"50%","100%","50%"),r.default.render(a.default.createElement(l.default,{instance:f,width:800,height:600,charts:[g,d]}),document.getElementById("root"))},{"../../dist/anychart-react.min.js":1,anychart:4,react:187,"react-dom":34}],3:[function(require,module,exports){!function(t,i){if("object"==typeof module&&"object"==typeof module.exports){var e=function(t){if(!t.document)throw Error("AnyChart requires a window with a document");return i.call(t,t,t.document),t.acgraph.isNodeJS=!0,t.anychart};module.exports=t.document?e(t):e}else i.call(t,window,document)}("undefined"!=typeof window?window:this,function(window,document,opt_noGlobal){var $,_,$_=this.anychart;$_&&(_=$_._)?$=$_.$:($={},_={}),_.core||(_.core=1,function($){var sa,ta,Pa,Qa,Ta,Ua,Wa,Xa,Ya,mb,rb,yb,Ab,Gb,Wb,$b,bc,fc,ic,jc,nc,rc,qc,Cc,Ic,Vc,Yc,Zc,wd,Dd,Fd,Gd,Hd,Jd,Id,Nd,Qd,Rd,ce,Td,Od,Ld,ge,le,me,oe,ue,$e,df,Af,Ke,Jf,Nf,Zf,Uf,jg,qg,yg,Bg,Dg,Cg,Eg,Ig,Kg,Lg,Og,Qg,Rg,Vg,Yg,ah,bh,dh,ch,Zg,ih,jh,kh,nh,qh,yh,Ah,Bh,Ch,xh,zh,oh,Fh,Hh,Gh,Lh,Qh,Rh,Oh,Nh,Wh,Zh,ai,bi,ci,di,fi,gi,hi,ii,ji,li,mi,si,vi,wi,xi,yi,Ai,ei,zi,Bi,Ci,Di,Hi,Ii,Ji,Ki,Li,Mi,Ni,Oi,Pi,Qi,Ri,Si,Ti,Wi,Xi,Yi,Fi,Gi,$i,aj,bj,cj,dj,ej,fj,gj,hj,jj,lj,pj,qj,rj,nj,oj,ij,Oj,Pj,Qj,Rj,Uj,Vj,Wj,Xj,Zj,Yj,Ng,ck,jk,lk,mk,yc,mj,Qk,baa,jaa,kaa,hl,xl,yl,Bl,Hl,Gl,Kl,Nl,Pl,qaa,gm,lm,hm,om,im,qm,sm,Fb,Hm,Jm,Km,Lm,Nm,Tm,Um,Vm,Wm,dn,mn,nn,on,sn,pn,saa,vn,wn,yn,xn,zn,En,Cn,Bn,Gn,Hn,uaa,vaa,Ln,Mn,Qn,xaa,ao,Mm,xo,zo,Eo,zaa,Aaa,yaa,Caa,Io,Mo,Daa,Po,Eaa,Uo,Xo,ep,fp,kp,op,pp,rp,tp,Wp,Xp,Kp,Mp,Yp,Zp,Faa,bq,yp,eq,Jp,Vp,Tp,pq,uq,vq,wq,Gaa,zq,Dq,Eq,Fq,Gq,Iq,Iaa,Jq,Kq,Lq,Oq,Mq,Nq,Kaa,Pq,Qq,Rq,Tq,Vq,Yq,$q,br,jr,wr,yr,zr,Cr,Dr,Er,Yr,Zr,as,Paa,ls,ms,qs,rs,ts,us,vs,ws,xs,ys,As,Cs,Ds,Es,Fs,Gs,Is,Ks,Ls,Ms,Ns,Ps,Qaa,Qs,Rs,Ss,Os,Ts,Js,Raa,Saa,Uaa,Taa,Ys,Xs,$s,at,ft,ct,gt,ht,it,jt,et,dt,Vaa,Waa,Xaa,Yaa,kt,lt,nt,ot,rt,st,tt,ut,vt,wt,yt,zt,xt,At,Bt,Kt,Zaa,Rt,Ot,Mt,Tt,St,Pt,Jt,au,Lt,cu,du,Ut,eu,Qt,$t,fu,iu,ju,aba,ku,bba,cba,dba,lu,eba,fba,mu,nu,pu,qu,ru,su,gba,Ju,Lu,Mu,hba,Qu,iba,Uu,Wu,ev,hv,iv,gv,jv,kba,lba,lv,mv,ov,pv,vv,wv,xv,Hv,Gv,Jv,Kv,Nv,Pv,Tv,Uv,Wv,Xv,Yv,$v,dw,nba,fw,gw,iw,jw,kw,oba,pba,qba,rba,tw,ww,xw,yw,Mw,tba,Nw,uba,Pw,Uw,Yw,$w,ax,cx,kx,lx,nx,ox,px,qx,sx,tx,ux,vx,wx,xx,yx,zx,Cx,Iw,Gx,Jx,Ix,Hx,Ox,Px,Sx,Tx,Lw,Vx,Jw,vba,cy,dy,wba,xba,fy,hy,jy,ly,ny,Fw,Ew,Gw,yba,zba,sy,vy,yy,zy,Ay,wy,By,Dy,Cy,Ey,Fy,Gy,Hy,Ky,Uy,Vy,Wy,Yy,Zy,az,bz,fz,gz,iz,kz,lz,mz,nz,jz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,ca,pa,qa;$.da=function(t){return function(){return ca[t].apply(this,arguments)}},$.ea=function(t,i){return ca[t]=i},$.n=function(t){return void 0!==t},$.ga=function(t){t=t.split(".");for(var i,e=$.fa;i=t.shift();){if(null==e[i])return null;e=e[i]}return e},$.ia=function(){},$.ka=function(t){t.uc=function(){return t.oU?t.oU:t.oU=new t}},$.la=function(t){var i=typeof t;if("object"==i){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return i;var e=Object.prototype.toString.call(t);if("[object Window]"==e)return"object";if("[object Array]"==e||"number"==typeof t.length&&void 0!==t.splice&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==e||void 0!==t.call&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==i&&void 0===t.call)return"object";return i},$.y=function(t){return"array"==$.la(t)},$.ma=function(t){var i=$.la(t);return"array"==i||"object"==i&&"number"==typeof t.length},$.na=function(t){return $.A(t)&&"function"==typeof t.getFullYear},$.B=function(t){return"string"==typeof t},$.oa=function(t){return"boolean"==typeof t},$.C=function(t){return"number"==typeof t},$.D=function(t){return"function"==$.la(t)},$.A=function(t){var i=typeof t;return"object"==i&&null!=t||"function"==i},$.ra=function(t){return t[pa]||(t[pa]=++qa)},sa=function(t,i,e){return t.call.apply(t.bind,arguments)},ta=function(t,i,e){if(!t)throw Error();if(2<arguments.length){var n=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(e,n),t.apply(i,e)}}return function(){return t.apply(i,arguments)}},$.ua=function(t,i,e){return $.ua=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?sa:ta,$.ua.apply(null,arguments)},$.va=function(t,i){var e=Array.prototype.slice.call(arguments,1);return function(){var i=e.slice();return i.push.apply(i,arguments),t.apply(this,i)}},$.wa=function(t,i){for(var e in i)t[e]=i[e]},$.F=function(t,i){var e=t.split("."),n=$.fa;e[0]in n||!n.execScript||n.execScript("var "+e[0]);for(var s;e.length&&(s=e.shift());)!e.length&&$.n(i)?n[s]=i:n=n[s]?n[s]:n[s]={}},$.G=function(t,i){function e(){}e.prototype=i.prototype,t.I=i.prototype,t.prototype=new e,t.prototype.constructor=t,t.oy=function(t,e,n){for(var s=Array(arguments.length-2),a=2;a<arguments.length;a++)s[a-2]=arguments[a];return i.prototype[e].apply(t,s)}},$.xa=function(t,i){return!t.lastIndexOf(i,0)},$.ya=function(t,i){var e=t.length-i.length;return 0<=e&&t.indexOf(i,e)==e},$.za=function(t,i){return t.toLowerCase()==i.toLowerCase()},$.Aa=function(t,i){for(var e=t.split("%s"),n="",s=Array.prototype.slice.call(arguments,1);s.length&&1<e.length;)n+=e.shift()+s.shift();return n+e.join("%s")},$.Ba=function(t){return t.replace(/(\r\n|\r|\n)/g,"\n")},$.Ca=function(t){return t.replace(/^[\s\xa0]+/,"")},$.Da=function(t,i){return t.replace(/(\r\n|\r|\n)/g,i?"<br />":"<br>")},$.Ma=function(t){return Ea.test(t)?(-1!=t.indexOf("&")&&(t=t.replace(Fa,"&")),-1!=t.indexOf("<")&&(t=t.replace(Ga,"<")),-1!=t.indexOf(">")&&(t=t.replace(Ha,">")),-1!=t.indexOf('"')&&(t=t.replace(Ia,""")),-1!=t.indexOf("'")&&(t=t.replace(Ka,"'")),-1!=t.indexOf("\0")&&(t=t.replace(La,"�")),t):t},Pa=function(t){for(var i=[],e=0;e<t.length;e++){var n,s=e;if((n=t.charAt(e))in Na)n=Na[n];else if(n in Oa)n=Na[n]=Oa[n];else{var a,h=n.charCodeAt(0);31<h&&127>h?a=n:(256>h?(a="\\x",(16>h||256<h)&&(a+="0")):(a="\\u",4096>h&&(a+="0")),a+=h.toString(16).toUpperCase()),n=Na[n]=a}i[s]=n}return i.join("")},Qa=function(t){return String(t).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},$.Sa=function(t,i){var e=$.n(void 0)?t.toFixed(void 0):String(t),n=e.indexOf(".");return-1==n&&(n=e.length),(0,$.Ra)("0",Math.max(0,i-n))+e},Ta=function(t,i){return t<i?-1:t>i?1:0},Ua=function(t){return String(t).replace(/\-([a-z])/g,function(t,i){return i.toUpperCase()})},$.Va=function(t){var i=$.B(void 0)?Qa(void 0):"\\s";return t.replace(new RegExp("(^"+(i?"|["+i+"]+":"")+")([a-z])","g"),function(t,i,e){return i+e.toUpperCase()})},Wa=function(t,i){for(var e=t.split(" "),n=[];0<i&&e.length;)n.push(e.shift()),i--;return e.length&&n.push(e.join(" ")),n},Xa=function(t){return t[t.length-1]},Ya=function(t,i,e){for(var n=t.length,s=$.B(t)?t.split(""):t,n=n-1;0<=n;--n)n in s&&i.call(e,s[n],n,t)},$.$a=function(t,i){var e=0;return(0,$.Za)(t,function(t,n,s){i.call(void 0,t,n,s)&&++e},void 0),e},$.bb=function(t,i,e){return i=$.ab(t,i,e),0>i?null:$.B(t)?t.charAt(i):t[i]},$.ab=function(t,i,e){for(var n=t.length,s=$.B(t)?t.split(""):t,a=0;a<n;a++)if(a in s&&i.call(e,s[a],a,t))return a;return-1},$.eb=function(t,i){return 0<=(0,$.cb)(t,i)},$.fb=function(t,i){$.eb(t,i)||t.push(i)},$.hb=function(t,i,e){$.gb(t,e,0,i)},$.jb=function(t,i){var e,n=(0,$.cb)(t,i);return(e=0<=n)&&$.ib(t,n),e},$.ib=function(t,i){return 1==Array.prototype.splice.call(t,i,1).length},$.lb=function(t){return Array.prototype.concat.apply(Array.prototype,arguments)},mb=function(t){return Array.prototype.concat.apply(Array.prototype,arguments)},$.nb=function(t){var i=t.length;if(0<i){for(var e=Array(i),n=0;n<i;n++)e[n]=t[n];return e}return[]},$.ob=function(t,i){for(var e=1;e<arguments.length;e++){var n=arguments[e];if($.ma(n)){var s=t.length||0,a=n.length||0;t.length=s+a;for(var h=0;h<a;h++)t[s+h]=n[h]}else t.push(n)}},$.gb=function(t,i,e,n){return Array.prototype.splice.apply(t,$.pb(arguments,1))},$.pb=function(t,i,e){return 2>=arguments.length?Array.prototype.slice.call(t,i):Array.prototype.slice.call(t,i,e)},$.qb=function(t,i,e){function n(t){return $.A(t)?"o"+$.ra(t):(typeof t).charAt(0)+t}i=i||t,e=e||n;for(var s={},a=0,h=0;h<t.length;){var r=t[h++],o=e(r);Object.prototype.hasOwnProperty.call(s,o)||(s[o]=!0,i[a++]=r)}i.length=a},$.ub=function(t,i,e){return rb(t,e||$.tb,!1,i)},$.vb=function(t,i,e){return rb(t,i,!0,void 0,e)},rb=function(t,i,e,n,s){for(var a,h=0,r=t.length;h<r;){var o,l=h+r>>1;o=e?i.call(s,t[l],l,t):i(n,t[l]),0<o?h=l+1:(r=l,a=!o)}return a?h:~h},$.wb=function(t,i){t.sort(i||$.tb)},$.xb=function(t,i){for(var e=Array(t.length),n=0;n<t.length;n++)e[n]={index:n,value:t[n]};var s=i||$.tb;for($.wb(e,function(t,i){return s(t.value,i.value)||t.index-i.index}),n=0;n<t.length;n++)t[n]=e[n].value},yb=function(t,i){var e=$.tb;$.wb(t,function(t,n){return e(i(t),i(n))})},$.zb=function(t){yb(t,function(t){return t.offset})},$.Bb=function(t,i){if(!$.ma(t)||!$.ma(i)||t.length!=i.length)return!1;for(var e=t.length,n=Ab,s=0;s<e;s++)if(!n(t[s],i[s]))return!1;return!0},$.tb=function(t,i){return t>i?1:t<i?-1:0},Ab=function(t,i){return t===i},$.Cb=function(t,i,e){return 0>(e=$.ub(t,i,e))&&($.hb(t,i,-(e+1)),!0)},$.Db=function(t,i){var e=[],n=0,s=t;if(void 0!==i&&(n=t,s=i),0>1*(s-n))return[];for(;n<s;n+=1)e.push(n);return e},Gb=function(t){return $.lb.apply([],(0,$.Eb)(t,Fb,void 0))},$.Hb=function(t,i,e){return Math.min(Math.max(t,i),e)},$.Ib=function(t,i){var e=t%i;return 0>e*i?e+i:e},$.Jb=function(t){return $.Ib(t,360)},$.H=function(t){return t*Math.PI/180},$.Kb=function(t){return 180*t/Math.PI},$.Lb=function(t,i){return i*Math.cos($.H(t))},$.Mb=function(t,i){return i*Math.sin($.H(t))},$.Pb=function(t,i){this.x=$.n(t)?t:0,this.y=$.n(i)?i:0},$.Qb=function(t,i){return t==i||!(!t||!i)&&(t.x==i.x&&t.y==i.y)},$.Rb=function(t,i,e,n){this.top=t,this.right=i,this.bottom=e,this.left=n},$.Sb=function(t,i){this.width=t,this.height=i},$.Tb=function(t,i){return t==i||!(!t||!i)&&(t.width==i.width&&t.height==i.height)},$.I=function(t,i,e,n){this.left=t,this.top=i,this.width=e,this.height=n},$.Ub=function(t,i){return t==i||!(!t||!i)&&(t.left==i.left&&t.width==i.width&&t.top==i.top&&t.height==i.height)},$.Vb=function(t,i){var e=Math.max(t.left,i.left),n=Math.min(t.left+t.width,i.left+i.width);if(e<=n){var s=Math.max(t.top,i.top),a=Math.min(t.top+t.height,i.top+i.height);if(s<=a)return new $.I(e,s,n-e,a-s)}return null},Wb=function(t,i){var e;if((e=$.Vb(t,i))&&e.height&&e.width){e=[];var n=t.top,s=t.height,a=t.left+t.width,h=t.top+t.height,r=i.left+i.width,o=i.top+i.height;i.top>t.top&&(e.push(new $.I(t.left,t.top,t.width,i.top-t.top)),n=i.top,s-=i.top-t.top),o<h&&(e.push(new $.I(t.left,o,t.width,h-o)),s=o-n),i.left>t.left&&e.push(new $.I(t.left,n,i.left-t.left,s)),r<a&&e.push(new $.I(r,n,a-r,s))}else e=[t.clone()];return e},$.Xb=function(t,i){var e=Math.max(t.left+t.width,i.left+i.width),n=Math.max(t.top+t.height,i.top+i.height);t.left=Math.min(t.left,i.left),t.top=Math.min(t.top,i.top),t.width=e-t.left,t.height=n-t.top},$.Yb=function(t,i,e,n,s,a,h){var r=$.H(a);a=Math.ceil(Math.abs(r)/Math.PI*2);var r=r/a,o=$.H(s);for(s=h?[t+$.Lb(s,e),i+$.Mb(s,n)]:[],h=0;h<a;h++){var l=Math.cos(o),c=Math.sin(o),u=4/3*Math.sin(r/2)/(1+Math.cos(r/2)),f=t+(l-u*c)*e,g=i+(c+u*l)*n,o=o+r,l=Math.cos(o),c=Math.sin(o);s.push(f,g,t+(l+u*c)*e,i+(c-u*l)*n,t+l*e,i+c*n)}return s},$b=function(t){function i(t,i,e,n,s){var a=1-s;return a*a*a*t+3*a*a*s*i+3*a*s*s*e+s*s*s*n}for(var e=[[arguments[0]],[arguments[1]]],n=2,s=arguments.length;n<s;n+=6){var a=[arguments[n-2],arguments[n-1]],h=[arguments[n],arguments[n+1]],r=[arguments[n+2],arguments[n+3]],o=[arguments[n+4],arguments[n+5]];e[0].push(o[0]),e[1].push(o[1]);for(var l,c=0;2>c;c++){var u=-3*a[c]+9*h[c]-9*r[c]+3*o[c],f=6*a[c]-12*h[c]+6*r[c];if(l=3*h[c]-3*a[c],u){var g=f*f-4*l*u;0<g?(l=(-f+Math.sqrt(g))/(2*u),0<l&&1>l&&e[c].push(i(a[c],h[c],r[c],o[c],l)),0<(l=(-f-Math.sqrt(g))/(2*u))&&1>l&&e[c].push(i(a[c],h[c],r[c],o[c],l))):g||0<(l=-f/(2*u))&&1>l&&e[c].push(i(a[c],h[c],r[c],o[c],l))}else f&&0<(l=-l/f)&&1>l&&e[c].push(i(a[c],h[c],r[c],o[c],l))}}return n=new $.I(Math.min.apply(null,e[0]),Math.min.apply(null,e[1]),0,0),n.width=Math.max.apply(null,e[0])-n.left,n.height=Math.max.apply(null,e[1])-n.top,n},bc=function(t){if(!arguments.length)return null;for(var i=null,e=!1,n=0,s=arguments.length;n<s;n++)arguments[n]&&(i?(e||(e=!!(i=i.clone())),$.ac(i,arguments[n])):i=arguments[n]);return i},$.ec=function(t,i){if(!i||$.cc(i))return t;var e=t.left,n=t.top,s=e+t.width,a=n+t.height,a=[e,n,e,a,s,n,s,a];return i.transform(a,0,a,0,4),e=Math.min(a[0],a[2],a[4],a[6]),n=Math.min(a[1],a[3],a[5],a[7]),s=Math.max(a[0],a[2],a[4],a[6]),a=Math.max(a[1],a[3],a[5],a[7]),new $.I(e,n,s-e,a-n)},fc=function(t,i,e,n){var s=(t*e+i*n)/(Math.sqrt(t*t+i*i)*Math.sqrt(e*e+n*n)),s=$.Hb(s,-1,1),s=$.Kb(Math.acos(s));return 0<t*n-i*e?s:-s},$.gc=function(t){return t?$.Kb(Math.atan2(t.ce,t.Vd)):0},$.hc=function(t,i,e,n,s,a){if(6==arguments.length)this.setTransform(t,i,e,n,s,a);else{if(arguments.length)throw Error("Insufficient matrix parameters");this.Zc=this.Vd=1,this.ce=this.he=this.$c=this.ad=0}},$.cc=function(t){return!(1!=t.Zc||t.ce||t.he||1!=t.Vd||t.$c||t.ad)},ic=function(t,i,e){return t.$c+=i*t.Zc+e*t.he,t.ad+=i*t.ce+e*t.Vd,t},jc=function(t,i,e){var n=t.Zc,s=t.ce;t.Zc+=e*t.he,t.ce+=e*t.Vd,t.he+=i*n,t.Vd+=i*s},$.ac=function(t,i){var e=t.Zc,n=t.he;return t.Zc=i.Zc*e+i.ce*n,t.he=i.he*e+i.Vd*n,t.$c+=i.$c*e+i.ad*n,e=t.ce,n=t.Vd,t.ce=i.Zc*e+i.ce*n,t.Vd=i.he*e+i.Vd*n,t.ad+=i.$c*e+i.ad*n,t},$.kc=function(t,i){var e=t.Zc,n=t.ce;t.Zc=i.Zc*e+i.he*n,t.ce=i.ce*e+i.Vd*n,e=t.he,n=t.Vd,t.he=i.Zc*e+i.he*n,t.Vd=i.ce*e+i.Vd*n,e=t.$c,n=t.ad,t.$c=i.Zc*e+i.he*n+i.$c,t.ad=i.ce*e+i.Vd*n+i.ad},$.lc=function(t){var i=t.Zc*t.Vd-t.he*t.ce;return new $.hc(t.Vd/i,-t.ce/i,-t.he/i,t.Zc/i,(t.he*t.ad-t.Vd*t.$c)/i,(t.ce*t.$c-t.Zc*t.ad)/i)},$.mc=function(t,i,e){var n=new $.hc,s=Math.cos(t);return t=Math.sin(t),n.setTransform(s,t,-t,s,i-i*s+e*t,e-i*t-e*s)},nc=function(t,i){var e=t.left,n=t.top;switch(i=i.toLowerCase()){case"left-center":n+=t.height/2;break;case"left-bottom":n+=t.height;break;case"center-top":e+=t.width/2;break;case"center":e+=t.width/2,n+=t.height/2;break;case"center-bottom":e+=t.width/2,n+=t.height;break;case"right-top":e+=t.width;break;case"right-center":e+=t.width,n+=t.height/2;break;case"right-bottom":e+=t.width,n+=t.height}return[e,n]},$.oc=function(t){var i,e,n,s=t.trim().replace(/\(\s+/gi,"(").replace(/\s+\)/gi,")").replace(/(\s+,\s+)|(\s+)/gi,",").replace(/(\)),*(\w)/gi,"$1 $2").split(" "),a=new $.hc;for(t=0,n=s.length;t<n;t++){i=/^(matrix|translate|rotate|scale|skewX|skewY)\(([e\d.,-]+)\)/i.exec(s[t]);var h=i[1],r=i[2].split(",");for(i=0,e=r.length;i<e;i++)r[i]=(0,window.parseFloat)(r[i]);switch(h){case"matrix":h=new $.hc(r[0],r[1],r[2],r[3],r[4],r[5]),$.ac(a,h);break;case"translate":ic(a,r[0],r[1]||0);break;case"rotate":a.rotate($.H(r[0]),r[1]||0,r[2]||0);break;case"scale":a.scale(r[0],r[1]||0);break;case"skewX":jc(a,Math.tan($.H(r[0])),0);break;case"skewY":jc(a,0,Math.tan($.H(r[0])))}}return a},$.wc=function(t,i,e,n,s,a,h){var r,o,l,c,u,f;if($.B(t))r=$.pc(t,!1),$.B(r)&&$.n(i)&&(n=(0,window.parseFloat)(i),r={color:t,opacity:(0,window.isNaN)(n)?1:$.Hb(n,0,1)});else if($.y(t)){for(o=$.pb(t,0),c=o.length;c--;)l=o[c],$.B(l)&&(l=qc(l)),(0,window.isNaN)(l.offset)&&(l.offset=c/(o.length-1||1)),o[c]=l;l=$.pb(o,0),l.sort(function(t,i){return t.offset-i.offset}),0!=l[0].offset&&(f={offset:0,color:o[0].color},$.n(o[0].opacity)&&!(0,window.isNaN)(o[0].opacity)&&(f.opacity=$.Hb(o[0].opacity,0,1)),o.unshift(f)),1!=l[l.length-1].offset&&(f={offset:1,color:o[o.length-1].color},$.n(o[o.length-1].opacity)&&!(0,window.isNaN)(o[o.length-1].opacity)&&(f.opacity=$.Hb(o[o.length-1].opacity,0,1)),o.push(f)),$.C(i)&&!(0,window.isNaN)(i)&&$.C(e)&&!(0,window.isNaN)(e)?(i=i||0,e=e||0,r={keys:o,cx:i,cy:e,mode:rc(n),fx:(0,window.isNaN)(a)?i:+a,fy:(0,window.isNaN)(h)?e:+h,opacity:$.Hb($.n(s)?s:1,0,1)}):r={keys:o,angle:+i||0,mode:rc(e)||!!e,opacity:$.Hb((0,window.isNaN)(+n)?1:+n,0,1)}}else if($.A(t))if($.J(t,$.sc))r=t;else if("pattern"==t.type)delete t.id,r=t.bounds,r=new $.I(r.left,r.top,r.width,r.height),r=$.tc(r),r.jd(t);else if("keys"in t){for(o=$.pb(t.keys,0),c=o.length;c--;)l=o[c],$.B(l)?f=qc(l):(u=$.B(l.color)?l.color:$.y(l.color)?$.uc(l.color):"black",f={offset:l.offset,color:u},(0,window.isNaN)(l.opacity)||(f.opacity=$.Hb(l.opacity,0,1))),(0,window.isNaN)(f.offset)&&(f.offset=c/(o.length-1||1)),o[c]=f;l=$.pb(o,0),l.sort(function(t,i){return t.offset-i.offset}),0!=l[0].offset&&(f={offset:0,color:o[0].color},$.n(o[0].opacity)&&!(0,window.isNaN)(o[0].opacity)&&(f.opacity=$.Hb(o[0].opacity,0,1)),o.unshift(f)),1!=l[l.length-1].offset&&(f={offset:1,color:o[o.length-1].color},$.n(o[o.length-1].opacity)&&!(0,window.isNaN)(o[o.length-1].opacity)&&(f.opacity=$.Hb(o[o.length-1].opacity,0,1)),o.push(f)),n=$.Hb($.n(t.opacity)?t.opacity:1,0,1),s=rc(t.mode),i=t.cx,e=t.cy,r=$.C(i)&&!(0,window.isNaN)(i)&&$.C(e)&&!(0,window.isNaN)(e)?{keys:o,cx:+i,cy:+e,mode:s,fx:(0,window.isNaN)(t.fx)?+t.cx:+t.fx,fy:(0,window.isNaN)(t.fy)?+t.cy:+t.fy,opacity:n}:{keys:o,angle:+t.angle||0,mode:s||!!t.mode,opacity:n},t=t.transform,null!=t&&($.J(t,$.hc)?r.transform=t:$.A(t)?(r.transform=new $.hc,r.transform.setTransform(t.m00,t.m10,t.m01,t.m11,t.m02,t.m12)):$.B(t)&&(r.transform=$.oc(t)))}else"src"in t?r={src:t.src,mode:$.n(t.mode)?t.mode:"stretch",opacity:$.Hb($.n(t.opacity)?t.opacity:1,0,1)}:(u=$.B(t.color)?t.color:"black",r=(0,window.isNaN)(t.opacity)?u:{color:u,opacity:$.Hb(t.opacity,0,1)});else r="none";return r},$.xc=function(t,i,e,n,s){var a;if(null===t)a="none";else{if($.B(t)){a=Wa(t,1);var h=(0,window.parseFloat)(a[0]);(0,window.isNaN)(h)||(t=a[1],i=h)}if(a=$.A(t),i=(0,window.parseFloat)(a&&"thickness"in t?t.thickness:i),!(0,window.isNaN)(i)&&!i)return"none";var h=a&&"dash"in t,r=a&&"lineJoin"in t,o=a&&"lineCap"in t;if("none"==(a=$.wc(t)))return a;a=$.J(a,$.sc)?"black":a,(!(0,window.isNaN)(i)||h||r||o||$.n(e)||$.n(n)||$.n(s))&&($.B(a)&&(a={color:a}),(0,window.isNaN)(i)||(a.thickness=i),h?a.dash=t.dash||"none":null!=e&&(a.dash=e||"none"),r?a.lineJoin=t.lineJoin||"none":null!=n&&(a.lineJoin=n||"none"),o?a.lineCap=t.lineCap||"none":null!=s&&(a.lineCap=s||"none"))}return a},$.zc=function(t,i,e,n){return $.B(t)&&"none"==t.toLowerCase()?null:($.B(t)||$.C(t)?i=yc(t,i,$.n(e)?(0,window.parseFloat)(e):void 0,$.n(n)?(0,window.parseFloat)(n):void 0):$.J(t,$.sc)?i=t:$.A(t)?"pattern"==t.type?(delete t.id,i=t.bounds,i=new $.I(i.left,i.top,i.width,i.height),i=$.tc(i),i.jd(t)):i=yc(t.type,t.color,t.thickness,t.size):i=null,i)},rc=function(t){if(null!=t){if($.J(t,$.I))return t;if($.A(t)&&!(0,window.isNaN)(t.left)&&!(0,window.isNaN)(t.top)&&!(0,window.isNaN)(t.width)&&!(0,window.isNaN)(t.height))return new $.I(t.left,t.top,t.width,t.height)}return null},$.pc=function(t,i){var e=t.split(" "),n=1<e.length?$.Hb(+e[e.length-1],0,1):window.NaN;if((0,window.isNaN)(n)){if(i)return{color:t};n=1}else e.pop(),t=e.join(" ");return i||1!=n?{color:t,opacity:n}:t},qc=function(t){var i=Wa(t,1),e=window.NaN;return 1<i.length&&(e=(0,window.parseFloat)(i[0]),t=(0,window.isNaN)(e)?t:i[1]),t=$.pc(t,!0),(0,window.isNaN)(e)||(t.offset=$.Hb(e,0,1)),t},$.Ac=function(t){var i;return t&&"none"!=t?(0,window.isNaN)(i=t.thickness)||null===i?1:i:0},$.Bc=function(){},$.Ec=function(t,i,e){return i[t.b]||(i[t.b]=Cc(t,i,e))},Cc=function(t,i,e){return["ac",$.n(e)?e:i.gj?i.gj():"",(t.g++).toString(36)].join("_")},$.Gc=function(t){return-1!=Fc.indexOf(t)},$.Hc=function(t,i,e){for(var n in t)i.call(e,t[n],n,t)},Ic=function(t,i){var e,n={};for(e in t)i.call(void 0,t[e],e,t)&&(n[e]=t[e]);return n},$.Jc=function(t){var i,e=[],n=0;for(i in t)e[n++]=t[i];return e},$.Kc=function(t){var i,e=[],n=0;for(i in t)e[n++]=i;return e},$.Lc=function(t,i){return!!t&&i in t},$.Mc=function(t,i,e){for(var n in t)if(i.call(e,t[n],n,t))return n},$.Nc=function(t){for(var i in t)return!1;return!0},$.Oc=function(t){for(var i in t)delete t[i]},$.Pc=function(t,i){i in t&&delete t[i]},$.Rc=function(t){var i,e={};for(i in t)e[i]=t[i];return e},$.Tc=function(t,i){for(var e,n,s=1;s<arguments.length;s++){n=arguments[s];for(e in n)t[e]=n[e];for(var a=0;a<Sc.length;a++)e=Sc[a],Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}},$.Uc=function(t){var i=arguments.length;if(1==i&&$.y(arguments[0]))return $.Uc.apply(null,arguments[0]);for(var e={},n=0;n<i;n++)e[arguments[n]]=!0;return e},Vc=function(t){return Vc[" "](t),t},$.Wc=function(t,i){try{return Vc(t[i]),!0}catch(t){}return!1},Yc=function(t,i){var e=Xc;return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e[t]=i(t)},Zc=function(){var t=$.fa.document;return t?t.documentMode:void 0},$.cd=function(t){return Yc(t,function(){for(var i=0,e=(0,$.ad)(String($.bd)).split("."),n=(0,$.ad)(String(t)).split("."),s=Math.max(e.length,n.length),a=0;!i&&a<s;a++){var h=e[a]||"",r=n[a]||"";do{if(h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""],r=/(\d*)(\D*)(.*)/.exec(r)||["","","",""],0==h[0].length&&0==r[0].length)break;i=Ta(0==h[1].length?0:(0,window.parseInt)(h[1],10),0==r[1].length?0:(0,window.parseInt)(r[1],10))||Ta(0==h[2].length,0==r[2].length)||Ta(h[2],r[2]),h=h[3],r=r[3]}while(!i)}return 0<=i})},$.ed=function(t){return Number(dd)>=t},$.fd=function(t){var i;if("array"==(i=$.la(t))){i=[];for(var e=0;e<t.length;e++)e in t&&(i[e]=$.fd(t[e]))}else{if("object"!=i)return t;for(e in i={},t)t.hasOwnProperty(e)&&(i[e]=$.fd(t[e]))}return i},$.id=function(t,i,e){if($.gd||$.hd)t.apply(e,i);else for(var n=0,s=5e4,a=Math.ceil(i.length/5e4),h=0;h<a;h++)t.apply(e,i.slice(n,s)),n+=5e4,s+=5e4},$.J=function(t,i){return!!t&&t instanceof i},$.kd=function(t){return jd[t]||"Unknown error happened"},$.nd=function(){0!=ld&&(md[$.ra(this)]=this),this.Ed=this.Ed,this.Yr=this.Yr},$.L=function(t,i){var e=$.va($.K,i);t.Ed?$.n(void 0)?e.call(void 0):e():(t.Yr||(t.Yr=[]),t.Yr.push($.n(void 0)?(0,$.ua)(e,void 0):e))},$.K=function(t){t&&"function"==typeof t.Kc&&t.Kc()},$.od=function(t){for(var i=0,e=arguments.length;i<e;++i){var n=arguments[i];$.ma(n)?$.od.apply(null,n):$.K(n)}},$.pd=function(t,i){this.type=t,this.b=this.target=i,this.R=this.J=!1,this.aW=!0},$.td=function(t,i){if($.pd.call(this,t?t.type:""),this.g=this.b=this.target=null,this.o=this.keyCode=this.ma=this.K=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.F=!1,this.ph=null,t){var e=this.type=t.type,n=t.changedTouches?t.changedTouches[0]:null;this.target=t.target||t.srcElement,this.b=i;var s=t.relatedTarget;s?$.gd&&($.Wc(s,"nodeName")||(s=null)):"mouseover"==e?s=t.fromElement:"mouseout"==e&&(s=t.toElement),this.g=s,n?(this.clientX=void 0!==n.clientX?n.clientX:n.pageX,this.clientY=void 0!==n.clientY?n.clientY:n.pageY,this.K=n.screenX||0,this.ma=n.screenY||0):(this.offsetX=$.rd||void 0!==t.offsetX?t.offsetX:t.layerX,this.offsetY=$.rd||void 0!==t.offsetY?t.offsetY:t.layerY,this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.K=t.screenX||0,this.ma=t.screenY||0),this.keyCode=t.keyCode||0,this.o=t.charCode||("keypress"==e?t.keyCode:0),this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.F=$.sd?t.metaKey:t.ctrlKey,this.state=t.state,this.ph=t,t.defaultPrevented&&this.preventDefault()}},wd=function(t,i){return ud?t.ph.button==i:"click"==t.type?0==i:!!(t.ph.button&vd[i])},$.Bd=function(t){return!(!t||!t[Ad])},Dd=function(t,i,e,n,s){this.listener=t,this.b=null,this.src=i,this.type=e,this.HC=!!n,this.jr=s,this.key=++Cd,this.pw=this.GC=!1},Fd=function(t){t.pw=!0,t.listener=null,t.b=null,t.src=null,t.jr=null},Gd=function(t){this.src=t,this.b={},this.g=0},Hd=function(t,i){var e=i.type;if(!(e in t.b))return!1;var n=$.jb(t.b[e],i);return n&&(Fd(i),t.b[e].length||(delete t.b[e],t.g--)),n},Jd=function(t,i,e,n,s){return t=t.b[i.toString()],i=-1,t&&(i=Id(t,e,n,s)),-1<i?t[i]:null},Id=function(t,i,e,n){for(var s=0;s<t.length;++s){var a=t[s];if(!a.pw&&a.listener==i&&a.HC==!!e&&a.jr==n)return s}return-1},$.Kd=function(t,i,e,n,s){if($.y(i)){for(var a=0;a<i.length;a++)$.Kd(t,i[a],e,n,s);return null}return e=Ld(e),$.Bd(t)?t.pa(i,e,n,s):Nd(t,i,e,!1,n,s)},Nd=function(t,i,e,n,s,a){if(!i)throw Error("Invalid event type");var h=!!s,r=Od(t);if(r||(t[Pd]=r=new Gd(t)),e=r.add(i,e,n,s,a),e.b)return e;if(n=Qd(),e.b=n,n.src=t,n.listener=e,t.addEventListener)t.addEventListener(i.toString(),n,h);else{if(!t.attachEvent)throw Error("addEventListener and attachEvent are unavailable.");t.attachEvent(Rd(i.toString()),n)}return Sd++,e},Qd=function(){var t=Td,i=Ud?function(e){return t.call(i.src,i.listener,e)}:function(e){if(!(e=t.call(i.src,i.listener,e)))return e};return i},$.Vd=function(t,i,e,n,s){if($.y(i)){for(var a=0;a<i.length;a++)$.Vd(t,i[a],e,n,s);return null}return e=Ld(e),$.Bd(t)?t.Pd(i,e,n,s):Nd(t,i,e,!0,n,s)},$.Wd=function(t,i,e,n,s){if($.y(i)){for(var a=0;a<i.length;a++)$.Wd(t,i[a],e,n,s);return null}return e=Ld(e),$.Bd(t)?t.tc(i,e,n,s):!!t&&(!(!(t=Od(t))||!(i=Jd(t,i,e,!!n,s)))&&$.Xd(i))},$.Xd=function(t){if($.C(t)||!t||t.pw)return!1;var i=t.src;if($.Bd(i))return i.Gw(t);var e=t.type,n=t.b;return i.removeEventListener?i.removeEventListener(e,n,t.HC):i.detachEvent&&i.detachEvent(Rd(e),n),Sd--,(e=Od(i))?(Hd(e,t),e.g||(e.src=null,i[Pd]=null)):Fd(t),!0},$.Yd=function(t,i){if(!t)return 0;if($.Bd(t))return t.dh(i);var e=Od(t);if(!e)return 0;var n,s=0,a=i&&i.toString();for(n in e.b)if(!a||n==a)for(var h=e.b[n].concat(),r=0;r<h.length;++r)$.Xd(h[r])&&++s;return s},$.ae=function(t,i,e,n,s){return e=Ld(e),n=!!n,$.Bd(t)?Jd(t.xq,String(i),e,n,s):t&&(t=Od(t))?Jd(t,i,e,n,s):null},Rd=function(t){return t in be?be[t]:be[t]="on"+t},$.de=function(t,i,e,n){var s=!0;if((t=Od(t))&&(i=t.b[i.toString()]))for(i=i.concat(),t=0;t<i.length;t++){var a=i[t];a&&a.HC==e&&!a.pw&&(a=ce(a,n),s=s&&!1!==a)}return s},ce=function(t,i){var e=t.listener,n=t.jr||t.src;return t.GC&&$.Xd(t),e.call(n,i)},Td=function(t,i){if(t.pw)return!0;if(!Ud){var e=i||$.ga("window.event"),n=new $.td(e,this),s=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){t:{var a=!1;if(!e.keyCode)try{e.keyCode=-1;break t}catch(t){a=!0}(a||void 0==e.returnValue)&&(e.returnValue=!0)}for(e=[],a=n.b;a;a=a.parentNode)e.push(a);for(var a=t.type,h=e.length-1;!n.J&&0<=h;h--){n.b=e[h];var r=$.de(e[h],a,!0,n),s=s&&r}for(h=0;!n.J&&h<e.length;h++)n.b=e[h],r=$.de(e[h],a,!1,n),s=s&&r}return s}return ce(t,new $.td(i,this))},Od=function(t){return t=t[Pd],t instanceof Gd?t:null},Ld=function(t){return $.D(t)?t:(t[ee]||(t[ee]=function(i){return t.handleEvent(i)}),t[ee])},ge=function(){this.b="",this.g=fe},$.he=function(t){return t instanceof ge&&t.constructor===ge&&t.g===fe?t.b:"type_error:Const"},$.ie=function(t){var i=new ge;return i.b=t,i},le=function(){this.b="",this.g=je},me=function(t){var i=new le;return i.b=t,i},oe=function(){this.b="",this.g=ne},$.pe=function(t){return t instanceof oe&&t.constructor===oe&&t.g===ne?t.b:($.la(t),"type_error:SafeUrl")},$.se=function(t){return t instanceof oe?t:(t=t.xt?t.dr():String(t),qe.test(t)||(t="about:invalid#zClosurez"),$.re(t))},$.re=function(t){var i=new oe;return i.b=t,i},ue=function(){this.b=te},
$.ye=function(){this.b="",this.j=ve,this.g=null},$.ze=function(t){return t instanceof $.ye&&t.constructor===$.ye&&t.j===ve?t.b:($.la(t),"type_error:SafeHtml")},$.Be=function(t){if(t instanceof $.ye)return t;var i=null;return t.oL&&(i=t.Jv()),t=$.Ma(t.xt?t.dr():String(t)),$.Ae(t,i)},$.Je=function(t,i,e){var n=String(t);if(!Ce.test(n))throw Error("Invalid tag name <"+n+">.");if(n.toUpperCase()in De)throw Error("Tag name <"+n+"> is not allowed for SafeHtml.");t=String(t);var s,n=null,a="<"+t,h="";if(i)for(s in i){if(!Ce.test(s))throw Error('Invalid attribute name "'+s+'".');var r=i[s];if(null!=r){var o,l=t;if(o=s,r instanceof ge)r=$.he(r);else if("style"==o.toLowerCase()){if(!$.A(r))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof r+" given: "+r);if(!(r instanceof le)){var l="",c=void 0;for(c in r){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var u=r[c];if(null!=u){if(u instanceof ge)u=$.he(u);else if(Ee.test(u)){for(var f=!0,g=!0,d=0;d<u.length;d++){var p=u.charAt(d);"'"==p&&g?f=!f:'"'==p&&f&&(g=!g)}f&&g||(u="zClosurez")}else u="zClosurez";l+=c+":"+u+";"}}r=l?me(l):Fe}r instanceof le&&r.constructor===le&&r.g===je?r=r.b:($.la(r),r="type_error:SafeStyle")}else{if(/^on/i.test(o))throw Error('Attribute "'+o+'" requires goog.string.Const value, "'+r+'" given.');if(o.toLowerCase()in Ge)if(r instanceof ue)r instanceof ue&&r.constructor===ue&&r.b===te?r="":($.la(r),r="type_error:TrustedResourceUrl");else if(r instanceof oe)r=$.pe(r);else{if(!$.B(r))throw Error('Attribute "'+o+'" on tag "'+l+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.');r=$.se(r).dr()}}r.xt&&(r=r.dr()),o=o+'="'+$.Ma(String(r))+'"',h+=" "+o}}return s=a+h,null!=e?$.y(e)||(e=[e]):e=[],!0===He[t.toLowerCase()]?s+=">":(e=$.Ie(e),s+=">"+$.ze(e)+"</"+t+">",n=e.Jv()),(i=i&&i.dir)&&(n=/^(ltr|rtl|auto)$/i.test(i)?0:null),$.Ae(s,n)},$.Ie=function(t){function i(t){$.y(t)?(0,$.Za)(t,i):(t=$.Be(t),n+=$.ze(t),t=t.Jv(),0==e?e=t:0!=t&&e!=t&&(e=null))}var e=0,n="";return(0,$.Za)(arguments,i),$.Ae(n,e)},$.Ae=function(t,i){var e=new $.ye;return e.b=t,e.g=i,e},$.Ne=function(t){return t?new Ke($.Le(t)):Me||(Me=new Ke)},$.Oe=function(t,i){return $.B(i)?t.getElementById(i):i},$.Pe=function(t,i){return(i||window.document).getElementsByTagName(String(t))},$.Re=function(t,i,e){return $.Qe(window.document,t,i,e)},$.Qe=function(t,i,e,n){if(t=n||t,i=i&&"*"!=i?String(i).toUpperCase():"",t.querySelectorAll&&t.querySelector&&(i||e))return t.querySelectorAll(i+(e?"."+e:""));if(e&&t.getElementsByClassName){if(t=t.getElementsByClassName(e),i){n={};for(var s,a=0,h=0;s=t[h];h++)i==s.nodeName&&(n[a++]=s);return n.length=a,n}return t}if(t=t.getElementsByTagName(i||"*"),e){for(n={},h=a=0;s=t[h];h++)i=s.className,"function"==typeof i.split&&$.eb(i.split(/\s+/),e)&&(n[a++]=s);return n.length=a,n}return t},$.Te=function(t,i){$.Hc(i,function(i,e){"style"==e?t.style.cssText=i:"class"==e?t.className=i:"for"==e?t.htmlFor=i:Se.hasOwnProperty(e)?t.setAttribute(Se[e],i):$.xa(e,"aria-")||$.xa(e,"data-")?t.setAttribute(e,i):t[e]=i})},$.Ve=function(t){return t=(t||window).document,t=$.Ue(t)?t.documentElement:t.body,new $.Sb(t.clientWidth,t.clientHeight)},$.Ye=function(t){var i=$.We(t);return t=$.Xe(t),$.hd&&$.cd("10")&&t.pageYOffset!=i.scrollTop?new $.Pb(i.scrollLeft,i.scrollTop):new $.Pb(t.pageXOffset||i.scrollLeft,t.pageYOffset||i.scrollTop)},$.We=function(t){return t.scrollingElement?t.scrollingElement:!$.rd&&$.Ue(t)?t.documentElement:t.body||t.documentElement},$.Ze=function(t){return t?$.Xe(t):window},$.Xe=function(t){return t.parentWindow||t.defaultView},$.bf=function(t,i,e){return $e(window.document,arguments)},$e=function(t,i){var e=String(i[0]),n=i[1];if(!cf&&n&&(n.name||n.type)){if(e=["<",e],n.name&&e.push(' name="',$.Ma(n.name),'"'),n.type){e.push(' type="',$.Ma(n.type),'"');var s={};$.Tc(s,n),delete s.type,n=s}e.push(">"),e=e.join("")}return e=t.createElement(e),n&&($.B(n)?e.className=n:$.y(n)?e.className=n.join(" "):$.Te(e,n)),2<i.length&&df(t,e,i,2),e},df=function(t,i,e,n){function s(e){e&&i.appendChild($.B(e)?t.createTextNode(e):e)}for(;n<e.length;n++){var a=e[n];$.ma(a)&&!$.ef(a)?(0,$.Za)($.ff(a)?$.nb(a):a,s):s(a)}},$.Ue=function(t){return"CSS1Compat"==t.compatMode},$.gf=function(t,i){t.appendChild(i)},$.hf=function(t,i){df($.Le(t),t,arguments,1)},$.jf=function(t){for(var i;i=t.firstChild;)t.removeChild(i)},$.kf=function(t,i,e){t.insertBefore(i,t.childNodes[e]||null)},$.lf=function(t){return t&&t.parentNode?t.parentNode.removeChild(t):null},$.tf=function(t){return nf&&t.children?t.children:(0,$.sf)(t.childNodes,function(t){return 1==t.nodeType})},$.uf=function(t){if($.n(t.firstElementChild))t=t.firstElementChild;else for(t=t.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;return t};$.ef=function(t){return $.A(t)&&0<t.nodeType},$.vf=function(t){return $.A(t)&&1==t.nodeType},$.xf=function(t){var i;return!wf||$.hd&&$.cd("9")&&!$.cd("10")&&$.fa.SVGElement&&t instanceof $.fa.SVGElement||!(i=t.parentElement)?(i=t.parentNode,$.vf(i)?i:null):i},$.yf=function(t,i){if(!t||!i)return!1;if(t.contains&&1==i.nodeType)return t==i||t.contains(i);if(void 0!==t.compareDocumentPosition)return t==i||!!(16&t.compareDocumentPosition(i));for(;i&&t!=i;)i=i.parentNode;return i==t},$.Le=function(t){return 9==t.nodeType?t:t.ownerDocument||t.document},$.zf=function(t,i){if("textContent"in t)t.textContent=i;else if(3==t.nodeType)t.data=i;else if(t.firstChild&&3==t.firstChild.nodeType){for(;t.lastChild!=t.firstChild;)t.removeChild(t.lastChild);t.firstChild.data=i}else $.jf(t),t.appendChild($.Le(t).createTextNode(String(i)))},Af=function(t){if("outerHTML"in t)return t.outerHTML;var i=$.Le(t).createElement("DIV");return i.appendChild(t.cloneNode(!0)),i.innerHTML},$.Cf=function(t){var i=[];return $.Bf(t,i,!1),i.join("")},$.Bf=function(t,i,e){if(!(t.nodeName in Df))if(3==t.nodeType)e?i.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(t.nodeValue);else if(t.nodeName in Ff)i.push(Ff[t.nodeName]);else for(t=t.firstChild;t;)$.Bf(t,i,e),t=t.nextSibling},$.ff=function(t){if(t&&"number"==typeof t.length){if($.A(t))return"function"==typeof t.item||"string"==typeof t.item;if($.D(t))return"function"==typeof t.item}return!1},Ke=function(t){this.b=t||$.fa.document||window.document},$.Gf=function(t){$.nd.call(this),this.g=t,this.b={}},Jf=function(t,i,e,n,s,a){if($.y(e))for(var h=0;h<e.length;h++)Jf(t,i,e[h],n,s,a);else{if(!(i=$.Vd(i,e,n||t.handleEvent,s,a||t.g||t)))return t;t.b[i.key]=i}return t},$.Kf=function(t){$.Hc(t.b,function(t,i){this.b.hasOwnProperty(i)&&$.Xd(t)},t),t.b={}},$.Lf=function(){$.nd.call(this),this.xq=new Gd(this),this.uca=this,this.xL=null},$.Mf=function(t,i,e,n){if(!(i=t.xq.b[String(i)]))return!0;i=i.concat();for(var s=!0,a=0;a<i.length;++a){var h=i[a];if(h&&!h.pw&&h.HC==e){var r=h.listener,o=h.jr||h.src;h.GC&&t.Gw(h),s=!1!==r.call(o,n)&&s}}return s&&0!=n.aW},$.Of=function(t,i,e){if($.B(i))(i=Nf(t,i))&&(t.style[i]=e);else for(var n in i){e=t;var s=i[n],a=Nf(e,n);a&&(e.style[a]=s)}},Nf=function(t,i){var e=Pf[i];if(!e){var n=Ua(i),e=n;void 0===t.style[n]&&(n=($.rd?"Webkit":$.gd?"Moz":$.hd?"ms":$.Qf?"O":null)+$.Va(n),void 0!==t.style[n]&&(e=n)),Pf[i]=e}return e},$.Rf=function(t,i){var e=t.style[Ua(i)];return void 0!==e?e:t.style[Nf(t,i)]||""},$.Sf=function(t,i){var e=$.Le(t);return e.defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle(t,null))?e[i]||e.getPropertyValue(i)||"":""},$.Tf=function(t,i){return $.Sf(t,i)||(t.currentStyle?t.currentStyle[i]:null)||t.style&&t.style[i]},$.Vf=function(t,i,e){var n;i instanceof $.Pb?(n=i.x,i=i.y):(n=i,i=e),t.style.left=Uf(n,!1),t.style.top=Uf(i,!1)},$.Xf=function(t){return t=t?$.Le(t):window.document,!$.hd||$.ed(9)||$.Ue($.Ne(t).b)?t.documentElement:t.body},Zf=function(t){var i;try{i=t.getBoundingClientRect()}catch(t){return{left:0,top:0,right:0,bottom:0}}return $.hd&&t.ownerDocument.body&&(t=t.ownerDocument,i.left-=t.documentElement.clientLeft+t.body.clientLeft,i.top-=t.documentElement.clientTop+t.body.clientTop),i},$.$f=function(t){var i=$.Le(t),e=new $.Pb(0,0);return t==$.Xf(i)?e:(t=Zf(t),i=$.Ye($.Ne(i).b),e.x=t.left+i.x,e.y=t.top+i.y,e)},$.ag=function(t){return t=Zf(t),new $.Pb(t.left,t.top)},$.bg=function(t){return 1==t.nodeType?$.ag(t):(t=t.changedTouches?t.changedTouches[0]:t,new $.Pb(t.clientX,t.clientY))},$.cg=function(t,i,e){if(i instanceof $.Sb)e=i.height,i=i.width;else if(void 0==e)throw Error("missing height argument");t.style.width=Uf(i,!0),t.style.height=Uf(e,!0)},Uf=function(t,i){return"number"==typeof t&&(t=(i?Math.round(t):t)+"px"),t},$.eg=function(t){var i=$.dg;if("none"!=$.Tf(t,"display"))return i(t);var e=t.style,n=e.display,s=e.visibility,a=e.position;return e.visibility="hidden",e.position="absolute",e.display="inline",t=i(t),e.display=n,e.position=a,e.visibility=s,t},$.dg=function(t){var i=t.offsetWidth,e=t.offsetHeight,n=$.rd&&!i&&!e;return $.n(i)&&!n||!t.getBoundingClientRect?new $.Sb(i,e):(t=Zf(t),new $.Sb(t.right-t.left,t.bottom-t.top))},$.fg=function(t){var i=$.$f(t);return t=$.eg(t),new $.I(i.x,i.y,t.width,t.height)},$.gg=function(t){return"rtl"==$.Tf(t,"direction")},$.ig=function(t,i,e){if(e=e?null:t.getElementsByTagName("*"),hg){if(i=i?"none":"",t.style&&(t.style[hg]=i),e){t=0;for(var n;n=e[t];t++)n.style&&(n.style[hg]=i)}}else if(($.hd||$.Qf)&&(i=i?"on":"",t.setAttribute("unselectable",i),e))for(t=0;n=e[t];t++)n.setAttribute("unselectable",i)},$.mg=function(t){var i=$.Le(t),e=$.hd&&t.currentStyle;return e&&$.Ue($.Ne(i).b)&&"auto"!=e.width&&"auto"!=e.height&&!e.boxSizing?(i=jg(t,e.width,"width","pixelWidth"),t=jg(t,e.height,"height","pixelHeight"),new $.Sb(i,t)):(e=new $.Sb(t.offsetWidth,t.offsetHeight),i=$.kg(t),t=$.lg(t),new $.Sb(e.width-t.left-i.left-i.right-t.right,e.height-t.top-i.top-i.bottom-t.bottom))},jg=function(t,i,e,n){if(/^\d+px?$/.test(i))return(0,window.parseInt)(i,10);var s=t.style[e],a=t.runtimeStyle[e];return t.runtimeStyle[e]=t.currentStyle[e],t.style[e]=i,i=t.style[n],t.style[e]=s,t.runtimeStyle[e]=a,i},qg=function(t,i){var e=t.currentStyle?t.currentStyle[i]:null;return e?jg(t,e,"left","pixelLeft"):0},$.kg=function(t){if($.hd){var i=qg(t,"paddingLeft"),e=qg(t,"paddingRight"),n=qg(t,"paddingTop");return t=qg(t,"paddingBottom"),new $.Rb(n,e,t,i)}return i=$.Sf(t,"paddingLeft"),e=$.Sf(t,"paddingRight"),n=$.Sf(t,"paddingTop"),t=$.Sf(t,"paddingBottom"),new $.Rb((0,window.parseFloat)(n),(0,window.parseFloat)(e),(0,window.parseFloat)(t),(0,window.parseFloat)(i))},yg=function(t,i){if("none"==(t.currentStyle?t.currentStyle[i+"Style"]:null))return 0;var e=t.currentStyle?t.currentStyle[i+"Width"]:null;return e in xg?xg[e]:jg(t,e,"left","pixelLeft")},$.lg=function(t){if($.hd&&!$.ed(9)){var i=yg(t,"borderLeft"),e=yg(t,"borderRight"),n=yg(t,"borderTop");return t=yg(t,"borderBottom"),new $.Rb(n,e,t,i)}return i=$.Sf(t,"borderLeftWidth"),e=$.Sf(t,"borderRightWidth"),n=$.Sf(t,"borderTopWidth"),t=$.Sf(t,"borderBottomWidth"),new $.Rb((0,window.parseFloat)(n),(0,window.parseFloat)(e),(0,window.parseFloat)(t),(0,window.parseFloat)(i))},$.zg=function(t,i,e){$.Lf.call(this),this.target=t,this.K=i||t,this.j=e||new $.I(window.NaN,window.NaN,window.NaN,window.NaN),this.F=$.Le(t),this.o=new $.Gf(this),$.L(this,this.o),this.deltaY=this.g=this.ba=this.Y=this.clientY=this.clientX=0,this.ma=!0,this.yp=!1,this.R=0,$.Kd(this.K,["touchstart","mousedown"],this.ti,!1,this)},$.Ag=function(t){t.R=Math.pow(3,2)},Bg=function(t,i,e){var n=$.Ye($.Ne(t.F).b);return i+=n.x-t.P.x,e+=n.y-t.P.y,t.P=n,t.g+=i,t.deltaY+=e,i=t.aw(t.g),t=t.pr(t.deltaY),new $.Pb(i,t)},Dg=function(t,i,e,n){t.On(e,n),t.dispatchEvent(new Cg("drag",t,i.clientX,i.clientY,i,e,n))},Cg=function(t,i,e,n,s,a,h,r){$.pd.call(this,t),this.clientX=e,this.clientY=n,this.g=s,this.left=$.n(a)?a:i.g,this.top=$.n(h)?h:i.deltaY,this.o=i,this.B=!!r},Eg=function(t){$.zg.call(this,t.ja()),this.J=t,this.b=[window.NaN,window.NaN],this.pa("earlycancel",this.Lca,!1,this),this.pa("start",this.xF,!1,this),this.pa("beforedrag",this.xF,!1,this),this.pa("drag",this.xF,!1,this),this.pa("end",this.xF,!1,this)},$.Gg=function(){$.Lf.call(this),this.Wa={},this.wb(Fg)},$.Hg=function(t,i){t.Km&=~i},Ig=function(t,i){t.St&&(i&&t.St.fA(t),t.St=null),t.Ed&&t.Ty()},Kg=function(t){$.Jg().UL()&&(t.Mf?(t.na&&t.na.vy(),t.wb(512)):t.na&&t.na.vy())},Lg=function(t){if(!t.Gd){var i=t.Me();t.Gd=i?$.lc(i):null}return t.Gd},Og=function(t,i){var e,n=t.Ca();(e=n)&&(e=Mg,e=e!=Mg&&2!=e&&3!=e||0<n.dx(1)),(e||i)&&(t.Vc=t.Ln(),Ng(t),$.Hg(t,1))},$.Pg=function(){this.F="none",this.B="black",this.ma=0,$.Gg.call(this)},Qg=function(t,i,e,n){this.b=new $.Pb(t||0,i||0),this.g=e||0,this.j=n||0,$.Pg.call(this)},Rg=function(t,i,e){Qg.call(this,t,i,e,e)},$.Sg=function(t,i,e,n,s){$.nd.call(this),this.g=t,this.j=!1,this.J=[],this.b=this.dd=null,this.shape.apply(this,$.pb(arguments,1))},$.Ug=function(t,i){if($.n(i)){if(t.g=i,t.j){var e=t.g;e.Od()?e.o.push(t):t.Vb()}return t}return t.g},Vg=function(t){if(!t.j&&(t.j=!0,t.g)){var i=t.g;i.Od()?i.o.push(t):t.Vb()}},$.Wg=function(){this.j=[],this.g=[],this.J=[],$.Pg.call(this)},Yg=function(t,i,e,n,s,a){var h=0;s=s||null;for(var r=0,o=i.length;r<o;r++){var l=i[r],c=Xg[l]*e[r];a&&1!=l?t.call(s,l,n.slice(h-2,h+c)):t.call(s,l,n.slice(h,h+c)),h+=c}},ah=function(t){if(!t.NM){var i=t.J,e=t.j,n=t.g;t.J=[],t.j=[],t.g=[],Zg(t),Yg((0,$.ua)(function(t,i){$g[t].apply(this,i)},t),e,n,i),t.wb(32)}},bh=function(t){return t.gg()||(Zg(t),t.wb(32)),t},dh=function(t,i,e,n,s,a,h){if(!n||!s)return t.$m(i,e);if(!t.j.length)throw $.kd(9);var r=t.ve[0],o=t.ve[1];if(r==i&&o==e)return t;n=Math.abs(n),s=Math.abs(s),i=(r-i)/2,e=(o-e)/2;var o=i*i,r=e*e,l=n*n,c=s*s,u=o/l+r/c;return 1<u&&(u=Math.sqrt(u),n*=u,s*=u,l=n*n,c=s*s),o=(l*c-l*r-c*o)/(l*r+c*o),0>o&&(o=0),o=Math.sqrt(o),a==h&&(o=-o),a=o*n*e/s,r=-o*s*i/n,o=fc(1,0,(i-a)/n,(e-r)/s),i=fc((i-a)/n,(e-r)/s,(-i-a)/n,(-e-r)/s)%360,!h&&0<i?i-=360:h&&0>i&&(i+=360),ch(t,n,s,o,i)},ch=function(t,i,e,n,s){if(!t.j.length)throw $.kd(9);if(!s)return t;var a,h,r,o=t.ve[0]-$.Lb(n,i),l=t.ve[1]-$.Mb(n,e);r=Math.ceil(Math.abs(s)/359.999-2e-15);for(var c=s/r,u=0;u<r;u++)s=n+c,a=o+$.Lb(s,i),h=l+$.Mb(s,e),t.J.push(i,e,n,c,a,h),t.j.push(4),t.g.push(1),n=s;return t.NM=!1,t.ve=[a,h],t.od(),t.qn=null,t.wb(32),t},$.eh=function(t,i){var e=i||{};return e.closePoint=t.ip?t.ip.slice():[],e.currentPoint=t.ve?t.ve.slice():[],e.segments=t.j.slice(),e.count=t.g.slice(),e.arguments=t.J.slice(),e},Zg=function(t){t.j.length=0,t.g.length=0,t.J.length=0,t.od(),t.qn=null,delete t.ip,delete t.ve,delete t.NM},$.fh=function(){$.Wg.call(this)},$.gh=function(){this.children=[],this.b=[],$.Gg.call(this)},ih=function(t){(0,$.hh)(t.children,function(t,i){return i.Km&&i.Vb(),t||!!i.Km},!1)||$.Hg(t,64)},jh=function(t,i){function e(t){var i=t.ja();i&&($.lf(i),u++),Ig(t,!1),p.push(o)}function n(t){var i=t.ja();return i?(c.appendChild(i),u++,d.push(h),Ig(t,!0)):g=!1,!!c}var s,a,h,r,o,l,c=t.ja(),u=0;if(!t.j)for(t.j={},h=0,r=t.children.length;h<r;h++)t.j[$.ra(t.children[h])]=!0;var f=!1,g=!0,d=[],p=[];for(s=!0,h=0,r=t.children.length-1;h<r;h++)if(t.children[h+1].zIndex()<t.children[h].zIndex()){s=!1;break}var b;for(s?b=t.children:(b=$.nb(t.children),$.xb(b,function(t,i){return t.zIndex()-i.zIndex()})),h=0,r=b.length,o=0,l=t.b.length;h<r&&o<l&&u<i;o++)if(s=b[h],a=t.b[o],$.ra(a)in t.j){if(a!=s||f){if(!n(s))break;f=!0}h++}else e(a);if(u>=i&&(g=!1),g){for(;h<r&&u<i&&n(b[h]);h++);for(;o<l&&u<i;o++)e(t.b[o]);(h<r||o<l)&&(g=!1)}if(g)t.b=$.pb(b,0),t.j=null,$.Hg(t,128);else{for(h=p.length;h--;)$.gb(t.b,p[h],1);for(h=0;h<d.length;h++)t.b.push(b[d[h]])}return u},kh=function(t){for(var i=t.children.length;i--;)t.children[i].wr()},$.sc=function(t){this.Jb=t,this.ek=!1,$.gh.call(this)},nh=function(t,i,e,n){var s;t:{t=(t||"").toLowerCase();for(s in lh)if(lh[s].toLowerCase()==t||lh[s].toLowerCase().replace(/-/g,"")==t){s=lh[s];break t}s="backward-diagonal"}this.type=s,this.color=""+(null!=i?i:"black 0.5"),this.Xe=null!=e?e:1,this.size=null!=n?n:10,$.sc.call(this,new $.I(0,0,this.size,this.size)),(i=mh[this.type])&&i.call(this)},qh=function(t,i,e){this.Jb=new $.I(0,0,t,i),oh(this,e)},yh=function(t,i,e){this.Jb=new $.I(0,0,t,i),xh(this,t,i),oh(this,e,"white")},Ah=function(t,i,e){t=zh(t);for(var n=0;n<i.length;n++){var s=i[n];t.moveTo(s[0],s[1]);for(var a=2;a<s.length;a+=2)t.lineTo(s[a],s[a+1])}e&&t.close()},Bh=function(t,i,e){for(var n=zh(t),s=0;s<i.length;s+=5){var a=i[s],h=i[s+1],r=i[s+2],o=i[s+3],l=i[s+4];a===r&&(a=r=Math.round(a)+l%2/2),h===o&&(h=o=Math.round(h)+l%2/2),n.moveTo(a,h).lineTo(r,o)}e&&t.rotate(e)},Ch=function(t,i){for(var e=0;e<i.length;e+=3){var n=i[e+2];xh(t,n,n,i[e],i[e+1])}},xh=function(t,i,e,n,s){t.rect(n||0,s||0,i,e).fill(t.color).stroke("none")},zh=function(t){return t.path().fill("none").stroke(t.color,t.Xe)},oh=function(t,i,e){for(t=t.path().fill(e||t.color).stroke("none"),e=0;e<i.length;e+=2){var n=i[e],s=i[e+1];t.moveTo(n,s).lineTo(n,s+1,n+1,s+1,n+1,s).close()}},Fh=function(t,i,e,n,s,a,h){this.j=t||null,this.F=a||$.Dh,this.b=h||$.Eh,this.gc=new $.I(i||0,e||0,n||0,s||0),this.g=1,$.Gg.call(this)},Hh=function(t,i,e,n){this.b=new $.I(t||0,i||0,e||0,n||0),this.o=[],this.K=[0,0,0,0],$.Wg.call(this),Gh(this)},Gh=function(t){var i=!t.Ca()||t.Ca().Od();i||t.Ca().te(),bh(t);var e=t.K[0];if(t.XE(t.b.left+e,t.b.top),e=t.K[1],t.$m(t.b.left+t.b.width-t.K[1],t.b.top),t.o[1])switch(t.o[1]){case"round":dh(t,t.b.left+t.b.width,t.b.top+e,e,e,!1,!0);break;case"round-inner":dh(t,t.b.left+t.b.width,t.b.top+e,e,e,!1,!1);break;case"cut":t.$m(t.b.left+t.b.width,t.b.top+e)}if(e=t.K[2],t.$m(t.b.left+t.b.width,t.b.top+t.b.height-e),t.o[2])switch(t.o[2]){case"round":dh(t,t.b.left+t.b.width-e,t.b.top+t.b.height,e,e,!1,!0);break;case"round-inner":dh(t,t.b.left+t.b.width-e,t.b.top+t.b.height,e,e,!1,!1);break;case"cut":t.$m(t.b.left+t.b.width-e,t.b.top+t.b.height)}if(e=t.K[3],t.$m(t.b.left+e,t.b.top+t.b.height),t.o[3])switch(t.o[3]){case"round":dh(t,t.b.left,t.b.top+t.b.height-e,e,e,!1,!0);break;case"round-inner":dh(t,t.b.left,t.b.top+t.b.height-e,e,e,!1,!1);break;cas