aldehyde 0.2.32 → 0.2.33
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.
- package/dist/bundle.022b9d9e54b55ad6267e.js +1 -0
- package/dist/bundle.022b9d9e54b55ad6267e.js.gz +0 -0
- package/dist/bundle.03c8826fed3306e7bca7.js +1 -0
- package/dist/bundle.17695fcdfc4d8b13d695.js +2 -0
- package/dist/bundle.17695fcdfc4d8b13d695.js.LICENSE.txt +8 -0
- package/dist/bundle.17695fcdfc4d8b13d695.js.gz +0 -0
- package/dist/bundle.1bc3fad9b6dda01db2dc.js +1 -0
- package/dist/bundle.1bc3fad9b6dda01db2dc.js.gz +0 -0
- package/dist/bundle.26e8ea213610dd77dfc5.js +2 -0
- package/dist/bundle.26e8ea213610dd77dfc5.js.LICENSE.txt +22 -0
- package/dist/bundle.26e8ea213610dd77dfc5.js.gz +0 -0
- package/dist/bundle.2e0aa3d0288f29cd9bdb.js +1 -0
- package/dist/bundle.2e0aa3d0288f29cd9bdb.js.gz +0 -0
- package/dist/bundle.3afd92d0051920d083b8.js +1 -0
- package/dist/bundle.3afd92d0051920d083b8.js.gz +0 -0
- package/dist/bundle.3b47a72a98819ce207b4.js +2 -0
- package/dist/bundle.3b47a72a98819ce207b4.js.LICENSE.txt +14 -0
- package/dist/bundle.3b47a72a98819ce207b4.js.gz +0 -0
- package/dist/bundle.4d91709f680596b4b0ac.js +2 -0
- package/dist/bundle.4d91709f680596b4b0ac.js.LICENSE.txt +9 -0
- package/dist/bundle.4d91709f680596b4b0ac.js.gz +0 -0
- package/dist/bundle.4e6573855d62c2c61293.js +1 -0
- package/dist/bundle.4e6573855d62c2c61293.js.gz +0 -0
- package/dist/bundle.51344a730efffedb67a3.js +2 -0
- package/dist/bundle.51344a730efffedb67a3.js.LICENSE.txt +8 -0
- package/dist/bundle.51344a730efffedb67a3.js.gz +0 -0
- package/dist/bundle.59446aa1a6e81028b0f3.js +1 -0
- package/dist/bundle.59446aa1a6e81028b0f3.js.gz +0 -0
- package/dist/bundle.5c631f42a0bc32bcee42.js +1 -0
- package/dist/bundle.5cc46bd3e80bed3462d0.js +2 -0
- package/dist/bundle.5cc46bd3e80bed3462d0.js.LICENSE.txt +1 -0
- package/dist/bundle.5cc46bd3e80bed3462d0.js.gz +0 -0
- package/dist/bundle.5fc1d01501a8fadd2680.js +2 -0
- package/dist/bundle.5fc1d01501a8fadd2680.js.LICENSE.txt +7 -0
- package/dist/bundle.5fc1d01501a8fadd2680.js.gz +0 -0
- package/dist/bundle.6bf28a6aa5ba025b9cbe.js +2 -0
- package/dist/bundle.6bf28a6aa5ba025b9cbe.js.LICENSE.txt +18 -0
- package/dist/bundle.6bf28a6aa5ba025b9cbe.js.gz +0 -0
- package/dist/bundle.6c63d1f8fd32a2e9ca6c.js +75 -0
- package/dist/bundle.6c63d1f8fd32a2e9ca6c.js.LICENSE.txt +17 -0
- package/dist/bundle.6c63d1f8fd32a2e9ca6c.js.gz +0 -0
- package/dist/bundle.75ca758485013fe73c8a.js +1 -0
- package/dist/bundle.75ca758485013fe73c8a.js.gz +0 -0
- package/dist/bundle.79c75972bdb84e2526a0.js +1 -0
- package/dist/bundle.79c75972bdb84e2526a0.js.gz +0 -0
- package/dist/bundle.7c07c768d6aa85f8cb7f.js +1 -0
- package/dist/bundle.7c07c768d6aa85f8cb7f.js.gz +0 -0
- package/dist/bundle.7e85c36e04f1428d40ae.js +2 -0
- package/dist/bundle.7e85c36e04f1428d40ae.js.LICENSE.txt +17 -0
- package/dist/bundle.7e85c36e04f1428d40ae.js.gz +0 -0
- package/dist/bundle.7fe4c9d6d1fad1b785b4.js +1 -0
- package/dist/bundle.7fe4c9d6d1fad1b785b4.js.gz +0 -0
- package/dist/bundle.8a46aaa80505db8f0a31.js +1 -0
- package/dist/bundle.8a46aaa80505db8f0a31.js.gz +0 -0
- package/dist/bundle.8a6c3026f7b0ad7bdc84.js +2 -0
- package/dist/bundle.8a6c3026f7b0ad7bdc84.js.LICENSE.txt +25 -0
- package/dist/bundle.8a6c3026f7b0ad7bdc84.js.gz +0 -0
- package/dist/bundle.9a888a685a8dc8795cb1.js +1 -0
- package/dist/bundle.9d12b63336a9c8d44a9d.js +1 -0
- package/dist/bundle.9d12b63336a9c8d44a9d.js.gz +0 -0
- package/dist/bundle.a7dfe1231cfa8ef5b0d3.js +2 -0
- package/dist/bundle.a7dfe1231cfa8ef5b0d3.js.LICENSE.txt +5 -0
- package/dist/bundle.a7dfe1231cfa8ef5b0d3.js.gz +0 -0
- package/dist/bundle.be6aaf07219b3f9a361f.js +1 -0
- package/dist/bundle.be6aaf07219b3f9a361f.js.gz +0 -0
- package/dist/bundle.c015ad492469b8a18b36.js +1 -0
- package/dist/bundle.c015ad492469b8a18b36.js.gz +0 -0
- package/dist/bundle.c31ad04e1e30564fea70.js +1 -0
- package/dist/bundle.c560447b006cce1238b6.js +2 -0
- package/dist/bundle.c560447b006cce1238b6.js.LICENSE.txt +1 -0
- package/dist/bundle.c560447b006cce1238b6.js.gz +0 -0
- package/dist/bundle.cad48ecfb6c9304f8477.js +2 -0
- package/dist/bundle.cad48ecfb6c9304f8477.js.LICENSE.txt +5 -0
- package/dist/bundle.cad48ecfb6c9304f8477.js.gz +0 -0
- package/dist/bundle.d7eaee8d9bcfcf8b0bd0.js +1 -0
- package/dist/bundle.d7eaee8d9bcfcf8b0bd0.js.gz +0 -0
- package/dist/bundle.d8256eaa6fe575fb9d01.js +8 -0
- package/dist/bundle.d8256eaa6fe575fb9d01.js.LICENSE.txt +8 -0
- package/dist/bundle.d8256eaa6fe575fb9d01.js.gz +0 -0
- package/dist/bundle.dbb253f3029c97475380.js +1 -0
- package/dist/bundle.dbb253f3029c97475380.js.gz +0 -0
- package/dist/bundle.df7845990c0fed52fca8.js +2 -0
- package/dist/bundle.df7845990c0fed52fca8.js.LICENSE.txt +29 -0
- package/dist/bundle.df7845990c0fed52fca8.js.gz +0 -0
- package/dist/bundle.e1ac7a74c5a25a07424c.js +1 -0
- package/dist/bundle.e1ac7a74c5a25a07424c.js.gz +0 -0
- package/dist/bundle.e9b7939a81971b04ce61.js +1 -0
- package/dist/bundle.e9b7939a81971b04ce61.js.gz +0 -0
- package/dist/bundle.eb8b12c34556f700f59a.js +2 -0
- package/dist/bundle.eb8b12c34556f700f59a.js.LICENSE.txt +30 -0
- package/dist/bundle.eb8b12c34556f700f59a.js.gz +0 -0
- package/dist/bundle.f4f8e071565f4dff4698.js +2 -0
- package/dist/bundle.f4f8e071565f4dff4698.js.LICENSE.txt +5 -0
- package/dist/bundle.f4f8e071565f4dff4698.js.gz +0 -0
- package/dist/css/chemstruc-graph-15d5053934e613f20d2b.css +11 -0
- package/dist/css/chemstruc-graph-15d5053934e613f20d2b.css.gz +0 -0
- package/dist/css/common-131a1a93b3a3dde25f8f.css +90 -0
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css +886 -0
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css.gz +0 -0
- package/dist/css/main-4bd110a5b2a4a3fbef88.css +803 -0
- package/dist/css/main-4bd110a5b2a4a3fbef88.css.gz +0 -0
- package/dist/images/development-30de07a0.png +0 -0
- package/dist/images/pain-point-8f02421e.png +0 -0
- package/dist/images/target-13a5b4b9.png +0 -0
- package/dist/images/time-cost-cb40d2c2.png +0 -0
- package/dist/images/time-prograss-44b86b36.png +0 -0
- package/dist/index.html +4 -0
- package/lib/controls/code-editor/sql-code-editor.d.ts.map +1 -1
- package/lib/controls/code-editor/sql-code-editor.js.map +1 -1
- package/lib/controls/date-picker/index.d.ts +2 -2
- package/lib/controls/entry-control.d.ts.map +1 -1
- package/lib/controls/entry-control.js +2 -2
- package/lib/controls/entry-control.js.map +1 -1
- package/lib/controls/view-control.d.ts.map +1 -1
- package/lib/controls/view-control.js +3 -3
- package/lib/controls/view-control.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/layout/MainPage.js +1 -1
- package/lib/layout/MainPage.js.map +1 -1
- package/lib/layout/header/index.d.ts.map +1 -1
- package/lib/layout/header/index.js.map +1 -1
- package/lib/tmpl/superagent.d.ts.map +1 -1
- package/lib/tmpl/superagent.js +2 -1
- package/lib/tmpl/superagent.js.map +1 -1
- package/lib/welcome/workbench.js.map +1 -1
- package/package.json +2 -3
- package/src/aldehyde/controls/code-editor/sql-code-editor.tsx +1 -2
- package/src/aldehyde/controls/date-picker/index.tsx +2 -2
- package/src/aldehyde/controls/entry-control.tsx +4 -2
- package/src/aldehyde/controls/view-control.tsx +7 -6
- package/src/aldehyde/index.tsx +5 -2
- package/src/aldehyde/layout/MainPage.tsx +1 -1
- package/src/aldehyde/layout/header/index.tsx +0 -1
- package/src/aldehyde/tmpl/superagent.js +3 -1
- package/src/aldehyde/welcome/workbench.tsx +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see bundle.6bf28a6aa5ba025b9cbe.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[211],{35852:function(t,e,n){"use strict";n.d(e,{A:function(){return P},B:function(){return g},C:function(){return N},D:function(){return y},E:function(){return u},F:function(){return D},G:function(){return q},J:function(){return R},K:function(){return W},L:function(){return K},N:function(){return X},P:function(){return T},R:function(){return A},S:function(){return I},T:function(){return M},Y:function(){return Z},a:function(){return j},a1:function(){return G},b:function(){return B},d:function(){return L},e:function(){return O},f:function(){return F},g:function(){return z},h:function(){return H},i:function(){return m},j:function(){return E},k:function(){return a},l:function(){return k},m:function(){return b},o:function(){return h},p:function(){return c},q:function(){return v},r:function(){return f},s:function(){return _},t:function(){return s},u:function(){return l},v:function(){return C},y:function(){return w},z:function(){return x}});var r=n(12470),i=n(87462),o=n(52847),a=function(t){return function(){return true}}(),s=function(){},u=function(t){return t};"function"==typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;var c=function(t,e){(0,i.Z)(t,e),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach((function(n){t[n]=e[n]}))},l=function(t,e){var n;return(n=[]).concat.apply(n,e.map(t))};function f(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}function h(t){var e=!1;return function(){e||(e=!0,t())}}var p=function(t){throw t},d=function(t){return{value:t,done:!0}};function v(t,e,n){void 0===e&&(e=p),void 0===n&&(n="iterator");var r={meta:{name:n},next:t,throw:e,return:d,isSagaIterator:!0};return"undefined"!=typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function g(t,e){var n=e.sagaStack;console.error(t),console.error(n)}var m=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")},b=function(t){return Array.apply(null,new Array(t))},y=function(t){return function(e){return t(Object.defineProperty(e,r.Nm,{value:!0}))}},x=function(t){return t===r.EO},w=function(t){return t===r.Wd},_=function(t){return x(t)||w(t)};function k(t,e){var n,r=Object.keys(t),i=r.length,a=0,u=(0,o.IX)(t)?b(i):{},c={};return r.forEach((function(t){var r=function(r,o){n||(o||_(r)?(e.cancel(),e(r,o)):(u[t]=r,++a===i&&(n=!0,e(u))))};r.cancel=s,c[t]=r})),e.cancel=function(){n||(n=!0,r.forEach((function(t){return c[t].cancel()})))},c}function E(t){return{name:t.name||"anonymous",location:C(t)}}function C(t){return t[r.b_]}var S=4;var O=function(t){return function(t,e){void 0===t&&(t=10);var n=new Array(t),r=0,i=0,o=0,a=function(e){n[i]=e,i=(i+1)%t,r++},s=function(){if(0!=r){var e=n[o];return n[o]=null,r--,o=(o+1)%t,e}},u=function(){for(var t=[];r;)t.push(s());return t};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<t)a(s);else switch(e){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%t;break;case S:c=2*t,n=u(),r=n.length,i=n.length,o=0,n.length=c,t=c,a(s)}},take:s,flush:u}}(t,S)},M="TAKE",T="PUT",P="ALL",A="RACE",N="CALL",j="CPS",D="FORK",R="JOIN",B="CANCEL",I="SELECT",L="ACTION_CHANNEL",F="CANCELLED",z="FLUSH",q="GET_CONTEXT",H="SET_CONTEXT",V=function(t,e){var n;return(n={})[r.IO]=!0,n.combinator=!1,n.type=t,n.payload=e,n},U=function(t){return V(D,(0,i.Z)({},t.payload,{detached:!0}))};function W(t,e){return void 0===t&&(t="*"),(0,o.uj)(t)?((0,o.d5)(e)&&console.warn("take(pattern) takes one argument but two were provided. Consider passing an array for listening to several action types"),V(M,{pattern:t})):(0,o.Om)(t)&&(0,o.d5)(e)&&(0,o.uj)(e)?V(M,{channel:t,pattern:e}):(0,o.CE)(t)?((0,o.d5)(e)&&console.warn("take(channel) takes one argument but two were provided. Second argument is ignored."),V(M,{channel:t})):void 0}function Z(t,e){return(0,o.sR)(e)&&(e=t,t=void 0),V(T,{channel:t,action:e})}function Y(t,e){var n,r=null;return(0,o.Yl)(t)?n=t:((0,o.IX)(t)?(r=t[0],n=t[1]):(r=t.context,n=t.fn),r&&(0,o.Z_)(n)&&(0,o.Yl)(r[n])&&(n=r[n])),{context:r,fn:n,args:e}}function X(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return V(N,Y(t,n))}function K(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return V(D,Y(t,n))}function G(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U(K.apply(void 0,[t].concat(n)))}},52847:function(t,e,n){"use strict";n.d(e,{CE:function(){return h},IX:function(){return u},MC:function(){return c},NA:function(){return d},Om:function(){return v},Yl:function(){return a},Z_:function(){return s},d5:function(){return o},eR:function(){return p},hZ:function(){return l},sR:function(){return i},uj:function(){return f}});var r=n(12470),i=function(t){return null==t},o=function(t){return null!=t},a=function(t){return"function"==typeof t},s=function(t){return"string"==typeof t},u=Array.isArray,c=function(t){return t&&a(t.then)},l=function(t){return t&&a(t.next)&&a(t.throw)},f=function t(e){return e&&(s(e)||d(e)||a(e)||u(e)&&e.every(t))},h=function(t){return t&&a(t.take)&&a(t.close)},p=function(t){return a(t)&&t.hasOwnProperty("toString")},d=function(t){return Boolean(t)&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype},v=function(t){return h(t)&&t[r.AS]}},12470:function(t,e,n){"use strict";n.d(e,{AS:function(){return u},Cs:function(){return f},EO:function(){return p},IO:function(){return a},Nm:function(){return c},Wd:function(){return h},b_:function(){return d},n1:function(){return i},sC:function(){return l},sZ:function(){return o},uq:function(){return s}});var r=function(t){return"@@redux-saga/"+t},i=r("CANCEL_PROMISE"),o=r("CHANNEL_END"),a=r("IO"),s=r("MATCH"),u=r("MULTICAST"),c=r("SAGA_ACTION"),l=r("SELF_CANCELLATION"),f=r("TASK"),h=r("TASK_CANCEL"),p=r("TERMINATE"),d=r("LOCATION")},67079:function(t){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){var r,i;r=[n(2)],void 0===(i=function(t){function e(r){if(e.is(r,"function"))return n?r():t.on("raphael.DOMload",r);if(e.is(r,P))return e._engine.create[p](e,r.splice(0,3+e.is(r[0],T))).add(r);var i=Array.prototype.slice.call(arguments,0);if(e.is(i[i.length-1],"function")){var o=i.pop();return n?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 n,r,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="",m=" ",b=String,y="split",x="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[y](m),w={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},_=b.prototype.toLowerCase,k=Math,E=k.max,C=k.min,S=k.abs,O=k.pow,M=k.PI,T="number",P="array",A=Object.prototype.toString,N=(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),j={NaN:1,Infinity:1,"-Infinity":1},D=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,R=k.round,B=parseFloat,I=parseInt,L=b.prototype.toUpperCase,F=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:T,"clip-rect":"csv",cx:T,cy:T,fill:"colour","fill-opacity":T,"font-size":T,height:T,opacity:T,path:"path",r:T,rx:T,ry:T,stroke:"colour","stroke-opacity":T,"stroke-width":T,transform:"transform",width:T,x:T,y:T},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]*/,H={hs:1,rg:1},V=/,?([achlmqrstvxz]),?/gi,U=/([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,Z=/(-?\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,Y=(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]*([^\)]+?)\))?/,{}),X=function(t,e){return B(t)-B(e)},K=function(t){return t},G=e._rectPath=function(t,e,n,r,i){return i?[["M",t+i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]},$=function(t,e,n,r){return null==r&&(r=n),[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]},Q=e._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return $(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return $(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return G(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return G(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return G(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return G(e.x,e.y,e.width,e.height)}},J=e.mapPath=function(t,e){if(!e)return t;var n,r,i,o,a,s,u;for(i=0,a=(t=Ot(t)).length;i<a;i++)for(o=1,s=(u=t[i]).length;o<s;o+=2)n=e.x(u[o],u[o+1]),r=e.y(u[o],u[o+1]),u[o]=n,u[o+1]=r;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 nt(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var n in t)t[c](n)&&(e[n]=nt(t[n]));return e}e.svg=!(e.vml="VML"==e.type),e._Paper=h,e.fn=r=h.prototype=e.prototype,e._id=0,e.is=function(t,e){return"finite"==(e=_.call(e))?!j[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)||A.call(t).slice(8,-1).toLowerCase()==e},e.angle=function(t,n,r,i,o,a){if(null==o){var s=t-r,u=n-i;return s||u?(180+180*k.atan2(-u,-s)/M+360)%360:0}return e.angle(t,n,o,a)-e.angle(r,i,o,a)},e.rad=function(t){return t%360*M/180},e.deg=function(t){return Math.round(180*t/M%360*1e3)/1e3},e.snapTo=function(t,n,r){if(r=e.is(r,"finite")?r:10,e.is(t,P)){for(var i=t.length;i--;)if(S(t[i]-n)<=r)return t[i]}else{var o=n%(t=+t);if(o<r)return n-o;if(o>t-r)return n-o+t}return n},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(n){t("raphael.setWindow",e,l.win,n),l.win=n,l.doc=l.win.document,e._engine.initWin&&e._engine.initWin(l.win)};var rt=function(t){if(e.vml){var n,r=/^\s+|\s+$/g;try{var i=new ActiveXObject("htmlfile");i.write("<body>"),i.close(),n=i.body}catch(t){n=createPopup().document.body}var o=n.createTextRange();rt=ct((function(t){try{n.style.color=b(t).replace(r,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),rt=ct((function(t){return a.style.color=t,l.doc.defaultView.getComputedStyle(a,g).getPropertyValue("color")}))}return rt(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,n,r){if(null==n&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,n=t.g,t=t.r),null==n&&e.is(t,"string")){var i=e.getRGB(t);t=i.r,n=i.g,r=i.b}return(t>1||n>1||r>1)&&(t/=255,n/=255,r/=255),[t,n,r]},ut=function(t,n,r,i){var o={r:t*=255,g:n*=255,b:r*=255,hex:e.rgb(t,n,r),toString:at};return e.is(i,"finite")&&(o.opacity=i),o};function ct(t,e,n){return function r(){var i=Array.prototype.slice.call(arguments,0),o=i.join("␀"),a=r.cache=r.cache||{},s=r.count=r.count||[];return a[c](o)?(function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}(s,o),n?n(a[o]):a[o]):(s.length>=1e3&&delete a[s.shift()],s.push(o),a[o]=t[p](e,i),n?n(a[o]):a[o])}}function lt(){return this.hex}function ft(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(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==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.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 n}e.color=function(t){var n;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.hex=n.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.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,n,r){var i,o,a,s,u;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=t.o,t=t.h),s=(u=n*e)*(1-S((t=(t*=360)%360/60)%2-1)),i=o=a=n-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],r)},e.hsl2rgb=function(t,e,n,r){var i,o,a,s,u;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),s=(u=2*e*(n<.5?n:1-n))*(1-S((t=(t*=360)%360/60)%2-1)),i=o=a=n-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],r)},e.rgb2hsb=function(t,e,n){var r,i;return t=(n=st(t,e,n))[0],e=n[1],n=n[2],{h:((0==(i=(r=E(t,e,n))-C(t,e,n))?null:r==t?(e-n)/i:r==e?(n-t)/i+2:(t-e)/i+4)+360)%6*60/360,s:0==i?0:i/r,b:r,toString:it}},e.rgb2hsl=function(t,e,n){var r,i,o,a;return t=(n=st(t,e,n))[0],e=n[1],n=n[2],r=((i=E(t,e,n))+(o=C(t,e,n)))/2,{h:((0==(a=i-o)?null:i==t?(e-n)/a:i==e?(n-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:r<.5?a/(2*r):a/(2-2*r),l:r,toString:ot}},e._path2string=function(){return this.join(",").replace(V,"$1")},e._preload=function(t,e){var n=l.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(this),this.onload=null,l.doc.body.removeChild(this)},n.onerror=function(){l.doc.body.removeChild(this)},l.doc.body.appendChild(n),n.src=t},e.getRGB=ct((function(t){if(!t||(t=b(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};!H[c](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=rt(t));var n,r,i,o,a,s,u=t.match(N);return u?(u[2]&&(i=I(u[2].substring(5),16),r=I(u[2].substring(3,5),16),n=I(u[2].substring(1,3),16)),u[3]&&(i=I((a=u[3].charAt(3))+a,16),r=I((a=u[3].charAt(2))+a,16),n=I((a=u[3].charAt(1))+a,16)),u[4]&&(s=u[4][y](q),n=B(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),r=B(s[1]),"%"==s[1].slice(-1)&&(r*=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][y](q),n=B(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),r=B(s[1]),"%"==s[1].slice(-1)&&(r*=2.55),i=B(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(n/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(o=B(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsb2rgb(n,r,i,o)):u[6]?(s=u[6][y](q),n=B(s[0]),"%"==s[0].slice(-1)&&(n*=2.55),r=B(s[1]),"%"==s[1].slice(-1)&&(r*=2.55),i=B(s[2]),"%"==s[2].slice(-1)&&(i*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(n/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(o=B(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsl2rgb(n,r,i,o)):((u={r:n,g:r,b:i,toString:lt}).hex="#"+(16777216|i|r<<8|n<<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,n,r){return e.hsb2rgb(t,n,r).hex})),e.hsl=ct((function(t,n,r){return e.hsl2rgb(t,n,r).hex})),e.rgb=ct((function(t,e,n){function r(t){return t+.5|0}return"#"+(16777216|r(n)|r(e)<<8|r(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},n=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})),n.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var n=ht(t);if(n.arr)return yt(n.arr);var r={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,P)&&e.is(t[0],P)&&(i=yt(t)),i.length||b(t).replace(U,(function(t,e,n){var o=[],a=e.toLowerCase();if(n.replace(Z,(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>=r[a]&&(i.push([e][d](o.splice(0,r[a]))),r[a]););})),i.toString=e._path2string,n.arr=yt(i),i},e.parseTransformString=ct((function(t){if(!t)return null;var n=[];return e.is(t,P)&&e.is(t[0],P)&&(n=yt(t)),n.length||b(t).replace(W,(function(t,e,r){var i=[];_.call(e),r.replace(Z,(function(t,e){e&&i.push(+e)})),n.push([e][d](i))})),n.toString=e._path2string,n}),this,(function(t){if(!t)return t;for(var e=[],n=0;n<t.length;n++){for(var r=[],i=0;i<t[n].length;i++)r.push(t[n][i]);e.push(r)}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 n in e)e[c](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])})),e[t]};function pt(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n}function dt(t,e,n,r,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,n,i,a),g=pt(d,e,r,o,s),m=v*v+g*g;h+=f[p]*k.sqrt(m)}return c*h}function vt(t,e,n,r,i,o,a,s){if(!(E(t,n)<C(i,a)||C(t,n)>E(i,a)||E(e,r)<C(o,s)||C(e,r)>E(o,s))){var u=(t-n)*(o-s)-(e-r)*(i-a);if(u){var c=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/u,l=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/u,f=+c.toFixed(2),h=+l.toFixed(2);if(!(f<+C(t,n).toFixed(2)||f>+E(t,n).toFixed(2)||f<+C(i,a).toFixed(2)||f>+E(i,a).toFixed(2)||h<+C(e,r).toFixed(2)||h>+E(e,r).toFixed(2)||h<+C(o,s).toFixed(2)||h>+E(o,s).toFixed(2)))return{x:c,y:l}}}}function gt(t,n,r){var i=e.bezierBBox(t),o=e.bezierBBox(n);if(!e.isBBoxIntersect(i,o))return r?0:[];for(var a=dt.apply(0,t),s=dt.apply(0,n),u=E(~~(a/5),1),c=E(~~(s/5),1),l=[],f=[],h={},p=r?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,n.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 m=l[d],b=l[d+1],y=f[g],x=f[g+1],w=S(b.x-m.x)<.001?"y":"x",_=S(x.x-y.x)<.001?"y":"x",k=vt(m.x,m.y,b.x,b.y,y.x,y.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 O=m.t+S((k[w]-m[w])/(b[w]-m[w]))*(b.t-m.t),M=y.t+S((k[_]-y[_])/(x[_]-y[_]))*(x.t-y.t);O>=0&&O<=1.001&&M>=0&&M<=1.001&&(r?p++:p.push({x:k.x,y:k.y,t1:C(O,1),t2:C(M,1)}))}}return p}function mt(t,n,r){t=e._path2curve(t),n=e._path2curve(n);for(var i,o,a,s,u,c,l,f,h,p,d=r?0:[],v=0,g=t.length;v<g;v++){var m=t[v];if("M"==m[0])i=u=m[1],o=c=m[2];else{"C"==m[0]?(h=[i,o].concat(m.slice(1)),i=h[6],o=h[7]):(h=[i,o,i,o,u,c,u,c],i=u,o=c);for(var b=0,y=n.length;b<y;b++){var x=n[b];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,r);if(r)d+=w;else{for(var _=0,k=w.length;_<k;_++)w[_].segment1=v,w[_].segment2=b,w[_].bez1=h,w[_].bez2=p;d=d.concat(w)}}}}}return d}e.findDotsAtSegment=function(t,e,n,r,i,o,a,s,u){var c=1-u,l=O(c,3),f=O(c,2),h=u*u,p=h*u,d=l*t+3*f*u*n+3*c*u*u*i+p*a,v=l*e+3*f*u*r+3*c*u*u*o+p*s,g=t+2*u*(n-t)+h*(i-2*n+t),m=e+2*u*(r-e)+h*(o-2*r+e),b=n+2*u*(i-n)+h*(a-2*i+n),y=r+2*u*(o-r)+h*(s-2*o+r),x=c*t+u*n,w=c*e+u*r,_=c*i+u*a,E=c*o+u*s,C=90-180*k.atan2(g-b,m-y)/M;return(g>b||m<y)&&(C+=180),{x:d,y:v,m:{x:g,y:m},n:{x:b,y:y},start:{x:x,y:w},end:{x:_,y:E},alpha:C}},e.bezierBBox=function(t,n,r,i,o,a,s,u){e.is(t,"array")||(t=[t,n,r,i,o,a,s,u]);var c=St.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,n){return e>=t.x&&e<=t.x2&&n>=t.y&&n<=t.y2},e.isBBoxIntersect=function(t,n){var r=e.isPointInsideBBox;return r(n,t.x,t.y)||r(n,t.x2,t.y)||r(n,t.x,t.y2)||r(n,t.x2,t.y2)||r(t,n.x,n.y)||r(t,n.x2,n.y)||r(t,n.x,n.y2)||r(t,n.x2,n.y2)||(t.x<n.x2&&t.x>n.x||n.x<t.x2&&n.x>t.x)&&(t.y<n.y2&&t.y>n.y||n.y<t.y2&&n.y>t.y)},e.pathIntersection=function(t,e){return mt(t,e)},e.pathIntersectionNumber=function(t,e){return mt(t,e,1)},e.isPointInsidePath=function(t,n,r){var i=e.pathBBox(t);return e.isPointInsideBBox(i,n,r)&&mt(t,[["M",n,r],["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 bt=e.pathBBox=function(t){var e=ht(t);if(e.bbox)return nt(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var n,r=0,i=0,o=[],a=[],s=0,u=(t=Ot(t)).length;s<u;s++)if("M"==(n=t[s])[0])r=n[1],i=n[2],o.push(r),a.push(i);else{var c=St(r,i,n[1],n[2],n[3],n[4],n[5],n[6]);o=o[d](c.min.x,c.max.x),a=a[d](c.min.y,c.max.y),r=n[5],i=n[6]}var l=C[p](0,o),f=C[p](0,a),h=E[p](0,o),v=E[p](0,a),g=h-l,m=v-f,b={x:l,y:f,x2:h,y2:v,width:g,height:m,cx:l+g/2,cy:f+m/2};return e.bbox=nt(b),b},yt=function(t){var n=nt(t);return n.toString=e._path2string,n},xt=e._pathToRelative=function(t){var n=ht(t);if(n.rel)return yt(n.rel);e.is(t,P)&&e.is(t&&t[0],P)||(t=e.parsePathString(t));var r=[],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++,r.push(["M",i,o]));for(var c=u,l=t.length;c<l;c++){var f=r[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=r[c]=[],"m"==h[0]&&(a=h[1]+i,s=h[2]+o);for(var v=0,g=h.length;v<g;v++)r[c][v]=h[v]}var m=r[c].length;switch(r[c][0]){case"z":i=a,o=s;break;case"h":i+=+r[c][m-1];break;case"v":o+=+r[c][m-1];break;default:i+=+r[c][m-2],o+=+r[c][m-1]}}return r.toString=e._path2string,n.rel=yt(r),r},wt=e._pathToAbsolute=function(t){var n=ht(t);if(n.abs)return yt(n.abs);if(e.is(t,P)&&e.is(t&&t[0],P)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var r=[],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++,r[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(r.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,m=v.length;g<m;g++)v[g]=+v[g]+i,v[++g]=+v[g]+o;r.pop(),r=r[d](ft(v,f));break;case"M":a=+l[1]+i,s=+l[2]+o;default:for(g=1,m=l.length;g<m;g++)c[g]=+l[g]+(g%2?i:o)}else if("R"==l[0])v=[i,o][d](l.slice(1)),r.pop(),r=r[d](ft(v,f)),c=["R"][d](l.slice(-2));else for(var b=0,y=l.length;b<y;b++)c[b]=l[b];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 r.toString=e._path2string,n.abs=yt(r),r},_t=function(t,e,n,r){return[t,e,n,r,n,r]},kt=function(t,e,n,r,i,o){return[1/3*t+2/3*n,1/3*e+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]},Et=function(t,e,n,r,i,o,a,s,u,c){var l,f=120*M/180,h=M/180*(+i||0),p=[],v=ct((function(t,e,n){return{x:t*k.cos(n)-e*k.sin(n),y:t*k.sin(n)+e*k.cos(n)}}));if(c)O=c[0],T=c[1],E=c[2],C=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(M/180*i),k.sin(M/180*i);var g=(t-s)/2,m=(e-u)/2,b=g*g/(n*n)+m*m/(r*r);b>1&&(n*=b=k.sqrt(b),r*=b);var x=n*n,w=r*r,_=(o==a?-1:1)*k.sqrt(S((x*w-x*m*m-w*g*g)/(x*m*m+w*g*g))),E=_*n*m/r+(t+s)/2,C=_*-r*g/n+(e+u)/2,O=k.asin(((e-C)/r).toFixed(9)),T=k.asin(((u-C)/r).toFixed(9));(O=t<E?M-O:O)<0&&(O=2*M+O),(T=s<E?M-T:T)<0&&(T=2*M+T),a&&O>T&&(O-=2*M),!a&&T>O&&(T-=2*M)}var P=T-O;if(S(P)>f){var A=T,N=s,j=u;T=O+f*(a&&T>O?1:-1),s=E+n*k.cos(T),u=C+r*k.sin(T),p=Et(s,u,n,r,i,0,a,N,j,[T,A,E,C])}P=T-O;var D=k.cos(O),R=k.sin(O),B=k.cos(T),I=k.sin(T),L=k.tan(P/4),F=4/3*n*L,z=4/3*r*L,q=[t,e],H=[t+F*R,e-z*D],V=[s+F*I,u-z*B],U=[s,u];if(H[0]=2*q[0]-H[0],H[1]=2*q[1]-H[1],c)return[H,V,U][d](p);for(var W=[],Z=0,Y=(p=[H,V,U][d](p).join()[y](",")).length;Z<Y;Z++)W[Z]=Z%2?v(p[Z-1],p[Z],h).y:v(p[Z],p[Z+1],h).x;return W},Ct=function(t,e,n,r,i,o,a,s,u){var c=1-u;return{x:O(c,3)*t+3*O(c,2)*u*n+3*c*u*u*i+O(u,3)*a,y:O(c,3)*e+3*O(c,2)*u*r+3*c*u*u*o+O(u,3)*s}},St=ct((function(t,e,n,r,i,o,a,s){var u,c=i-2*n+t-(a-2*i+n),l=2*(n-t)-2*(i-n),f=t-n,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 S(h)>"1e12"&&(h=.5),S(d)>"1e12"&&(d=.5),h>0&&h<1&&(u=Ct(t,e,n,r,i,o,a,s,h),g.push(u.x),v.push(u.y)),d>0&&d<1&&(u=Ct(t,e,n,r,i,o,a,s,d),g.push(u.x),v.push(u.y)),c=o-2*r+e-(s-2*o+r),f=e-r,h=(-(l=2*(r-e)-2*(o-r))+k.sqrt(l*l-4*c*f))/2/c,d=(-l-k.sqrt(l*l-4*c*f))/2/c,S(h)>"1e12"&&(h=.5),S(d)>"1e12"&&(d=.5),h>0&&h<1&&(u=Ct(t,e,n,r,i,o,a,s,h),g.push(u.x),v.push(u.y)),d>0&&d<1&&(u=Ct(t,e,n,r,i,o,a,s,d),g.push(u.x),v.push(u.y)),{min:{x:C[p](0,g),y:C[p](0,v)},max:{x:E[p](0,g),y:E[p](0,v)}}})),Ot=e._path2curve=ct((function(t,e){var n=!e&&ht(t);if(!e&&n.curve)return yt(n.curve);for(var r=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,n){var r,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"==n||"S"==n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i][d](t.slice(1));break;case"T":"Q"==n||"T"==n?(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 n=t[e];n.length;)l[e]="A",i&&(f[e]="A"),t.splice(e++,0,["C"][d](n.splice(0,6)));t.splice(e,1),m=E(r.length,i&&i.length||0)}},c=function(t,e,n,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],m=E(r.length,i&&i.length||0))},l=[],f=[],h="",v="",g=0,m=E(r.length,i&&i.length||0);g<m;g++){r[g]&&(h=r[g][0]),"C"!=h&&(l[g]=h,g&&(v=l[g-1])),r[g]=s(r[g],o,v),"A"!=l[g]&&"C"==h&&(l[g]="C"),u(r,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(r,i,o,a,g),c(i,r,a,o,g);var b=r[g],y=i&&i[g],x=b.length,w=i&&y.length;o.x=b[x-2],o.y=b[x-1],o.bx=B(b[x-4])||o.x,o.by=B(b[x-3])||o.y,a.bx=i&&(B(y[w-4])||a.x),a.by=i&&(B(y[w-3])||a.y),a.x=i&&y[w-2],a.y=i&&y[w-1]}return i||(n.curve=yt(r)),i?[r,i]:r}),null,yt),Mt=(e._parseDots=ct((function(t){for(var n=[],r=0,i=t.length;r<i;r++){var o={},a=t[r].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]+"%"),n.push(o)}for(r=1,i=n.length-1;r<i;r++)if(!n[r].offset){for(var s=B(n[r-1].offset||0),u=0,c=r+1;c<i;c++)if(n[c].offset){u=n[c].offset;break}u||(u=100,c=i);for(var l=((u=B(u))-s)/(c-r+1);r<c;r++)s+=l,n[r].offset=s+"%"}return n})),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)}),Tt=(e._tofront=function(t,e){e.top!==t&&(Mt(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},e._toback=function(t,e){e.bottom!==t&&(Mt(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},e._insertafter=function(t,e,n){Mt(t,n),e==n.top&&(n.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},e._insertbefore=function(t,e,n){Mt(t,n),e==n.bottom&&(n.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},e.toMatrix=function(t,e){var n=bt(t),r={_:{transform:g},getBBox:function(){return n}};return Pt(r,e),r.matrix}),Pt=(e.transformPath=function(t,e){return J(t,Tt(t,e))},e._extractTransform=function(t,n){if(null==n)return t._.transform;n=b(n).replace(/\.{3}|\u2026/g,t._.transform||g);var r,i,o=e.parseTransformString(n),a=0,s=1,u=1,c=t._,l=new jt;if(c.transform=o||[],o)for(var f=0,h=o.length;f<h;f++){var p,d,v,m,y,x=o[f],w=x.length,_=b(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]),m=E.y(x[1],x[2]),l.translate(v-p,m-d)):l.translate(x[1],x[2]):"r"==_?2==w?(y=y||t.getBBox(1),l.rotate(x[1],y.x+y.width/2,y.y+y.height/2),a+=x[1]):4==w&&(k?(v=E.x(x[2],x[3]),m=E.y(x[2],x[3]),l.rotate(x[1],v,m)):l.rotate(x[1],x[2],x[3]),a+=x[1]):"s"==_?2==w||3==w?(y=y||t.getBBox(1),l.scale(x[1],x[w-1],y.x+y.width/2,y.y+y.height/2),s*=x[1],u*=x[w-1]):5==w&&(k?(v=E.x(x[3],x[4]),m=E.y(x[3],x[4]),l.scale(x[1],x[2],v,m)):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=r=l.e,c.dy=i=l.f,1==s&&1==u&&!a&&c.bbox?(c.bbox.x+=+r,c.bbox.y+=+i):c.dirtyT=1}),At=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]}},Nt=e._equaliseTransform=function(t,n){n=b(n).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],n=e.parseTransformString(n)||[];for(var r,i,o,a,s=E(t.length,n.length),u=[],c=[],l=0;l<s;l++){if(o=t[l]||At(n[l]),a=n[l]||At(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]=[],r=0,i=E(o.length,a.length);r<i;r++)r in o&&(u[l][r]=o[r]),r in a&&(c[l][r]=a[r])}return{from:u,to:c}};function jt(t,e,n,r,i,o){null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,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,n,r,i){var o;if(null!=(o=null!=i||e.is(t,"object")?t:l.doc.getElementById(t)))return o.tagName?null==n?{container:o,width:o.style.pixelWidth||o.offsetWidth,height:o.style.pixelHeight||o.offsetHeight}:{container:o,width:n,height:r}:{container:1,x:t,y:n,width:r,height:i}},e.pathToRelative=xt,e._engine={},e.path2curve=Ot,e.matrix=function(t,e,n,r,i,o){return new jt(t,e,n,r,i,o)},function(t){function n(t){return t[0]*t[0]+t[1]*t[1]}function r(t){var e=k.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,n,r,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,n,i],[e,r,o],[0,0,1]];for(t&&t instanceof jt&&(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 jt(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 jt(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,n,r){null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r)},t.rotate=function(t,n,r){t=e.rad(t),n=n||0,r=r||0;var i=+k.cos(t).toFixed(9),o=+k.sin(t).toFixed(9);this.add(i,o,-o,i,n,r),this.add(1,0,0,1,-n,-r)},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[b.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(n(i[0])),r(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(n(i[1])),r(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[y]();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)]}}(jt.prototype);for(var Dt=function(){this.returnValue=!1},Rt=function(){return this.originalEvent.preventDefault()},Bt=function(){this.cancelBubble=!0},It=function(){return this.originalEvent.stopPropagation()},Lt=function(t){var e=l.doc.documentElement.scrollTop||l.doc.body.scrollTop,n=l.doc.documentElement.scrollLeft||l.doc.body.scrollLeft;return{x:t.clientX+n,y:t.clientY+e}},Ft=l.doc.addEventListener?function(t,e,n,r){var i=function(t){var e=Lt(t);return n.call(r,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=Rt,e.stopPropagation=It;break}return n.call(r,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,n,r){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||Dt,t.stopPropagation=t.stopPropagation||Bt,n.call(r,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 n,r=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(n=zt[s],v&&e.touches){for(var u,c=e.touches.length;c--;)if((u=e.touches[c]).identifier==n.el._drag.id){r=u.clientX,i=u.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var f,h=n.el.node,p=h.nextSibling,d=h.parentNode,g=h.style.display;l.win.opera&&d.removeChild(h),h.style.display="none",f=n.el.paper.getElementByPoint(r,i),h.style.display=g,l.win.opera&&(p?d.insertBefore(h,p):d.appendChild(h)),f&&t("raphael.drag.over."+n.el.id,n.el,f),r+=a,i+=o,t("raphael.drag.move."+n.el.id,n.move_scope||n.el,r-n.el._drag.x,i-n.el._drag.y,r,i,e)}},Ht=function(n){e.unmousemove(qt).unmouseup(Ht);for(var r,i=zt.length;i--;)(r=zt[i]).el._drag={},t("raphael.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,n);zt=[]},Vt=e.el={},Ut=x.length;Ut--;)!function(t){e[t]=Vt[t]=function(n,r){return e.is(n,"function")&&(this.events=this.events||[],this.events.push({name:t,f:n,unbind:Ft(this.shape||this.node||l.doc,t,n,r||this)})),this},e["un"+t]=Vt["un"+t]=function(n){for(var r=this.events||[],i=r.length;i--;)r[i].name!=t||!e.is(n,"undefined")&&r[i].f!=n||(r[i].unbind(),r.splice(i,1),!r.length&&delete this.events);return this}}(x[Ut]);Vt.data=function(n,r){var i=Y[this.id]=Y[this.id]||{};if(0==arguments.length)return i;if(1==arguments.length){if(e.is(n,"object")){for(var o in n)n[c](o)&&this.data(o,n[o]);return this}return t("raphael.data.get."+this.id,this,i[n],n),i[n]}return i[n]=r,t("raphael.data.set."+this.id,this,r,n),this},Vt.removeData=function(t){return null==t?delete Y[this.id]:Y[this.id]&&delete Y[this.id][t],this},Vt.getData=function(){return nt(Y[this.id]||{})},Vt.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},Vt.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Wt=[];function Zt(){return this.x+m+this.y+m+this.width+" × "+this.height}Vt.drag=function(n,r,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(Ht),zt.push({el:this,move_scope:o,start_scope:a,end_scope:s}),r&&t.on("raphael.drag.start."+this.id,r),n&&t.on("raphael.drag.move."+this.id,n),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 n=Wt.length;n--;)Wt[n].el==this&&(this.unmousedown(Wt[n].start),Wt.splice(n,1),t.unbind("raphael.drag.*."+this.id));!Wt.length&&e.unmousemove(qt).unmouseup(Ht),zt=[]},r.circle=function(t,n,r){var i=e._engine.circle(this,t||0,n||0,r||0);return this.__set__&&this.__set__.push(i),i},r.rect=function(t,n,r,i,o){var a=e._engine.rect(this,t||0,n||0,r||0,i||0,o||0);return this.__set__&&this.__set__.push(a),a},r.ellipse=function(t,n,r,i){var o=e._engine.ellipse(this,t||0,n||0,r||0,i||0);return this.__set__&&this.__set__.push(o),o},r.path=function(t){t&&!e.is(t,"string")&&!e.is(t[0],P)&&(t+=g);var n=e._engine.path(e.format[p](e,arguments),this);return this.__set__&&this.__set__.push(n),n},r.image=function(t,n,r,i,o){var a=e._engine.image(this,t||"about:blank",n||0,r||0,i||0,o||0);return this.__set__&&this.__set__.push(a),a},r.text=function(t,n,r){var i=e._engine.text(this,t||0,n||0,b(r));return this.__set__&&this.__set__.push(i),i},r.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var n=new fe(t);return this.__set__&&this.__set__.push(n),n.paper=this,n.type="set",n},r.setStart=function(t){this.__set__=t||this.set()},r.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},r.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},r.setSize=function(t,n){return e._engine.setSize.call(this,t,n)},r.setViewBox=function(t,n,r,i,o){return e._engine.setViewBox.call(this,t,n,r,i,o)},r.top=r.bottom=null,r.raphael=e,r.getElementByPoint=function(t,e){var n,r,i,o,a,s,u,c=this.canvas,f=l.doc.elementFromPoint(t,e);if(l.win.opera&&"svg"==f.tagName){var h=(r=(n=c).getBoundingClientRect(),o=(i=n.ownerDocument).body,s=(a=i.documentElement).clientTop||o.clientTop||0,u=a.clientLeft||o.clientLeft||0,{y:r.top+(l.win.pageYOffset||a.scrollTop||o.scrollTop)-s,x:r.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},r.getElementsByBBox=function(t){var n=this.set();return this.forEach((function(r){e.isBBoxIntersect(r.getBBox(),t)&&n.push(r)})),n},r.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},r.forEach=function(t,e){for(var n=this.bottom;n;){if(!1===t.call(e,n))return this;n=n.next}return this},r.getElementsByPoint=function(t,e){var n=this.set();return this.forEach((function(r){r.isPointInside(t,e)&&n.push(r)})),n},Vt.isPointInside=function(t,n){var r=this.realPath=Q[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(r=e.transformPath(r,this.attr("transform"))),e.isPointInsidePath(r,t,n)},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=bt(this.realPath),e.bboxwt.toString=Zt,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=bt(J(this.realPath,this.matrix)),e.bbox.toString=Zt,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"},n=e.width/2,r=this.paper,i=r.set(),o=this.realPath||Q[this.type](this);o=this.matrix?J(o,this.matrix):o;for(var a=1;a<n+1;a++)i.push(r.path(o).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/n*a).toFixed(3),opacity:+(e.opacity/n).toFixed(3)}));return i.insertBefore(this).translate(e.offsetx,e.offsety)};var Yt=function(t,n,r,i,o,a,s,u,c){return null==c?dt(t,n,r,i,o,a,s,u):e.findDotsAtSegment(t,n,r,i,o,a,s,u,function(t,e,n,r,i,o,a,s,u){if(!(u<0||dt(t,e,n,r,i,o,a,s)<u)){var c,l=.5,f=1-l;for(c=dt(t,e,n,r,i,o,a,s,f);S(c-u)>.01;)c=dt(t,e,n,r,i,o,a,s,f+=(c<u?1:-1)*(l/=2));return f}}(t,n,r,i,o,a,s,u,c))},Xt=function(t,n){return function(r,i,o){for(var a,s,u,c,l,f="",h={},p=0,d=0,v=(r=Ot(r)).length;d<v;d++){if("M"==(u=r[d])[0])a=+u[1],s=+u[2];else{if(p+(c=Yt(a,s,u[1],u[2],u[3],u[4],u[5],u[6]))>i){if(n&&!h.start){if(f+=["C"+(l=Yt(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&&!n)return{x:(l=Yt(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:n?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}},Kt=Xt(1),Gt=Xt(),$t=Xt(0,1);e.getTotalLength=Kt,e.getPointAtLength=Gt,e.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return $t(t,e).end;var r=$t(t,n,1);return e?$t(r,e).end:r},Vt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():Kt(t)},Vt.getPointAtLength=function(t){var e=this.getPath();if(e)return Gt(e,t)},Vt.getPath=function(){var t,n=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return n&&(t=n(this)),t},Vt.getSubpath=function(t,n){var r=this.getPath();if(r)return e.getSubpath(r,t,n)};var Qt=e.easing_formulas={linear:function(t){return t},"<":function(t){return O(t,1.7)},">":function(t){return O(t,.48)},"<>":function(t){var e=.48-t/1.04,n=k.sqrt(.1734+e*e),r=n-e,i=-n-e,o=O(S(r),1/3)*(r<0?-1:1)+O(S(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:O(2,-10*t)*k.sin(2*M*(t-.075)/.3)+1},bounce:function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*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 n=+new Date,r=0;r<Jt.length;r++){var i=Jt[r];if(!i.el.removed&&!i.paused){var o,a,s=n-i.start,u=i.ms,l=i.easing,f=i.from,h=i.diff,p=i.to,v=(i.t,i.el),g={},b={};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(r--,1)):i.status=(i.prev+(i.percent-i.prev)*(s/u))/i.anim.top,!(s<0))if(s<u){var y=l(s/u);for(var x in f)if(f[c](x)){switch(z[x]){case T:o=+f[x]+y*u*h[x];break;case"colour":o="rgb("+[ne(R(f[x].r+y*u*h[x].r)),ne(R(f[x].g+y*u*h[x].g)),ne(R(f[x].b+y*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]+y*u*h[x][w][k];o[w]=o[w].join(m)}o=o.join(m);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]+y*u*h[x][w][k];else{var C=function(t){return+f[x][t]+y*u*h[x][t]};o=[["m",C(0),C(1),C(2),C(3),C(4),C(5)]]}break;case"csv":if("clip-rect"==x)for(o=[],w=4;w--;)o[w]=+f[x][w]+y*u*h[x][w];break;default:var S=[][d](f[x]);for(o=[],w=v.paper.customAttributes[x].length;w--;)o[w]=+S[w]+y*u*h[x][w]}g[x]=o}v.attr(g),function(e,n,r){setTimeout((function(){t("raphael.anim.frame."+e,n,r)}))}(v.id,v,i.anim)}else{if(function(n,r,i){setTimeout((function(){t("raphael.anim.frame."+r.id,r,i),t("raphael.anim.finish."+r.id,r,i),e.is(n,"function")&&n.call(r)}))}(i.callback,v,i.anim),v.attr(p),Jt.splice(r--,1),i.repeat>1&&!i.next){for(a in p)p[c](a)&&(b[a]=i.totalOrigin[a]);i.el.attr(b),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)},ne=function(t){return t>255?255:t<0?0:t};function re(t,e,n,r,i,o){var a=3*e,s=3*(r-e)-a,u=1-a-s,c=3*n,l=3*(i-n)-c,f=1-c-l;function h(t){return((u*t+s)*t+a)*t}return function(t,e){var n=function(t,e){var n,r,i,o,c,l;for(i=t,l=0;l<8;l++){if(o=h(i)-t,S(o)<e)return i;if(S(c=(3*u*i+2*s)*i+a)<1e-6)break;i-=o/c}if((i=t)<(n=0))return n;if(i>(r=1))return r;for(;n<r;){if(o=h(i),S(o-t)<e)return i;t>o?n=i:r=i,i=(r-n)/2+n}return i}(t,e);return((f*n+l)*n+c)*n}(t,1/(200*o))}function ie(t,e){var n=[],r={};if(this.ms=e,this.times=1,t){for(var i in t)t[c](i)&&(r[B(i)]=t[i],n.push(B(i)));n.sort(X)}this.anim=r,this.top=n[n.length-1],this.percents=n}function oe(n,r,i,o,s,u){i=B(i);var l,f,h,p,v,g,m=n.ms,x={},w={},_={};if(o)for(E=0,C=Jt.length;E<C;E++){var k=Jt[E];if(k.el.id==r.id&&k.anim==n){k.percent!=i?(Jt.splice(E,1),h=1):f=k,r.attr(k.totalOrigin);break}}else o=+w;for(var E=0,C=n.percents.length;E<C;E++){if(n.percents[E]==i||n.percents[E]>o*n.top){i=n.percents[E],v=n.percents[E-1]||0,m=m/n.top*(i-v),p=n.percents[E+1],l=n.anim[i];break}o&&r.attr(n.anim[n.percents[E]])}if(l){if(f)f.initstatus=o,f.start=new Date-f.ms*o;else{for(var S in l)if(l[c](S)&&(z[c](S)||r.paper.customAttributes[c](S)))switch(x[S]=r.attr(S),null==x[S]&&(x[S]=F[S]),w[S]=l[S],z[S]){case T:_[S]=(w[S]-x[S])/m;break;case"colour":x[S]=e.getRGB(x[S]);var O=e.getRGB(w[S]);_[S]={r:(O.r-x[S].r)/m,g:(O.g-x[S].g)/m,b:(O.b-x[S].b)/m};break;case"path":var M=Ot(x[S],w[S]),P=M[1];for(x[S]=M[0],_[S]=[],E=0,C=x[S].length;E<C;E++){_[S][E]=[0];for(var A=1,N=x[S][E].length;A<N;A++)_[S][E][A]=(P[E][A]-x[S][E][A])/m}break;case"transform":var j=r._,R=Nt(j[S],w[S]);if(R)for(x[S]=R.from,w[S]=R.to,_[S]=[],_[S].real=!0,E=0,C=x[S].length;E<C;E++)for(_[S][E]=[x[S][E][0]],A=1,N=x[S][E].length;A<N;A++)_[S][E][A]=(w[S][E][A]-x[S][E][A])/m;else{var I=r.matrix||new jt,L={_:{transform:j.transform},getBBox:function(){return r.getBBox(1)}};x[S]=[I.a,I.b,I.c,I.d,I.e,I.f],Pt(L,w[S]),w[S]=L._.transform,_[S]=[(L.matrix.a-I.a)/m,(L.matrix.b-I.b)/m,(L.matrix.c-I.c)/m,(L.matrix.d-I.d)/m,(L.matrix.e-I.e)/m,(L.matrix.f-I.f)/m]}break;case"csv":var q=b(l[S])[y](a),H=b(x[S])[y](a);if("clip-rect"==S)for(x[S]=H,_[S]=[],E=H.length;E--;)_[S][E]=(q[E]-x[S][E])/m;w[S]=q;break;default:for(q=[][d](l[S]),H=[][d](x[S]),_[S]=[],E=r.paper.customAttributes[S].length;E--;)_[S][E]=((q[E]||0)-(H[E]||0))/m}var V=l.easing,U=e.easing_formulas[V];if(!U)if((U=b(V).match(D))&&5==U.length){var W=U;U=function(t){return re(t,+W[1],+W[2],+W[3],+W[4],m)}}else U=K;if(k={anim:n,percent:i,timestamp:g=l.start||n.start||+new Date,start:g+(n.del||0),status:0,initstatus:o||0,stop:!1,ms:m,easing:U,from:x,diff:_,to:w,el:r,callback:l.callback,prev:v,next:p,repeat:u||n.times,origin:r.attr(),totalOrigin:s},Jt.push(k),o&&!f&&!h&&(k.stop=!0,k.start=new Date-m*o,1==Jt.length))return ee();h&&(k.start=new Date-k.ms*o),1==Jt.length&&te(ee)}t("raphael.anim.start."+r.id,r,n)}}function ae(t){for(var e=0;e<Jt.length;e++)Jt[e].el.paper==t&&Jt.splice(e--,1)}Vt.animateWith=function(t,n,r,i,o,a){if(this.removed)return a&&a.call(this),this;var s=r instanceof ie?r:e.animation(r,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==n&&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,n,r,i){if(t instanceof ie)return t;!e.is(r,"function")&&r||(i=i||r||null,r=null),t=Object(t),n=+n||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 r&&(s.easing=r),i&&(s.callback=i),new ie({100:s},n);if(i){var u=0;for(var l in t){var f=I(l);t[c](l)&&f>u&&(u=f)}!t[u+="%"].callback&&(t[u].callback=i)}return new ie(t,n)},Vt.animate=function(t,n,r,i){if(this.removed)return i&&i.call(this),this;var o=t instanceof ie?t:e.animation(t,n,r,i);return oe(o,this,o.percents[0],null,this.attr()),this},Vt.setTime=function(t,e){return t&&null!=e&&this.status(t,C(e,t.ms)/t.ms),this},Vt.status=function(t,e){var n,r,i=[],o=0;if(null!=e)return oe(t,this,-1,C(e,1)),this;for(n=Jt.length;o<n;o++)if((r=Jt[o]).el.id==this.id&&(!t||r.anim==t)){if(t)return r.status;i.push({anim:r.anim,status:r.status})}return t?0:i},Vt.pause=function(e){for(var n=0;n<Jt.length;n++)Jt[n].el.id!=this.id||e&&Jt[n].anim!=e||!1!==t("raphael.anim.pause."+this.id,this,Jt[n].anim)&&(Jt[n].paused=!0);return this},Vt.resume=function(e){for(var n=0;n<Jt.length;n++)if(Jt[n].el.id==this.id&&(!e||Jt[n].anim==e)){var r=Jt[n];!1!==t("raphael.anim.resume."+this.id,this,r.anim)&&(delete r.paused,this.status(r.anim,r.status))}return this},Vt.stop=function(e){for(var n=0;n<Jt.length;n++)Jt[n].el.id!=this.id||e&&Jt[n].anim!=e||!1!==t("raphael.anim.stop."+this.id,this,Jt[n].anim)&&Jt.splice(n--,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,n=t.length;e<n;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,n=0,r=arguments.length;n<r;n++)!(t=arguments[n])||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 n=0,r=this.items.length;n<r;n++)if(!1===t.call(e,this.items[n],n))return this;return this},Vt)Vt[c](pe)&&(he[pe]=function(t){return function(){var e=arguments;return this.forEach((function(n){n[t][p](n,e)}))}}(pe));return he.attr=function(t,n){if(t&&e.is(t,P)&&e.is(t[0],"object"))for(var r=0,i=t.length;r<i;r++)this.items[r].attr(t[r]);else for(var o=0,a=this.items.length;o<a;o++)this.items[o].attr(t,n);return this},he.clear=function(){for(;this.length;)this.pop()},he.splice=function(t,e,n){t=t<0?E(this.length+t,0):t,e=E(0,C(this.length-t,e));var r,i=[],o=[],a=[];for(r=2;r<arguments.length;r++)a.push(arguments[r]);for(r=0;r<e;r++)o.push(this[t+r]);for(;r<this.length-t;r++)i.push(this[t+r]);var s=a.length;for(r=0;r<s+i.length;r++)this.items[t+r]=this[t+r]=r<s?a[r]:i[r-s];for(r=this.items.length=this.length-=e-s;this[r];)delete this[r++];return new fe(o)},he.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0},he.animate=function(t,n,r,i){(e.is(r,"function")||!r)&&(i=r||null);var o,a,s=this.items.length,u=s,c=this;if(!s)return this;i&&(a=function(){!--s&&i.call(c)}),r=e.is(r,"string")?r:a;var l=e.animation(t,n,r,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=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var o=this.items[i].getBBox();t.push(o.x),e.push(o.y),n.push(o.x+o.width),r.push(o.y+o.height)}return{x:t=C[p](0,t),y:e=C[p](0,e),x2:n=E[p](0,n),y2:r=E[p](0,r),width:n-t,height:r-e}},he.clone=function(t){t=this.paper.set();for(var e=0,n=this.items.length;e<n;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(n,r){var i=n.glow(t);null!=i&&i.forEach((function(t,n){e.push(t)}))})),e},he.isPointInside=function(t,e){var n=!1;return this.forEach((function(r){if(r.isPointInside(t,e))return n=!0,!1})),n},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},n=t.face["font-family"];for(var r in t.face)t.face[c](r)&&(e.face[r]=t.face[r]);if(this.fonts[n]?this.fonts[n].push(e):this.fonts[n]=[e],!t.svg)for(var i in e.face["units-per-em"]=I(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},r.getFont=function(t,n,r,i){if(i=i||"normal",r=r||"normal",n=+n||{normal:400,bold:700,lighter:300,bolder:800}[n]||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"]!=n||o.face["font-style"]!=r&&o.face["font-style"]||o.face["font-stretch"]!=i);l++);return o}},r.print=function(t,n,r,i,o,s,u,c){s=s||"middle",u=E(C(u||0,1),-1),c=E(C(c||1,3),1);var l,f=b(r)[y](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[y](a),m=+v[0],x=v[3]-v[1],w=0,_=+v[1]+("baseline"==s?x+ +i.face.descent:x/2),k=0,S=f.length;k<S;k++){if("\n"==f[k])h=0,M=0,p=0,w+=x*c;else{var O=p&&i.glyphs[f[k-1]]||{},M=i.glyphs[f[k]];h+=p?(O.w||i.w)+(O.k&&O.k[f[k]]||0)+i.w*u:0,p=1}M&&M.d&&(d+=e.transformPath(M.d,["t",h*l,w*l,"s",l,l,m,_,"t",(t-m)/l,(n-_)/l]))}}return this.path(d).attr({fill:"#000",stroke:"none"})},r.add=function(t){if(e.is(t,"array"))for(var n,r=this.set(),i=0,o=t.length;i<o;i++)n=t[i]||{},s[c](n.type)&&r.push(this[n.type]().attr(n));return r},e.format=function(t,n){var r=e.is(n,P)?[0][d](n):arguments;return t&&e.is(t,"string")&&r.length-1&&(t=t.replace(u,(function(t,e){return null==r[++e]?g:r[e]}))),t||g},e.fullfill=(se=/\{([^\}]+)\}/g,ue=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return String(t).replace(se,(function(t,n){return function(t,e,n){var r=n;return e.replace(ue,(function(t,e,n,i,o){e=e||i,r&&(e in r&&(r=r[e]),"function"==typeof r&&o&&(r=r()))})),r=(null==r||r==n?t:r)+""}(t,n,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(){n=!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,r))||(t.exports=i)},function(t,e,n){var r,i;r=[n(0),n(3),n(4)],void 0===(i=function(t){return t}.apply(e,r))||(t.exports=i)},function(t,e,n){var r,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 n,r=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 m=0,b=s.length;m<b;m++)"zIndex"in s[m]&&(l.push(s[m].zIndex),s[m].zIndex<0&&(p[s[m].zIndex]=s[m]));for(l.sort(c);l[u]<0;)if(n=p[l[u++]],d.push(n.apply(e,a)),o)return o=r,d;for(m=0;m<b;m++)if("zIndex"in(n=s[m]))if(n.zIndex==l[u]){if(d.push(n.apply(e,a)),o)break;do{if((n=p[l[++u]])&&d.push(n.apply(e,a)),o)break}while(n)}else p[n.zIndex]=n;else if(d.push(n.apply(e,a)),o)break;return o=r,i=v,d})._events=l,g.listeners=function(t){var e,n,r,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(n=[(h=p[a].n)[f[i]],h["*"]],r=2;r--;)(e=n[r])&&(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 n=v(t)?v(t[0])?t:[t]:d(t).split(u),r=0,i=n.length;r<i;r++)!function(t){for(var n,r=v(t)?t:d(t).split(s),i=l,o=0,a=r.length;o<a;o++)i=(i=i.n).hasOwnProperty(r[o])&&i[r[o]]||(i[r[o]]={n:{}});for(i.f=i.f||[],o=0,a=i.f.length;o<a;o++)if(i.f[o]==e){n=!0;break}!n&&i.f.push(e)}(n[r]);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 n=v(t)?v(t[0])?t:[t]:d(t).split(u);if(n.length>1)for(var r=0,i=n.length;r<i;r++)g.off(n[r],e);else{n=v(t)?t:d(t).split(s);var o,c,f,h,p,m=[l];for(r=0,i=n.length;r<i;r++)for(h=0;h<m.length;h+=f.length-2){if(f=[h,1],o=m[h].n,"*"!=n[r])o[n[r]]&&f.push(o[n[r]]);else for(c in o)o[a](c)&&f.push(o[c]);m.splice.apply(m,f)}for(r=0,i=m.length;r<i;r++)for(o=m[r];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 b=o.n[c].f;for(h=0,p=b.length;h<p;h++)if(b[h]==e){b.splice(h,1);break}!b.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 n=function(){return g.off(t,n),e.apply(this,arguments)};return g.on(t,n)},g.version="0.5.0",g.toString=function(){return"You are running Eve 0.5.0"},t.exports?t.exports=g:void 0===(r=function(){return g}.apply(e,[]))||(t.exports=r)},function(t,e,n){var r,i;r=[n(0)],void 0===(i=function(t){if(!t||t.svg){var e="hasOwnProperty",n=String,r=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(r,i){if(i)for(var o in"string"==typeof r&&(r=g(r)),i)i[e](o)&&("xlink:"==o.substring(0,6)?r.setAttributeNS(p,o.substring(6),n(i[o])):r.setAttribute(o,n(i[o])));else(r=t._g.doc.createElementNS("http://www.w3.org/2000/svg",r)).style&&(r.style.webkitTapHighlightColor="rgba(0,0,0,0)");return r},m=function(e,i){var c="linear",l=e.id+i,h=.5,p=.5,d=e.node,v=e.paper,m=d.style,y=t._g.doc.getElementById(l);if(!y){if(i=(i=n(i).replace(t._radial_gradient,(function(t,e,n){if(c="radial",e&&n){h=r(e);var i=2*((p=r(n))>.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=-r(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){y=g(c+"Gradient",{id:l}),e.gradient=y,g(y,"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(y);for(var E=0,C=k.length;E<C;E++)y.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:b(l),opacity:1,"fill-opacity":1}),m.fill=f,m.opacity=1,m.fillOpacity=1,1},b=function(t){if((e=document.documentMode)&&(9===e||10===e))return"url('#"+t+"')";var e,n=document.location;return"url('"+n.protocol+"//"+n.host+n.pathname+n.search+"#"+t+"')"},y=function(t){var e=t.getBBox(1);g(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},x=function(r,i,o){if("path"==r.type){for(var a,s,u,c,l,h=n(i).toLowerCase().split("-"),p=r.paper,m=o?"end":"start",b=r.node,y=r.attrs,x=y["stroke-width"],w=h.length,_="classic",k=3,E=3,C=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,C+=2,u=1,c=o?4:1,l={fill:"none",stroke:y.stroke}):(c=u=k/2,l={fill:y.stroke,stroke:"none"}),r._.arrows?o?(r._.arrows.endPath&&v[r._.arrows.endPath]--,r._.arrows.endMarker&&v[r._.arrows.endMarker]--):(r._.arrows.startPath&&v[r._.arrows.startPath]--,r._.arrows.startMarker&&v[r._.arrows.startMarker]--):r._.arrows={},"none"!=_){var S="raphael-marker-"+_,O="raphael-marker-"+m+_+k+E+"-obj"+r.id;t._g.doc.getElementById(S)?v[S]++:(p.defs.appendChild(g(g("path"),{"stroke-linecap":"round",d:d[_],id:S})),v[S]=1);var M,T=t._g.doc.getElementById(O);T?(v[O]++,M=T.getElementsByTagName("use")[0]):(T=g(g("marker"),{id:O,markerHeight:E,markerWidth:k,orient:"auto",refX:c,refY:E/2}),M=g(g("use"),{"xlink:href":"#"+S,transform:(o?"rotate(180 "+k/2+" "+E/2+") ":f)+"scale("+k/C+","+E/C+")","stroke-width":(1/((k/C+E/C)/2)).toFixed(4)}),T.appendChild(M),p.defs.appendChild(T),v[O]=1),g(M,l);var P=u*("diamond"!=_&&"oval"!=_);o?(a=r._.arrows.startdx*x||0,s=t.getTotalLength(y.path)-P*x):(a=P*x,s=t.getTotalLength(y.path)-(r._.arrows.enddx*x||0)),(l={})["marker-"+m]="url(#"+O+")",(s||a)&&(l.d=t.getSubpath(y.path,a,s)),g(b,l),r._.arrows[m+"Path"]=S,r._.arrows[m+"Marker"]=O,r._.arrows[m+"dx"]=P,r._.arrows[m+"Type"]=_,r._.arrows[m+"String"]=i}else o?(a=r._.arrows.startdx*x||0,s=t.getTotalLength(y.path)-a):(a=0,s=t.getTotalLength(y.path)-(r._.arrows.enddx*x||0)),r._.arrows[m+"Path"]&&g(b,{d:t.getSubpath(y.path,a,s)}),delete r._.arrows[m+"Path"],delete r._.arrows[m+"Marker"],delete r._.arrows[m+"dx"],delete r._.arrows[m+"Type"],delete r._.arrows[m+"String"];for(l in v)if(v[e](l)&&!v[l]){var A=t._g.doc.getElementById(l);A&&A.parentNode.removeChild(A)}}},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,r){if(e=w[n(e).toLowerCase()]){for(var i=t.attrs["stroke-width"]||"1",o={round:i,square:i,butt:0}[t.attrs["stroke-linecap"]||r["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(r,o){var u=r.node,l=r.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":r.blur(v);break;case"title":var b=u.getElementsByTagName("title");if(b.length&&(b=b[0]))b.firstChild.nodeValue=v;else{b=g("title");var w=t._g.doc.createTextNode(v);b.appendChild(w),u.appendChild(b)}break;case"href":case"target":var k=u.parentNode;if("a"!=k.tagName.toLowerCase()){var C=g("a");k.insertBefore(C,u),C.appendChild(u),k=C}"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":r.transform(v);break;case"arrow-start":x(r,v);break;case"arrow-end":x(r,v,1);break;case"clip-rect":var S=n(v).split(c);if(4==S.length){r.clip&&r.clip.parentNode.parentNode.removeChild(r.clip.parentNode);var O=g("clipPath"),M=g("rect");O.id=t.createUUID(),g(M,{x:S[0],y:S[1],width:S[2],height:S[3]}),O.appendChild(M),r.paper.defs.appendChild(O),g(u,{"clip-path":"url(#"+O.id+")"}),r.clip=M}if(!v){var T=u.getAttribute("clip-path");if(T){var P=t._g.doc.getElementById(T.replace(/(^url\(#|\)$)/g,f));P&&P.parentNode.removeChild(P),g(u,{"clip-path":f}),delete r.clip}}break;case"path":"path"==r.type&&(g(u,{d:v?l.path=t._pathToAbsolute(v):"M0,0"}),r._.dirty=1,r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1)));break;case"width":if(u.setAttribute(d,v),r._.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"==r.type)break;case"cx":u.setAttribute(d,v),r.pattern&&y(r),r._.dirty=1;break;case"height":if(u.setAttribute(d,v),r._.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"==r.type)break;case"cy":u.setAttribute(d,v),r.pattern&&y(r),r._.dirty=1;break;case"r":"rect"==r.type?g(u,{rx:v,ry:v}):u.setAttribute(d,v),r._.dirty=1;break;case"src":"image"==r.type&&u.setAttributeNS(p,"href",v);break;case"stroke-width":1==r._.sx&&1==r._.sy||(v/=a(s(r._.sx),s(r._.sy))||1),u.setAttribute(d,v),l["stroke-dasharray"]&&_(r,l["stroke-dasharray"],o),r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1));break;case"stroke-dasharray":_(r,v,o);break;case"fill":var A=n(v).match(t._ISURL);if(A){O=g("pattern");var N=g("image");O.id=t.createUUID(),g(O,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),g(N,{x:0,y:0,"xlink:href":A[1]}),O.appendChild(N),function(e){t._preload(A[1],(function(){var t=this.offsetWidth,n=this.offsetHeight;g(e,{width:t,height:n}),g(N,{width:t,height:n})}))}(O),r.paper.defs.appendChild(O),g(u,{fill:"url(#"+O.id+")"}),r.pattern=O,r.pattern&&y(r);break}var j=t.getRGB(v);if(j.error){if(("circle"==r.type||"ellipse"==r.type||"r"!=n(v).charAt())&&m(r,v)){if("opacity"in l||"fill-opacity"in l){var D=t._g.doc.getElementById(u.getAttribute("fill").replace(/^url\(#|\)$/g,f));if(D){var R=D.getElementsByTagName("stop");g(R[R.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"]});j[e]("opacity")&&g(u,{"fill-opacity":j.opacity>1?j.opacity/100:j.opacity});case"stroke":j=t.getRGB(v),u.setAttribute(d,j.hex),"stroke"==d&&j[e]("opacity")&&g(u,{"stroke-opacity":j.opacity>1?j.opacity/100:j.opacity}),"stroke"==d&&r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(v).charAt())&&m(r,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){(D=t._g.doc.getElementById(u.getAttribute("fill").replace(/^url\(#|\)$/g,f)))&&(R=D.getElementsByTagName("stop"),g(R[R.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,r._.dirty=1,u.setAttribute(d,v)}}E(r,o),u.style.visibility=h},E=function(r,o){if("text"==r.type&&(o[e]("text")||o[e]("font")||o[e]("font-size")||o[e]("x")||o[e]("y"))){var a=r.attrs,s=r.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=n(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}),r._.dirty=1;var v=r._getBBox(),m=a.y-(v.y+v.height/2);m&&t.is(m,"finite")&&g(h[0],{dy:m})}},C=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},S=function(e,n){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=n,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},O=t.el;S.prototype=O,O.constructor=S,t._engine.path=function(t,e){var n=g("path");e.canvas&&e.canvas.appendChild(n);var r=new S(n,e);return r.type="path",k(r,{fill:"none",stroke:"#000",path:t}),r},O.rotate=function(t,e,i){if(this.removed)return this;if((t=n(t).split(c)).length-1&&(e=r(t[1]),i=r(t[2])),t=r(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},O.scale=function(t,e,i,o){if(this.removed)return this;if((t=n(t).split(c)).length-1&&(e=r(t[1]),i=r(t[2]),o=r(t[3])),t=r(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},O.translate=function(t,e){return this.removed||((t=n(t).split(c)).length-1&&(e=r(t[1])),t=r(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]]))),this},O.transform=function(n){var r=this._;if(null==n)return r.transform;if(t._extractTransform(this,n),this.clip&&g(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&g(this.node,{transform:this.matrix}),1!=r.sx||1!=r.sy){var i=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":i})}return this},O.hide=function(){return this.removed||(this.node.style.display="none"),this},O.show=function(){return this.removed||(this.node.style.display=""),this},O.remove=function(){var e=C(this.node);if(!this.removed&&e.parentNode){var n=this.paper;for(var r in n.__set__&&n.__set__.exclude(this),l.unbind("raphael.*.*."+this.id),this.gradient&&n.defs.removeChild(this.gradient),t._tear(this,n),e.parentNode.removeChild(e),this.removeData(),this)this[r]="function"==typeof this[r]?t._removedFactory(r):null;this.removed=!0}},O._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e,n=!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&&(n=!0,e.display="");var r={};try{r=this.node.getBBox()}catch(t){r={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{r=r||{},n&&(e.display="none")}return t&&this.hide(),r},O.attr=function(n,r){if(this.removed)return this;if(null==n){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==r&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==n)return this._.transform;for(var a=n.split(c),s={},u=0,f=a.length;u<f;u++)(n=a[u])in this.attrs?s[n]=this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?s[n]=this.paper.customAttributes[n].def:s[n]=t._availableAttrs[n];return f-1?s:s[a[0]]}if(null==r&&t.is(n,"array")){for(s={},u=0,f=n.length;u<f;u++)s[n[u]]=this.attr(n[u]);return s}if(null!=r){var h={};h[n]=r}else null!=n&&t.is(n,"object")&&(h=n);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},O.toFront=function(){if(this.removed)return this;var e=C(this.node);e.parentNode.appendChild(e);var n=this.paper;return n.top!=this&&t._tofront(this,n),this},O.toBack=function(){if(this.removed)return this;var e=C(this.node),n=e.parentNode;return n.insertBefore(e,n.firstChild),t._toback(this,this.paper),this.paper,this},O.insertAfter=function(e){if(this.removed||!e)return this;var n=C(this.node),r=C(e.node||e[e.length-1].node);return r.nextSibling?r.parentNode.insertBefore(n,r.nextSibling):r.parentNode.appendChild(n),t._insertafter(this,e,this.paper),this},O.insertBefore=function(e){if(this.removed||!e)return this;var n=C(this.node),r=C(e.node||e[0].node);return r.parentNode.insertBefore(n,r),t._insertbefore(this,e,this.paper),this},O.blur=function(e){var n=this;if(0!=+e){var r=g("filter"),i=g("feGaussianBlur");n.attrs.blur=e,r.id=t.createUUID(),g(i,{stdDeviation:+e||1.5}),r.appendChild(i),n.paper.defs.appendChild(r),n._blur=r,g(n.node,{filter:"url(#"+r.id+")"})}else n._blur&&(n._blur.parentNode.removeChild(n._blur),delete n._blur,delete n.attrs.blur),n.node.removeAttribute("filter");return n},t._engine.circle=function(t,e,n,r){var i=g("circle");t.canvas&&t.canvas.appendChild(i);var o=new S(i,t);return o.attrs={cx:e,cy:n,r:r,fill:"none",stroke:"#000"},o.type="circle",g(i,o.attrs),o},t._engine.rect=function(t,e,n,r,i,o){var a=g("rect");t.canvas&&t.canvas.appendChild(a);var s=new S(a,t);return s.attrs={x:e,y:n,width:r,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,n,r,i){var o=g("ellipse");t.canvas&&t.canvas.appendChild(o);var a=new S(o,t);return a.attrs={cx:e,cy:n,rx:r,ry:i,fill:"none",stroke:"#000"},a.type="ellipse",g(o,a.attrs),a},t._engine.image=function(t,e,n,r,i,o){var a=g("image");g(a,{x:n,y:r,width:i,height:o,preserveAspectRatio:"none"}),a.setAttributeNS(p,"href",e),t.canvas&&t.canvas.appendChild(a);var s=new S(a,t);return s.attrs={x:n,y:r,width:i,height:o,src:e},s.type="image",s},t._engine.text=function(e,n,r,i){var o=g("text");e.canvas&&e.canvas.appendChild(o);var a=new S(o,e);return a.attrs={x:n,y:r,"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),n=e&&e.container;if(!n)throw new Error("SVG container not found.");var r,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==n?(u.style.cssText=c+"position:absolute;left:"+i+"px;top:"+o+"px",t._g.doc.body.appendChild(u),r=1):(u.style.cssText=c+"position:relative",n.firstChild?n.insertBefore(u,n.firstChild):n.appendChild(u)),(n=new t._Paper).width=a,n.height=s,n.canvas=u,n.clear(),n._left=n._top=0,r&&(n.renderfix=function(){}),n.renderfix(),n},t._engine.setViewBox=function(t,e,n,r,i){l("raphael.setViewBox",this,this._viewBox,[t,e,n,r,i]);var o,s,u=this.getSize(),c=a(n/u.width,r/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+n+h+r),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,n,r,!!i],this},t.prototype.renderfix=function(){var t,e=this.canvas,n=e.style;try{t=e.getScreenCTM()||e.createSVGMatrix()}catch(n){t=e.createSVGMatrix()}var r=-t.e%1,i=-t.f%1;(r||i)&&(r&&(this._left=(this._left+r)%1,n.left=this._left+"px"),i&&(this._top=(this._top+i)%1,n.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 M=t.st;for(var T in O)O[e](T)&&!M[e](T)&&(M[T]=function(t){return function(){var e=arguments;return this.forEach((function(n){n[t].apply(n,e)}))}}(T))}}.apply(e,r))||(t.exports=i)},function(t,e,n){var r,i;r=[n(0)],void 0===(i=function(t){if(!t||t.vml){var e="hasOwnProperty",n=String,r=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,m="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",b=21600,y={path:1,rect:1,image:1},x={circle:1,ellipse:1},w=function(e,n,r){var i=t.matrix();return i.rotate(-e,.5,.5),{dx:i.x(n,r),dy:i.y(n,r)}},_=function(t,e,n,r,i,o){var a=t._,s=t.matrix,c=a.fillpos,l=t.node,h=l.style,p=1,d="",v=b/e,g=b/n;if(h.visibility="hidden",e&&n){if(l.coordsize=u(v)+f+u(g),h.rotation=o*(e*n<0?-1:1),o){var m=w(o,r,i);r=m.dx,i=m.dy}if(e<0&&(d+="x"),n<0&&(d+=" y")&&(p=-1),h.flip=d,l.coordorigin=r*-v+f+i*-g,c||a.fillsize){var y=l.getElementsByTagName("fill");y=y&&y[0],l.removeChild(y),c&&(m=w(o,s.x(c[0],c[1]),s.y(c[0],c[1])),y.position=m.dx*p+f+m.dy*p),a.fillsize&&(y.size=a.fillsize[0]*u(e)+f+a.fillsize[1]*u(n)),l.appendChild(y)}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,r){for(var i=n(e).toLowerCase().split("-"),o=r?"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},C=function(i,u){i.attrs=i.attrs||{};var l=i.node,v=i.attrs,m=l.style,w=y[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),C=x[i.type]&&(v.cx!=u.cx||v.cy!=u.cy||v.r!=u.r||v.rx!=u.rx||v.ry!=u.ry),O=i;for(var M in u)u[e](M)&&(v[M]=u[M]);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&&(m.cursor=u.cursor),"blur"in u&&i.blur(u.blur),(u.path&&"path"==i.type||w)&&(l.path=function(e){var r=/[ahqstv]/gi,i=t._pathToAbsolute;if(n(e).match(r)&&(i=t._path2curve),r=/[clmz]/g,i==t._pathToAbsolute&&!n(e).match(r)){var a=n(e).replace(d,(function(t,e,n){var r=[],i="m"==e.toLowerCase(),a=p[e];return n.replace(g,(function(t){i&&2==r.length&&(a+=r+p["m"==e?"l":"L"],r=[]),r.push(o(t*b))})),a+r}));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 m=1,y=s.length;m<y;m++)u+=o(s[m]*b)+(m!=y-1?",":h);a.push(u)}return a.join(f)}(~n(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),C){var T=+v.cx,P=+v.cy,A=+v.rx||+v.r||0,N=+v.ry||+v.r||0;l.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",o((T-A)*b),o((P-N)*b),o((T+A)*b),o((P+N)*b),o(T*b)),i._.dirty=1}if("clip-rect"in u){var j=n(u["clip-rect"]).split(c);if(4==j.length){j[2]=+j[2]+ +j[0],j[3]=+j[3]+ +j[1];var D=l.clipRect||t._g.doc.createElement("div"),R=D.style;R.clip=t.format("rect({1}px {2}px {3}px {0}px)",j),l.clipRect||(R.position="absolute",R.top=0,R.left=0,R.width=i.paper.width+"px",R.height=i.paper.height+"px",l.parentNode.insertBefore(D,l),D.appendChild(l),l.clipRect=D)}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(O,u["arrow-start"]),"arrow-end"in u&&E(O,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 I=l.getElementsByTagName("fill");if(!(I=I&&I[0])&&(I=k("fill")),"image"==i.type&&u.src&&(I.src=u.src),u.fill&&(I.on=!0),null!=I.on&&"none"!=u.fill&&null!==u.fill||(I.on=!1),I.on&&u.fill){var L=n(u.fill).match(t._ISURL);if(L){I.parentNode==l&&l.removeChild(I),I.rotate=!0,I.src=L[1],I.type="tile";var F=i.getBBox(1);I.position=F.x+f+F.y,i._.fillpos=[F.x,F.y],t._preload(L[1],(function(){i._.fillsize=[this.offsetWidth,this.offsetHeight]}))}else I.color=t.getRGB(u.fill).hex,I.src=h,I.type="solid",t.getRGB(u.fill).error&&(O.type in{circle:1,ellipse:1}||"r"!=n(u.fill).charAt())&&S(O,u.fill,I)&&(v.fill="none",v.gradient=u.fill,I.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),I.opacity=z,I.src&&(I.color="none")}l.appendChild(I);var q=l.getElementsByTagName("stroke")&&l.getElementsByTagName("stroke")[0],H=!1;!q&&(H=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 U=.75*(r(u["stroke-width"])||1);if(z=s(a(z,0),1),null==u["stroke-width"]&&(U=v["stroke-width"]),u["stroke-width"]&&(q.weight=U),U&&U<1&&(z*=U)&&(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}H&&l.appendChild(q)}if("text"==O.type){O.paper.canvas.style.display=h;var Z=O.paper.span,Y=v.font&&v.font.match(/\d+(?:\.\d*)?(?=px)/);m=Z.style,v.font&&(m.font=v.font),v["font-family"]&&(m.fontFamily=v["font-family"]),v["font-weight"]&&(m.fontWeight=v["font-weight"]),v["font-style"]&&(m.fontStyle=v["font-style"]),Y=r(v["font-size"]||Y&&Y[0])||10,m.fontSize=100*Y+"px",O.textpath.string&&(Z.innerHTML=n(O.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>"));var X=Z.getBoundingClientRect();O.W=v.w=(X.right-X.left)/100,O.H=v.h=(X.bottom-X.top)/100,O.X=v.x,O.Y=v.y+O.H/2,("x"in u||"y"in u)&&(O.path.v=t.format("m{0},{1}l{2},{1}",o(v.x*b),o(v.y*b),o(v.x*b)+1));for(var K=["x","y","text","font","font-family","font-weight","font-style","font-size"],G=0,$=K.length;G<$;G++)if(K[G]in u){O._.dirty=1;break}switch(v["text-anchor"]){case"start":O.textpath.style["v-text-align"]="left",O.bbx=O.W/2;break;case"end":O.textpath.style["v-text-align"]="right",O.bbx=-O.W/2;break;default:O.textpath.style["v-text-align"]="center",O.bbx=0}O.textpath.style["v-text-kern"]=!0}},S=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=n(o).replace(t._radial_gradient,(function(t,e,n){return u="radial",e&&n&&(e=r(e),n=r(n),s(e-.5,2)+s(n-.5,2)>.25&&(n=i.sqrt(.25-s(e-.5,2))*(2*(n>.5)-1)+.5),c=e+f+n),h}))).split(/\s*\-\s*/),"linear"==u){var l=o.shift();if(l=-r(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},O=function(e,n){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=n,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},M=t.el;O.prototype=M,M.constructor=O,M.transform=function(e){if(null==e)return this._.transform;var r,i=this.paper._viewBoxShift,o=i?"s"+[i.scale,i.scale]+"-1-1t"+[i.dx,i.dy]:h;i&&(r=e=n(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=~n(this.attrs.fill).indexOf("-"),p=!n(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,m=d.y-v.y;c.coordorigin=g*-b+f+m*-b,_(this,1,1,g,m,0)}else c.style.filter=h,_(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else c.style.filter=h,u.matrix=n(s),u.offset=s.offset();return null!==r&&(this._.transform=r,t._extractTransform(this,r)),this},M.rotate=function(t,e,i){if(this.removed)return this;if(null!=t){if((t=n(t).split(c)).length-1&&(e=r(t[1]),i=r(t[2])),t=r(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}},M.translate=function(t,e){return this.removed||((t=n(t).split(c)).length-1&&(e=r(t[1])),t=r(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},M.scale=function(t,e,i,o){if(this.removed)return this;if((t=n(t).split(c)).length-1&&(e=r(t[1]),i=r(t[2]),o=r(t[3]),isNaN(i)&&(i=null),isNaN(o)&&(o=null)),t=r(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},M.hide=function(){return!this.removed&&(this.node.style.display="none"),this},M.show=function(){return!this.removed&&(this.node.style.display=h),this},M.auxGetBBox=t.el.getBBox,M.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},n=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=n,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=n,e.width=t.width*n,e.height=t.height*n,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},M._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}},M.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}},M.attr=function(n,r){if(this.removed)return this;if(null==n){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==r&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=n.split(c),s={},u=0,f=a.length;u<f;u++)(n=a[u])in this.attrs?s[n]=this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?s[n]=this.paper.customAttributes[n].def:s[n]=t._availableAttrs[n];return f-1?s:s[a[0]]}if(this.attrs&&null==r&&t.is(n,"array")){for(s={},u=0,f=n.length;u<f;u++)s[n[u]]=this.attr(n[u]);return s}var h;for(var p in null!=r&&((h={})[n]=r),null==r&&t.is(n,"object")&&(h=n),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),C(this,h)}return this},M.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},M.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},M.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},M.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},M.blur=function(e){var n=this.node.runtimeStyle,r=n.filter;return r=r.replace(v,h),0!=+e?(this.attrs.blur=e,n.filter=r+f+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+e||1.5)+")",n.margin=t.format("-{0}px 0 0 -{0}px",o(+e||1.5))):(n.filter=r,n.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var n=k("shape");n.style.cssText=m,n.coordsize=b+f+b,n.coordorigin=e.coordorigin;var r=new O(n,e),i={fill:"none",stroke:"#000"};t&&(i.path=t),r.type="path",r.path=[],r.Path=h,C(r,i),e.canvas&&e.canvas.appendChild(n);var o=k("skew");return o.on=!0,n.appendChild(o),r.skew=o,r.transform(h),r},t._engine.rect=function(e,n,r,i,o,a){var s=t._rectPath(n,r,i,o,a),u=e.path(s),c=u.attrs;return u.X=c.x=n,u.Y=c.y=r,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,n,r,i){var o=t.path();return o.attrs,o.X=e-r,o.Y=n-i,o.W=2*r,o.H=2*i,o.type="ellipse",C(o,{cx:e,cy:n,rx:r,ry:i}),o},t._engine.circle=function(t,e,n,r){var i=t.path();return i.attrs,i.X=e-r,i.Y=n-r,i.W=i.H=2*r,i.type="circle",C(i,{cx:e,cy:n,r:r}),i},t._engine.image=function(e,n,r,i,o,a){var s=t._rectPath(r,i,o,a),u=e.path(s).attr({stroke:"none"}),c=u.attrs,l=u.node,f=l.getElementsByTagName("fill")[0];return c.src=n,u.X=c.x=r,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=n,f.type="tile",u._.fillpos=[r,i],u._.fillsize=[o,a],l.appendChild(f),_(u,1,1,0,0,0),u},t._engine.text=function(e,r,i,a){var s=k("shape"),u=k("path"),c=k("textpath");r=r||0,i=i||0,a=a||"",u.v=t.format("m{0},{1}l{2},{1}",o(r*b),o(i*b),o(r*b)+1),u.textpathok=!0,c.string=n(a),c.on=!0,s.style.cssText=m,s.coordsize=b+f+b,s.coordorigin="0 0";var l=new O(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=n(a),l.attrs.x=r,l.attrs.y=i,l.attrs.w=1,l.attrs.h=1,C(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,n){var r=this.canvas.style;return this.width=e,this.height=n,e==+e&&(e+="px"),n==+n&&(n+="px"),r.width=e,r.height=n,r.clip="rect(0 "+e+" "+n+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,n,r,i,o){t.eve("raphael.setViewBox",this,this._viewBox,[e,n,r,i,o]);var a,s,u=this.getSize(),c=u.width,l=u.height;return o&&(r*(a=l/i)<c&&(e-=(c-r*a)/2/a),i*(s=c/r)<l&&(n-=(l-i*s)/2/s)),this._viewBox=[e,n,r,i,!!o],this._viewBoxShift={dx:-e,dy:-n,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),n=e.container,r=e.height,i=e.width,o=e.x,a=e.y;if(!n)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,r=r||342,s.width=i,s.height=r,i==+i&&(i+="px"),r==+r&&(r+="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,r),1==n?(t._g.doc.body.appendChild(u),c.left=o+"px",c.top=a+"px",c.position="absolute"):n.firstChild?n.insertBefore(u,n.firstChild):n.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 T=t.st;for(var P in M)M[e](P)&&!T[e](P)&&(T[P]=function(t){return function(){var e=arguments;return this.forEach((function(n){n[t].apply(n,e)}))}}(P))}}.apply(e,r))||(t.exports=i)}])},31738:function(t,e,n){"use strict";n.d(e,{xV:function(){return q},W4:function(){return W},sN:function(){return P},SC:function(){return k}});var r=n(67294),i=n(45697),o=n.n(i),a=n(94184),s=n.n(a),u=n(27418),c=n.n(u);function l(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return"function"==typeof t&&t.apply(void 0,n)}function f(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var h="react-contextmenu",p="react-contextmenu--visible",d="react-contextmenu-item",v="react-contextmenu-item--disabled",g="react-contextmenu-item--selected",m={},b=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),y="REACT_CONTEXTMENU_SHOW",x="REACT_CONTEXTMENU_HIDE";function w(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,r=void 0;"function"==typeof window.CustomEvent?r=new window.CustomEvent(t,{detail:e}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!0,e),n&&(n.dispatchEvent(r),c()(m,e))}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];w(y,c()({},t,{type:y}),e)}function k(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];w(x,c()({},t,{type:x}),e)}var E=new function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.handleShowEvent=function(t){for(var n in e.callbacks)f(e.callbacks,n)&&e.callbacks[n].show(t)},this.handleHideEvent=function(t){for(var n in e.callbacks)f(e.callbacks,n)&&e.callbacks[n].hide(t)},this.register=function(t,n){var r=Math.random().toString(36).substring(7);return e.callbacks[r]={show:t,hide:n},r},this.unregister=function(t){t&&e.callbacks[t]&&delete e.callbacks[t]},this.callbacks={},b&&(window.addEventListener(y,this.handleShowEvent),window.addEventListener(x,this.handleHideEvent))},C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var T=function(t){function e(){var t,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=M(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.handleClick=function(t){0!==t.button&&1!==t.button&&t.preventDefault(),r.props.disabled||r.props.divider||(l(r.props.onClick,t,c()({},r.props.data,m.data),m.target),r.props.preventClose||k())},M(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),S(e,[{key:"render",value:function(){var t,e=this,n=this.props,i=n.attributes,o=n.children,a=n.className,u=n.disabled,c=n.divider,l=n.selected,f=s()(a,d,i.className,(O(t={},s()(v,i.disabledClassName),u),O(t,s()("react-contextmenu-item--divider",i.dividerClassName),c),O(t,s()(g,i.selectedClassName),l),t));return r.createElement("div",C({},i,{className:f,role:"menuitem",tabIndex:"-1","aria-disabled":u?"true":"false","aria-orientation":c?"horizontal":null,ref:function(t){e.ref=t},onMouseMove:this.props.onMouseMove,onMouseLeave:this.props.onMouseLeave,onTouchEnd:this.handleClick,onClick:this.handleClick}),c?null:o)}}]),e}(r.Component);T.propTypes={attributes:o().object,children:o().node,className:o().string,data:o().object,disabled:o().bool,divider:o().bool,onClick:o().func,onMouseLeave:o().func,onMouseMove:o().func,preventClose:o().bool,selected:o().bool},T.defaultProps={attributes:{},children:null,className:"",data:{},disabled:!1,divider:!1,onClick:function(){return null},onMouseMove:function(){return null},onMouseLeave:function(){return null},preventClose:!1,selected:!1};var P=T,A=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return N.call(n),n.seletedItemRef=null,n.state={selectedItem:null,forceSubMenuOpen:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(r.Component);A.propTypes={children:o().node.isRequired};var N=function(){var t=this;this.handleKeyNavigation=function(e){if(!1!==t.state.isVisible)switch(e.keyCode){case 37:case 27:e.preventDefault(),t.hideMenu(e);break;case 38:e.preventDefault(),t.selectChildren(!0);break;case 40:e.preventDefault(),t.selectChildren(!1);break;case 39:t.tryToOpenSubMenu(e);break;case 13:e.preventDefault(),t.tryToOpenSubMenu(e);var n=t.seletedItemRef&&t.seletedItemRef.props&&t.seletedItemRef.props.disabled;t.seletedItemRef&&t.seletedItemRef.ref instanceof HTMLElement&&!n?t.seletedItemRef.ref.click():t.hideMenu(e)}},this.handleForceClose=function(){t.setState({forceSubMenuOpen:!1})},this.tryToOpenSubMenu=function(e){t.state.selectedItem&&t.state.selectedItem.type===t.getSubMenuType()&&(e.preventDefault(),t.setState({forceSubMenuOpen:!0}))},this.selectChildren=function(e){var n=t.state.selectedItem,i=[],o=0,a={};if(r.Children.forEach(t.props.children,(function e(n,s){n&&([P,t.getSubMenuType()].indexOf(n.type)<0?r.Children.forEach(n.props.children,e):n.props.divider||(n.props.disabled&&(++o,a[s]=!0),i.push(n)))})),o!==i.length){var s=function(t){var n=t;do{e?--n:++n,n<0?n=i.length-1:n>=i.length&&(n=0)}while(n!==t&&a[n]);return n===t?null:n}(i.indexOf(n));null!==s&&t.setState({selectedItem:i[s],forceSubMenuOpen:!1})}},this.onChildMouseMove=function(e){t.state.selectedItem!==e&&t.setState({selectedItem:e,forceSubMenuOpen:!1})},this.onChildMouseLeave=function(){t.setState({selectedItem:null,forceSubMenuOpen:!1})},this.renderChildren=function(e){return r.Children.map(e,(function(e){var n={};return r.isValidElement(e)?[P,t.getSubMenuType()].indexOf(e.type)<0?(n.children=t.renderChildren(e.props.children),r.cloneElement(e,n)):(n.onMouseLeave=t.onChildMouseLeave.bind(t),e.type===t.getSubMenuType()&&(n.forceOpen=t.state.forceSubMenuOpen&&t.state.selectedItem===e,n.forceClose=t.handleForceClose,n.parentKeyNavigationHandler=t.handleKeyNavigation),e.props.divider||t.state.selectedItem!==e?(n.onMouseMove=function(){return t.onChildMouseMove(e)},r.cloneElement(e,n)):(n.selected=!0,n.ref=function(e){t.seletedItemRef=e},r.cloneElement(e,n))):e}))}},j=A,D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},R=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var I=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getMenuPosition=function(){var t=window,e=t.innerWidth,r=t.innerHeight,i=n.subMenu.getBoundingClientRect(),o={};return i.bottom>r?o.bottom=0:o.top=0,i.right<e?o.left="100%":o.right="100%",o},n.getRTLMenuPosition=function(){var t=window.innerHeight,e=n.subMenu.getBoundingClientRect(),r={};return e.bottom>t?r.bottom=0:r.top=0,e.left<0?r.left="100%":r.right="100%",r},n.hideSubMenu=function(t){t.detail&&t.detail.id&&n.menu&&t.detail.id!==n.menu.id||(n.props.forceOpen&&n.props.forceClose(),n.setState({visible:!1,selectedItem:null}),n.unregisterHandlers())},n.handleClick=function(t){t.preventDefault(),n.props.disabled||(l(n.props.onClick,t,c()({},n.props.data,m.data),m.target),n.props.onClick&&!n.props.preventCloseOnClick&&k())},n.handleMouseEnter=function(){n.closetimer&&clearTimeout(n.closetimer),n.props.disabled||n.state.visible||(n.opentimer=setTimeout((function(){return n.setState({visible:!0,selectedItem:null})}),n.props.hoverDelay))},n.handleMouseLeave=function(){n.opentimer&&clearTimeout(n.opentimer),n.state.visible&&(n.closetimer=setTimeout((function(){return n.setState({visible:!1,selectedItem:null})}),n.props.hoverDelay))},n.menuRef=function(t){n.menu=t},n.subMenuRef=function(t){n.subMenu=t},n.registerHandlers=function(){document.removeEventListener("keydown",n.props.parentKeyNavigationHandler),document.addEventListener("keydown",n.handleKeyNavigation)},n.unregisterHandlers=function(t){document.removeEventListener("keydown",n.handleKeyNavigation),t||document.addEventListener("keydown",n.props.parentKeyNavigationHandler)},n.state=c()({},n.state,{visible:!1}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),R(e,[{key:"componentDidMount",value:function(){this.listenId=E.register((function(){}),this.hideSubMenu)}},{key:"getSubMenuType",value:function(){return e}},{key:"shouldComponentUpdate",value:function(t,e){return this.isVisibilityChange=!(this.state.visible===e.visible&&this.props.forceOpen===t.forceOpen||this.state.visible&&t.forceOpen||this.props.forceOpen&&e.visible),!0}},{key:"componentDidUpdate",value:function(){var t=this;this.isVisibilityChange&&(this.props.forceOpen||this.state.visible?(window.requestAnimationFrame||setTimeout)((function(){var e=t.props.rtl?t.getRTLMenuPosition():t.getMenuPosition();t.subMenu.style.removeProperty("top"),t.subMenu.style.removeProperty("bottom"),t.subMenu.style.removeProperty("left"),t.subMenu.style.removeProperty("right"),f(e,"top")&&(t.subMenu.style.top=e.top),f(e,"left")&&(t.subMenu.style.left=e.left),f(e,"bottom")&&(t.subMenu.style.bottom=e.bottom),f(e,"right")&&(t.subMenu.style.right=e.right),t.subMenu.classList.add(p),t.registerHandlers(),t.setState({selectedItem:null})})):(this.subMenu.addEventListener("transitionend",(function e(){t.subMenu.removeEventListener("transitionend",e),t.subMenu.style.removeProperty("bottom"),t.subMenu.style.removeProperty("right"),t.subMenu.style.top=0,t.subMenu.style.left="100%",t.unregisterHandlers()})),this.subMenu.classList.remove(p)))}},{key:"componentWillUnmount",value:function(){this.listenId&&E.unregister(this.listenId),this.opentimer&&clearTimeout(this.opentimer),this.closetimer&&clearTimeout(this.closetimer),this.unregisterHandlers(!0)}},{key:"render",value:function(){var t,e=this.props,n=e.children,i=e.attributes,o=e.disabled,a=e.title,u=e.selected,c=this.state.visible,l={ref:this.menuRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,className:s()(d,"react-contextmenu-submenu",i.listClassName),style:{position:"relative"}},f={className:s()(d,i.className,(t={},B(t,s()(v,i.disabledClassName),o),B(t,s()("react-contextmenu-item--active",i.visibleClassName),c),B(t,s()(g,i.selectedClassName),u),t)),onMouseMove:this.props.onMouseMove,onMouseOut:this.props.onMouseOut,onClick:this.handleClick},p={ref:this.subMenuRef,style:{position:"absolute",transition:"opacity 1ms",top:0,left:"100%"},className:s()(h,this.props.className)};return r.createElement("nav",D({},l,{role:"menuitem",tabIndex:"-1","aria-haspopup":"true"}),r.createElement("div",D({},i,f),a),r.createElement("nav",D({},p,{role:"menu",tabIndex:"-1"}),this.renderChildren(n)))}}]),e}(j);I.propTypes={children:o().node.isRequired,attributes:o().object,title:o().node.isRequired,className:o().string,disabled:o().bool,hoverDelay:o().number,rtl:o().bool,selected:o().bool,onMouseMove:o().func,onMouseOut:o().func,forceOpen:o().bool,forceClose:o().func,parentKeyNavigationHandler:o().func},I.defaultProps={disabled:!1,hoverDelay:500,attributes:{},className:"",rtl:!1,selected:!1,onMouseMove:function(){return null},onMouseOut:function(){return null},forceOpen:!1,forceClose:function(){return null},parentKeyNavigationHandler:function(){return null}};var L=I,F=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),z=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.registerHandlers=function(){document.addEventListener("mousedown",n.handleOutsideClick),document.addEventListener("touchstart",n.handleOutsideClick),n.props.preventHideOnScroll||document.addEventListener("scroll",n.handleHide),n.props.preventHideOnContextMenu||document.addEventListener("contextmenu",n.handleHide),document.addEventListener("keydown",n.handleKeyNavigation),n.props.preventHideOnResize||window.addEventListener("resize",n.handleHide)},n.unregisterHandlers=function(){document.removeEventListener("mousedown",n.handleOutsideClick),document.removeEventListener("touchstart",n.handleOutsideClick),document.removeEventListener("scroll",n.handleHide),document.removeEventListener("contextmenu",n.handleHide),document.removeEventListener("keydown",n.handleKeyNavigation),window.removeEventListener("resize",n.handleHide)},n.handleShow=function(t){if(t.detail.id===n.props.id&&!n.state.isVisible){var e=t.detail.position,r=e.x,i=e.y;n.setState({isVisible:!0,x:r,y:i}),n.registerHandlers(),l(n.props.onShow,t)}},n.handleHide=function(t){!n.state.isVisible||t.detail&&t.detail.id&&t.detail.id!==n.props.id||(n.unregisterHandlers(),n.setState({isVisible:!1,selectedItem:null,forceSubMenuOpen:!1}),l(n.props.onHide,t))},n.handleOutsideClick=function(t){n.menu.contains(t.target)||k()},n.handleMouseLeave=function(t){t.preventDefault(),l(n.props.onMouseLeave,t,c()({},n.props.data,m.data),m.target),n.props.hideOnLeave&&k()},n.handleContextMenu=function(t){t.preventDefault(),n.handleHide(t)},n.hideMenu=function(t){27!==t.keyCode&&13!==t.keyCode||k()},n.getMenuPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r={top:e,left:t};if(!n.menu)return r;var i=window,o=i.innerWidth,a=i.innerHeight,s=n.menu.getBoundingClientRect();return e+s.height>a&&(r.top-=s.height),t+s.width>o&&(r.left-=s.width),r.top<0&&(r.top=s.height<a?(a-s.height)/2:0),r.left<0&&(r.left=s.width<o?(o-s.width)/2:0),r},n.getRTLMenuPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r={top:e,left:t};if(!n.menu)return r;var i=window,o=i.innerWidth,a=i.innerHeight,s=n.menu.getBoundingClientRect();return r.left=t-s.width,e+s.height>a&&(r.top-=s.height),r.left<0&&(r.left+=s.width),r.top<0&&(r.top=s.height<a?(a-s.height)/2:0),r.left+s.width>o&&(r.left=s.width<o?(o-s.width)/2:0),r},n.menuRef=function(t){n.menu=t},n.state=c()({},n.state,{x:0,y:0,isVisible:!1}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),F(e,[{key:"getSubMenuType",value:function(){return L}},{key:"componentDidMount",value:function(){this.listenId=E.register(this.handleShow,this.handleHide)}},{key:"componentDidUpdate",value:function(){var t=this,e=window.requestAnimationFrame||setTimeout;this.state.isVisible?e((function(){var n=t.state,r=n.x,i=n.y,o=t.props.rtl?t.getRTLMenuPosition(r,i):t.getMenuPosition(r,i),a=o.top,s=o.left;e((function(){t.menu&&(t.menu.style.top=a+"px",t.menu.style.left=s+"px",t.menu.style.opacity=1,t.menu.style.pointerEvents="auto")}))})):e((function(){t.menu&&(t.menu.style.opacity=0,t.menu.style.pointerEvents="none")}))}},{key:"componentWillUnmount",value:function(){this.listenId&&E.unregister(this.listenId),this.unregisterHandlers()}},{key:"render",value:function(){var t,e,n,i=this.props,o=i.children,a=i.className,u=i.style,l=this.state.isVisible,f=c()({},u,{position:"fixed",opacity:0,pointerEvents:"none"}),d=s()(h,a,(n=l,(e=p)in(t={})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t));return r.createElement("nav",{role:"menu",tabIndex:"-1",ref:this.menuRef,style:f,className:d,onContextMenu:this.handleContextMenu,onMouseLeave:this.handleMouseLeave},this.renderChildren(o))}}]),e}(j);z.propTypes={id:o().string.isRequired,children:o().node.isRequired,data:o().object,className:o().string,hideOnLeave:o().bool,rtl:o().bool,onHide:o().func,onMouseLeave:o().func,onShow:o().func,preventHideOnContextMenu:o().bool,preventHideOnResize:o().bool,preventHideOnScroll:o().bool,style:o().object},z.defaultProps={className:"",data:{},hideOnLeave:!1,rtl:!1,onHide:function(){return null},onMouseLeave:function(){return null},onShow:function(){return null},preventHideOnContextMenu:!1,preventHideOnResize:!1,preventHideOnScroll:!1,style:{}};var q=z,H=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function V(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var U=function(t){function e(){var t,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=V(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.touchHandled=!1,r.handleMouseDown=function(t){r.props.holdToDisplay>=0&&0===t.button&&(t.persist(),t.stopPropagation(),r.mouseDownTimeoutId=setTimeout((function(){return r.handleContextClick(t)}),r.props.holdToDisplay)),l(r.props.attributes.onMouseDown,t)},r.handleMouseUp=function(t){0===t.button&&clearTimeout(r.mouseDownTimeoutId),l(r.props.attributes.onMouseUp,t)},r.handleMouseOut=function(t){0===t.button&&clearTimeout(r.mouseDownTimeoutId),l(r.props.attributes.onMouseOut,t)},r.handleTouchstart=function(t){r.touchHandled=!1,r.props.holdToDisplay>=0&&(t.persist(),t.stopPropagation(),r.touchstartTimeoutId=setTimeout((function(){r.handleContextClick(t),r.touchHandled=!0}),r.props.holdToDisplay)),l(r.props.attributes.onTouchStart,t)},r.handleTouchEnd=function(t){r.touchHandled&&t.preventDefault(),clearTimeout(r.touchstartTimeoutId),l(r.props.attributes.onTouchEnd,t)},r.handleContextMenu=function(t){t.button===r.props.mouseButton&&r.handleContextClick(t),l(r.props.attributes.onContextMenu,t)},r.handleMouseClick=function(t){t.button===r.props.mouseButton&&r.handleContextClick(t),l(r.props.attributes.onClick,t)},r.handleContextClick=function(t){if(!(r.props.disable||r.props.disableIfShiftIsPressed&&t.shiftKey)){t.preventDefault(),t.stopPropagation();var e=t.clientX||t.touches&&t.touches[0].pageX,n=t.clientY||t.touches&&t.touches[0].pageY;r.props.posX&&(e-=r.props.posX),r.props.posY&&(n-=r.props.posY),k();var i=l(r.props.collect,r.props),o={position:{x:e,y:n},target:r.elem,id:r.props.id};i&&"function"==typeof i.then?i.then((function(e){o.data=c()({},e,{target:t.target}),_(o)})):(o.data=c()({},i,{target:t.target}),_(o))}},r.elemRef=function(t){r.elem=t},V(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),H(e,[{key:"render",value:function(){var t=this.props,e=t.renderTag,n=t.attributes,i=t.children,o=c()({},n,{className:s()("react-contextmenu-wrapper",n.className),onContextMenu:this.handleContextMenu,onClick:this.handleMouseClick,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onTouchStart:this.handleTouchstart,onTouchEnd:this.handleTouchEnd,onMouseOut:this.handleMouseOut,ref:this.elemRef});return r.createElement(e,o,i)}}]),e}(r.Component);U.propTypes={id:o().string.isRequired,children:o().node.isRequired,attributes:o().object,collect:o().func,disable:o().bool,holdToDisplay:o().number,posX:o().number,posY:o().number,renderTag:o().elementType,mouseButton:o().number,disableIfShiftIsPressed:o().bool},U.defaultProps={attributes:{},collect:function(){return null},disable:!1,holdToDisplay:1e3,renderTag:"div",posX:0,posY:0,mouseButton:2,disableIfShiftIsPressed:!1};var W=U;Object.assign,[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(Object.keys(W.propTypes)),["children"])},85518:function(t,e,n){"use strict";(r=n(67294))&&"object"==typeof r&&"default"in r&&r.default;var r,i=n(60335),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",m="Safari",b="Internet Explorer",y="Edge",x="Chromium",w="IE",_="Mobile Safari",k="MIUI Browser",E="Samsung Browser",C="iOS",S="Android",O="Windows Phone",M="Windows",T="Mac OS",P=function(t){return t||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},A=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},N=function(t){var e=A();return e&&e.platform&&(-1!==e.platform.indexOf(t)||"MacIntel"===e.platform&&e.maxTouchPoints>1&&!window.MSStream)},j=function(t){return t.type===f},D=function(t){return t.type===h},R=function(t){var e=t.type;return e===f||e===h},B=function(t){return"smarttv"===t.type},I=function(t){return undefined===t.type},L=function(t){return"wearable"===t.type},F=function(t){return"console"===t.type},z=function(t){return"embedded"===t.type},q=function(t){var e=t.vendor;return P(e)},H=function(t){var e=t.model;return P(e)},V=function(t){var e=t.type;return P(e,"browser")},U=function(t){return t.name===S},W=function(t){return t.name===M},Z=function(t){return t.name===T},Y=function(t){return t.name===O},X=function(t){return t.name===C},K=function(t){var e=t.version;return P(e)},G=function(t){var e=t.name;return P(e)},$=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===y},et=function(t){return t.name===g},nt=function(t){var e=t.name;return e===m||e===_},rt=function(t){return t.name===_},it=function(t){return t.name===v},ot=function(t){var e=t.name;return e===b||e===w},at=function(t){return t.name===k},st=function(t){return t.name===E},ut=function(t){var e=t.version;return P(e)},ct=function(t){var e=t.major;return P(e)},lt=function(t){var e=t.name;return P(e)},ft=function(t){var e=t.name;return P(e)},ht=function(t){var e=t.version;return P(e)},pt=function(){var t=A(),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=A();return t&&(/iPad|iPhone|iPod/.test(t.platform)||"MacIntel"===t.platform&&t.maxTouchPoints>1)&&!window.MSStream},gt=function(){return N("iPad")},mt=function(){return N("iPhone")},bt=function(){return N("iPod")},yt=function(t){return P(t)};B(s),F(s),L(s),z(s),rt(a)||gt(),J(a),R(s)||gt(),j(s),D(s)||gt(),I(s),I(s),U(c),Y(c),X(c)||gt(),$(a),Q(a),nt(a),it(a);var xt=ot(a);K(c),G(c),ut(a),ct(a),lt(a),q(s),H(s),ft(u),ht(u),yt(l),tt(a)||dt(l),et(a),V(s),vt(),gt(),mt(),bt(),pt(),dt(l),tt(a)&&dt(l),W(c),Z(c),at(a),st(a);e.w1=xt},60335:function(t,e,n){var r;!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",m="console",b="mobile",y="tablet",x="smarttv",w="wearable",_="embedded",k="Amazon",E="Apple",C="ASUS",S="BlackBerry",O="Browser",M="Chrome",T="Firefox",P="Google",A="Huawei",N="LG",j="Microsoft",D="Motorola",R="Opera",B="Samsung",I="Sharp",L="Sony",F="Xiaomi",z="Zebra",q="Facebook",H="Chromium OS",V="Mac OS",U=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},W=function(t,e){return typeof t===c&&-1!==Z(e).indexOf(Z(t))},Z=function(t){return t.toLowerCase()},Y=function(t,e){if(typeof t===c)return t=t.replace(/^\s\s*/,""),typeof e===s?t:t.substring(0,350)},X=function(t,e){for(var n,r,i,s,c,l,f=0;f<e.length&&!c;){var h=e[f],p=e[f+1];for(n=r=0;n<h.length&&!c&&h[n];)if(c=h[n++].exec(t))for(i=0;i<p.length;i++)l=c[++r],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}},K=function(t,e){for(var n in e)if(typeof e[n]===u&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(W(e[n][r],t))return"?"===n?o:n}else if(W(e[n],t))return"?"===n?o:n;return t},G={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"},$={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,R+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[h,R]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\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"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[v,[h,"WeChat(Win) Desktop"]],[/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"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+O],v],[/\bfocus\/([\w\.]+)/i],[v,[h,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[h,R+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[h,R+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[h,"MIUI "+O]],[/fxios\/([-\w\.]+)/i],[v,[h,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+O]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+O],v],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,v],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,q],v],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\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,M+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,M+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[h,"Android "+O]],[/(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,K,{"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,T+" 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,Z]],[/((?: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/,"",Z]],[/(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,Z]]],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,y]],[/\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,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[d,E],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[d,E],[p,y]],[/(macintosh);/i],[f,[d,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[d,I],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[d,A],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[d,A],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[d,F],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[d,F],[p,y]],[/; (\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,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[d,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[d,"Realme"],[p,b]],[/\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,D],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[d,D],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[d,N],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[d,N],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[d,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[d,"Nokia"],[p,b]],[/(pixel c)\b/i],[f,[d,P],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[d,P],[p,b]],[/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,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[d,L],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[d,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[d,k],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[d,k],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,d,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[d,S],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[d,C],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[d,C],[p,b]],[/(nexus 9)/i],[f,[d,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[f,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[d,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[d,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\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,b]],[/(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,y]],[/(surface duo)/i],[f,[d,j],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[d,"Fairphone"],[p,b]],[/(u304aa)/i],[f,[d,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[f,[d,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[f,[d,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[f,[d,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[f,[d,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[d,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[f,[d,"NuVision"],[p,y]],[/\b(k88) b/i],[f,[d,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[f,[d,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[f,[d,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[f,[d,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[f,[d,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],f,[p,y]],[/\b(ns-?\w{0,9}) b/i],[f,[d,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[d,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],f,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],f,[p,b]],[/\b(ph-1) /i],[f,[d,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[d,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[f,[d,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[f,[d,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[f,[d,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[d,f,[p,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[d,j],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[d,z],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[d,z],[p,b]],[/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,N],[p,x]],[/(apple) ?tv/i],[d,[f,E+" TV"],[p,x]],[/crkey/i],[[f,M+"cast"],[d,P],[p,x]],[/droid.+aft(\w)( bui|\))/i],[f,[d,k],[p,x]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[d,I],[p,x]],[/(bravia[\w ]+)( bui|\))/i],[f,[d,L],[p,x]],[/(mitv-\w{5}) bui/i],[f,[d,F],[p,x]],[/Hbbtv.*(technisat) (.*);/i],[d,f,[p,x]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,Y],[f,Y],[p,x]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,x]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,f,[p,m]],[/droid.+; (shield) bui/i],[f,[d,"Nvidia"],[p,m]],[/(playstation [345portablevi]+)/i],[f,[d,L],[p,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[d,j],[p,m]],[/((pebble))app/i],[d,f,[p,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[d,E],[p,w]],[/droid.+; (glass) \d/i],[f,[d,P],[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|\) applew).+? mobile safari/i],[f,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(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) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[v,K,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[v,K,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\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,S]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[h,T+" 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,M+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,H],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 n=typeof i!==s&&i.navigator?i.navigator:o,r=t||(n&&n.userAgent?n.userAgent:""),m=n&&n.userAgentData?n.userAgentData:o,x=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}($,e):$,w=n&&n.userAgent==r;return this.getBrowser=function(){var t,e={};return e[h]=o,e[v]=o,X.call(e,r,x.browser),e[l]=typeof(t=e[v])===c?t.replace(/[^\d\.]/g,"").split(".")[0]:o,w&&n&&n.brave&&typeof n.brave.isBrave==a&&(e[h]="Brave"),e},this.getCPU=function(){var t={};return t[g]=o,X.call(t,r,x.cpu),t},this.getDevice=function(){var t={};return t[d]=o,t[f]=o,t[p]=o,X.call(t,r,x.device),w&&!t[p]&&m&&m.mobile&&(t[p]=b),w&&"Macintosh"==t[f]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(t[f]="iPad",t[p]=y),t},this.getEngine=function(){var t={};return t[h]=o,t[v]=o,X.call(t,r,x.engine),t},this.getOS=function(){var t={};return t[h]=o,t[v]=o,X.call(t,r,x.os),w&&!t[h]&&m&&"Unknown"!=m.platform&&(t[h]=m.platform.replace(/chrome os/i,H).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 r},this.setUA=function(t){return r=typeof t===c&&t.length>350?Y(t,350):t,this},this.setUA(r),this};Q.VERSION="1.0.35",Q.BROWSER=U([h,v,l]),Q.CPU=U([g]),Q.DEVICE=U([f,d,p,m,b,x,y,w,_]),Q.ENGINE=Q.OS=U([h,v]),typeof e!==s?(t.exports&&(e=t.exports=Q),e.UAParser=Q):n.amdO?(r=function(){return Q}.call(e,n,e,t))===o||(t.exports=r):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 n in e)J.ua[n]=e[n]}}}("object"==typeof window?window:this)},14265:function(t,e,n){"use strict";n.d(e,{uI:function(){return z}});var r=n(67294),i=n(45697),o=n.n(i),a=n(93657),s=n(58363);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?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 n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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 m(t,e){var n="application/x-moz-file"===t.type||(0,s.Z)(t,e);return[n,n?null:p(e)]}function b(t,e,n){if(y(t.size))if(y(e)&&y(n)){if(t.size>n)return[!1,d(n)];if(t.size<e)return[!1,v(e)]}else{if(y(e)&&t.size<e)return[!1,v(e)];if(y(n)&&t.size>n)return[!1,d(n)]}return[!0,null]}function y(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),n=0;n<t;n++)e[n]=arguments[n];return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.some((function(e){return!x(t)&&e&&e.apply(void 0,[t].concat(r)),x(t)}))}}function E(){return"showOpenFilePicker"in window}function C(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 S=["children"],O=["open"],M=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],T=["refKey","onChange","onClick"];function P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||A(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 A(t,e){if(t){if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,e):void 0}}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function D(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){R(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var I=(0,r.forwardRef)((function(t,e){var n=t.children,i=z(B(t,S)),o=i.open,a=B(i,O);return(0,r.useImperativeHandle)(e,(function(){return{open:o}}),[o]),r.createElement(r.Fragment,null,n(D(D({},a),{},{open:o})))}));I.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};I.defaultProps=L,I.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 F={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=D(D({},L),t),n=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,y=e.onDropRejected,S=e.onFileDialogCancel,O=e.onFileDialogOpen,j=e.useFsAccessApi,I=e.preventDropOnDocument,z=e.noClick,V=e.noKeyboard,U=e.noDrag,W=e.noDragEventsBubbling,Z=e.validator,Y=(0,r.useMemo)((function(){return"function"==typeof O?O:H}),[O]),X=(0,r.useMemo)((function(){return"function"==typeof S?S:H}),[S]),K=(0,r.useRef)(null),G=(0,r.useRef)(null),$=P((0,r.useReducer)(q,F),2),Q=$[0],J=$[1],tt=Q.isFocused,et=Q.isFileDialogActive,nt=Q.draggedFiles,rt=function(){et&&setTimeout((function(){G.current&&(G.current.files.length||(J({type:"closeDialog"}),X()))}),300)};(0,r.useEffect)((function(){return j&&E()?function(){}:(window.addEventListener("focus",rt,!1),function(){window.removeEventListener("focus",rt,!1)})}),[G,et,X,j]);var it=(0,r.useRef)([]),ot=function(t){K.current&&K.current.contains(t.target)||(t.preventDefault(),it.current=[])};(0,r.useEffect)((function(){return I&&(document.addEventListener("dragover",_,!1),document.addEventListener("drop",ot,!1)),function(){I&&(document.removeEventListener("dragover",_),document.removeEventListener("drop",ot))}}),[K,I]);var at=(0,r.useCallback)((function(t){var e;t.preventDefault(),t.persist(),yt(t),it.current=[].concat(function(t){if(Array.isArray(t))return N(t)}(e=it.current)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||A(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,r.useCallback)((function(t){t.preventDefault(),t.persist(),yt(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,r.useCallback)((function(t){t.preventDefault(),t.persist(),yt(t);var e=it.current.filter((function(t){return K.current&&K.current.contains(t)})),n=e.indexOf(t.target);-1!==n&&e.splice(n,1),it.current=e,e.length>0||(J({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),w(t)&&h&&h(t))}),[K,h,W]),ct=(0,r.useCallback)((function(t,e){var r=[],i=[];t.forEach((function(t){var e=P(m(t,n),2),o=e[0],u=e[1],c=P(b(t,s,a),2),l=c[0],f=c[1],h=Z?Z(t):null;if(o&&l&&!h)r.push(t);else{var p=[u,f];h&&(p=p.concat(h)),i.push({file:t,errors:p.filter((function(t){return t}))})}})),(!u&&r.length>1||u&&c>=1&&r.length>c)&&(r.forEach((function(t){i.push({file:t,errors:[g]})})),r.splice(0)),J({acceptedFiles:r,fileRejections:i,type:"setFiles"}),d&&d(r,i,e),i.length>0&&y&&y(i,e),r.length>0&&v&&v(r,e)}),[J,u,n,s,a,c,d,v,y,Z]),lt=(0,r.useCallback)((function(t){t.preventDefault(),t.persist(),yt(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,r.useCallback)((function(){if(j&&E()){J({type:"openDialog"}),Y();var t={multiple:u,types:C(n)};window.showOpenFilePicker(t).then((function(t){return o(t)})).then((function(t){return ct(t,null)})).catch((function(t){return X(t)})).finally((function(){return J({type:"closeDialog"})}))}else G.current&&(J({type:"openDialog"}),Y(),G.current.value=null,G.current.click())}),[J,Y,X,j,ct,n,u]),ht=(0,r.useCallback)((function(t){K.current&&K.current.isEqualNode(t.target)&&(32!==t.keyCode&&13!==t.keyCode||(t.preventDefault(),ft()))}),[K,G,ft]),pt=(0,r.useCallback)((function(){J({type:"focus"})}),[]),dt=(0,r.useCallback)((function(){J({type:"blur"})}),[]),vt=(0,r.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())}),[G,z,ft]),gt=function(t){return i?null:t},mt=function(t){return V?null:gt(t)},bt=function(t){return U?null:gt(t)},yt=function(t){W&&t.stopPropagation()},xt=(0,r.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,n=void 0===e?"ref":e,r=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,M);return D(D(R({onKeyDown:mt(k(o,ht)),onFocus:mt(k(a,pt)),onBlur:mt(k(s,dt)),onClick:gt(k(u,vt)),onDragEnter:bt(k(c,at)),onDragOver:bt(k(l,st)),onDragLeave:bt(k(f,ut)),onDrop:bt(k(h,lt)),role:"string"==typeof r&&""!==r?r:"button"},n,K),i||V?{}:{tabIndex:0}),p)}}),[K,ht,pt,dt,vt,at,st,ut,lt,V,U,i]),wt=(0,r.useCallback)((function(t){t.stopPropagation()}),[]),_t=(0,r.useMemo)((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,r=void 0===e?"ref":e,i=t.onChange,o=t.onClick,a=B(t,T);return D(D({},R({accept:n,multiple:u,type:"file",style:{display:"none"},onChange:gt(k(i,lt)),onClick:gt(k(o,wt)),autoComplete:"off",tabIndex:-1},r,G)),a)}}),[G,n,u,lt,i]),kt=nt.length,Et=kt>0&&function(t){var e=t.files,n=t.accept,r=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(m(t,n),1)[0],o=f(b(t,r,i),1)[0];return e&&o}))}({files:nt,accept:n,minSize:s,maxSize:a,multiple:u,maxFiles:c}),Ct=kt>0&&!Et;return D(D({},Q),{},{isDragAccept:Et,isDragReject:Ct,isFocused:tt&&!i,getRootProps:xt,getInputProps:_t,rootRef:K,inputRef:G,open:gt(ft)})}function q(t,e){switch(e.type){case"focus":return D(D({},t),{},{isFocused:!0});case"blur":return D(D({},t),{},{isFocused:!1});case"openDialog":return D(D({},F),{},{isFileDialogActive:!0});case"closeDialog":return D(D({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=e.isDragActive,r=e.draggedFiles;return D(D({},t),{},{draggedFiles:r,isDragActive:n});case"setFiles":return D(D({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections});case"reset":return D({},F);default:return t}}function H(){}},70131:function(t,e,n){"use strict";n.d(e,{YD:function(){return d}});var r=n(67294);function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}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,n,r){if(void 0===n&&(n={}),void 0===r&&(r=c),void 0===window.IntersectionObserver&&void 0!==r){var i=t.getBoundingClientRect();return e(r,{isIntersecting:r,target:t,intersectionRatio:"number"==typeof n.threshold?n.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?(n=t.root)?(s.has(n)||(u+=1,s.set(n,u.toString())),s.get(n)):"0":t[e]);var n})).toString()}(t),n=a.get(e);if(!n){var r,i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var n,o=e.isIntersecting&&r.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=o),null==(n=i.get(e.target))||n.forEach((function(t){t(o,e)}))}))}),t);r=o.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:o,elements:i},a.set(e,n)}return n}(n),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,n;function a(e){var n;return(n=t.call(this,e)||this).node=null,n._unobserveCb=null,n.handleNode=function(t){n.node&&(n.unobserve(),t||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=t||null,n.observeNode()},n.handleChange=function(t,e){t&&n.props.triggerOnce&&n.unobserve(),h(n.props)||n.setState({inView:t,entry:e}),n.props.onChange&&n.props.onChange(t,e)},n.state={inView:!!e.initialInView,entry:void 0},n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,o(e,n);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,n=t.root,r=t.rootMargin,i=t.trackVisibility,o=t.delay,a=t.fallbackInView;this._unobserveCb=l(this.node,this.handleChange,{threshold:e,root:n,rootMargin:r,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,n=t.entry;return this.props.children({inView:e,entry:n,ref:this.handleNode})}var o=this.props,a=o.children,s=o.as,u=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(o,f);return r.createElement(s||"div",i({ref:this.handleNode},u),a)},a}(r.Component);function d(t){var e=void 0===t?{}:t,n=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=r.useRef(),d=r.useState({inView:!!f}),v=d[0],g=d[1],m=r.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:n,trackVisibility:o,delay:i},h))}),[Array.isArray(n)?n.toString():n,s,a,u,c,o,h,i]);(0,r.useEffect)((function(){p.current||!v.entry||u||c||g({inView:!!f})}));var b=[m,v.inView,v.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},28216:function(t,e,n){"use strict";n.d(e,{zt:function(){return l},$j:function(){return V},I0:function(){return X},v9:function(){return Q}});var r=n(67294),i=r.createContext(null),o=function(t){t()},a=function(){return o},s={notify:function(){},get:function(){return[]}};function u(t,e){var n,r=s;function i(){u.onStateChange&&u.onStateChange()}function o(){n||(n=e?e.addNestedSub(i):t.subscribe(i),r=function(){var t=a(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,i=n={callback:t,next:null,prev:n};return i.prev?i.prev.next=i:e=i,function(){r&&null!==e&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}var u={addNestedSub:function(t){return o(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return u}var c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,l=function(t){var e=t.store,n=t.context,o=t.children,a=(0,r.useMemo)((function(){var t=u(e);return{store:e,subscription:t}}),[e]),s=(0,r.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=n||i;return r.createElement(l.Provider,{value:a},o)},f=n(87462),h=n(63366),p=n(8679),d=n.n(p),v=n(72973),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],m=["reactReduxForwardedRef"],b=[],y=[null,null];function x(t,e){var n=t[1];return[e.payload,n+1]}function w(t,e,n){c((function(){return t.apply(void 0,e)}),n)}function _(t,e,n,r,i,o,a){t.current=r,e.current=i,n.current=!1,o.current&&(o.current=null,a())}function k(t,e,n,r,i,o,a,s,u,c){if(t){var l=!1,f=null,h=function(){if(!l){var t,n,h=e.getState();try{t=r(h,i.current)}catch(t){n=t,f=t}n||(f=null),t===o.current?a.current||u():(o.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=h,n.trySubscribe(),h(),function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var E=function(){return[null,0]};function C(t,e){void 0===e&&(e={});var n=e,o=n.getDisplayName,a=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,s=n.methodName,c=void 0===s?"connectAdvanced":s,l=n.renderCountProp,p=void 0===l?void 0:l,C=n.shouldHandleStateChanges,S=void 0===C||C,O=n.storeKey,M=void 0===O?"store":O,T=(n.withRef,n.forwardRef),P=void 0!==T&&T,A=n.context,N=void 0===A?i:A,j=(0,h.Z)(n,g),D=N;return function(e){var n=e.displayName||e.name||"Component",i=a(n),o=(0,f.Z)({},j,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:S,storeKey:M,displayName:i,wrappedComponentName:n,WrappedComponent:e}),s=j.pure,l=s?r.useMemo:function(t){return t()};function g(n){var i=(0,r.useMemo)((function(){var t=n.reactReduxForwardedRef,e=(0,h.Z)(n,m);return[n.context,t,e]}),[n]),a=i[0],s=i[1],c=i[2],p=(0,r.useMemo)((function(){return a&&a.Consumer&&(0,v.isContextConsumer)(r.createElement(a.Consumer,null))?a:D}),[a,D]),d=(0,r.useContext)(p),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var C=g?n.store:d.store,O=(0,r.useMemo)((function(){return function(e){return t(e.dispatch,o)}(C)}),[C]),M=(0,r.useMemo)((function(){if(!S)return y;var t=u(C,g?null:d.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[C,g,d]),T=M[0],P=M[1],A=(0,r.useMemo)((function(){return g?d:(0,f.Z)({},d,{subscription:T})}),[g,d,T]),N=(0,r.useReducer)(x,b,E),j=N[0][0],R=N[1];if(j&&j.error)throw j.error;var B=(0,r.useRef)(),I=(0,r.useRef)(c),L=(0,r.useRef)(),F=(0,r.useRef)(!1),z=l((function(){return L.current&&c===I.current?L.current:O(C.getState(),c)}),[C,j,c]);w(_,[I,B,F,c,z,L,P]),w(k,[S,C,T,O,I,B,F,L,P,R],[C,T,O]);var q=(0,r.useMemo)((function(){return r.createElement(e,(0,f.Z)({},z,{ref:s}))}),[s,e,z]);return(0,r.useMemo)((function(){return S?r.createElement(p.Provider,{value:A},q):q}),[p,q,A])}var C=s?r.memo(g):g;if(C.WrappedComponent=e,C.displayName=g.displayName=i,P){var O=r.forwardRef((function(t,e){return r.createElement(C,(0,f.Z)({},t,{reactReduxForwardedRef:e}))}));return O.displayName=i,O.WrappedComponent=e,d()(O,e)}return d()(C,e)}}function S(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function O(t,e){if(S(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(e,n[i])||!S(t[n[i]],e[n[i]]))return!1;return!0}function M(t){return function(e,n){var r=t(e,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function T(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function P(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=T(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=T(i),i=r(e,n)),i},r}}var A=[function(t){return"function"==typeof t?P(t):void 0},function(t){return t?void 0:M((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?M((function(e){return function(t,e){var n={},r=function(r){var i=t[r];"function"==typeof i&&(n[r]=function(){return e(i.apply(void 0,arguments))})};for(var i in t)r(i);return n}(t,e)})):void 0}],N=[function(t){return"function"==typeof t?P(t):void 0},function(t){return t?void 0:M((function(){return{}}))}];function j(t,e,n){return(0,f.Z)({},n,t,e)}var D=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return j}}],R=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function B(t,e,n,r){return function(i,o){return n(t(i,o),e(r,o),o)}}function I(t,e,n,r,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),m=!l(i,o,p,a);return o=i,a=p,g&&m?(s=t(o,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(o,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):m?(d=t(o,a),v=!h(d,s),s=d,v&&(c=n(s,u,a)),c):c}(i,d):(s=t(o=i,a=d),u=e(r,a),c=n(s,u,a),p=!0,c)}}function L(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,i=e.initMergeProps,o=(0,h.Z)(e,R),a=n(t,o),s=r(t,o),u=i(t,o);return(o.pure?I:B)(a,s,u,t,o)}var F=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function z(t,e,n){for(var r=e.length-1;r>=0;r--){var i=e[r](t);if(i)return i}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function q(t,e){return t===e}function H(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?C:n,i=e.mapStateToPropsFactories,o=void 0===i?N:i,a=e.mapDispatchToPropsFactories,s=void 0===a?A:a,u=e.mergePropsFactories,c=void 0===u?D:u,l=e.selectorFactory,p=void 0===l?L:l;return function(t,e,n,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,m=void 0===g?O:g,b=a.areStatePropsEqual,y=void 0===b?O:b,x=a.areMergedPropsEqual,w=void 0===x?O:x,_=(0,h.Z)(a,F),k=z(t,o,"mapStateToProps"),E=z(e,s,"mapDispatchToProps"),C=z(n,c,"mergeProps");return r(p,(0,f.Z)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:C,pure:l,areStatesEqual:v,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:w},_))}}var V=H();function U(){return(0,r.useContext)(i)}function W(t){void 0===t&&(t=i);var e=t===i?U:function(){return(0,r.useContext)(t)};return function(){return e().store}}var Z=W();function Y(t){void 0===t&&(t=i);var e=t===i?Z:W(t);return function(){return e().dispatch}}var X=Y(),K=function(t,e){return t===e};function G(t){void 0===t&&(t=i);var e=t===i?U:function(){return(0,r.useContext)(t)};return function(t,n){void 0===n&&(n=K);var i=e(),o=function(t,e,n,i){var o,a=(0,r.useReducer)((function(t){return t+1}),0)[1],s=(0,r.useMemo)((function(){return u(n,i)}),[n,i]),l=(0,r.useRef)(),f=(0,r.useRef)(),h=(0,r.useRef)(),p=(0,r.useRef)(),d=n.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=n.getState();if(t===h.current)return;var r=f.current(t);if(e(r,p.current))return;p.current=r,h.current=t}catch(t){l.current=t}a()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(t,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var $,Q=G();$=n(73935).unstable_batchedUpdates,o=$},88359:function(t,e){"use strict";var n=60103,r=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;n=d("react.element"),r=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 n: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 r:return e}}}(t)===u}},72973:function(t,e,n){"use strict";t.exports=n(88359)},58052:function(t,e,n){"use strict";n.d(e,{ZP:function(){return v}});var r=n(63366),i=n(94578),o=n(67294),a=n(73935),s=n(220),u="unmounted",c="exited",l="entering",f="entered",h="exiting",p=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var i,o=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=c,r.appearStatus=l):i=f:i=e.unmountOnExit||e.mountOnEnter?u:c,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===u?{status:c}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(e=l):n!==l&&n!==f||(e=h)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.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 n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(t){t.scrollTop}(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],s=i[1],u=this.getTimeouts(),c=r?u.appear:u.enter;t||n?(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)}))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);e?(this.props.onExit(r),this.safeSetState({status:h},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:c},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:c},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===u)return null;var e=this.props,n=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,r.Z)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(s.Z.Provider,{value:null},"function"==typeof n?n(t,i):o.cloneElement(o.Children.only(n),i))},e}(o.Component);function d(){}p.contextType=s.Z,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},94537:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(63366),i=n(87462),o=n(97326),a=n(94578),s=n(67294),u=n(220);function c(t,e){var n=Object.create(null);return t&&s.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&(0,s.isValidElement)(t)?e(t):t}(t)})),n}function l(t,e,n){return null!=n[e]?n[e]:t.props[e]}function f(t,e,n){var r=c(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,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(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(e,r);return Object.keys(i).forEach((function(o){var a=i[o];if((0,s.isValidElement)(a)){var u=o in e,c=o in r,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:n.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:n.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,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,o=e.handleExited;return{children:e.firstRender?(n=t,r=o,c(n.children,(function(t){return(0,s.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:l(t,"appear",n),enter:l(t,"enter",n),exit:l(t,"exit",n)})}))):f(t,i,o),firstRender:!1}},n.handleExited=function(t,e){var n=c(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=(0,i.Z)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,i=(0,r.Z)(t,["component","childFactory"]),o=this.state.contextValue,a=h(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===e?s.createElement(u.Z.Provider,{value:o},a):s.createElement(u.Z.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},220:function(t,e,n){"use strict";var r=n(67294);e.Z=r.createContext(null)},75251:function(t,e,n){"use strict";var r=n(67294),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,o={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)a.call(e,r)&&!u.hasOwnProperty(r)&&(o[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===o[r]&&(o[r]=e[r]);return{$$typeof:i,type:t,key:c,ref:l,props:o,_owner:s.current}}e.Fragment=o,e.jsx=c,e.jsxs=c},85893:function(t,e,n){"use strict";t.exports=n(75251)},94500:function(t,e,n){!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 r(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,n){i.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,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,n){s.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:e,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function u(t,e,n){var r=t.slice((n||e)+1||t.length);return t.length=e<0?t.length+e:e,t.push.apply(t,r),t}function c(t){var e=void 0===t?"undefined":C(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,n,r,f,h,p){p=p||[];var d=(f=f||[]).slice(0);if(void 0!==h){if(r){if("function"==typeof r&&r(d,h))return;if("object"===(void 0===r?"undefined":C(r))){if(r.prefilter&&r.prefilter(d,h))return;if(r.normalize){var v=r.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":C(t),m=void 0===e?"undefined":C(e),b="undefined"!==g||p&&p[p.length-1].lhs&&p[p.length-1].lhs.hasOwnProperty(h),y="undefined"!==m||p&&p[p.length-1].rhs&&p[p.length-1].rhs.hasOwnProperty(h);if(!b&&y)n(new o(d,e));else if(!y&&b)n(new a(d,t));else if(c(t)!==c(e))n(new i(d,t,e));else if("date"===c(t)&&t-e!=0)n(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&&n(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?n(new s(d,x,new a(void 0,t[x]))):l(t[x],e[x],n,r,d,x,p);for(;x<e.length;)n(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],n,r,d,i,p),_=u(_,a)):l(t[i],void 0,n,r,d,i,p)})),_.forEach((function(t){l(void 0,e[t],n,r,d,t,p)}))}p.length=p.length-1}else t!==e&&("number"===g&&isNaN(t)&&isNaN(e)||n(new i(d,t,e)))}function f(t,e,n,r){return r=r||[],l(t,e,(function(t){t&&r.push(t)}),n),r.length?r:void 0}function h(t,e,n){if(n.path&&n.path.length){var r,i=t[e],o=n.path.length-1;for(r=0;r<o;r++)i=i[n.path[r]];switch(n.kind){case"A":h(i[n.path[r]],n.index,n.item);break;case"D":delete i[n.path[r]];break;case"E":case"N":i[n.path[r]]=n.rhs}}else switch(n.kind){case"A":h(t[e],n.index,n.item);break;case"D":t=u(t,e);break;case"E":case"N":t[e]=n.rhs}return t}function p(t,e,n){if(t&&e&&n&&n.kind){for(var r=t,i=-1,o=n.path?n.path.length-1:0;++i<o;)void 0===r[n.path[i]]&&(r[n.path[i]]="number"==typeof n.path[i]?[]:{}),r=r[n.path[i]];switch(n.kind){case"A":h(n.path?r[n.path[i]]:r,n.index,n.item);break;case"D":delete r[n.path[i]];break;case"E":case"N":r[n.path[i]]=n.rhs}}}function d(t,e,n){if(n.path&&n.path.length){var r,i=t[e],o=n.path.length-1;for(r=0;r<o;r++)i=i[n.path[r]];switch(n.kind){case"A":d(i[n.path[r]],n.index,n.item);break;case"D":case"E":i[n.path[r]]=n.lhs;break;case"N":delete i[n.path[r]]}}else switch(n.kind){case"A":d(t[e],n.index,n.item);break;case"D":case"E":t[e]=n.lhs;break;case"N":t=u(t,e)}return t}function v(t){return"color: "+M[t].color+"; font-weight: bold"}function g(t,e,n,r){var i=f(t,e);try{r?n.groupCollapsed("diff"):n.group("diff")}catch(t){n.log("diff")}i?i.forEach((function(t){var e=t.kind,r=function(t){var e=t.kind,n=t.path,r=t.lhs,i=t.rhs,o=t.index,a=t.item;switch(e){case"E":return[n.join("."),r,"→",i];case"N":return[n.join("."),i];case"D":return[n.join(".")];case"A":return[n.join(".")+"["+o+"]",a];default:return[]}}(t);n.log.apply(n,["%c "+M[e].text,v(e)].concat(S(r)))})):n.log("—— no diff ——");try{n.groupEnd()}catch(t){n.log("—— diff end —— ")}}function m(t,e,n,r){switch(void 0===t?"undefined":C(t)){case"object":return"function"==typeof t[r]?t[r].apply(t,S(n)):t[r];case"function":return t(e);default:return t}}function b(t,e){var n=e.logger,r=e.actionTransformer,i=e.titleFormatter,o=void 0===i?function(t){var e=t.timestamp,n=t.duration;return function(t,r,i){var o=["action"];return o.push("%c"+String(t.type)),e&&o.push("%c@ "+r),n&&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,b=i.error,y=i.took,x=i.nextState,w=t[f+1];w&&(x=w.prevState,y=w.started-h);var _=r(d),E="function"==typeof a?a((function(){return x}),d,i):a,C=k(p),S=s.title?"color: "+s.title(_)+";":"",O=["color: gray; font-weight: lighter;"];O.push(S),e.timestamp&&O.push("color: gray; font-weight: lighter;"),e.duration&&O.push("color: gray; font-weight: lighter;");var M=o(_,C,y);try{E?s.title&&l?n.groupCollapsed.apply(n,["%c "+M].concat(O)):n.groupCollapsed(M):s.title&&l?n.group.apply(n,["%c "+M].concat(O)):n.group(M)}catch(t){n.log(M)}var T=m(u,_,[v],"prevState"),P=m(u,_,[_],"action"),A=m(u,_,[b,v],"error"),N=m(u,_,[x],"nextState");if(T)if(s.prevState){var j="color: "+s.prevState(v)+"; font-weight: bold";n[T]("%c prev state",j,v)}else n[T]("prev state",v);if(P)if(s.action){var D="color: "+s.action(_)+"; font-weight: bold";n[P]("%c action ",D,_)}else n[P]("action ",_);if(b&&A)if(s.error){var R="color: "+s.error(b,v)+"; font-weight: bold;";n[A]("%c error ",R,b)}else n[A]("error ",b);if(N)if(s.nextState){var B="color: "+s.nextState(x)+"; font-weight: bold";n[N]("%c next state",B,x)}else n[N]("next state",x);c&&g(v,x,n,E);try{n.groupEnd()}catch(t){n.log("—— log end ——")}}))}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},T,t),n=e.logger,r=e.stateTransformer,i=e.errorTransformer,o=e.predicate,a=e.logErrors,s=e.diffPredicate;if(void 0===n)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 n=t.getState;return function(t){return function(c){if("function"==typeof o&&!o(n,c))return t(c);var l={};u.push(l),l.started=E.now(),l.startedTime=new Date,l.prevState=r(n()),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=r(n());var h=e.diff&&"function"==typeof s?s(n,c):e.diff;if(b(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,C="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},S=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},O=[];x="object"===(void 0===n.g?"undefined":C(n.g))&&n.g?n.g:"undefined"!=typeof window?window:{},(w=x.DeepDiff)&&O.push((function(){void 0!==w&&x.DeepDiff===f&&(x.DeepDiff=w,w=void 0)})),e(i,r),e(o,r),e(a,r),e(s,r),Object.defineProperties(f,{diff:{value:f,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:function(t,e,n){t&&e&&l(t,e,(function(r){n&&!n(t,e,r)||p(t,e,r)}))},enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:function(t,e,n){if(t&&e&&n&&n.kind){var r,i,o=t;for(i=n.path.length-1,r=0;r<i;r++)void 0===o[n.path[r]]&&(o[n.path[r]]={}),o=o[n.path[r]];switch(n.kind){case"A":d(o[n.path[r]],n.index,n.item);break;case"D":case"E":o[n.path[r]]=n.lhs;break;case"N":delete o[n.path[r]]}}},enumerable:!0},isConflict:{value:function(){return void 0!==w},enumerable:!0},noConflict:{value:function(){return O&&(O.forEach((function(t){t()})),O=null),f},enumerable:!0}});var M={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},T={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},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.dispatch,n=t.getState;return"function"==typeof e||"function"==typeof n?y()({dispatch:e,getState:n}):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=T,t.createLogger=y,t.logger=P,t.default=P,Object.defineProperty(t,"__esModule",{value:!0})}(e)},30797:function(t,e,n){"use strict";n.d(e,{ZP:function(){return X}});var r=n(12470),i=n(87462),o=n(63366),a=n(52847),s=n(35852),u=n(14890);var c=function(){var t={};return t.promise=new Promise((function(e,n){t.resolve=e,t.reject=n})),t},l=[],f=0;function h(t){try{v(),t()}finally{g()}}function p(t){l.push(t),f||(v(),m())}function d(t){try{return v(),t()}finally{m()}}function v(){f++}function g(){f--}function m(){var t;for(g();!f&&void 0!==(t=l.shift());)h(t)}var b=function(t){return function(e){return t.some((function(t){return k(t)(e)}))}},y=function(t){return function(e){return t(e)}},x=function(t){return function(e){return e.type===String(t)}},w=function(t){return function(e){return e.type===t}},_=function(){return s.k};function k(t){var e="*"===t?_:(0,a.Z_)(t)?x:(0,a.IX)(t)?b:(0,a.eR)(t)?x:(0,a.Yl)(t)?y:(0,a.NA)(t)?w:null;if(null===e)throw new Error("invalid pattern: "+t);return e(t)}var E={type:r.sZ},C=function(t){return t&&t.type===r.sZ};function S(){var t,e,n,i,o,a,u=(e=!1,i=n=[],o=function(){i===n&&(i=n.slice())},a=function(){e=!0;var t=n=i;i=[],t.forEach((function(t){t(E)}))},(t={})[r.AS]=!0,t.put=function(t){if(!e)if(C(t))a();else for(var o=n=i,s=0,u=o.length;s<u;s++){var c=o[s];c[r.uq](t)&&(c.cancel(),c(t))}},t.take=function(t,n){void 0===n&&(n=_),e?t(E):(t[r.uq]=n,o(),i.push(t),t.cancel=(0,s.o)((function(){o(),(0,s.r)(i,t)})))},t.close=a,t),c=u.put;return u.put=function(t){t[r.Nm]?c(t):p((function(){c(t)}))},u}var O=0,M=1,T=2,P=3;function A(t,e){var n=t[r.n1];(0,a.Yl)(n)&&(e.cancel=n),t.then(e,(function(t){e(t,!0)}))}var N,j=0,D=function(){return++j};function R(t){t.isRunning()&&t.cancel()}var B=((N={})[s.T]=function(t,e,n){var i=e.channel,o=void 0===i?t.channel:i,s=e.pattern,u=e.maybe,c=function(t){t instanceof Error?n(t,!0):!C(t)||u?n(t):n(r.EO)};try{o.take(c,(0,a.d5)(s)?k(s):null)}catch(t){return void n(t,!0)}n.cancel=c.cancel},N[s.P]=function(t,e,n){var r=e.channel,i=e.action,o=e.resolve;p((function(){var e;try{e=(r?r.put:t.dispatch)(i)}catch(t){return void n(t,!0)}o&&(0,a.MC)(e)?A(e,n):n(e)}))},N[s.A]=function(t,e,n,r){var i=r.digestEffect,o=j,u=Object.keys(e);if(0!==u.length){var c=(0,s.l)(e,n);u.forEach((function(t){i(e[t],o,c[t],t)}))}else n((0,a.IX)(e)?[]:{})},N[s.R]=function(t,e,n,r){var i=r.digestEffect,o=j,u=Object.keys(e),c=(0,a.IX)(e)?(0,s.m)(u.length):{},l={},f=!1;u.forEach((function(t){var e=function(e,r){f||(r||(0,s.s)(e)?(n.cancel(),n(e,r)):(n.cancel(),f=!0,c[t]=e,n(c)))};e.cancel=s.t,l[t]=e})),n.cancel=function(){f||(f=!0,u.forEach((function(t){return l[t].cancel()})))},u.forEach((function(t){f||i(e[t],o,l[t],t)}))},N[s.C]=function(t,e,n,r){var i=e.context,o=e.fn,u=e.args,c=r.task;try{var l=o.apply(i,u);if((0,a.MC)(l))return void A(l,n);if((0,a.hZ)(l))return void Z(t,l,c.context,j,(0,s.j)(o),!1,n);n(l)}catch(t){n(t,!0)}},N[s.a]=function(t,e,n){var r=e.context,i=e.fn,o=e.args;try{var s=function(t,e){(0,a.sR)(t)?n(e):n(t,!0)};i.apply(r,o.concat(s)),s.cancel&&(n.cancel=s.cancel)}catch(t){n(t,!0)}},N[s.F]=function(t,e,n,r){var i=e.context,o=e.fn,u=e.args,c=e.detached,l=r.task,f=function(t){var e=t.context,n=t.fn,r=t.args;try{var i=n.apply(e,r);if((0,a.hZ)(i))return i;var o=!1;return(0,s.q)((function(t){return o?{value:t,done:!0}:(o=!0,{value:i,done:!(0,a.MC)(i)})}))}catch(t){return(0,s.q)((function(){throw t}))}}({context:i,fn:o,args:u}),h=function(t,e){return t.isSagaIterator?{name:t.meta.name}:(0,s.j)(e)}(f,o);d((function(){var e=Z(t,f,l.context,j,h,c,void 0);c?n(e):e.isRunning()?(l.queue.addTask(e),n(e)):e.isAborted()?l.queue.abort(e.error()):n(e)}))},N[s.J]=function(t,e,n,r){var i=r.task,o=function(t,e){if(t.isRunning()){var n={task:i,cb:e};e.cancel=function(){t.isRunning()&&(0,s.r)(t.joiners,n)},t.joiners.push(n)}else t.isAborted()?e(t.error(),!0):e(t.result())};if((0,a.IX)(e)){if(0===e.length)return void n([]);var u=(0,s.l)(e,n);e.forEach((function(t,e){o(t,u[e])}))}else o(e,n)},N[s.b]=function(t,e,n,i){var o=i.task;e===r.sC?R(o):(0,a.IX)(e)?e.forEach(R):R(e),n()},N[s.S]=function(t,e,n){var r=e.selector,i=e.args;try{n(r.apply(void 0,[t.getState()].concat(i)))}catch(t){n(t,!0)}},N[s.d]=function(t,e,n){var r=e.pattern,i=function(t){void 0===t&&(t=(0,s.e)());var e=!1,n=[];return{take:function(r){e&&t.isEmpty()?r(E):t.isEmpty()?(n.push(r),r.cancel=function(){(0,s.r)(n,r)}):r(t.take())},put:function(r){if(!e){if(0===n.length)return t.put(r);n.shift()(r)}},flush:function(n){e&&t.isEmpty()?n(E):n(t.flush())},close:function(){if(!e){e=!0;var t=n;n=[];for(var r=0,i=t.length;r<i;r++)(0,t[r])(E)}}}}(e.buffer),o=k(r),a=function e(n){C(n)||t.channel.take(e,o),i.put(n)},u=i.close;i.close=function(){a.cancel(),u()},t.channel.take(a,o),n(i)},N[s.f]=function(t,e,n,r){n(r.task.isCancelled())},N[s.g]=function(t,e,n){e.flush(n)},N[s.G]=function(t,e,n,r){n(r.task.context[e])},N[s.h]=function(t,e,n,r){var i=r.task;(0,s.p)(i.context,e),n()},N);function I(t,e){return t+"?"+e}function L(t){var e=t.name,n=t.location;return n?e+" "+I(n.fileName,n.lineNumber):e}function F(t){var e=(0,s.u)((function(t){return t.cancelledTasks}),t);return e.length?["Tasks cancelled due to error:"].concat(e).join("\n"):""}var z=null,q=[],H=function(t){t.crashedEffect=z,q.push(t)},V=function(){z=null,q.length=0},U=function(t){z=t},W=function(){var t,e,n=q[0],r=q.slice(1),i=n.crashedEffect?(t=n.crashedEffect,(e=(0,s.v)(t))?e.code+" "+I(e.fileName,e.lineNumber):""):null;return["The above error occurred in task "+L(n.meta)+(i?" \n when executing effect "+i:"")].concat(r.map((function(t){return" created by "+L(t.meta)})),[F(q)]).join("\n")};function Z(t,e,n,i,o,u,l){var f=t.finalizeRunEffect((function(e,n,i){(0,a.MC)(e)?A(e,i):(0,a.hZ)(e)?Z(t,e,p.context,n,o,!1,i):e&&e[r.IO]?(0,B[e.type])(t,e.payload,i,d):i(e)}));v.cancel=s.t;var h={meta:o,cancel:function(){h.status===O&&(h.status=M,v(r.Wd))},status:O},p=function(t,e,n,i,o,a,u){var l;void 0===u&&(u=s.t);var f,h,p=O,d=null,v=[],g=Object.create(n),m=function(t,e,n){var r,i=[],o=!1;function a(t){e(),c(),n(t,!0)}function u(e){i.push(e),e.cont=function(u,c){o||((0,s.r)(i,e),e.cont=s.t,c?a(u):(e===t&&(r=u),i.length||(o=!0,n(r))))}}function c(){o||(o=!0,i.forEach((function(t){t.cont=s.t,t.cancel()})),i=[])}return u(t),{addTask:u,cancelAll:c,abort:a,getTasks:function(){return i}}}(e,(function(){v.push.apply(v,m.getTasks().map((function(t){return t.meta.name})))}),b);function b(e,n){if(n){if(p=T,H({meta:o,cancelledTasks:v}),y.isRoot){var i=W();V(),t.onError(e,{sagaStack:i})}h=e,d&&d.reject(e)}else e===r.Wd?p=M:p!==M&&(p=P),f=e,d&&d.resolve(e);y.cont(e,n),y.joiners.forEach((function(t){t.cb(e,n)})),y.joiners=null}var y=((l={})[r.Cs]=!0,l.id=i,l.meta=o,l.isRoot=a,l.context=g,l.joiners=[],l.queue=m,l.cancel=function(){p===O&&(p=M,m.cancelAll(),b(r.Wd,!1))},l.cont=u,l.end=b,l.setContext=function(t){(0,s.p)(g,t)},l.toPromise=function(){return d||(d=c(),p===T?d.reject(h):p!==O&&d.resolve(f)),d.promise},l.isRunning=function(){return p===O},l.isCancelled=function(){return p===M||p===O&&e.status===M},l.isAborted=function(){return p===T},l.result=function(){return f},l.error=function(){return h},l);return y}(t,h,n,i,o,u,l),d={task:p,digestEffect:g};return l&&(l.cancel=p.cancel),v(),p;function v(t,n){try{var o;n?(o=e.throw(t),V()):(0,s.y)(t)?(h.status=M,v.cancel(),o=(0,a.Yl)(e.return)?e.return(r.Wd):{done:!0,value:r.Wd}):o=(0,s.z)(t)?(0,a.Yl)(e.return)?e.return():{done:!0}:e.next(t),o.done?(h.status!==M&&(h.status=P),h.cont(o.value)):g(o.value,i,v)}catch(t){if(h.status===M)throw t;h.status=T,h.cont(t,!0)}}function g(e,n,r,i){void 0===i&&(i="");var o,a=D();function u(n,i){o||(o=!0,r.cancel=s.t,t.sagaMonitor&&(i?t.sagaMonitor.effectRejected(a,n):t.sagaMonitor.effectResolved(a,n)),i&&U(e),r(n,i))}t.sagaMonitor&&t.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:e}),u.cancel=s.t,r.cancel=function(){o||(o=!0,u.cancel(),u.cancel=s.t,t.sagaMonitor&&t.sagaMonitor.effectCancelled(a))},f(e,a,u)}}function Y(t,e){for(var n=t.channel,r=void 0===n?S():n,i=t.dispatch,o=t.getState,a=t.context,c=void 0===a?{}:a,l=t.sagaMonitor,f=t.effectMiddlewares,h=t.onError,p=void 0===h?s.B:h,v=arguments.length,g=new Array(v>2?v-2:0),m=2;m<v;m++)g[m-2]=arguments[m];var b,y=e.apply(void 0,g),x=D();if(l&&(l.rootSagaStarted=l.rootSagaStarted||s.t,l.effectTriggered=l.effectTriggered||s.t,l.effectResolved=l.effectResolved||s.t,l.effectRejected=l.effectRejected||s.t,l.effectCancelled=l.effectCancelled||s.t,l.actionDispatched=l.actionDispatched||s.t,l.rootSagaStarted({effectId:x,saga:e,args:g})),f){var w=u.qC.apply(void 0,f);b=function(t){return function(e,n,r){return w((function(e){return t(e,n,r)}))(e)}}}else b=s.E;var _={channel:r,dispatch:(0,s.D)(i),getState:o,sagaMonitor:l,onError:p,finalizeRunEffect:b};return d((function(){var t=Z(_,y,c,x,(0,s.j)(e),!0,void 0);return l&&l.effectResolved(x,t),t}))}var X=function(t){var e,n=void 0===t?{}:t,r=n.context,a=void 0===r?{}:r,u=n.channel,c=void 0===u?S():u,l=n.sagaMonitor,f=(0,o.Z)(n,["context","channel","sagaMonitor"]);function h(t){var n=t.getState,r=t.dispatch;return e=Y.bind(null,(0,i.Z)({},f,{context:a,channel:c,dispatch:r,getState:n,sagaMonitor:l})),function(t){return function(e){l&&l.actionDispatched&&l.actionDispatched(e);var n=t(e);return c.put(e),n}}}return h.run=function(){return e.apply(void 0,arguments)},h.setContext=function(t){(0,s.p)(a,t)},h}},34857:function(t,e,n){"use strict";n.d(e,{RE:function(){return i.N},gz:function(){return i.Y},Cs:function(){return i.a1},ib:function(){return u}});var r=n(52847),i=n(35852),o=function(t){return{done:!0,value:t}},a={};function s(t,e){for(var n=arguments.length,s=new Array(n>2?n-2:0),u=2;u<n;u++)s[u-2]=arguments[u];var c,l={done:!1,value:(0,i.K)(t)},f=function(t){return c=t};return function(t,e,n){var r,s,u,c=e;function l(e,n){if(c===a)return o(e);if(n&&!s)throw c=a,n;r&&r(e);var i=n?t[s](n):t[c]();return c=i.nextState,u=i.effect,r=i.stateUpdater,s=i.errorState,c===a?o(e):u}return(0,i.q)(l,(function(t){return l(null,t)}),n)}({q1:function(){return{nextState:"q2",effect:l,stateUpdater:f}},q2:function(){return{nextState:"q1",effect:(t=c,{done:!1,value:i.L.apply(void 0,[e].concat(s,[t]))})};var t}},"q1","takeEvery("+function(t){return(0,r.CE)(t)?"channel":(0,r.eR)(t)?String(t):(0,r.Yl)(t)?t.name:String(t)}(t)+", "+e.name+")")}function u(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return i.L.apply(void 0,[s,t,e].concat(r))}},53894:function(t,e){"use strict";function n(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var r=n();r.withExtraArgument=n,e.Z=r},14890:function(t,e,n){"use strict";n.d(e,{MT:function(){return u},UY:function(){return c},md:function(){return f},qC:function(){return l}});var r=n(1413);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,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(i(1));return n(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 n=f.indexOf(t);f.splice(n,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,n=0;n<e.length;n++)(0,e[n])();return t}return g({type:s.INIT}),(r={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 n(){t.next&&t.next(d())}return n(),{unsubscribe:e(n)}}})[o]=function(){return this},t},r}function c(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];"function"==typeof t[o]&&(n[o]=t[o])}var a,u=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:s.INIT}))throw new Error(i(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(n)}catch(t){a=t}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var r=!1,o={},s=0;s<u.length;s++){var c=u[s],l=n[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(i(14));o[c]=h,r=r||h!==f}return(r=r||u.length!==Object.keys(t).length)?o:t}}function l(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];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),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),o=function(){throw new Error(i(15))},a={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=e.map((function(t){return t(a)}));return o=l.apply(void 0,s)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:o})}}}},55651:function(t,e,n){"use strict";n.d(e,{ZE:function(){return R},gW:function(){return A}});var r=n(67294);function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}function a(t){var e=(0,r.useRef)(t),n=(0,r.useRef)((function(t){e.current&&e.current(t)}));return e.current=t,n.current}var s=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),t>n?n:t<e?e:t},u=function(t){return"touches"in t},c=function(t){return t&&t.ownerDocument.defaultView||self},l=function(t,e,n){var r=t.getBoundingClientRect(),i=u(e)?function(t,e){for(var n=0;n<t.length;n++)if(t[n].identifier===e)return t[n];return t[0]}(e.touches,n):e;return{left:s((i.pageX-(r.left+c(t).pageXOffset))/r.width),top:s((i.pageY-(r.top+c(t).pageYOffset))/r.height)}},f=function(t){!u(t)&&t.preventDefault()},h=r.memo((function(t){var e=t.onMove,n=t.onKey,s=o(t,["onMove","onKey"]),h=(0,r.useRef)(null),p=a(e),d=a(n),v=(0,r.useRef)(null),g=(0,r.useRef)(!1),m=(0,r.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)):n(!1)},e=function(){return n(!1)};function n(n){var r=g.current,i=c(h.current),o=n?i.addEventListener:i.removeEventListener;o(r?"touchmove":"mousemove",t),o(r?"touchend":"mouseup",e)}return[function(t){var e=t.nativeEvent,r=h.current;if(r&&(f(e),!function(t,e){return e&&!u(t)}(e,g.current)&&r)){if(u(e)){g.current=!0;var i=e.changedTouches||[];i.length&&(v.current=i[0].identifier)}r.focus(),p(l(r,e,v.current)),n(!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}))},n]}),[d,p]),b=m[0],y=m[1],x=m[2];return(0,r.useEffect)((function(){return x}),[x]),r.createElement("div",i({},s,{onTouchStart:b,onMouseDown:b,className:"react-colorful__interactive",ref:h,onKeyDown:y,tabIndex:0,role:"slider"}))})),p=function(t){return t.filter(Boolean).join(" ")},d=function(t){var e=t.color,n=t.left,i=t.top,o=void 0===i?.5:i,a=p(["react-colorful__pointer",t.className]);return r.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},r.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:e}}))},v=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=Math.pow(10,e)),Math.round(n*t)/n},g=(Math.PI,function(t){return _(m(t))}),m=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}},b=function(t){var e=function(t){var e=t.s,n=t.v,r=t.a,i=(200-e)*n/100;return{h:v(t.h),s:v(i>0&&i<200?e*n/100/(i<=100?i:200-i)*100:0),l:v(i/2),a:v(r,2)}}(t);return"hsl("+e.h+", "+e.s+"%, "+e.l+"%)"},y=function(t){var e=t.h,n=t.s,r=t.v,i=t.a;e=e/360*6,n/=100,r/=100;var o=Math.floor(e),a=r*(1-n),s=r*(1-(e-o)*n),u=r*(1-(1-e+o)*n),c=o%6;return{r:v(255*[r,s,a,a,u,r][c]),g:v(255*[u,r,r,s,a,a][c]),b:v(255*[a,a,u,r,r,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,n=t.g,r=t.b,i=t.a,o=i<1?x(v(255*i)):"";return"#"+x(e)+x(n)+x(r)+o},_=function(t){var e=t.r,n=t.g,r=t.b,i=t.a,o=Math.max(e,n,r),a=o-Math.min(e,n,r),s=a?o===e?(n-r)/a:o===n?2+(r-e)/a:4+(e-n)/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=r.memo((function(t){var e=t.hue,n=t.onChange,i=p(["react-colorful__hue",t.className]);return r.createElement("div",{className:i},r.createElement(h,{onMove:function(t){n({h:360*t.left})},onKey:function(t){n({h:s(e+360*t.left,0,360)})},"aria-label":"Hue","aria-valuenow":v(e),"aria-valuemax":"360","aria-valuemin":"0"},r.createElement(d,{className:"react-colorful__hue-pointer",left:e/360,color:b({h:e,s:100,v:100,a:1})})))})),E=r.memo((function(t){var e=t.hsva,n=t.onChange,i={backgroundColor:b({h:e.h,s:100,v:100,a:1})};return r.createElement("div",{className:"react-colorful__saturation",style:i},r.createElement(h,{onMove:function(t){n({s:100*t.left,v:100-100*t.top})},onKey:function(t){n({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)+"%"},r.createElement(d,{className:"react-colorful__saturation-pointer",top:1-e.v/100,left:e.s/100,color:b(e)})))})),C=function(t,e){if(t===e)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0};function S(t,e,n){var i=a(n),o=(0,r.useState)((function(){return t.toHsva(e)})),s=o[0],u=o[1],c=(0,r.useRef)({color:e,hsva:s});(0,r.useEffect)((function(){if(!t.equal(e,c.current.color)){var n=t.toHsva(e);c.current={hsva:n,color:e},u(n)}}),[e,t]),(0,r.useEffect)((function(){var e;C(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,r.useCallback)((function(t){u((function(e){return Object.assign({},e,t)}))}),[]);return[s,l]}var O="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,M=new Map,T=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,r.useRef)(null);e=h,O((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!M.has(t)){var r=t.createElement("style");r.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}',M.set(t,r);var i=n.nc;i&&r.setAttribute("nonce",i),t.head.appendChild(r)}}),[]);var d=S(s,c,l),v=d[0],g=d[1],m=p(["react-colorful",a]);return r.createElement("div",i({},f,{ref:h,className:m}),r.createElement(E,{hsva:v,onChange:g}),r.createElement(k,{hue:v.h,onChange:g,className:"react-colorful__last-control"}))},P={defaultColor:"000",toHsva:g,fromHsva:function(t){return function(t){return w(y(t))}({h:t.h,s:t.s,v:t.v,a:1})},equal:function(t,e){return t.toLowerCase()===e.toLowerCase()||C(m(t),m(e))}},A=function(t){return r.createElement(T,i({},t,{colorModel:P}))},N=/^#?([0-9A-F]{3,8})$/i,j=function(t){var e=t.color,n=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,r.useState)((function(){return c(n)})),v=d[0],g=d[1],m=a(s),b=a(u),y=(0,r.useCallback)((function(t){var e=c(t.target.value);g(e),l(e)&&m(h?h(e):e)}),[c,h,l,m]),x=(0,r.useCallback)((function(t){l(t.target.value)||g(c(n)),b(t)}),[n,c,l,b]);return(0,r.useEffect)((function(){g(c(n))}),[n,c]),r.createElement("input",i({},p,{value:f?f(v):v,spellCheck:"false",onChange:y,onBlur:x}))},D=function(t){return"#"+t},R=function(t){var e=t.prefixed,n=t.alpha,a=o(t,["prefixed","alpha"]),s=(0,r.useCallback)((function(t){return t.replace(/([^0-9A-F]+)/gi,"").substring(0,n?8:6)}),[n]),u=(0,r.useCallback)((function(t){return function(t,e){var n=N.exec(t),r=n?n[1].length:0;return 3===r||6===r||!!e&&4===r||!!e&&8===r}(t,n)}),[n]);return r.createElement(j,i({},a,{escape:s,format:e?D:void 0,process:D,validate:u}))}}}]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** @license React v17.0.2
|
|
12
|
+
* react-is.production.min.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
Binary file
|