aldehyde 0.2.154 → 0.2.156

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/bundle.01a0b7dbabd823a67a31.js +2 -0
  2. package/dist/bundle.01a0b7dbabd823a67a31.js.LICENSE.txt +30 -0
  3. package/dist/bundle.01a0b7dbabd823a67a31.js.gz +0 -0
  4. package/dist/bundle.021f784b1c84781461d2.js +1 -0
  5. package/dist/bundle.03c542ca824e205fe307.js +2 -0
  6. package/dist/bundle.03c542ca824e205fe307.js.LICENSE.txt +27 -0
  7. package/dist/bundle.03c542ca824e205fe307.js.gz +0 -0
  8. package/dist/bundle.15cb660c34802f6cccf5.js +1 -0
  9. package/dist/bundle.15cb660c34802f6cccf5.js.gz +0 -0
  10. package/dist/bundle.1efe3c525f7cb5289934.js +1 -0
  11. package/dist/bundle.1efe3c525f7cb5289934.js.gz +0 -0
  12. package/dist/bundle.23c961ccfebfb418bb3f.js +1 -0
  13. package/dist/bundle.23c961ccfebfb418bb3f.js.gz +0 -0
  14. package/dist/bundle.2465eaaa7b912bcdfa45.js +2 -0
  15. package/dist/bundle.2465eaaa7b912bcdfa45.js.LICENSE.txt +32 -0
  16. package/dist/bundle.2465eaaa7b912bcdfa45.js.gz +0 -0
  17. package/dist/bundle.320c02187dd135005102.js +2 -0
  18. package/dist/bundle.320c02187dd135005102.js.LICENSE.txt +6 -0
  19. package/dist/bundle.320c02187dd135005102.js.gz +0 -0
  20. package/dist/bundle.35a4af7e2d0da1942d79.js +10 -0
  21. package/dist/bundle.35a4af7e2d0da1942d79.js.gz +0 -0
  22. package/dist/bundle.3b2c7bdbe61a4cf963e4.js +1 -0
  23. package/dist/bundle.3b2c7bdbe61a4cf963e4.js.gz +0 -0
  24. package/dist/bundle.3f9072b1629cdb384b46.js +2 -0
  25. package/dist/bundle.3f9072b1629cdb384b46.js.LICENSE.txt +5 -0
  26. package/dist/bundle.3f9072b1629cdb384b46.js.gz +0 -0
  27. package/dist/bundle.46e2295b5360a725bcd5.js +1 -0
  28. package/dist/bundle.46e2295b5360a725bcd5.js.gz +0 -0
  29. package/dist/bundle.492530b9d526ae515db6.js +2 -0
  30. package/dist/bundle.492530b9d526ae515db6.js.LICENSE.txt +7 -0
  31. package/dist/bundle.492530b9d526ae515db6.js.gz +0 -0
  32. package/dist/bundle.4c3c988531c3cf360b87.js +1 -0
  33. package/dist/bundle.4c3c988531c3cf360b87.js.gz +0 -0
  34. package/dist/bundle.4da1a8a32161584fc0af.js +1 -0
  35. package/dist/bundle.5a9afb9ee6cceca506fa.js +5 -0
  36. package/dist/bundle.5a9afb9ee6cceca506fa.js.LICENSE.txt +10 -0
  37. package/dist/bundle.5a9afb9ee6cceca506fa.js.gz +0 -0
  38. package/dist/bundle.5e6cccd06b34a0e3a2ff.js +1 -0
  39. package/dist/bundle.5e6cccd06b34a0e3a2ff.js.gz +0 -0
  40. package/dist/bundle.61cf0615267bbaa0da3d.js +2 -0
  41. package/dist/bundle.61cf0615267bbaa0da3d.js.LICENSE.txt +16 -0
  42. package/dist/bundle.61cf0615267bbaa0da3d.js.gz +0 -0
  43. package/dist/bundle.66521244df6a9af1f8d7.js +1 -0
  44. package/dist/bundle.66521244df6a9af1f8d7.js.gz +0 -0
  45. package/dist/bundle.6fd2dadd29083268c5a6.js +2 -0
  46. package/dist/bundle.6fd2dadd29083268c5a6.js.LICENSE.txt +17 -0
  47. package/dist/bundle.6fd2dadd29083268c5a6.js.gz +0 -0
  48. package/dist/bundle.7fd0f10501de7fdda584.js +1 -0
  49. package/dist/bundle.7fd0f10501de7fdda584.js.gz +0 -0
  50. package/dist/bundle.8241d8d05e35988dd480.js +1 -0
  51. package/dist/bundle.8241d8d05e35988dd480.js.gz +0 -0
  52. package/dist/bundle.840e28984e710e12f467.js +75 -0
  53. package/dist/bundle.840e28984e710e12f467.js.LICENSE.txt +8 -0
  54. package/dist/bundle.840e28984e710e12f467.js.gz +0 -0
  55. package/dist/bundle.a049dc8814bbbf59160f.js +1 -0
  56. package/dist/bundle.a049dc8814bbbf59160f.js.gz +0 -0
  57. package/dist/bundle.a40e498a0d3d2ac8fb3c.js +1 -0
  58. package/dist/bundle.a40e498a0d3d2ac8fb3c.js.gz +0 -0
  59. package/dist/bundle.b7b86a025aa95dea0e19.js +2 -0
  60. package/dist/bundle.b7b86a025aa95dea0e19.js.LICENSE.txt +8 -0
  61. package/dist/bundle.b7b86a025aa95dea0e19.js.gz +0 -0
  62. package/dist/bundle.b7e3eb480b649b3de67b.js +2 -0
  63. package/dist/bundle.b7e3eb480b649b3de67b.js.LICENSE.txt +5 -0
  64. package/dist/bundle.b7e3eb480b649b3de67b.js.gz +0 -0
  65. package/dist/bundle.c1c6028fd703ebf78c2e.js +2 -0
  66. package/dist/bundle.c1c6028fd703ebf78c2e.js.LICENSE.txt +5 -0
  67. package/dist/bundle.c1c6028fd703ebf78c2e.js.gz +0 -0
  68. package/dist/bundle.cd10ae07e0e0c36d0dee.js +2 -0
  69. package/dist/bundle.cd10ae07e0e0c36d0dee.js.LICENSE.txt +22 -0
  70. package/dist/bundle.cd10ae07e0e0c36d0dee.js.gz +0 -0
  71. package/dist/bundle.cf6a1933769c2aee4e6e.js +1 -0
  72. package/dist/bundle.cf6a1933769c2aee4e6e.js.gz +0 -0
  73. package/dist/bundle.e760a70171cf0ae4567b.js +1 -0
  74. package/dist/bundle.e760a70171cf0ae4567b.js.gz +0 -0
  75. package/dist/bundle.f2b373e87dc8616576e5.js +2 -0
  76. package/dist/bundle.f2b373e87dc8616576e5.js.LICENSE.txt +1 -0
  77. package/dist/bundle.f2b373e87dc8616576e5.js.gz +0 -0
  78. package/dist/bundle.f6e1c4fda58154810fe2.js +2 -0
  79. package/dist/bundle.f6e1c4fda58154810fe2.js.LICENSE.txt +41 -0
  80. package/dist/bundle.f6e1c4fda58154810fe2.js.gz +0 -0
  81. package/dist/bundle.fa1e5bf8d58b99ef68e5.js +2 -0
  82. package/dist/bundle.fa1e5bf8d58b99ef68e5.js.LICENSE.txt +1 -0
  83. package/dist/bundle.fa1e5bf8d58b99ef68e5.js.gz +0 -0
  84. package/dist/bundle.fe9c09b8ace9c3117b0a.js +1 -0
  85. package/dist/bundle.fe9c09b8ace9c3117b0a.js.gz +0 -0
  86. package/dist/bundle.feaa17bec2057a4ee54f.js +1 -0
  87. package/dist/bundle.feaa17bec2057a4ee54f.js.gz +0 -0
  88. package/dist/css/chemstruc-graph-6437e59640f8b99b774f.css +12 -0
  89. package/dist/css/chemstruc-graph-6437e59640f8b99b774f.css.gz +0 -0
  90. package/dist/css/common-901df6b21f13391f2a53.css +56 -0
  91. package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css +886 -0
  92. package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css.gz +0 -0
  93. package/dist/css/main-d450a9a253ac65933d37.css +1071 -0
  94. package/dist/css/main-d450a9a253ac65933d37.css.gz +0 -0
  95. package/dist/images/logo-54b328b7.png +0 -0
  96. package/dist/index.html +4 -0
  97. package/lib/controls/entry-control.d.ts.map +1 -1
  98. package/lib/controls/entry-control.js +7 -42
  99. package/lib/controls/entry-control.js.map +1 -1
  100. package/lib/controls/rfield/index.d.ts.map +1 -1
  101. package/lib/controls/rfield/index.js.map +1 -1
  102. package/lib/controls/select/index.d.ts +30 -0
  103. package/lib/controls/select/index.d.ts.map +1 -0
  104. package/lib/controls/select/index.js +145 -0
  105. package/lib/controls/select/index.js.map +1 -0
  106. package/lib/form/criteria-form.d.ts.map +1 -1
  107. package/lib/form/criteria-form.js +6 -3
  108. package/lib/form/criteria-form.js.map +1 -1
  109. package/lib/tmpl/hc-data-source.d.ts +1 -0
  110. package/lib/tmpl/hc-data-source.d.ts.map +1 -1
  111. package/lib/tmpl/hc-data-source.js +28 -3
  112. package/lib/tmpl/hc-data-source.js.map +1 -1
  113. package/lib/tmpl/hcservice-v3.js +7 -7
  114. package/lib/tmpl/hcservice-v3.js.map +1 -1
  115. package/lib/tmpl/interface.d.ts +2 -1
  116. package/lib/tmpl/interface.d.ts.map +1 -1
  117. package/lib/tmpl/superagent.d.ts.map +1 -1
  118. package/lib/tmpl/superagent.js +21 -9
  119. package/lib/tmpl/superagent.js.map +1 -1
  120. package/lib/units/index.d.ts.map +1 -1
  121. package/lib/units/index.js +5 -3
  122. package/lib/units/index.js.map +1 -1
  123. package/package.json +1 -1
  124. package/src/aldehyde/controls/entry-control.tsx +10 -91
  125. package/src/aldehyde/controls/rfield/index.tsx +1 -0
  126. package/src/aldehyde/controls/select/index.tsx +215 -0
  127. package/src/aldehyde/form/criteria-form.tsx +7 -2
  128. package/src/aldehyde/tmpl/hc-data-source.tsx +357 -349
  129. package/src/aldehyde/tmpl/hcservice-v3.tsx +7 -7
  130. package/src/aldehyde/tmpl/interface.tsx +3 -2
  131. package/src/aldehyde/tmpl/superagent.js +18 -10
  132. package/src/aldehyde/units/index.tsx +5 -4
@@ -0,0 +1,2 @@
1
+ /*! For license information please see bundle.03c542ca824e205fe307.js.LICENSE.txt */
2
+ (self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[809],{85261:function(t){window,t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=1)}([function(t,e,r){var n,i;n=[r(2)],void 0===(i=function(t){function e(n){if(e.is(n,"function"))return r?n():t.on("raphael.DOMload",n);if(e.is(n,D))return e._engine.create[p](e,n.splice(0,3+e.is(n[0],P))).add(n);var i=Array.prototype.slice.call(arguments,0);if(e.is(i[i.length-1],"function")){var o=i.pop();return r?o.call(e._engine.create[p](e,i)):t.on("raphael.DOMload",(function(){o.call(e._engine.create[p](e,i))}))}return e._engine.create[p](e,arguments)}e.version="2.3.0",e.eve=t;var r,n,i,o,a=/[, ]+/,s={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},u=/\{(\d+)\}/g,c="hasOwnProperty",l={doc:document,win:window},f={was:Object.prototype[c].call(l.win,"Raphael"),is:l.win.Raphael},h=function(){this.ca=this.customAttributes={}},p="apply",d="concat",v="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,g="",y=" ",m=String,b="split",x="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[b](y),w={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},_=m.prototype.toLowerCase,k=Math,E=k.max,S=k.min,C=k.abs,A=k.pow,O=k.PI,P="number",D="array",j=Object.prototype.toString,T=(e._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),N={NaN:1,Infinity:1,"-Infinity":1},M=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,F=k.round,B=parseFloat,R=parseInt,L=m.prototype.toUpperCase,I=e._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},z=e._availableAnimAttrs={blur:P,"clip-rect":"csv",cx:P,cy:P,fill:"colour","fill-opacity":P,"font-size":P,height:P,opacity:P,path:"path",r:P,rx:P,ry:P,stroke:"colour","stroke-opacity":P,"stroke-width":P,transform:"transform",width:P,x:P,y:P},q=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,U={hs:1,rg:1},V=/,?([achlmqrstvxz]),?/gi,H=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,W=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,$=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,G=(e._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),Y=function(t,e){return B(t)-B(e)},X=function(t){return t},K=e._rectPath=function(t,e,r,n,i){return i?[["M",t+i,e],["l",r-2*i,0],["a",i,i,0,0,1,i,i],["l",0,n-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-r,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-n],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",r,0],["l",0,n],["l",-r,0],["z"]]},Z=function(t,e,r,n){return null==n&&(n=r),[["M",t,e],["m",0,-n],["a",r,n,0,1,1,0,2*n],["a",r,n,0,1,1,0,-2*n],["z"]]},Q=e._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return Z(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return Z(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return K(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return K(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return K(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return K(e.x,e.y,e.width,e.height)}},J=e.mapPath=function(t,e){if(!e)return t;var r,n,i,o,a,s,u;for(i=0,a=(t=At(t)).length;i<a;i++)for(o=1,s=(u=t[i]).length;o<s;o+=2)r=e.x(u[o],u[o+1]),n=e.y(u[o],u[o+1]),u[o]=r,u[o+1]=n;return t};if(e._g=l,e.type=l.win.SVGAngle||l.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==e.type){var tt,et=l.doc.createElement("div");if(et.innerHTML='<v:shape adj="1"/>',(tt=et.firstChild).style.behavior="url(#default#VML)",!tt||"object"!=typeof tt.adj)return e.type=g;et=null}function rt(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var r in t)t[c](r)&&(e[r]=rt(t[r]));return e}e.svg=!(e.vml="VML"==e.type),e._Paper=h,e.fn=n=h.prototype=e.prototype,e._id=0,e.is=function(t,e){return"finite"==(e=_.call(e))?!N[c](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||j.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,r,n,i,o,a){if(null==o){var s=t-n,u=r-i;return s||u?(180+180*k.atan2(-u,-s)/O+360)%360:0}return e.angle(t,r,o,a)-e.angle(n,i,o,a)},e.rad=function(t){return t%360*O/180},e.deg=function(t){return Math.round(180*t/O%360*1e3)/1e3},e.snapTo=function(t,r,n){if(n=e.is(n,"finite")?n:10,e.is(t,D)){for(var i=t.length;i--;)if(C(t[i]-r)<=n)return t[i]}else{var o=r%(t=+t);if(o<n)return r-o;if(o>t-n)return r-o+t}return r},e.createUUID=(i=/[xy]/g,o=function(t){var e=16*k.random()|0;return("x"==t?e:3&e|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(i,o).toUpperCase()}),e.setWindow=function(r){t("raphael.setWindow",e,l.win,r),l.win=r,l.doc=l.win.document,e._engine.initWin&&e._engine.initWin(l.win)};var nt=function(t){if(e.vml){var r,n=/^\s+|\s+$/g;try{var i=new ActiveXObject("htmlfile");i.write("<body>"),i.close(),r=i.body}catch(t){r=createPopup().document.body}var o=r.createTextRange();nt=ct((function(t){try{r.style.color=m(t).replace(n,g);var e=o.queryCommandValue("ForeColor");return"#"+("000000"+(e=(255&e)<<16|65280&e|(16711680&e)>>>16).toString(16)).slice(-6)}catch(t){return"none"}}))}else{var a=l.doc.createElement("i");a.title="Raphaël Colour Picker",a.style.display="none",l.doc.body.appendChild(a),nt=ct((function(t){return a.style.color=t,l.doc.defaultView.getComputedStyle(a,g).getPropertyValue("color")}))}return nt(t)},it=function(){return"hsb("+[this.h,this.s,this.b]+")"},ot=function(){return"hsl("+[this.h,this.s,this.l]+")"},at=function(){return this.hex},st=function(t,r,n){if(null==r&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,r=t.g,t=t.r),null==r&&e.is(t,"string")){var i=e.getRGB(t);t=i.r,r=i.g,n=i.b}return(t>1||r>1||n>1)&&(t/=255,r/=255,n/=255),[t,r,n]},ut=function(t,r,n,i){var o={r:t*=255,g:r*=255,b:n*=255,hex:e.rgb(t,r,n),toString:at};return e.is(i,"finite")&&(o.opacity=i),o};function ct(t,e,r){return function n(){var i=Array.prototype.slice.call(arguments,0),o=i.join("␀"),a=n.cache=n.cache||{},s=n.count=n.count||[];return a[c](o)?(function(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return t.push(t.splice(r,1)[0])}(s,o),r?r(a[o]):a[o]):(s.length>=1e3&&delete a[s.shift()],s.push(o),a[o]=t[p](e,i),r?r(a[o]):a[o])}}function lt(){return this.hex}function ft(t,e){for(var r=[],n=0,i=t.length;i-2*!e>n;n+=2){var o=[{x:+t[n-2],y:+t[n-1]},{x:+t[n],y:+t[n+1]},{x:+t[n+2],y:+t[n+3]},{x:+t[n+4],y:+t[n+5]}];e?n?i-4==n?o[3]={x:+t[0],y:+t[1]}:i-2==n&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==n?o[3]=o[2]:n||(o[0]={x:+t[n],y:+t[n+1]}),r.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return r}e.color=function(t){var r;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(r=e.hsb2rgb(t),t.r=r.r,t.g=r.g,t.b=r.b,t.hex=r.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(r=e.hsl2rgb(t),t.r=r.r,t.g=r.g,t.b=r.b,t.hex=r.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(r=e.rgb2hsl(t),t.h=r.h,t.s=r.s,t.l=r.l,r=e.rgb2hsb(t),t.v=r.b):(t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1),t.toString=at,t},e.hsb2rgb=function(t,e,r,n){var i,o,a,s,u;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(r=t.b,e=t.s,n=t.o,t=t.h),s=(u=r*e)*(1-C((t=(t*=360)%360/60)%2-1)),i=o=a=r-u,ut(i+=[u,s,0,0,s,u][t=~~t],o+=[s,u,u,s,0,0][t],a+=[0,0,s,u,u,s][t],n)},e.hsl2rgb=function(t,e,r,n){var i,o,a,s,u;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(r=t.l,e=t.s,t=t.h),(t>1||e>1||r>1)&&(t/=360,e/=100,r/=100),s=(u=2*e*(r<.5?r:1-r))*(1-C((t=(t*=360)%360/60)%2-1)),i=o=a=r-u/2,ut(i+=[u,s,0,0,s,u][t=~~t],o+=[s,u,u,s,0,0][t],a+=[0,0,s,u,u,s][t],n)},e.rgb2hsb=function(t,e,r){var n,i;return t=(r=st(t,e,r))[0],e=r[1],r=r[2],{h:((0==(i=(n=E(t,e,r))-S(t,e,r))?null:n==t?(e-r)/i:n==e?(r-t)/i+2:(t-e)/i+4)+360)%6*60/360,s:0==i?0:i/n,b:n,toString:it}},e.rgb2hsl=function(t,e,r){var n,i,o,a;return t=(r=st(t,e,r))[0],e=r[1],r=r[2],n=((i=E(t,e,r))+(o=S(t,e,r)))/2,{h:((0==(a=i-o)?null:i==t?(e-r)/a:i==e?(r-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:n<.5?a/(2*n):a/(2-2*n),l:n,toString:ot}},e._path2string=function(){return this.join(",").replace(V,"$1")},e._preload=function(t,e){var r=l.doc.createElement("img");r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){e.call(this),this.onload=null,l.doc.body.removeChild(this)},r.onerror=function(){l.doc.body.removeChild(this)},l.doc.body.appendChild(r),r.src=t},e.getRGB=ct((function(t){if(!t||(t=m(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:lt};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:lt};!U[c](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=nt(t));var r,n,i,o,a,s,u=t.match(T);return u?(u[2]&&(i=R(u[2].substring(5),16),n=R(u[2].substring(3,5),16),r=R(u[2].substring(1,3),16)),u[3]&&(i=R((a=u[3].charAt(3))+a,16),n=R((a=u[3].charAt(2))+a,16),r=R((a=u[3].charAt(1))+a,16)),u[4]&&(s=u[4][b](q),r=B(s[0]),"%"==s[0].slice(-1)&&(r*=2.55),n=B(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),i=B(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),"rgba"==u[1].toLowerCase().slice(0,4)&&(o=B(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100)),u[5]?(s=u[5][b](q),r=B(s[0]),"%"==s[0].slice(-1)&&(r*=2.55),n=B(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),i=B(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(r/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(o=B(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsb2rgb(r,n,i,o)):u[6]?(s=u[6][b](q),r=B(s[0]),"%"==s[0].slice(-1)&&(r*=2.55),n=B(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),i=B(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(r/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(o=B(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsl2rgb(r,n,i,o)):((u={r:r,g:n,b:i,toString:lt}).hex="#"+(16777216|i|n<<8|r<<16).toString(16).slice(1),e.is(o,"finite")&&(u.opacity=o),u)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:lt}}),e),e.hsb=ct((function(t,r,n){return e.hsb2rgb(t,r,n).hex})),e.hsl=ct((function(t,r,n){return e.hsl2rgb(t,r,n).hex})),e.rgb=ct((function(t,e,r){function n(t){return t+.5|0}return"#"+(16777216|n(r)|n(e)<<8|n(t)<<16).toString(16).slice(1)})),e.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},r=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),r.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var r=ht(t);if(r.arr)return bt(r.arr);var n={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},i=[];return e.is(t,D)&&e.is(t[0],D)&&(i=bt(t)),i.length||m(t).replace(H,(function(t,e,r){var o=[],a=e.toLowerCase();if(r.replace($,(function(t,e){e&&o.push(+e)})),"m"==a&&o.length>2&&(i.push([e][d](o.splice(0,2))),a="l",e="m"==e?"l":"L"),"r"==a)i.push([e][d](o));else for(;o.length>=n[a]&&(i.push([e][d](o.splice(0,n[a]))),n[a]););})),i.toString=e._path2string,r.arr=bt(i),i},e.parseTransformString=ct((function(t){if(!t)return null;var r=[];return e.is(t,D)&&e.is(t[0],D)&&(r=bt(t)),r.length||m(t).replace(W,(function(t,e,n){var i=[];_.call(e),n.replace($,(function(t,e){e&&i.push(+e)})),r.push([e][d](i))})),r.toString=e._path2string,r}),this,(function(t){if(!t)return t;for(var e=[],r=0;r<t.length;r++){for(var n=[],i=0;i<t[r].length;i++)n.push(t[r][i]);e.push(n)}return e}));var ht=function(t){var e=ht.ps=ht.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout((function(){for(var r in e)e[c](r)&&r!=t&&(e[r].sleep--,!e[r].sleep&&delete e[r])})),e[t]};function pt(t,e,r,n,i){return t*(t*(-3*e+9*r-9*n+3*i)+6*e-12*r+6*n)-3*e+3*r}function dt(t,e,r,n,i,o,a,s,u){null==u&&(u=1);for(var c=(u=u>1?1:u<0?0:u)/2,l=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,p=0;p<12;p++){var d=c*l[p]+c,v=pt(d,t,r,i,a),g=pt(d,e,n,o,s),y=v*v+g*g;h+=f[p]*k.sqrt(y)}return c*h}function vt(t,e,r,n,i,o,a,s){if(!(E(t,r)<S(i,a)||S(t,r)>E(i,a)||E(e,n)<S(o,s)||S(e,n)>E(o,s))){var u=(t-r)*(o-s)-(e-n)*(i-a);if(u){var c=((t*n-e*r)*(i-a)-(t-r)*(i*s-o*a))/u,l=((t*n-e*r)*(o-s)-(e-n)*(i*s-o*a))/u,f=+c.toFixed(2),h=+l.toFixed(2);if(!(f<+S(t,r).toFixed(2)||f>+E(t,r).toFixed(2)||f<+S(i,a).toFixed(2)||f>+E(i,a).toFixed(2)||h<+S(e,n).toFixed(2)||h>+E(e,n).toFixed(2)||h<+S(o,s).toFixed(2)||h>+E(o,s).toFixed(2)))return{x:c,y:l}}}}function gt(t,r,n){var i=e.bezierBBox(t),o=e.bezierBBox(r);if(!e.isBBoxIntersect(i,o))return n?0:[];for(var a=dt.apply(0,t),s=dt.apply(0,r),u=E(~~(a/5),1),c=E(~~(s/5),1),l=[],f=[],h={},p=n?0:[],d=0;d<u+1;d++){var v=e.findDotsAtSegment.apply(e,t.concat(d/u));l.push({x:v.x,y:v.y,t:d/u})}for(d=0;d<c+1;d++)v=e.findDotsAtSegment.apply(e,r.concat(d/c)),f.push({x:v.x,y:v.y,t:d/c});for(d=0;d<u;d++)for(var g=0;g<c;g++){var y=l[d],m=l[d+1],b=f[g],x=f[g+1],w=C(m.x-y.x)<.001?"y":"x",_=C(x.x-b.x)<.001?"y":"x",k=vt(y.x,y.y,m.x,m.y,b.x,b.y,x.x,x.y);if(k){if(h[k.x.toFixed(4)]==k.y.toFixed(4))continue;h[k.x.toFixed(4)]=k.y.toFixed(4);var A=y.t+C((k[w]-y[w])/(m[w]-y[w]))*(m.t-y.t),O=b.t+C((k[_]-b[_])/(x[_]-b[_]))*(x.t-b.t);A>=0&&A<=1.001&&O>=0&&O<=1.001&&(n?p++:p.push({x:k.x,y:k.y,t1:S(A,1),t2:S(O,1)}))}}return p}function yt(t,r,n){t=e._path2curve(t),r=e._path2curve(r);for(var i,o,a,s,u,c,l,f,h,p,d=n?0:[],v=0,g=t.length;v<g;v++){var y=t[v];if("M"==y[0])i=u=y[1],o=c=y[2];else{"C"==y[0]?(h=[i,o].concat(y.slice(1)),i=h[6],o=h[7]):(h=[i,o,i,o,u,c,u,c],i=u,o=c);for(var m=0,b=r.length;m<b;m++){var x=r[m];if("M"==x[0])a=l=x[1],s=f=x[2];else{"C"==x[0]?(p=[a,s].concat(x.slice(1)),a=p[6],s=p[7]):(p=[a,s,a,s,l,f,l,f],a=l,s=f);var w=gt(h,p,n);if(n)d+=w;else{for(var _=0,k=w.length;_<k;_++)w[_].segment1=v,w[_].segment2=m,w[_].bez1=h,w[_].bez2=p;d=d.concat(w)}}}}}return d}e.findDotsAtSegment=function(t,e,r,n,i,o,a,s,u){var c=1-u,l=A(c,3),f=A(c,2),h=u*u,p=h*u,d=l*t+3*f*u*r+3*c*u*u*i+p*a,v=l*e+3*f*u*n+3*c*u*u*o+p*s,g=t+2*u*(r-t)+h*(i-2*r+t),y=e+2*u*(n-e)+h*(o-2*n+e),m=r+2*u*(i-r)+h*(a-2*i+r),b=n+2*u*(o-n)+h*(s-2*o+n),x=c*t+u*r,w=c*e+u*n,_=c*i+u*a,E=c*o+u*s,S=90-180*k.atan2(g-m,y-b)/O;return(g>m||y<b)&&(S+=180),{x:d,y:v,m:{x:g,y:y},n:{x:m,y:b},start:{x:x,y:w},end:{x:_,y:E},alpha:S}},e.bezierBBox=function(t,r,n,i,o,a,s,u){e.is(t,"array")||(t=[t,r,n,i,o,a,s,u]);var c=Ct.apply(null,t);return{x:c.min.x,y:c.min.y,x2:c.max.x,y2:c.max.y,width:c.max.x-c.min.x,height:c.max.y-c.min.y}},e.isPointInsideBBox=function(t,e,r){return e>=t.x&&e<=t.x2&&r>=t.y&&r<=t.y2},e.isBBoxIntersect=function(t,r){var n=e.isPointInsideBBox;return n(r,t.x,t.y)||n(r,t.x2,t.y)||n(r,t.x,t.y2)||n(r,t.x2,t.y2)||n(t,r.x,r.y)||n(t,r.x2,r.y)||n(t,r.x,r.y2)||n(t,r.x2,r.y2)||(t.x<r.x2&&t.x>r.x||r.x<t.x2&&r.x>t.x)&&(t.y<r.y2&&t.y>r.y||r.y<t.y2&&r.y>t.y)},e.pathIntersection=function(t,e){return yt(t,e)},e.pathIntersectionNumber=function(t,e){return yt(t,e,1)},e.isPointInsidePath=function(t,r,n){var i=e.pathBBox(t);return e.isPointInsideBBox(i,r,n)&&yt(t,[["M",r,n],["H",i.x2+10]],1)%2==1},e._removedFactory=function(e){return function(){t("raphael.log",null,"Raphaël: you are calling to method “"+e+"” of removed object",e)}};var mt=e.pathBBox=function(t){var e=ht(t);if(e.bbox)return rt(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var r,n=0,i=0,o=[],a=[],s=0,u=(t=At(t)).length;s<u;s++)if("M"==(r=t[s])[0])n=r[1],i=r[2],o.push(n),a.push(i);else{var c=Ct(n,i,r[1],r[2],r[3],r[4],r[5],r[6]);o=o[d](c.min.x,c.max.x),a=a[d](c.min.y,c.max.y),n=r[5],i=r[6]}var l=S[p](0,o),f=S[p](0,a),h=E[p](0,o),v=E[p](0,a),g=h-l,y=v-f,m={x:l,y:f,x2:h,y2:v,width:g,height:y,cx:l+g/2,cy:f+y/2};return e.bbox=rt(m),m},bt=function(t){var r=rt(t);return r.toString=e._path2string,r},xt=e._pathToRelative=function(t){var r=ht(t);if(r.rel)return bt(r.rel);e.is(t,D)&&e.is(t&&t[0],D)||(t=e.parsePathString(t));var n=[],i=0,o=0,a=0,s=0,u=0;"M"==t[0][0]&&(a=i=t[0][1],s=o=t[0][2],u++,n.push(["M",i,o]));for(var c=u,l=t.length;c<l;c++){var f=n[c]=[],h=t[c];if(h[0]!=_.call(h[0]))switch(f[0]=_.call(h[0]),f[0]){case"a":f[1]=h[1],f[2]=h[2],f[3]=h[3],f[4]=h[4],f[5]=h[5],f[6]=+(h[6]-i).toFixed(3),f[7]=+(h[7]-o).toFixed(3);break;case"v":f[1]=+(h[1]-o).toFixed(3);break;case"m":a=h[1],s=h[2];default:for(var p=1,d=h.length;p<d;p++)f[p]=+(h[p]-(p%2?i:o)).toFixed(3)}else{f=n[c]=[],"m"==h[0]&&(a=h[1]+i,s=h[2]+o);for(var v=0,g=h.length;v<g;v++)n[c][v]=h[v]}var y=n[c].length;switch(n[c][0]){case"z":i=a,o=s;break;case"h":i+=+n[c][y-1];break;case"v":o+=+n[c][y-1];break;default:i+=+n[c][y-2],o+=+n[c][y-1]}}return n.toString=e._path2string,r.rel=bt(n),n},wt=e._pathToAbsolute=function(t){var r=ht(t);if(r.abs)return bt(r.abs);if(e.is(t,D)&&e.is(t&&t[0],D)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var n=[],i=0,o=0,a=0,s=0,u=0;"M"==t[0][0]&&(a=i=+t[0][1],s=o=+t[0][2],u++,n[0]=["M",i,o]);for(var c,l,f=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),h=u,p=t.length;h<p;h++){if(n.push(c=[]),(l=t[h])[0]!=L.call(l[0]))switch(c[0]=L.call(l[0]),c[0]){case"A":c[1]=l[1],c[2]=l[2],c[3]=l[3],c[4]=l[4],c[5]=l[5],c[6]=+(l[6]+i),c[7]=+(l[7]+o);break;case"V":c[1]=+l[1]+o;break;case"H":c[1]=+l[1]+i;break;case"R":for(var v=[i,o][d](l.slice(1)),g=2,y=v.length;g<y;g++)v[g]=+v[g]+i,v[++g]=+v[g]+o;n.pop(),n=n[d](ft(v,f));break;case"M":a=+l[1]+i,s=+l[2]+o;default:for(g=1,y=l.length;g<y;g++)c[g]=+l[g]+(g%2?i:o)}else if("R"==l[0])v=[i,o][d](l.slice(1)),n.pop(),n=n[d](ft(v,f)),c=["R"][d](l.slice(-2));else for(var m=0,b=l.length;m<b;m++)c[m]=l[m];switch(c[0]){case"Z":i=a,o=s;break;case"H":i=c[1];break;case"V":o=c[1];break;case"M":a=c[c.length-2],s=c[c.length-1];default:i=c[c.length-2],o=c[c.length-1]}}return n.toString=e._path2string,r.abs=bt(n),n},_t=function(t,e,r,n){return[t,e,r,n,r,n]},kt=function(t,e,r,n,i,o){return[1/3*t+2/3*r,1/3*e+2/3*n,1/3*i+2/3*r,1/3*o+2/3*n,i,o]},Et=function(t,e,r,n,i,o,a,s,u,c){var l,f=120*O/180,h=O/180*(+i||0),p=[],v=ct((function(t,e,r){return{x:t*k.cos(r)-e*k.sin(r),y:t*k.sin(r)+e*k.cos(r)}}));if(c)A=c[0],P=c[1],E=c[2],S=c[3];else{t=(l=v(t,e,-h)).x,e=l.y,s=(l=v(s,u,-h)).x,u=l.y,k.cos(O/180*i),k.sin(O/180*i);var g=(t-s)/2,y=(e-u)/2,m=g*g/(r*r)+y*y/(n*n);m>1&&(r*=m=k.sqrt(m),n*=m);var x=r*r,w=n*n,_=(o==a?-1:1)*k.sqrt(C((x*w-x*y*y-w*g*g)/(x*y*y+w*g*g))),E=_*r*y/n+(t+s)/2,S=_*-n*g/r+(e+u)/2,A=k.asin(((e-S)/n).toFixed(9)),P=k.asin(((u-S)/n).toFixed(9));(A=t<E?O-A:A)<0&&(A=2*O+A),(P=s<E?O-P:P)<0&&(P=2*O+P),a&&A>P&&(A-=2*O),!a&&P>A&&(P-=2*O)}var D=P-A;if(C(D)>f){var j=P,T=s,N=u;P=A+f*(a&&P>A?1:-1),s=E+r*k.cos(P),u=S+n*k.sin(P),p=Et(s,u,r,n,i,0,a,T,N,[P,j,E,S])}D=P-A;var M=k.cos(A),F=k.sin(A),B=k.cos(P),R=k.sin(P),L=k.tan(D/4),I=4/3*r*L,z=4/3*n*L,q=[t,e],U=[t+I*F,e-z*M],V=[s+I*R,u-z*B],H=[s,u];if(U[0]=2*q[0]-U[0],U[1]=2*q[1]-U[1],c)return[U,V,H][d](p);for(var W=[],$=0,G=(p=[U,V,H][d](p).join()[b](",")).length;$<G;$++)W[$]=$%2?v(p[$-1],p[$],h).y:v(p[$],p[$+1],h).x;return W},St=function(t,e,r,n,i,o,a,s,u){var c=1-u;return{x:A(c,3)*t+3*A(c,2)*u*r+3*c*u*u*i+A(u,3)*a,y:A(c,3)*e+3*A(c,2)*u*n+3*c*u*u*o+A(u,3)*s}},Ct=ct((function(t,e,r,n,i,o,a,s){var u,c=i-2*r+t-(a-2*i+r),l=2*(r-t)-2*(i-r),f=t-r,h=(-l+k.sqrt(l*l-4*c*f))/2/c,d=(-l-k.sqrt(l*l-4*c*f))/2/c,v=[e,s],g=[t,a];return C(h)>"1e12"&&(h=.5),C(d)>"1e12"&&(d=.5),h>0&&h<1&&(u=St(t,e,r,n,i,o,a,s,h),g.push(u.x),v.push(u.y)),d>0&&d<1&&(u=St(t,e,r,n,i,o,a,s,d),g.push(u.x),v.push(u.y)),c=o-2*n+e-(s-2*o+n),f=e-n,h=(-(l=2*(n-e)-2*(o-n))+k.sqrt(l*l-4*c*f))/2/c,d=(-l-k.sqrt(l*l-4*c*f))/2/c,C(h)>"1e12"&&(h=.5),C(d)>"1e12"&&(d=.5),h>0&&h<1&&(u=St(t,e,r,n,i,o,a,s,h),g.push(u.x),v.push(u.y)),d>0&&d<1&&(u=St(t,e,r,n,i,o,a,s,d),g.push(u.x),v.push(u.y)),{min:{x:S[p](0,g),y:S[p](0,v)},max:{x:E[p](0,g),y:E[p](0,v)}}})),At=e._path2curve=ct((function(t,e){var r=!e&&ht(t);if(!e&&r.curve)return bt(r.curve);for(var n=wt(t),i=e&&wt(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e,r){var n,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][d](Et[p](0,[e.x,e.y][d](t.slice(1))));break;case"S":"C"==r||"S"==r?(n=2*e.x-e.bx,i=2*e.y-e.by):(n=e.x,i=e.y),t=["C",n,i][d](t.slice(1));break;case"T":"Q"==r||"T"==r?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][d](kt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][d](kt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][d](_t(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][d](_t(e.x,e.y,t[1],e.y));break;case"V":t=["C"][d](_t(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][d](_t(e.x,e.y,e.X,e.Y))}return t},u=function(t,e){if(t[e].length>7){t[e].shift();for(var r=t[e];r.length;)l[e]="A",i&&(f[e]="A"),t.splice(e++,0,["C"][d](r.splice(0,6)));t.splice(e,1),y=E(n.length,i&&i.length||0)}},c=function(t,e,r,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),r.bx=0,r.by=0,r.x=t[a][1],r.y=t[a][2],y=E(n.length,i&&i.length||0))},l=[],f=[],h="",v="",g=0,y=E(n.length,i&&i.length||0);g<y;g++){n[g]&&(h=n[g][0]),"C"!=h&&(l[g]=h,g&&(v=l[g-1])),n[g]=s(n[g],o,v),"A"!=l[g]&&"C"==h&&(l[g]="C"),u(n,g),i&&(i[g]&&(h=i[g][0]),"C"!=h&&(f[g]=h,g&&(v=f[g-1])),i[g]=s(i[g],a,v),"A"!=f[g]&&"C"==h&&(f[g]="C"),u(i,g)),c(n,i,o,a,g),c(i,n,a,o,g);var m=n[g],b=i&&i[g],x=m.length,w=i&&b.length;o.x=m[x-2],o.y=m[x-1],o.bx=B(m[x-4])||o.x,o.by=B(m[x-3])||o.y,a.bx=i&&(B(b[w-4])||a.x),a.by=i&&(B(b[w-3])||a.y),a.x=i&&b[w-2],a.y=i&&b[w-1]}return i||(r.curve=bt(n)),i?[n,i]:n}),null,bt),Ot=(e._parseDots=ct((function(t){for(var r=[],n=0,i=t.length;n<i;n++){var o={},a=t[n].match(/^([^:]*):?([\d\.]*)/);if(o.color=e.getRGB(a[1]),o.color.error)return null;o.opacity=o.color.opacity,o.color=o.color.hex,a[2]&&(o.offset=a[2]+"%"),r.push(o)}for(n=1,i=r.length-1;n<i;n++)if(!r[n].offset){for(var s=B(r[n-1].offset||0),u=0,c=n+1;c<i;c++)if(r[c].offset){u=r[c].offset;break}u||(u=100,c=i);for(var l=((u=B(u))-s)/(c-n+1);n<c;n++)s+=l,r[n].offset=s+"%"}return r})),e._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),Pt=(e._tofront=function(t,e){e.top!==t&&(Ot(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},e._toback=function(t,e){e.bottom!==t&&(Ot(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},e._insertafter=function(t,e,r){Ot(t,r),e==r.top&&(r.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},e._insertbefore=function(t,e,r){Ot(t,r),e==r.bottom&&(r.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},e.toMatrix=function(t,e){var r=mt(t),n={_:{transform:g},getBBox:function(){return r}};return Dt(n,e),n.matrix}),Dt=(e.transformPath=function(t,e){return J(t,Pt(t,e))},e._extractTransform=function(t,r){if(null==r)return t._.transform;r=m(r).replace(/\.{3}|\u2026/g,t._.transform||g);var n,i,o=e.parseTransformString(r),a=0,s=1,u=1,c=t._,l=new Nt;if(c.transform=o||[],o)for(var f=0,h=o.length;f<h;f++){var p,d,v,y,b,x=o[f],w=x.length,_=m(x[0]).toLowerCase(),k=x[0]!=_,E=k?l.invert():0;"t"==_&&3==w?k?(p=E.x(0,0),d=E.y(0,0),v=E.x(x[1],x[2]),y=E.y(x[1],x[2]),l.translate(v-p,y-d)):l.translate(x[1],x[2]):"r"==_?2==w?(b=b||t.getBBox(1),l.rotate(x[1],b.x+b.width/2,b.y+b.height/2),a+=x[1]):4==w&&(k?(v=E.x(x[2],x[3]),y=E.y(x[2],x[3]),l.rotate(x[1],v,y)):l.rotate(x[1],x[2],x[3]),a+=x[1]):"s"==_?2==w||3==w?(b=b||t.getBBox(1),l.scale(x[1],x[w-1],b.x+b.width/2,b.y+b.height/2),s*=x[1],u*=x[w-1]):5==w&&(k?(v=E.x(x[3],x[4]),y=E.y(x[3],x[4]),l.scale(x[1],x[2],v,y)):l.scale(x[1],x[2],x[3],x[4]),s*=x[1],u*=x[2]):"m"==_&&7==w&&l.add(x[1],x[2],x[3],x[4],x[5],x[6]),c.dirtyT=1,t.matrix=l}t.matrix=l,c.sx=s,c.sy=u,c.deg=a,c.dx=n=l.e,c.dy=i=l.f,1==s&&1==u&&!a&&c.bbox?(c.bbox.x+=+n,c.bbox.y+=+i):c.dirtyT=1}),jt=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},Tt=e._equaliseTransform=function(t,r){r=m(r).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],r=e.parseTransformString(r)||[];for(var n,i,o,a,s=E(t.length,r.length),u=[],c=[],l=0;l<s;l++){if(o=t[l]||jt(r[l]),a=r[l]||jt(o),o[0]!=a[0]||"r"==o[0].toLowerCase()&&(o[2]!=a[2]||o[3]!=a[3])||"s"==o[0].toLowerCase()&&(o[3]!=a[3]||o[4]!=a[4]))return;for(u[l]=[],c[l]=[],n=0,i=E(o.length,a.length);n<i;n++)n in o&&(u[l][n]=o[n]),n in a&&(c[l][n]=a[n])}return{from:u,to:c}};function Nt(t,e,r,n,i,o){null!=t?(this.a=+t,this.b=+e,this.c=+r,this.d=+n,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}e._getContainer=function(t,r,n,i){var o;if(null!=(o=null!=i||e.is(t,"object")?t:l.doc.getElementById(t)))return o.tagName?null==r?{container:o,width:o.style.pixelWidth||o.offsetWidth,height:o.style.pixelHeight||o.offsetHeight}:{container:o,width:r,height:n}:{container:1,x:t,y:r,width:n,height:i}},e.pathToRelative=xt,e._engine={},e.path2curve=At,e.matrix=function(t,e,r,n,i,o){return new Nt(t,e,r,n,i,o)},function(t){function r(t){return t[0]*t[0]+t[1]*t[1]}function n(t){var e=k.sqrt(r(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,r,n,i,o){var a,s,u,c,l=[[],[],[]],f=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],h=[[t,r,i],[e,n,o],[0,0,1]];for(t&&t instanceof Nt&&(h=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(c=0,u=0;u<3;u++)c+=f[a][u]*h[u][s];l[a][s]=c}this.a=l[0][0],this.b=l[1][0],this.c=l[0][1],this.d=l[1][1],this.e=l[0][2],this.f=l[1][2]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new Nt(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new Nt(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){this.add(1,0,0,1,t,e)},t.scale=function(t,e,r,n){null==e&&(e=t),(r||n)&&this.add(1,0,0,1,r,n),this.add(t,0,0,e,0,0),(r||n)&&this.add(1,0,0,1,-r,-n)},t.rotate=function(t,r,n){t=e.rad(t),r=r||0,n=n||0;var i=+k.cos(t).toFixed(9),o=+k.sin(t).toFixed(9);this.add(i,o,-o,i,r,n),this.add(1,0,0,1,-r,-n)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[m.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return e.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},t.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];t.scalex=k.sqrt(r(i[0])),n(i[0]),t.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*t.shear,i[1][1]-i[0][1]*t.shear],t.scaley=k.sqrt(r(i[1])),n(i[1]),t.shear/=t.scaley;var o=-i[0][1],a=i[1][1];return a<0?(t.rotate=e.deg(k.acos(a)),o<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(k.asin(o)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[b]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[e.dx,e.dy]:g)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:g)+(e.rotate?"r"+[e.rotate,0,0]:g)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(Nt.prototype);for(var Mt=function(){this.returnValue=!1},Ft=function(){return this.originalEvent.preventDefault()},Bt=function(){this.cancelBubble=!0},Rt=function(){return this.originalEvent.stopPropagation()},Lt=function(t){var e=l.doc.documentElement.scrollTop||l.doc.body.scrollTop,r=l.doc.documentElement.scrollLeft||l.doc.body.scrollLeft;return{x:t.clientX+r,y:t.clientY+e}},It=l.doc.addEventListener?function(t,e,r,n){var i=function(t){var e=Lt(t);return r.call(n,t,e.x,e.y)};if(t.addEventListener(e,i,!1),v&&w[e]){var o=function(e){for(var i=Lt(e),o=e,a=0,s=e.targetTouches&&e.targetTouches.length;a<s;a++)if(e.targetTouches[a].target==t){(e=e.targetTouches[a]).originalEvent=o,e.preventDefault=Ft,e.stopPropagation=Rt;break}return r.call(n,e,i.x,i.y)};t.addEventListener(w[e],o,!1)}return function(){return t.removeEventListener(e,i,!1),v&&w[e]&&t.removeEventListener(w[e],o,!1),!0}}:l.doc.attachEvent?function(t,e,r,n){var i=function(t){t=t||l.win.event;var e=l.doc.documentElement.scrollTop||l.doc.body.scrollTop,i=l.doc.documentElement.scrollLeft||l.doc.body.scrollLeft,o=t.clientX+i,a=t.clientY+e;return t.preventDefault=t.preventDefault||Mt,t.stopPropagation=t.stopPropagation||Bt,r.call(n,t,o,a)};return t.attachEvent("on"+e,i),function(){return t.detachEvent("on"+e,i),!0}}:void 0,zt=[],qt=function(e){for(var r,n=e.clientX,i=e.clientY,o=l.doc.documentElement.scrollTop||l.doc.body.scrollTop,a=l.doc.documentElement.scrollLeft||l.doc.body.scrollLeft,s=zt.length;s--;){if(r=zt[s],v&&e.touches){for(var u,c=e.touches.length;c--;)if((u=e.touches[c]).identifier==r.el._drag.id){n=u.clientX,i=u.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var f,h=r.el.node,p=h.nextSibling,d=h.parentNode,g=h.style.display;l.win.opera&&d.removeChild(h),h.style.display="none",f=r.el.paper.getElementByPoint(n,i),h.style.display=g,l.win.opera&&(p?d.insertBefore(h,p):d.appendChild(h)),f&&t("raphael.drag.over."+r.el.id,r.el,f),n+=a,i+=o,t("raphael.drag.move."+r.el.id,r.move_scope||r.el,n-r.el._drag.x,i-r.el._drag.y,n,i,e)}},Ut=function(r){e.unmousemove(qt).unmouseup(Ut);for(var n,i=zt.length;i--;)(n=zt[i]).el._drag={},t("raphael.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,r);zt=[]},Vt=e.el={},Ht=x.length;Ht--;)!function(t){e[t]=Vt[t]=function(r,n){return e.is(r,"function")&&(this.events=this.events||[],this.events.push({name:t,f:r,unbind:It(this.shape||this.node||l.doc,t,r,n||this)})),this},e["un"+t]=Vt["un"+t]=function(r){for(var n=this.events||[],i=n.length;i--;)n[i].name!=t||!e.is(r,"undefined")&&n[i].f!=r||(n[i].unbind(),n.splice(i,1),!n.length&&delete this.events);return this}}(x[Ht]);Vt.data=function(r,n){var i=G[this.id]=G[this.id]||{};if(0==arguments.length)return i;if(1==arguments.length){if(e.is(r,"object")){for(var o in r)r[c](o)&&this.data(o,r[o]);return this}return t("raphael.data.get."+this.id,this,i[r],r),i[r]}return i[r]=n,t("raphael.data.set."+this.id,this,n,r),this},Vt.removeData=function(t){return null==t?delete G[this.id]:G[this.id]&&delete G[this.id][t],this},Vt.getData=function(){return rt(G[this.id]||{})},Vt.hover=function(t,e,r,n){return this.mouseover(t,r).mouseout(e,n||r)},Vt.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Wt=[];function $t(){return this.x+y+this.y+y+this.width+" × "+this.height}Vt.drag=function(r,n,i,o,a,s){function u(u){(u.originalEvent||u).preventDefault();var c=u.clientX,f=u.clientY,h=l.doc.documentElement.scrollTop||l.doc.body.scrollTop,p=l.doc.documentElement.scrollLeft||l.doc.body.scrollLeft;if(this._drag.id=u.identifier,v&&u.touches)for(var d,g=u.touches.length;g--;)if(d=u.touches[g],this._drag.id=d.identifier,d.identifier==this._drag.id){c=d.clientX,f=d.clientY;break}this._drag.x=c+p,this._drag.y=f+h,!zt.length&&e.mousemove(qt).mouseup(Ut),zt.push({el:this,move_scope:o,start_scope:a,end_scope:s}),n&&t.on("raphael.drag.start."+this.id,n),r&&t.on("raphael.drag.move."+this.id,r),i&&t.on("raphael.drag.end."+this.id,i),t("raphael.drag.start."+this.id,a||o||this,this._drag.x,this._drag.y,u)}return this._drag={},Wt.push({el:this,start:u}),this.mousedown(u),this},Vt.onDragOver=function(e){e?t.on("raphael.drag.over."+this.id,e):t.unbind("raphael.drag.over."+this.id)},Vt.undrag=function(){for(var r=Wt.length;r--;)Wt[r].el==this&&(this.unmousedown(Wt[r].start),Wt.splice(r,1),t.unbind("raphael.drag.*."+this.id));!Wt.length&&e.unmousemove(qt).unmouseup(Ut),zt=[]},n.circle=function(t,r,n){var i=e._engine.circle(this,t||0,r||0,n||0);return this.__set__&&this.__set__.push(i),i},n.rect=function(t,r,n,i,o){var a=e._engine.rect(this,t||0,r||0,n||0,i||0,o||0);return this.__set__&&this.__set__.push(a),a},n.ellipse=function(t,r,n,i){var o=e._engine.ellipse(this,t||0,r||0,n||0,i||0);return this.__set__&&this.__set__.push(o),o},n.path=function(t){t&&!e.is(t,"string")&&!e.is(t[0],D)&&(t+=g);var r=e._engine.path(e.format[p](e,arguments),this);return this.__set__&&this.__set__.push(r),r},n.image=function(t,r,n,i,o){var a=e._engine.image(this,t||"about:blank",r||0,n||0,i||0,o||0);return this.__set__&&this.__set__.push(a),a},n.text=function(t,r,n){var i=e._engine.text(this,t||0,r||0,m(n));return this.__set__&&this.__set__.push(i),i},n.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var r=new fe(t);return this.__set__&&this.__set__.push(r),r.paper=this,r.type="set",r},n.setStart=function(t){this.__set__=t||this.set()},n.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},n.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},n.setSize=function(t,r){return e._engine.setSize.call(this,t,r)},n.setViewBox=function(t,r,n,i,o){return e._engine.setViewBox.call(this,t,r,n,i,o)},n.top=n.bottom=null,n.raphael=e,n.getElementByPoint=function(t,e){var r,n,i,o,a,s,u,c=this.canvas,f=l.doc.elementFromPoint(t,e);if(l.win.opera&&"svg"==f.tagName){var h=(n=(r=c).getBoundingClientRect(),o=(i=r.ownerDocument).body,s=(a=i.documentElement).clientTop||o.clientTop||0,u=a.clientLeft||o.clientLeft||0,{y:n.top+(l.win.pageYOffset||a.scrollTop||o.scrollTop)-s,x:n.left+(l.win.pageXOffset||a.scrollLeft||o.scrollLeft)-u}),p=c.createSVGRect();p.x=t-h.x,p.y=e-h.y,p.width=p.height=1;var d=c.getIntersectionList(p,null);d.length&&(f=d[d.length-1])}if(!f)return null;for(;f.parentNode&&f!=c.parentNode&&!f.raphael;)f=f.parentNode;return f==this.canvas.parentNode&&(f=c),f&&f.raphael?this.getById(f.raphaelid):null},n.getElementsByBBox=function(t){var r=this.set();return this.forEach((function(n){e.isBBoxIntersect(n.getBBox(),t)&&r.push(n)})),r},n.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},n.forEach=function(t,e){for(var r=this.bottom;r;){if(!1===t.call(e,r))return this;r=r.next}return this},n.getElementsByPoint=function(t,e){var r=this.set();return this.forEach((function(n){n.isPointInside(t,e)&&r.push(n)})),r},Vt.isPointInside=function(t,r){var n=this.realPath=Q[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(n=e.transformPath(n,this.attr("transform"))),e.isPointInsidePath(n,t,r)},Vt.getBBox=function(t){if(this.removed)return{};var e=this._;return t?(!e.dirty&&e.bboxwt||(this.realPath=Q[this.type](this),e.bboxwt=mt(this.realPath),e.bboxwt.toString=$t,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=Q[this.type](this)),e.bbox=mt(J(this.realPath,this.matrix)),e.bbox.toString=$t,e.dirty=e.dirtyT=0),e.bbox)},Vt.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},Vt.glow=function(t){if("text"==this.type)return null;var e={width:((t=t||{}).width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:null==t.opacity?.5:t.opacity,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},r=e.width/2,n=this.paper,i=n.set(),o=this.realPath||Q[this.type](this);o=this.matrix?J(o,this.matrix):o;for(var a=1;a<r+1;a++)i.push(n.path(o).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/r*a).toFixed(3),opacity:+(e.opacity/r).toFixed(3)}));return i.insertBefore(this).translate(e.offsetx,e.offsety)};var Gt=function(t,r,n,i,o,a,s,u,c){return null==c?dt(t,r,n,i,o,a,s,u):e.findDotsAtSegment(t,r,n,i,o,a,s,u,function(t,e,r,n,i,o,a,s,u){if(!(u<0||dt(t,e,r,n,i,o,a,s)<u)){var c,l=.5,f=1-l;for(c=dt(t,e,r,n,i,o,a,s,f);C(c-u)>.01;)c=dt(t,e,r,n,i,o,a,s,f+=(c<u?1:-1)*(l/=2));return f}}(t,r,n,i,o,a,s,u,c))},Yt=function(t,r){return function(n,i,o){for(var a,s,u,c,l,f="",h={},p=0,d=0,v=(n=At(n)).length;d<v;d++){if("M"==(u=n[d])[0])a=+u[1],s=+u[2];else{if(p+(c=Gt(a,s,u[1],u[2],u[3],u[4],u[5],u[6]))>i){if(r&&!h.start){if(f+=["C"+(l=Gt(a,s,u[1],u[2],u[3],u[4],u[5],u[6],i-p)).start.x,l.start.y,l.m.x,l.m.y,l.x,l.y],o)return f;h.start=f,f=["M"+l.x,l.y+"C"+l.n.x,l.n.y,l.end.x,l.end.y,u[5],u[6]].join(),p+=c,a=+u[5],s=+u[6];continue}if(!t&&!r)return{x:(l=Gt(a,s,u[1],u[2],u[3],u[4],u[5],u[6],i-p)).x,y:l.y,alpha:l.alpha}}p+=c,a=+u[5],s=+u[6]}f+=u.shift()+u}return h.end=f,(l=t?p:r?h:e.findDotsAtSegment(a,s,u[0],u[1],u[2],u[3],u[4],u[5],1)).alpha&&(l={x:l.x,y:l.y,alpha:l.alpha}),l}},Xt=Yt(1),Kt=Yt(),Zt=Yt(0,1);e.getTotalLength=Xt,e.getPointAtLength=Kt,e.getSubpath=function(t,e,r){if(this.getTotalLength(t)-r<1e-6)return Zt(t,e).end;var n=Zt(t,r,1);return e?Zt(n,e).end:n},Vt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():Xt(t)},Vt.getPointAtLength=function(t){var e=this.getPath();if(e)return Kt(e,t)},Vt.getPath=function(){var t,r=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return r&&(t=r(this)),t},Vt.getSubpath=function(t,r){var n=this.getPath();if(n)return e.getSubpath(n,t,r)};var Qt=e.easing_formulas={linear:function(t){return t},"<":function(t){return A(t,1.7)},">":function(t){return A(t,.48)},"<>":function(t){var e=.48-t/1.04,r=k.sqrt(.1734+e*e),n=r-e,i=-r-e,o=A(C(n),1/3)*(n<0?-1:1)+A(C(i),1/3)*(i<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:A(2,-10*t)*k.sin(2*O*(t-.075)/.3)+1},bounce:function(t){var e=7.5625,r=2.75;return t<1/r?e*t*t:t<2/r?e*(t-=1.5/r)*t+.75:t<2.5/r?e*(t-=2.25/r)*t+.9375:e*(t-=2.625/r)*t+.984375}};Qt.easeIn=Qt["ease-in"]=Qt["<"],Qt.easeOut=Qt["ease-out"]=Qt[">"],Qt.easeInOut=Qt["ease-in-out"]=Qt["<>"],Qt["back-in"]=Qt.backIn,Qt["back-out"]=Qt.backOut;var Jt=[],te=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ee=function(){for(var r=+new Date,n=0;n<Jt.length;n++){var i=Jt[n];if(!i.el.removed&&!i.paused){var o,a,s=r-i.start,u=i.ms,l=i.easing,f=i.from,h=i.diff,p=i.to,v=(i.t,i.el),g={},m={};if(i.initstatus?(s=(i.initstatus*i.anim.top-i.prev)/(i.percent-i.prev)*u,i.status=i.initstatus,delete i.initstatus,i.stop&&Jt.splice(n--,1)):i.status=(i.prev+(i.percent-i.prev)*(s/u))/i.anim.top,!(s<0))if(s<u){var b=l(s/u);for(var x in f)if(f[c](x)){switch(z[x]){case P:o=+f[x]+b*u*h[x];break;case"colour":o="rgb("+[re(F(f[x].r+b*u*h[x].r)),re(F(f[x].g+b*u*h[x].g)),re(F(f[x].b+b*u*h[x].b))].join(",")+")";break;case"path":o=[];for(var w=0,_=f[x].length;w<_;w++){o[w]=[f[x][w][0]];for(var k=1,E=f[x][w].length;k<E;k++)o[w][k]=+f[x][w][k]+b*u*h[x][w][k];o[w]=o[w].join(y)}o=o.join(y);break;case"transform":if(h[x].real)for(o=[],w=0,_=f[x].length;w<_;w++)for(o[w]=[f[x][w][0]],k=1,E=f[x][w].length;k<E;k++)o[w][k]=f[x][w][k]+b*u*h[x][w][k];else{var S=function(t){return+f[x][t]+b*u*h[x][t]};o=[["m",S(0),S(1),S(2),S(3),S(4),S(5)]]}break;case"csv":if("clip-rect"==x)for(o=[],w=4;w--;)o[w]=+f[x][w]+b*u*h[x][w];break;default:var C=[][d](f[x]);for(o=[],w=v.paper.customAttributes[x].length;w--;)o[w]=+C[w]+b*u*h[x][w]}g[x]=o}v.attr(g),function(e,r,n){setTimeout((function(){t("raphael.anim.frame."+e,r,n)}))}(v.id,v,i.anim)}else{if(function(r,n,i){setTimeout((function(){t("raphael.anim.frame."+n.id,n,i),t("raphael.anim.finish."+n.id,n,i),e.is(r,"function")&&r.call(n)}))}(i.callback,v,i.anim),v.attr(p),Jt.splice(n--,1),i.repeat>1&&!i.next){for(a in p)p[c](a)&&(m[a]=i.totalOrigin[a]);i.el.attr(m),oe(i.anim,i.el,i.anim.percents[0],null,i.totalOrigin,i.repeat-1)}i.next&&!i.stop&&oe(i.anim,i.el,i.next,null,i.totalOrigin,i.repeat)}}}Jt.length&&te(ee)},re=function(t){return t>255?255:t<0?0:t};function ne(t,e,r,n,i,o){var a=3*e,s=3*(n-e)-a,u=1-a-s,c=3*r,l=3*(i-r)-c,f=1-c-l;function h(t){return((u*t+s)*t+a)*t}return function(t,e){var r=function(t,e){var r,n,i,o,c,l;for(i=t,l=0;l<8;l++){if(o=h(i)-t,C(o)<e)return i;if(C(c=(3*u*i+2*s)*i+a)<1e-6)break;i-=o/c}if((i=t)<(r=0))return r;if(i>(n=1))return n;for(;r<n;){if(o=h(i),C(o-t)<e)return i;t>o?r=i:n=i,i=(n-r)/2+r}return i}(t,e);return((f*r+l)*r+c)*r}(t,1/(200*o))}function ie(t,e){var r=[],n={};if(this.ms=e,this.times=1,t){for(var i in t)t[c](i)&&(n[B(i)]=t[i],r.push(B(i)));r.sort(Y)}this.anim=n,this.top=r[r.length-1],this.percents=r}function oe(r,n,i,o,s,u){i=B(i);var l,f,h,p,v,g,y=r.ms,x={},w={},_={};if(o)for(E=0,S=Jt.length;E<S;E++){var k=Jt[E];if(k.el.id==n.id&&k.anim==r){k.percent!=i?(Jt.splice(E,1),h=1):f=k,n.attr(k.totalOrigin);break}}else o=+w;for(var E=0,S=r.percents.length;E<S;E++){if(r.percents[E]==i||r.percents[E]>o*r.top){i=r.percents[E],v=r.percents[E-1]||0,y=y/r.top*(i-v),p=r.percents[E+1],l=r.anim[i];break}o&&n.attr(r.anim[r.percents[E]])}if(l){if(f)f.initstatus=o,f.start=new Date-f.ms*o;else{for(var C in l)if(l[c](C)&&(z[c](C)||n.paper.customAttributes[c](C)))switch(x[C]=n.attr(C),null==x[C]&&(x[C]=I[C]),w[C]=l[C],z[C]){case P:_[C]=(w[C]-x[C])/y;break;case"colour":x[C]=e.getRGB(x[C]);var A=e.getRGB(w[C]);_[C]={r:(A.r-x[C].r)/y,g:(A.g-x[C].g)/y,b:(A.b-x[C].b)/y};break;case"path":var O=At(x[C],w[C]),D=O[1];for(x[C]=O[0],_[C]=[],E=0,S=x[C].length;E<S;E++){_[C][E]=[0];for(var j=1,T=x[C][E].length;j<T;j++)_[C][E][j]=(D[E][j]-x[C][E][j])/y}break;case"transform":var N=n._,F=Tt(N[C],w[C]);if(F)for(x[C]=F.from,w[C]=F.to,_[C]=[],_[C].real=!0,E=0,S=x[C].length;E<S;E++)for(_[C][E]=[x[C][E][0]],j=1,T=x[C][E].length;j<T;j++)_[C][E][j]=(w[C][E][j]-x[C][E][j])/y;else{var R=n.matrix||new Nt,L={_:{transform:N.transform},getBBox:function(){return n.getBBox(1)}};x[C]=[R.a,R.b,R.c,R.d,R.e,R.f],Dt(L,w[C]),w[C]=L._.transform,_[C]=[(L.matrix.a-R.a)/y,(L.matrix.b-R.b)/y,(L.matrix.c-R.c)/y,(L.matrix.d-R.d)/y,(L.matrix.e-R.e)/y,(L.matrix.f-R.f)/y]}break;case"csv":var q=m(l[C])[b](a),U=m(x[C])[b](a);if("clip-rect"==C)for(x[C]=U,_[C]=[],E=U.length;E--;)_[C][E]=(q[E]-x[C][E])/y;w[C]=q;break;default:for(q=[][d](l[C]),U=[][d](x[C]),_[C]=[],E=n.paper.customAttributes[C].length;E--;)_[C][E]=((q[E]||0)-(U[E]||0))/y}var V=l.easing,H=e.easing_formulas[V];if(!H)if((H=m(V).match(M))&&5==H.length){var W=H;H=function(t){return ne(t,+W[1],+W[2],+W[3],+W[4],y)}}else H=X;if(k={anim:r,percent:i,timestamp:g=l.start||r.start||+new Date,start:g+(r.del||0),status:0,initstatus:o||0,stop:!1,ms:y,easing:H,from:x,diff:_,to:w,el:n,callback:l.callback,prev:v,next:p,repeat:u||r.times,origin:n.attr(),totalOrigin:s},Jt.push(k),o&&!f&&!h&&(k.stop=!0,k.start=new Date-y*o,1==Jt.length))return ee();h&&(k.start=new Date-k.ms*o),1==Jt.length&&te(ee)}t("raphael.anim.start."+n.id,n,r)}}function ae(t){for(var e=0;e<Jt.length;e++)Jt[e].el.paper==t&&Jt.splice(e--,1)}Vt.animateWith=function(t,r,n,i,o,a){if(this.removed)return a&&a.call(this),this;var s=n instanceof ie?n:e.animation(n,i,o,a);oe(s,this,s.percents[0],null,this.attr());for(var u=0,c=Jt.length;u<c;u++)if(Jt[u].anim==r&&Jt[u].el==t){Jt[c-1].start=Jt[u].start;break}return this},Vt.onAnimation=function(e){return e?t.on("raphael.anim.frame."+this.id,e):t.unbind("raphael.anim.frame."+this.id),this},ie.prototype.delay=function(t){var e=new ie(this.anim,this.ms);return e.times=this.times,e.del=+t||0,e},ie.prototype.repeat=function(t){var e=new ie(this.anim,this.ms);return e.del=this.del,e.times=k.floor(E(t,0))||1,e},e.animation=function(t,r,n,i){if(t instanceof ie)return t;!e.is(n,"function")&&n||(i=i||n||null,n=null),t=Object(t),r=+r||0;var o,a,s={};for(a in t)t[c](a)&&B(a)!=a&&B(a)+"%"!=a&&(o=!0,s[a]=t[a]);if(o)return n&&(s.easing=n),i&&(s.callback=i),new ie({100:s},r);if(i){var u=0;for(var l in t){var f=R(l);t[c](l)&&f>u&&(u=f)}!t[u+="%"].callback&&(t[u].callback=i)}return new ie(t,r)},Vt.animate=function(t,r,n,i){if(this.removed)return i&&i.call(this),this;var o=t instanceof ie?t:e.animation(t,r,n,i);return oe(o,this,o.percents[0],null,this.attr()),this},Vt.setTime=function(t,e){return t&&null!=e&&this.status(t,S(e,t.ms)/t.ms),this},Vt.status=function(t,e){var r,n,i=[],o=0;if(null!=e)return oe(t,this,-1,S(e,1)),this;for(r=Jt.length;o<r;o++)if((n=Jt[o]).el.id==this.id&&(!t||n.anim==t)){if(t)return n.status;i.push({anim:n.anim,status:n.status})}return t?0:i},Vt.pause=function(e){for(var r=0;r<Jt.length;r++)Jt[r].el.id!=this.id||e&&Jt[r].anim!=e||!1!==t("raphael.anim.pause."+this.id,this,Jt[r].anim)&&(Jt[r].paused=!0);return this},Vt.resume=function(e){for(var r=0;r<Jt.length;r++)if(Jt[r].el.id==this.id&&(!e||Jt[r].anim==e)){var n=Jt[r];!1!==t("raphael.anim.resume."+this.id,this,n.anim)&&(delete n.paused,this.status(n.anim,n.status))}return this},Vt.stop=function(e){for(var r=0;r<Jt.length;r++)Jt[r].el.id!=this.id||e&&Jt[r].anim!=e||!1!==t("raphael.anim.stop."+this.id,this,Jt[r].anim)&&Jt.splice(r--,1);return this},t.on("raphael.remove",ae),t.on("raphael.clear",ae),Vt.toString=function(){return"Raphaël’s object"};var se,ue,ce,le,fe=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,r=t.length;e<r;e++)!t[e]||t[e].constructor!=Vt.constructor&&t[e].constructor!=fe||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},he=fe.prototype;for(var pe in he.push=function(){for(var t,e,r=0,n=arguments.length;r<n;r++)!(t=arguments[r])||t.constructor!=Vt.constructor&&t.constructor!=fe||(this[e=this.items.length]=this.items[e]=t,this.length++);return this},he.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},he.forEach=function(t,e){for(var r=0,n=this.items.length;r<n;r++)if(!1===t.call(e,this.items[r],r))return this;return this},Vt)Vt[c](pe)&&(he[pe]=function(t){return function(){var e=arguments;return this.forEach((function(r){r[t][p](r,e)}))}}(pe));return he.attr=function(t,r){if(t&&e.is(t,D)&&e.is(t[0],"object"))for(var n=0,i=t.length;n<i;n++)this.items[n].attr(t[n]);else for(var o=0,a=this.items.length;o<a;o++)this.items[o].attr(t,r);return this},he.clear=function(){for(;this.length;)this.pop()},he.splice=function(t,e,r){t=t<0?E(this.length+t,0):t,e=E(0,S(this.length-t,e));var n,i=[],o=[],a=[];for(n=2;n<arguments.length;n++)a.push(arguments[n]);for(n=0;n<e;n++)o.push(this[t+n]);for(;n<this.length-t;n++)i.push(this[t+n]);var s=a.length;for(n=0;n<s+i.length;n++)this.items[t+n]=this[t+n]=n<s?a[n]:i[n-s];for(n=this.items.length=this.length-=e-s;this[n];)delete this[n++];return new fe(o)},he.exclude=function(t){for(var e=0,r=this.length;e<r;e++)if(this[e]==t)return this.splice(e,1),!0},he.animate=function(t,r,n,i){(e.is(n,"function")||!n)&&(i=n||null);var o,a,s=this.items.length,u=s,c=this;if(!s)return this;i&&(a=function(){! --s&&i.call(c)}),n=e.is(n,"string")?n:a;var l=e.animation(t,r,n,a);for(o=this.items[--u].animate(l);u--;)this.items[u]&&!this.items[u].removed&&this.items[u].animateWith(o,l,l),this.items[u]&&!this.items[u].removed||s--;return this},he.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},he.getBBox=function(){for(var t=[],e=[],r=[],n=[],i=this.items.length;i--;)if(!this.items[i].removed){var o=this.items[i].getBBox();t.push(o.x),e.push(o.y),r.push(o.x+o.width),n.push(o.y+o.height)}return{x:t=S[p](0,t),y:e=S[p](0,e),x2:r=E[p](0,r),y2:n=E[p](0,n),width:r-t,height:n-e}},he.clone=function(t){t=this.paper.set();for(var e=0,r=this.items.length;e<r;e++)t.push(this.items[e].clone());return t},he.toString=function(){return"Raphaël‘s set"},he.glow=function(t){var e=this.paper.set();return this.forEach((function(r,n){var i=r.glow(t);null!=i&&i.forEach((function(t,r){e.push(t)}))})),e},he.isPointInside=function(t,e){var r=!1;return this.forEach((function(n){if(n.isPointInside(t,e))return r=!0,!1})),r},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},r=t.face["font-family"];for(var n in t.face)t.face[c](n)&&(e.face[n]=t.face[n]);if(this.fonts[r]?this.fonts[r].push(e):this.fonts[r]=[e],!t.svg)for(var i in e.face["units-per-em"]=R(t.face["units-per-em"],10),t.glyphs)if(t.glyphs[c](i)){var o=t.glyphs[i];if(e.glyphs[i]={w:o.w,k:{},d:o.d&&"M"+o.d.replace(/[mlcxtrv]/g,(function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"}))+"z"},o.k)for(var a in o.k)o[c](a)&&(e.glyphs[i].k[a]=o.k[a])}return t},n.getFont=function(t,r,n,i){if(i=i||"normal",n=n||"normal",r=+r||{normal:400,bold:700,lighter:300,bolder:800}[r]||400,e.fonts){var o,a=e.fonts[t];if(!a){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,g)+"(\\s|$)","i");for(var u in e.fonts)if(e.fonts[c](u)&&s.test(u)){a=e.fonts[u];break}}if(a)for(var l=0,f=a.length;l<f&&((o=a[l]).face["font-weight"]!=r||o.face["font-style"]!=n&&o.face["font-style"]||o.face["font-stretch"]!=i);l++);return o}},n.print=function(t,r,n,i,o,s,u,c){s=s||"middle",u=E(S(u||0,1),-1),c=E(S(c||1,3),1);var l,f=m(n)[b](g),h=0,p=0,d=g;if(e.is(i,"string")&&(i=this.getFont(i)),i){l=(o||16)/i.face["units-per-em"];for(var v=i.face.bbox[b](a),y=+v[0],x=v[3]-v[1],w=0,_=+v[1]+("baseline"==s?x+ +i.face.descent:x/2),k=0,C=f.length;k<C;k++){if("\n"==f[k])h=0,O=0,p=0,w+=x*c;else{var A=p&&i.glyphs[f[k-1]]||{},O=i.glyphs[f[k]];h+=p?(A.w||i.w)+(A.k&&A.k[f[k]]||0)+i.w*u:0,p=1}O&&O.d&&(d+=e.transformPath(O.d,["t",h*l,w*l,"s",l,l,y,_,"t",(t-y)/l,(r-_)/l]))}}return this.path(d).attr({fill:"#000",stroke:"none"})},n.add=function(t){if(e.is(t,"array"))for(var r,n=this.set(),i=0,o=t.length;i<o;i++)r=t[i]||{},s[c](r.type)&&n.push(this[r.type]().attr(r));return n},e.format=function(t,r){var n=e.is(r,D)?[0][d](r):arguments;return t&&e.is(t,"string")&&n.length-1&&(t=t.replace(u,(function(t,e){return null==n[++e]?g:n[e]}))),t||g},e.fullfill=(se=/\{([^\}]+)\}/g,ue=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return String(t).replace(se,(function(t,r){return function(t,e,r){var n=r;return e.replace(ue,(function(t,e,r,i,o){e=e||i,n&&(e in n&&(n=n[e]),"function"==typeof n&&o&&(n=n()))})),n=(null==n||n==r?t:n)+""}(t,r,e)}))}),e.ninja=function(){if(f.was)l.win.Raphael=f.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(t){}}return e},e.st=he,t.on("raphael.DOMload",(function(){r=!0})),null==(ce=document).readyState&&ce.addEventListener&&(ce.addEventListener("DOMContentLoaded",le=function(){ce.removeEventListener("DOMContentLoaded",le,!1),ce.readyState="complete"},!1),ce.readyState="loading"),function t(){/in/.test(ce.readyState)?setTimeout(t,9):e.eve("raphael.DOMload")}(),e}.apply(e,n))||(t.exports=i)},function(t,e,r){var n,i;n=[r(0),r(3),r(4)],void 0===(i=function(t){return t}.apply(e,n))||(t.exports=i)},function(t,e,r){var n,i,o,a,s,u,c,l,f,h,p,d,v,g;a="hasOwnProperty",s=/[\.\/]/,u=/\s*,\s*/,c=function(t,e){return t-e},l={n:{}},f=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},h=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},p=Object.prototype.toString,d=String,v=Array.isArray||function(t){return t instanceof Array||"[object Array]"==p.call(t)},(g=function(t,e){var r,n=o,a=Array.prototype.slice.call(arguments,2),s=g.listeners(t),u=0,l=[],p={},d=[],v=i;d.firstDefined=f,d.lastDefined=h,i=t,o=0;for(var y=0,m=s.length;y<m;y++)"zIndex"in s[y]&&(l.push(s[y].zIndex),s[y].zIndex<0&&(p[s[y].zIndex]=s[y]));for(l.sort(c);l[u]<0;)if(r=p[l[u++]],d.push(r.apply(e,a)),o)return o=n,d;for(y=0;y<m;y++)if("zIndex"in(r=s[y]))if(r.zIndex==l[u]){if(d.push(r.apply(e,a)),o)break;do{if((r=p[l[++u]])&&d.push(r.apply(e,a)),o)break}while(r)}else p[r.zIndex]=r;else if(d.push(r.apply(e,a)),o)break;return o=n,i=v,d})._events=l,g.listeners=function(t){var e,r,n,i,o,a,u,c,f=v(t)?t:t.split(s),h=l,p=[h],d=[];for(i=0,o=f.length;i<o;i++){for(c=[],a=0,u=p.length;a<u;a++)for(r=[(h=p[a].n)[f[i]],h["*"]],n=2;n--;)(e=r[n])&&(c.push(e),d=d.concat(e.f||[]));p=c}return d},g.separator=function(t){t?(t="["+(t=d(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",s=new RegExp(t)):s=/[\.\/]/},g.on=function(t,e){if("function"!=typeof e)return function(){};for(var r=v(t)?v(t[0])?t:[t]:d(t).split(u),n=0,i=r.length;n<i;n++)!function(t){for(var r,n=v(t)?t:d(t).split(s),i=l,o=0,a=n.length;o<a;o++)i=(i=i.n).hasOwnProperty(n[o])&&i[n[o]]||(i[n[o]]={n:{}});for(i.f=i.f||[],o=0,a=i.f.length;o<a;o++)if(i.f[o]==e){r=!0;break}!r&&i.f.push(e)}(r[n]);return function(t){+t==+t&&(e.zIndex=+t)}},g.f=function(t){var e=[].slice.call(arguments,1);return function(){g.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},g.stop=function(){o=1},g.nt=function(t){var e=v(i)?i.join("."):i;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},g.nts=function(){return v(i)?i:i.split(s)},g.off=g.unbind=function(t,e){if(t){var r=v(t)?v(t[0])?t:[t]:d(t).split(u);if(r.length>1)for(var n=0,i=r.length;n<i;n++)g.off(r[n],e);else{r=v(t)?t:d(t).split(s);var o,c,f,h,p,y=[l];for(n=0,i=r.length;n<i;n++)for(h=0;h<y.length;h+=f.length-2){if(f=[h,1],o=y[h].n,"*"!=r[n])o[r[n]]&&f.push(o[r[n]]);else for(c in o)o[a](c)&&f.push(o[c]);y.splice.apply(y,f)}for(n=0,i=y.length;n<i;n++)for(o=y[n];o.n;){if(e){if(o.f){for(h=0,p=o.f.length;h<p;h++)if(o.f[h]==e){o.f.splice(h,1);break}!o.f.length&&delete o.f}for(c in o.n)if(o.n[a](c)&&o.n[c].f){var m=o.n[c].f;for(h=0,p=m.length;h<p;h++)if(m[h]==e){m.splice(h,1);break}!m.length&&delete o.n[c].f}}else for(c in delete o.f,o.n)o.n[a](c)&&o.n[c].f&&delete o.n[c].f;o=o.n}}}else g._events=l={n:{}}},g.once=function(t,e){var r=function(){return g.off(t,r),e.apply(this,arguments)};return g.on(t,r)},g.version="0.5.0",g.toString=function(){return"You are running Eve 0.5.0"},t.exports?t.exports=g:void 0===(n=function(){return g}.apply(e,[]))||(t.exports=n)},function(t,e,r){var n,i;n=[r(0)],void 0===(i=function(t){if(!t||t.svg){var e="hasOwnProperty",r=String,n=parseFloat,i=parseInt,o=Math,a=o.max,s=o.abs,u=o.pow,c=/[, ]+/,l=t.eve,f="",h=" ",p="http://www.w3.org/1999/xlink",d={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},v={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var g=function(n,i){if(i)for(var o in"string"==typeof n&&(n=g(n)),i)i[e](o)&&("xlink:"==o.substring(0,6)?n.setAttributeNS(p,o.substring(6),r(i[o])):n.setAttribute(o,r(i[o])));else(n=t._g.doc.createElementNS("http://www.w3.org/2000/svg",n)).style&&(n.style.webkitTapHighlightColor="rgba(0,0,0,0)");return n},y=function(e,i){var c="linear",l=e.id+i,h=.5,p=.5,d=e.node,v=e.paper,y=d.style,b=t._g.doc.getElementById(l);if(!b){if(i=(i=r(i).replace(t._radial_gradient,(function(t,e,r){if(c="radial",e&&r){h=n(e);var i=2*((p=n(r))>.5)-1;u(h-.5,2)+u(p-.5,2)>.25&&(p=o.sqrt(.25-u(h-.5,2))*i+.5)&&.5!=p&&(p=p.toFixed(5)-1e-5*i)}return f}))).split(/\s*\-\s*/),"linear"==c){var x=i.shift();if(x=-n(x),isNaN(x))return null;var w=[0,0,o.cos(t.rad(x)),o.sin(t.rad(x))],_=1/(a(s(w[2]),s(w[3]))||1);w[2]*=_,w[3]*=_,w[2]<0&&(w[0]=-w[2],w[2]=0),w[3]<0&&(w[1]=-w[3],w[3]=0)}var k=t._parseDots(i);if(!k)return null;if(l=l.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&l!=e.gradient.id&&(v.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){b=g(c+"Gradient",{id:l}),e.gradient=b,g(b,"radial"==c?{fx:h,fy:p}:{x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientTransform:e.matrix.invert()}),v.defs.appendChild(b);for(var E=0,S=k.length;E<S;E++)b.appendChild(g("stop",{offset:k[E].offset?k[E].offset:E?"100%":"0%","stop-color":k[E].color||"#fff","stop-opacity":isFinite(k[E].opacity)?k[E].opacity:1}))}}return g(d,{fill:m(l),opacity:1,"fill-opacity":1}),y.fill=f,y.opacity=1,y.fillOpacity=1,1},m=function(t){if((e=document.documentMode)&&(9===e||10===e))return"url('#"+t+"')";var e,r=document.location;return"url('"+r.protocol+"//"+r.host+r.pathname+r.search+"#"+t+"')"},b=function(t){var e=t.getBBox(1);g(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},x=function(n,i,o){if("path"==n.type){for(var a,s,u,c,l,h=r(i).toLowerCase().split("-"),p=n.paper,y=o?"end":"start",m=n.node,b=n.attrs,x=b["stroke-width"],w=h.length,_="classic",k=3,E=3,S=5;w--;)switch(h[w]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":_=h[w];break;case"wide":E=5;break;case"narrow":E=2;break;case"long":k=5;break;case"short":k=2}if("open"==_?(k+=2,E+=2,S+=2,u=1,c=o?4:1,l={fill:"none",stroke:b.stroke}):(c=u=k/2,l={fill:b.stroke,stroke:"none"}),n._.arrows?o?(n._.arrows.endPath&&v[n._.arrows.endPath]--,n._.arrows.endMarker&&v[n._.arrows.endMarker]--):(n._.arrows.startPath&&v[n._.arrows.startPath]--,n._.arrows.startMarker&&v[n._.arrows.startMarker]--):n._.arrows={},"none"!=_){var C="raphael-marker-"+_,A="raphael-marker-"+y+_+k+E+"-obj"+n.id;t._g.doc.getElementById(C)?v[C]++:(p.defs.appendChild(g(g("path"),{"stroke-linecap":"round",d:d[_],id:C})),v[C]=1);var O,P=t._g.doc.getElementById(A);P?(v[A]++,O=P.getElementsByTagName("use")[0]):(P=g(g("marker"),{id:A,markerHeight:E,markerWidth:k,orient:"auto",refX:c,refY:E/2}),O=g(g("use"),{"xlink:href":"#"+C,transform:(o?"rotate(180 "+k/2+" "+E/2+") ":f)+"scale("+k/S+","+E/S+")","stroke-width":(1/((k/S+E/S)/2)).toFixed(4)}),P.appendChild(O),p.defs.appendChild(P),v[A]=1),g(O,l);var D=u*("diamond"!=_&&"oval"!=_);o?(a=n._.arrows.startdx*x||0,s=t.getTotalLength(b.path)-D*x):(a=D*x,s=t.getTotalLength(b.path)-(n._.arrows.enddx*x||0)),(l={})["marker-"+y]="url(#"+A+")",(s||a)&&(l.d=t.getSubpath(b.path,a,s)),g(m,l),n._.arrows[y+"Path"]=C,n._.arrows[y+"Marker"]=A,n._.arrows[y+"dx"]=D,n._.arrows[y+"Type"]=_,n._.arrows[y+"String"]=i}else o?(a=n._.arrows.startdx*x||0,s=t.getTotalLength(b.path)-a):(a=0,s=t.getTotalLength(b.path)-(n._.arrows.enddx*x||0)),n._.arrows[y+"Path"]&&g(m,{d:t.getSubpath(b.path,a,s)}),delete n._.arrows[y+"Path"],delete n._.arrows[y+"Marker"],delete n._.arrows[y+"dx"],delete n._.arrows[y+"Type"],delete n._.arrows[y+"String"];for(l in v)if(v[e](l)&&!v[l]){var j=t._g.doc.getElementById(l);j&&j.parentNode.removeChild(j)}}},w={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},_=function(t,e,n){if(e=w[r(e).toLowerCase()]){for(var i=t.attrs["stroke-width"]||"1",o={round:i,square:i,butt:0}[t.attrs["stroke-linecap"]||n["stroke-linecap"]]||0,a=[],s=e.length;s--;)a[s]=e[s]*i+(s%2?1:-1)*o;g(t.node,{"stroke-dasharray":a.join(",")})}else g(t.node,{"stroke-dasharray":"none"})},k=function(n,o){var u=n.node,l=n.attrs,h=u.style.visibility;for(var d in u.style.visibility="hidden",o)if(o[e](d)){if(!t._availableAttrs[e](d))continue;var v=o[d];switch(l[d]=v,d){case"blur":n.blur(v);break;case"title":var m=u.getElementsByTagName("title");if(m.length&&(m=m[0]))m.firstChild.nodeValue=v;else{m=g("title");var w=t._g.doc.createTextNode(v);m.appendChild(w),u.appendChild(m)}break;case"href":case"target":var k=u.parentNode;if("a"!=k.tagName.toLowerCase()){var S=g("a");k.insertBefore(S,u),S.appendChild(u),k=S}"target"==d?k.setAttributeNS(p,"show","blank"==v?"new":v):k.setAttributeNS(p,d,v);break;case"cursor":u.style.cursor=v;break;case"transform":n.transform(v);break;case"arrow-start":x(n,v);break;case"arrow-end":x(n,v,1);break;case"clip-rect":var C=r(v).split(c);if(4==C.length){n.clip&&n.clip.parentNode.parentNode.removeChild(n.clip.parentNode);var A=g("clipPath"),O=g("rect");A.id=t.createUUID(),g(O,{x:C[0],y:C[1],width:C[2],height:C[3]}),A.appendChild(O),n.paper.defs.appendChild(A),g(u,{"clip-path":"url(#"+A.id+")"}),n.clip=O}if(!v){var P=u.getAttribute("clip-path");if(P){var D=t._g.doc.getElementById(P.replace(/(^url\(#|\)$)/g,f));D&&D.parentNode.removeChild(D),g(u,{"clip-path":f}),delete n.clip}}break;case"path":"path"==n.type&&(g(u,{d:v?l.path=t._pathToAbsolute(v):"M0,0"}),n._.dirty=1,n._.arrows&&("startString"in n._.arrows&&x(n,n._.arrows.startString),"endString"in n._.arrows&&x(n,n._.arrows.endString,1)));break;case"width":if(u.setAttribute(d,v),n._.dirty=1,!l.fx)break;d="x",v=l.x;case"x":l.fx&&(v=-l.x-(l.width||0));case"rx":if("rx"==d&&"rect"==n.type)break;case"cx":u.setAttribute(d,v),n.pattern&&b(n),n._.dirty=1;break;case"height":if(u.setAttribute(d,v),n._.dirty=1,!l.fy)break;d="y",v=l.y;case"y":l.fy&&(v=-l.y-(l.height||0));case"ry":if("ry"==d&&"rect"==n.type)break;case"cy":u.setAttribute(d,v),n.pattern&&b(n),n._.dirty=1;break;case"r":"rect"==n.type?g(u,{rx:v,ry:v}):u.setAttribute(d,v),n._.dirty=1;break;case"src":"image"==n.type&&u.setAttributeNS(p,"href",v);break;case"stroke-width":1==n._.sx&&1==n._.sy||(v/=a(s(n._.sx),s(n._.sy))||1),u.setAttribute(d,v),l["stroke-dasharray"]&&_(n,l["stroke-dasharray"],o),n._.arrows&&("startString"in n._.arrows&&x(n,n._.arrows.startString),"endString"in n._.arrows&&x(n,n._.arrows.endString,1));break;case"stroke-dasharray":_(n,v,o);break;case"fill":var j=r(v).match(t._ISURL);if(j){A=g("pattern");var T=g("image");A.id=t.createUUID(),g(A,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),g(T,{x:0,y:0,"xlink:href":j[1]}),A.appendChild(T),function(e){t._preload(j[1],(function(){var t=this.offsetWidth,r=this.offsetHeight;g(e,{width:t,height:r}),g(T,{width:t,height:r})}))}(A),n.paper.defs.appendChild(A),g(u,{fill:"url(#"+A.id+")"}),n.pattern=A,n.pattern&&b(n);break}var N=t.getRGB(v);if(N.error){if(("circle"==n.type||"ellipse"==n.type||"r"!=r(v).charAt())&&y(n,v)){if("opacity"in l||"fill-opacity"in l){var M=t._g.doc.getElementById(u.getAttribute("fill").replace(/^url\(#|\)$/g,f));if(M){var F=M.getElementsByTagName("stop");g(F[F.length-1],{"stop-opacity":("opacity"in l?l.opacity:1)*("fill-opacity"in l?l["fill-opacity"]:1)})}}l.gradient=v,l.fill="none";break}}else delete o.gradient,delete l.gradient,!t.is(l.opacity,"undefined")&&t.is(o.opacity,"undefined")&&g(u,{opacity:l.opacity}),!t.is(l["fill-opacity"],"undefined")&&t.is(o["fill-opacity"],"undefined")&&g(u,{"fill-opacity":l["fill-opacity"]});N[e]("opacity")&&g(u,{"fill-opacity":N.opacity>1?N.opacity/100:N.opacity});case"stroke":N=t.getRGB(v),u.setAttribute(d,N.hex),"stroke"==d&&N[e]("opacity")&&g(u,{"stroke-opacity":N.opacity>1?N.opacity/100:N.opacity}),"stroke"==d&&n._.arrows&&("startString"in n._.arrows&&x(n,n._.arrows.startString),"endString"in n._.arrows&&x(n,n._.arrows.endString,1));break;case"gradient":("circle"==n.type||"ellipse"==n.type||"r"!=r(v).charAt())&&y(n,v);break;case"opacity":l.gradient&&!l[e]("stroke-opacity")&&g(u,{"stroke-opacity":v>1?v/100:v});case"fill-opacity":if(l.gradient){(M=t._g.doc.getElementById(u.getAttribute("fill").replace(/^url\(#|\)$/g,f)))&&(F=M.getElementsByTagName("stop"),g(F[F.length-1],{"stop-opacity":v}));break}default:"font-size"==d&&(v=i(v,10)+"px");var B=d.replace(/(\-.)/g,(function(t){return t.substring(1).toUpperCase()}));u.style[B]=v,n._.dirty=1,u.setAttribute(d,v)}}E(n,o),u.style.visibility=h},E=function(n,o){if("text"==n.type&&(o[e]("text")||o[e]("font")||o[e]("font-size")||o[e]("x")||o[e]("y"))){var a=n.attrs,s=n.node,u=s.firstChild?i(t._g.doc.defaultView.getComputedStyle(s.firstChild,f).getPropertyValue("font-size"),10):10;if(o[e]("text")){for(a.text=o.text;s.firstChild;)s.removeChild(s.firstChild);for(var c,l=r(o.text).split("\n"),h=[],p=0,d=l.length;p<d;p++)c=g("tspan"),p&&g(c,{dy:1.2*u,x:a.x}),c.appendChild(t._g.doc.createTextNode(l[p])),s.appendChild(c),h[p]=c}else for(p=0,d=(h=s.getElementsByTagName("tspan")).length;p<d;p++)p?g(h[p],{dy:1.2*u,x:a.x}):g(h[0],{dy:0});g(s,{x:a.x,y:a.y}),n._.dirty=1;var v=n._getBBox(),y=a.y-(v.y+v.height/2);y&&t.is(y,"finite")&&g(h[0],{dy:y})}},S=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},C=function(e,r){this[0]=this.node=e,e.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)|0).toString(36)).slice(-5),e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=r,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!r.bottom&&(r.bottom=this),this.prev=r.top,r.top&&(r.top.next=this),r.top=this,this.next=null},A=t.el;C.prototype=A,A.constructor=C,t._engine.path=function(t,e){var r=g("path");e.canvas&&e.canvas.appendChild(r);var n=new C(r,e);return n.type="path",k(n,{fill:"none",stroke:"#000",path:t}),n},A.rotate=function(t,e,i){if(this.removed)return this;if((t=r(t).split(c)).length-1&&(e=n(t[1]),i=n(t[2])),t=n(t[0]),null==i&&(e=i),null==e||null==i){var o=this.getBBox(1);e=o.x+o.width/2,i=o.y+o.height/2}return this.transform(this._.transform.concat([["r",t,e,i]])),this},A.scale=function(t,e,i,o){if(this.removed)return this;if((t=r(t).split(c)).length-1&&(e=n(t[1]),i=n(t[2]),o=n(t[3])),t=n(t[0]),null==e&&(e=t),null==o&&(i=o),null==i||null==o)var a=this.getBBox(1);return i=null==i?a.x+a.width/2:i,o=null==o?a.y+a.height/2:o,this.transform(this._.transform.concat([["s",t,e,i,o]])),this},A.translate=function(t,e){return this.removed||((t=r(t).split(c)).length-1&&(e=n(t[1])),t=n(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]]))),this},A.transform=function(r){var n=this._;if(null==r)return n.transform;if(t._extractTransform(this,r),this.clip&&g(this.clip,{transform:this.matrix.invert()}),this.pattern&&b(this),this.node&&g(this.node,{transform:this.matrix}),1!=n.sx||1!=n.sy){var i=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":i})}return this},A.hide=function(){return this.removed||(this.node.style.display="none"),this},A.show=function(){return this.removed||(this.node.style.display=""),this},A.remove=function(){var e=S(this.node);if(!this.removed&&e.parentNode){var r=this.paper;for(var n in r.__set__&&r.__set__.exclude(this),l.unbind("raphael.*.*."+this.id),this.gradient&&r.defs.removeChild(this.gradient),t._tear(this,r),e.parentNode.removeChild(e),this.removeData(),this)this[n]="function"==typeof this[n]?t._removedFactory(n):null;this.removed=!0}},A._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e,r=!1;this.paper.canvas.parentElement?e=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(e=this.paper.canvas.parentNode.style),e&&"none"==e.display&&(r=!0,e.display="");var n={};try{n=this.node.getBBox()}catch(t){n={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{n=n||{},r&&(e.display="none")}return t&&this.hide(),n},A.attr=function(r,n){if(this.removed)return this;if(null==r){var i={};for(var o in this.attrs)this.attrs[e](o)&&(i[o]=this.attrs[o]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==n&&t.is(r,"string")){if("fill"==r&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==r)return this._.transform;for(var a=r.split(c),s={},u=0,f=a.length;u<f;u++)(r=a[u])in this.attrs?s[r]=this.attrs[r]:t.is(this.paper.customAttributes[r],"function")?s[r]=this.paper.customAttributes[r].def:s[r]=t._availableAttrs[r];return f-1?s:s[a[0]]}if(null==n&&t.is(r,"array")){for(s={},u=0,f=r.length;u<f;u++)s[r[u]]=this.attr(r[u]);return s}if(null!=n){var h={};h[r]=n}else null!=r&&t.is(r,"object")&&(h=r);for(var p in h)l("raphael.attr."+p+"."+this.id,this,h[p]);for(p in this.paper.customAttributes)if(this.paper.customAttributes[e](p)&&h[e](p)&&t.is(this.paper.customAttributes[p],"function")){var d=this.paper.customAttributes[p].apply(this,[].concat(h[p]));for(var v in this.attrs[p]=h[p],d)d[e](v)&&(h[v]=d[v])}return k(this,h),this},A.toFront=function(){if(this.removed)return this;var e=S(this.node);e.parentNode.appendChild(e);var r=this.paper;return r.top!=this&&t._tofront(this,r),this},A.toBack=function(){if(this.removed)return this;var e=S(this.node),r=e.parentNode;return r.insertBefore(e,r.firstChild),t._toback(this,this.paper),this.paper,this},A.insertAfter=function(e){if(this.removed||!e)return this;var r=S(this.node),n=S(e.node||e[e.length-1].node);return n.nextSibling?n.parentNode.insertBefore(r,n.nextSibling):n.parentNode.appendChild(r),t._insertafter(this,e,this.paper),this},A.insertBefore=function(e){if(this.removed||!e)return this;var r=S(this.node),n=S(e.node||e[0].node);return n.parentNode.insertBefore(r,n),t._insertbefore(this,e,this.paper),this},A.blur=function(e){var r=this;if(0!=+e){var n=g("filter"),i=g("feGaussianBlur");r.attrs.blur=e,n.id=t.createUUID(),g(i,{stdDeviation:+e||1.5}),n.appendChild(i),r.paper.defs.appendChild(n),r._blur=n,g(r.node,{filter:"url(#"+n.id+")"})}else r._blur&&(r._blur.parentNode.removeChild(r._blur),delete r._blur,delete r.attrs.blur),r.node.removeAttribute("filter");return r},t._engine.circle=function(t,e,r,n){var i=g("circle");t.canvas&&t.canvas.appendChild(i);var o=new C(i,t);return o.attrs={cx:e,cy:r,r:n,fill:"none",stroke:"#000"},o.type="circle",g(i,o.attrs),o},t._engine.rect=function(t,e,r,n,i,o){var a=g("rect");t.canvas&&t.canvas.appendChild(a);var s=new C(a,t);return s.attrs={x:e,y:r,width:n,height:i,rx:o||0,ry:o||0,fill:"none",stroke:"#000"},s.type="rect",g(a,s.attrs),s},t._engine.ellipse=function(t,e,r,n,i){var o=g("ellipse");t.canvas&&t.canvas.appendChild(o);var a=new C(o,t);return a.attrs={cx:e,cy:r,rx:n,ry:i,fill:"none",stroke:"#000"},a.type="ellipse",g(o,a.attrs),a},t._engine.image=function(t,e,r,n,i,o){var a=g("image");g(a,{x:r,y:n,width:i,height:o,preserveAspectRatio:"none"}),a.setAttributeNS(p,"href",e),t.canvas&&t.canvas.appendChild(a);var s=new C(a,t);return s.attrs={x:r,y:n,width:i,height:o,src:e},s.type="image",s},t._engine.text=function(e,r,n,i){var o=g("text");e.canvas&&e.canvas.appendChild(o);var a=new C(o,e);return a.attrs={x:r,y:n,"text-anchor":"middle",text:i,"font-family":t._availableAttrs["font-family"],"font-size":t._availableAttrs["font-size"],stroke:"none",fill:"#000"},a.type="text",k(a,a.attrs),a},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),r=e&&e.container;if(!r)throw new Error("SVG container not found.");var n,i=e.x,o=e.y,a=e.width,s=e.height,u=g("svg"),c="overflow:hidden;";return i=i||0,o=o||0,g(u,{height:s=s||342,version:1.1,width:a=a||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==r?(u.style.cssText=c+"position:absolute;left:"+i+"px;top:"+o+"px",t._g.doc.body.appendChild(u),n=1):(u.style.cssText=c+"position:relative",r.firstChild?r.insertBefore(u,r.firstChild):r.appendChild(u)),(r=new t._Paper).width=a,r.height=s,r.canvas=u,r.clear(),r._left=r._top=0,n&&(r.renderfix=function(){}),r.renderfix(),r},t._engine.setViewBox=function(t,e,r,n,i){l("raphael.setViewBox",this,this._viewBox,[t,e,r,n,i]);var o,s,u=this.getSize(),c=a(r/u.width,n/u.height),f=this.top,p=i?"xMidYMid meet":"xMinYMin";for(null==t?(this._vbSize&&(c=1),delete this._vbSize,o="0 0 "+this.width+h+this.height):(this._vbSize=c,o=t+h+e+h+r+h+n),g(this.canvas,{viewBox:o,preserveAspectRatio:p});c&&f;)s="stroke-width"in f.attrs?f.attrs["stroke-width"]:1,f.attr({"stroke-width":s}),f._.dirty=1,f._.dirtyT=1,f=f.prev;return this._viewBox=[t,e,r,n,!!i],this},t.prototype.renderfix=function(){var t,e=this.canvas,r=e.style;try{t=e.getScreenCTM()||e.createSVGMatrix()}catch(r){t=e.createSVGMatrix()}var n=-t.e%1,i=-t.f%1;(n||i)&&(n&&(this._left=(this._left+n)%1,r.left=this._left+"px"),i&&(this._top=(this._top+i)%1,r.top=this._top+"px"))},t.prototype.clear=function(){t.eve("raphael.clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=g("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=g("defs"))},t.prototype.remove=function(){for(var e in l("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var O=t.st;for(var P in A)A[e](P)&&!O[e](P)&&(O[P]=function(t){return function(){var e=arguments;return this.forEach((function(r){r[t].apply(r,e)}))}}(P))}}.apply(e,n))||(t.exports=i)},function(t,e,r){var n,i;n=[r(0)],void 0===(i=function(t){if(!t||t.vml){var e="hasOwnProperty",r=String,n=parseFloat,i=Math,o=i.round,a=i.max,s=i.min,u=i.abs,c=/[, ]+/,l=t.eve,f=" ",h="",p={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},d=/([clmz]),?([^clmz]*)/gi,v=/ progid:\S+Blur\([^\)]+\)/g,g=/-?[^,\s-]+/g,y="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",m=21600,b={path:1,rect:1,image:1},x={circle:1,ellipse:1},w=function(e,r,n){var i=t.matrix();return i.rotate(-e,.5,.5),{dx:i.x(r,n),dy:i.y(r,n)}},_=function(t,e,r,n,i,o){var a=t._,s=t.matrix,c=a.fillpos,l=t.node,h=l.style,p=1,d="",v=m/e,g=m/r;if(h.visibility="hidden",e&&r){if(l.coordsize=u(v)+f+u(g),h.rotation=o*(e*r<0?-1:1),o){var y=w(o,n,i);n=y.dx,i=y.dy}if(e<0&&(d+="x"),r<0&&(d+=" y")&&(p=-1),h.flip=d,l.coordorigin=n*-v+f+i*-g,c||a.fillsize){var b=l.getElementsByTagName("fill");b=b&&b[0],l.removeChild(b),c&&(y=w(o,s.x(c[0],c[1]),s.y(c[0],c[1])),b.position=y.dx*p+f+y.dy*p),a.fillsize&&(b.size=a.fillsize[0]*u(e)+f+a.fillsize[1]*u(r)),l.appendChild(b)}h.visibility="visible"}};t.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var k,E=function(t,e,n){for(var i=r(e).toLowerCase().split("-"),o=n?"end":"start",a=i.length,s="classic",u="medium",c="medium";a--;)switch(i[a]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=i[a];break;case"wide":case"narrow":c=i[a];break;case"long":case"short":u=i[a]}var l=t.node.getElementsByTagName("stroke")[0];l[o+"arrow"]=s,l[o+"arrowlength"]=u,l[o+"arrowwidth"]=c},S=function(i,u){i.attrs=i.attrs||{};var l=i.node,v=i.attrs,y=l.style,w=b[i.type]&&(u.x!=v.x||u.y!=v.y||u.width!=v.width||u.height!=v.height||u.cx!=v.cx||u.cy!=v.cy||u.rx!=v.rx||u.ry!=v.ry||u.r!=v.r),S=x[i.type]&&(v.cx!=u.cx||v.cy!=u.cy||v.r!=u.r||v.rx!=u.rx||v.ry!=u.ry),A=i;for(var O in u)u[e](O)&&(v[O]=u[O]);if(w&&(v.path=t._getPath[i.type](i),i._.dirty=1),u.href&&(l.href=u.href),u.title&&(l.title=u.title),u.target&&(l.target=u.target),u.cursor&&(y.cursor=u.cursor),"blur"in u&&i.blur(u.blur),(u.path&&"path"==i.type||w)&&(l.path=function(e){var n=/[ahqstv]/gi,i=t._pathToAbsolute;if(r(e).match(n)&&(i=t._path2curve),n=/[clmz]/g,i==t._pathToAbsolute&&!r(e).match(n)){var a=r(e).replace(d,(function(t,e,r){var n=[],i="m"==e.toLowerCase(),a=p[e];return r.replace(g,(function(t){i&&2==n.length&&(a+=n+p["m"==e?"l":"L"],n=[]),n.push(o(t*m))})),a+n}));return a}var s,u,c=i(e);a=[];for(var l=0,v=c.length;l<v;l++){s=c[l],"z"==(u=c[l][0].toLowerCase())&&(u="x");for(var y=1,b=s.length;y<b;y++)u+=o(s[y]*m)+(y!=b-1?",":h);a.push(u)}return a.join(f)}(~r(v.path).toLowerCase().indexOf("r")?t._pathToAbsolute(v.path):v.path),i._.dirty=1,"image"==i.type&&(i._.fillpos=[v.x,v.y],i._.fillsize=[v.width,v.height],_(i,1,1,0,0,0))),"transform"in u&&i.transform(u.transform),S){var P=+v.cx,D=+v.cy,j=+v.rx||+v.r||0,T=+v.ry||+v.r||0;l.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",o((P-j)*m),o((D-T)*m),o((P+j)*m),o((D+T)*m),o(P*m)),i._.dirty=1}if("clip-rect"in u){var N=r(u["clip-rect"]).split(c);if(4==N.length){N[2]=+N[2]+ +N[0],N[3]=+N[3]+ +N[1];var M=l.clipRect||t._g.doc.createElement("div"),F=M.style;F.clip=t.format("rect({1}px {2}px {3}px {0}px)",N),l.clipRect||(F.position="absolute",F.top=0,F.left=0,F.width=i.paper.width+"px",F.height=i.paper.height+"px",l.parentNode.insertBefore(M,l),M.appendChild(l),l.clipRect=M)}u["clip-rect"]||l.clipRect&&(l.clipRect.style.clip="auto")}if(i.textpath){var B=i.textpath.style;u.font&&(B.font=u.font),u["font-family"]&&(B.fontFamily='"'+u["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,h)+'"'),u["font-size"]&&(B.fontSize=u["font-size"]),u["font-weight"]&&(B.fontWeight=u["font-weight"]),u["font-style"]&&(B.fontStyle=u["font-style"])}if("arrow-start"in u&&E(A,u["arrow-start"]),"arrow-end"in u&&E(A,u["arrow-end"],1),null!=u.opacity||null!=u.fill||null!=u.src||null!=u.stroke||null!=u["stroke-width"]||null!=u["stroke-opacity"]||null!=u["fill-opacity"]||null!=u["stroke-dasharray"]||null!=u["stroke-miterlimit"]||null!=u["stroke-linejoin"]||null!=u["stroke-linecap"]){var R=l.getElementsByTagName("fill");if(!(R=R&&R[0])&&(R=k("fill")),"image"==i.type&&u.src&&(R.src=u.src),u.fill&&(R.on=!0),null!=R.on&&"none"!=u.fill&&null!==u.fill||(R.on=!1),R.on&&u.fill){var L=r(u.fill).match(t._ISURL);if(L){R.parentNode==l&&l.removeChild(R),R.rotate=!0,R.src=L[1],R.type="tile";var I=i.getBBox(1);R.position=I.x+f+I.y,i._.fillpos=[I.x,I.y],t._preload(L[1],(function(){i._.fillsize=[this.offsetWidth,this.offsetHeight]}))}else R.color=t.getRGB(u.fill).hex,R.src=h,R.type="solid",t.getRGB(u.fill).error&&(A.type in{circle:1,ellipse:1}||"r"!=r(u.fill).charAt())&&C(A,u.fill,R)&&(v.fill="none",v.gradient=u.fill,R.rotate=!1)}if("fill-opacity"in u||"opacity"in u){var z=((+v["fill-opacity"]+1||2)-1)*((+v.opacity+1||2)-1)*((+t.getRGB(u.fill).o+1||2)-1);z=s(a(z,0),1),R.opacity=z,R.src&&(R.color="none")}l.appendChild(R);var q=l.getElementsByTagName("stroke")&&l.getElementsByTagName("stroke")[0],U=!1;!q&&(U=q=k("stroke")),(u.stroke&&"none"!=u.stroke||u["stroke-width"]||null!=u["stroke-opacity"]||u["stroke-dasharray"]||u["stroke-miterlimit"]||u["stroke-linejoin"]||u["stroke-linecap"])&&(q.on=!0),("none"==u.stroke||null===u.stroke||null==q.on||0==u.stroke||0==u["stroke-width"])&&(q.on=!1);var V=t.getRGB(u.stroke);q.on&&u.stroke&&(q.color=V.hex),z=((+v["stroke-opacity"]+1||2)-1)*((+v.opacity+1||2)-1)*((+V.o+1||2)-1);var H=.75*(n(u["stroke-width"])||1);if(z=s(a(z,0),1),null==u["stroke-width"]&&(H=v["stroke-width"]),u["stroke-width"]&&(q.weight=H),H&&H<1&&(z*=H)&&(q.weight=1),q.opacity=z,u["stroke-linejoin"]&&(q.joinstyle=u["stroke-linejoin"]||"miter"),q.miterlimit=u["stroke-miterlimit"]||8,u["stroke-linecap"]&&(q.endcap="butt"==u["stroke-linecap"]?"flat":"square"==u["stroke-linecap"]?"square":"round"),"stroke-dasharray"in u){var W={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};q.dashstyle=W[e](u["stroke-dasharray"])?W[u["stroke-dasharray"]]:h}U&&l.appendChild(q)}if("text"==A.type){A.paper.canvas.style.display=h;var $=A.paper.span,G=v.font&&v.font.match(/\d+(?:\.\d*)?(?=px)/);y=$.style,v.font&&(y.font=v.font),v["font-family"]&&(y.fontFamily=v["font-family"]),v["font-weight"]&&(y.fontWeight=v["font-weight"]),v["font-style"]&&(y.fontStyle=v["font-style"]),G=n(v["font-size"]||G&&G[0])||10,y.fontSize=100*G+"px",A.textpath.string&&($.innerHTML=r(A.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var Y=$.getBoundingClientRect();A.W=v.w=(Y.right-Y.left)/100,A.H=v.h=(Y.bottom-Y.top)/100,A.X=v.x,A.Y=v.y+A.H/2,("x"in u||"y"in u)&&(A.path.v=t.format("m{0},{1}l{2},{1}",o(v.x*m),o(v.y*m),o(v.x*m)+1));for(var X=["x","y","text","font","font-family","font-weight","font-style","font-size"],K=0,Z=X.length;K<Z;K++)if(X[K]in u){A._.dirty=1;break}switch(v["text-anchor"]){case"start":A.textpath.style["v-text-align"]="left",A.bbx=A.W/2;break;case"end":A.textpath.style["v-text-align"]="right",A.bbx=-A.W/2;break;default:A.textpath.style["v-text-align"]="center",A.bbx=0}A.textpath.style["v-text-kern"]=!0}},C=function(e,o,a){e.attrs=e.attrs||{},e.attrs;var s=Math.pow,u="linear",c=".5 .5";if(e.attrs.gradient=o,o=(o=r(o).replace(t._radial_gradient,(function(t,e,r){return u="radial",e&&r&&(e=n(e),r=n(r),s(e-.5,2)+s(r-.5,2)>.25&&(r=i.sqrt(.25-s(e-.5,2))*(2*(r>.5)-1)+.5),c=e+f+r),h}))).split(/\s*\-\s*/),"linear"==u){var l=o.shift();if(l=-n(l),isNaN(l))return null}var p=t._parseDots(o);if(!p)return null;if(e=e.shape||e.node,p.length){e.removeChild(a),a.on=!0,a.method="none",a.color=p[0].color,a.color2=p[p.length-1].color;for(var d=[],v=0,g=p.length;v<g;v++)p[v].offset&&d.push(p[v].offset+f+p[v].color);a.colors=d.length?d.join():"0% "+a.color,"radial"==u?(a.type="gradientTitle",a.focus="100%",a.focussize="0 0",a.focusposition=c,a.angle=0):(a.type="gradient",a.angle=(270-l)%360),e.appendChild(a)}return 1},A=function(e,r){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=r,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!r.bottom&&(r.bottom=this),this.prev=r.top,r.top&&(r.top.next=this),r.top=this,this.next=null},O=t.el;A.prototype=O,O.constructor=A,O.transform=function(e){if(null==e)return this._.transform;var n,i=this.paper._viewBoxShift,o=i?"s"+[i.scale,i.scale]+"-1-1t"+[i.dx,i.dy]:h;i&&(n=e=r(e).replace(/\.{3}|\u2026/g,this._.transform||h)),t._extractTransform(this,o+e);var a,s=this.matrix.clone(),u=this.skew,c=this.node,l=~r(this.attrs.fill).indexOf("-"),p=!r(this.attrs.fill).indexOf("url(");if(s.translate(1,1),p||l||"image"==this.type)if(u.matrix="1 0 0 1",u.offset="0 0",a=s.split(),l&&a.noRotation||!a.isSimple){c.style.filter=s.toFilter();var d=this.getBBox(),v=this.getBBox(1),g=d.x-v.x,y=d.y-v.y;c.coordorigin=g*-m+f+y*-m,_(this,1,1,g,y,0)}else c.style.filter=h,_(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else c.style.filter=h,u.matrix=r(s),u.offset=s.offset();return null!==n&&(this._.transform=n,t._extractTransform(this,n)),this},O.rotate=function(t,e,i){if(this.removed)return this;if(null!=t){if((t=r(t).split(c)).length-1&&(e=n(t[1]),i=n(t[2])),t=n(t[0]),null==i&&(e=i),null==e||null==i){var o=this.getBBox(1);e=o.x+o.width/2,i=o.y+o.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,i]])),this}},O.translate=function(t,e){return this.removed||((t=r(t).split(c)).length-1&&(e=n(t[1])),t=n(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]]))),this},O.scale=function(t,e,i,o){if(this.removed)return this;if((t=r(t).split(c)).length-1&&(e=n(t[1]),i=n(t[2]),o=n(t[3]),isNaN(i)&&(i=null),isNaN(o)&&(o=null)),t=n(t[0]),null==e&&(e=t),null==o&&(i=o),null==i||null==o)var a=this.getBBox(1);return i=null==i?a.x+a.width/2:i,o=null==o?a.y+a.height/2:o,this.transform(this._.transform.concat([["s",t,e,i,o]])),this._.dirtyT=1,this},O.hide=function(){return!this.removed&&(this.node.style.display="none"),this},O.show=function(){return!this.removed&&(this.node.style.display=h),this},O.auxGetBBox=t.el.getBBox,O.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},r=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=r,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=r,e.width=t.width*r,e.height=t.height*r,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},O._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},O.remove=function(){if(!this.removed&&this.node.parentNode){for(var e in this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("raphael.*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},O.attr=function(r,n){if(this.removed)return this;if(null==r){var i={};for(var o in this.attrs)this.attrs[e](o)&&(i[o]=this.attrs[o]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==n&&t.is(r,"string")){if("fill"==r&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=r.split(c),s={},u=0,f=a.length;u<f;u++)(r=a[u])in this.attrs?s[r]=this.attrs[r]:t.is(this.paper.customAttributes[r],"function")?s[r]=this.paper.customAttributes[r].def:s[r]=t._availableAttrs[r];return f-1?s:s[a[0]]}if(this.attrs&&null==n&&t.is(r,"array")){for(s={},u=0,f=r.length;u<f;u++)s[r[u]]=this.attr(r[u]);return s}var h;for(var p in null!=n&&((h={})[r]=n),null==n&&t.is(r,"object")&&(h=r),h)l("raphael.attr."+p+"."+this.id,this,h[p]);if(h){for(p in this.paper.customAttributes)if(this.paper.customAttributes[e](p)&&h[e](p)&&t.is(this.paper.customAttributes[p],"function")){var d=this.paper.customAttributes[p].apply(this,[].concat(h[p]));for(var v in this.attrs[p]=h[p],d)d[e](v)&&(h[v]=d[v])}h.text&&"text"==this.type&&(this.textpath.string=h.text),S(this,h)}return this},O.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},O.toBack=function(){return this.removed||this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this},O.insertAfter=function(e){return this.removed||(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper)),this},O.insertBefore=function(e){return this.removed||(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper)),this},O.blur=function(e){var r=this.node.runtimeStyle,n=r.filter;return n=n.replace(v,h),0!=+e?(this.attrs.blur=e,r.filter=n+f+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+e||1.5)+")",r.margin=t.format("-{0}px 0 0 -{0}px",o(+e||1.5))):(r.filter=n,r.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var r=k("shape");r.style.cssText=y,r.coordsize=m+f+m,r.coordorigin=e.coordorigin;var n=new A(r,e),i={fill:"none",stroke:"#000"};t&&(i.path=t),n.type="path",n.path=[],n.Path=h,S(n,i),e.canvas&&e.canvas.appendChild(r);var o=k("skew");return o.on=!0,r.appendChild(o),n.skew=o,n.transform(h),n},t._engine.rect=function(e,r,n,i,o,a){var s=t._rectPath(r,n,i,o,a),u=e.path(s),c=u.attrs;return u.X=c.x=r,u.Y=c.y=n,u.W=c.width=i,u.H=c.height=o,c.r=a,c.path=s,u.type="rect",u},t._engine.ellipse=function(t,e,r,n,i){var o=t.path();return o.attrs,o.X=e-n,o.Y=r-i,o.W=2*n,o.H=2*i,o.type="ellipse",S(o,{cx:e,cy:r,rx:n,ry:i}),o},t._engine.circle=function(t,e,r,n){var i=t.path();return i.attrs,i.X=e-n,i.Y=r-n,i.W=i.H=2*n,i.type="circle",S(i,{cx:e,cy:r,r:n}),i},t._engine.image=function(e,r,n,i,o,a){var s=t._rectPath(n,i,o,a),u=e.path(s).attr({stroke:"none"}),c=u.attrs,l=u.node,f=l.getElementsByTagName("fill")[0];return c.src=r,u.X=c.x=n,u.Y=c.y=i,u.W=c.width=o,u.H=c.height=a,c.path=s,u.type="image",f.parentNode==l&&l.removeChild(f),f.rotate=!0,f.src=r,f.type="tile",u._.fillpos=[n,i],u._.fillsize=[o,a],l.appendChild(f),_(u,1,1,0,0,0),u},t._engine.text=function(e,n,i,a){var s=k("shape"),u=k("path"),c=k("textpath");n=n||0,i=i||0,a=a||"",u.v=t.format("m{0},{1}l{2},{1}",o(n*m),o(i*m),o(n*m)+1),u.textpathok=!0,c.string=r(a),c.on=!0,s.style.cssText=y,s.coordsize=m+f+m,s.coordorigin="0 0";var l=new A(s,e),p={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:a};l.shape=s,l.path=u,l.textpath=c,l.type="text",l.attrs.text=r(a),l.attrs.x=n,l.attrs.y=i,l.attrs.w=1,l.attrs.h=1,S(l,p),s.appendChild(c),s.appendChild(u),e.canvas.appendChild(s);var d=k("skew");return d.on=!0,s.appendChild(d),l.skew=d,l.transform(h),l},t._engine.setSize=function(e,r){var n=this.canvas.style;return this.width=e,this.height=r,e==+e&&(e+="px"),r==+r&&(r+="px"),n.width=e,n.height=r,n.clip="rect(0 "+e+" "+r+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,r,n,i,o){t.eve("raphael.setViewBox",this,this._viewBox,[e,r,n,i,o]);var a,s,u=this.getSize(),c=u.width,l=u.height;return o&&(n*(a=l/i)<c&&(e-=(c-n*a)/2/a),i*(s=c/n)<l&&(r-=(l-i*s)/2/s)),this._viewBox=[e,r,n,i,!!o],this._viewBoxShift={dx:-e,dy:-r,scale:u},this.forEach((function(t){t.transform("...")})),this},t._engine.initWin=function(t){var e=t.document;e.styleSheets.length<31?e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):e.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),k=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(t){k=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),r=e.container,n=e.height,i=e.width,o=e.x,a=e.y;if(!r)throw new Error("VML container not found.");var s=new t._Paper,u=s.canvas=t._g.doc.createElement("div"),c=u.style;return o=o||0,a=a||0,i=i||512,n=n||342,s.width=i,s.height=n,i==+i&&(i+="px"),n==+n&&(n+="px"),s.coordsize="21600000 21600000",s.coordorigin="0 0",s.span=t._g.doc.createElement("span"),s.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",u.appendChild(s.span),c.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",i,n),1==r?(t._g.doc.body.appendChild(u),c.left=o+"px",c.top=a+"px",c.position="absolute"):r.firstChild?r.insertBefore(u,r.firstChild):r.appendChild(u),s.renderfix=function(){},s},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=h,this.span=t._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},t.prototype.remove=function(){for(var e in t.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var P=t.st;for(var D in O)O[e](D)&&!P[e](D)&&(P[D]=function(t){return function(){var e=arguments;return this.forEach((function(r){r[t].apply(r,e)}))}}(D))}}.apply(e,n))||(t.exports=i)}])},10159:function(t,e,r){"use strict";(n=r(96540))&&"object"==typeof n&&"default"in n&&n.default;var n,i=r(69502),o=new i,a=o.getBrowser(),s=(o.getCPU(),o.getDevice()),u=o.getEngine(),c=o.getOS(),l=o.getUA();var f="mobile",h="tablet",p="Chrome",d="Firefox",v="Opera",g="Yandex",y="Safari",m="Internet Explorer",b="Edge",x="Chromium",w="IE",_="Mobile Safari",k="MIUI Browser",E="Samsung Browser",S="iOS",C="Android",A="Windows Phone",O="Windows",P="Mac OS",D=function(t){return t||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},j=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},T=function(t){var e=j();return e&&e.platform&&(-1!==e.platform.indexOf(t)||"MacIntel"===e.platform&&e.maxTouchPoints>1&&!window.MSStream)},N=function(t){return t.type===f},M=function(t){return t.type===h},F=function(t){var e=t.type;return e===f||e===h},B=function(t){return"smarttv"===t.type},R=function(t){return undefined===t.type},L=function(t){return"wearable"===t.type},I=function(t){return"console"===t.type},z=function(t){return"embedded"===t.type},q=function(t){var e=t.vendor;return D(e)},U=function(t){var e=t.model;return D(e)},V=function(t){var e=t.type;return D(e,"browser")},H=function(t){return t.name===C},W=function(t){return t.name===O},$=function(t){return t.name===P},G=function(t){return t.name===A},Y=function(t){return t.name===S},X=function(t){var e=t.version;return D(e)},K=function(t){var e=t.name;return D(e)},Z=function(t){return t.name===p},Q=function(t){return t.name===d},J=function(t){return t.name===x},tt=function(t){return t.name===b},et=function(t){return t.name===g},rt=function(t){var e=t.name;return e===y||e===_},nt=function(t){return t.name===_},it=function(t){return t.name===v},ot=function(t){var e=t.name;return e===m||e===w},at=function(t){return t.name===k},st=function(t){return t.name===E},ut=function(t){var e=t.version;return D(e)},ct=function(t){var e=t.major;return D(e)},lt=function(t){var e=t.name;return D(e)},ft=function(t){var e=t.name;return D(e)},ht=function(t){var e=t.version;return D(e)},pt=function(){var t=j(),e=t&&t.userAgent&&t.userAgent.toLowerCase();return"string"==typeof e&&/electron/.test(e)},dt=function(t){return"string"==typeof t&&-1!==t.indexOf("Edg/")},vt=function(){var t=j();return t&&(/iPad|iPhone|iPod/.test(t.platform)||"MacIntel"===t.platform&&t.maxTouchPoints>1)&&!window.MSStream},gt=function(){return T("iPad")},yt=function(){return T("iPhone")},mt=function(){return T("iPod")},bt=function(t){return D(t)};B(s),I(s),L(s),z(s),nt(a)||gt(),J(a),F(s)||gt(),N(s),M(s)||gt(),R(s),R(s),H(c),G(c),Y(c)||gt(),Z(a),Q(a),rt(a),it(a);var xt=ot(a),wt=(X(c),K(c),ut(a),ct(a),lt(a),q(s),U(s),ft(u),ht(u),bt(l),tt(a)||dt(l),et(a),V(s),vt(),gt(),yt(),mt(),pt(),dt(l),tt(a)&&dt(l),W(c),$(c));at(a),st(a);e.lT=xt,e.Ue=wt},69502:function(t,e,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",c="string",l="major",f="model",h="name",p="type",d="vendor",v="version",g="architecture",y="console",m="mobile",b="tablet",x="smarttv",w="wearable",_="embedded",k="Amazon",E="Apple",S="ASUS",C="BlackBerry",A="Browser",O="Chrome",P="Firefox",D="Google",j="Huawei",T="LG",N="Microsoft",M="Motorola",F="Opera",B="Samsung",R="Sharp",L="Sony",I="Xiaomi",z="Zebra",q="Facebook",U="Chromium OS",V="Mac OS",H=function(t){for(var e={},r=0;r<t.length;r++)e[t[r].toUpperCase()]=t[r];return e},W=function(t,e){return typeof t===c&&-1!==$(e).indexOf($(t))},$=function(t){return t.toLowerCase()},G=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,""),typeof e===s?t:t.substring(0,500)},Y=function(t,e){for(var r,n,i,s,c,l,f=0;f<e.length&&!c;){var h=e[f],p=e[f+1];for(r=n=0;r<h.length&&!c&&h[r];)if(c=h[r++].exec(t))for(i=0;i<p.length;i++)l=c[++n],typeof(s=p[i])===u&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):o:this[s[0]]=l?s[1].call(this,l,s[2]):o:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):o):this[s]=l||o;f+=2}},X=function(t,e){for(var r in e)if(typeof e[r]===u&&e[r].length>0){for(var n=0;n<e[r].length;n++)if(W(e[r][n],t))return"?"===r?o:r}else if(W(e[r],t))return"?"===r?o:r;return t},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,v],[/opios[\/ ]+([\w\.]+)/i],[v,[h,F+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[h,F]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[h,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[h,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+A],v],[/\bfocus\/([\w\.]+)/i],[v,[h,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[h,F+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[h,F+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[h,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[v,[h,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+A]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+A],v],[/samsungbrowser\/([\w\.]+)/i],[v,[h,B+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,q],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[h,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,O+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[h,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[v,X,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[h,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[h,P+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,v],[/(cobalt)\/([\w\.]+)/i],[h,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,$]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",$]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,$]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[d,B],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[d,B],[p,m]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[d,E],[p,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[d,E],[p,b]],[/(macintosh);/i],[f,[d,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[d,R],[p,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[d,j],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[d,j],[p,m]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[d,I],[p,m]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[d,I],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[d,"OPPO"],[p,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[d,"Vivo"],[p,m]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[d,"Realme"],[p,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[d,M],[p,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[d,M],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[d,T],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[d,T],[p,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[d,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[d,"Nokia"],[p,m]],[/(pixel c)\b/i],[f,[d,D],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[d,D],[p,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[d,L],[p,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[d,L],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[d,"OnePlus"],[p,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[d,k],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[d,k],[p,m]],[/(playbook);[-\w\),; ]+(rim)/i],[f,d,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[d,C],[p,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[d,S],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[d,S],[p,m]],[/(nexus 9)/i],[f,[d,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[f,/_/g," "],[p,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[d,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[d,"Meizu"],[p,m]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[d,"Ulefone"],[p,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,f,[p,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,f,[p,b]],[/(surface duo)/i],[f,[d,N],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[d,"Fairphone"],[p,m]],[/(u304aa)/i],[f,[d,"AT&T"],[p,m]],[/\bsie-(\w*)/i],[f,[d,"Siemens"],[p,m]],[/\b(rct\w+) b/i],[f,[d,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[d,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[d,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[d,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[f,[d,"NuVision"],[p,b]],[/\b(k88) b/i],[f,[d,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[f,[d,"ZTE"],[p,m]],[/\b(gen\d{3}) b.+49h/i],[f,[d,"Swiss"],[p,m]],[/\b(zur\d{3}) b/i],[f,[d,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[f,[d,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],f,[p,b]],[/\b(ns-?\w{0,9}) b/i],[f,[d,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[d,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],f,[p,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],f,[p,m]],[/\b(ph-1) /i],[f,[d,"Essential"],[p,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[d,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[f,[d,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[f,[d,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[f,[d,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[d,f,[p,m]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[d,N],[p,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[d,z],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[d,z],[p,m]],[/smart-tv.+(samsung)/i],[d,[p,x]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[d,B],[p,x]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,T],[p,x]],[/(apple) ?tv/i],[d,[f,E+" TV"],[p,x]],[/crkey/i],[[f,O+"cast"],[d,D],[p,x]],[/droid.+aft(\w+)( bui|\))/i],[f,[d,k],[p,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[d,R],[p,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[d,L],[p,x]],[/(mitv-\w{5}) bui/i],[f,[d,I],[p,x]],[/Hbbtv.*(technisat) (.*);/i],[d,f,[p,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,G],[f,G],[p,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,f,[p,y]],[/droid.+; (shield) bui/i],[f,[d,"Nvidia"],[p,y]],[/(playstation [345portablevi]+)/i],[f,[d,L],[p,y]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[d,N],[p,y]],[/((pebble))app/i],[d,f,[p,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[d,E],[p,w]],[/droid.+; (glass) \d/i],[f,[d,D],[p,w]],[/droid.+; (wt63?0{2,3})\)/i],[f,[d,z],[p,w]],[/(quest( 2| pro)?)/i],[f,[d,q],[p,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[p,_]],[/(aeobc)\b/i],[f,[d,k],[p,_]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[p,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,m]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[h,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[v,X,K]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,X,K],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,V],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,v],[/\(bb(10);/i],[v,[h,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[h,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[h,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,U],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,v],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,v]]},Q=function(t,e){if(typeof t===u&&(e=t,t=o),!(this instanceof Q))return new Q(t,e).getResult();var r=typeof i!==s&&i.navigator?i.navigator:o,n=t||(r&&r.userAgent?r.userAgent:""),y=r&&r.userAgentData?r.userAgentData:o,x=e?function(t,e){var r={};for(var n in t)e[n]&&e[n].length%2==0?r[n]=e[n].concat(t[n]):r[n]=t[n];return r}(Z,e):Z,w=r&&r.userAgent==n;return this.getBrowser=function(){var t,e={};return e[h]=o,e[v]=o,Y.call(e,n,x.browser),e[l]=typeof(t=e[v])===c?t.replace(/[^\d\.]/g,"").split(".")[0]:o,w&&r&&r.brave&&typeof r.brave.isBrave==a&&(e[h]="Brave"),e},this.getCPU=function(){var t={};return t[g]=o,Y.call(t,n,x.cpu),t},this.getDevice=function(){var t={};return t[d]=o,t[f]=o,t[p]=o,Y.call(t,n,x.device),w&&!t[p]&&y&&y.mobile&&(t[p]=m),w&&"Macintosh"==t[f]&&r&&typeof r.standalone!==s&&r.maxTouchPoints&&r.maxTouchPoints>2&&(t[f]="iPad",t[p]=b),t},this.getEngine=function(){var t={};return t[h]=o,t[v]=o,Y.call(t,n,x.engine),t},this.getOS=function(){var t={};return t[h]=o,t[v]=o,Y.call(t,n,x.os),w&&!t[h]&&y&&"Unknown"!=y.platform&&(t[h]=y.platform.replace(/chrome os/i,U).replace(/macos/i,V)),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=typeof t===c&&t.length>500?G(t,500):t,this},this.setUA(n),this};Q.VERSION="1.0.37",Q.BROWSER=H([h,v,l]),Q.CPU=H([g]),Q.DEVICE=H([f,d,p,y,m,x,b,w,_]),Q.ENGINE=Q.OS=H([h,v]),typeof e!==s?(t.exports&&(e=t.exports=Q),e.UAParser=Q):r.amdO?(n=function(){return Q}.call(e,r,e,t))===o||(t.exports=n):typeof i!==s&&(i.UAParser=Q);var J=typeof i!==s&&(i.jQuery||i.Zepto);if(J&&!J.ua){var tt=new Q;J.ua=tt.getResult(),J.ua.get=function(){return tt.getUA()},J.ua.set=function(t){tt.setUA(t);var e=tt.getResult();for(var r in e)J.ua[r]=e[r]}}}("object"==typeof window?window:this)},25501:function(t,e,r){"use strict";r.d(e,{VB:function(){return z}});var n=r(96540),i=r(5556),o=r.n(i),a=r(14205),s=r(9455);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var p=function(t){t=Array.isArray(t)&&1===t.length?t[0]:t;var e=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:"file-invalid-type",message:"File type must be ".concat(e)}},d=function(t){return{code:"file-too-large",message:"File is larger than ".concat(t," ").concat(1===t?"byte":"bytes")}},v=function(t){return{code:"file-too-small",message:"File is smaller than ".concat(t," ").concat(1===t?"byte":"bytes")}},g={code:"too-many-files",message:"Too many files"};function y(t,e){var r="application/x-moz-file"===t.type||(0,s.A)(t,e);return[r,r?null:p(e)]}function m(t,e,r){if(b(t.size))if(b(e)&&b(r)){if(t.size>r)return[!1,d(r)];if(t.size<e)return[!1,v(e)]}else{if(b(e)&&t.size<e)return[!1,v(e)];if(b(r)&&t.size>r)return[!1,d(r)]}return[!0,null]}function b(t){return null!=t}function x(t){return"function"==typeof t.isPropagationStopped?t.isPropagationStopped():void 0!==t.cancelBubble&&t.cancelBubble}function w(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,(function(t){return"Files"===t||"application/x-moz-file"===t})):!!t.target&&!!t.target.files}function _(t){t.preventDefault()}function k(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.some((function(e){return!x(t)&&e&&e.apply(void 0,[t].concat(n)),x(t)}))}}function E(){return"showOpenFilePicker"in window}function S(t){return t="string"==typeof t?t.split(","):t,[{description:"everything",accept:Array.isArray(t)?t.filter((function(t){return"audio/*"===t||"video/*"===t||"image/*"===t||"text/*"===t||/\w+\/[-+.\w]+/g.test(t)})).reduce((function(t,e){return c(c({},t),{},l({},e,[]))}),{}):{}}]}var C=["children"],A=["open"],O=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],P=["refKey","onChange","onClick"];function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||j(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function N(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?N(Object(r),!0).forEach((function(e){F(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var R=(0,n.forwardRef)((function(t,e){var r=t.children,i=z(B(t,C)),o=i.open,a=B(i,A);return(0,n.useImperativeHandle)(e,(function(){return{open:o}}),[o]),n.createElement(n.Fragment,null,r(M(M({},a),{},{open:o})))}));R.displayName="Dropzone";var L={disabled:!1,getFilesFromEvent:a.R,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1};R.defaultProps=L,R.propTypes={children:o().func,accept:o().oneOfType([o().string,o().arrayOf(o().string)]),multiple:o().bool,preventDropOnDocument:o().bool,noClick:o().bool,noKeyboard:o().bool,noDrag:o().bool,noDragEventsBubbling:o().bool,minSize:o().number,maxSize:o().number,maxFiles:o().number,disabled:o().bool,getFilesFromEvent:o().func,onFileDialogCancel:o().func,onFileDialogOpen:o().func,useFsAccessApi:o().bool,onDragEnter:o().func,onDragLeave:o().func,onDragOver:o().func,onDrop:o().func,onDropAccepted:o().func,onDropRejected:o().func,validator:o().func};var I={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=M(M({},L),t),r=e.accept,i=e.disabled,o=e.getFilesFromEvent,a=e.maxSize,s=e.minSize,u=e.multiple,c=e.maxFiles,l=e.onDragEnter,h=e.onDragLeave,p=e.onDragOver,d=e.onDrop,v=e.onDropAccepted,b=e.onDropRejected,C=e.onFileDialogCancel,A=e.onFileDialogOpen,N=e.useFsAccessApi,R=e.preventDropOnDocument,z=e.noClick,V=e.noKeyboard,H=e.noDrag,W=e.noDragEventsBubbling,$=e.validator,G=(0,n.useMemo)((function(){return"function"==typeof A?A:U}),[A]),Y=(0,n.useMemo)((function(){return"function"==typeof C?C:U}),[C]),X=(0,n.useRef)(null),K=(0,n.useRef)(null),Z=D((0,n.useReducer)(q,I),2),Q=Z[0],J=Z[1],tt=Q.isFocused,et=Q.isFileDialogActive,rt=Q.draggedFiles,nt=function(){et&&setTimeout((function(){K.current&&(K.current.files.length||(J({type:"closeDialog"}),Y()))}),300)};(0,n.useEffect)((function(){return N&&E()?function(){}:(window.addEventListener("focus",nt,!1),function(){window.removeEventListener("focus",nt,!1)})}),[K,et,Y,N]);var it=(0,n.useRef)([]),ot=function(t){X.current&&X.current.contains(t.target)||(t.preventDefault(),it.current=[])};(0,n.useEffect)((function(){return R&&(document.addEventListener("dragover",_,!1),document.addEventListener("drop",ot,!1)),function(){R&&(document.removeEventListener("dragover",_),document.removeEventListener("drop",ot))}}),[X,R]);var at=(0,n.useCallback)((function(t){var e;t.preventDefault(),t.persist(),bt(t),it.current=[].concat(function(t){if(Array.isArray(t))return T(t)}(e=it.current)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t.target]),w(t)&&Promise.resolve(o(t)).then((function(e){x(t)&&!W||(J({draggedFiles:e,isDragActive:!0,type:"setDraggedFiles"}),l&&l(t))}))}),[o,l,W]),st=(0,n.useCallback)((function(t){t.preventDefault(),t.persist(),bt(t);var e=w(t);if(e&&t.dataTransfer)try{t.dataTransfer.dropEffect="copy"}catch(t){}return e&&p&&p(t),!1}),[p,W]),ut=(0,n.useCallback)((function(t){t.preventDefault(),t.persist(),bt(t);var e=it.current.filter((function(t){return X.current&&X.current.contains(t)})),r=e.indexOf(t.target);-1!==r&&e.splice(r,1),it.current=e,e.length>0||(J({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),w(t)&&h&&h(t))}),[X,h,W]),ct=(0,n.useCallback)((function(t,e){var n=[],i=[];t.forEach((function(t){var e=D(y(t,r),2),o=e[0],u=e[1],c=D(m(t,s,a),2),l=c[0],f=c[1],h=$?$(t):null;if(o&&l&&!h)n.push(t);else{var p=[u,f];h&&(p=p.concat(h)),i.push({file:t,errors:p.filter((function(t){return t}))})}})),(!u&&n.length>1||u&&c>=1&&n.length>c)&&(n.forEach((function(t){i.push({file:t,errors:[g]})})),n.splice(0)),J({acceptedFiles:n,fileRejections:i,type:"setFiles"}),d&&d(n,i,e),i.length>0&&b&&b(i,e),n.length>0&&v&&v(n,e)}),[J,u,r,s,a,c,d,v,b,$]),lt=(0,n.useCallback)((function(t){t.preventDefault(),t.persist(),bt(t),it.current=[],w(t)&&Promise.resolve(o(t)).then((function(e){x(t)&&!W||ct(e,t)})),J({type:"reset"})}),[o,ct,W]),ft=(0,n.useCallback)((function(){if(N&&E()){J({type:"openDialog"}),G();var t={multiple:u,types:S(r)};window.showOpenFilePicker(t).then((function(t){return o(t)})).then((function(t){return ct(t,null)})).catch((function(t){return Y(t)})).finally((function(){return J({type:"closeDialog"})}))}else K.current&&(J({type:"openDialog"}),G(),K.current.value=null,K.current.click())}),[J,G,Y,N,ct,r,u]),ht=(0,n.useCallback)((function(t){X.current&&X.current.isEqualNode(t.target)&&(32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),ft()))}),[X,K,ft]),pt=(0,n.useCallback)((function(){J({type:"focus"})}),[]),dt=(0,n.useCallback)((function(){J({type:"blur"})}),[]),vt=(0,n.useCallback)((function(){z||(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(t){return-1!==t.indexOf("MSIE")||-1!==t.indexOf("Trident/")}(t)||function(t){return-1!==t.indexOf("Edge/")}(t)}()?setTimeout(ft,0):ft())}),[K,z,ft]),gt=function(t){return i?null:t},yt=function(t){return V?null:gt(t)},mt=function(t){return H?null:gt(t)},bt=function(t){W&&t.stopPropagation()},xt=(0,n.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,r=void 0===e?"ref":e,n=t.role,o=t.onKeyDown,a=t.onFocus,s=t.onBlur,u=t.onClick,c=t.onDragEnter,l=t.onDragOver,f=t.onDragLeave,h=t.onDrop,p=B(t,O);return M(M(F({onKeyDown:yt(k(o,ht)),onFocus:yt(k(a,pt)),onBlur:yt(k(s,dt)),onClick:gt(k(u,vt)),onDragEnter:mt(k(c,at)),onDragOver:mt(k(l,st)),onDragLeave:mt(k(f,ut)),onDrop:mt(k(h,lt)),role:"string"==typeof n&&""!==n?n:"button"},r,X),i||V?{}:{tabIndex:0}),p)}}),[X,ht,pt,dt,vt,at,st,ut,lt,V,H,i]),wt=(0,n.useCallback)((function(t){t.stopPropagation()}),[]),_t=(0,n.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,n=void 0===e?"ref":e,i=t.onChange,o=t.onClick,a=B(t,P);return M(M({},F({accept:r,multiple:u,type:"file",style:{display:"none"},onChange:gt(k(i,lt)),onClick:gt(k(o,wt)),autoComplete:"off",tabIndex:-1},n,K)),a)}}),[K,r,u,lt,i]),kt=rt.length,Et=kt>0&&function(t){var e=t.files,r=t.accept,n=t.minSize,i=t.maxSize,o=t.multiple,a=t.maxFiles;return!(!o&&e.length>1||o&&a>=1&&e.length>a)&&e.every((function(t){var e=f(y(t,r),1)[0],o=f(m(t,n,i),1)[0];return e&&o}))}({files:rt,accept:r,minSize:s,maxSize:a,multiple:u,maxFiles:c}),St=kt>0&&!Et;return M(M({},Q),{},{isDragAccept:Et,isDragReject:St,isFocused:tt&&!i,getRootProps:xt,getInputProps:_t,rootRef:X,inputRef:K,open:gt(ft)})}function q(t,e){switch(e.type){case"focus":return M(M({},t),{},{isFocused:!0});case"blur":return M(M({},t),{},{isFocused:!1});case"openDialog":return M(M({},I),{},{isFileDialogActive:!0});case"closeDialog":return M(M({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=e.isDragActive,n=e.draggedFiles;return M(M({},t),{},{draggedFiles:n,isDragActive:r});case"setFiles":return M(M({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections});case"reset":return M({},I);default:return t}}function U(){}},21742:function(t,e,r){"use strict";r.d(e,{Wx:function(){return d}});var n=r(96540);function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},i.apply(this,arguments)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}var a=new Map,s=new WeakMap,u=0,c=void 0;function l(t,e,r,n){if(void 0===r&&(r={}),void 0===n&&(n=c),void 0===window.IntersectionObserver&&void 0!==n){var i=t.getBoundingClientRect();return e(n,{isIntersecting:n,target:t,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=function(t){var e=function(t){return Object.keys(t).sort().filter((function(e){return void 0!==t[e]})).map((function(e){return e+"_"+("root"===e?(r=t.root)?(s.has(r)||(u+=1,s.set(r,u.toString())),s.get(r)):"0":t[e]);var r})).toString()}(t),r=a.get(e);if(!r){var n,i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var r,o=e.isIntersecting&&n.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(r=i.get(e.target))||r.forEach((function(t){t(o,e)}))}))}),t);n=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),r={id:e,observer:o,elements:i},a.set(e,r)}return r}(r),l=o.id,f=o.observer,h=o.elements,p=h.get(t)||[];return h.has(t)||h.set(t,p),p.push(e),f.observe(t),function(){p.splice(p.indexOf(e),1),0===p.length&&(h.delete(t),f.unobserve(t)),0===h.size&&(f.disconnect(),a.delete(l))}}var f=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(t){return"function"!=typeof t.children}var p=function(t){var e,r;function a(e){var r;return(r=t.call(this,e)||this).node=null,r._unobserveCb=null,r.handleNode=function(t){r.node&&(r.unobserve(),t||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=t||null,r.observeNode()},r.handleChange=function(t,e){t&&r.props.triggerOnce&&r.unobserve(),h(r.props)||r.setState({inView:t,entry:e}),r.props.onChange&&r.props.onChange(t,e)},r.state={inView:!!e.initialInView,entry:void 0},r}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,o(e,r);var s=a.prototype;return s.componentDidUpdate=function(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())},s.componentWillUnmount=function(){this.unobserve(),this.node=null},s.observeNode=function(){if(this.node&&!this.props.skip){var t=this.props,e=t.threshold,r=t.root,n=t.rootMargin,i=t.trackVisibility,o=t.delay,a=t.fallbackInView;this._unobserveCb=l(this.node,this.handleChange,{threshold:e,root:r,rootMargin:n,trackVisibility:i,delay:o},a)}},s.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},s.render=function(){if(!h(this.props)){var t=this.state,e=t.inView,r=t.entry;return this.props.children({inView:e,entry:r,ref:this.handleNode})}var o=this.props,a=o.children,s=o.as,u=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(o,f);return n.createElement(s||"div",i({ref:this.handleNode},u),a)},a}(n.Component);function d(t){var e=void 0===t?{}:t,r=e.threshold,i=e.delay,o=e.trackVisibility,a=e.rootMargin,s=e.root,u=e.triggerOnce,c=e.skip,f=e.initialInView,h=e.fallbackInView,p=n.useRef(),d=n.useState({inView:!!f}),v=d[0],g=d[1],y=n.useCallback((function(t){void 0!==p.current&&(p.current(),p.current=void 0),c||t&&(p.current=l(t,(function(t,e){g({inView:t,entry:e}),e.isIntersecting&&u&&p.current&&(p.current(),p.current=void 0)}),{root:s,rootMargin:a,threshold:r,trackVisibility:o,delay:i},h))}),[Array.isArray(r)?r.toString():r,s,a,u,c,o,h,i]);(0,n.useEffect)((function(){p.current||!v.entry||u||c||g({inView:!!f})}));var m=[y,v.inView,v.entry];return m.ref=m[0],m.inView=m[1],m.entry=m[2],m}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},61225:function(t,e,r){"use strict";r.d(e,{Kq:function(){return l},Ng:function(){return V},wA:function(){return Y},d4:function(){return Q}});var n=r(96540),i=n.createContext(null),o=function(t){t()},a=function(){return o},s={notify:function(){},get:function(){return[]}};function u(t,e){var r,n=s;function i(){u.onStateChange&&u.onStateChange()}function o(){r||(r=e?e.addNestedSub(i):t.subscribe(i),n=function(){var t=a(),e=null,r=null;return{clear:function(){e=null,r=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],r=e;r;)t.push(r),r=r.next;return t},subscribe:function(t){var n=!0,i=r={callback:t,next:null,prev:r};return i.prev?i.prev.next=i:e=i,function(){n&&null!==e&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}var u={addNestedSub:function(t){return o(),n.subscribe(t)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(r)},trySubscribe:o,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=s)},getListeners:function(){return n}};return u}var c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,l=function(t){var e=t.store,r=t.context,o=t.children,a=(0,n.useMemo)((function(){var t=u(e);return{store:e,subscription:t}}),[e]),s=(0,n.useMemo)((function(){return e.getState()}),[e]);c((function(){var t=a.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[a,s]);var l=r||i;return n.createElement(l.Provider,{value:a},o)},f=r(58168),h=r(98587),p=r(4146),d=r.n(p),v=r(54737),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],y=["reactReduxForwardedRef"],m=[],b=[null,null];function x(t,e){var r=t[1];return[e.payload,r+1]}function w(t,e,r){c((function(){return t.apply(void 0,e)}),r)}function _(t,e,r,n,i,o,a){t.current=n,e.current=i,r.current=!1,o.current&&(o.current=null,a())}function k(t,e,r,n,i,o,a,s,u,c){if(t){var l=!1,f=null,h=function(){if(!l){var t,r,h=e.getState();try{t=n(h,i.current)}catch(t){r=t,f=t}r||(f=null),t===o.current?a.current||u():(o.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:r}}))}};return r.onStateChange=h,r.trySubscribe(),h(),function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}}var E=function(){return[null,0]};function S(t,e){void 0===e&&(e={});var r=e,o=r.getDisplayName,a=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,s=r.methodName,c=void 0===s?"connectAdvanced":s,l=r.renderCountProp,p=void 0===l?void 0:l,S=r.shouldHandleStateChanges,C=void 0===S||S,A=r.storeKey,O=void 0===A?"store":A,P=(r.withRef,r.forwardRef),D=void 0!==P&&P,j=r.context,T=void 0===j?i:j,N=(0,h.A)(r,g),M=T;return function(e){var r=e.displayName||e.name||"Component",i=a(r),o=(0,f.A)({},N,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:C,storeKey:O,displayName:i,wrappedComponentName:r,WrappedComponent:e}),s=N.pure,l=s?n.useMemo:function(t){return t()};function g(r){var i=(0,n.useMemo)((function(){var t=r.reactReduxForwardedRef,e=(0,h.A)(r,y);return[r.context,t,e]}),[r]),a=i[0],s=i[1],c=i[2],p=(0,n.useMemo)((function(){return a&&a.Consumer&&(0,v.isContextConsumer)(n.createElement(a.Consumer,null))?a:M}),[a,M]),d=(0,n.useContext)(p),g=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(d)&&Boolean(d.store);var S=g?r.store:d.store,A=(0,n.useMemo)((function(){return function(e){return t(e.dispatch,o)}(S)}),[S]),O=(0,n.useMemo)((function(){if(!C)return b;var t=u(S,g?null:d.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[S,g,d]),P=O[0],D=O[1],j=(0,n.useMemo)((function(){return g?d:(0,f.A)({},d,{subscription:P})}),[g,d,P]),T=(0,n.useReducer)(x,m,E),N=T[0][0],F=T[1];if(N&&N.error)throw N.error;var B=(0,n.useRef)(),R=(0,n.useRef)(c),L=(0,n.useRef)(),I=(0,n.useRef)(!1),z=l((function(){return L.current&&c===R.current?L.current:A(S.getState(),c)}),[S,N,c]);w(_,[R,B,I,c,z,L,D]),w(k,[C,S,P,A,R,B,I,L,D,F],[S,P,A]);var q=(0,n.useMemo)((function(){return n.createElement(e,(0,f.A)({},z,{ref:s}))}),[s,e,z]);return(0,n.useMemo)((function(){return C?n.createElement(p.Provider,{value:j},q):q}),[p,q,j])}var S=s?n.memo(g):g;if(S.WrappedComponent=e,S.displayName=g.displayName=i,D){var A=n.forwardRef((function(t,e){return n.createElement(S,(0,f.A)({},t,{reactReduxForwardedRef:e}))}));return A.displayName=i,A.WrappedComponent=e,d()(A,e)}return d()(S,e)}}function C(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function A(t,e){if(C(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(e,r[i])||!C(t[r[i]],e[r[i]]))return!1;return!0}function O(t){return function(e,r){var n=t(e,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function P(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function D(t,e){return function(e,r){r.displayName;var n=function(t,e){return n.dependsOnOwnProps?n.mapToProps(t,e):n.mapToProps(t)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,r){n.mapToProps=t,n.dependsOnOwnProps=P(t);var i=n(e,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=P(i),i=n(e,r)),i},n}}var j=[function(t){return"function"==typeof t?D(t):void 0},function(t){return t?void 0:O((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?O((function(e){return function(t,e){var r={},n=function(n){var i=t[n];"function"==typeof i&&(r[n]=function(){return e(i.apply(void 0,arguments))})};for(var i in t)n(i);return r}(t,e)})):void 0}],T=[function(t){return"function"==typeof t?D(t):void 0},function(t){return t?void 0:O((function(){return{}}))}];function N(t,e,r){return(0,f.A)({},r,t,e)}var M=[function(t){return"function"==typeof t?function(t){return function(e,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(e,r,s){var u=t(e,r,s);return a?i&&o(u,n)||(n=u):(a=!0,n=u),n}}}(t):void 0},function(t){return t?void 0:function(){return N}}],F=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function B(t,e,r,n){return function(i,o){return r(t(i,o),e(n,o),o)}}function R(t,e,r,n,i){var o,a,s,u,c,l=i.areStatesEqual,f=i.areOwnPropsEqual,h=i.areStatePropsEqual,p=!1;return function(i,d){return p?function(i,p){var d,v,g=!f(p,a),y=!l(i,o,p,a);return o=i,a=p,g&&y?(s=t(o,a),e.dependsOnOwnProps&&(u=e(n,a)),c=r(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(o,a)),e.dependsOnOwnProps&&(u=e(n,a)),c=r(s,u,a)):y?(d=t(o,a),v=!h(d,s),s=d,v&&(c=r(s,u,a)),c):c}(i,d):(s=t(o=i,a=d),u=e(n,a),c=r(s,u,a),p=!0,c)}}function L(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,i=e.initMergeProps,o=(0,h.A)(e,F),a=r(t,o),s=n(t,o),u=i(t,o);return(o.pure?R:B)(a,s,u,t,o)}var I=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function z(t,e,r){for(var n=e.length-1;n>=0;n--){var i=e[n](t);if(i)return i}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function q(t,e){return t===e}function U(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?S:r,i=e.mapStateToPropsFactories,o=void 0===i?T:i,a=e.mapDispatchToPropsFactories,s=void 0===a?j:a,u=e.mergePropsFactories,c=void 0===u?M:u,l=e.selectorFactory,p=void 0===l?L:l;return function(t,e,r,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,d=a.areStatesEqual,v=void 0===d?q:d,g=a.areOwnPropsEqual,y=void 0===g?A:g,m=a.areStatePropsEqual,b=void 0===m?A:m,x=a.areMergedPropsEqual,w=void 0===x?A:x,_=(0,h.A)(a,I),k=z(t,o,"mapStateToProps"),E=z(e,s,"mapDispatchToProps"),S=z(r,c,"mergeProps");return n(p,(0,f.A)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:S,pure:l,areStatesEqual:v,areOwnPropsEqual:y,areStatePropsEqual:b,areMergedPropsEqual:w},_))}}var V=U();function H(){return(0,n.useContext)(i)}function W(t){void 0===t&&(t=i);var e=t===i?H:function(){return(0,n.useContext)(t)};return function(){return e().store}}var $=W();function G(t){void 0===t&&(t=i);var e=t===i?$:W(t);return function(){return e().dispatch}}var Y=G(),X=function(t,e){return t===e};function K(t){void 0===t&&(t=i);var e=t===i?H:function(){return(0,n.useContext)(t)};return function(t,r){void 0===r&&(r=X);var i=e(),o=function(t,e,r,i){var o,a=(0,n.useReducer)((function(t){return t+1}),0)[1],s=(0,n.useMemo)((function(){return u(r,i)}),[r,i]),l=(0,n.useRef)(),f=(0,n.useRef)(),h=(0,n.useRef)(),p=(0,n.useRef)(),d=r.getState();try{if(t!==f.current||d!==h.current||l.current){var v=t(d);o=void 0!==p.current&&e(v,p.current)?p.current:v}else o=p.current}catch(t){throw l.current&&(t.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),t}return c((function(){f.current=t,h.current=d,p.current=o,l.current=void 0})),c((function(){function t(){try{var t=r.getState();if(t===h.current)return;var n=f.current(t);if(e(n,p.current))return;p.current=n,h.current=t}catch(t){l.current=t}a()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(t,r,i.store,i.subscription);return(0,n.useDebugValue)(o),o}}var Z,Q=K();Z=r(40961).unstable_batchedUpdates,o=Z},28989:function(t,e){"use strict";var r=60103,n=60106,i=60107,o=60108,a=60114,s=60109,u=60110,c=60112,l=60113,f=60120,h=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;r=d("react.element"),n=d("react.portal"),i=d("react.fragment"),o=d("react.strict_mode"),a=d("react.profiler"),s=d("react.provider"),u=d("react.context"),c=d("react.forward_ref"),l=d("react.suspense"),f=d("react.suspense_list"),h=d("react.memo"),p=d("react.lazy"),d("react.block"),d("react.server.block"),d("react.fundamental"),d("react.debug_trace_mode"),d("react.legacy_hidden")}e.isContextConsumer=function(t){return function(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case i:case a:case o:case l:case f:return t;default:switch(t=t&&t.$$typeof){case u:case c:case p:case h:case s:return t;default:return e}}case n:return e}}}(t)===u}},54737:function(t,e,r){"use strict";t.exports=r(28989)},37353:function(t,e,r){"use strict";r.d(e,{Ay:function(){return v}});var n=r(98587),i=r(77387),o=r(96540),a=r(40961),s=r(17241),u="unmounted",c="exited",l="entering",f="entered",h="exiting",p=function(t){function e(e,r){var n;n=t.call(this,e,r)||this;var i,o=r&&!r.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?o?(i=c,n.appearStatus=l):i=f:i=e.unmountOnExit||e.mountOnEnter?u:c,n.state={status:i},n.nextCallback=null,n}(0,i.A)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:c}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==l&&r!==f&&(e=l):r!==l&&r!==f||(e=h)}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===l){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);r&&function(t){t.scrollTop}(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},r.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[a.findDOMNode(this),n],o=i[0],s=i[1],u=this.getTimeouts(),c=n?u.appear:u.enter;t||r?(this.props.onEnter(o,s),this.safeSetState({status:l},(function(){e.props.onEntering(o,s),e.onTransitionEnd(c,(function(){e.safeSetState({status:f},(function(){e.props.onEntered(o,s)}))}))}))):this.safeSetState({status:f},(function(){e.props.onEntered(o)}))},r.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:a.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:h},(function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,(function(){t.safeSetState({status:c},(function(){t.props.onExited(n)}))}))}))):this.safeSetState({status:c},(function(){t.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},r.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,r=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,(0,n.A)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(s.A.Provider,{value:null},"function"==typeof r?r(t,i):o.cloneElement(o.Children.only(r),i))},e}(o.Component);function d(){}p.contextType=s.A,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},p.UNMOUNTED=u,p.EXITED=c,p.ENTERING=l,p.ENTERED=f,p.EXITING=h;var v=p},22618:function(t,e,r){"use strict";r.d(e,{A:function(){return d}});var n=r(98587),i=r(58168),o=r(9417),a=r(77387),s=r(96540),u=r(17241);function c(t,e){var r=Object.create(null);return t&&s.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&(0,s.isValidElement)(t)?e(t):t}(t)})),r}function l(t,e,r){return null!=r[e]?r[e]:t.props[e]}function f(t,e,r){var n=c(t.children),i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in e){if(i[u])for(n=0;n<i[u].length;n++){var c=i[u][n];s[i[u][n]]=r(c)}s[u]=r(u)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(e,n);return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in e,c=o in n,f=e[o],h=(0,s.isValidElement)(f)&&!f.props.in;!c||u&&!h?c||!u||h?c&&u&&(0,s.isValidElement)(f)&&(i[o]=(0,s.cloneElement)(a,{onExited:r.bind(null,a),in:f.props.in,exit:l(a,"exit",t),enter:l(a,"enter",t)})):i[o]=(0,s.cloneElement)(a,{in:!1}):i[o]=(0,s.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:l(a,"exit",t),enter:l(a,"enter",t)})}})),i}var h=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},p=function(t){function e(e,r){var n,i=(n=t.call(this,e,r)||this).handleExited.bind((0,o.A)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,a.A)(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r,n,i=e.children,o=e.handleExited;return{children:e.firstRender?(r=t,n=o,c(r.children,(function(t){return(0,s.cloneElement)(t,{onExited:n.bind(null,t),in:!0,appear:l(t,"appear",r),enter:l(t,"enter",r),exit:l(t,"exit",r)})}))):f(t,i,o),firstRender:!1}},r.handleExited=function(t,e){var r=c(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=(0,i.A)({},e.children);return delete r[t.key],{children:r}})))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,i=(0,n.A)(t,["component","childFactory"]),o=this.state.contextValue,a=h(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===e?s.createElement(u.A.Provider,{value:o},a):s.createElement(u.A.Provider,{value:o},s.createElement(e,i,a))},e}(s.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(t){return t}};var d=p},17241:function(t,e,r){"use strict";var n=r(96540);e.A=n.createContext(null)},21020:function(t,e,r){"use strict";var n=r(96540),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,r){var n,o={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)a.call(e,n)&&!u.hasOwnProperty(n)&&(o[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===o[n]&&(o[n]=e[n]);return{$$typeof:i,type:t,key:c,ref:l,props:o,_owner:s.current}}e.Fragment=o,e.jsx=c,e.jsxs=c},74848:function(t,e,r){"use strict";t.exports=r(21020)},79448:function(t,e,r){!function(t){"use strict";function e(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}function n(t,e){Object.defineProperty(this,"kind",{value:t,enumerable:!0}),e&&e.length&&Object.defineProperty(this,"path",{value:e,enumerable:!0})}function i(t,e,r){i.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0}),Object.defineProperty(this,"rhs",{value:r,enumerable:!0})}function o(t,e){o.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:e,enumerable:!0})}function a(t,e){a.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0})}function s(t,e,r){s.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:e,enumerable:!0}),Object.defineProperty(this,"item",{value:r,enumerable:!0})}function u(t,e,r){var n=t.slice((r||e)+1||t.length);return t.length=e<0?t.length+e:e,t.push.apply(t,n),t}function c(t){var e=void 0===t?"undefined":S(t);return"object"!==e?e:t===Math?"math":null===t?"null":Array.isArray(t)?"array":"[object Date]"===Object.prototype.toString.call(t)?"date":"function"==typeof t.toString&&/^\/.*\//.test(t.toString())?"regexp":"object"}function l(t,e,r,n,f,h,p){p=p||[];var d=(f=f||[]).slice(0);if(void 0!==h){if(n){if("function"==typeof n&&n(d,h))return;if("object"===(void 0===n?"undefined":S(n))){if(n.prefilter&&n.prefilter(d,h))return;if(n.normalize){var v=n.normalize(d,h,t,e);v&&(t=v[0],e=v[1])}}}d.push(h)}"regexp"===c(t)&&"regexp"===c(e)&&(t=t.toString(),e=e.toString());var g=void 0===t?"undefined":S(t),y=void 0===e?"undefined":S(e),m="undefined"!==g||p&&p[p.length-1].lhs&&p[p.length-1].lhs.hasOwnProperty(h),b="undefined"!==y||p&&p[p.length-1].rhs&&p[p.length-1].rhs.hasOwnProperty(h);if(!m&&b)r(new o(d,e));else if(!b&&m)r(new a(d,t));else if(c(t)!==c(e))r(new i(d,t,e));else if("date"===c(t)&&t-e!=0)r(new i(d,t,e));else if("object"===g&&null!==t&&null!==e)if(p.filter((function(e){return e.lhs===t})).length)t!==e&&r(new i(d,t,e));else{if(p.push({lhs:t,rhs:e}),Array.isArray(t)){var x;for(t.length,x=0;x<t.length;x++)x>=e.length?r(new s(d,x,new a(void 0,t[x]))):l(t[x],e[x],r,n,d,x,p);for(;x<e.length;)r(new s(d,x,new o(void 0,e[x++])))}else{var w=Object.keys(t),_=Object.keys(e);w.forEach((function(i,o){var a=_.indexOf(i);a>=0?(l(t[i],e[i],r,n,d,i,p),_=u(_,a)):l(t[i],void 0,r,n,d,i,p)})),_.forEach((function(t){l(void 0,e[t],r,n,d,t,p)}))}p.length=p.length-1}else t!==e&&("number"===g&&isNaN(t)&&isNaN(e)||r(new i(d,t,e)))}function f(t,e,r,n){return n=n||[],l(t,e,(function(t){t&&n.push(t)}),r),n.length?n:void 0}function h(t,e,r){if(r.path&&r.path.length){var n,i=t[e],o=r.path.length-1;for(n=0;n<o;n++)i=i[r.path[n]];switch(r.kind){case"A":h(i[r.path[n]],r.index,r.item);break;case"D":delete i[r.path[n]];break;case"E":case"N":i[r.path[n]]=r.rhs}}else switch(r.kind){case"A":h(t[e],r.index,r.item);break;case"D":t=u(t,e);break;case"E":case"N":t[e]=r.rhs}return t}function p(t,e,r){if(t&&e&&r&&r.kind){for(var n=t,i=-1,o=r.path?r.path.length-1:0;++i<o;)void 0===n[r.path[i]]&&(n[r.path[i]]="number"==typeof r.path[i]?[]:{}),n=n[r.path[i]];switch(r.kind){case"A":h(r.path?n[r.path[i]]:n,r.index,r.item);break;case"D":delete n[r.path[i]];break;case"E":case"N":n[r.path[i]]=r.rhs}}}function d(t,e,r){if(r.path&&r.path.length){var n,i=t[e],o=r.path.length-1;for(n=0;n<o;n++)i=i[r.path[n]];switch(r.kind){case"A":d(i[r.path[n]],r.index,r.item);break;case"D":case"E":i[r.path[n]]=r.lhs;break;case"N":delete i[r.path[n]]}}else switch(r.kind){case"A":d(t[e],r.index,r.item);break;case"D":case"E":t[e]=r.lhs;break;case"N":t=u(t,e)}return t}function v(t){return"color: "+O[t].color+"; font-weight: bold"}function g(t,e,r,n){var i=f(t,e);try{n?r.groupCollapsed("diff"):r.group("diff")}catch(t){r.log("diff")}i?i.forEach((function(t){var e=t.kind,n=function(t){var e=t.kind,r=t.path,n=t.lhs,i=t.rhs,o=t.index,a=t.item;switch(e){case"E":return[r.join("."),n,"→",i];case"N":return[r.join("."),i];case"D":return[r.join(".")];case"A":return[r.join(".")+"["+o+"]",a];default:return[]}}(t);r.log.apply(r,["%c "+O[e].text,v(e)].concat(C(n)))})):r.log("—— no diff ——");try{r.groupEnd()}catch(t){r.log("—— diff end —— ")}}function y(t,e,r,n){switch(void 0===t?"undefined":S(t)){case"object":return"function"==typeof t[n]?t[n].apply(t,C(r)):t[n];case"function":return t(e);default:return t}}function m(t,e){var r=e.logger,n=e.actionTransformer,i=e.titleFormatter,o=void 0===i?function(t){var e=t.timestamp,r=t.duration;return function(t,n,i){var o=["action"];return o.push("%c"+String(t.type)),e&&o.push("%c@ "+n),r&&o.push("%c(in "+i.toFixed(2)+" ms)"),o.join(" ")}}(e):i,a=e.collapsed,s=e.colors,u=e.level,c=e.diff,l=void 0===e.titleFormatter;t.forEach((function(i,f){var h=i.started,p=i.startedTime,d=i.action,v=i.prevState,m=i.error,b=i.took,x=i.nextState,w=t[f+1];w&&(x=w.prevState,b=w.started-h);var _=n(d),E="function"==typeof a?a((function(){return x}),d,i):a,S=k(p),C=s.title?"color: "+s.title(_)+";":"",A=["color: gray; font-weight: lighter;"];A.push(C),e.timestamp&&A.push("color: gray; font-weight: lighter;"),e.duration&&A.push("color: gray; font-weight: lighter;");var O=o(_,S,b);try{E?s.title&&l?r.groupCollapsed.apply(r,["%c "+O].concat(A)):r.groupCollapsed(O):s.title&&l?r.group.apply(r,["%c "+O].concat(A)):r.group(O)}catch(t){r.log(O)}var P=y(u,_,[v],"prevState"),D=y(u,_,[_],"action"),j=y(u,_,[m,v],"error"),T=y(u,_,[x],"nextState");if(P)if(s.prevState){var N="color: "+s.prevState(v)+"; font-weight: bold";r[P]("%c prev state",N,v)}else r[P]("prev state",v);if(D)if(s.action){var M="color: "+s.action(_)+"; font-weight: bold";r[D]("%c action ",M,_)}else r[D]("action ",_);if(m&&j)if(s.error){var F="color: "+s.error(m,v)+"; font-weight: bold;";r[j]("%c error ",F,m)}else r[j]("error ",m);if(T)if(s.nextState){var B="color: "+s.nextState(x)+"; font-weight: bold";r[T]("%c next state",B,x)}else r[T]("next state",x);c&&g(v,x,r,E);try{r.groupEnd()}catch(t){r.log("—— log end ——")}}))}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},P,t),r=e.logger,n=e.stateTransformer,i=e.errorTransformer,o=e.predicate,a=e.logErrors,s=e.diffPredicate;if(void 0===r)return function(){return function(t){return function(e){return t(e)}}};if(t.getState&&t.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(t){return function(e){return t(e)}}};var u=[];return function(t){var r=t.getState;return function(t){return function(c){if("function"==typeof o&&!o(r,c))return t(c);var l={};u.push(l),l.started=E.now(),l.startedTime=new Date,l.prevState=n(r()),l.action=c;var f=void 0;if(a)try{f=t(c)}catch(t){l.error=i(t)}else f=t(c);l.took=E.now()-l.started,l.nextState=n(r());var h=e.diff&&"function"==typeof s?s(r,c):e.diff;if(m(u,Object.assign({},e,{diff:h})),u.length=0,l.error)throw l.error;return f}}}}var x,w,_=function(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t},k=function(t){return _(t.getHours(),2)+":"+_(t.getMinutes(),2)+":"+_(t.getSeconds(),2)+"."+_(t.getMilliseconds(),3)},E="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,S="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},C=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)},A=[];x="object"===(void 0===r.g?"undefined":S(r.g))&&r.g?r.g:"undefined"!=typeof window?window:{},(w=x.DeepDiff)&&A.push((function(){void 0!==w&&x.DeepDiff===f&&(x.DeepDiff=w,w=void 0)})),e(i,n),e(o,n),e(a,n),e(s,n),Object.defineProperties(f,{diff:{value:f,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:function(t,e,r){t&&e&&l(t,e,(function(n){r&&!r(t,e,n)||p(t,e,n)}))},enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:function(t,e,r){if(t&&e&&r&&r.kind){var n,i,o=t;for(i=r.path.length-1,n=0;n<i;n++)void 0===o[r.path[n]]&&(o[r.path[n]]={}),o=o[r.path[n]];switch(r.kind){case"A":d(o[r.path[n]],r.index,r.item);break;case"D":case"E":o[r.path[n]]=r.lhs;break;case"N":delete o[r.path[n]]}}},enumerable:!0},isConflict:{value:function(){return void 0!==w},enumerable:!0},noConflict:{value:function(){return A&&(A.forEach((function(t){t()})),A=null),f},enumerable:!0}});var O={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},P={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(t){return t},actionTransformer:function(t){return t},errorTransformer:function(t){return t},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},D=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.dispatch,r=t.getState;return"function"==typeof e||"function"==typeof r?b()({dispatch:e,getState:r}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=P,t.createLogger=b,t.logger=D,t.default=D,Object.defineProperty(t,"__esModule",{value:!0})}(e)},1265:function(t,e){"use strict";function r(t){return function(e){var r=e.dispatch,n=e.getState;return function(e){return function(i){return"function"==typeof i?i(r,n,t):e(i)}}}}var n=r();n.withExtraArgument=r,e.A=n},82960:function(t,e,r){"use strict";r.d(e,{HY:function(){return c},Tw:function(){return f},Zz:function(){return l},y$:function(){return u}});var n=r(89379);function i(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(t,e,r){var n;if("function"==typeof e&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof e&&void 0===r&&(r=e,e=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(u)(t,e)}if("function"!=typeof t)throw new Error(i(2));var a=t,c=e,l=[],f=l,h=!1;function p(){f===l&&(f=l.slice())}function d(){if(h)throw new Error(i(3));return c}function v(t){if("function"!=typeof t)throw new Error(i(4));if(h)throw new Error(i(5));var e=!0;return p(),f.push(t),function(){if(e){if(h)throw new Error(i(6));e=!1,p();var r=f.indexOf(t);f.splice(r,1),l=null}}}function g(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(i(7));if(void 0===t.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,c=a(c,t)}finally{h=!1}for(var e=l=f,r=0;r<e.length;r++)(0,e[r])();return t}return g({type:s.INIT}),(n={dispatch:g,subscribe:v,getState:d,replaceReducer:function(t){if("function"!=typeof t)throw new Error(i(10));a=t,g({type:s.REPLACE})}})[o]=function(){var t,e=v;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(i(11));function r(){t.next&&t.next(d())}return r(),{unsubscribe:e(r)}}})[o]=function(){return this},t},n}function c(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(r[o]=t[o])}var a,u=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(e){var r=t[e];if(void 0===r(void 0,{type:s.INIT}))throw new Error(i(12));if(void 0===r(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(r)}catch(t){a=t}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var n=!1,o={},s=0;s<u.length;s++){var c=u[s],l=r[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(i(14));o[c]=h,n=n||h!==f}return(n=n||u.length!==Object.keys(t).length)?o:t}}function l(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function f(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),o=function(){throw new Error(i(15))},a={getState:r.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=e.map((function(t){return t(a)}));return o=l.apply(void 0,s)(r.dispatch),(0,n.A)((0,n.A)({},r),{},{dispatch:o})}}}},7452:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new D(n||[]);return i(a,"_invoke",{value:C(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",g={};function y(){}function m(){}function b(){}var x={};c(x,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(j([])));_&&_!==r&&n.call(_,a)&&(x=_);var k=b.prototype=y.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(i,o,a,s){var u=f(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function C(t,e,r){var n=h;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===v){if("throw"===i)throw o;return T()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=A(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=f(t,e,r);if("normal"===u.type){if(n=r.done?v:p,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}function A(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function j(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}return{next:T}}function T(){return{value:e,done:!0}}return m.prototype=b,i(k,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:m,configurable:!0}),m.displayName=c(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c(t,u,"GeneratorFunction")),t.prototype=Object.create(k),t},t.awrap=function(t){return{__await:t}},E(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new S(l(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(k),c(k,u,"Generator"),c(k,a,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=j,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;P(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},22325:function(t,e,r){"use strict";r.d(e,{Mz:function(){return s}});var n="NOT_FOUND",i=function(t,e){return t===e};function o(t,e){var r,o,a="object"==typeof e?e:{equalityCheck:e},s=a.equalityCheck,u=void 0===s?i:s,c=a.maxSize,l=void 0===c?1:c,f=a.resultEqualityCheck,h=function(t){return function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var n=e.length,i=0;i<n;i++)if(!t(e[i],r[i]))return!1;return!0}}(u),p=1===l?(r=h,{get:function(t){return o&&r(o.key,t)?o.value:n},put:function(t,e){o={key:t,value:e}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}):function(t,e){var r=[];function i(t){var i=r.findIndex((function(r){return e(t,r.key)}));if(i>-1){var o=r[i];return i>0&&(r.splice(i,1),r.unshift(o)),o.value}return n}return{get:i,put:function(e,o){i(e)===n&&(r.unshift({key:e,value:o}),r.length>t&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(l,h);function d(){var e=p.get(arguments);if(e===n){if(e=t.apply(null,arguments),f){var r=p.getEntries().find((function(t){return f(t.value,e)}));r&&(e=r.value)}p.put(arguments,e)}return e}return d.clearCache=function(){return p.clear()},d}function a(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o,a=0,s={memoizeOptions:void 0},u=n.pop();if("object"==typeof u&&(s=u,u=n.pop()),"function"!=typeof u)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof u+"]");var c=s.memoizeOptions,l=void 0===c?r:c,f=Array.isArray(l)?l:[l],h=function(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"==typeof t}))){var r=e.map((function(t){return"function"==typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return e}(n),p=t.apply(void 0,[function(){return a++,u.apply(null,arguments)}].concat(f)),d=t((function(){for(var t=[],e=h.length,r=0;r<e;r++)t.push(h[r].apply(null,arguments));return o=p.apply(null,t)}));return Object.assign(d,{resultFunc:u,memoizedResultFunc:p,dependencies:h,lastResult:function(){return o},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),d}}var s=a(o)},96897:function(t,e,r){"use strict";var n=r(70453),i=r(52422),o=r(30592)(),a=r(75795),s=r(69675),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||u(e)!==e)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in t&&a){var l=a(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(c=!1)}return(n||c||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},56188:function(t,e){function r(t,e,r){this.f=t,this.once=e,this.priority=r}function n(){this.handlers=[]}function i(t,e){for(var r=0;r<t.handlers.length&&!(t.handlers[r].priority<e.priority);r++);t.handlers=t.handlers.slice(0,r).concat(e).concat(t.handlers.slice(r))}function o(){n.call(this)}function a(){n.call(this)}function s(){n.call(this)}e.yU=n,n.prototype.handlersForDispatch=function(){for(var t=this.handlers,e=null,r=t.length-1;r>=0;r--)t[r].once&&(e||(e=t.slice()),e.splice(r,1));return e&&(this.handlers=e),t},n.prototype.add=function(t,e){i(this,new r(t,!1,e||0))},n.prototype.addOnce=function(t,e){i(this,new r(t,!0,e||0))},n.prototype.remove=function(t){for(var e=0;e<this.handlers.length;e++)if(this.handlers[e].f==t)return void(this.handlers=this.handlers.slice(0,e).concat(this.handlers.slice(e+1)))},n.prototype.hasHandler=function(){return this.handlers.length>0},n.prototype.dispatch=function(){for(var t=this.handlersForDispatch(),e=0;e<t.length;e++)t[e].f.apply(null,arguments)},e.MA=o,o.prototype=new n,o.prototype.dispatch=function(t){for(var e=this.handlersForDispatch(),r=0;r<e.length;r++)t=e[r].f(t);return t},a.prototype=new n,a.prototype.dispatch=function(){for(var t=this.handlersForDispatch(),e=0;e<t.length;e++){var r=t[e].f.apply(null,arguments);if(r)return r}},e.gg=s,s.prototype=new n,s.prototype.dispatch=function(t){for(var e=this.handlersForDispatch(),r=0;r<e.length;r++)if(e[r].f(t)||t.defaultPrevented)return!0;return!1}},23230:function(t,e,r){"use strict";t.exports=r(10823)},32310:function(t){"use strict";var e=2*Math.PI;function r(t,e,r,n){var i=t*r+e*n;return i>1&&(i=1),i<-1&&(i=-1),(t*n-e*r<0?-1:1)*Math.acos(i)}function n(t,e){var r=4/3*Math.tan(e/4),n=Math.cos(t),i=Math.sin(t),o=Math.cos(t+e),a=Math.sin(t+e);return[n,i,n-i*r,i+n*r,o+a*r,a-o*r,o,a]}t.exports=function(t,i,o,a,s,u,c,l,f){var h=Math.sin(f*e/360),p=Math.cos(f*e/360),d=p*(t-o)/2+h*(i-a)/2,v=-h*(t-o)/2+p*(i-a)/2;if(0===d&&0===v)return[];if(0===c||0===l)return[];c=Math.abs(c),l=Math.abs(l);var g=d*d/(c*c)+v*v/(l*l);g>1&&(c*=Math.sqrt(g),l*=Math.sqrt(g));var y=function(t,n,i,o,a,s,u,c,l,f){var h=f*(t-i)/2+l*(n-o)/2,p=-l*(t-i)/2+f*(n-o)/2,d=u*u,v=c*c,g=h*h,y=p*p,m=d*v-d*y-v*g;m<0&&(m=0),m/=d*y+v*g;var b=(m=Math.sqrt(m)*(a===s?-1:1))*u/c*p,x=m*-c/u*h,w=f*b-l*x+(t+i)/2,_=l*b+f*x+(n+o)/2,k=(h-b)/u,E=(p-x)/c,S=(-h-b)/u,C=(-p-x)/c,A=r(1,0,k,E),O=r(k,E,S,C);return 0===s&&O>0&&(O-=e),1===s&&O<0&&(O+=e),[w,_,A,O]}(t,i,o,a,s,u,c,l,h,p),m=[],b=y[2],x=y[3],w=Math.max(Math.ceil(Math.abs(x)/(e/4)),1);x/=w;for(var _=0;_<w;_++)m.push(n(b,x)),b+=x;return m.map((function(t){for(var e=0;e<t.length;e+=2){var r=t[e+0],n=t[e+1],i=p*(r*=c)-h*(n*=l),o=h*r+p*n;t[e+0]=i+y[0],t[e+1]=o+y[1]}return t}))}},97604:function(t){"use strict";var e=1e-10,r=Math.PI/180;function n(t,e,r){if(!(this instanceof n))return new n(t,e,r);this.rx=t,this.ry=e,this.ax=r}n.prototype.transform=function(t){var n=Math.cos(this.ax*r),i=Math.sin(this.ax*r),o=[this.rx*(t[0]*n+t[2]*i),this.rx*(t[1]*n+t[3]*i),this.ry*(-t[0]*i+t[2]*n),this.ry*(-t[1]*i+t[3]*n)],a=o[0]*o[0]+o[2]*o[2],s=o[1]*o[1]+o[3]*o[3],u=((o[0]-o[3])*(o[0]-o[3])+(o[2]+o[1])*(o[2]+o[1]))*((o[0]+o[3])*(o[0]+o[3])+(o[2]-o[1])*(o[2]-o[1])),c=(a+s)/2;if(u<e*c)return this.rx=this.ry=Math.sqrt(c),this.ax=0,this;var l=o[0]*o[1]+o[2]*o[3],f=c+(u=Math.sqrt(u))/2,h=c-u/2;return this.ax=Math.abs(l)<e&&Math.abs(f-s)<e?90:180*Math.atan(Math.abs(l)>Math.abs(f-s)?(f-a)/l:l/(f-s))/Math.PI,this.ax>=0?(this.rx=Math.sqrt(f),this.ry=Math.sqrt(h)):(this.ax+=90,this.rx=Math.sqrt(h),this.ry=Math.sqrt(f)),this},n.prototype.isDegenerate=function(){return this.rx<e*this.ry||this.ry<e*this.rx},t.exports=n},49793:function(t){"use strict";function e(){if(!(this instanceof e))return new e;this.queue=[],this.cache=null}e.prototype.matrix=function(t){return 1===t[0]&&0===t[1]&&0===t[2]&&1===t[3]&&0===t[4]&&0===t[5]||(this.cache=null,this.queue.push(t)),this},e.prototype.translate=function(t,e){return 0===t&&0===e||(this.cache=null,this.queue.push([1,0,0,1,t,e])),this},e.prototype.scale=function(t,e){return 1===t&&1===e||(this.cache=null,this.queue.push([t,0,0,e,0,0])),this},e.prototype.rotate=function(t,e,r){var n,i,o;return 0!==t&&(this.translate(e,r),n=t*Math.PI/180,i=Math.cos(n),o=Math.sin(n),this.queue.push([i,o,-o,i,0,0]),this.cache=null,this.translate(-e,-r)),this},e.prototype.skewX=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,0,Math.tan(t*Math.PI/180),1,0,0])),this},e.prototype.skewY=function(t){return 0!==t&&(this.cache=null,this.queue.push([1,Math.tan(t*Math.PI/180),0,1,0,0])),this},e.prototype.toArray=function(){if(this.cache)return this.cache;if(!this.queue.length)return this.cache=[1,0,0,1,0,0],this.cache;if(this.cache=this.queue[0],1===this.queue.length)return this.cache;for(var t=1;t<this.queue.length;t++)this.cache=(e=this.cache,r=this.queue[t],[e[0]*r[0]+e[2]*r[1],e[1]*r[0]+e[3]*r[1],e[0]*r[2]+e[2]*r[3],e[1]*r[2]+e[3]*r[3],e[0]*r[4]+e[2]*r[5]+e[4],e[1]*r[4]+e[3]*r[5]+e[5]]);var e,r;return this.cache},e.prototype.calc=function(t,e,r){var n;return this.queue.length?(this.cache||(this.cache=this.toArray()),[t*(n=this.cache)[0]+e*n[2]+(r?0:n[4]),t*n[1]+e*n[3]+(r?0:n[5])]):[t,e]},t.exports=e},84015:function(t){"use strict";var e={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},r=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function n(t){return t>=48&&t<=57}function i(t){this.index=0,this.path=t,this.max=t.length,this.result=[],this.param=0,this.err="",this.segmentStart=0,this.data=[]}function o(t){for(;t.index<t.max&&(10===(e=t.path.charCodeAt(t.index))||13===e||8232===e||8233===e||32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0);)t.index++;var e}function a(t){var e=t.path.charCodeAt(t.index);return 48===e?(t.param=0,void t.index++):49===e?(t.param=1,void t.index++):void(t.err="SvgPath: arc flag can be 0 or 1 only (at pos "+t.index+")")}function s(t){var e,r=t.index,i=r,o=t.max,a=!1,s=!1,u=!1,c=!1;if(i>=o)t.err="SvgPath: missed param (at pos "+i+")";else if(43!==(e=t.path.charCodeAt(i))&&45!==e||(e=++i<o?t.path.charCodeAt(i):0),n(e)||46===e){if(46!==e){if(a=48===e,e=++i<o?t.path.charCodeAt(i):0,a&&i<o&&e&&n(e))return void(t.err="SvgPath: numbers started with `0` such as `09` are illegal (at pos "+r+")");for(;i<o&&n(t.path.charCodeAt(i));)i++,s=!0;e=i<o?t.path.charCodeAt(i):0}if(46===e){for(c=!0,i++;n(t.path.charCodeAt(i));)i++,u=!0;e=i<o?t.path.charCodeAt(i):0}if(101===e||69===e){if(c&&!s&&!u)return void(t.err="SvgPath: invalid float exponent (at pos "+i+")");if(43!==(e=++i<o?t.path.charCodeAt(i):0)&&45!==e||i++,!(i<o&&n(t.path.charCodeAt(i))))return void(t.err="SvgPath: invalid float exponent (at pos "+i+")");for(;i<o&&n(t.path.charCodeAt(i));)i++}t.index=i,t.param=parseFloat(t.path.slice(r,i))+0}else t.err="SvgPath: param should start with 0..9 or `.` (at pos "+i+")"}function u(t){var r,n;n=(r=t.path[t.segmentStart]).toLowerCase();var i=t.data;if("m"===n&&i.length>2&&(t.result.push([r,i[0],i[1]]),i=i.slice(2),n="l",r="m"===r?"l":"L"),"r"===n)t.result.push([r].concat(i));else for(;i.length>=e[n]&&(t.result.push([r].concat(i.splice(0,e[n]))),e[n]););}function c(t){var r,n,i,c,l,f,h=t.max;if(t.segmentStart=t.index,n=97==(32|(r=t.path.charCodeAt(t.index))),function(t){switch(32|t){case 109:case 122:case 108:case 104:case 118:case 99:case 115:case 113:case 116:case 97:case 114:return!0}return!1}(r))if(c=e[t.path[t.index].toLowerCase()],t.index++,o(t),t.data=[],c){for(i=!1;;){for(l=c;l>0;l--){if(!n||3!==l&&4!==l?s(t):a(t),t.err.length)return void u(t);t.data.push(t.param),o(t),i=!1,t.index<h&&44===t.path.charCodeAt(t.index)&&(t.index++,o(t),i=!0)}if(!i){if(t.index>=t.max)break;if(!((f=t.path.charCodeAt(t.index))>=48&&f<=57||43===f||45===f||46===f))break}}u(t)}else u(t);else t.err="SvgPath: bad command "+t.path[t.index]+" (at pos "+t.index+")"}t.exports=function(t){var e=new i(t),r=e.max;for(o(e);e.index<r&&!e.err.length;)c(e);return e.result.length&&("mM".indexOf(e.result[0][0])<0?(e.err="SvgPath: string should start with `M` or `m`",e.result=[]):e.result[0][0]="M"),{err:e.err,segments:e.result}}},10823:function(t,e,r){"use strict";var n=r(84015),i=r(8778),o=r(49793),a=r(32310),s=r(97604);function u(t){if(!(this instanceof u))return new u(t);var e=n(t);this.segments=e.segments,this.err=e.err,this.__stack=[]}u.from=function(t){if("string"==typeof t)return new u(t);if(t instanceof u){var e=new u("");return e.err=t.err,e.segments=t.segments.map((function(t){return t.slice()})),e.__stack=t.__stack.map((function(t){return o().matrix(t.toArray())})),e}throw new Error("SvgPath.from: invalid param type "+t)},u.prototype.__matrix=function(t){var e,r=this;t.queue.length&&this.iterate((function(n,i,o,a){var u,c,l,f;switch(n[0]){case"v":c=0===(u=t.calc(0,n[1],!0))[0]?["v",u[1]]:["l",u[0],u[1]];break;case"V":c=(u=t.calc(o,n[1],!1))[0]===t.calc(o,a,!1)[0]?["V",u[1]]:["L",u[0],u[1]];break;case"h":c=0===(u=t.calc(n[1],0,!0))[1]?["h",u[0]]:["l",u[0],u[1]];break;case"H":c=(u=t.calc(n[1],a,!1))[1]===t.calc(o,a,!1)[1]?["H",u[0]]:["L",u[0],u[1]];break;case"a":case"A":var h=t.toArray(),p=s(n[1],n[2],n[3]).transform(h);if(h[0]*h[3]-h[1]*h[2]<0&&(n[5]=n[5]?"0":"1"),u=t.calc(n[6],n[7],"a"===n[0]),"A"===n[0]&&n[6]===o&&n[7]===a||"a"===n[0]&&0===n[6]&&0===n[7]){c=["a"===n[0]?"l":"L",u[0],u[1]];break}c=p.isDegenerate()?["a"===n[0]?"l":"L",u[0],u[1]]:[n[0],p.rx,p.ry,p.ax,n[4],n[5],u[0],u[1]];break;case"m":f=i>0,c=["m",(u=t.calc(n[1],n[2],f))[0],u[1]];break;default:for(c=[l=n[0]],f=l.toLowerCase()===l,e=1;e<n.length;e+=2)u=t.calc(n[e],n[e+1],f),c.push(u[0],u[1])}r.segments[i]=c}),!0)},u.prototype.__evaluateStack=function(){var t,e;if(this.__stack.length){if(1===this.__stack.length)return this.__matrix(this.__stack[0]),void(this.__stack=[]);for(t=o(),e=this.__stack.length;--e>=0;)t.matrix(this.__stack[e].toArray());this.__matrix(t),this.__stack=[]}},u.prototype.toString=function(){var t="",e="",r=!1;this.__evaluateStack();for(var n=0,i=this.segments.length;n<i;n++){var o=this.segments[n],a=o[0];a!==e||"m"===a||"M"===a?("m"===a&&"z"===e&&(t+=" "),t+=a,r=!1):r=!0;for(var s=1;s<o.length;s++){var u=o[s];1===s?r&&u>=0&&(t+=" "):u>=0&&(t+=" "),t+=u}e=a}return t},u.prototype.translate=function(t,e){return this.__stack.push(o().translate(t,e||0)),this},u.prototype.scale=function(t,e){return this.__stack.push(o().scale(t,e||0===e?e:t)),this},u.prototype.rotate=function(t,e,r){return this.__stack.push(o().rotate(t,e||0,r||0)),this},u.prototype.skewX=function(t){return this.__stack.push(o().skewX(t)),this},u.prototype.skewY=function(t){return this.__stack.push(o().skewY(t)),this},u.prototype.matrix=function(t){return this.__stack.push(o().matrix(t)),this},u.prototype.transform=function(t){return t.trim()?(this.__stack.push(i(t)),this):this},u.prototype.round=function(t){var e,r=0,n=0,i=0,o=0;return t=t||0,this.__evaluateStack(),this.segments.forEach((function(a){var s=a[0].toLowerCase()===a[0];switch(a[0]){case"H":case"h":return s&&(a[1]+=i),i=a[1]-a[1].toFixed(t),void(a[1]=+a[1].toFixed(t));case"V":case"v":return s&&(a[1]+=o),o=a[1]-a[1].toFixed(t),void(a[1]=+a[1].toFixed(t));case"Z":case"z":return i=r,void(o=n);case"M":case"m":return s&&(a[1]+=i,a[2]+=o),i=a[1]-a[1].toFixed(t),o=a[2]-a[2].toFixed(t),r=i,n=o,a[1]=+a[1].toFixed(t),void(a[2]=+a[2].toFixed(t));case"A":case"a":return s&&(a[6]+=i,a[7]+=o),i=a[6]-a[6].toFixed(t),o=a[7]-a[7].toFixed(t),a[1]=+a[1].toFixed(t),a[2]=+a[2].toFixed(t),a[3]=+a[3].toFixed(t+2),a[6]=+a[6].toFixed(t),void(a[7]=+a[7].toFixed(t));default:return e=a.length,s&&(a[e-2]+=i,a[e-1]+=o),i=a[e-2]-a[e-2].toFixed(t),o=a[e-1]-a[e-1].toFixed(t),void a.forEach((function(e,r){r&&(a[r]=+a[r].toFixed(t))}))}})),this},u.prototype.iterate=function(t,e){var r,n,i,o=this.segments,a={},s=!1,u=0,c=0,l=0,f=0;if(e||this.__evaluateStack(),o.forEach((function(e,r){var n=t(e,r,u,c);Array.isArray(n)&&(a[r]=n,s=!0);var i=e[0]===e[0].toLowerCase();switch(e[0]){case"m":case"M":return u=e[1]+(i?u:0),c=e[2]+(i?c:0),l=u,void(f=c);case"h":case"H":return void(u=e[1]+(i?u:0));case"v":case"V":return void(c=e[1]+(i?c:0));case"z":case"Z":return u=l,void(c=f);default:u=e[e.length-2]+(i?u:0),c=e[e.length-1]+(i?c:0)}})),!s)return this;for(i=[],r=0;r<o.length;r++)if(void 0!==a[r])for(n=0;n<a[r].length;n++)i.push(a[r][n]);else i.push(o[r]);return this.segments=i,this},u.prototype.abs=function(){return this.iterate((function(t,e,r,n){var i,o=t[0],a=o.toUpperCase();if(o!==a)switch(t[0]=a,o){case"v":return void(t[1]+=n);case"a":return t[6]+=r,void(t[7]+=n);default:for(i=1;i<t.length;i++)t[i]+=i%2?r:n}}),!0),this},u.prototype.rel=function(){return this.iterate((function(t,e,r,n){var i,o=t[0],a=o.toLowerCase();if(o!==a&&(0!==e||"M"!==o))switch(t[0]=a,o){case"V":return void(t[1]-=n);case"A":return t[6]-=r,void(t[7]-=n);default:for(i=1;i<t.length;i++)t[i]-=i%2?r:n}}),!0),this},u.prototype.unarc=function(){return this.iterate((function(t,e,r,n){var i,o,s,u=[],c=t[0];return"A"!==c&&"a"!==c?null:("a"===c?(o=r+t[6],s=n+t[7]):(o=t[6],s=t[7]),0===(i=a(r,n,o,s,t[4],t[5],t[1],t[2],t[3])).length?[["a"===t[0]?"l":"L",t[6],t[7]]]:(i.forEach((function(t){u.push(["C",t[2],t[3],t[4],t[5],t[6],t[7]])})),u))})),this},u.prototype.unshort=function(){var t,e,r,n,i,o=this.segments;return this.iterate((function(a,s,u,c){var l,f=a[0],h=f.toUpperCase();s&&("T"===h?(l="t"===f,"Q"===(r=o[s-1])[0]?(t=r[1]-u,e=r[2]-c):"q"===r[0]?(t=r[1]-r[3],e=r[2]-r[4]):(t=0,e=0),n=-t,i=-e,l||(n+=u,i+=c),o[s]=[l?"q":"Q",n,i,a[1],a[2]]):"S"===h&&(l="s"===f,"C"===(r=o[s-1])[0]?(t=r[3]-u,e=r[4]-c):"c"===r[0]?(t=r[3]-r[5],e=r[4]-r[6]):(t=0,e=0),n=-t,i=-e,l||(n+=u,i+=c),o[s]=[l?"c":"C",n,i,a[1],a[2],a[3],a[4]]))})),this},t.exports=u},8778:function(t,e,r){"use strict";var n=r(49793),i={matrix:!0,scale:!0,rotate:!0,translate:!0,skewX:!0,skewY:!0},o=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,a=/[\s,]+/;t.exports=function(t){var e,r,s=new n;return t.split(o).forEach((function(t){if(t.length)if(void 0===i[t])switch(r=t.split(a).map((function(t){return+t||0})),e){case"matrix":return void(6===r.length&&s.matrix(r));case"scale":return void(1===r.length?s.scale(r[0],r[0]):2===r.length&&s.scale(r[0],r[1]));case"rotate":return void(1===r.length?s.rotate(r[0],0,0):3===r.length&&s.rotate(r[0],r[1],r[2]));case"translate":return void(1===r.length?s.translate(r[0],0):2===r.length&&s.translate(r[0],r[1]));case"skewX":return void(1===r.length&&s.skewX(r[0]));case"skewY":return void(1===r.length&&s.skewY(r[0]))}else e=t})),s}},46579:function(t,e){!function(t){"use strict";function e(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(e.length>1){e[0]=e[0].slice(0,-1);for(var n=e.length-1,i=1;i<n;++i)e[i]=e[i].slice(1,-1);return e[n]=e[n].slice(1),e.join("")}return e[0]}function r(t){return"(?:"+t+")"}function n(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).split(" ").pop().split("]").shift().toLowerCase()}function i(t){return t.toUpperCase()}function o(t){var n="[A-Za-z]",i="[0-9]",o=e(i,"[A-Fa-f]"),a=r(r("%[EFef]"+o+"%"+o+o+"%"+o+o)+"|"+r("%[89A-Fa-f]"+o+"%"+o+o)+"|"+r("%"+o+o)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=e("[\\:\\/\\?\\#\\[\\]\\@]",s),c=t?"[\\uE000-\\uF8FF]":"[]",l=e(n,i,"[\\-\\.\\_\\~]",t?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+e(n,i,"[\\+\\-\\.]")+"*"),h=r(r(a+"|"+e(l,s,"[\\:]"))+"*"),p=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),d=r(p+"\\."+p+"\\."+p+"\\."+p),v=r(o+"{1,4}"),g=r(r(v+"\\:"+v)+"|"+d),y=r(r(v+"\\:")+"{6}"+g),m=r("\\:\\:"+r(v+"\\:")+"{5}"+g),b=r(r(v)+"?\\:\\:"+r(v+"\\:")+"{4}"+g),x=r(r(r(v+"\\:")+"{0,1}"+v)+"?\\:\\:"+r(v+"\\:")+"{3}"+g),w=r(r(r(v+"\\:")+"{0,2}"+v)+"?\\:\\:"+r(v+"\\:")+"{2}"+g),_=r(r(r(v+"\\:")+"{0,3}"+v)+"?\\:\\:"+v+"\\:"+g),k=r(r(r(v+"\\:")+"{0,4}"+v)+"?\\:\\:"+g),E=r(r(r(v+"\\:")+"{0,5}"+v)+"?\\:\\:"+v),S=r(r(r(v+"\\:")+"{0,6}"+v)+"?\\:\\:"),C=r([y,m,b,x,w,_,k,E,S].join("|")),A=r(r(l+"|"+a)+"+"),O=(r(C+"\\%25"+A),r(C+r("\\%25|\\%(?!"+o+"{2})")+A)),P=r("[vV]"+o+"+\\."+e(l,s,"[\\:]")+"+"),D=r("\\["+r(O+"|"+C+"|"+P)+"\\]"),j=r(r(a+"|"+e(l,s))+"*"),T=r(D+"|"+d+"(?!"+j+")|"+j),N=r(i+"*"),M=r(r(h+"@")+"?"+T+r("\\:"+N)+"?"),F=r(a+"|"+e(l,s,"[\\:\\@]")),B=r(F+"*"),R=r(F+"+"),L=r(r(a+"|"+e(l,s,"[\\@]"))+"+"),I=r(r("\\/"+B)+"*"),z=r("\\/"+r(R+I)+"?"),q=r(L+I),U=r(R+I),V="(?!"+F+")",H=(r(I+"|"+z+"|"+q+"|"+U+"|"+V),r(r(F+"|"+e("[\\/\\?]",c))+"*")),W=r(r(F+"|[\\/\\?]")+"*"),$=r(r("\\/\\/"+M+I)+"|"+z+"|"+U+"|"+V),G=r(f+"\\:"+$+r("\\?"+H)+"?"+r("\\#"+W)+"?"),Y=r(r("\\/\\/"+M+I)+"|"+z+"|"+q+"|"+V),X=r(Y+r("\\?"+H)+"?"+r("\\#"+W)+"?");return r(G+"|"+X),r(f+"\\:"+$+r("\\?"+H)+"?"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+N+")")+"?)")+"?("+I+"|"+z+"|"+U+"|"+V+")"),r("\\?("+H+")"),r("\\#("+W+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+N+")")+"?)")+"?("+I+"|"+z+"|"+q+"|"+V+")"),r("\\?("+H+")"),r("\\#("+W+")"),r(r("\\/\\/("+r("("+h+")@")+"?("+T+")"+r("\\:("+N+")")+"?)")+"?("+I+"|"+z+"|"+U+"|"+V+")"),r("\\?("+H+")"),r("\\#("+W+")"),r("("+h+")@"),r("\\:("+N+")"),{NOT_SCHEME:new RegExp(e("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(e("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+C+")"+r(r("\\%25|\\%(?!"+o+"{2})")+"("+A+")")+"?\\]?$")}}var a=o(!1),s=o(!0),u=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=2147483647,l=36,f=/^xn--/,h=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,g=String.fromCharCode;function y(t){throw new RangeError(d[t])}function m(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+function(t,e){for(var r=[],n=t.length;n--;)r[n]=e(t[n]);return r}((t=t.replace(p,".")).split("."),e).join(".")}function b(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=t.charCodeAt(r++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),r--)}else e.push(i)}return e}var x=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},w=function(t,e,r){var n=0;for(t=r?v(t/700):t>>1,t+=v(t/e);t>455;n+=l)t=v(t/35);return v(n+36*t/(t+38))},_=function(t){var e,r=[],n=t.length,i=0,o=128,a=72,s=t.lastIndexOf("-");s<0&&(s=0);for(var u=0;u<s;++u)t.charCodeAt(u)>=128&&y("not-basic"),r.push(t.charCodeAt(u));for(var f=s>0?s+1:0;f<n;){for(var h=i,p=1,d=l;;d+=l){f>=n&&y("invalid-input");var g=(e=t.charCodeAt(f++))-48<10?e-22:e-65<26?e-65:e-97<26?e-97:l;(g>=l||g>v((c-i)/p))&&y("overflow"),i+=g*p;var m=d<=a?1:d>=a+26?26:d-a;if(g<m)break;var b=l-m;p>v(c/b)&&y("overflow"),p*=b}var x=r.length+1;a=w(i-h,x,0==h),v(i/x)>c-o&&y("overflow"),o+=v(i/x),i%=x,r.splice(i++,0,o)}return String.fromCodePoint.apply(String,r)},k=function(t){var e=[],r=(t=b(t)).length,n=128,i=0,o=72,a=!0,s=!1,u=void 0;try{for(var f,h=t[Symbol.iterator]();!(a=(f=h.next()).done);a=!0){var p=f.value;p<128&&e.push(g(p))}}catch(t){s=!0,u=t}finally{try{!a&&h.return&&h.return()}finally{if(s)throw u}}var d=e.length,m=d;for(d&&e.push("-");m<r;){var _=c,k=!0,E=!1,S=void 0;try{for(var C,A=t[Symbol.iterator]();!(k=(C=A.next()).done);k=!0){var O=C.value;O>=n&&O<_&&(_=O)}}catch(t){E=!0,S=t}finally{try{!k&&A.return&&A.return()}finally{if(E)throw S}}var P=m+1;_-n>v((c-i)/P)&&y("overflow"),i+=(_-n)*P,n=_;var D=!0,j=!1,T=void 0;try{for(var N,M=t[Symbol.iterator]();!(D=(N=M.next()).done);D=!0){var F=N.value;if(F<n&&++i>c&&y("overflow"),F==n){for(var B=i,R=l;;R+=l){var L=R<=o?1:R>=o+26?26:R-o;if(B<L)break;var I=B-L,z=l-L;e.push(g(x(L+I%z,0))),B=v(I/z)}e.push(g(x(B,0))),o=w(i,P,m==d),i=0,++m}}}catch(t){j=!0,T=t}finally{try{!D&&M.return&&M.return()}finally{if(j)throw T}}++i,++n}return e.join("")},E={version:"2.1.0",ucs2:{decode:b,encode:function(t){return String.fromCodePoint.apply(String,function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(t))}},decode:_,encode:k,toASCII:function(t){return m(t,(function(t){return h.test(t)?"xn--"+k(t):t}))},toUnicode:function(t){return m(t,(function(t){return f.test(t)?_(t.slice(4).toLowerCase()):t}))}},S={};function C(t){var e=t.charCodeAt(0);return e<16?"%0"+e.toString(16).toUpperCase():e<128?"%"+e.toString(16).toUpperCase():e<2048?"%"+(e>>6|192).toString(16).toUpperCase()+"%"+(63&e|128).toString(16).toUpperCase():"%"+(e>>12|224).toString(16).toUpperCase()+"%"+(e>>6&63|128).toString(16).toUpperCase()+"%"+(63&e|128).toString(16).toUpperCase()}function A(t){for(var e="",r=0,n=t.length;r<n;){var i=parseInt(t.substr(r+1,2),16);if(i<128)e+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var o=parseInt(t.substr(r+4,2),16);e+=String.fromCharCode((31&i)<<6|63&o)}else e+=t.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var a=parseInt(t.substr(r+4,2),16),s=parseInt(t.substr(r+7,2),16);e+=String.fromCharCode((15&i)<<12|(63&a)<<6|63&s)}else e+=t.substr(r,9);r+=9}else e+=t.substr(r,3),r+=3}return e}function O(t,e){function r(t){var r=A(t);return r.match(e.UNRESERVED)?r:t}return t.scheme&&(t.scheme=String(t.scheme).replace(e.PCT_ENCODED,r).toLowerCase().replace(e.NOT_SCHEME,"")),void 0!==t.userinfo&&(t.userinfo=String(t.userinfo).replace(e.PCT_ENCODED,r).replace(e.NOT_USERINFO,C).replace(e.PCT_ENCODED,i)),void 0!==t.host&&(t.host=String(t.host).replace(e.PCT_ENCODED,r).toLowerCase().replace(e.NOT_HOST,C).replace(e.PCT_ENCODED,i)),void 0!==t.path&&(t.path=String(t.path).replace(e.PCT_ENCODED,r).replace(t.scheme?e.NOT_PATH:e.NOT_PATH_NOSCHEME,C).replace(e.PCT_ENCODED,i)),void 0!==t.query&&(t.query=String(t.query).replace(e.PCT_ENCODED,r).replace(e.NOT_QUERY,C).replace(e.PCT_ENCODED,i)),void 0!==t.fragment&&(t.fragment=String(t.fragment).replace(e.PCT_ENCODED,r).replace(e.NOT_FRAGMENT,C).replace(e.PCT_ENCODED,i)),t}function P(t){return t.replace(/^0*(.*)/,"$1")||"0"}function D(t,e){var r=t.match(e.IPV4ADDRESS)||[],n=u(r,2)[1];return n?n.split(".").map(P).join("."):t}function j(t,e){var r=t.match(e.IPV6ADDRESS)||[],n=u(r,3),i=n[1],o=n[2];if(i){for(var a=i.toLowerCase().split("::").reverse(),s=u(a,2),c=s[0],l=s[1],f=l?l.split(":").map(P):[],h=c.split(":").map(P),p=e.IPV4ADDRESS.test(h[h.length-1]),d=p?7:8,v=h.length-d,g=Array(d),y=0;y<d;++y)g[y]=f[y]||h[v+y]||"";p&&(g[d-1]=D(g[d-1],e));var m=g.reduce((function(t,e,r){if(!e||"0"===e){var n=t[t.length-1];n&&n.index+n.length===r?n.length++:t.push({index:r,length:1})}return t}),[]).sort((function(t,e){return e.length-t.length}))[0],b=void 0;if(m&&m.length>1){var x=g.slice(0,m.index),w=g.slice(m.index+m.length);b=x.join(":")+"::"+w.join(":")}else b=g.join(":");return o&&(b+="%"+o),b}return t}var T=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,N=void 0==="".match(/(){0}/)[1];function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==e.iri?s:a;"suffix"===e.reference&&(t=(e.scheme?e.scheme+":":"")+"//"+t);var i=t.match(T);if(i){N?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==t.indexOf("@")?i[3]:void 0,r.host=-1!==t.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==t.indexOf("?")?i[7]:void 0,r.fragment=-1!==t.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=t.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=j(D(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",e.reference&&"suffix"!==e.reference&&e.reference!==r.reference&&(r.error=r.error||"URI is not a "+e.reference+" reference.");var o=S[(e.scheme||r.scheme||"").toLowerCase()];if(e.unicodeSupport||o&&o.unicodeSupport)O(r,n);else{if(r.host&&(e.domainHost||o&&o.domainHost))try{r.host=E.toASCII(r.host.replace(n.PCT_ENCODED,A).toLowerCase())}catch(t){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+t}O(r,a)}o&&o.parse&&o.parse(r,e)}else r.error=r.error||"URI can not be parsed.";return r}var F=/^\.\.?\//,B=/^\/\.(\/|$)/,R=/^\/\.\.(\/|$)/,L=/^\/?(?:.|\n)*?(?=\/|$)/;function I(t){for(var e=[];t.length;)if(t.match(F))t=t.replace(F,"");else if(t.match(B))t=t.replace(B,"/");else if(t.match(R))t=t.replace(R,"/"),e.pop();else if("."===t||".."===t)t="";else{var r=t.match(L);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];t=t.slice(n.length),e.push(n)}return e.join("")}function z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.iri?s:a,n=[],i=S[(e.scheme||t.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(t,e),t.host)if(r.IPV6ADDRESS.test(t.host));else if(e.domainHost||i&&i.domainHost)try{t.host=e.iri?E.toUnicode(t.host):E.toASCII(t.host.replace(r.PCT_ENCODED,A).toLowerCase())}catch(r){t.error=t.error||"Host's domain name can not be converted to "+(e.iri?"Unicode":"ASCII")+" via punycode: "+r}O(t,r),"suffix"!==e.reference&&t.scheme&&(n.push(t.scheme),n.push(":"));var o=function(t,e){var r=!1!==e.iri?s:a,n=[];return void 0!==t.userinfo&&(n.push(t.userinfo),n.push("@")),void 0!==t.host&&n.push(j(D(String(t.host),r),r).replace(r.IPV6ADDRESS,(function(t,e,r){return"["+e+(r?"%25"+r:"")+"]"}))),"number"!=typeof t.port&&"string"!=typeof t.port||(n.push(":"),n.push(String(t.port))),n.length?n.join(""):void 0}(t,e);if(void 0!==o&&("suffix"!==e.reference&&n.push("//"),n.push(o),t.path&&"/"!==t.path.charAt(0)&&n.push("/")),void 0!==t.path){var u=t.path;e.absolutePath||i&&i.absolutePath||(u=I(u)),void 0===o&&(u=u.replace(/^\/\//,"/%2F")),n.push(u)}return void 0!==t.query&&(n.push("?"),n.push(t.query)),void 0!==t.fragment&&(n.push("#"),n.push(t.fragment)),n.join("")}function q(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(t=M(z(t,r),r),e=M(z(e,r),r)),!(r=r||{}).tolerant&&e.scheme?(n.scheme=e.scheme,n.userinfo=e.userinfo,n.host=e.host,n.port=e.port,n.path=I(e.path||""),n.query=e.query):(void 0!==e.userinfo||void 0!==e.host||void 0!==e.port?(n.userinfo=e.userinfo,n.host=e.host,n.port=e.port,n.path=I(e.path||""),n.query=e.query):(e.path?("/"===e.path.charAt(0)?n.path=I(e.path):(void 0===t.userinfo&&void 0===t.host&&void 0===t.port||t.path?t.path?n.path=t.path.slice(0,t.path.lastIndexOf("/")+1)+e.path:n.path=e.path:n.path="/"+e.path,n.path=I(n.path)),n.query=e.query):(n.path=t.path,void 0!==e.query?n.query=e.query:n.query=t.query),n.userinfo=t.userinfo,n.host=t.host,n.port=t.port),n.scheme=t.scheme),n.fragment=e.fragment,n}function U(t,e){return t&&t.toString().replace(e&&e.iri?s.PCT_ENCODED:a.PCT_ENCODED,A)}var V={scheme:"http",domainHost:!0,parse:function(t,e){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t},serialize:function(t,e){var r="https"===String(t.scheme).toLowerCase();return t.port!==(r?443:80)&&""!==t.port||(t.port=void 0),t.path||(t.path="/"),t}},H={scheme:"https",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize};function W(t){return"boolean"==typeof t.secure?t.secure:"wss"===String(t.scheme).toLowerCase()}var $={scheme:"ws",domainHost:!0,parse:function(t,e){var r=t;return r.secure=W(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(t,e){if(t.port!==(W(t)?443:80)&&""!==t.port||(t.port=void 0),"boolean"==typeof t.secure&&(t.scheme=t.secure?"wss":"ws",t.secure=void 0),t.resourceName){var r=t.resourceName.split("?"),n=u(r,2),i=n[0],o=n[1];t.path=i&&"/"!==i?i:void 0,t.query=o,t.resourceName=void 0}return t.fragment=void 0,t}},G={scheme:"wss",domainHost:$.domainHost,parse:$.parse,serialize:$.serialize},Y={},X="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",K="[0-9A-Fa-f]",Z=r(r("%[EFef]"+K+"%"+K+K+"%"+K+K)+"|"+r("%[89A-Fa-f]"+K+"%"+K+K)+"|"+r("%"+K+K)),Q=e("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),J=new RegExp(X,"g"),tt=new RegExp(Z,"g"),et=new RegExp(e("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Q),"g"),rt=new RegExp(e("[^]",X,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),nt=rt;function it(t){var e=A(t);return e.match(J)?e:t}var ot={scheme:"mailto",parse:function(t,e){var r=t,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,o={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,h=l.length;f<h;++f)n.push(l[f]);break;case"subject":r.subject=U(c[1],e);break;case"body":r.body=U(c[1],e);break;default:i=!0,o[U(c[0],e)]=U(c[1],e)}}i&&(r.headers=o)}r.query=void 0;for(var p=0,d=n.length;p<d;++p){var v=n[p].split("@");if(v[0]=U(v[0]),e.unicodeSupport)v[1]=U(v[1],e).toLowerCase();else try{v[1]=E.toASCII(U(v[1],e).toLowerCase())}catch(t){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+t}n[p]=v.join("@")}return r},serialize:function(t,e){var r,n=t,o=null!=(r=t.to)?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(o){for(var a=0,s=o.length;a<s;++a){var u=String(o[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(tt,it).replace(tt,i).replace(et,C),f=u.slice(c+1);try{f=e.iri?E.toUnicode(f):E.toASCII(U(f,e).toLowerCase())}catch(t){n.error=n.error||"Email address's domain name can not be converted to "+(e.iri?"Unicode":"ASCII")+" via punycode: "+t}o[a]=l+"@"+f}n.path=o.join(",")}var h=t.headers=t.headers||{};t.subject&&(h.subject=t.subject),t.body&&(h.body=t.body);var p=[];for(var d in h)h[d]!==Y[d]&&p.push(d.replace(tt,it).replace(tt,i).replace(rt,C)+"="+h[d].replace(tt,it).replace(tt,i).replace(nt,C));return p.length&&(n.query=p.join("&")),n}},at=/^([^\:]+)\:(.*)/,st={scheme:"urn",parse:function(t,e){var r=t.path&&t.path.match(at),n=t;if(r){var i=e.scheme||n.scheme||"urn",o=r[1].toLowerCase(),a=r[2],s=i+":"+(e.nid||o),u=S[s];n.nid=o,n.nss=a,n.path=void 0,u&&(n=u.parse(n,e))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(t,e){var r=e.scheme||t.scheme||"urn",n=t.nid,i=r+":"+(e.nid||n),o=S[i];o&&(t=o.serialize(t,e));var a=t,s=t.nss;return a.path=(n||e.nid)+":"+s,a}},ut=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ct={scheme:"urn:uuid",parse:function(t,e){var r=t;return r.uuid=r.nss,r.nss=void 0,e.tolerant||r.uuid&&r.uuid.match(ut)||(r.error=r.error||"UUID is not valid."),r},serialize:function(t,e){var r=t;return r.nss=(t.uuid||"").toLowerCase(),r}};S[V.scheme]=V,S[H.scheme]=H,S[$.scheme]=$,S[G.scheme]=G,S[ot.scheme]=ot,S[st.scheme]=st,S[ct.scheme]=ct,t.SCHEMES=S,t.pctEncChar=C,t.pctDecChars=A,t.parse=M,t.removeDotSegments=I,t.serialize=z,t.resolveComponents=q,t.resolve=function(t,e,r){var n=function(t,e){var r=t;if(e)for(var n in e)r[n]=e[n];return r}({scheme:"null"},r);return z(q(M(t,n),M(e,n),n,!0),n)},t.normalize=function(t,e){return"string"==typeof t?t=z(M(t,e),e):"object"===n(t)&&(t=M(z(t,e),e)),t},t.equal=function(t,e,r){return"string"==typeof t?t=z(M(t,r),r):"object"===n(t)&&(t=z(t,r)),"string"==typeof e?e=z(M(e,r),r):"object"===n(e)&&(e=z(e,r)),t===e},t.escapeComponent=function(t,e){return t&&t.toString().replace(e&&e.iri?s.ESCAPE:a.ESCAPE,C)},t.unescapeComponent=U,Object.defineProperty(t,"__esModule",{value:!0})}(e)},48318:function(t,e,r){!function(t){"use strict";var e,r=function(){try{if(t.URLSearchParams&&"bar"===new t.URLSearchParams("foo=bar").get("foo"))return t.URLSearchParams}catch(t){}return null}(),n=r&&"a=1"===new r({a:1}).toString(),i=r&&"+"===new r("s=%2B").get("s"),o=r&&"size"in r.prototype,a="__URLSearchParams__",s=!r||((e=new r).append("s"," &"),"s=+%26"===e.toString()),u=p.prototype,c=!(!t.Symbol||!t.Symbol.iterator);if(!(r&&n&&i&&s&&o)){u.append=function(t,e){m(this[a],t,e)},u.delete=function(t){delete this[a][t]},u.get=function(t){var e=this[a];return this.has(t)?e[t][0]:null},u.getAll=function(t){var e=this[a];return this.has(t)?e[t].slice(0):[]},u.has=function(t){return x(this[a],t)},u.set=function(t,e){this[a][t]=[""+e]},u.toString=function(){var t,e,r,n,i=this[a],o=[];for(e in i)for(r=d(e),t=0,n=i[e];t<n.length;t++)o.push(r+"="+d(n[t]));return o.join("&")};var l,f=t.Proxy&&r&&(!i||!s||!n||!o);f?(l=new Proxy(r,{construct:function(t,e){return new t(new p(e[0]).toString())}})).toString=Function.prototype.toString.bind(p):l=p,Object.defineProperty(t,"URLSearchParams",{value:l});var h=t.URLSearchParams.prototype;h.polyfill=!0,!f&&t.Symbol&&(h[t.Symbol.toStringTag]="URLSearchParams"),"forEach"in h||(h.forEach=function(t,e){var r=y(this.toString());Object.getOwnPropertyNames(r).forEach((function(n){r[n].forEach((function(r){t.call(e,r,n,this)}),this)}),this)}),"sort"in h||(h.sort=function(){var t,e,r,n=y(this.toString()),i=[];for(t in n)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var o=i[e],a=n[o];for(r=0;r<a.length;r++)this.append(o,a[r])}}),"keys"in h||(h.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),g(t)}),"values"in h||(h.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),g(t)}),"entries"in h||(h.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),g(t)}),c&&(h[t.Symbol.iterator]=h[t.Symbol.iterator]||h.entries),"size"in h||Object.defineProperty(h,"size",{get:function(){var t=y(this.toString());if(h===this)throw new TypeError("Illegal invocation at URLSearchParams.invokeGetter");return Object.keys(t).reduce((function(e,r){return e+t[r].length}),0)}})}function p(t){((t=t||"")instanceof URLSearchParams||t instanceof p)&&(t=t.toString()),this[a]=y(t)}function d(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,(function(t){return e[t]}))}function v(t){return t.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,(function(t){return decodeURIComponent(t)}))}function g(e){var r={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(r[t.Symbol.iterator]=function(){return r}),r}function y(t){var e={};if("object"==typeof t)if(b(t))for(var r=0;r<t.length;r++){var n=t[r];if(!b(n)||2!==n.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");m(e,n[0],n[1])}else for(var i in t)t.hasOwnProperty(i)&&m(e,i,t[i]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var o=t.split("&"),a=0;a<o.length;a++){var s=o[a],u=s.indexOf("=");-1<u?m(e,v(s.slice(0,u)),v(s.slice(u+1))):s&&m(e,v(s),"")}}return e}function m(t,e,r){var n="string"==typeof r?r:null!=r&&"function"==typeof r.toString?r.toString():JSON.stringify(r);x(t,e)?t[e].push(n):t[e]=[n]}function b(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}function x(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(void 0!==r.g?r.g:"undefined"!=typeof window?window:this)},70376:function(t,e,r){"use strict";var n=r(44564),i=r(96540),o=function(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:"contentBoxSize"===e?t.contentRect["inlineSize"===r?"width":"height"]:void 0};t.exports=function(t){void 0===t&&(t={});var e=t.onResize,r=i.useRef(void 0);r.current=e;var a=t.round||Math.round,s=i.useRef(),u=i.useState({width:void 0,height:void 0}),c=u[0],l=u[1],f=i.useRef(!1);i.useEffect((function(){return function(){f.current=!0}}),[]);var h,p,d,v,g,y,m=i.useRef({width:void 0,height:void 0}),b=(h=i.useCallback((function(e){return s.current&&s.current.box===t.box&&s.current.round===a||(s.current={box:t.box,round:a,instance:new n.ResizeObserver((function(e){var n=e[0],i="border-box"===t.box?"borderBoxSize":"device-pixel-content-box"===t.box?"devicePixelContentBoxSize":"contentBoxSize",s=o(n,i,"inlineSize"),u=o(n,i,"blockSize"),c=s?a(s):void 0,h=u?a(u):void 0;if(m.current.width!==c||m.current.height!==h){var p={width:c,height:h};m.current.width=c,m.current.height=h,r.current?r.current(p):f.current||l(p)}}))}),s.current.instance.observe(e,{box:t.box}),function(){s.current&&s.current.instance.unobserve(e)}}),[t.box,a]),p=t.ref,d=i.useRef(null),v=i.useRef(null),g=i.useRef(),y=i.useCallback((function(){var t=null;d.current?t=d.current:p&&(t=p instanceof HTMLElement?p:p.current),v.current&&v.current.element===t&&v.current.reporter===y||(g.current&&(g.current(),g.current=null),v.current={reporter:y,element:t},t&&(g.current=h(t)))}),[p,h]),i.useEffect((function(){y()}),[y]),i.useCallback((function(t){d.current=t,y()}),[y]));return i.useMemo((function(){return{ref:b,width:c.width,height:c.height}}),[b,c?c.width:null,c?c.height:null])}},81135:function(t){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},49032:function(t,e,r){"use strict";var n=r(47244),i=r(48184),o=r(25767),a=r(35680);function s(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),h=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var v=s(Symbol.prototype.valueOf);function g(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function y(t){return"[object Map]"===l(t)}function m(t){return"[object Set]"===l(t)}function b(t){return"[object WeakMap]"===l(t)}function x(t){return"[object WeakSet]"===l(t)}function w(t){return"[object ArrayBuffer]"===l(t)}function _(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function k(t){return"[object DataView]"===l(t)}function E(t){return"undefined"!=typeof DataView&&(k.working?k(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=i,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||E(t)},e.isUint8Array=function(t){return"Uint8Array"===o(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===o(t)},e.isUint16Array=function(t){return"Uint16Array"===o(t)},e.isUint32Array=function(t){return"Uint32Array"===o(t)},e.isInt8Array=function(t){return"Int8Array"===o(t)},e.isInt16Array=function(t){return"Int16Array"===o(t)},e.isInt32Array=function(t){return"Int32Array"===o(t)},e.isFloat32Array=function(t){return"Float32Array"===o(t)},e.isFloat64Array=function(t){return"Float64Array"===o(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===o(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===o(t)},y.working="undefined"!=typeof Map&&y(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(y.working?y(t):t instanceof Map)},m.working="undefined"!=typeof Set&&m(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(m.working?m(t):t instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(b.working?b(t):t instanceof WeakMap)},x.working="undefined"!=typeof WeakSet&&x(new WeakSet),e.isWeakSet=function(t){return x(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=_,k.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&k(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=E;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function C(t){return"[object SharedArrayBuffer]"===l(t)}function A(t){return void 0!==S&&(void 0===C.working&&(C.working=C(new S)),C.working?C(t):t instanceof S)}function O(t){return g(t,f)}function P(t){return g(t,h)}function D(t){return g(t,p)}function j(t){return u&&g(t,d)}function T(t){return c&&g(t,v)}e.isSharedArrayBuffer=A,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=O,e.isStringObject=P,e.isBooleanObject=D,e.isBigIntObject=j,e.isSymbolObject=T,e.isBoxedPrimitive=function(t){return O(t)||P(t)||D(t)||j(t)||T(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(_(t)||A(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},40537:function(t,e,r){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},i=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(t).replace(i,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<o;s=n[++r])g(s)||!w(s)?a+=" "+s:a+=" "+u(s);return a},e.deprecate=function(t,e){if(!0==={env:{}}.noDeprecation)return t;var r=!1;return function(){if(!r){if({env:{}}.throwDeprecation)throw new Error(e);!{env:{}}.traceDeprecation?console.error(e):console.trace(e),r=!0}return t.apply(this,arguments)}};var o={},a=/^$/;if({}.NODE_DEBUG){var s={}.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(t,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),v(r)?n.showHidden=r:r&&e._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),f(n,t,n.depth)}function c(t,e){var r=u.styles[e];return r?"["+u.colors[r][0]+"m"+t+"["+u.colors[r][1]+"m":t}function l(t,e){return t}function f(t,r,n){if(t.customInspect&&r&&E(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return m(i)||(i=f(t,i,n)),i}var o=function(t,e){if(b(e))return t.stylize("undefined","undefined");if(m(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):v(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(E(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(x(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return t.stylize(Date.prototype.toString.call(r),"date");if(k(r))return h(r)}var c,l="",w=!1,S=["{","}"];return d(r)&&(w=!0,S=["[","]"]),E(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(l=" "+RegExp.prototype.toString.call(r)),_(r)&&(l=" "+Date.prototype.toUTCString.call(r)),k(r)&&(l=" "+h(r)),0!==a.length||w&&0!=r.length?n<0?x(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=w?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)O(e,String(a))?o.push(p(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return p(t,r,n,s,e,w)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,S)):S[0]+l+S[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),O(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=g(r)?f(t,u.value,null):f(t,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),b(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function v(t){return"boolean"==typeof t}function g(t){return null===t}function y(t){return"number"==typeof t}function m(t){return"string"==typeof t}function b(t){return void 0===t}function x(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"==typeof t&&null!==t}function _(t){return w(t)&&"[object Date]"===S(t)}function k(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function E(t){return"function"==typeof t}function S(t){return Object.prototype.toString.call(t)}function C(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!o[t])if(a.test(t)){var r={env:{}}.pid;o[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else o[t]=function(){};return o[t]},e.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(49032),e.isArray=d,e.isBoolean=v,e.isNull=g,e.isNullOrUndefined=function(t){return null==t},e.isNumber=y,e.isString=m,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=b,e.isRegExp=x,e.types.isRegExp=x,e.isObject=w,e.isDate=_,e.types.isDate=_,e.isError=k,e.types.isNativeError=k,e.isFunction=E,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(81135);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[C((t=new Date).getHours()),C(t.getMinutes()),C(t.getSeconds())].join(":"),[t.getDate(),A[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(56698),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),P&&Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=P,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var n=e.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};t.apply(this,e).then((function(t){({env:{}}).nextTick(o.bind(null,null,t))}),(function(t){({env:{}}).nextTick(D.bind(null,t,o))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,n(t)),e}},25767:function(t,e,r){"use strict";var n=r(82682),i=r(39209),o=r(10487),a=r(38075),s=r(75795),u=a("Object.prototype.toString"),c=r(49092)(),l="undefined"==typeof globalThis?r.g:globalThis,f=i(),h=a("String.prototype.slice"),p=Object.getPrototypeOf,d=a("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},v={__proto__:null};n(f,c&&s&&p?function(t){var e=new l[t];if(Symbol.toStringTag in e){var r=p(e),n=s(r,Symbol.toStringTag);if(!n){var i=p(r);n=s(i,Symbol.toStringTag)}v["$"+t]=o(n.get)}}:function(t){var e=new l[t],r=e.slice||e.set;r&&(v["$"+t]=o(r))}),t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!c){var e=h(u(t),8,-1);return d(f,e)>-1?e:"Object"===e&&function(t){var e=!1;return n(v,(function(r,n){if(!e)try{r(t),e=h(n,1)}catch(t){}})),e}(t)}return s?function(t){var e=!1;return n(v,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=h(n,1))}catch(t){}})),e}(t):null}},7612:function(t,e,r){"use strict";r.d(e,{HC:function(){return F},jI:function(){return j}});var n=r(96540);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function o(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}function a(t){var e=(0,n.useRef)(t),r=(0,n.useRef)((function(t){e.current&&e.current(t)}));return e.current=t,r.current}var s=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=1),t>r?r:t<e?e:t},u=function(t){return"touches"in t},c=function(t){return t&&t.ownerDocument.defaultView||self},l=function(t,e,r){var n=t.getBoundingClientRect(),i=u(e)?function(t,e){for(var r=0;r<t.length;r++)if(t[r].identifier===e)return t[r];return t[0]}(e.touches,r):e;return{left:s((i.pageX-(n.left+c(t).pageXOffset))/n.width),top:s((i.pageY-(n.top+c(t).pageYOffset))/n.height)}},f=function(t){!u(t)&&t.preventDefault()},h=n.memo((function(t){var e=t.onMove,r=t.onKey,s=o(t,["onMove","onKey"]),h=(0,n.useRef)(null),p=a(e),d=a(r),v=(0,n.useRef)(null),g=(0,n.useRef)(!1),y=(0,n.useMemo)((function(){var t=function(t){f(t),(u(t)?t.touches.length>0:t.buttons>0)&&h.current?p(l(h.current,t,v.current)):r(!1)},e=function(){return r(!1)};function r(r){var n=g.current,i=c(h.current),o=r?i.addEventListener:i.removeEventListener;o(n?"touchmove":"mousemove",t),o(n?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,n=h.current;if(n&&(f(e),!function(t,e){return e&&!u(t)}(e,g.current)&&n)){if(u(e)){g.current=!0;var i=e.changedTouches||[];i.length&&(v.current=i[0].identifier)}n.focus(),p(l(n,e,v.current)),r(!0)}},function(t){var e=t.which||t.keyCode;e<37||e>40||(t.preventDefault(),d({left:39===e?.05:37===e?-.05:0,top:40===e?.05:38===e?-.05:0}))},r]}),[d,p]),m=y[0],b=y[1],x=y[2];return(0,n.useEffect)((function(){return x}),[x]),n.createElement("div",i({},s,{onTouchStart:m,onMouseDown:m,className:"react-colorful__interactive",ref:h,onKeyDown:b,tabIndex:0,role:"slider"}))})),p=function(t){return t.filter(Boolean).join(" ")},d=function(t){var e=t.color,r=t.left,i=t.top,o=void 0===i?.5:i,a=p(["react-colorful__pointer",t.className]);return n.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},n.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,r){return void 0===e&&(e=0),void 0===r&&(r=Math.pow(10,e)),Math.round(r*t)/r},g=(Math.PI,function(t){return _(y(t))}),y=function(t){return"#"===t[0]&&(t=t.substring(1)),t.length<6?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:4===t.length?v(parseInt(t[3]+t[3],16)/255,2):1}:{r:parseInt(t.substring(0,2),16),g:parseInt(t.substring(2,4),16),b:parseInt(t.substring(4,6),16),a:8===t.length?v(parseInt(t.substring(6,8),16)/255,2):1}},m=function(t){var e=function(t){var e=t.s,r=t.v,n=t.a,i=(200-e)*r/100;return{h:v(t.h),s:v(i>0&&i<200?e*r/100/(i<=100?i:200-i)*100:0),l:v(i/2),a:v(n,2)}}(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},b=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var o=Math.floor(e),a=n*(1-r),s=n*(1-(e-o)*r),u=n*(1-(1-e+o)*r),c=o%6;return{r:v(255*[n,s,a,a,u,n][c]),g:v(255*[u,n,n,s,a,a][c]),b:v(255*[a,a,u,n,n,s][c]),a:v(i,2)}},x=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},w=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,o=i<1?x(v(255*i)):"";return"#"+x(e)+x(r)+x(n)+o},_=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,o=Math.max(e,r,n),a=o-Math.min(e,r,n),s=a?o===e?(r-n)/a:o===r?2+(n-e)/a:4+(e-r)/a:0;return{h:v(60*(s<0?s+6:s)),s:v(o?a/o*100:0),v:v(o/255*100),a:i}},k=n.memo((function(t){var e=t.hue,r=t.onChange,i=p(["react-colorful__hue",t.className]);return n.createElement("div",{className:i},n.createElement(h,{onMove:function(t){r({h:360*t.left})},onKey:function(t){r({h:s(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuenow":v(e),"aria-valuemax":"360","aria-valuemin":"0"},n.createElement(d,{className:"react-colorful__hue-pointer",left:e/360,color:m({h:e,s:100,v:100,a:1})})))})),E=n.memo((function(t){var e=t.hsva,r=t.onChange,i={backgroundColor:m({h:e.h,s:100,v:100,a:1})};return n.createElement("div",{className:"react-colorful__saturation",style:i},n.createElement(h,{onMove:function(t){r({s:100*t.left,v:100-100*t.top})},onKey:function(t){r({s:s(e.s+100*t.left,0,100),v:s(e.v-100*t.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+v(e.s)+"%, Brightness "+v(e.v)+"%"},n.createElement(d,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:m(e)})))})),S=function(t,e){if(t===e)return!0;for(var r in t)if(t[r]!==e[r])return!1;return!0};function C(t,e,r){var i=a(r),o=(0,n.useState)((function(){return t.toHsva(e)})),s=o[0],u=o[1],c=(0,n.useRef)({color:e,hsva:s});(0,n.useEffect)((function(){if(!t.equal(e,c.current.color)){var r=t.toHsva(e);c.current={hsva:r,color:e},u(r)}}),[e,t]),(0,n.useEffect)((function(){var e;S(s,c.current.hsva)||t.equal(e=t.fromHsva(s),c.current.color)||(c.current={hsva:s,color:e},i(e))}),[s,t,i]);var l=(0,n.useCallback)((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[s,l]}var A="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,O=new Map,P=function(t){var e,a=t.className,s=t.colorModel,u=t.color,c=void 0===u?s.defaultColor:u,l=t.onChange,f=o(t,["className","colorModel","color","onChange"]),h=(0,n.useRef)(null);e=h,A((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!O.has(t)){var n=t.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',O.set(t,n);var i=r.nc;i&&n.setAttribute("nonce",i),t.head.appendChild(n)}}),[]);var d=C(s,c,l),v=d[0],g=d[1],y=p(["react-colorful",a]);return n.createElement("div",i({},f,{ref:h,className:y}),n.createElement(E,{hsva:v,onChange:g}),n.createElement(k,{hue:v.h,onChange:g,className:"react-colorful__last-control"}))},D={defaultColor:"000",toHsva:g,fromHsva:function(t){return function(t){return w(b(t))}({h:t.h,s:t.s,v:t.v,a:1})},equal:function(t,e){return t.toLowerCase()===e.toLowerCase()||S(y(t),y(e))}},j=function(t){return n.createElement(P,i({},t,{colorModel:D}))},T=/^#?([0-9A-F]{3,8})$/i,N=function(t){var e=t.color,r=void 0===e?"":e,s=t.onChange,u=t.onBlur,c=t.escape,l=t.validate,f=t.format,h=t.process,p=o(t,["color","onChange","onBlur","escape","validate","format","process"]),d=(0,n.useState)((function(){return c(r)})),v=d[0],g=d[1],y=a(s),m=a(u),b=(0,n.useCallback)((function(t){var e=c(t.target.value);g(e),l(e)&&y(h?h(e):e)}),[c,h,l,y]),x=(0,n.useCallback)((function(t){l(t.target.value)||g(c(r)),m(t)}),[r,c,l,m]);return(0,n.useEffect)((function(){g(c(r))}),[r,c]),n.createElement("input",i({},p,{value:f?f(v):v,spellCheck:"false",onChange:b,onBlur:x}))},M=function(t){return"#"+t},F=function(t){var e=t.prefixed,r=t.alpha,a=o(t,["prefixed","alpha"]),s=(0,n.useCallback)((function(t){return t.replace(/([^0-9A-F]+)/gi,"").substring(0,r?8:6)}),[r]),u=(0,n.useCallback)((function(t){return function(t,e){var r=T.exec(t),n=r?r[1].length:0;return 3===n||6===n||!!e&&4===n||!!e&&8===n}(t,r)}),[r]);return n.createElement(N,i({},a,{escape:s,format:e?M:void 0,process:M,validate:u}))}},59387:function(t,e,r){"use strict";r.d(e,{EF:function(){return d},Qw:function(){return E},W1:function(){return x},q7:function(){return w}});var n=r(96540),i=r(20053),o=r(40961),a=(0,n.createContext)({}),s=()=>(0,n.useContext)(a),u=t=>n.createElement(a.Provider,{...t}),c=function(){let t=new Map;return{on(e,r){return t.has(e)?t.get(e).add(r):t.set(e,new Set([r])),this},off(e,r){return t.has(e)&&t.get(e).delete(r),this},emit(e,r){return t.has(e)&&t.get(e).forEach((t=>{t(r)})),this}}}(),l=()=>(0,n.useRef)(new Map).current,f=()=>{},h=["resize","contextmenu","click","scroll","blur"],p={show({event:t,id:e,props:r,position:n}){t.preventDefault&&t.preventDefault(),c.emit(0).emit(e,{event:t.nativeEvent||t,props:r,position:n})},hideAll(){c.emit(0)}};function d(t){return{show(e){p.show({...t,...e})},hideAll(){p.hideAll()}}}function v(t){return"function"==typeof t}function g(t){return"string"==typeof t}function y(t,e){return n.Children.map(n.Children.toArray(t).filter(Boolean),(t=>(0,n.cloneElement)(t,e)))}function m(t,e){return v(t)?t(e):t}function b(t,e){return{...t,...v(e)?e(t):e}}var x=({id:t,theme:e,style:r,className:a,children:s,animation:f="fade",preventDefaultOnKeydown:p=!0,disableBoundariesCheck:d=!1,onVisibilityChange:m,...x})=>{let[w,_]=(0,n.useReducer)(b,{x:0,y:0,visible:!1,triggerEvent:{},propsFromTrigger:null,willLeave:!1}),k=(0,n.useRef)(null),E=l(),[S]=(0,n.useState)((()=>function(){let t,e,r,n,i=new Map,o=!1;function a(){n[t].node.focus()}function s(){return-1!==t||(u(),!1)}function u(){t+1<n.length?t++:t+1===n.length&&(t=0),o&&c(),a()}function c(){if(s()&&!r){let s=i.get(e);e.classList.remove("contexify_submenu-isOpen"),n=s.items,e=s.parentNode,s.isRoot&&(r=!0,i.clear()),o||(t=s.focusedIndex,a())}}return{init:function(e){n=Array.from(e.values()),t=-1,r=!0},moveDown:u,moveUp:function(){-1===t||0===t?t=n.length-1:t-1<n.length&&t--,o&&c(),a()},openSubmenu:function(){if(s()&&t>=0&&n[t].isSubmenu){let s=Array.from(n[t].submenuRefTracker.values()),{node:u,setSubmenuPosition:c}=n[t];return i.set(u,{isRoot:r,focusedIndex:t,parentNode:e||u,items:n}),c(),u.classList.add("contexify_submenu-isOpen"),e=u,s.length>0?(t=0,n=s):o=!0,r=!1,a(),!0}return!1},closeSubmenu:c,matchKeys:function(t){!function e(r){for(let n of r)n.isSubmenu&&n.submenuRefTracker&&e(Array.from(n.submenuRefTracker.values())),n.keyMatcher&&n.keyMatcher(t)}(n)}}}())),C=(0,n.useRef)(),A=(0,n.useRef)();function O(t,e){if(k.current&&!d){let{innerWidth:r,innerHeight:n}=window,{offsetWidth:i,offsetHeight:o}=k.current;t+i>r&&(t-=t+i-r),e+o>n&&(e-=e+o-n)}return{x:t,y:e}}function P({event:t,props:e,position:r}){t.stopPropagation();let n=r||function(t){let e={x:t.clientX,y:t.clientY},r=t.changedTouches;return r&&(e.x=r[0].clientX,e.y=r[0].clientY),(!e.x||e.x<0)&&(e.x=0),(!e.y||e.y<0)&&(e.y=0),e}(t),{x:i,y:a}=O(n.x,n.y);(0,o.flushSync)((()=>{_({visible:!0,willLeave:!1,x:i,y:a,triggerEvent:t,propsFromTrigger:e})})),clearTimeout(A.current),!C.current&&v(m)&&(m(!0),C.current=!0)}function D(t){null!=t&&(2===t.button||t.ctrlKey)&&"contextmenu"!==t.type||(f&&(g(f)||"exit"in f&&f.exit)?_((t=>({willLeave:t.visible}))):_((t=>({visible:!t.visible&&t.visible}))),A.current=setTimeout((()=>{v(m)&&m(!1),C.current=!1})))}(0,n.useEffect)((()=>(c.on(t,P).on(0,D),()=>{c.off(t,P).off(0,D)})),[t,f,d]),(0,n.useEffect)((()=>{w.visible?S.init(E):E.clear()}),[w.visible,S,E]),(0,n.useEffect)((()=>{w.visible&&_(O(w.x,w.y))}),[w.visible]),(0,n.useEffect)((()=>{function t(t){p&&t.preventDefault()}function e(e){switch(e.key){case"Enter":case" ":S.openSubmenu()||D();break;case"Escape":D();break;case"ArrowUp":t(e),S.moveUp();break;case"ArrowDown":t(e),S.moveDown();break;case"ArrowRight":t(e),S.openSubmenu();break;case"ArrowLeft":t(e),S.closeSubmenu();break;default:S.matchKeys(e)}}if(w.visible){window.addEventListener("keydown",e);for(let t of h)window.addEventListener(t,D)}return()=>{window.removeEventListener("keydown",e);for(let t of h)window.removeEventListener(t,D)}}),[w.visible,S,p]);let{visible:j,triggerEvent:T,propsFromTrigger:N,x:M,y:F,willLeave:B}=w,R=(0,i.A)("contexify",a,{[`contexify_theme-${e}`]:e},g(f)?(0,i.A)({[`contexify_willEnter-${f}`]:j&&!B,[`contexify_willLeave-${f} contexify_willLeave-'disabled'`]:j&&B}):f&&"enter"in f&&"exit"in f?(0,i.A)({[`contexify_willEnter-${f.enter}`]:f.enter&&j&&!B,[`contexify_willLeave-${f.exit} contexify_willLeave-'disabled'`]:f.exit&&j&&B}):null);return n.createElement(u,{value:E},j&&n.createElement("div",{...x,className:R,onAnimationEnd:function(){w.willLeave&&w.visible&&(0,o.flushSync)((()=>_({visible:!1,willLeave:!1})))},style:{...r,left:M,top:F,opacity:1},ref:k,role:"menu"},y(s,{propsFromTrigger:N,triggerEvent:T})))},w=({id:t,children:e,className:r,style:o,triggerEvent:a,data:u,propsFromTrigger:c,keyMatcher:l,onClick:h=f,disabled:d=!1,hidden:g=!1,closeOnClick:y=!0,handlerEvent:b="onClick",...x})=>{let w=(0,n.useRef)(),_=s(),k={id:t,data:u,triggerEvent:a,props:c},E=m(d,k);function S(){let t=w.current;t.focus(),t.addEventListener("animationend",(()=>setTimeout(p.hideAll)),{once:!0}),t.classList.add("contexify_item-feedback"),h(k)}return m(g,k)?null:n.createElement("div",{...x,[b]:function(t){k.event=t,t.stopPropagation(),E||(y?S():h(k))},className:(0,i.A)("contexify_item",r,{"contexify_item-disabled":E}),style:o,onKeyDown:function(t){("Enter"===t.key||" "===t.key)&&(t.stopPropagation(),k.event=t,S())},ref:function(t){t&&!E&&(w.current=t,_.set(t,{node:t,isSubmenu:!1,keyMatcher:!E&&v(l)&&(t=>{l(t)&&(t.stopPropagation(),t.preventDefault(),k.event=t,S())})}))},tabIndex:-1,role:"menuitem","aria-disabled":E},n.createElement("div",{className:"contexify_itemContent"},e))},_=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("polyline",{points:"9 18 15 12 9 6"})),k=({className:t,...e})=>n.createElement("div",{className:(0,i.A)("contexify_rightSlot",t),...e}),E=({arrow:t,children:e,disabled:r=!1,hidden:o=!1,label:a,className:c,triggerEvent:f,propsFromTrigger:h,style:p,...d})=>{let v=s(),g=l(),b=(0,n.useRef)(null),x={triggerEvent:f,props:h},w=m(r,x);function E(){let t=b.current;if(t){let e="contexify_submenu-bottom",r="contexify_submenu-right";t.classList.remove(e,r);let n=t.getBoundingClientRect();n.right>window.innerWidth&&t.classList.add(r),n.bottom>window.innerHeight&&t.classList.add(e)}}if(m(o,x))return null;let S=(0,i.A)("contexify_item",c,{"contexify_item-disabled":w});return n.createElement(u,{value:g},n.createElement("div",{...d,className:S,ref:function(t){t&&!w&&v.set(t,{node:t,isSubmenu:!0,submenuRefTracker:g,setSubmenuPosition:E})},tabIndex:-1,role:"menuitem","aria-haspopup":!0,"aria-disabled":w,onMouseEnter:E,onTouchStart:E},n.createElement("div",{className:"contexify_itemContent",onClick:t=>t.stopPropagation()},a,n.createElement(k,null,t||n.createElement(_,null))),n.createElement("div",{className:"contexify contexify_submenu",ref:b,style:p},y(e,{propsFromTrigger:h,triggerEvent:f}))))}},31635:function(t,e,r){"use strict";function n(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))}function i(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function o(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function a(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(o(arguments[e]));return t}r.d(e,{YH:function(){return i},gz:function(){return a},sH:function(){return n}}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},62534:function(t,e,r){"use strict";r.d(e,{BN:function(){return i},E3:function(){return n},xT:function(){return c}});for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)n[48+s]=n[96+s]=String(s);for(s=1;s<=24;s++)n[s+111]="F"+s;for(s=65;s<=90;s++)n[s]=String.fromCharCode(s+32),i[s]=String.fromCharCode(s);for(var u in n)i.hasOwnProperty(u)||(i[u]=n[u]);function c(t){var e=!(o&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||a&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?i:n)[t.keyCode]||t.key||"Unidentified";return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}}}]);